1eeb5397b93bc6ba3090de5669c13d5900931850
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-11  Richard Henderson  <rth@redhat.com>
2
3         * sysdeps/aarch64/libm-test-ulps: Update.
4
5 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6
7         [BZ #17135]
8         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9         * nptl/allocatestack.c (__nptl_setxid_error): New function.
10         (__nptl_setxid): Initialize error member.  Call
11         __nptl_setxid_error.
12         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13         * nptl/descr.h (struct xid_command): Add error member.
14         * nptl/tst-setuid3.c: New file.
15         * nptl/Makefile (tests): Add it.
16
17 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18
19         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
20         New define.
21         (__lll_trylock): Use __lll_base_trylock.
22         (__lll_cond_trylock): Likewise.
23
24 2014-07-10  Roland McGrath  <roland@hack.frob.com>
25
26         * nptl/pthread_create.c (start_thread): Use atomic_or and
27         lll_futex_wake directly rather than lll_robust_dead.
28         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29         (lll_robust_dead): Macro removed.
30         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
37         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45
46         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47         Use atomic_compare_and_exchange_val_acq directly rather than
48         lll_robust_trylock.
49         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
50         (__lll_robust_trylock, lll_robust_trylock): Removed.
51         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
52         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
53         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
54         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
55         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
56         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
57         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
58         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
59         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
60         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
61         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
62         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
63         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
64         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
65
66 2014-07-02  Florian Weimer  <fweimer@redhat.com>
67
68         * manual/locale.texi (Locale Names): New section documenting
69         locale name syntax.  Adjust menu and node chaining accordingly.
70         (Choosing Locale): Reference Locale Names, Locale Categories.
71         Mention setting LC_ALL=C.  Reflect that name syntax is now
72         documented.
73         (Locale Categories): New section title.  Reference Locale Names.
74         LC_ALL is an environment variable, but not a category.
75         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
76         description, now in Locale Name.  Reference that section.  Locale
77         name syntax is now documented.
78
79 2014-07-02  Florian Weimer  <fweimer@redhat.com>
80
81         [BZ #17137]
82         * locale/findlocale.c (name_present, valid_locale_name): New
83         functions.
84         (_nl_find_locale): Use the loc_name variable to store name
85         candidates.  Call name_present and valid_locale_name to check and
86         validate locale names.  Return an error if the locale is invalid.
87
88 2014-07-02  Florian Weimer  <fweimer@redhat.com>
89
90         * locale/setlocale.c (setlocale): Use strdup for allocating
91         composite name copy.
92
93 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
94
95         Sync up with gnulib.
96         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
97         [!_LIBC && ENABLE_NLS]: Include gettext.h.
98         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
99         and _GL_ARG_NONNULL.
100         [USE_UNLOCKED_IO]: Include unlocked-io.h.
101         [!_LIBC]: Include code for Windows and Cygwin.
102         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
103         Include prototype for int strerror_r.
104         [!_LIBC] (is_open): New function.
105         (flush_stdout): New function.
106         (print_errno_message): Use it.
107         (error): Likewise.
108         (error_at_line): Likewise.
109         (error_tail) Add function attribute macros.  Use
110         __builtin_expect.
111
112         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
113
114         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
115
116         * io/ftw.c: Include sys/param.h unconditionally.
117
118         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
119
120         [BZ #17125]
121         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
122         libc_freeres_ptr.
123         (freecache): New function to free CACHE on exit.
124
125         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
126         initialization.
127
128 2014-07-09  David S. Miller  <davem@davemloft.net>
129
130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
131
132         * sysdeps/sparc/nptl/internaltypes.h: Delete.
133         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
134         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
135         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
136         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
137         * sysdeps/sparc/nptl/sem_init.c: Likewise.
138         * sysdeps/sparc/nptl/sem_post.c: Likewise.
139         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
140         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
141         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
142         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
143         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
144         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
145
146 2014-07-09  Andreas Schwab  <schwab@suse.de>
147
148         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
149         output.
150         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
151         (do_test): Likewise.
152
153         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
154
155 2014-07-09  Will Newton  <will.newton@linaro.org>
156
157         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
158         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
159         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
160         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
161         * sysdeps/hppa/start.S (_start): Likewise.
162
163 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
164
165         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
166
167         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
168         defined.
169
170 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
171
172         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
173         after checking that it is non-NULL.
174
175         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
176
177 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
178
179         * sysdeps/powerpc/memmove.c: Remove file.
180         * sysdeps/powerpc/powerpc32/power4/memcopy.h
181         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
182         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
183         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
184         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
185         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
186         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
187         string memmove instead of removed powerpc one.
188
189         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
190         [weak_alias]: Fix compiler warning due trailing data.
191         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
192         [weak_alias]: Likewise.
193         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
194         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
195
196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
197         (__libc_ifunc_impl_list): Add memmove functions.
198
199 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
200
201         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
202         Remove code.
203         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
204         Likewise
205         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
206         Likewise
207         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
208         Likewise
209         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
210         Likewise
211         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
212         Likewise
213         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
214         Likewise
215         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
216         Likewise
217         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
218         Likewise
219         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
220         Likewise
221         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
222         Likewise
223         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
224         Likewise
225         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
226         Likewise
227         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
228         Likewise
229         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
230         Likewise
231         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
232         Likewise
233         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
234         Likewise
235
236 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
237
238         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
239         to avoid alignment traps in non-cacheable memory.
240         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
241
242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
243         multiarch objects.
244         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
245         file: multiarch power7 memmove.
246         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
247         multiarch default memmove.
248         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
249         multiarch memove for powerpc32/power4.
250
251         * string/bcopy.c: Use full path to include memmove.c.
252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
253         multiarch objects.
254         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
255         bcopy for powerpc64.
256         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
257         bcopy for powerpc64.
258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
259         and memmove implementations.
260         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
261         optimized multiarch memmove for POWER7/powerpc64.
262         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
263         default multiarch memmove for powerpc64.
264         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
265         multiarch for powerpc64.
266         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
267         for POWER7/powerpc64.
268         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
269         memmove for POWER7/powerpc64.
270
271         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
272         glibc default one.
273
274         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
275         __ELF_NATIVE_CLASS equal to 64.
276
277 2014-07-07  Roland McGrath  <roland@hack.frob.com>
278
279         * sysdeps/nptl/lowlevellock.h: File removed.
280
281         * NEWS: NPTL is no longer an add-on!
282         * nptl/internaltypes.h: Moved ...
283         * sysdeps/nptl/internaltypes.h: ... here.
284         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
285         * sysdeps/nptl/fork.c: Likewise.
286         * sysdeps/nptl/gai_misc.h: Likewise.
287         * sysdeps/nptl/librt-cancellation.c: Likewise.
288         * sysdeps/nptl/jmp-unwind.c: Likewise.
289         * sysdeps/nptl/setxid.h: Likewise.
290         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
291         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
292         * sysdeps/unix/sysv/linux/arm/Implies: New file.
293         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
294         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
295         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
296         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
297         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
298         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
299         * sysdeps/unix/sysv/linux/mips/Implies: New file.
300         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
301         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
302         * sysdeps/unix/sysv/linux/sh/Implies: New file.
303         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
304         * sysdeps/unix/sysv/linux/tile/Implies: New file.
305         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
306         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
307         * nptl/Makeconfig: Moved ...
308         * sysdeps/nptl/Makeconfig: ... here.
309         * nptl/configure: File removed.
310         * nptl/ANNOUNCE: File removed.
311         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
312         * sysdeps/unix/sysv/linux/configure: Regenerated.
313
314         * nptl/Makefile (routines): Add libc_pthread_init,
315         libc_multiple_threads, register-atfork and unregister-atfork.
316         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
317         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
318         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
319         pthread-pi-defines.sym, structsem.sym.
320         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
321         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
322         [$(subdir) = nptl] (tests): Add tst-setgetname.
323         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
324         * sysdeps/unix/sysv/linux/sigaction.c: Just include
325         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
326         [!LIBC_SIGACTION]: Remove aliases.
327         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
328         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
329         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
330         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
331         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
332         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
333         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
334         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
335         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
336         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
337         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
338         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
339         __libc_allocate_rtsig_private.
340         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
341         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
342         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
343         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
344         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
345         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
346         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
347         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
348         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
349         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
350         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
351         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
352         * nptl/internaltypes.h: ... here.
353         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
354         * sysdeps/nptl/jmp-unwind.c: ... here.
355         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
356         * nptl/libc-lowlevellock.c: ... here.
357         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
358         * nptl/libc_multiple_threads.c: ... here.
359         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
360         * nptl/libc_pthread_init.c: ... here.
361         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
362         * nptl/lowlevelbarrier.sym: ... here.
363         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
364         * nptl/lowlevelcond.sym: ... here.
365         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
366         * nptl/lowlevellock.c: ... here.
367         * nptl/lowlevellock.h: Moved ...
368         * sysdeps/nptl/lowlevellock.h: ... here.
369         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
370         * nptl/lowlevelrobustlock.c: ... here.
371         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
372         * nptl/lowlevelrobustlock.sym: ... here.
373         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
374         * nptl/lowlevelrwlock.sym: ... here.
375         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
376         * nptl/pt-fork.c: ... here.
377         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
378         * nptl/pthread-pi-defines.sym: ... here.
379         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
380         * nptl/pthread_attr_getaffinity.c: ... here.
381         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
382         * nptl/pthread_attr_setaffinity.c: ... here.
383         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
384         * nptl/pthread_mutex_cond_lock.c: ... here.
385         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
386         Update #include.
387         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
388         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
389         * nptl/pthread_once.c: ... here, replacing old file.
390         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
391         * nptl/pthread_yield.c: ... here.
392         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
393         * nptl/register-atfork.c: ... here.
394         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
395         * nptl/sem_post.c: ... here.
396         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
397         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
398         * nptl/sem_timedwait.c: ... here.
399         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
400         * nptl/sem_trywait.c: ... here.
401         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
402         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
403         * nptl/sem_wait.c: ... here.
404         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
405         * nptl/structsem.sym: ... here.
406         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
407         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
408         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
409         * nptl/unregister-atfork.c: ... here.
410         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
411         * nptl/unwindbuf.sym: ... here.
412         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
413         * sysdeps/nptl/fork.c: ... here.
414         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
415         * sysdeps/nptl/fork.h: ... here.
416         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
417         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
418         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
419         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
420         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
421         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
422         * sysdeps/unix/sysv/linux/getpid.c: ... here.
423         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
424         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
425         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
426         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
427         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
428         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
429         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
430         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
431         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
432         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
433         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
434         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
435         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
436         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
437         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
438         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
439         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
440         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
441         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
442         * sysdeps/unix/sysv/linux/raise.c: ... here.
443         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
444         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
445         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
446         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
447         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
448         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
449         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
450         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
451         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
452         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
453         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
454         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
455         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
456         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
457         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
458
459 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
460
461         * sysdeps/generic/memcopy.h: Add comment for
462         MEMCPY_OK_FOR_FWD_MEMMOVE.
463
464 2014-07-04  Will Newton  <will.newton@linaro.org>
465
466         * string/memchr.c: Merge from gnulib.
467         [_LIBC]: Remove conditionals.
468         (__ptr_t): Remove define.
469         (LONG_MAX_32_BITS): Likewise.
470         (LONG_MAX): Likewise.
471         (MEMCHR): Use ANSI prototype and optimize algorithm.
472
473         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
474
475 2014-07-03  Roland McGrath  <roland@hack.frob.com>
476
477         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
478         (lll_futex_timed_wait_bitset): Fix syscall argument count.
479
480         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
481         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
482         in a bare environment with no <stdlib.h> installed.
483         * sysdeps/nptl/configure: Regenerated.
484
485         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
486
487         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
488         AC_EGREP_CPP for kernel header checks, so they only succeed if
489         including <linux/version.h> actually works right.
490         * sysdeps/unix/sysv/linux/configure: Regenerated.
491
492         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
493         value so it's not diagnosed as unused.
494
495         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
496         thing) with "ifeq ($(subdir),rt)".
497
498 2014-07-03  Richard Henderson  <rth@redhat.com>
499
500         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
501         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
502         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
503
504         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
505         (math_force_eval): New.
506
507         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
508         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
509
510         * sysdeps/alpha/fpu/s_round.c: Remove file.
511         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
512
513         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
514         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
515         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
516         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
517         (_dl_start, print_statistics): Likewise.
518         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
519         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
520
521         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
522         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
523         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
524         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
525         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
526         (HP_SMALL_TIMING_AVAIL): Define.
527         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
528         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
529         (HP_SMALL_TIMING_AVAIL): Define.
530         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
531         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
532
533         * sysdeps/aarch64/hp-timing.h: New file.
534
535         * sysdeps/generic/hp-timing.h: Remove dead comment.
536         * sysdeps/generic/hp-timing-common.h: New file.
537         * sysdeps/alpha/hp-timing.h: Include it.
538         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
539         * sysdeps/i386/i686/hp-timing.h: Likewise.
540         * sysdeps/ia64/hp-timing.h: Likewise.
541         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
542         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
543         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
544         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
545         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
546         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
547         (hp_timing_t): New.
548
549         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
550         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
551         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
552         * elf/rtld.c (_dl_start_final): Likewise.
553         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
554         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
555         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
556         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
557         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
558         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
559         (HP_TIMING_DIFF_INIT): Remove.
560         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
561         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
562         (HP_TIMING_DIFF_INIT): Remove.
563         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
564         * sysdeps/i386/i686/hp-timing.c: Remove file.
565         * sysdeps/x86_64/hp-timing.c: Remove file.
566         * sysdeps/ia64/hp-timing.c: Remove file.
567         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
568         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
569         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
570         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
571
572         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
573         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
574         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
575         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
576         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
577         (HP_TIMING_ACCUM): Remove.
578         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
579         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
580         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
581
582         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
583         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
584         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
585         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
586         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
587         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
588         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
589         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
590
591         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
592
593 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
594
595         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
596
597 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
598
599         Sync up with gettext.
600         * intl/loadmsgcat.c: Define O_BINARY if not defined.
601         [_MSC_VER]: Include malloc.h
602         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
603         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
604         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
605         TEMP_FAILURE_RETRY.  Cast return of alloca.
606         [!_LIBC] Call gl_rwlock_init.
607         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
608
609 2014-07-02  Roland McGrath  <roland@hack.frob.com>
610
611         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
612         before checking its value.
613
614 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
615
616         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
617
618         * debug/memcpy_chk.c: Don't include pagecopy.h.
619         * debug/mempcpy_chk.c: Likewise.
620         * string/memcpy.c: Likewise.
621         * string/memmove.c: Likewise.
622         * sysdeps/powerpc/memmove.c: Likewise.
623         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
624         definition of PAGE_COPY_FWD_MAYBE here...
625         * sysdeps/generic/pagecopy.h: ... from here.
626         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
627
628 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
629             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
630
631         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
633         optimizations.
634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
635         (__libc_ifunc_impl_list): Likewise.
636         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
637         multiarch strcat for PPC64.
638         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
639         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
640
641 2014-07-02  Roland McGrath  <roland@hack.frob.com>
642
643         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
644
645 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
646
647         * intl/loadmsgcat.c: Remove declaration of
648         get_sysdep_segment_value.
649         (get_sysdep_segment_value): Use ISO C style.
650         (_nl_load_domain): Use ISO C style.  Get rid of redundant
651         semicolon.  Fix typo and formatting in comment.
652         (_nl_unload_domain): Use ISO C style.
653
654         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
655
656 2014-07-02  Will Newton  <will.newton@linaro.org>
657
658         * malloc/obstack.c: Merge from gnulib master.
659         [HAVE_CONFIG_H]: Remove conditional code.
660         [!_LIBC]: Include config.h.
661         [!ELIDE_CODE]: Don't include inttypes.h, include
662         stdint.h unconditionally.
663         (print_and_abort): Mark as _Noreturn.
664         (_obstack_allocated_p): Mark as __attribute_pure__.
665         (obstack_free): Rename to __obstack_free.
666         [!__attribute__]: Remove conditional code.
667         * malloc/obstack.h: Merge from gnulib master.
668         [__cplusplus]: Move conditional down.
669         [!__attribute_pure__]: Define __attribute_pure__ here
670         if it is not already defined.
671         (_obstack_memory_used): Mark as __attribute_pure__.
672         [!__obstack_free]: Define as obstack_free.
673         [__GNUC__]: Remove check for ancient NeXT gcc.
674
675 2014-07-02  Will Newton  <will.newton@linaro.org>
676             Paul Eggert  <eggert@cs.ucla.edu>
677
678         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
679
680 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
681
682         * resolv/gethnamaddr.c: Add comment warning that the file is
683         not maintained.
684
685 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
686
687         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
688         entries.
689
690         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
691         entry for aio_cancel and aio_cancel64.
692         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
693         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
694         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
695         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
696         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
697         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
698         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
699         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
700         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
701         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
702         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
703         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
704         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
705
706 2014-07-01  Roland McGrath  <roland@hack.frob.com>
707
708         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
709         * nptl/pthread_mutex_lock.c: Likewise.
710         * nptl/pthread_mutex_timedlock.c: Likewise.
711         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
712
713 2014-07-01  Richard henderson  <rth@redhat.com>
714
715         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
716         (__isnan, __isnanl): Remove.
717         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
718
719         * sysdeps/alpha/fpu/libm-test-ulps: Update.
720
721 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
722
723         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
724
725 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
726
727         * resolv/nss_dns/dns-host.c (getanswer_r)
728         [MULTI_PTRS_ARE_ALIASES]: Remove code.
729
730 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
731
732         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
733         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
734         undefine.
735         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
736         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
737
738 2014-07-01  Roland McGrath <roland@hack.frob.com>
739
740         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
741         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
742
743         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
744         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
745
746         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
747         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
748         ... here.
749         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
750         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
751
752         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
753         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
754         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
755         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
756
757         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
758         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
759         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
760         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
761         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
762         Moved ...
763         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
764         ... here.
765         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
766         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
767         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
768         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
769         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
770         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
771         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
772         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
773         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
774         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
775         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
776         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
777         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
778         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
779         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
780         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
781         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
782         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
783         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
784         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
785         ... here.
786         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
787         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
788         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
789         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
790         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
791         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
792         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
793         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
794
795 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
796
797         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
798         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
799         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
800         Add sysdep.
801
802 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
803
804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
805
806 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
807
808         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
809         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
810
811         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
812
813         * sysdeps/arm/libm-test-ulps: Regenerated.
814
815 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
816             Roland McGrath <roland@hack.frob.com>
817
818         * test-skeleton.c (signal_handler): Kill the whole process group
819         before killing the child individually.
820         (main): Report any failure on `setpgid'.
821
822 2014-06-30  Roland McGrath  <roland@hack.frob.com>
823
824         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
825         from _TLS_H to _ARM_NPTL_TLS_H.
826         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
827         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
828
829 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
830
831         [BZ #16539]
832         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
833         (__expm1l): Return argument unchanged when small but not
834         subnormal.
835
836         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
837         include macro name.
838         (_FP_UNPACK_RAW_1_P): Likewise.
839         (_FP_PACK_RAW_1): Likewise.
840         (_FP_PACK_RAW_1_P): Likewise.
841         (_FP_MUL_MEAT_1_wide): Likewise.
842         (_FP_MUL_MEAT_DW_1_hard): Likewise.
843         (_FP_MUL_MEAT_1_hard): Likewise.
844         (_FP_DIV_MEAT_1_imm): Likewise.
845         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
846         (_FP_DIV_MEAT_1_udiv): Likewise.
847         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
848         (_FP_UNPACK_RAW_2): Likewise.
849         (_FP_UNPACK_RAW_2_P): Likewise.
850         (_FP_PACK_RAW_2): Likewise.
851         (_FP_PACK_RAW_2_P): Likewise.
852         (_FP_MUL_MEAT_DW_2_wide): Likewise.
853         (_FP_MUL_MEAT_2_wide): Likewise.
854         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
855         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
856         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
857         (_FP_MUL_MEAT_2_gmp): Likewise.
858         (_FP_DIV_MEAT_2_udiv): Likewise.
859         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
860         (_FP_FRAC_SRL_4): Likewise.
861         (_FP_FRAC_SRST_4): Likewise.
862         (_FP_FRAC_SRS_4): Likewise.
863         (_FP_UNPACK_RAW_4): Likewise.
864         (_FP_UNPACK_RAW_4_P): Likewise.
865         (_FP_PACK_RAW_4): Likewise.
866         (_FP_PACK_RAW_4_P): Likewise.
867         (_FP_MUL_MEAT_DW_4_wide): Likewise.
868         (_FP_MUL_MEAT_4_wide): Likewise.
869         (_FP_MUL_MEAT_4_gmp): Likewise.
870         (umul_ppppmnnn): Likewise.
871         (_FP_DIV_MEAT_4_udiv): Likewise.
872         (__FP_FRAC_ADD_4): Likewise.
873         (__FP_FRAC_SUB_3): Likewise.
874         (__FP_FRAC_SUB_4): Likewise.
875         (__FP_FRAC_DEC_3): Likewise.
876         (__FP_FRAC_DEC_4): Likewise.
877         (__FP_FRAC_ADDI_4): Likewise.
878         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
879         (_FP_FRAC_SRL_8): Likewise.
880         (_FP_FRAC_SRS_8): Likewise.
881
882         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
883         include macro name.
884         (FP_UNPACK_RAW_EP): Likewise.
885         (FP_PACK_RAW_E): Likewise.
886         (FP_PACK_RAW_EP): Likewise.
887         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
888         (_FP_ISSIGNAN): Likewise.
889         (_FP_ADD_INTERNAL): Likewise.
890         (_FP_FMA): Likewise.
891         (_FP_CMP): Likewise.
892         (_FP_SQRT): Likewise.
893         (_FP_TO_INT): Likewise.
894         (_FP_FROM_INT): Likewise.
895         (FP_EXTEND): Likewise.
896         (_FP_DIV_MEAT_N_loop): Likewise.
897
898 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
899
900         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
901         throughout.
902
903 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
904
905         [BZ #17097]
906         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
907         result with correct sign in case of exponents that produce
908         overflow except for X very close to 1.
909
910 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
911
912         mktime: merge #if/#ifdef usage from glibc
913         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
914         as that works with both Glibc's and Gnulib's style.
915         See thread starting at Siddhesh Poyarekar's bug report at:
916         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
917
918 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
919
920         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
921         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
922         * sysdeps/tile/tilegx/memmove.c: Remove file.
923
924 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
925
926         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
927         abi-name definition.
928         * scripts/soversions.awk: Do not handle or generate ABI lines.
929         * shlib-versions: Remove ABI entries.
930         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
931         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
932
933 2014-06-27  Roland McGrath  <roland@hack.frob.com>
934
935         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
936         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
937         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
938         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
940         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
942         Moved ...
943         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
944         ... here.
945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
946         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
948         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
950         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
952         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
954         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
956         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
957         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
958         Moved ...
959         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
961         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
963         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
965         Moved ...
966         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
967         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
968         Moved ...
969         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
971         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
973         Moved ...
974         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
976         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
978         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
980         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
982         Moved ...
983         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
985         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
986         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
987         Moved ...
988         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
989         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
990         Moved ...
991         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
992         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
993         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
994         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
995         Moved ...
996         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
997         ... here.
998         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
999         Identical file removed.
1000         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1001         Moved ...
1002         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1004         Identical file removed.
1005         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1006         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1007         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1008         Moved ...
1009         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1010         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1011         Identical file removed.
1012         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1013         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1014         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1015         Identical file removed.
1016         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1017         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1018         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1019         Identical file removed.
1020         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1021         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1023         Identical file removed.
1024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1025         Moved ...
1026         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1028         Identical file removed.
1029         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1030         Moved ...
1031         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1032         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1033         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1034         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1035         Identical file removed.
1036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1037         Moved ...
1038         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1039         ... here.
1040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1041         Identical file removed.
1042         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1043         Moved ...
1044         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1045         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1046         Identical file removed.
1047         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1048         Moved ...
1049         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1050         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1051         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1052         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1053         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1054         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1055         Moved ...
1056         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1057         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1058         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1059
1060         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1061         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1062         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1063         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1064         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1065
1066 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1067
1068         [BZ #17092]
1069         * nscd/nscd.c (monitor_child): Return exit status of child
1070         instead of return value from wait syscall.
1071
1072 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1073
1074         * configure.ac (libc_commonpagesize): Remove variable.
1075         (libc_relro_required): Likewise.
1076         (libc_cv_z_relro): Remove configure test.
1077         * configure: Regenerated.
1078         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1079         variable.
1080         (libc_relro_required): Likewise.
1081         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1082         (libc_relro_required): Likewise.
1083         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1084         (libc_relro_required): Likewise.
1085         * sysdeps/arm/preconfigure: Regenerated.
1086         * sysdeps/ia64/preconfigure: Remove file.
1087         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1088         variable.
1089         (libc_relro_required): Likewise.
1090
1091         [BZ #16561]
1092         [BZ #16562]
1093         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1094         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1095         recompute overflowing results in original rounding mode.
1096         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1097         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1098         recompute overflowing results in original rounding mode.
1099         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1100         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1101         recompute overflowing results in original rounding mode.
1102         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1103         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1104         recompute overflowing results in original rounding mode.
1105         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1106         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1107         recompute overflowing results in original rounding mode.
1108         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1109         (libc_feholdsetround_ctx): New macro.
1110         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1111         * sysdeps/i386/fpu/libm-test-ulps: Update.
1112         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1113
1114 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1115
1116         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1117         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1118         corresponding .cpsetup call.
1119
1120 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1121
1122         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1123         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1124         * sysdeps/arm/Makefile [$(subdir) = csu]
1125         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1126         (static-only-routines): Add aeabi_read_tp here.
1127         (shared-only-routines): Add libc-aeabi_read_tp here.
1128         (CFLAGS-libc-start.c): Add -fexceptions here.
1129         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1130         (sysdep_routines, static-only-routines, shared-only-routines):
1131         Don't add to these here.
1132         (CFLAGS-libc-start.c): Likewise.
1133
1134         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1135         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1136         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1137         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1138         * sysdeps/arm/Makefile [$(subdir) = rt]
1139         (librt-sysdep_routines, librt-shared-only-routines):
1140         Append rt-aeabi_unwind_cpp_pr1 here.
1141         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1142         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1143         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1144         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1145         Append nptl-aeabi_unwind_cpp_pr1 here.
1146         (tests): Filter out tst-cleanupx4 here.
1147         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1148         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1149         Don't do those here.
1150
1151 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1152
1153         * scripts/list-sources.sh: Do not handle ports specially.
1154
1155 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1156
1157         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1158         * sysdeps/arm/feupdateenv.c: Likewise.
1159
1160         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1161
1162 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1163
1164         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1165         trailing whitespace removed.
1166         * scripts/config.guess: Update to version 2014-03-23.
1167         * scripts/config.sub: Update to version 2014-05-01
1168         * scripts/install-sh: Update to version 2013-12-25.23.
1169         * scripts/move-if-change: Update from gnulib.
1170
1171 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1172
1173         * debug/memmove_chk.c: Remove pagecopy.h include.
1174
1175 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1176
1177         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1178         identical to gnulib mktime.
1179
1180 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1181
1182         * configure.ac: Do not test for machine being rs6000.  Do not test
1183         for powerpc*-*soft.
1184         * configure: Regenerated.
1185
1186         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1187         test.
1188         * configure: Regenerated.
1189         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1190         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1191         Remove configure test.
1192         * sysdeps/arm/configure: Regenerated.
1193         * sysdeps/nptl/configure.ac: Do not check
1194         libc_cv_asm_cfi_directives.
1195         * sysdeps/nptl/configure: Regenerated.
1196         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1197         * sysdeps/x86_64/nptl/configure: Remove generated file.
1198         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1199         unconditional.
1200         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1201
1202 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1203
1204         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1205         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1206         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1207         it is defined.
1208
1209         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1210         instead of whether it is defined.
1211         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1212         * sysdeps/hppa/dl-machine.h: Likewise.
1213         * sysdeps/ia64/dl-machine.h: Likewise.
1214         * sysdeps/m68k/dl-machine.h: Likewise.
1215         * sysdeps/microblaze/dl-machine.h: Likewise.
1216         * sysdeps/mips/dl-machine.: Likewise.
1217         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1218         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1219         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1220         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1221         * sysdeps/sh/dl-machine.h: Likewise.
1222         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1223         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1224         * sysdeps/tile/dl-machine.h: Likewise.
1225         * sysdeps/x86_64/dl-machine.h: Likewise.
1226
1227         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1228         code.
1229         (verify_persistent_db): Likewise.
1230
1231 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1232
1233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1234         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1236         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1238         Moved ...
1239         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1240         ... here.
1241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1242         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1244         Identical file removed.
1245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1246         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1248         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1250         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1252         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1254         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1256         Moved ...
1257         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1259         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1261         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1263         Moved ...
1264         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1266         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1268         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1270         Identical file removed.
1271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1272         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1274         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1276         Moved ...
1277         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1278         ... here.
1279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1280         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1282         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1284         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1286         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1288         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1290         Moved ...
1291         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1293         Moved ...
1294         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1296         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1298         Moved ...
1299         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1301         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1302
1303         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1304         folded into ...
1305         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1306         * sysdeps/unix/sysv/linux/s390/Versions
1307         (libpthread: GLIBC_2.19): New version set.
1308         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1309         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1310         (librt: GLIBC_2.3.3): New version set.
1311         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1312         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1313         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1314         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1315         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1316         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1317         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1318         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1319         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1320         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1321         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1322         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1323         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1324         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1325         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1326         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1327         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1328         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1329         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1330         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1331         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1332         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1333         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1334         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1335         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1336         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1337         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1338         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1339         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1340         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1341         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1342         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1343         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1345         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1347         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1349         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1350         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1351         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1353         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1355         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1356
1357         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1358         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1359         (__libc_vfork): Define the function under this name.
1360         [!NOT_IN_libc] (__vfork): Make this an alias.
1361         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1362         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1363         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1364         (__libc_vfork): Define the function under this name.
1365         [!NOT_IN_libc] (__vfork): Make this an alias.
1366         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1367         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1368         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1369         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1370         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1371         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1372
1373         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1374         code that was previously under [RESET_PID].
1375         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1376         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1377         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1378
1379         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1380         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1381         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1382         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1383         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1384         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1385         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1386         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1387         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1388         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1389         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1390         Moved ...
1391         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1392         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1393         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1394         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1395         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1396         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1397         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1398         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1399         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1400         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1401         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1402         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1403         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1404         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1405         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1406         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1407         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1408         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1409         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1410         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1411         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1412         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1413         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1414         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1415         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1416         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1417         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1418         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1419         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1420
1421 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1422
1423         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1424         that was previously under [RESET_PID].
1425         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1426
1427 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1428
1429         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1430         not undefine and redefine.
1431         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1432         [O_CLOEXEC]: Make code unconditional.
1433         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1434         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1435         <kernel-features.h>.
1436         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1437         conditional variable definition.
1438         (shm_open) [O_CLOEXEC]: Make code unconditional.
1439         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1440         code.
1441
1442         * configure.ac (USE_REGPARMS): Don't define here.
1443         * configure: Regenerated.
1444         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1445         * sysdeps/i386/configure: Regenerated.
1446
1447         * nptl/createthread.c: Don't include kernel-features.h.
1448         * nptl/pthread_cancel.c: Likewise.
1449         * nptl/pthread_condattr_setclock.c: Likewise.
1450         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1451         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1452         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1453         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1454         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1455         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1456         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1457         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1458         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1459         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1460         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1461         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1462         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1463         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1464         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1465         * nscd/gai.c: Likewise.
1466         * nss/nss_db/db-open.c: Likewise.
1467         * sysdeps/generic/ldsodefs.h: Likewise.
1468         * sysdeps/sh/nptl/tls.h: Likewise.
1469         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1470         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1471         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1472         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1473         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1474         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1475         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1476         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1477         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1478         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1479         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1480         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1481         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1482         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1483         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1484         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1485         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1486         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1487         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1488         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1489         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1490         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1491         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1492         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1493         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1495         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1496         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1497         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1498         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1499         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1500         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1501         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1502         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1503         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1504         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1505         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1506         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1507         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1508         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1509         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1510         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1511         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1512         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1513         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1514         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1515         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1516         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1517         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1518         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1519         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1520         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1521         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1522         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1523         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1524         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1525         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1526         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1549         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1550         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1551         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1552         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1553         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1554         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1555         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1556         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1557         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1558         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1559         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1560         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1561         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1562         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1563         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1564         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1565         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1566         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1567         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1568         * sysdeps/unix/sysv/linux/system.c: Likewise.
1569         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1570         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1571         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1572         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1573         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1574         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1575         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1576
1577         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1578         * configure: Regenerated.
1579         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1580
1581         * configure.ac (base_machine): Do not set specially for particular
1582         machines here.
1583         * configure: Regenerated.
1584         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1585         settings from configure.ac.
1586         * sysdeps/i386/preconfigure: New file.
1587         * sysdeps/s390/preconfigure: Likewise.
1588         * sysdeps/sh/preconfigure: Likewise.
1589         * sysdeps/sparc/preconfigure: Likewise.
1590
1591 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1592
1593         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1594         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1595         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1596         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1597         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1598         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1599         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1600         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1601         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1602         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1603         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1604         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1605         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1606         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1607         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1608         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1609         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1610         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1611         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1612
1613         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1614         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1615         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1616         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1617         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1618         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1619         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1620         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1621         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1622         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1623         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1624         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1625         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1626         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1627         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1628         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1629         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1630         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1631         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1632         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1633         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1634         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1635         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1636         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1637         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1638         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1639         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1640         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1641         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1642         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1643         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1644         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1645         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1646         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1647         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1648         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1649         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1650         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1651
1652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1653         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1655         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1657         Moved ...
1658         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1659         ... here.
1660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1661         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1663         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1665         Moved ...
1666         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1668         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1670         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1672         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1674         Moved ...
1675         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1677         Moved ...
1678         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1680         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1682         Moved ...
1683         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1685         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1687         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1689         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1691         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1693         Moved ...
1694         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1695         ... here.
1696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1697         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1699         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1701         Moved ...
1702         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1704         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1706         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1708         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1710         Moved ...
1711         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1713         Moved ...
1714         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1716         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1718         Moved ...
1719         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1721         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1723         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1724
1725 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1726
1727         * timezone/checktab.awk: Update from tzcode 2014e.
1728         * timezone/private.h: Likewise.
1729         * timezone/tzfile.h: Likewise.
1730         * timezone/zdump.c: Likewise.
1731         * timezone/zic.c: Likewise.
1732
1733         * sysdeps/unix/sysv/linux/kernel-features.h
1734         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1735         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1736         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1737         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1738         Remove conditional code.
1739
1740 2014-06-25  Will Newton  <will.newton@linaro.org>
1741
1742         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1743         (_dl_arm_cap_flags): Add HWCAP2 values.
1744         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1745         (_DL_HWCAP_COUNT): Increase to 37.
1746         (_DL_HWCAP_LAST): New define.
1747         (_DL_HWCAP2_LAST): New define.
1748         (_dl_procinfo): Add support for printing
1749         AT_HWCAP2 entries.
1750         (_dl_string_hwcap): Use _dl_hwcap_string.
1751
1752 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1753
1754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1755
1756 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1757
1758         * README: Do not mention ports directory.
1759
1760         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1761         Remove macro.
1762         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1763         <kernel-features.h>.
1764         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1765         conditional variable definition.
1766         (__futimes): Update comment.
1767         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1768         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1769
1770         [BZ #16560]
1771         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1772         arguments close to 0.
1773         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1774         Likewise.
1775         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1776         Likewise.
1777         * math/auto-libm-test-in: Add more tests of exp10.
1778         * math/auto-libm-test-out: Regenerated.
1779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1780
1781         * sysdeps/unix/sysv/linux/kernel-features.h
1782         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1783         * sysdeps/unix/sysv/linux/readv.c: Do not include
1784         <kernel-features.h>.
1785         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1786         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1787         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1788         unconditional.
1789         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1790         conditional code.
1791         * sysdeps/unix/sysv/linux/writev.c: Do not include
1792         <kernel-features.h>.
1793         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1794         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1795         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1796         unconditional.
1797         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1798         conditional code.
1799
1800 2014-06-25  Will Newton  <will.newton@linaro.org>
1801
1802         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1803         comment changes throughout the file.  Remove checks
1804         for HAVE_*_H definitions that are not required.
1805         (__gen_tempname): Call abort if an unknown kind value is
1806         passed.
1807
1808 2014-06-25  Andreas Schwab  <schwab@suse.de>
1809
1810         [BZ #17086]
1811         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1812         scalbln, scalblnf, scalblnl in libc.
1813
1814 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1815
1816         [BZ #17086]
1817         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1818         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1819         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1820
1821 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1822
1823         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1824         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1825         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1826         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1827         Update #include.
1828         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1829         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1830         Update #include.
1831         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1832         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1833         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1834         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1835         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1836         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1837         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1838         * sysdeps/x86/bits/semaphore.h: ... here.
1839         * sysdeps/x86/nptl/elide.h: Moved ...
1840         * sysdeps/x86/elide.h: ... here.
1841         * sysdeps/x86_64/nptl/Implies: File removed.
1842         * sysdeps/i386/nptl/Implies: File removed.
1843
1844 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1845
1846         [BZ #16539]
1847         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1848         return the argument for normal arguments with exponent below -64.
1849         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1850         Likewise.
1851         * math/auto-libm-test-in: Add another test of expm1.
1852         * math/auto-libm-test-out: Regenerated.
1853
1854         [BZ #16287]
1855         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1856         calling __erfcl for arguments at least 16.
1857         * math/auto-libm-test-in: Add more tests of erf.
1858         * math/auto-libm-test-out: Regenerated.
1859
1860         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1861         individual architectures.
1862         * sysdeps/unix/sysv/linux/configure: Regenerated.
1863         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1864         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1865         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1866         (ldd_rewrite_script): Define variable.
1867         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1869         file.
1870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1871         generated file.
1872         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1873         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1874         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1875         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1876         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1877         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1878         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1879         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1880
1881 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1882
1883         [BZ #17084]
1884         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1885         Rename member __data.d to __data.__elision_data.
1886
1887 2014-06-24  Wilco  <wdijkstr@arm.com>
1888
1889         * NEWS: Add 16918 to fixed bug list.
1890
1891 2014-06-24  Wilco  <wdijkstr@arm.com>
1892
1893         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1894
1895 2014-06-24  Wilco  <wdijkstr@arm.com>
1896
1897         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1898         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1899         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1900         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1901         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1902         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1903         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1904         Use _FPU_MASK_RM.
1905
1906 2014-06-24  Wilco  <wdijkstr@arm.com>
1907
1908         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1909
1910 2014-06-24  Wilco  <wdijkstr@arm.com>
1911
1912         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1913         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1914         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1915         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1916
1917 2014-06-24  Wilco  <wdijkstr@arm.com>
1918
1919         [BZ #16918]
1920         * sysdeps/arm/feupdateenv.c (feupdateenv):
1921         Rewrite to reduce FPSCR accesses and fix return value.
1922
1923 2014-06-24  Wilco  <wdijkstr@arm.com>
1924
1925         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1926         Optimize to avoid unnecessary FPSCR writes.
1927         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1928         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1929         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1930         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1931
1932 2014-06-24  Wilco  <wdijkstr@arm.com>
1933
1934         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1935         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1936         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1937         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1938         Call libc_fetestexcept_vfp.
1939         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1940         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1941         __SOFTFP__ ifdef so that they can be built for softfp.
1942
1943 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1944
1945         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1946         argument type signed char.
1947
1948         * Makerules (check-abi): Dump diff of symlist if the test
1949         fails.
1950
1951 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1952
1953         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1954         using abort.
1955
1956         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1957         Remove unused variable ST.
1958
1959 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1960
1961         [BZ #16354]
1962         [BZ #17061]
1963         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1964         small arguments before calling __expm1.
1965         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1966         small arguments before calling __expm1f.
1967         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1968         small arguments before calling __expm1l.
1969         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1970         Likewise.
1971         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1972         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1973         spurious underflow for some cosh tests.
1974         * math/auto-libm-test-out: Regenerated.
1975         * sysdeps/i386/fpu/libm-test-ulps: Update.
1976
1977         [BZ #17050]
1978         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1979         (__ieee754_y1): Set errno if return value overflows.
1980         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1981         (__ieee754_y1f): Set errno if return value overflows.
1982         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1983         (__ieee754_y1l): Set errno if return value overflows.
1984         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1985         (__ieee754_y1l): Set errno if return value overflows.
1986         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1987         * math/auto-libm-test-out: Regenerated.
1988
1989         * math/gen-auto-libm-tests.c: Document use of
1990         ignore-zero-inf-sign.
1991         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1992         (input_flags): Add ignore-zero-inf-sign.
1993         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1994         * math/gen-libm-test.pl (generate_testfile): Handle
1995         ignore-zero-inf-sign.
1996         * math/auto-libm-test-in: Mark some cpow tests with
1997         ignore-zero-inf-sign and some with xfail-rounding.
1998         * math/auto-libm-test-out: Regenerated.
1999         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2000         * sysdeps/i386/fpu/libm-test-ulps: Update.
2001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2002
2003         [BZ #16315]
2004         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2005         overflowing or underflowing operations take place with sign of
2006         result.
2007         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2008         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2009         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2010         (__ieee754_pow): Recompute overflowing and underflowing results in
2011         original rounding mode.
2012         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2013         (__powl_helper): Allow negative argument X and scale negated value
2014         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2015         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2016         overflowing or underflowing operations take place with sign of
2017         result.
2018         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2019         Include <math.h>.
2020         * math/auto-libm-test-in: Add more tests of pow.
2021         * math/auto-libm-test-out: Regenerated.
2022         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2023         (pow_tonearest_test_data): Remove.
2024         (pow_test_tonearest): Likewise.
2025         (pow_towardzero_test_data): Likewise.
2026         (pow_test_towardzero): Likewise.
2027         (pow_downward_test_data): Likewise.
2028         (pow_test_downward): Likewise.
2029         (pow_upward_test_data): Likewise.
2030         (pow_test_upward): Likewise.
2031         (main): Don't call removed functions.
2032         * sysdeps/i386/fpu/libm-test-ulps: Update.
2033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2034
2035 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2036
2037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2038         Moved ...
2039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2041         Moved ...
2042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2044         Moved ...
2045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2047         Moved ...
2048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2050         File removed.
2051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2052         File removed.
2053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2054         File removed.
2055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2056         File removed.
2057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2058         File removed.
2059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2060         File removed.
2061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2062         File removed.
2063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2064         File removed.
2065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2066         File removed.
2067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2068         File removed.
2069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2070         File removed.
2071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2072         File removed.
2073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2074         Moved ...
2075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2077         Moved ...
2078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2079         ... here.
2080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2081         Moved ...
2082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2084         Moved ...
2085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2087         Moved ...
2088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2090         Moved ...
2091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2093         Moved ...
2094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2096         Moved ...
2097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2099         Moved ...
2100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2103         ... here.
2104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2105         Moved ...
2106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2108         Moved ...
2109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2110         ... here.
2111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2112         Moved ...
2113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2114         ... here.
2115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2116         Moved ...
2117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2118         ... here.
2119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2120         Moved ...
2121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2123         Moved ...
2124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2128         Moved ...
2129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2130         ... here.
2131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2132         Moved ...
2133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2134         ... here.
2135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2136         Moved ...
2137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2139         Moved ...
2140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2142         Moved ...
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2145         Moved ...
2146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2148         Moved ...
2149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2150         ... here.
2151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2152         Moved ...
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2155         Moved ...
2156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2158         Moved ...
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2161         Moved ...
2162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2166         Moved ...
2167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2169         Moved ...
2170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2172         Moved ...
2173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2174         ... here.
2175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2176         Moved ...
2177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2178         ... here.
2179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2180         Moved ...
2181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2182         ... here.
2183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2184         Moved ...
2185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2187         Moved ...
2188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2190         Moved ...
2191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2193         Moved ...
2194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2195         ... here.
2196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2197         Moved ...
2198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2199         ... here.
2200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2201         Moved ...
2202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2203         ... here.
2204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2205         Moved ...
2206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2208         Moved ...
2209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2210
2211 2014-06-23  Will Newton  <will.newton@linaro.org>
2212             Wilco  <wdijkstr@arm.com>
2213
2214         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2215         implementation.  Include get-rounding-mode.h.
2216         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2217         [!libc_feholdsetround_noex_ctx]: Define
2218         libc_feholdsetround_noex_ctx.
2219         [!libc_feholdsetround_noexf_ctx]: Define
2220         libc_feholdsetround_noexf_ctx.
2221         [!libc_feholdsetround_noexl_ctx]: Define
2222         libc_feholdsetround_noexl_ctx.
2223         (libc_feholdsetround_ctx): New function.
2224         (libc_feresetround_ctx): New function.
2225         (libc_feholdsetround_noex_ctx): New function.
2226         (libc_feresetround_noex_ctx): New function.
2227
2228 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2229
2230         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2231         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2232         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2233         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2234         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2235         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2236
2237         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2238         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2239         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2240         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2241         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2242         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2243         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2244         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2245         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2246         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2248         Moved ...
2249         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2250         ... here.
2251         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2252         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2253         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2254         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2255         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2256         Moved ...
2257         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2258         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2259         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2260         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2261         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2262         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2263         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2264         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2265         Moved ...
2266         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2267         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2268         Moved ...
2269         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2270         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2271         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2272         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2273         Moved ...
2274         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2275         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2276         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2277         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2278         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2279         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2280         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2281         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2282         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2283         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2284         Moved ...
2285         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2286         ... here.
2287         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2288         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2289         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2290         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2291         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2292         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2293         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2294         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2295         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2296         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2297         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2298         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2299         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2300         Moved ...
2301         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2302         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2303         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2304         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2305         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2306         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2307         Moved ...
2308         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2312         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2313
2314         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2315         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2316         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2317         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2318         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2319         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2320         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2321         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2322         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2323         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2324         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2325         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2326         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2327         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2328         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2329         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2330         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2331         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2332         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2333         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2334         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2335         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2336         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2337         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2338         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2339         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2340         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2341         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2342
2343 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2344
2345         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2346         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2347         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2348         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2349         (IPV6_PMTUDISC_INTERFACE): Likewise.
2350         (IPV6_PMTUDISC_OMIT): Likewise.
2351
2352 2014-06-23  Andreas Schwab  <schwab@suse.de>
2353
2354         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2355         Remove unused errout label.
2356
2357 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2358
2359         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2360         macro: hardware supports Vector Crypto instructions.
2361
2362 2014-06-23  Will Newton  <will.newton@linaro.org>
2363
2364         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2365         rather than __builtin_expect.
2366
2367         * elf/dl-lookup.c (undefined_msg): Remove variable.
2368         (_dl_lookup_symbol_x): Replace undefined_msg with string
2369         literal.
2370
2371         * elf/dl-lookup.c (do_lookup_unique): New function.
2372         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2373         to a separate function.
2374
2375 2014-06-23  Andreas Schwab  <schwab@suse.de>
2376
2377         [BZ #17079]
2378         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2379         before reading the next line.
2380
2381 2014-06-23  Will Newton  <will.newton@linaro.org>
2382
2383         * test-skeleton.c (signal_handler): Use printf and %m
2384         rather than perror.  Use printf rather than fprintf to
2385         stderr.  Use puts rather than fputs to stderr.
2386         (main): Likewise.
2387
2388 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2389
2390         * nscd/nscd.c (thread_info_t): Remove typedef.
2391         (thread_info): Remove variable.
2392
2393 2014-06-21  Allan McRae  <allan@archlinux.org>
2394
2395         * NEWS: Mention CVE-2014-4043.
2396
2397 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2398
2399         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2400         * nptl/smp.h: ... here.
2401
2402         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2403
2404         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2405         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2406         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2407         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2408
2409         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2410         * nptl/stack-aliasing.h: New file.
2411         * sysdeps/i386/i686/stack-aliasing.h: New file.
2412         * sysdeps/i386/i686/nptl/Makefile: File removed.
2413         * sysdeps/x86_64/stack-aliasing.h: New file.
2414         * sysdeps/x86_64/nptl/Makefile
2415         (CFLAGS-pthread_create.c): Variable removed.
2416
2417         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2418         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2419         old file.
2420         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2421         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2422         old file.
2423
2424 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2425
2426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2427         (__ASSUME_SIGFRAME_V2): Remove macro.
2428         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2429         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2430         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2431         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2432         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2433         Declare as function.  Remove conditional macro definitions.
2434         (__default_rt_sa_restorer): Likewise.
2435         (__default_sa_restorer_v1): Remove declaration.
2436         (__default_sa_restorer_v2): Likewise.
2437         (__default_rt_sa_restorer_v1): Likewise.
2438         (__default_rt_sa_restorer_v2): Likewise.
2439         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2440         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2441         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2442
2443 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2444
2445         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2446         (libpthread-routines): Add sysdep.
2447         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2448         * sysdeps/unix/sysv/linux/sparc/Versions
2449         (libpthread: GLIBC_2.3.3): New version set.
2450         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2451         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2452         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2453         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2454         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2455         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2456         Moved ...
2457         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2458         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2459         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2460         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2461         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2462         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2463         * sysdeps/sparc/nptl/sem_init.c: ... here.
2464         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2465         * sysdeps/sparc/nptl/sem_post.c: ... here.
2466         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2467         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2468         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2469         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2470         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2471         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2472         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2473         (libpthread-routines): Add cpu_relax.
2474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2475         File removed.
2476         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2477         (librt: GLIBC_2.3.3): New version set.
2478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2479         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2480         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2481         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2484         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2486         Moved ...
2487         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2489         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2491         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2493         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2495         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2497         Moved ...
2498         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2499         Update #include.
2500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2501         Moved ...
2502         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2503         Update #include.
2504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2505         Moved ...
2506         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2507         Update #include.
2508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2509         Moved ...
2510         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2511         Update #include.
2512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2513         Moved ...
2514         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2515         Update #include.
2516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2517         Moved ...
2518         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2519         Update #include.
2520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2521         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2523         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2525         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2527         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2529         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2531         Moved ...
2532         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2534         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2536         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2537
2538 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2539
2540         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2541         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2542         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2543         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2544         * nscd/nscd.c: Likewise.
2545         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2546         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2547         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2548         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2549
2550         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2551         <kernel-features.h>.
2552         (init_mq_netlink): Remove conditional have_sock_cloexec
2553         definitions.  Remove code conditional on have_sock_cloexec < 0.
2554         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2555         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2556         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2557         <kernel-features.h>.
2558         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2559         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2560
2561 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2562
2563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2564         Add tests for memset_chk and memset.
2565
2566         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2567         with AVX2_Usable.
2568
2569 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2570
2571         [BZ #16046]
2572         * elf/tst-dl-iter-static.c: New file.
2573         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2574
2575         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2576         error.
2577
2578 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2579
2580         * sysdeps/unix/sysv/linux/kernel-features.h
2581         (__ASSUME_F_GETOWN_EX): Remove macro.
2582         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2583         <kernel-features.h>.
2584         (miss_F_GETOWN_EX): Remove variable or macro.
2585         (do_fcntl): Do not check miss_F_GETOWN_EX.
2586         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2587
2588         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2589         Remove macro.
2590         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2591         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2592         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2593
2594         * sysdeps/unix/sysv/linux/kernel-features.h
2595         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2596         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2597         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2598         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2599
2600 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2601
2602         [BZ #17075]
2603         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2604         Fix calculation of the symbol's value.
2605         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2606         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2607         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2608         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2609         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2610         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2611         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2612         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2613         (modules-names): Add `tst-armtlsdescmod',
2614         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2615         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2616         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2617         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2618         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2619         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2620         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2621         ($(objpfx)tst-armtlsdescloc): New dependency.
2622         ($(objpfx)tst-armtlsdescextnow): Likewise.
2623         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2624         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2625         TLS scheme support.
2626         * sysdeps/arm/configure: Regenerate.
2627
2628 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2629
2630         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2631         (__atfct_seterrno_2): Likewise.
2632         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2633         <kernel-features.h>.
2634         (__ASSUME_ATFCTS): Do not undefine and redefine.
2635         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2636         (__have_atfcts): Remove conditional definition.
2637         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2638         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2639         unreachable if [__ASSUME_ATFCTS].
2640         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2641         not undefine and redefine.
2642         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2643         <kernel-features.h>.
2644         (faccessat) [__NR_faccessat]: Make code unconditional.
2645         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2646         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2647         <kernel-features.h>.
2648         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2649         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2650         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2651         <kernel-features.h>.
2652         (fchownat) [__NR_fchownat]: Make code unconditional.
2653         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2654         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2655         <kernel-features.h>.
2656         (futimesat) [__NR_futimesat]: Make code unconditional.
2657         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2658         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2659         <kernel-features.h>.
2660         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2661         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2662         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2663         <kernel-features.h>.
2664         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2665         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2666         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2667         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2668         <kernel-features.h>.
2669         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2670         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2671         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2672         <kernel-features.h>.
2673         (linkat) [__NR_linkat]: Make code unconditional.
2674         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2675         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2676         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2677         <kernel-features.h>.
2678         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2679         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2680         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2681         <kernel-features.h>.
2682         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2683         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2684         * sysdeps/unix/sysv/linux/openat.c: Do not include
2685         <kernel-features.h>.
2686         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2687         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2688         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2689         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2690         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2691         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2692         <kernel-features.h>.
2693         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2694         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2695         result of INLINE_SYSCALL directly, not via int variable.
2696         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2697         <kernel-features.h>.
2698         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2699         (renameat) [__NR_renameat]: Make code unconditional.
2700         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2701         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2702         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2703         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2704         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2705         (__ASSUME_ATFCTS): Do not undefine and redefine.
2706         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2707         <kernel-features.h>.
2708         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2709         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2710         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2711         <kernel-features.h>.
2712         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2713         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2714         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2715         (__ASSUME_ATFCTS): Do not undefine and redefine.
2716         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2717         <kernel-features.h>.
2718         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2719         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2720         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2721         <kernel-features.h>.
2722         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2723         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2724
2725 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2726
2727         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2728
2729 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2730
2731         [BZ #17069]
2732         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2733         constructed tree before returning error.
2734         * posix/bug-regexp36.c: Expand test case.
2735
2736 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2737
2738         [BZ #6803]
2739         * math/libm-test.inc (scalbln_test_date):
2740         Add errno expectations.
2741         * math/w_scalblnf.c: New File.
2742         Add wrapper which checks for setting errno to ERANGE.
2743         Add weak_alias for corresponding scalbln function.
2744         * math/w_scalbln.c: Likewise.
2745         * math/w_scalblnl.c: Likewise.
2746         * math/Makefile (libm-calls): Add w_scalbln.
2747         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2748         Remove weak_alias for corresponding scalbln function.
2749         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2750         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2751         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2752         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2753         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2754         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2755         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2756         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2757         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2758         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2759         Remove long_double_symbol for scalblnl function in libm, libc.
2760         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2761         Add wrapper which checks for setting errno to ERANGE.
2762         Add long_double_symbol for scalblnl function in libm, libc.
2763         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2764         Remove long_double_symbol for scalblnl in libm.
2765         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2766         Add wrapper which checks for setting errno to ERANGE.
2767         Add long_double_symbol for scalblnl function in libm.
2768         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2769         Do not use wrapper because of own implementation.
2770
2771 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2772
2773         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2774         3 bytes for __pad1 for x32.
2775         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2776
2777 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2778             H.J. Lu  <hongjiu.lu@intel.com>
2779
2780         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2781         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2782         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2783         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2784         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2785
2786 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2787
2788         [BZ #17069]
2789         * posix/regcomp.c (parse_expression): Deallocate partially
2790         constructed tree before returning error.
2791         * posix/Makefile.c (tests): Add bug-regex36.
2792         (generated): Add bug-regex36.mtrace.
2793         (tests-special): Add $(objpfx)bug-regex36-mem.out
2794         (bug-regex36-ENV): New variable.
2795         ($(objpfx)bug-regex36-mem.out): New rule.
2796         * posix/bug-regex36.c: New file.
2797
2798 2014-06-19  Will Newton  <will.newton@linaro.org>
2799
2800         * malloc/malloc.c (systrim): If extra is zero then return
2801         early.
2802
2803 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2804
2805         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2806
2807 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2808
2809         * sysdeps/aarch64/strchr.S: New file.
2810
2811 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2812
2813         [BZ #17022]
2814         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2815         from arguments -2 or below.
2816         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2817         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2818
2819 2014-06-18  Andreas Schwab  <schwab@suse.de>
2820
2821         [BZ #17062]
2822         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2823         of a bracket expr not to run off the end of the string.
2824         * posix/Makefile (tests): Add tst-fnmatch3.
2825         * posix/tst-fnmatch3.c: New file.
2826
2827 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2828
2829         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2830         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2831         [$(cross-compiling) = no]: Likewise.
2832         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2833         [$(cross-compiling) = no]: Likewise.
2834
2835 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2836
2837         [BZ #17031]
2838         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2839         double, adjusted for any remainder from the high double.
2840         * math/libm-test.inc (nearbyint): Add tests.
2841         (rint): Likewise.
2842
2843 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2844
2845         * nptl/sysdeps/powerpc/Makefile: Moved ...
2846         * sysdeps/powerpc/nptl/Makefile: ... here.
2847         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2848         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2849         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2850         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2851         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2852         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2853         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2854         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2855         * nptl/sysdeps/powerpc/tls.h: Moved ...
2856         * sysdeps/powerpc/nptl/tls.h: ... here.
2857
2858 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2859
2860         [BZ #16681]
2861         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2862         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2863         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2864         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2865         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2866         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2867         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2868         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2869         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2870
2871 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2872
2873         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2874
2875 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2876
2877         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2878         defined operator.
2879
2880         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2881         $TIMEOUTFACTOR.
2882
2883 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2884
2885         [BZ #17058]
2886         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2887         non-executed part of the test.
2888
2889 2014-06-16  Andreas Schwab  <schwab@suse.de>
2890
2891         * string/bits/string2.h (strdup, strndup): Update feature guard.
2892
2893 2014-06-14  David S. Miller  <davem@davemloft.net>
2894
2895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2896
2897 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2898
2899         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2900         that was previously under [RESET_PID].
2901         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2902
2903         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2904         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2905         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2906         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2907         (__libc_vfork): New strong alias.
2908         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2909
2910 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2911
2912         * sysdeps/generic/elide.h: New file.
2913
2914 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2915
2916         * Makefile (installed-headers): Adjust path of pthread.h header.
2917
2918 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2919
2920         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2921         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2922         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2923         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2924
2925         * nptl/sysdeps/s390/Makefile: Moved ...
2926         * sysdeps/s390/nptl/Makefile: ... here.
2927         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2928         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2929         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2930         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2931         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2932         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2933         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2934         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2935         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2936         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2937         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2938         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2939         * nptl/sysdeps/s390/tls.h: Moved ...
2940         * sysdeps/s390/nptl/tls.h: ... here.
2941
2942         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2943         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2944
2945 2014-06-13  David S. Miller  <davem@davemloft.net>
2946
2947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2950         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2954         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2955         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2956         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2957         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2958         Remove RESET_PID cpp guards.
2959         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2960         Remove RESET_PID cpp guards.
2961         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2962
2963 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2964
2965         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2966         __sp to uintptr_t.
2967
2968 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2969
2970         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2972         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2974         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2975         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2976         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2977         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2978         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2980         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2981         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2982         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2983         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2984         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2985         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2986         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2987         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2988         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2989         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2990
2991         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2992         (pthread_rwlock_rdlock): Add elision.
2993         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2994         (pthread_rwlock_wrlock): Add elision.
2995         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2996         (pthread_rwlock_trywrlock): Add elision.
2997         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2998         (pthread_rwlock_tryrdlock): Add elision.
2999         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3000         (pthread_rwlock_tryrdlock): Add elision unlock.
3001         * nptl/sysdeps/pthread/pthread.h:
3002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3003         (PTHREAD_RWLOCK_INITIALIZER,
3004         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3005         Handle new elision field.
3006         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3007         * sysdeps/arm/nptl/bits/pthreadtypes.h
3008         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3009         * sysdeps/sh/nptl/bits/pthreadtypes.h
3010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3011         * sysdeps/tile/nptl/bits/pthreadtypes.h
3012         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3013         * sysdeps/a/nptl/bits/pthreadtypes.h
3014         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3015         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3016         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3017         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3018         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3019         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3020         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3021         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3022         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3023         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3024         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3025         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3026         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3027         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3028         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3029         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3030         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3031         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3032         (elision_init): Set try_xbegin to zero when no RTM.
3033         * sysdeps/x86/nptl/bits/pthreadtypes.h
3034         (pthread_rwlock_t): Change __pad1 to __rwelision.
3035         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3036
3037 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3038
3039         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3040         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3041         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3042         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3043
3044 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3045
3046         [BZ #16996]
3047         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3048         that the cached result has been set before returning it.
3049
3050 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3051
3052         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3053         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3054         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3055         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3056         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3057         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3058
3059         * nptl/sysdeps/sparc/Makefile: Moved ...
3060         * sysdeps/sparc/nptl/Makefile: ... here.
3061         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3062         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3063         * nptl/sysdeps/sparc/tls.h: Moved ...
3064         * sysdeps/sparc/nptl/tls.h: ... here.
3065         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3066         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3067         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3068         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3069         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3070         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3071         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3072         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3073         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3074         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3075         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3076         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3077         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3078         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3079         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3080         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3081         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3082         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3083         Update #include.
3084         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3085         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3086         Update #include.
3087         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3088         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3089         Update #include.
3090         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3091         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3092         Update #include.
3093
3094         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3095
3096         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3097         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3098
3099         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3100         (struct list_links): Type removed.
3101         (struct thread_node, struct timer_node): Replace struct list_links
3102         with struct list_head.
3103         (list_unlink_ip): Likewise.
3104         * sysdeps/pthread/timer_routines.c
3105         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3106         (list_append, list_insbefore): Likewise.
3107         (list_init): Function removed.
3108         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3109         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3110         * sysdeps/pthread/Makefile: ... here, new file.
3111
3112         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3113         * sysdeps/nptl/Implies: ... here.
3114         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3115         * nptl/sysdeps/pthread/list.h: Moved ...
3116         * include/list.h: ... here.
3117         * nptl/sysdeps/pthread/createthread.c: Moved ...
3118         * nptl/createthread.c: ... here.
3119         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3120         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3121         * nptl/pt-longjmp.c: ... here.
3122         * nptl/sysdeps/pthread/Makefile: Moved ...
3123         * sysdeps/nptl/Makefile: ... here.
3124         * nptl/sysdeps/pthread/Subdirs: Moved ...
3125         * sysdeps/nptl/Subdirs: ... here.
3126         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3127         * sysdeps/nptl/aio_misc.h: ... here.
3128         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3129         * sysdeps/nptl/bits/libc-lock.h: ... here.
3130         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3131         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3132         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3133         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3134         * nptl/sysdeps/pthread/configure: Moved ...
3135         * sysdeps/nptl/configure: ... here.
3136         * nptl/sysdeps/pthread/configure.ac: Moved ...
3137         * sysdeps/nptl/configure.ac: ... here.
3138         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3139         * sysdeps/nptl/gai_misc.h: ... here.
3140         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3141         * sysdeps/nptl/librt-cancellation.c: ... here.
3142         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3143         * sysdeps/nptl/malloc-machine.h: ... here.
3144         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3145         * sysdeps/nptl/pthread-functions.h: ... here.
3146         * nptl/sysdeps/pthread/pthread.h: Moved ...
3147         * sysdeps/nptl/pthread.h: ... here.
3148         * nptl/sysdeps/pthread/setxid.h: Moved ...
3149         * sysdeps/nptl/setxid.h: ... here.
3150         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3151         * sysdeps/nptl/sigfillset.c: ... here.
3152         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3153         * sysdeps/nptl/tcb-offsets.h: ... here.
3154         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3155         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3156         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3157         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3158         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3159         * sysdeps/pthread/allocalim.h: ... here.
3160         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3161         * sysdeps/pthread/bits/sigthread.h: ... here.
3162         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3163         * sysdeps/pthread/flockfile.c: ... here.
3164         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3165         * sysdeps/pthread/ftrylockfile.c: ... here.
3166         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3167         * sysdeps/pthread/funlockfile.c: ... here.
3168         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3169         * sysdeps/pthread/posix-timer.h: ... here.
3170         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3171         * sysdeps/pthread/timer_create.c: ... here.
3172         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3173         * sysdeps/pthread/timer_delete.c: ... here.
3174         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3175         * sysdeps/pthread/timer_getoverr.c: ... here.
3176         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3177         * sysdeps/pthread/timer_gettime.c: ... here.
3178         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3179         * sysdeps/pthread/timer_routines.c: ... here.
3180         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3181         * sysdeps/pthread/timer_settime.c: ... here.
3182         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3183         * sysdeps/pthread/tst-timer.c: ... here.
3184         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3185         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3186
3187         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3188         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3189
3190         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3191         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3192         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3193         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3194         Update #include target.
3195         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3196         * sysdeps/i386/i686/nptl/Makefile: ... here.
3197         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3198         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3199         Update #include target.
3200         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3201         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3202         * nptl/sysdeps/i386/Makefile: Moved ...
3203         * sysdeps/i386/nptl/Makefile: ... here.
3204         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3205         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3206         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3207         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3208         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3209         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3210         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3211         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3212         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3213         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3214         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3215         * nptl/sysdeps/i386/tls.h: Moved ...
3216         * sysdeps/i386/nptl/tls.h: ... here.
3217
3218         * sysdeps/sh/Makefile [$(subdir) = csu]
3219         (gen-as-const-headers): Add tcb-offsets.sym.
3220         * nptl/sysdeps/sh/Makefile: File removed.
3221         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3222         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3223         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3224         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3225         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3226         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3227         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3228         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3229         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3230         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3231         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3232         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3233         * nptl/sysdeps/sh/tls.h: Moved ...
3234         * sysdeps/sh/nptl/tls.h: ... here.
3235         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3236         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3237         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3238         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3239         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3240         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3241         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3242         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3243         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3244         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3245         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3246         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3247         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3248         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3249         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3250         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3251         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3252         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3253         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3254         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3255         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3256         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3257         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3258         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3259         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3260         Moved ...
3261         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3262         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3263         Moved ...
3264         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3265         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3266         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3267         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3268         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3269         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3270         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3271         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3272         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3273         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3274         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3275         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3276         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3277         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3278         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3279         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3280         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3281         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3282         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3283
3284 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3285
3286         * posix/spawn_faction_addopen.c: Include string.h.
3287
3288 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3289
3290         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3291         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3292         * nptl/sysdeps/x86_64/Makefile: Moved ...
3293         * sysdeps/x86_64/nptl/Makefile: ... here.
3294         * nptl/sysdeps/x86_64/configure: Moved ...
3295         * sysdeps/x86_64/nptl/configure: ... here.
3296         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3297         * sysdeps/x86_64/nptl/configure.ac: ... here.
3298         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3299         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3300         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3301         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3302         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3303         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3304         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3305         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3306         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3307         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3308         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3309         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3310         * nptl/sysdeps/x86_64/tls.h: Moved ...
3311         * sysdeps/x86_64/nptl/tls.h: ... here.
3312         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3313         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3314         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3315         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3316
3317         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3318
3319 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3320
3321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3322
3323 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3324
3325         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3326         type.
3327         [POSIX] (off_t): Likewise.
3328         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3329         [POSIX] (S_ISBLK): Require macro.
3330         [POSIX] (S_ISCHR): Likewise.
3331         [POSIX] (S_ISDIR): Likewise.
3332         [POSIX] (S_ISFIFO): Likewise.
3333         [POSIX] (S_ISREG): Likewise.
3334         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3335         optional-macro.
3336         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3337         type.
3338         [POSIX] (time_t): Likewise.
3339         [POSIX] (timer_t): Likewise.
3340
3341 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3342
3343         [BZ #17048]
3344         * posix/spawn_int.h (struct __spawn_action): Make the path string
3345         non-const to support deallocation.
3346         * posix/spawn_faction_addopen.c
3347         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3348         * posix/spawn_faction_destroy.c
3349         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3350         path in all spawn_do_open actions.
3351         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3352         posix_spawn_file_actions_addopen.
3353
3354 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3355
3356         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3357         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3358         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3359         conditional code always true.
3360         (__libc_vfork): New alias.
3361
3362 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3363
3364         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3365         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3366
3367         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3368
3369         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3370         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3371
3372         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3373         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3374
3375         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3376         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3377
3378 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3379
3380         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3381         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3382         multiarch strcmp for PPC64.
3383         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3384         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3386         multiarch optimizations.
3387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3388         (__libc_ifunc_impl_list): Likewise.
3389
3390 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3391
3392         * benchtests/scripts/validate_benchout.py: New script.
3393         * benchtests/Makefile (bench-func): Call it.
3394         * benchtests/scripts/benchout.schema.json: New file.
3395
3396 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3397
3398         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3399         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3400         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3401         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3402         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3403         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3404         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3405         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3406         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3407         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3408         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3409         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3410         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3411         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3412         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3413         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3415         Moved ...
3416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3417         ... here.
3418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3419         Moved ...
3420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3422         Moved ...
3423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3424         ... here.
3425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3426         Moved ...
3427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3428         ... here.
3429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3430         Moved ...
3431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3433         Moved ...
3434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3435         ... here.
3436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3437         Moved ...
3438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3439         ... here.
3440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3441         Moved ...
3442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3444         Moved ...
3445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3446         ... here.
3447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3448         Moved ...
3449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3450         ... here.
3451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3452         Moved ...
3453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3454         ... here.
3455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3456         Moved ...
3457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3459         Moved ...
3460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3461         ... here.
3462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3463         Moved ...
3464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3465         ... here.
3466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3467         Moved ...
3468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3469         ... here.
3470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3471         Moved ...
3472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3474         Moved ...
3475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3476         ... here.
3477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3478         Moved ...
3479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3480         ... here.
3481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3482         Moved ...
3483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3485         Moved ...
3486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3487         ... here.
3488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3489         Moved ...
3490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3492         Moved ...
3493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3495         Moved ...
3496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3497         ... here.
3498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3499         Moved ...
3500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3501         ... here.
3502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3503         Moved ...
3504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3505         ... here.
3506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3507         Moved ...
3508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3510         Moved ...
3511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3512         ... here.
3513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3514         Moved ...
3515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3516         ... here.
3517         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3518         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3519         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3520         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3521         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3522         Moved ...
3523         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3524         ... here.
3525         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3526         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3527         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3528         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3529         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3530         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3531         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3532         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3533         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3534         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3535         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3536         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3537         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3538         Moved ...
3539         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3540         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3541         Moved ...
3542         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3543         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3544         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3545         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3546         Moved ...
3547         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3548         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3549         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3550         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3551         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3552         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3553         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3554
3555 2014-06-10  Wilco  <wdijkstr@arm.com>
3556
3557         * math/test-fenv-return.c: New file.
3558         * math/Makefile: Add new test test-fenv-return.
3559
3560 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3561
3562         [BZ #17042]
3563         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3564         when x - 1 is zero.
3565         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3566         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3567         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3568         0.0L for an argument of 1.0L.
3569         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3570         Likewise.
3571         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3572         value when x - 1 is zero.
3573         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3574         * sysdeps/i386/fpu/libm-test-ulps: Update.
3575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3576
3577 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3578
3579         [BZ #15119]
3580         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3581
3582 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3583
3584         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3585         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3586
3587 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3588
3589         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3590         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3591
3592         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3593         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3594
3595         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3596         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3597
3598         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3599         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3600
3601         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3602         if not already defined.
3603         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3604         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3605         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3606         (TLS_INIT_TP): Use it.
3607         (TLS_DEFINE_INIT_TP): New macro.
3608         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3609
3610 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3611
3612         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3613         constant.
3614         [POSIX] (IXANY): Likewise.
3615         [POSIX] (OLCUC): Likewise.
3616         [POSIX || POSIX2008] (CBAUD): Do not allow.
3617         [POSIX || POSIX2008] (DEFECHO): Likewise.
3618         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3619         [POSIX || POSIX2008] (ECHOKE): Likewise.
3620         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3621         [POSIX || POSIX2008] (EXTA): Likewise.
3622         [POSIX || POSIX2008] (EXTB): Likewise.
3623         [POSIX || POSIX2008] (FLUSHO): Likewise.
3624         [POSIX || POSIX2008] (LOBLK): Likewise.
3625         [POSIX || POSIX2008] (PENDIN): Likewise.
3626         [POSIX || POSIX2008] (SWTCH): Likewise.
3627         [POSIX || POSIX2008] (VDISCARD): Likewise.
3628         [POSIX || POSIX2008] (VDSUSP): Likewise.
3629         [POSIX || POSIX2008] (VLNEXT): Likewise.
3630         [POSIX || POSIX2008] (VREPRINT): Likewise.
3631         [POSIX || POSIX2008] (VSTATUS): Likewise.
3632         [POSIX || POSIX2008] (VWERASE): Likewise.
3633         (B*): Change to B[0123456789]*.
3634         * conform/data/time.h-data [POSIX || UNIX98]
3635         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3636         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3637         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3638         [POSIX] (tm_*): Do not allow.
3639
3640 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3641
3642         * Makefile (install): Don't set LANGUAGE.
3643         * Makefile.in (install): Likewise.
3644         * assert/Makefile (test-assert-ENV): Remove variable.
3645         (test-assert-perr-ENV): Likewise.
3646         * elf/Makefile (neededtest4-ENV): Likewise.
3647         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3648         [$(cross-compiling) = no]: Don't set LANGUAGE.
3649         * io/ftwtest-sh (LANG): Remove variable.
3650         * libio/Makefile (tst-widetext-ENV): Likewise.
3651         * manual/install.texi (Running make install): Don't refer to
3652         environment settings for make install.
3653         * INSTALL: Regenerated.
3654         * nptl/tst-tls6.sh: Don't set LANG.
3655         * posix/globtest.sh (LANG): Remove variable.
3656         * string/Makefile (tester-ENV): Likewise.
3657         (inl-tester-ENV): Likewise.
3658         (noinl-tester-ENV): Likewise.
3659         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3660         [$(cross-compiling) = no]: Don't set LANGUAGE.
3661         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3662         without explicit environment settings.
3663
3664 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3665
3666         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3667         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3668         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3669         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3670
3671 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3672
3673         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3674         other files in the crypt directory.
3675         * crypt/crypt.c: Remove duplicate includes.
3676         * crypt/crypt-entry.c: Likewise.
3677         * crypt/crypt_util.c: Likewise.
3678
3679 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3680
3681         * Makeconfig (run-program-env): New variable.
3682         (run-program-prefix-before-env): Likewise.
3683         (run-program-prefix-after-env): Likewise.
3684         (run-program-prefix): Define in terms of new variables.
3685         (built-program-cmd-before-env): New variable.
3686         (built-program-cmd-after-env): Likewise.
3687         (built-program-cmd): Define in terms of new variables.
3688         (test-program-prefix-before-env): New variable.
3689         (test-program-prefix-after-env): Likewise.
3690         (test-program-prefix): Define in terms of new variables.
3691         (test-program-cmd-before-env): New variable.
3692         (test-program-cmd-after-env): Likewise.
3693         (test-program-cmd): Define in terms of new variables.
3694         * Rules (make-test-out): Use $(run-program-env).
3695         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3696         (help): Do not mention environment variables.  Mention
3697         --timeoutfactor option.
3698         (timeoutfactor): New variable.
3699         (blacklist_exports): Remove function.
3700         (exports): Remove variable.
3701         (command): Do not include ${exports}.
3702         * manual/install.texi (Configuring and compiling): Do not mention
3703         test wrappers preserving environment variables.  Mention that last
3704         assignment to a variable must take precedence.
3705         * INSTALL: Regenerated.
3706         * benchtests/Makefile (run-bench): Use $(run-program-env).
3707         * catgets/Makefile ($(objpfx)test1.cat): Use
3708         $(built-program-cmd-before-env), $(run-program-env) and
3709         $(built-program-cmd-after-env).
3710         ($(objpfx)test2.cat): Do not specify environment variables
3711         explicitly.
3712         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3713         $(run-program-env) and $(built-program-cmd-after-env).
3714         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3715         $(run-program-env) and $(test-program-cmd-after-env).
3716         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3717         explicitly.
3718         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3719         run_program_env and test_program_cmd_after_env arguments.
3720         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3721         * elf/tst-pathopt.sh: Use run_program_env argument.
3722         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3723         $(test-wrapper-env) and $(run-program-env).
3724         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3725         run_program_env arguments.
3726         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3727         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3728         $(test-program-prefix-before-env), $(run-program-env) and
3729         $(test-program-prefix-after-env).
3730         ($(objpfx)tst-gettext2.out): Likewise.
3731         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3732         run_program_env and test_program_prefix_after_env arguments.
3733         * intl/tst-gettext2.sh: Likewise.
3734         * intl/tst-gettext4.sh: Do not set environment variables
3735         explicitly.
3736         * intl/tst-gettext6.sh: Likewise.
3737         * intl/tst-translit.sh: Likewise.
3738         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3739         $(test-program-prefix-before-env), $(run-program-env) and
3740         $(test-program-prefix-after-env).
3741         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3742         run_program_env and test_program_prefix_after_env arguments.
3743         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3744         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3745         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3746         explicitly with each use of ${test_wrapper_env}.
3747         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3748         $(test-program-prefix-before-env), $(run-program-env) and
3749         $(test-program-prefix-after-env).
3750         * posix/tst-getconf.sh: Do not set environment variables
3751         explicitly.
3752         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3753         run_program_env and test_program_prefix_after_env arguments.
3754         * stdio-common/tst-printf.sh: Do not set environment variables
3755         explicitly.
3756         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3757         $(test-program-prefix-before-env), $(run-program-env) and
3758         $(test-program-prefix-after-env).
3759         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3760         run_program_env and test_program_prefix_after_env arguments.
3761         Split $test calls into $test_pre and $test.
3762         * timezone/Makefile (build-testdata): Use
3763         $(built-program-cmd-before-env), $(run-program-env) and
3764         $(built-program-cmd-after-env).
3765
3766 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3767
3768         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3769         strlen for non SHARED builds.
3770
3771 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3772
3773         * nptl/allocatestack.c (check_list): Inlined function...
3774         (__reclaim_stacks): ... here.
3775
3776 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3777
3778         [BZ #15698]
3779         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3780         memory overrun.
3781
3782 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3783
3784         * Rules (make-test-out): Include
3785         LOCPATH=$(common-objpfx)localedata in default environment.
3786         * debug/Makefile (tst-chk1-ENV): Remove variable.
3787         (tst-chk2-ENV): Likewise.
3788         (tst-chk3-ENV): Likewise.
3789         (tst-chk4-ENV): Likewise.
3790         (tst-chk5-ENV): Likewise.
3791         (tst-chk6-ENV): Likewise.
3792         (tst-lfschk1-ENV): Likewise.
3793         (tst-lfschk2-ENV): Likewise.
3794         (tst-lfschk3-ENV): Likewise.
3795         (tst-lfschk4-ENV): Likewise.
3796         (tst-lfschk5-ENV): Likewise.
3797         (tst-lfschk6-ENV): Likewise.
3798         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3799         (tst-iconv7-ENV): Likewise.
3800         * intl/Makefile (LOCPATH-ENV): Likewise.
3801         (tst-codeset-ENV): Likewise.
3802         (tst-gettext3-ENV): Likewise.
3803         (tst-gettext5-ENV): Likewise.
3804         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3805         (tst-fopenloc-ENV): Likewise.
3806         (tst-fgetws-ENV): Remove variable.
3807         (tst-ungetwc1-ENV): Likewise.
3808         (tst-ungetwc2-ENV): Likewise.
3809         (bug-ungetwc2-ENV): Likewise.
3810         (tst-swscanf-ENV): Likewise.
3811         (bug-ftell-ENV): Likewise.
3812         (tst-fgetwc-ENV): Likewise.
3813         (tst-fseek-ENV): Likewise.
3814         (tst-ftell-partial-wide-ENV): Likewise.
3815         (tst-ftell-active-handler-ENV): Likewise.
3816         (tst-ftell-append-ENV): Likewise.
3817         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3818         (tst-regexloc-ENV): Likewise.
3819         (bug-regex1-ENV): Likewise.
3820         (tst-regex-ENV): Likewise.
3821         (tst-regex2-ENV): Likewise.
3822         (bug-regex5-ENV): Likewise.
3823         (bug-regex6-ENV): Likewise.
3824         (bug-regex17-ENV): Likewise.
3825         (bug-regex18-ENV): Likewise.
3826         (bug-regex19-ENV): Likewise.
3827         (bug-regex20-ENV): Likewise.
3828         (bug-regex22-ENV): Likewise.
3829         (bug-regex23-ENV): Likewise.
3830         (bug-regex25-ENV): Likewise.
3831         (bug-regex26-ENV): Likewise.
3832         (bug-regex30-ENV): Likewise.
3833         (bug-regex32-ENV): Likewise.
3834         (bug-regex33-ENV): Likewise.
3835         (bug-regex34-ENV): Likewise.
3836         (bug-regex35-ENV): Likewise.
3837         (tst-rxspencer-ENV): Likewise.
3838         (tst-rxspencer-no-utf8-ENV): Likewise.
3839         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3840         (tst-sscanf-ENV): Likewise.
3841         (tst-swprintf-ENV): Likewise.
3842         (tst-swscanf-ENV): Likewise.
3843         (test-vfprintf-ENV): Likewise.
3844         (scanf13-ENV): Likewise.
3845         (bug14-ENV): Likewise.
3846         (tst-grouping-ENV): Likewise.
3847         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3848         (tst-strtod3-ENV): Likewise.
3849         (tst-strtod4-ENV): Likewise.
3850         (tst-strtod5-ENV): Likewise.
3851         (testmb2-ENV): Likewise./
3852         * string/Makefile (tst-strxfrm-ENV): Likewise.
3853         (tst-strxfrm2-ENV): Likewise.
3854         (bug-strcoll1-ENV): Likewise.
3855         (test-strcasecmp-ENV): Likewise.
3856         (test-strncasecmp-ENV): Likewise.
3857         * time/Makefile (tst-strptime-ENV): Likewise.
3858         (tst-ftime_l-ENV): Likewise.
3859         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3860         (tst-mbrtowc-ENV): Likewise.
3861         (tst-wcrtomb-ENV): Likewise.
3862         (tst-mbrtowc2-ENV): Likewise.
3863         (tst-c16c32-1-ENV): Likewise.
3864         (tst-mbsnrtowcs-ENV): Likewise.
3865
3866 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3867
3868         * manual/resource.texi (How to get information about the memory
3869         subsystem?): Fix typo.
3870         Reported by Peon de la Parra Ivan <peon@keba.com>
3871
3872 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3873
3874         [BZ #16882]
3875         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3876         (pthread_spin_lock): Branch out of spin loop to proper location.
3877         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3878         (pthread_spin_lock): Likewise.
3879
3880         * nptl/tst-spin4.c: New test.
3881         * nptl/Makefile (tests): Add tst-spin4.
3882
3883 2014-06-03  Andreas Schwab  <schwab@suse.de>
3884
3885         [BZ #15946]
3886         * resolv/res_send.c (send_dg): Reload file descriptor after
3887         calling reopen.
3888
3889 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3890
3891         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3892
3893 2014-06-03  Richard Henderson  <rth@redhat.com>
3894
3895         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3896         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3897         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3898         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3899         in the SAVE_PID block.
3900         (__libc_vfork): New alias.
3901         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3902
3903         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3904         child in registers, not on the stack.  Remove RESET_PID conditionals.
3905         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3906
3907 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3908
3909         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3910
3911 2014-06-03  Wilco  <wdijkstr@arm.com>
3912
3913         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3914         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3915         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3916         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3917         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3918         Likewise.
3919
3920 2014-06-03  Wilco  <wdijkstr@arm.com>
3921
3922         * sysdeps/aarch64/fpu/math_private.h
3923         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3924         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3925         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3926         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3927         Fix declarations.
3928
3929 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3930
3931         * crypt/crypt-private.h: Include ufc-crypt.h.
3932         (__b64_from_24bit): Declare extern.
3933         * crypt/crypt_util.c(__b64_from_24bit): New function.
3934         (b64t): New static const variable.
3935         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3936         (b64t): Remove variable.
3937         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3938         * crypt/sha256-crypt.c: Include crypt-private.h.
3939         (b64t): Remove variable.
3940         (__sha256_crypt_r): Remove b64_from_24bit and replace
3941         with __b64_from_24bit.
3942         * crypt/sha512-crypt.c: Likewise.
3943
3944 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3945
3946         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3947         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3948         Label the code __libc_vfork rather than __vfork.
3949         [!NOT_IN_libc] (vfork): Define as weak alias.
3950         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3951         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3952         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3953
3954 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3955
3956         * malloc/malloc.c (malloc_info): Fix format specifier for
3957         n_mmaps.
3958
3959 2014-06-02  Wilco  <wdijkstr@arm.com>
3960
3961         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3962         FPCR write.
3963
3964 2014-06-02  Wilco  <wdijkstr@arm.com>
3965
3966         [BZ #17009]
3967         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3968         Rewrite to reduce FPCR/FPSR accesses.
3969
3970 2014-06-01  David S. Miller  <davem@davemloft.net>
3971
3972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3973
3974 2014-05-31  David S. Miller  <davem@davemloft.net>
3975
3976         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3977         to occur in round to nearest mode when |x| >= 2.0
3978
3979 2014-05-30  Richard Henderson  <rth@twiddle.net>
3980
3981         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3982         (PSEUDO_RET_NOERRNO): Remove.
3983         (ret): Don't redefine.
3984         (ret_NOERRNO): Define in terms of ret.
3985         (ret_ERRVAL): Likewise.
3986
3987         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3988         use of PSEUDO_RET; perform the error check directly.
3989
3990 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3991
3992         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3993         with __int128_t.
3994
3995 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3996
3997         * malloc/malloc (malloc_info): Fix formatting.
3998
3999 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4000             Roland McGrath  <roland@hack.frob.com>
4001
4002         * malloc/malloc (malloc_info): Also print mmapped statistics.
4003
4004 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4005
4006         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4007         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4008
4009 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4010
4011         * malloc/malloc.c (malloc_info): Inline mi_arena.
4012
4013 2014-05-29  Richard Henderson  <rth@twiddle.net>
4014
4015         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4016         Remove comma before expanding ASM_ARGS_##nr.
4017         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4018         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4019         of ASM_ARGS_##nr.
4020         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4021         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4022         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4023         (ASM_ARGS_1): Add leading comma.
4024
4025         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4026         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4027         to __errno_location.
4028         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4029         Remove the expected plt for __errno_location.
4030
4031         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4032         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4033         call to __read_tp.
4034
4035         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4036         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4037         it and break it down.
4038         (DOCARGS_0, DOCARGS_1): Do nothing.
4039         (DOCARGS_2): Update to store into the new stack frame.
4040         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4041         (UNDOCARGS_1): Update to restore from the new stack frame.
4042         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4043         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4044
4045         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4046         (SINGLE_THREAD_P): New parameter for result regno.
4047         (PSEUDO): Update to match; use cbz instead of beq.
4048
4049         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4050         Use ENTRY to define the _nocancel entry point.  Share the syscall
4051         and syscall error check paths with the cancel path.
4052         (PSEUDO_END): New.
4053
4054         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4055         whitespace; tabs before and after asm mnemonics.
4056
4057 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4058
4059         [BZ #15132]
4060         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4061         Call fstat64 or stat64 internally, depending on arguments passed.
4062         Replace stat buffer argument with file descriptor argument.
4063         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4064         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4065         Pass fd to __internal_statvfs instead of calling fstat64.
4066         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4067         Pass fd to __internal_statvfs64 instead of calling fstat64.
4068         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4069         Pass -1 to __internal_statvfs instead of calling stat64.
4070         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4071         Pass -1 to __internal_statvfs64 instead of calling stat64.
4072
4073 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4074
4075         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4076         that was previously under [RESET_PID].
4077         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4078
4079         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4080         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4081
4082 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4083
4084         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4085
4086         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4087         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4088
4089 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4090
4091         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4092
4093 2014-05-27  Andreas Schwab  <schwab@suse.de>
4094
4095         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4096         TLS_INIT_TP macro.
4097         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4098         * elf/rtld.c (init_tls, dl_main): Likewise.
4099         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4100         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4101         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4102         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4103         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4104         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4105         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4106         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4107         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4108         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4109         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4110         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4111         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4112         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4113         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4114         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4115         * sysdeps/generic/tls.h: Update description.
4116
4117 2014-05-27  Will Newton  <will.newton@linaro.org>
4118
4119         [BZ #16990]
4120         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4121         and restore r2 rather than just restoring.
4122
4123 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4124
4125         [BZ #16724]
4126         * libio/tst-ftell-append.c: New test case.
4127         * libio/Makefile (tests): Add test case.
4128         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4129         append mode.
4130         * libio/wfileops.c (do_ftell_wide): Likewise.
4131
4132 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4133
4134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4135
4136         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4137         ...
4138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4140         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4141         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4142         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4143         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4144         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4145         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4147         Moved ...
4148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4150         Moved ...
4151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4152         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4153         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4154         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4155         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4156         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4157         ...
4158         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4159         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4160         Moved ...
4161         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4162         here.
4163         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4164         ...
4165         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4166         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4167         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4168
4169         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4170         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4171         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4172         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4173
4174         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4175         merge into ...
4176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4178         ...
4179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4180         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4181         ...
4182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4184         Moved ...
4185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4186         here.
4187         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4188         Moved ...
4189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4190         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4191         Moved ...
4192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4193
4194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4195         conditional [RESET_PID].
4196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4198         removed.
4199         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4200         removed.
4201
4202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4203         <tcb-offsets.h>.
4204         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4205         (__libc_vfork): New strong alias.
4206         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4207         removed.
4208         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4209         Removed.
4210
4211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4212         <tcb-offsets.h>.
4213         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4214         (__libc_vfork): New strong alias.
4215         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4216         removed.
4217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4218         removed.
4219
4220 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4221
4222         * malloc/malloc.c (mi_arena): New function.
4223         (malloc_info): Remove nested function mi_arena. Call non-nosted
4224         function mi_arena.
4225
4226 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4227
4228         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4229         by insrwi.
4230         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4231         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4232         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4233         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4234         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4235         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4236         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4237
4238 2014-05-26  Andreas Schwab  <schwab@suse.de>
4239
4240         [BZ #16984]
4241         * locale/programs/repertoire.c (repertoire_read): Add slash
4242         between I18NPATH element and file name.
4243         * locale/programs/locfile.c (locfile_read): Likewise.
4244
4245 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4246
4247         * nptl/pthread_mutexattr_settype.c
4248         (__pthread_mutexattr_settype):
4249         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4250
4251 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4252
4253         * nptl/tst-mutex5 (do_test):
4254         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4255
4256 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4257
4258         * benchtests/README: Document 'init' directive.
4259         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4260         BENCH_INIT.
4261         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4262         (parse_file): Recognize 'init' directive.
4263
4264 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4265
4266         [BZ #16796]
4267         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4268         alignment of struct pthread.
4269
4270 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4271
4272         [BZ #16878]
4273         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4274         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4275         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4276         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4277
4278 2014-05-25  Richard Henderson  <rth@twiddle.net>
4279
4280         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4281         (SINGLE_THREAD_P_PIC): Remove.
4282         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4283         (SINGLE_THREAD_P_PIC): Remove.
4284
4285         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4286         branch to syscall error ...
4287         (PSEUDO): ... here.
4288         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4289         from __local_syscall_error to .Lsyscall_error.
4290         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4291         (SYSCALL_ERROR): Update label name.
4292
4293         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4294         Do not use DOARGS/UNDOARGS.
4295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4296         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4297         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4298         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4299         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4300
4301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4302         block comment.
4303
4304         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4305         define if !NOT_IN_libc.
4306         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4307         define with non-default symbol versions.
4308
4309 2014-05-23  Richard Henderson  <rth@twiddle.net>
4310
4311         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4312         (vfork, __vfork): Define via compat_symbol.
4313
4314         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4315         [!HAVE_IFUNC] (vfork_compat): Remove.
4316         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4317
4318 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4319
4320         [BZ #16978]
4321         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4322         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4323         variable.
4324
4325 2014-05-23  Richard Henderson  <rth@twiddle.net>
4326
4327         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4328         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4329         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4330         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4331
4332         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4333         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4334         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4335         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4336         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4337         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4338         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4339         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4340         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4341         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4342         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4343         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4344         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4345         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4346         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4347         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4348         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4349         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4350         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4351         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4352         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4353         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4354         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4355         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4356         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4357         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4358         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4359         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4360         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4361         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4362         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4363         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4364         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4365         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4366         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4367         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4368         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4369         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4370         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4371         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4372         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4373         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4374         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4375         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4376         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4377         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4378         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4379         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4380         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4381         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4382         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4383         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4384         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4385         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4386         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4387         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4388
4389         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4390         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4391         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4392         before exiting on error.
4393         (__libc_vfork): New strong alias.
4394         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4395         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4396
4397         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4398         that was previously under [RESET_PID].
4399         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4400
4401         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4402
4403 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4404
4405         [BZ #16977]
4406         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4407         value when x - 1 is zero.
4408         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4409         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4410         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4411         0.0L for an argument of 1.0L.
4412         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4413         Likewise.
4414         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4415         value when x - 1 is zero.
4416         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4417         * sysdeps/i386/fpu/libm-test-ulps: Update.
4418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4419
4420 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4421
4422         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4423         alphasort and versionsort.
4424
4425 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4426
4427         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4428         macro.
4429         [copysignf]: Likewise.
4430
4431 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4432
4433         * crypt/md5-crypt.c: Fix formatting.
4434
4435 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4436
4437         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4438         (b64_from_24bit): New function.
4439
4440 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4441
4442         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4443         libc_hidden_builtin_def to ifunc.
4444         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4445         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4446
4447 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4448
4449         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4450         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4451
4452 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4453
4454         * nscd/Depend (linuxthreads): Remove.
4455         (nptl): Add.
4456         * resolv/Depend (linuxthreads): Remove.
4457         * rt/Depend (linuxthreads): Remove.
4458
4459         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4460         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4461         $(common-objpfx)elf/.
4462         (link-libc-before-gnulib): Likewise.
4463         (elfobjdir): Remove variable.
4464         * Makefile (install): Use $(elf-objpfx) instead of
4465         $(common-objpfx)elf/.
4466         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4467         $(elfobjdir)/.
4468         (link-libc-deps): Likewise.
4469         ($(common-objpfx)libc.so): Likewise.
4470         ($(common-objpfx)linkobj/libc.so): Likewise.
4471         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4472         instead of $(common-objpfx)elf/.
4473         (symbolic-link-list): Likewise.
4474         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4475         [$(cross-compiling) = no]: Likewise.
4476         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4477         $(elfobjdir)/.
4478         (static-gnulib-arch): Likewise.
4479         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4480         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4481         $(common-objpfx)elf/.
4482
4483 2014-05-21  Richard Henderson  <rth@redhat.com>
4484
4485         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4486         (SINGLE_THREAD_P): Use the correct width load.  Fold
4487         into the ldr offset.
4488
4489         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4490         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4491
4492 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4493
4494         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4495         (libgcc_s_resume): Use __attribute_used__.
4496         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4497         Likewise.
4498
4499 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4500
4501         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4502         optimization when used with float constants.
4503
4504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4505
4506 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4507
4508         [BZ #16915]
4509         * locale/nl_langinfo_l.c: Make direct reference to every
4510         _nl_current_CATEGORY symbol.
4511         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4512         (tests-static): Add tst-langinfo-static.
4513         (tests-special): Add tst-langinfo-static.out.
4514         ($(objpfx)tst-langinfo.out): Redirect output.
4515         ($(objpfx)tst-langinfo-static.out): New.
4516         * localedata/tst-langinfo.sh: Send output to stdout.
4517         * localedata/tst-langinfo-static.c: New file.
4518
4519         [BZ #16965]
4520         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4521         when the shift amount is modulo the limb size.
4522
4523 2014-05-20  Richard Henderson  <rth@redhat.com>
4524
4525         [BZ #16967]
4526         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4527         Change type of sa_flags from unsigned int to int.
4528
4529         [BZ #16966]
4530         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4531
4532         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4533
4534 2014-05-20  Will Newton  <will.newton@linaro.org>
4535
4536         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4537         Test the return value of the system call in the nocancel case.
4538
4539 2014-05-20  Will Newton  <will.newton@linaro.org>
4540             Yvan Roux  <yvan.roux@linaro.org>
4541
4542         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4543         #include of asm/ptrace.h.
4544         (PTRACE_GET_THREAD_AREA): Remove #undef.
4545         (PTRACE_GETHBPREGS): Likewise.
4546         (PTRACE_SETHBPREGS): Likewise.
4547         (struct user_regs_struct): New structure.
4548         (struct user_fpsimd_struct): New structure.
4549         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4550         #include of asm/ptrace.h and second #include of sys/user.h.
4551         (PTRACE_GET_THREAD_AREA): Remove #undef.
4552         (PTRACE_GETHBPREGS): Likewise.
4553         (PTRACE_SETHBPREGS): Likewise.
4554         (ELF_NGREG): Use new struct user_regs_struct.
4555         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4556
4557 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4558
4559         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4560         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4561
4562 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4563
4564         [BZ #16958]
4565         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4566         membar to avoid block loads/stores to overlap previous stores.
4567
4568 2014-05-17  Richard Henderson  <rth@redhat.com>
4569
4570         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4571         Create the __##syscall_name##_nocancel entry point.
4572         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4573         Remove; let the sysdep-cancel.h code create it.
4574
4575 2014-05-17  David S. Miller  <davem@davemloft.net>
4576
4577         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4578         Protect with __USE_GNU.
4579         (TIOCSET_TEMPT): Likewise.
4580         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4581         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4582         these are already provided in bits/ioctl-types.h
4583
4584 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4585
4586         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4587         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4588
4589         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4590         Use wait4 regardless of [__NR_waitpid].
4591
4592 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4593
4594         PR libgcc/60166
4595         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4596         (_FP_NANSIGN_Q): Set the quiet bit.
4597
4598 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4599
4600         * benchtests/Makefile
4601         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4602         not $(common-objpfx)math/libm.so.
4603         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4604         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4605         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4606         $(common-objpfx)dlfcn/libdl.so.
4607         ($(objpfx)tst-audit8): Depend on $(libm), not
4608         $(common-objpfx)math/libm.so.
4609         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4610         not $(common-objpfx)dlfcn/libdl.so.
4611         * math/Makefile
4612         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4613         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4614         [$(build-shared) = yes].
4615         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4616         $(common-objpfx)nptl/libpthread.so.
4617         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4618         $(common-objpfx)math/libm.so$(libm.so-version) or
4619         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4620         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4621         $(common-objpfx)dlfcn/libdl.so.
4622         * setjmp/Makefile (link-libm): Remove variable.
4623         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4624         * stdio-common/Makefile (link-libm): Remove variable.
4625         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4626         * stdlib/Makefile (link-libm): Remove variable.
4627         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4628         ($(objpfx)tst-strtod-round): Likewise.
4629         ($(objpfx)tst-tininess): Likewise.
4630         ($(objpfx)tst-strtod-underflow): Likewise.
4631         ($(objpfx)tst-strtod6): Likewise.
4632         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4633         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4634         $(common-objpfx)dlfcn/libdl.so.
4635
4636 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4637
4638         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4639         BSD terminal modes definitions.
4640
4641 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4642
4643         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4644         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4645
4646         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4647         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4648         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4649         Don't do #include_next.
4650         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4651         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4652         Don't do #include_next.
4653         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4654         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4655         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4656         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4657
4658 2014-05-16  Allan McRae  <allan@archlinux.org>
4659
4660         * po/sv.po: Update Swedish translation from translation project.
4661
4662         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4663         in sed expression.
4664
4665 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4666
4667         [BZ #16917]
4668         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4669         errno if the TIOCGPTN ioctl fails with an error different than
4670         EINVAL.
4671         * login/tst-ptsname.c: New file.
4672         * login/Makefile (tests): Add tst-ptsname.
4673
4674         [BZ #16943]
4675         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4676         and prlimit64.
4677
4678 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4679
4680         [BZ #16849]
4681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4682         herrno to return EAI_AGAIN.
4683
4684 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4685
4686         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4687         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4688         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4689         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4690         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4691         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4692         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4693         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4694         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4695         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4696         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4697         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4698         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4699         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4700         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4701         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4702         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4703         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4704         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4705         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4706         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4707         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4708         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4709         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4710         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4711         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4712         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4713         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4714         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4715         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4717         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4719         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4721         Moved ...
4722         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4724         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4726         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4728         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4730         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4732         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4734         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4736         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4738         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4740         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4742         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4744         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4746         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4748         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4750         Moved ...
4751         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4753         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4755         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4757         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4759         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4761         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4763         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4765         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4767         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4769         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4771         Moved ...
4772         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4774         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4775
4776         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4777         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4778         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4779         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4780         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4781         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4782         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4783         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4784         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4785         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4786         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4787         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4788         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4789         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4790         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4791         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4792         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4793         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4794         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4795         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4796         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4797         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4798         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4799         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4800         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4801         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4802         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4803         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4804         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4805         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4806         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4807
4808         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4809         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4810
4811         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4812         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4813         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4814         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4815         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4816         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4817         Moved ...
4818         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4819         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4820         Moved ...
4821         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4822         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4823         Moved ...
4824         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4825         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4826         Moved ...
4827         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4828         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4829         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4830         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4831         Moved ...
4832         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4833         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4834         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4835         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4836         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4837         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4838         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4839         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4840         Moved ...
4841         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4842         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4843         Moved ...
4844         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4845         ... here.
4846         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4847         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4848         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4849         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4850         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4851         Moved ...
4852         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4853         ... here.
4854         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4855         Moved ...
4856         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4857         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4858         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4859         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4860         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4861         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4862         Moved ...
4863         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4864         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4865         Moved ...
4866         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4867         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4868         Moved ...
4869         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4870         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4871         Moved ...
4872         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4873         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4874         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4875         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4876         Moved ...
4877         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4878         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4879         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4880         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4881         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4882         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4883         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4884         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4885         Moved ...
4886         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4887         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4888         Moved ...
4889         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4890         ... here.
4891         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4892         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4893         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4894         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4895         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4896         Moved ...
4897         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4898         ... here.
4899         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4900         Moved ...
4901         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4902         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4903         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4904         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4905         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4906         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4907         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4908         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4909         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4910         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4911         Moved ...
4912         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4913         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4914         Moved ...
4915         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4916         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4917         Moved ...
4918         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4919         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4920         Moved ...
4921         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4922         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4923         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4924         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4925         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4926         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4927         Moved ...
4928         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4929         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4930         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4931         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4932         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4933         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4934         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4935         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4936         Moved ...
4937         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4938         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4939         Moved ...
4940         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4941         ... here.
4942         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4943         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4944         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4945         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4946         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4947         Moved ...
4948         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4949         ... here.
4950         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4951         Moved ...
4952         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4953         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4954         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4955         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4956         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4957         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4958         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4959         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4960         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4961         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4962         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4963
4964         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4965         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4966
4967         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4968         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4969
4970         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4971         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4972         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4973         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4974         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4975         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4976         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4977         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4978         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4979         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4980         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4981         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4982         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4983         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4984         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4985         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4986         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4988         Moved ...
4989         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4990         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4991         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4993         Moved ...
4994         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4995         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4996         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4997         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4998         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4999         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5000         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5001         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5002         Moved ...
5003         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5004         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5005         Moved ...
5006         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5007         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5008         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5009         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5010         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5011         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5012         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5013         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5014         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5015         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5016         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5017         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5018         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5019         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5020         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5021         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5022         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5023
5024         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5025         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5026         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5027         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5028         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5029
5030         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5031         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5032         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5033         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5034         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5035         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5036         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5037         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5038         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5039         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5040
5041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5042         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5043
5044         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5045         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5046         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5047         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5048         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5049         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5050         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5051         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5052         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5053         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5054         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5055         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5056         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5057         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5059         Update #include.
5060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5061         Likewise.
5062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5063         Likewise.
5064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5065         Likewise.
5066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5067         Likewise.
5068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5069         Likewise.
5070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5071         Likewise.
5072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5073         Likewise.
5074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5075         Likewise.
5076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5077         Likewise.
5078         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5079         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5082         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5083         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5084         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5085         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5086         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5087         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5088         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5089         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5090         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5091         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5092         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5093
5094         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5095         that was previously under [RESET_PID].
5096         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5097         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5098         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5099
5100         * sysdeps/i386/nptl/Implies: New file.
5101         * sysdeps/x86_64/nptl/Implies: New file.
5102         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5103         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5104         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5105         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5106
5107         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5108         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5109         (__libc_vfork): New strong alias.
5110         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5111         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5112
5113         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5114         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5115         (__libc_vfork): New strong alias.
5116         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5117         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5118
5119         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5120         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5121         (__libc_vfork): New strong alias.
5122         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5123         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5124         * nptl/pt-vfork.c: New file.
5125         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5126         (libpthread: GLIBC_2.20): New version set (empty).
5127
5128 2014-05-14  Will Newton  <will.newton@linaro.org>
5129
5130         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5131         rather than #if.
5132
5133 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5134
5135         [BZ #16564]
5136         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5137         arguments with exponent 65 or above.
5138         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5139         arguments 0x1p113L or above.
5140         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5141         to arguments 0x1p107L or above.
5142         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5143         positive arguments with exponent 65 or above.
5144         * math/auto-libm-test-in: Add more tests of log1p.
5145         * math/auto-libm-test-out: Regenerated.
5146
5147         [BZ #16928]
5148         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5149         non-finite arguments is +0.
5150         * math/s_cacosf.c (__cacosf): Likewise.
5151         * math/s_cacosl.c (__cacosl): Likewise.
5152         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5153         * sysdeps/i386/fpu/libm-test-ulps: Update.
5154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5155
5156         [BZ #16927]
5157         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5158         value.
5159         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5160         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5161         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5162         for explicit high bit of mantissa when testing for argument equal
5163         to 1.
5164         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5165         * sysdeps/i386/fpu/libm-test-ulps: Update.
5166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5167
5168         [BZ #16516]
5169         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5170         (__erf): Scale by 16 instead of 8 in potentially underflowing
5171         case.  Ensure exception if result actually underflows.
5172         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5173         (__erff): Scale by 16 instead of 8 in potentially underflowing
5174         case.  Ensure exception if result actually underflows.
5175         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5176         (efx8): Remove variable.
5177         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5178         case.  Ensure exception if result actually underflows.
5179         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5180         (efx8): Remove variable.
5181         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5182         case.  Ensure exception if result actually underflows.
5183         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5184         (efx8): Remove variable.
5185         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5186         case.  Ensure exception if result actually underflows.
5187         * math/auto-libm-test-in: Add more tests of erf.
5188         * math/auto-libm-test-out: Regenerated.
5189
5190 2014-05-14  Andreas Schwab  <schwab@suse.de>
5191
5192         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5193         Remove code conditionalized on USE___THREAD.
5194
5195         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5196         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5197         not definedness.
5198
5199 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5200
5201         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5202         Define unconditionally.
5203         (__ASSUME_O_CLOEXEC): Likewise.
5204         (__ASSUME_SOCK_CLOEXEC): Likewise.
5205         (__ASSUME_IN_NONBLOCK): Likewise.
5206         (__ASSUME_PIPE2): Likewise.
5207         (__ASSUME_EVENTFD2): Likewise.
5208         (__ASSUME_SIGNALFD4): Likewise.
5209         (__ASSUME_DUP3): Likewise.
5210         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5211         (__ASSUME_DUP3): Do not define.
5212         (__ASSUME_EVENTFD2): Likewise.
5213         (__ASSUME_IN_NONBLOCK): Likewise.
5214         (__ASSUME_O_CLOEXEC): Likewise.
5215         (__ASSUME_PIPE2): Likewise.
5216         (__ASSUME_SIGNALFD4): Likewise.
5217         (__ASSUME_SOCK_CLOEXEC): Likewise.
5218         (__ASSUME_UTIMES): Undefine.
5219         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5220         (__ASSUME_UTIMES): Do not define.
5221         (__ASSUME_O_CLOEXEC): Likewise.
5222         (__ASSUME_SOCK_CLOEXEC): Likewise.
5223         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5224         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5225         0x020621].
5226         (__ASSUME_PIPE2): Likewise.
5227         (__ASSUME_EVENTFD2): Likewise.
5228         (__ASSUME_SIGNALFD4): Likewise.
5229         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5230         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5231         Do not define.
5232         (__ASSUME_EVENTFD2): Likewise.
5233         (__ASSUME_SIGNALFD4): Likewise.
5234         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5235         (__ASSUME_32BITUIDS): Likewise.
5236         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5237         (__ASSUME_IPC64): Likewise.
5238         (__ASSUME_ST_INO_64_BIT): Likewise.
5239         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5240         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5241         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5242         (__ASSUME_UTIMES): Do not define.
5243         (__ASSUME_PSELECT): Likewise.
5244         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
5253         (__ASSUME_UTIMES): Likewise.
5254         (__ASSUME_O_CLOEXEC): Likewise.
5255         (__ASSUME_SOCK_CLOEXEC): Likewise.
5256         (__ASSUME_IN_NONBLOCK): Likewise.
5257         (__ASSUME_PIPE2): Likewise.
5258         (__ASSUME_EVENTFD2): Likewise.
5259         (__ASSUME_SIGNALFD4): Likewise.
5260         (__ASSUME_DUP3): Likewise.
5261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5262         (__ASSUME_UTIMES): Likewise.
5263         (__ASSUME_O_CLOEXEC): Likewise.
5264         (__ASSUME_SOCK_CLOEXEC): Likewise.
5265         (__ASSUME_IN_NONBLOCK): Likewise.
5266         (__ASSUME_PIPE2): Likewise.
5267         (__ASSUME_EVENTFD2): Likewise.
5268         (__ASSUME_SIGNALFD4): Likewise.
5269         (__ASSUME_DUP3): Likewise.
5270         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5271         Likewise.
5272         (__ASSUME_UTIMES): Likewise.
5273         (__ASSUME_EVENTFD2): Likewise.
5274         (__ASSUME_SIGNALFD4): Likewise.
5275         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5276         (__ASSUME_O_CLOEXEC): Likewise.
5277         (__ASSUME_SOCK_CLOEXEC): Likewise.
5278         (__ASSUME_IN_NONBLOCK): Likewise.
5279         (__ASSUME_PIPE2): Likewise.
5280         (__ASSUME_EVENTFD2): Likewise.
5281         (__ASSUME_SIGNALFD4): Likewise.
5282         (__ASSUME_DUP3): Likewise.
5283         (__ASSUME_UTIMES): Undefine.
5284
5285         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5286         feclearexcept.  Remove symbol versioning code.
5287         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5288         symbol versioning code.
5289         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5290         symbol versioning code.
5291         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5292         feupdateenv.  Remove symbol versioning code.
5293         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5294         fegetexceptflag.  Remove symbol versioning code.
5295         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5296         fesetexceptflag.  Remove symbol versioning code.
5297         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5298         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5299         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5300         (__posix_fadvise64_l32): Remove prototype.
5301         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5302         code.
5303
5304 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5305
5306         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5307         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5308         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5309         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5310
5311 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5312
5313         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5314         current working directory
5315
5316 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5317
5318         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5319         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5320         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5321         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5322         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5323         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5324         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5325         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5326         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5327         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5328         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5329         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5330         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5331         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5332         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5333         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5334         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5335         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5336         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5337         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5338         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5339         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5340         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5341         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5342         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5343         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5344         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5345         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5346         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5347         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5348         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5349         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5350         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5351         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5352         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5353         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5354         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5355         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5356         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5357         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5358         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5359         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5360
5361         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5362         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5363
5364         * sysdeps/unix/sysv/linux/arm/Makefile
5365         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5366         Add rt-aeabi_unwind_cpp_pr1.
5367         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5368         Add nptl-aeabi_unwind_cpp_pr1.
5369         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5370         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5371         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5372         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5373         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5374         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5375
5376         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5377         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5378         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5379         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5380
5381         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5382         Deconditionalize the code that was previously under [RESET_PID].
5383         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5384
5385         * sysdeps/generic/exit-thread.h: New file.
5386         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5387         * include/unistd.h (__exit_thread): Remove declaration.
5388         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5389         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5390         * csu/libc-start.c: Include <exit-thread.h>.
5391         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5392         * nptl/pthread_create.c: Include <exit-thread.h>.
5393         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5394         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5395         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5396         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5397         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5398         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5399         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5400         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5401         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5402         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5403         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5404         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5405         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5406         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5407         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5408         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5409         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5410
5411 2014-05-13  Andreas Schwab  <schwab@suse.de>
5412
5413         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5414
5415 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5416
5417         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5418         (__ASSUME_UTIMES): Do not condition on kernel version.
5419         (__ASSUME_PSELECT): Define unconditionally.
5420         (__ASSUME_PPOLL): Likewise.
5421         (__ASSUME_ATFCTS): Likewise.
5422         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5423         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5424         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5425         (__ASSUME_UTIMENSAT): Define unconditionally.
5426         (__ASSUME_PRIVATE_FUTEX): Likewise.
5427         (__ASSUME_FALLOCATE): Likewise.
5428         (__ASSUME_O_CLOEXEC): Likewise.
5429         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5430         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5431         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5432         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5433         (__ASSUME_IN_NONBLOCK): Likewise.
5434         (__ASSUME_PIPE2): Likewise.
5435         (__ASSUME_EVENTFD2): Likewise.
5436         (__ASSUME_SIGNALFD4): Likewise.
5437         (__ASSUME_DUP3): Likewise.
5438         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5439         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5440         (__ASSUME_AT_RANDOM): Likewise.
5441         (__ASSUME_PREADV): Likewise.
5442         (__ASSUME_PWRITEV): Likewise.
5443         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5444         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5445         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5446         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5447         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5448         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5449         (__ASSUME_O_CLOEXEC): Define unconditionally.
5450         (__ASSUME_PSELECT): Do not undefine conditionally.
5451         (__ASSUME_PPOLL): Likewise.
5452         (__ASSUME_ATFCTS): Likewise.
5453         (__ASSUME_SET_ROBUST_LIST): Likewise.
5454         (__ASSUME_UTIMENSAT): Likewise.
5455         (__ASSUME_FDATASYNC): Define unconditionally.
5456         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5457         (__ASSUME_SIGFRAME_V2): Likewise.
5458         )__ASSUME_EVENTFD2): Likewise.
5459         (__ASSUME_SIGNALFD4): Likewise.
5460         (__ASSUME_PSELECT): Do not undefine conditionally.
5461         (__ASSUME_PPOLL): Likewise.
5462         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5463         (__ASSUME_PSELECT): Define unconditionally.
5464         (__ASSUME_PPOLL): Likewise.
5465         (__ASSUME_O_CLOEXEC): Likewise.
5466         (__ASSUME_SOCK_CLOEXEC): Likewise.
5467         (__ASSUME_IN_NONBLOCK): Likewise.
5468         (__ASSUME_PIPE2): Likewise.
5469         (__ASSUME_EVENTFD2): Likewise.
5470         (__ASSUME_SIGNALFD4): Likewise.
5471         (__ASSUME_DUP3): Likewise.
5472         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5473         (__ASSUME_O_CLOEXEC): Likewise.
5474         (__ASSUME_SOCK_CLOEXEC): Likewise.
5475         (__ASSUME_IN_NONBLOCK): Likewise.
5476         (__ASSUME_PIPE2): Likewise.
5477         (__ASSUME_EVENTFD2): Likewise.
5478         (__ASSUME_SIGNALFD4): Likewise.
5479         (__ASSUME_DUP3): Likewise.
5480         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5481         (__ASSUME_EVENTFD2): Likewise.
5482         (__ASSUME_SIGNALFD4): Likewise.
5483         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5484
5485 2014-05-12  Andreas Schwab  <schwab@suse.de>
5486
5487         [BZ #16932]
5488         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5489         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5490         than maximum RPC packet size.
5491         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5492         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5493         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5494         (_nss_nis_getservbyport_r): Likewise.
5495
5496 2014-05-12  Will Newton  <will.newton@linaro.org>
5497
5498         * malloc/Makefile (tests): Add tst-mallopt.
5499         * malloc/tst-mallopt.c: New file.
5500
5501 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5502
5503         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5504         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5505
5506 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5507
5508         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5509         (tst-tlsmod6.so): Likewise.
5510
5511 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5512
5513         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5514
5515 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5516
5517         [BZ #16064]
5518         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5519         and <dl-procinfo.h>.
5520         (__fegetenv): Save SSE state in envp->__eip if supported.
5521         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5522         envp->__eip if supported.
5523         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5524         and <dl-procinfo.h>.
5525         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5526         __data_offset and __data_selector in environment to 0.  Set SSE
5527         state if supported.
5528         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5529         test-fenv-sse.
5530         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5531         -mfpmath=sse.
5532         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5533
5534 2014-05-09  Will Newton  <will.newton@linaro.org>
5535
5536         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5537         and libc_relro_required for ARM.
5538         * sysdeps/arm/preconfigure: Regenerate.
5539
5540 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5541             Stefan Liebler  <stli@linux.vnet.ibm.com>
5542
5543         * config.make.in (enable-lock-elision): New Makefile variable.
5544         * configure.ac: Likewise.
5545         * configure: Regenerate.
5546         * sysdeps/s390/configure.ac:
5547         Add check for gcc transactions support.
5548         * sysdeps/s390/configure: Regenerate.
5549         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5550         Build elision files if enabled.
5551         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5552         Add lock elision support for s390.
5553         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5554         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5555         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5556         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5557         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5558         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5559         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5560         Likewise.
5561         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5562         Likewise.
5563         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5564         Likewise.
5565         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5566         Likewise.
5567         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5568         (__lll_timedlock_elision, __lll_lock_elision)
5569         (__lll_unlock_elision, __lll_trylock_elision)
5570         (lll_timedlock_elision, lll_lock_elision)
5571         (lll_unlock_elision, lll_trylock_elision): Add.
5572         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5573         (pthread_mutex_t): Add lock elision support for s390.
5574
5575 2014-05-14  Wilco  <wdijkstr@arm.com>
5576
5577         * sysdeps/arm/fclrexcpt.c: Cleanup.
5578         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5579         * sysdeps/arm/feenablxcpt.c: Cleanup.
5580         * sysdeps/arm/fegetenv.c: Cleanup.
5581         * sysdeps/arm/fegetexcept.c: Cleanup.
5582         * sysdeps/arm/fegetround.c: Cleanup.
5583         * sysdeps/arm/feholdexcpt.c: Cleanup.
5584         * sysdeps/arm/fesetenv.c: Cleanup.
5585         * sysdeps/arm/fesetround.c: Cleanup.
5586         * sysdeps/arm/feupdateenv.c: Cleanup.
5587         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5588         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5589         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5590         * sysdeps/arm/ftestexcept.c: Cleanup.
5591         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5592         * sysdeps/arm/setfpucw.c: Cleanup.
5593
5594 2014-05-09  Will Newton  <will.newton@linaro.org>
5595
5596         * sysdeps/arm/armv7/strcmp.S: New file.
5597         * NEWS: Mention addition of ARMv7 optimized strcmp.
5598
5599 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5600
5601         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5602         look for %.ac rather than %.in.
5603
5604         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5605         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5606         * sysdeps/mach/hurd/configure: Regenerated.
5607         * sysdeps/unix/sysv/linux/configure: Regenerated.
5608
5609         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5610
5611 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5612
5613         [BZ# 16922]
5614         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5615         (LONG_SUB): Ditto.
5616         (PTR_SUB): Ditto.
5617
5618 2014-05-07  Andreas Schwab  <schwab@suse.de>
5619
5620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5621         when skipping over non-matching result from nscd.
5622
5623 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5624
5625         [BZ #16876]
5626         * nptl/sockperf.c (client): Check socket return value.
5627
5628         [BZ #16877]
5629         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5630         nscd security class.
5631
5632 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5633
5634         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5635         * sysdeps/arm/unwind.h: ... here.
5636
5637 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5638
5639         [BZ# 16916]
5640         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5641         Define.
5642
5643 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5644
5645         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5646         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5647         multiarch strncpy for PPC64.
5648         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5649         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5651         multiarch optimizations.
5652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5653         (__libc_ifunc_impl_list): Likewise.
5654         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5655         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5656         multiarch stpncpy for PPC64.
5657         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5658         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5659
5660 2014-05-06  Andreas Schwab  <schwab@suse.de>
5661
5662         [BZ #16912]
5663         * gmon/mcount.c (_MCOUNT_DECL): Use
5664         atomic_compare_and_exchange_bool_acq instead of
5665         catomic_compare_and_exchange_bool_acq.
5666
5667 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5668
5669         * elf/Makefile (others, install-bin): Remove pldd.
5670         (pldd-modules): Variable removed.
5671         ($(objpfx)pldd): Target removed.
5672         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5673         (others, install-bin): Append pldd here.
5674         ($(objpfx)pldd): New target.
5675
5676         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5677         to 0, so the first #if test emitted later doesn't see it undefined.
5678         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5679         * sysdeps/gnu/errlist.c: Regenerated.
5680
5681 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5682
5683         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5684         [libc_hidden_builtin_def]: Define to empty value.
5685         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5686         [libc_hidden_builtin_def]: Likewise.
5687         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5688         [libc_hidden_builtin_def]: Likewise.
5689         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5690         [libc_hidden_builtin_def]: Likewise.
5691         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5692         __redirect_memcpy and define ifunc as default hidden symbol.
5693         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5694         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5695
5696 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5697
5698         * locale/iso-4217.def: Reintroduce XDR currency.
5699
5700 2014-05-04  Allan McRae  <allan@archlinux.org>
5701
5702         * po/eo.po: Update Esperanto translation from translation project.
5703
5704 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5705
5706         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5707         and FEATURE_INDEX_MAX to 1.
5708         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5709
5710 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5711
5712         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5713         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5714         * iconvdata/big5.c (ONE_DIRECTION): Define.
5715         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5716         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5717         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5718         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5719         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5720         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5721         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5722         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5723         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5724         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5725         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5726         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5727         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5728         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5729         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5730         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5731         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5732         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5733         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5734         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5735         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5736         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5737         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5738         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5739         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5740         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5741         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5742         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5743         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5744         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5745         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5746         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5747         * iconvdata/johab.c (ONE_DIRECTION): Define.
5748         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5749         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5750         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5751         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5752         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5753         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5754         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5755         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5756         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5757         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5758
5759 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5760
5761         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5762         (_IO_JUMPS_OFFSET): Define to 0.
5763
5764         * nptl/sysdeps/pthread/bits/libc-lock.h
5765         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5766         (__libc_lock_define_initialized_recursive): Always define using
5767         initializer.  Modern compilers treat uninitialized (implicit zero) and
5768         explicit zero initializers the same (i.e. put the datum in bss).
5769
5770 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5771
5772         * nscd/nscd-client.h: Include <string.h>.
5773
5774 2014-05-01  David S. Miller  <davem@davemloft.net>
5775
5776         [BZ #16885]
5777         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5778         multiple zero bytes exist at the end of a string.
5779         Reported by Aurelien Jarno <aurelien@aurel32.net>
5780
5781         * string/test-strcmp.c (check): Add explicit test for situations where
5782         there are multiple zero bytes after the first.
5783
5784 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5785
5786         [BZ #16890]
5787         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5788         when compiling wprintf.
5789         * stdio-common/tstdiomisc.c (t3): New function.
5790         (main): Call it.
5791
5792 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5793
5794         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5795         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5796         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5797         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5798
5799 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5800
5801         * stdlib/longlong.h: Updated from GCC.
5802
5803 2014-05-01  Will Newton  <will.newton@linaro.org>
5804             Bernard Ogden  <bernie.ogden@linaro.org>
5805
5806         * NEWS: Update fixed bug list.
5807
5808         [BZ #15119]
5809         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5810
5811 2014-04-30  David S. Miller  <davem@davemloft.net>
5812
5813         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5814         (libc_feholdexcept_setround_sparc_ctx): New function.
5815         (libc_fesetenv_sparc_ctx): Likewise.
5816         (libc_feupdateenv_sparc_ctx): Likewise.
5817         (libc_feholdsetround_sparc_ctx): Likewise.
5818         (libc_feholdexcept_setround_ctx): Define.
5819         (libc_feholdexcept_setroundf_ctx): Likewise.
5820         (libc_feholdexcept_setroundl_ctx): Likewise.
5821         (libc_fesetenv_ctx): Likewise.
5822         (libc_fesetenvf_ctx): Likewise.
5823         (libc_fesetenvl_ctx): Likewise.
5824         (libc_feupdateenv_ctx): Likewise.
5825         (libc_feupdateenvf_ctx): Likewise.
5826         (libc_feupdateenvl_ctx): Likewise.
5827         (libc_feresetround_ctx): Likewise.
5828         (libc_feresetroundf_ctx): Likewise.
5829         (libc_feresetroundl_ctx): Likewise.
5830         (libc_feholdsetround_ctx): Likewise.
5831         (libc_feholdsetroundf_ctx): Likewise.
5832         (libc_feholdsetroundl_ctx): Likewise.
5833
5834         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5835         with __USE_GNU instead of XOPEN cpp guards.
5836
5837         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5838         0.
5839
5840         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5841         with XOPEN cpp guards.
5842
5843 2014-04-30  Julian Brown  <julian@codesourcery.com>
5844
5845         [BZ #16888]
5846         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5847         handling.
5848
5849 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5850
5851         [BZ #9894]
5852         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5853         Change to 2.6.32.
5854         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5855         * sysdeps/unix/sysv/linux/configure: Regenerated.
5856         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5857         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5858         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5859         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5860         * README: Update reference to required Linux kernel version.
5861         * manual/install.texi (Linux): Update reference to required Linux
5862         kernel headers version.
5863         * INSTALL: Regenerated.
5864
5865         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5866         header inclusion.
5867         [POSIX] (limits.h): Likewise.
5868         [POSIX] (math.h): Likewise.
5869         [POSIX] (sys/wait.h): Likewise.
5870         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5871         function.
5872         [POSIX] (stddef.h): Do not allow header inclusion.
5873
5874 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5875
5876         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5877
5878 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5879
5880         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5881         Return immediately after lll_futex_wake.
5882
5883 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5884
5885         [BZ #16791]
5886         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5887         structure.
5888         (datahead_init_pos): Call datahead_init_common early.
5889         (datahead_init_neg): Likewise.
5890
5891         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5892         datahead_init_neg): New functions.
5893         * nscd/aicache.c (addhstaiX): Use them.
5894         * nscd/grpcache.c (cache_addgr): Likewise.
5895         * nscd/hstcache.c (cache_addhst): Likewise.
5896         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5897         * nscd/netgroupcache.c (do_notfound): Likewise.
5898         (addgetnetgrentX): Likewise.
5899         (addinnetgrX): Likewise.
5900         * nscd/pwdcache.c (cache_addpw): Likewise.
5901         * nscd/servicescache.c (cache_addserv): Likewise.
5902
5903 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5904             Atsushi Onoe  <atsushi@onoe.org>
5905
5906         [BZ #14308]
5907         [BZ #12994]
5908         [BZ #13651]
5909         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5910         one response is valid.
5911         * resolv/res_send.c (send_dg): Check for validity of other
5912         response if the current response is a referral.
5913
5914 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5915
5916         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5917
5918 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5919
5920         [BZ #16823]
5921         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5922         Always divide by positive zero when computing -Inf result.
5923         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5924         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5925
5926 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5927
5928         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5929         FPSCR if value do not change.
5930         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5931         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5932         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5933         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5934         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5935         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5936         function.
5937
5938 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5939
5940         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5941         * sysdeps/unix/sysv/linux/hppa: Move directory from
5942         ports/systeps/unix/sysv/linux/hppa.
5943         * README: Update listing for hppa-*-linux-gnu.
5944
5945 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5946
5947         [BZ #16754]
5948         * manual/stdio.texi (Hook functions): Fix types of stream hook
5949         functions.
5950         [BZ #16854]
5951         * socket/sys/socket.h: Fix typo in comment.
5952
5953 2014-04-28  Wilco  <wdijkstr@arm.com>
5954
5955         * sysdeps/arm/fenv_private.h: New file.
5956         * sysdeps/arm/math_private.h: New file.
5957         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5958
5959 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5960
5961         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5962         with __int128_t.
5963         (La_x86_64_retval): Likewise.
5964
5965 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5966
5967         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5968         fpsr if value didn't change.
5969         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5970         to fpcr if value didn't change.
5971         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5972         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5973         fpsr or fpcr if value didn't change.
5974         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5975         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5976         fpcr if value didn't change.
5977         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5978         to fpsr if value didn't change.
5979
5980 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5981
5982         * nptl/tst-sem3.c: Use test-skeleton.c
5983         (main): Rename to do_test.  Use return instead of
5984         exit.
5985         * nptl/tst-sem4.c: Use test-skeleton.c
5986         (main): Rename to do_test.
5987
5988 2014-04-22  David S. Miller  <davem@davemloft.net>
5989
5990         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5991         (struct sigaction): New struct member __glibc_reserved0, change
5992         type of sa_flags to int.
5993
5994 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5995
5996         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5997         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5998
5999 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6000
6001         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6002         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6003
6004 2014-04-22  Will Newton  <will.newton@linaro.org>
6005             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6006
6007         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6008         (__longjmp): Add longjmp and longjmp_target SystemTap
6009         probes.
6010         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6011         (__sigsetjmp): Add setjmp SystemTap probe.
6012
6013 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6014
6015         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6016         match manual order.
6017
6018 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6019
6020         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6021
6022         * sysdeps/powerpc/fpu/fenv_private.h
6023         (libc_feholdexcept_setroundl_ctx): Define to
6024         libc_feholdexcept_setround_ppc_ctx.
6025         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6026         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6027         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6028         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6029
6030 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6031
6032         * sysdeps/aarch64/math-tests.h: New file.
6033
6034 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6035
6036         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6037         New.
6038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6039         Check and set bit_AVX2_Usable.
6040         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6041         macro.
6042         (bit_AVX2): Likewise.
6043         (index_AVX2_Usable): Likewise.
6044         (CPUID_AVX2): Likewise.
6045         (HAS_AVX2): Likewise.
6046
6047 2014-04-17  Will Newton  <will.newton@linaro.org>
6048
6049         * manual/setjmp.texi (System V contexts): Add note that
6050         calling setcontext on a context created by a call to a
6051         signal handler is undefined.  Update text to note that
6052         setcontext from a signal handler is possible but not
6053         recommended.
6054
6055         [BZ #16629]
6056         * stdlib/tst-setcontext.c: Include signal.h.
6057         (main): Check that the signal stack before and
6058         after swapcontext is the same.
6059
6060         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6061         Re-implement to restore registers in user code and avoid
6062         rt_sigreturn system call.
6063
6064 2014-04-17  Wilco  <wdijkstr@arm.com>
6065
6066         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6067         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6068         * math/test-fenv.c: Skip exception trap tests on targets which only
6069         support non-stop mode.
6070
6071 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6072             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6073
6074         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6075         (libc_feholdsetround_aarch64_ctx)
6076         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6077         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6078         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6079         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6080         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6081         (libc_feresetround_noexl_ctx): Define.
6082
6083 2014-04-16  Richard Henderson  <rth@redhat.com>
6084
6085         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6086
6087         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6088         unwind tables.
6089
6090         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6091         const from the non-libc, non-ldso copy.
6092
6093         * sysdeps/alpha/libm-test-ulps: Regenerate.
6094
6095 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6096             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6097
6098         * sysdeps/aarch64/fpu/math_private.h: New file.
6099
6100 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6101
6102         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6103
6104 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6105
6106         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6107         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6108         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6109         Intel MPX bound registers before _dl_profile_fixup.
6110         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6111         registers after _dl_profile_fixup.  Save and restore bound
6112         registers bnd0/bnd1 when calling _dl_call_pltexit.
6113         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6114         (LR_BND_OFFSET): Likewise.
6115         (LRV_BND0_OFFSET): Likewise.
6116         (LRV_BND1_OFFSET): Likewise.
6117
6118 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6119
6120         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6121         to...
6122         * sysdeps/mach/hurd/i386/tls.h: ... here.
6123         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6124         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6125         fields.
6126
6127 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6128
6129         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6130
6131 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6132
6133         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6134
6135 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6136
6137         [BZ #14770]
6138         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6139         * sysdeps/s390/configure: Regenerate.
6140
6141         [BZ #16824]
6142         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6143         Set round-to-nearest internally to reduce error accumulation.
6144
6145 2014-04-16  Alan Modra  <amodra@gmail.com>
6146
6147         [BZ #16740]
6148         [BZ #16619]
6149         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6150         * math/libm-test.inc (frexp_test_data): Add tests.
6151         * NEWS: Update fixed bug list.
6152
6153 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6154
6155         * benchtests/Makefile: Depend on libraries in build directory.
6156         (bench-math): Separate out math tests.
6157         (bench-pthread): Separate out pthread tests.
6158         (bench): Include math and pthread tests.
6159
6160 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6161
6162         [BZ #16831]
6163         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6164         _dl_debug_initialize.
6165
6166         * configure.ac: Remove SELinux header check.
6167         * configure: Regenerate.
6168         * nscd/selinux.c (perms): Array of const char* to permission names.
6169         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6170         default policy. Call string_to_security_class and string_to_av_perm to
6171         translate strings. Enforce default policy and call avs_has_perm with
6172         results of translated strings.
6173
6174 2014-04-13  David S. Miller  <davem@davemloft.net>
6175
6176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6177
6178 2014-04-12  Allan McRae  <allan@archlinux.org>
6179
6180         [BZ #16838]
6181         * manual/string.texi (Collation Functions): Fix qsort argument
6182         order in example.
6183         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6184
6185 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6186
6187         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6188         Make the test a no-op if there are no exceptions defined.
6189
6190 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6191
6192         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6193         enable-hardcoded-path-in-tests
6194
6195 2014-04-11  Will Newton  <will.newton@linaro.org>
6196
6197         * benchtests/Makefile (extra-objs): Add json-lib.o.
6198         (bench-func): Tidy up JSON output.
6199         * benchtests/bench-skeleton.c: Include json-lib.h.
6200         (main): Use JSON library functions to do output of
6201         benchmark results.
6202         * benchtests/bench-timing-type.c (main): Output the
6203         timing type simply, leaving formatting to the user.
6204         * benchtests/json-lib.c: New file.
6205         * benchtests/json-lib.h: Likewise.
6206
6207 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6208
6209         [BZ #15215]
6210         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6211         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6212         memory barriers.  Add comments.
6213         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6214         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6215         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6216         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6217         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6218         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6219
6220 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6221
6222         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6223         * sysdeps/s390/s390-64/configure.ac: ... this ...
6224         * sysdeps/s390/configure.ac: ... to here.
6225         * sysdeps/s390/s390-32/configure: Delete file.
6226         * sysdeps/s390/s390-64/configure: Delete file.
6227         * sysdeps/s390/configure: Regenerate.
6228
6229 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6230
6231         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6232
6233 2014-04-11  Will Newton  <will.newton@linaro.org>
6234
6235         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6236         to zero if it is not defined elsewhere.  (mtrim): Test
6237         the value of MALLOC_DEBUG with #if rather than #ifdef.
6238
6239 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6240
6241         * benchtests/pthread_once-inputs: New file.
6242         * benchtests/pthread_once-source.c: New file.
6243         * benchtests/README: Update documentation.
6244
6245 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6246             H.J. Lu  <hongjiu.lu@intel.com>
6247
6248         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6249         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6250         * sysdeps/x86_64/configure: Regenerated.
6251         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6252         macro.
6253         (REGISTER_SAVE_RAX): Likewise.
6254         (REGISTER_SAVE_RCX): Likewise.
6255         (REGISTER_SAVE_RDX): Likewise.
6256         (REGISTER_SAVE_RSI): Likewise.
6257         (REGISTER_SAVE_RDI): Likewise.
6258         (REGISTER_SAVE_R8): Likewise.
6259         (REGISTER_SAVE_R9): Likewise.
6260         (REGISTER_SAVE_BND0): Likewise.
6261         (REGISTER_SAVE_BND1): Likewise.
6262         (REGISTER_SAVE_BND2): Likewise.
6263         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6264         bound registers when calling _dl_fixup.
6265
6266 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6267
6268         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6269         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6270         of its definition.
6271         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6272         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6273         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6274         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6275         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6276         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6277         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6278
6279 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6280
6281         [BZ #15514]
6282         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6283         pathconf(_PC_NAME_MAX).
6284
6285 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6286
6287         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6288         Remove macro usage.
6289         (__PTHREAD_SPINS): Move definition to ...
6290         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6291         (__PTHREAD_SPINS): ... here.
6292         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6293         (__PTHREAD_SPIN): Likewise.
6294         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6295         (__PTHREAD_SPIN): Likewise.
6296         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6297         (__PTHREAD_SPIN): Likewise.
6298         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6299         (__PTHREAD_SPIN): Likewise.
6300         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6301         (__PTHREAD_SPIN): Likewise.
6302         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6303         (__PTHREAD_SPIN): Likewise.
6304         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6305         (__PTHREAD_SPIN): Likewise.
6306         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6307         (__PTHREAD_SPIN): Likewise.
6308         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6309         (__PTHREAD_SPIN): Likewise.
6310         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6311         (__PTHREAD_SPIN): Likewise.
6312         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6313         (__PTHREAD_SPIN): Likewise.
6314         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6315         (__PTHREAD_SPIN): Likewise.
6316
6317         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6318         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6319         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6320         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6321         imply folder.
6322         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6323         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6324         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6325         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6326         correct imply path.
6327         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6328         strlen symbol for non multi-arch builds.
6329         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6330         missing hidden_def and weak_alias.
6331
6332 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6333
6334         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6335
6336 2014-04-07  Will Newton  <will.newton@linaro.org>
6337
6338         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6339         and contents.  [!_LIBC] Remove #ifndef and contents.
6340         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6341         * string/memccpy.c (__memccpy): Use ANSI prototype.
6342         * string/memfrob.c (memfrob): Likewise.
6343         * string/strcoll.c (STRCOLL): Likewise.
6344         * string/strlen.c (strlen): Likewise.
6345         * string/strtok.c (STRTOK): Likewise.
6346         * string/strcat.c: Remove unused #include of memcopy.h.
6347         (strcat): Use ANSI prototype.
6348         * string/strchr.c: Remove unused #include of memcopy.h.
6349         (strchr): Use ANSI prototype.
6350         * string/strcmp.c: Remove unused #include of memcopy.h.
6351         (strcmp): Use ANSI prototype.
6352         * string/strcpy.c: Remove unused #include of memcopy.h.
6353         (strcpy): Use ANSI prototype.
6354
6355 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6356
6357         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6358         * config.make.in (config-extra-cppflags): Set it from
6359         libc_extra_cppflags.
6360         * configure.ac (libc_extra_cflags): Make it accumulate over
6361         configure fragments.
6362         (libc_extra_cppflags): New flag.
6363         * configure. Regenerate.
6364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6365         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6366         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6368
6369         [BZ #16815]
6370         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6371         result for FE_DOWNWARD rounding mode.
6372         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6373         Likewise.
6374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6375
6376 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6377
6378         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6379         in function argument name.
6380
6381 2014-04-03  David Svoboda  <svoboda@cert.org>
6382
6383         [BZ #5666]
6384         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6385         explicitly.
6386
6387 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6388
6389         * elf/dl-unmap-segments.h: New file.
6390         * sysdeps/generic/ldsodefs.h
6391         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6392         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6393         * elf/dl-fptr.c: Likewise.
6394         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6395         * sysdeps/aarch64/tlsdesc.c: Likewise.
6396         * sysdeps/arm/tlsdesc.c: Likewise.
6397         * sysdeps/i386/tlsdesc.c: Likewise.
6398         * sysdeps/tile/dl-runtime.c: Likewise.
6399         * sysdeps/x86_64/tlsdesc.c: Likewise.
6400         * elf/dl-load.h: New file.
6401         * elf/dl-load.c: Include it.
6402         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6403         Macros moved to dl-load.h.
6404         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6405         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6406         Use _dl_unmap_segments in place of __munmap.
6407         Break out segment-mapping loop into ...
6408         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6409
6410 2014-04-03  Will Newton  <will.newton@linaro.org>
6411
6412         * elf/dl-lookup.c (do_lookup_x): Remove comment
6413         referring to nested function and move variable
6414         declarations down to before first use.
6415
6416 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6417
6418         [BZ #16799]
6419         [BZ #16800]
6420         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6421         with 0 numerator.
6422         * math/s_catanf.c (__catanf): Likewise.
6423         * math/s_catanh.c (__catanh): Likewise.
6424         * math/s_catanhf.c (__catanhf): Likewise.
6425         * math/s_catanhl.c (__catanhl): Likewise.
6426         * math/s_catanl.c (__catanl): Likewise.
6427         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6428         by positive zero when computing -Inf result.
6429         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6430         (catanh_test): Likewise.
6431         * sysdeps/i386/fpu/libm-test-ulps: Update.
6432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6433
6434         [BZ #16789]
6435         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6436         instead of using underflowing value in computing result.
6437         * math/s_clog10.c (__clog10): Likewise.
6438         * math/s_clog10f.c (__clog10f): Likewise.
6439         * math/s_clog10l.c (__clog10l): Likewise.
6440         * math/s_clogf.c (__clogf): Likewise.
6441         * math/s_clogl.c (__clogl): Likewise.
6442         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6443         (clog10_test): Likewise.
6444         * sysdeps/i386/fpu/libm-test-ulps: Update.
6445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6446
6447 2014-04-02  Alan Modra  <amodra@gmail.com>
6448
6449         [BZ #16739]
6450         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6451         output when value is near a power of two.  Use int64_t for lx and
6452         remove casts.  Use decimal rather than hex exponent constants.
6453         Don't use long double multiplication when double will suffice.
6454         * math/libm-test.inc (nextafter_test_data): Add tests.
6455         * NEWS: Add 16739 and 16786 to bug list.
6456
6457         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6458
6459         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6460
6461 2014-04-01  Will Newton  <will.newton@linaro.org>
6462
6463         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6464         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6465
6466 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6467
6468         [BZ #13347]
6469         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6470         * nptl/tst-setuid2.c: New file.
6471         * nptl/Makefile (xtests): Add tst-setuid2.
6472
6473 2014-04-01  Alan Modra  <amodra@gmail.com>
6474
6475         [BZ #16786]
6476         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6477
6478 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6479
6480         [BZ #6803]
6481         [BZ #6804]
6482         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6483         set errno as appropriate.
6484         * math/w_scalbf.c (__scalbf): Likewise.
6485         * math/w_scalbl.c (__scalbl): Likewise.
6486         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6487         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6488         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6489         Add more NaN tests.
6490
6491         [BZ #16349]
6492         * math/w_atan2.c: Include <errno.h>.
6493         (__atan2): Set errno for result underflowing to zero.
6494         * math/w_atan2f.c: Include <errno.h>.
6495         (__atan2f): Set errno for result underflowing to zero.
6496         * math/w_atan2l.c: Include <errno.h>.
6497         (__atan2l): Set errno for result underflowing to zero.
6498         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6499         tests.
6500         * math/auto-libm-test-out: Regenerated.
6501
6502 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6503
6504         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6505         Encode instruction correctly in little endian.
6506         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6507         Likewise.
6508         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6509         Likewise.
6510         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6511         Likewise.
6512         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6513         Likewise.
6514
6515 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6516
6517         [BZ #9894]
6518         * sysdeps/unix/sysv/linux/kernel-features.h
6519         [__sparc__ && !__arch64__ && !__sparc_v9__]
6520         (__ASSUME_SET_ROBUST_LIST): Do not define.
6521         [__sparc__ && !__arch64__ && !__sparc_v9__]
6522         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6523         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6524         Likewise.
6525         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6526         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6527         (__ASSUME_REQUEUE_PI): Likewise.
6528         (__ASSUME_SET_ROBUST_LIST): Likewise.
6529         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6530         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6531         Undefine.
6532         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6533         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6534         Likewise.
6535         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6536         Likewise.
6537         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6538         Likewise.
6539         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6540         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6541         Undefine.
6542         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6543         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6544         Likewise.
6545
6546         [BZ #16648]
6547         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6548         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6549         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6550
6551 2014-03-31  Will Newton  <will.newton@linaro.org>
6552
6553         * benchtests/Makefile (bench): Add ffs and ffsll to list
6554         of tests.
6555         * benchtests/ffs-inputs: New file.
6556         * benchtests/ffsll-inputs: Likewise.
6557
6558 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6559
6560         [BZ #16770]
6561         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6562         too large before casting to int.
6563         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6564         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6565         * math/libm-test.inc (scalb_test_data): Add more tests.
6566
6567 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6568
6569         * benchtests/Makefile (DETAILED_OPT): New make option.
6570         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6571         set.
6572         * benchtests/bench-skeleton.c: Include stdbool.h.
6573         (main): Store and print timings per input.
6574         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6575         member to each argument value.
6576         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6577         (_print_arg_data): Initialize per-input timing to 0.
6578
6579         * benchtests/Makefile (timing-type): New binary.
6580         (bench-clean): Also remove bench-timing-type.
6581         (bench): New target for timing-type.
6582         (bench-func): Print output in JSON format.
6583         * benchtests/bench-skeleton.c (main): Print output in JSON
6584         format.
6585         * benchtests/bench-timing-type.c: New file.
6586         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6587         (TIMING_PRINT_STATS): Remove.
6588         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6589         name separately.
6590
6591         * benchtests/bench-modf.c: Remove.
6592         * benchtests/modf-inputs: New inputs file.
6593
6594 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6595
6596         [BZ #16362]
6597         * math/s_clog10.c (M_PI_LOG10E): New macro.
6598         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6599         imaginary parts are 0.
6600         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6601         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6602         imaginary parts are 0.
6603         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6604         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6605         imaginary parts are 0.
6606         * math/libm-test.inc (clog10_test_data): Update expected results
6607         for when real and imaginary parts are 0.
6608
6609 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6610
6611         * elf/dl-load.c: Finish conversion of __builtin_expect into
6612         __glibc_{un}likely.
6613
6614 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6615
6616         [BZ #16348]
6617         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6618         1+x for argument with exponent below -67.
6619         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6620         Likewise.
6621         * math/auto-libm-test-in: Add more tests of exp.
6622         * math/auto-libm-test-out: Regenerated.
6623
6624 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6625
6626         [BZ #16759]
6627         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6628         (nscd_getnetgrent): Use it.
6629
6630         [BZ #16760]
6631         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6632         of stpcpy.
6633
6634 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6635
6636         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6637         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6638         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6639         (lll_robust_unlock): Remove out of line section. Use cfi
6640         intrinsics.
6641         (LLL_STUB_UNWIND_INFO*): Remove.
6642         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6643         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6644         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6645         (lll_robust_unlock): Remove out of line section. Use cfi
6646         intrinsics.
6647         (LLL_STUB_UNWIND_INFO*): Remove.
6648
6649 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6650
6651         [BZ #16758]
6652         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6653         blank values.
6654
6655 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6656
6657         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6658
6659 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6660
6661         [BZ #16198]
6662         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6663         fnstenv.
6664         * math/test-fenv-preserve.c: New file.
6665         * math/Makefile (tests): Add test-fenv-preserve.
6666
6667 2014-03-26  Will Newton <will.newton@linaro.org>
6668
6669         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6670
6671 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6672
6673         * scripts/versionlist.awk: Partition the version sets and emit all
6674         GLIBC_* (sorted) before all others (sorted).
6675
6676 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6677
6678         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6679         GLIBC_2.2.5 version.
6680
6681 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6682
6683         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6684         calls.
6685
6686         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6687         previous change.
6688
6689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6690
6691 2014-03-25  Andreas Schwab  <schwab@suse.de>
6692
6693         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6694         label to be used after in6ailist is initialized.
6695
6696 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6697
6698         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6699         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6700
6701 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6702
6703         [BZ #16357]
6704         [BZ #16599]
6705         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6706         min_plus_half.
6707         (fp_formats): Update initializers.
6708         (init_fp_formats): Initialize new field.
6709         (output_for_one_input_case): Allow underflow for results up to
6710         min_plus_half.
6711         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6712         * math/auto-libm-test-in: Don't mark some underflows from asin and
6713         atanh as spurious.
6714         * math/auto-libm-test-out: Regenerated.
6715         * sysdeps/i386/fpu/libm-test-ulps: Update.
6716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6717
6718 2014-03-25  Andreas Schwab  <schwab@suse.de>
6719
6720         * libio/Makefile (tst-ftell-partial-wide-ENV)
6721         (tst-ftell-active-handler-ENV): Define.
6722
6723 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6724
6725         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6726
6727 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6728
6729         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6730
6731 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6732
6733         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6734         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6735         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6736
6737 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6738
6739         [BZ #16634]
6740         * elf/dl-load.c (open_verify): Add mode parameter.
6741         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6742         (open_path): Change from boolean 'secure' to complete flag 'mode'
6743         (_dl_map_object): Adjust.
6744         * elf/Makefile (tests): Add tst-dlopen-aout.
6745         * elf/tst-dlopen-aout.c: New test.
6746
6747 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6748
6749         [BZ #16714]
6750         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6751         (struct stat): Rename member pad0 to __glibc_reserved0.
6752
6753         [BZ #16712]
6754         * sysdeps/s390/s390-32/bits/wordsize.h
6755         (__WORDSIZE32_SIZE_ULONG): New define.
6756         * sysdeps/s390/s390-64/bits/wordsize.h
6757         (__WORDSIZE32_SIZE_ULONG): Likewise.
6758         * sysdeps/generic/stdint.h (SIZE_MAX):
6759         Define as UL if __WORDSIZE32_SIZE_ULONG.
6760
6761         [BZ #16713]
6762         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6763         (__glibc_reserved0): New variable.
6764         (sa_flags): Change type to int.
6765
6766         * posix/Makefile (before-compile): Use += before-compile instead
6767         of a :=.
6768
6769         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6770         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6771
6772 2014-03-20  Andreas Schwab  <schwab@suse.de>
6773
6774         [BZ #16743]
6775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6776         non-matching result from nscd.
6777
6778 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6779
6780         * scripts/bench.py: Moved to ...
6781         * benchtests/scripts/bench.py: ... here.
6782         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6783
6784 2014-03-24  Andreas Schwab  <schwab@suse.de>
6785
6786         [BZ #16002]
6787         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6788         alloca_account and account alloca use for struct in6ailist.
6789
6790 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6791
6792         [BZ #16284]
6793         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6794         rounding mode to recompute results that overflow to infinity or
6795         underflow to zero.
6796         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6797         bug 16284.
6798         * math/auto-libm-test-out: Regenerated.
6799         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6800         (ccosh_test): Likewise.
6801         (csin_test_data): Use plus_oflow.
6802         (csin_test): Use ALL_RM_TEST.
6803         (csinh_test_data): Use plus_oflow.
6804         (csinh_test): Use ALL_RM_TEST.
6805         * sysdeps/i386/fpu/libm-test-ulps: Update.
6806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6807
6808 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6809
6810         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6811         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6812         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6813
6814         [BZ #16731]
6815         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6816         when x - 1 is zero.
6817         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6818         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6819         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6820         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6821         argument is 1.
6822         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6823         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6824         zero.
6825         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6826         * sysdeps/i386/fpu/libm-test-ulps: Update.
6827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6828
6829 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6830
6831         * scripts/bench.pl: Remove file.
6832         * scripts/bench.py: New benchmark script.
6833         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6834         * benchtests/README: Mention python dependency.
6835         * scripts/pylintrc: New file.
6836         * scripts/pylint: New file.
6837
6838         * bits/mathdef.h: Use #ifdef instead of #if.
6839         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6840         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6841         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6842         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6843         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6844         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6845
6846 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6847             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6848
6849         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6851         and strpbrk-ppc64 objects.
6852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6853         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6854         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6855         multiarch strpbrk for POWER7.
6856         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6857         multiarch strpbrk for PPC64.
6858         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6859         ifunc selector.
6860         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6861         strpbrk for POWER7.
6862
6863 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6864
6865         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6866         (atan_test): Likewise.
6867         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6868         (atanh_test): Use ALL_RM_TEST.
6869         (atan2_test_data): Likewise.
6870         (cabs_test): Likewise.
6871         (cacosh_test): Likewise.
6872         (carg_test): Likewise.
6873         (casin_test): Likewise.
6874         (casinh_test): Likewise.
6875         (cbrt_test): Likewise.
6876         (csqrt_test): Likewise.
6877         (erf_test): Likewise.
6878         (erfc_test): Likewise.
6879         (pow10_test): Likewise.
6880         (exp2_test): Likewise.
6881         (hypot_test): Likewise.
6882         (j0_test): Likewise.
6883         (j1_test): Likewise.
6884         (lgamma_test): Likewise.
6885         (gamma_test): Likewise.
6886         (sincos_test): Likewise.
6887         (tanh_test): Likewise.
6888         (y0_test): Likewise.
6889         (y1_test): Likewise.
6890         * sysdeps/i386/fpu/libm-test-ulps: Update.
6891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6892
6893 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6894
6895         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6897         and strcspn-ppc64 objects.
6898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6899         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6900         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6901         multiarch strcspn for POWER7.
6902         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6903         multiarch strcspn for PPC64.
6904         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6905         ifunc selector.
6906         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6907         strcspn for POWER7.
6908
6909 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6910
6911         * math/gen-libm-test.pl (generate_testfile): Expect only function
6912         name as argument to AUTO_TESTS_* and pass results for all rounding
6913         modes to parse_args.
6914         (parse_auto_input): Separate inputs of automatic tests from
6915         outputs before storing in %auto_tests.
6916         * math/libm-test.inc (acos_test_data): Update call to
6917         AUTO_TESTS_f_f.
6918         (acos_test): Use ALL_RM_TEST.
6919         (acos_tonearest_test_data): Remove.
6920         (acos_test_tonearest): Likewise.
6921         (acos_towardzero_test_data): Likewise.
6922         (acos_test_towardzero): Likewise.
6923         (acos_downward_test_data): Likewise.
6924         (acos_test_downward): Likewise.
6925         (acos_upward_test_data): Likewise.
6926         (acos_test_upward): Likewise.
6927         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6928         (asin_test_data): Likewise.
6929         (asin_test): Use ALL_RM_TEST.
6930         (asin_tonearest_test_data): Remove.
6931         (asin_test_tonearest): Likewise.
6932         (asin_towardzero_test_data): Likewise.
6933         (asin_test_towardzero): Likewise.
6934         (asin_downward_test_data): Likewise.
6935         (asin_test_downward): Likewise.
6936         (asin_upward_test_data): Likewise.
6937         (asin_test_upward): Likewise.
6938         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6939         (atan_test_data): Likewise.
6940         (atanh_test_data): Likewise.
6941         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6942         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6943         (carg_test_data): Likewise.
6944         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6945         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6946         (ccosh_test_data): Likewise.
6947         (cexp_test_data): Likewise.
6948         (clog_test_data): Likewise.
6949         (clog10_test_data): Likewise.
6950         (cos_test_data): Update call to AUTO_TESTS_f_f.
6951         (cos_test): Use ALL_RM_TEST.
6952         (cos_tonearest_test_data): Remove.
6953         (cos_test_tonearest): Likewise.
6954         (cos_towardzero_test_data): Likewise.
6955         (cos_test_towardzero): Likewise.
6956         (cos_downward_test_data): Likewise.
6957         (cos_test_downward): Likewise.
6958         (cos_upward_test_data): Likewise.
6959         (cos_test_upward): Likewise.
6960         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6961         (cosh_test): Use ALL_RM_TEST.
6962         (cosh_tonearest_test_data): Remove.
6963         (cosh_test_tonearest): Likewise.
6964         (cosh_towardzero_test_data): Likewise.
6965         (cosh_test_towardzero): Likewise.
6966         (cosh_downward_test_data): Likewise.
6967         (cosh_test_downward): Likewise.
6968         (cosh_upward_test_data): Likewise.
6969         (cosh_test_upward): Likewise.
6970         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6971         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6972         (ctan_test_data): Likewise.
6973         (ctan_test): Use ALL_RM_TEST.
6974         (ctan_tonearest_test_data): Remove.
6975         (ctan_test_tonearest): Likewise.
6976         (ctan_towardzero_test_data): Likewise.
6977         (ctan_test_towardzero): Likewise.
6978         (ctan_downward_test_data): Likewise.
6979         (ctan_test_downward): Likewise.
6980         (ctan_upward_test_data): Likewise.
6981         (ctan_test_upward): Likewise.
6982         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6983         (ctanh_test): Use ALL_RM_TEST.
6984         (ctanh_tonearest_test_data): Remove.
6985         (ctanh_test_tonearest): Likewise.
6986         (ctanh_towardzero_test_data): Likewise.
6987         (ctanh_test_towardzero): Likewise.
6988         (ctanh_downward_test_data): Likewise.
6989         (ctanh_test_downward): Likewise.
6990         (ctanh_upward_test_data): Likewise.
6991         (ctanh_test_upward): Likewise.
6992         (erf_test_data): Update call to AUTO_TESTS_f_f.
6993         (erfc_test_data): Likewise.
6994         (exp_test_data): Likewise.
6995         (exp_test): Use ALL_RM_TEST.
6996         (exp_tonearest_test_data): Remove.
6997         (exp_test_tonearest): Likewise.
6998         (exp_towardzero_test_data): Likewise.
6999         (exp_test_towardzero): Likewise.
7000         (exp_downward_test_data): Likewise.
7001         (exp_test_downward): Likewise.
7002         (exp_upward_test_data): Likewise.
7003         (exp_test_upward): Likewise.
7004         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7005         (exp10_test): Use ALL_RM_TEST.
7006         (exp10_tonearest_test_data): Remove.
7007         (exp10_test_tonearest): Likewise.
7008         (exp10_towardzero_test_data): Likewise.
7009         (exp10_test_towardzero): Likewise.
7010         (exp10_downward_test_data): Likewise.
7011         (exp10_test_downward): Likewise.
7012         (exp10_upward_test_data): Likewise.
7013         (exp10_test_upward): Likewise.
7014         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7015         (expm1_test_data): Likewise.
7016         (expm1_test): Use ALL_RM_TEST.
7017         (expm1_tonearest_test_data): Remove.
7018         (expm1_test_tonearest): Likewise.
7019         (expm1_towardzero_test_data): Likewise.
7020         (expm1_test_towardzero): Likewise.
7021         (expm1_downward_test_data): Likewise.
7022         (expm1_test_downward): Likewise.
7023         (expm1_upward_test_data): Likewise.
7024         (expm1_test_upward): Likewise.
7025         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7026         (fma_test): Use ALL_RM_TEST.
7027         (fma_towardzero_test_data): Remove.
7028         (fma_test_towardzero): Likewise.
7029         (fma_downward_test_data): Likewise.
7030         (fma_test_downward): Likewise.
7031         (fma_upward_test_data): Likewise.
7032         (fma_test_upward): Likewise.
7033         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7034         (j0_test_data): Update call to AUTO_TESTS_f_f.
7035         (j1_test_data): Likewise.
7036         (jn_test_data): Update call to AUTO_TESTS_if_f.
7037         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7038         (log_test_data): Update call to AUTO_TESTS_f_f.
7039         (log10_test_data): Likewise.
7040         (log1p_test_data): Likewise.
7041         (log2_test_data): Likewise.
7042         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7043         (pow_tonearest_test_data): Likewise.
7044         (sin_test_data): Update call to AUTO_TESTS_f_f.
7045         (sin_test): Use ALL_RM_TEST.
7046         (sin_tonearest_test_data): Remove.
7047         (sin_test_tonearest): Likewise.
7048         (sin_towardzero_test_data): Likewise.
7049         (sin_test_towardzero): Likewise.
7050         (sin_downward_test_data): Likewise.
7051         (sin_test_downward): Likewise.
7052         (sin_upward_test_data): Likewise.
7053         (sin_test_upward): Likewise.
7054         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7055         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7056         (sinh_test): Use ALL_RM_TEST.
7057         (sinh_tonearest_test_data): Remove.
7058         (sinh_test_tonearest): Likewise.
7059         (sinh_towardzero_test_data): Likewise.
7060         (sinh_test_towardzero): Likewise.
7061         (sinh_downward_test_data): Likewise.
7062         (sinh_test_downward): Likewise.
7063         (sinh_upward_test_data): Likewise.
7064         (sinh_test_upward): Likewise.
7065         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7066         (sqrt_test): Use ALL_RM_TEST.
7067         (sqrt_tonearest_test_data): Remove.
7068         (sqrt_test_tonearest): Likewise.
7069         (sqrt_towardzero_test_data): Likewise.
7070         (sqrt_test_towardzero): Likewise.
7071         (sqrt_downward_test_data): Likewise.
7072         (sqrt_test_downward): Likewise.
7073         (sqrt_upward_test_data): Likewise.
7074         (sqrt_test_upward): Likewise.
7075         (tan_test_data): Update call to AUTO_TESTS_f_f.
7076         (tan_test): Use ALL_RM_TEST.
7077         (tan_tonearest_test_data): Remove.
7078         (tan_test_tonearest): Likewise.
7079         (tan_towardzero_test_data): Likewise.
7080         (tan_test_towardzero): Likewise.
7081         (tan_downward_test_data): Likewise.
7082         (tan_test_downward): Likewise.
7083         (tan_upward_test_data): Likewise.
7084         (tan_test_upward): Likewise.
7085         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7086         (tgamma_test_data): Likewise.
7087         (y0_test_data): Likewise.
7088         (y1_test_data): Likewise.
7089         (yn_test_data): Update call to AUTO_TESTS_if_f.
7090         (main): Do not call removed functions.
7091
7092 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7093
7094         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7095         (ldexp_test_data): Remove.
7096         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7097         scalbn_test_data.
7098         (scalb_test): Use ALL_RM_TEST.
7099
7100 2014-03-19  Andreas Schwab  <schwab@suse.de>
7101
7102         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7103
7104 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7105
7106         [BZ #16649]
7107         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7108         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7109         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7110         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7111         (__ASSUME_PREADV): Undefine.
7112         (__ASSUME_PWRITEV): Likewise.
7113
7114 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7115
7116         * bits/mman-linux.h: Add comment about non-Linux use.
7117         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7118         bits/mman-linux.h resting place.
7119
7120         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7121         * bits/mman-linux.h: ... here.
7122
7123 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7124
7125         * conform/conformtest.pl: Add standard definition when calling C
7126         preprocessor on data files.
7127         (checknamespace): Remove unused variable.
7128
7129 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7130
7131         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7132         minus_oflow, plus_uflow and minus_uflow in expected results.
7133         * math/libm-test.inc (scalbn_test_data): Add more tests of
7134         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7135         minus_uflow.
7136         (scalbn_test): Use ALL_RM_TEST.
7137         (scalbln_test_data): Add more tests of negative arguments.  Use
7138         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7139         (scalbln_test): Use ALL_RM_TEST.
7140
7141 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7142
7143         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7144
7145 2014-03-18  Will Newton  <will.newton@linaro.org>
7146
7147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7148         inaccurate comment.
7149
7150 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7151
7152         * Makerules [!subdir] (check-abi): Exit with error status if a
7153         test failed.
7154
7155 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7156
7157         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7158         for rint.  Include results for all rounding modes.
7159         (nearbyint_test): Use ALL_RM_TEST.
7160         (rint_test_data): Include all tests used for nearbyint.
7161
7162 2014-03-17  Will Newton  <will.newton@linaro.org>
7163
7164         * nptl/sysdeps/pthread/pthread.h: Revert previous
7165         change.
7166
7167         * sysdeps/generic/ldsodefs.h: Revert previous
7168         change.
7169
7170         * libio/genops.c: Revert previous change.
7171         * libio/libioP.h: Likewise.
7172         * stdio-common/vfprintf.c: Likewise.
7173
7174         * sysdeps/generic/math_private.h: Revert previous
7175         change.
7176
7177         * sysdeps/generic/math_private.h: Check whether
7178         HAVE_RM_CTX is defined with #ifdef rather
7179         than #if.
7180
7181         * argp/argp-fmtstream.h: Check whether
7182         __STRICT_ANSI__ is defined with #ifdef rather
7183         than #if.
7184         * argp/argp.h: Likewise.
7185
7186         * libio/genops.c: Check whether
7187         _IO_JUMPS_OFFSET is defined with #ifdef rather
7188         than #if.
7189         * libio/libioP.h: Likewise.
7190         * stdio-common/vfprintf.c: Likewise.
7191
7192         * sysdeps/generic/ldsodefs.h: Check whether
7193         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7194         than #if.
7195
7196         * nptl/sysdeps/pthread/pthread.h: Check
7197         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7198         its value.
7199
7200 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7201
7202         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7203         setting O_APPEND.
7204         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7205         test case.
7206
7207         [BZ #16680]
7208         * libio/fileops.c (_IO_file_open): Seek to end of file but
7209         don't cache the offset.
7210         (get_file_offset): Remove function.
7211         (do_ftell): Use cached offset when available.
7212         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7213         don't cache the offset.
7214         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7215         case.
7216         (do_one_test): Call it.
7217         (do_ftell_test): Fix up expected old offset for a+ mode.
7218         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7219         available.
7220
7221         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7222         up test status with function return status.
7223         (do_write_test): Likewise.
7224         (do_append_test): Likewise.
7225
7226         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7227         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7228         Remove.
7229
7230 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7231
7232         * math/gen-libm-test.pl (parse_args): Handle results specified for
7233         each rounding mode separately.
7234         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7235         tests and results from lrint_tonearest_test_data,
7236         lrint_towardzero_test_data, lrint_downward_test_data and
7237         lrint_upward_test_data.
7238         (lrint_test): Use ALL_RM_TEST.
7239         (lrint_tonearest_test_data): Remove.
7240         (lrint_test_tonearest): Likewise.
7241         (lrint_towardzero_test_data): Likewise.
7242         (lrint_test_towardzero): Likewise.
7243         (lrint_downward_test_data): Likewise.
7244         (lrint_test_downward): Likewise.
7245         (lrint_upward_test_data): Likewise.
7246         (lrint_test_upward): Likewise.
7247         (llrint_test_data): Merge in per-rounding-mode tests and results
7248         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7249         llrint_downward_test_data and llrint_upward_test_data.
7250         (llrint_test): Use ALL_RM_TEST.
7251         (llrint_tonearest_test_data): Remove.
7252         (llrint_test_tonearest): Likewise.
7253         (llrint_towardzero_test_data): Likewise.
7254         (llrint_test_towardzero): Likewise.
7255         (llrint_downward_test_data): Likewise.
7256         (llrint_test_downward): Likewise.
7257         (llrint_upward_test_data): Likewise.
7258         (llrint_test_upward): Likewise.
7259         (rint_test_data): Merge in per-rounding-mode tests and results
7260         from rint_tonearest_test_data, rint_towardzero_test_data,
7261         rint_downward_test_data and rint_upward_test_data.  Add
7262         per-rounding-mode results for tests not in those arrays.
7263         (rint_test): Use ALL_RM_TEST.
7264         (rint_tonearest_test_data): Remove.
7265         (rint_test_tonearest): Likewise.
7266         (rint_towardzero_test_data): Likewise.
7267         (rint_test_towardzero): Likewise.
7268         (rint_downward_test_data): Likewise.
7269         (rint_test_downward): Likewise.
7270         (rint_upward_test_data): Likewise.
7271         (rint_test_upward): Likewise.
7272         (main): Don't call removed functions.
7273
7274 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7275
7276         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7277         "Compiled on ..." crapola.  It is anti-useful.
7278
7279 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7280
7281         * scripts/evaluate-test.sh: Handle fourth argument to determine
7282         whether test run should stop on failure.
7283         * Makeconfig (stop-on-test-failure): New variable.
7284         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7285         $(stop-on-test-failure).
7286         * Makefile (tests): Give a summary of results from testing and
7287         exit with failure status if they include an ERROR or FAIL.
7288         (xtests): Likewise.
7289         * manual/install.texi (Configuring and compiling): Mention
7290         stop-on-test-failure=y.
7291         * INSTALL: Regenerated.
7292
7293 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7294
7295         * scripts/versionlist.awk: New file.
7296         * Makerules [$(build-shared) = yes]
7297         (postclean-generated): Add Versions.def, not Versions.def.v and
7298         Versions.def.v.i.
7299         ($(common-objpfx)Versions.def.v.i): Target removed.
7300         ($(common-objpfx)Versions.def): New target.
7301         ($(common-objpfx)Versions.all): Depend on that rather that
7302         $(common-objpfx)Versions.def.v.
7303         * Versions.def: File removed.
7304
7305         * Makeconfig (+gccwarn): Add -Wundef.
7306         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7307         a dl-sysdep.h breaking its contract.
7308         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7309         * include/stackinfo.h: New file.
7310         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7311         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7312         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7313         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7314         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7315         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7316         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7317         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7318         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7319         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7320         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7321         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7322         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7323         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7324         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7325
7326 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7327
7328         [BZ #16707]
7329         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7330         implementation.
7331         * math/libm-test.inc (round_test_data): Add more tests.
7332
7333         [BZ #16706]
7334         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7335         implementation.
7336         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7337
7338         [BZ #16701]
7339         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7340         implementation.
7341         * math/libm-test.inc (ceil_test_data): Add more tests.
7342
7343         * math/libm-test.inc (trunc_test_data): Add more tests related to
7344         BZ#16414.
7345
7346 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7347
7348         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7349         with #if rather than #ifdef.
7350         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7351
7352 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7353
7354         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7355         first.  Disable AVX-512 GCC support if assembler doesn't support
7356         it.
7357         * sysdeps/x86_64/configure: Regenerated.
7358
7359 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7360
7361         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7362         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7363         (__old_pthread_attr_setstack): Likewise.
7364         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7365         [!_STACK_GROWS_DOWN]: Likewise.
7366
7367 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7368
7369         * config.make.in (have-bash2): Delete.
7370         * configure.ac (libc_cv_have_bash2): Delete.
7371         * configure: Regenerate.
7372         * elf/Makefile (common-ldd-rewrite): Rename to ...
7373         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7374         (sh-ldd-rewrite): Delete.
7375         (bash-ldd-rewrite): Delete.
7376         (have-bash2): Delete checks.
7377         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7378         ldd-rewrite.
7379
7380         * config.make.in (have-ksh): Delete.
7381         (KSH): Delete.
7382         * configure.ac (libc_cv_have_ksh): Delete.
7383         * configure: Regenerate.
7384
7385         * elf/Makefile: Delete $(have-ksh) check.
7386         ($(objpfx)sotruss): Change KSH to BASH.
7387         * elf/sotruss.ksh: Rename to ...
7388         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7389         function style to match POSIX.  Drop ksh vim mode setting.
7390
7391         * manual/time.texi (Specifying the Time Zone with TZ): Change
7392         Tuesday to Thursday.
7393
7394         * debug/tst-longjmp_chk2.c: Update header comment.
7395         (stackoverflow_handler): Add comment.  Call assert on pass value.
7396
7397 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7398
7399         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7400         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7401         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7402         (La_x86_64_vector): Add zmm.
7403         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7404         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7405         ($(objpfx)tst-audit10): New target.
7406         ($(objpfx)tst-audit10.out): Likewise.
7407         (tst-audit10-ENV): New.
7408         (AVX512-CFLAGS): Likewise.
7409         (CFLAGS-tst-audit10.c): Likewise.
7410         (CFLAGS-tst-auditmod10a.c): Likewise.
7411         (CFLAGS-tst-auditmod10b.c): Likewise.
7412         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7413         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7414         * sysdeps/x86_64/configure: Regenerated.
7415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7416         AVX-512 zmm register support.
7417         (_dl_x86_64_save_sse): Likewise.
7418         (_dl_x86_64_restore_sse): Likewise.
7419         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7420         size vector registers.
7421         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7422         (ZMM_SIZE): Likewise.
7423         * sysdeps/x86_64/tst-audit10.c: New file.
7424         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7425         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7426
7427 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7428
7429         * configure.ac (HAVE_EHDR_START): New check.
7430         * configure: Regenerated.
7431         * config.h.in (HAVE_EHDR_START): New #undef.
7432         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7433         assuming the lowest-addressed segment maps the start of the file.
7434
7435 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7436
7437         * INSTALL: Regenerated.
7438
7439 2014-03-13  Will Newton  <will.newton@linaro.org>
7440
7441         * manual/setjmp.texi (System V contexts): Improve
7442         clarity and grammar of documentation.
7443
7444 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7445
7446         [BZ #16381]
7447         * elf/Makefile (tests): Add tst-pie2.
7448         (tests-pie): Add tst-pie2.
7449         * elf/tst-pie2.c: New file.
7450         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7451         for ET_EXEC.
7452         * elf/rtld.c (map_doit): Load executable as lt_executable.
7453         (dl_main): Likewise.
7454
7455 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7456
7457         [BZ #16642]
7458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7459         (__ASSUME_PSELECT): Undefine.
7460
7461 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7462
7463         [BZ #16689]
7464         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7465         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7466         static build.
7467         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7468         selector for static builds.
7469
7470 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7471
7472         [BZ #16695]
7473         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7474         key in the buffer.
7475
7476 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7477
7478         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7479         IFUNC selector for static builds.
7480
7481 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7482
7483         * sysdeps/mips/math_private.h [__mips_hard_float]
7484         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7485         libc_feresetround_mips_ctx.
7486         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7487         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7488         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7489
7490         [BZ #16677]
7491         * math/s_nextafter.c (__nextafter): Do not return value from
7492         overflowing computation.
7493         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7494         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7495         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7496         Likewise.
7497         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7498         Likewise.
7499         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7500         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7501
7502 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7503
7504         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7505         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7506         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7507         the new mov targetting sp.
7508
7509 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7510
7511         [BZ #16683]
7512         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7513         Define it for static builds as well.
7514         (NO_BZERO_IMPL): Likewise.
7515
7516 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7517
7518         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7519         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7520         multiarch strspn for PPC64.
7521         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7522         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7524         (__libc_ifunc_impl_list): Likewise.
7525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7526         multiarch optimizations
7527         * string/strspn.c (strspn): Using macro to redefine symbol name.
7528
7529 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7530             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7531
7532         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7533         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7534         multiarch strncat for PPC64.
7535         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7536         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7538         (__libc_ifunc_impl_list): Likewise.
7539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7540         multiarch optimizations
7541
7542 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7543
7544         [BZ #16639]
7545         * nscd/nscd.service: Make service type forking.
7546
7547 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7548
7549         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7550         sign in non default rounding modes.
7551         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7552
7553 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7554
7555         * math/libm-test.inc (ALL_RM_TEST): New macro.
7556         (ceil_test): Use ALL_RM_TEST.
7557         (cimag_test): Likewise.
7558         (conj_test): Likewise.
7559         (copysign_test): Likewise.
7560         (cproj_test): Likewise.
7561         (creal_test): Likewise.
7562         (fabs_test): Likewise.
7563         (floor_test): Likewise.
7564         (fmax_test): Likewise.
7565         (fmin_test): Likewise.
7566         (fmod_test): Likewise.
7567         (fpclassify_test): Likewise.
7568         (frexp_test): Likewise.
7569         (ilogb_test): Likewise.
7570         (isfinite_test): Likewise.
7571         (finite_test): Likewise.
7572         (isgreater_test): Likewise.
7573         (isgreaterequal_test): Likewise.
7574         (isinf_test): Likewise.
7575         (isless_test): Likewise.
7576         (islessequal_test): Likewise.
7577         (islessgreater_test): Likewise.
7578         (isnan_test): Likewise.
7579         (isnormal_test): Likewise.
7580         (issignaling_test): Likewise.
7581         (isunordered_test): Likewise.
7582         (logb_test): Likewise.
7583         (logb_downward_test_data): Remove.
7584         (logb_test_downward): Likewise.
7585         (lround_test): Use ALL_RM_TEST.
7586         (llround_test): Likewise.
7587         (modf_test): Likewise.
7588         (nexttoward_test): Likewise.
7589         (remainder_test): Likewise.
7590         (drem_test): Likewise.
7591         (remainder_tonearest_test_data): Likewise.
7592         (remainder_test_tonearest): Likewise.
7593         (drem_test_tonearest): Likewise.
7594         (remainder_towardzero_test_data): Likewise.
7595         (remainder_test_towardzero): Likewise.
7596         (drem_test_towardzero): Likewise.
7597         (remainder_downward_test_data): Likewise.
7598         (remainder_test_downward): Likewise.
7599         (drem_test_downward): Likewise.
7600         (remainder_upward_test_data): Likewise.
7601         (remainder_test_upward): Likewise.
7602         (drem_test_upward): Likewise.
7603         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7604         (round_test): Use ALL_RM_TEST.
7605         (signbit_test): Likewise.
7606         (trunc_test): Likewise.
7607         (significand_test): Likewise.
7608         (main): Don't call removed functions.
7609
7610 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7611
7612         [BZ #16674]
7613         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7614         || __USE_XOPEN2K8].
7615         (ILL_ILLOPN): Likewise.
7616         (ILL_ILLADR): Likewise.
7617         (ILL_ILLTRP): Likewise.
7618         (ILL_PRVOPC): Likewise.
7619         (ILL_PRVREG): Likewise.
7620         (ILL_COPROC): Likewise.
7621         (ILL_BADSTK): Likewise.
7622         (FPE_INTDIV): Likewise.
7623         (FPE_INTOVF): Likewise.
7624         (FPE_FLTDIV): Likewise.
7625         (FPE_FLTOVF): Likewise.
7626         (FPE_FLTUND): Likewise.
7627         (FPE_FLTRES): Likewise.
7628         (FPE_FLTINV): Likewise.
7629         (FPE_FLTSUB): Likewise.
7630         (SEGV_MAPERR): Likewise.
7631         (SEGV_ACCERR): Likewise.
7632         (BUS_ADRALN): Likewise.
7633         (BUS_ADRERR): Likewise.
7634         (BUS_OBJERR): Likewise.
7635         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7636         (TRAP_TRACE): Likewise.
7637         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7638         __USE_XOPEN2K8].
7639         (CLD_KILLED): Likewise.
7640         (CLD_DUMPED): Likewise.
7641         (CLD_TRAPPED): Likewise.
7642         (CLD_STOPPED): Likewise.
7643         (CLD_CONTINUED): Likewise.
7644         (POLL_IN): Likewise.
7645         (POLL_OUT): Likewise.
7646         (POLL_MSG): Likewise.
7647         (POLL_ERR): Likewise.
7648         (POLL_PRI): Likewise.
7649         (POLL_HUP): Likewise.
7650         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7651         Likewise.
7652         (ILL_ILLOPN): Likewise.
7653         (ILL_ILLADR): Likewise.
7654         (ILL_ILLTRP): Likewise.
7655         (ILL_PRVOPC): Likewise.
7656         (ILL_PRVREG): Likewise.
7657         (ILL_COPROC): Likewise.
7658         (ILL_BADSTK): Likewise.
7659         (FPE_INTDIV): Likewise.
7660         (FPE_INTOVF): Likewise.
7661         (FPE_FLTDIV): Likewise.
7662         (FPE_FLTOVF): Likewise.
7663         (FPE_FLTUND): Likewise.
7664         (FPE_FLTRES): Likewise.
7665         (FPE_FLTINV): Likewise.
7666         (FPE_FLTSUB): Likewise.
7667         (SEGV_MAPERR): Likewise.
7668         (SEGV_ACCERR): Likewise.
7669         (BUS_ADRALN): Likewise.
7670         (BUS_ADRERR): Likewise.
7671         (BUS_OBJERR): Likewise.
7672         (BUS_MCEERR_AR): Likewise.
7673         (BUS_MCEERR_AO): Likewise.
7674         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7675         (TRAP_TRACE): Likewise.
7676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7677         __USE_XOPEN2K8].
7678         (CLD_KILLED): Likewise.
7679         (CLD_DUMPED): Likewise.
7680         (CLD_TRAPPED): Likewise.
7681         (CLD_STOPPED): Likewise.
7682         (CLD_CONTINUED): Likewise.
7683         (POLL_IN): Likewise.
7684         (POLL_OUT): Likewise.
7685         (POLL_MSG): Likewise.
7686         (POLL_ERR): Likewise.
7687         (POLL_PRI): Likewise.
7688         (POLL_HUP): Likewise.
7689         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7690         (ILL_ILLOPN): Likewise.
7691         (ILL_ILLADR): Likewise.
7692         (ILL_ILLTRP): Likewise.
7693         (ILL_PRVOPC): Likewise.
7694         (ILL_PRVREG): Likewise.
7695         (ILL_COPROC): Likewise.
7696         (ILL_BADSTK): Likewise.
7697         (FPE_INTDIV): Likewise.
7698         (FPE_INTOVF): Likewise.
7699         (FPE_FLTDIV): Likewise.
7700         (FPE_FLTOVF): Likewise.
7701         (FPE_FLTUND): Likewise.
7702         (FPE_FLTRES): Likewise.
7703         (FPE_FLTINV): Likewise.
7704         (FPE_FLTSUB): Likewise.
7705         (SEGV_MAPERR): Likewise.
7706         (SEGV_ACCERR): Likewise.
7707         (BUS_ADRALN): Likewise.
7708         (BUS_ADRERR): Likewise.
7709         (BUS_OBJERR): Likewise.
7710         (BUS_MCEERR_AR): Likewise.
7711         (BUS_MCEERR_AO): Likewise.
7712         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7713         (TRAP_TRACE): Likewise.
7714         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7715         __USE_XOPEN2K8].
7716         (CLD_KILLED): Likewise.
7717         (CLD_DUMPED): Likewise.
7718         (CLD_TRAPPED): Likewise.
7719         (CLD_STOPPED): Likewise.
7720         (CLD_CONTINUED): Likewise.
7721         (POLL_IN): Likewise.
7722         (POLL_OUT): Likewise.
7723         (POLL_MSG): Likewise.
7724         (POLL_ERR): Likewise.
7725         (POLL_PRI): Likewise.
7726         (POLL_HUP): Likewise.
7727         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7728         Likewise.
7729         (ILL_ILLOPN): Likewise.
7730         (ILL_ILLADR): Likewise.
7731         (ILL_ILLTRP): Likewise.
7732         (ILL_PRVOPC): Likewise.
7733         (ILL_PRVREG): Likewise.
7734         (ILL_COPROC): Likewise.
7735         (ILL_BADSTK): Likewise.
7736         (ILL_BADIADDR): Likewise.
7737         (ILL_BREAK): Likewise.
7738         (FPE_INTDIV): Likewise.
7739         (FPE_INTOVF): Likewise.
7740         (FPE_FLTDIV): Likewise.
7741         (FPE_FLTOVF): Likewise.
7742         (FPE_FLTUND): Likewise.
7743         (FPE_FLTRES): Likewise.
7744         (FPE_FLTINV): Likewise.
7745         (FPE_FLTSUB): Likewise.
7746         (FPE_DECOVF): Likewise.
7747         (FPE_DECDIV): Likewise.
7748         (FPE_DECERR): Likewise.
7749         (FPE_INVASC): Likewise.
7750         (FPE_INVDEC): Likewise.
7751         (SEGV_MAPERR): Likewise.
7752         (SEGV_ACCERR): Likewise.
7753         (SEGV_PSTKOVF): Likewise.
7754         (BUS_ADRALN): Likewise.
7755         (BUS_ADRERR): Likewise.
7756         (BUS_OBJERR): Likewise.
7757         (BUS_MCEERR_AR): Likewise.
7758         (BUS_MCEERR_AO): Likewise.
7759         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7760         (TRAP_TRACE): Likewise.
7761         (TRAP_BRANCH): Likewise.
7762         (TRAP_HWBKPT): Likewise.
7763         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7764         __USE_XOPEN2K8].
7765         (CLD_KILLED): Likewise.
7766         (CLD_DUMPED): Likewise.
7767         (CLD_TRAPPED): Likewise.
7768         (CLD_STOPPED): Likewise.
7769         (CLD_CONTINUED): Likewise.
7770         (POLL_IN): Likewise.
7771         (POLL_OUT): Likewise.
7772         (POLL_MSG): Likewise.
7773         (POLL_ERR): Likewise.
7774         (POLL_PRI): Likewise.
7775         (POLL_HUP): Likewise.
7776         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7777         (ILL_ILLOPN): Likewise.
7778         (ILL_ILLADR): Likewise.
7779         (ILL_ILLTRP): Likewise.
7780         (ILL_PRVOPC): Likewise.
7781         (ILL_PRVREG): Likewise.
7782         (ILL_COPROC): Likewise.
7783         (ILL_BADSTK): Likewise.
7784         (FPE_INTDIV): Likewise.
7785         (FPE_INTOVF): Likewise.
7786         (FPE_FLTDIV): Likewise.
7787         (FPE_FLTOVF): Likewise.
7788         (FPE_FLTUND): Likewise.
7789         (FPE_FLTRES): Likewise.
7790         (FPE_FLTINV): Likewise.
7791         (FPE_FLTSUB): Likewise.
7792         (SEGV_MAPERR): Likewise.
7793         (SEGV_ACCERR): Likewise.
7794         (BUS_ADRALN): Likewise.
7795         (BUS_ADRERR): Likewise.
7796         (BUS_OBJERR): Likewise.
7797         (BUS_MCEERR_AR): Likewise.
7798         (BUS_MCEERR_AO): Likewise.
7799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7800         (TRAP_TRACE): Likewise.
7801         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7802         __USE_XOPEN2K8].
7803         (CLD_KILLED): Likewise.
7804         (CLD_DUMPED): Likewise.
7805         (CLD_TRAPPED): Likewise.
7806         (CLD_STOPPED): Likewise.
7807         (CLD_CONTINUED): Likewise.
7808         (POLL_IN): Likewise.
7809         (POLL_OUT): Likewise.
7810         (POLL_MSG): Likewise.
7811         (POLL_ERR): Likewise.
7812         (POLL_PRI): Likewise.
7813         (POLL_HUP): Likewise.
7814         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7815         (ILL_ILLOPN): Likewise.
7816         (ILL_ILLADR): Likewise.
7817         (ILL_ILLTRP): Likewise.
7818         (ILL_PRVOPC): Likewise.
7819         (ILL_PRVREG): Likewise.
7820         (ILL_COPROC): Likewise.
7821         (ILL_BADSTK): Likewise.
7822         (FPE_INTDIV): Likewise.
7823         (FPE_INTOVF): Likewise.
7824         (FPE_FLTDIV): Likewise.
7825         (FPE_FLTOVF): Likewise.
7826         (FPE_FLTUND): Likewise.
7827         (FPE_FLTRES): Likewise.
7828         (FPE_FLTINV): Likewise.
7829         (FPE_FLTSUB): Likewise.
7830         (SEGV_MAPERR): Likewise.
7831         (SEGV_ACCERR): Likewise.
7832         (BUS_ADRALN): Likewise.
7833         (BUS_ADRERR): Likewise.
7834         (BUS_OBJERR): Likewise.
7835         (BUS_MCEERR_AR): Likewise.
7836         (BUS_MCEERR_AO): Likewise.
7837         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7838         (TRAP_TRACE): Likewise.
7839         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7840         __USE_XOPEN2K8].
7841         (CLD_KILLED): Likewise.
7842         (CLD_DUMPED): Likewise.
7843         (CLD_TRAPPED): Likewise.
7844         (CLD_STOPPED): Likewise.
7845         (CLD_CONTINUED): Likewise.
7846         (POLL_IN): Likewise.
7847         (POLL_OUT): Likewise.
7848         (POLL_MSG): Likewise.
7849         (POLL_ERR): Likewise.
7850         (POLL_PRI): Likewise.
7851         (POLL_HUP): Likewise.
7852         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7853         (ILL_ILLOPN): Likewise.
7854         (ILL_ILLADR): Likewise.
7855         (ILL_ILLTRP): Likewise.
7856         (ILL_PRVOPC): Likewise.
7857         (ILL_PRVREG): Likewise.
7858         (ILL_COPROC): Likewise.
7859         (ILL_BADSTK): Likewise.
7860         (FPE_INTDIV): Likewise.
7861         (FPE_INTOVF): Likewise.
7862         (FPE_FLTDIV): Likewise.
7863         (FPE_FLTOVF): Likewise.
7864         (FPE_FLTUND): Likewise.
7865         (FPE_FLTRES): Likewise.
7866         (FPE_FLTINV): Likewise.
7867         (FPE_FLTSUB): Likewise.
7868         (SEGV_MAPERR): Likewise.
7869         (SEGV_ACCERR): Likewise.
7870         (BUS_ADRALN): Likewise.
7871         (BUS_ADRERR): Likewise.
7872         (BUS_OBJERR): Likewise.
7873         (BUS_MCEERR_AR): Likewise.
7874         (BUS_MCEERR_AO): Likewise.
7875         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7876         (TRAP_TRACE): Likewise.
7877         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7878         __USE_XOPEN2K8].
7879         (CLD_KILLED): Likewise.
7880         (CLD_DUMPED): Likewise.
7881         (CLD_TRAPPED): Likewise.
7882         (CLD_STOPPED): Likewise.
7883         (CLD_CONTINUED): Likewise.
7884         (POLL_IN): Likewise.
7885         (POLL_OUT): Likewise.
7886         (POLL_MSG): Likewise.
7887         (POLL_ERR): Likewise.
7888         (POLL_PRI): Likewise.
7889         (POLL_HUP): Likewise.
7890         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7891         (ILL_ILLOPN): Likewise.
7892         (ILL_ILLADR): Likewise.
7893         (ILL_ILLTRP): Likewise.
7894         (ILL_PRVOPC): Likewise.
7895         (ILL_PRVREG): Likewise.
7896         (ILL_COPROC): Likewise.
7897         (ILL_BADSTK): Likewise.
7898         (ILL_DBLFLT): Likewise.
7899         (ILL_HARDWALL): Likewise.
7900         (FPE_INTDIV): Likewise.
7901         (FPE_INTOVF): Likewise.
7902         (FPE_FLTDIV): Likewise.
7903         (FPE_FLTOVF): Likewise.
7904         (FPE_FLTUND): Likewise.
7905         (FPE_FLTRES): Likewise.
7906         (FPE_FLTINV): Likewise.
7907         (FPE_FLTSUB): Likewise.
7908         (SEGV_MAPERR): Likewise.
7909         (SEGV_ACCERR): Likewise.
7910         (BUS_ADRALN): Likewise.
7911         (BUS_ADRERR): Likewise.
7912         (BUS_OBJERR): Likewise.
7913         (BUS_MCEERR_AR): Likewise.
7914         (BUS_MCEERR_AO): Likewise.
7915         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7916         (TRAP_TRACE): Likewise.
7917         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7918         __USE_XOPEN2K8].
7919         (CLD_KILLED): Likewise.
7920         (CLD_DUMPED): Likewise.
7921         (CLD_TRAPPED): Likewise.
7922         (CLD_STOPPED): Likewise.
7923         (CLD_CONTINUED): Likewise.
7924         (POLL_IN): Likewise.
7925         (POLL_OUT): Likewise.
7926         (POLL_MSG): Likewise.
7927         (POLL_ERR): Likewise.
7928         (POLL_PRI): Likewise.
7929         (POLL_HUP): Likewise.
7930         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7931         (ILL_ILLOPN): Likewise.
7932         (ILL_ILLADR): Likewise.
7933         (ILL_ILLTRP): Likewise.
7934         (ILL_PRVOPC): Likewise.
7935         (ILL_PRVREG): Likewise.
7936         (ILL_COPROC): Likewise.
7937         (ILL_BADSTK): Likewise.
7938         (FPE_INTDIV): Likewise.
7939         (FPE_INTOVF): Likewise.
7940         (FPE_FLTDIV): Likewise.
7941         (FPE_FLTOVF): Likewise.
7942         (FPE_FLTUND): Likewise.
7943         (FPE_FLTRES): Likewise.
7944         (FPE_FLTINV): Likewise.
7945         (FPE_FLTSUB): Likewise.
7946         (SEGV_MAPERR): Likewise.
7947         (SEGV_ACCERR): Likewise.
7948         (BUS_ADRALN): Likewise.
7949         (BUS_ADRERR): Likewise.
7950         (BUS_OBJERR): Likewise.
7951         (BUS_MCEERR_AR): Likewise.
7952         (BUS_MCEERR_AO): Likewise.
7953         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7954         (TRAP_TRACE): Likewise.
7955         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7956         __USE_XOPEN2K8].
7957         (CLD_KILLED): Likewise.
7958         (CLD_DUMPED): Likewise.
7959         (CLD_TRAPPED): Likewise.
7960         (CLD_STOPPED): Likewise.
7961         (CLD_CONTINUED): Likewise.
7962         (POLL_IN): Likewise.
7963         (POLL_OUT): Likewise.
7964         (POLL_MSG): Likewise.
7965         (POLL_ERR): Likewise.
7966         (POLL_PRI): Likewise.
7967         (POLL_HUP): Likewise.
7968         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7969         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7970
7971         [BZ #16670]
7972         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7973         before #include of <time.h>.
7974         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7975         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7976         (test-xfail-UNIX98/sched.h/conform): Likewise.
7977
7978 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7979
7980         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7981         error absence of trapping exception support.
7982         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7983
7984 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7985
7986         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7987         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7988         * timezone/Makefile (testdata): Move definition above include of
7989         Rules.
7990         (test-zones): New variable.
7991         (tests-special): Add zone files.
7992         (build-testdata): Use $(evaluate-test).
7993
7994         * elf/Makefile (tests-special): Rename tests to end with .out.
7995         ($(objpfx)noload-mem): Likewise.
7996         ($(objpfx)tst-leaks1-mem): Likewise.
7997         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7998         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7999         $(objpfx)test-iconvconfig.out.
8000         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8001         set -e inside subshell and redirect output to file.
8002         * iconvdata/Makefile (generated): Rename tests to end with .out.
8003         Correct type.
8004         (tests-special): Rename tests to end with .out.
8005         ($(objpfx)mtrace-tst-loading): Likewise.
8006         * intl/Makefile (generated): Likewise.
8007         (tests-special): Likewise.
8008         ($(objpfx)mtrace-tst-gettext): Likewise.
8009         * misc/Makefile (generated): Likewise.
8010         (tests-special): Likewise.
8011         ($(objpfx)tst-error1-mem): Likewise.
8012         * nptl/Makefile (tests-special): Likewise.
8013         ($(objpfx)tst-stack3-mem): Likewise.
8014         (generated): Likewise.
8015         * posix/Makefile (generated): Likewise.
8016         (tests-special): Likewise.
8017         (xtests-special): Likewise.
8018         ($(objpfx)tst-fnmatch-mem): Likewise.
8019         ($(objpfx)bug-regex2-mem): Likewise.
8020         ($(objpfx)bug-regex14-mem): Likewise.
8021         ($(objpfx)bug-regex21-mem): Likewise.
8022         ($(objpfx)bug-regex31-mem): Likewise.
8023         ($(objpfx)tst-vfork3-mem): Likewise.
8024         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8025         ($(objpfx)tst-pcre-mem): Likewise.
8026         ($(objpfx)tst-boost-mem): Likewise.
8027         ($(objpfx)bug-ga2-mem): Likewise.
8028         ($(objpfx)bug-glob2-mem): Likewise.
8029         * resolv/Makefile (generate): Likewise.
8030         (tests-special): Likewise.
8031         (xtests-special): Likewise.
8032         (generated): Likewise.
8033         ($(objpfx)mtrace-tst-leaks): Likewise.
8034         ($(objpfx)mtrace-tst-leaks2): Likewise.
8035
8036         * scripts/merge-test-results.sh: New file.
8037         * Makefile (tests-special-notdir): New variable.
8038         (tests): Run merge-test-results.sh.
8039         (xtests): Likewise.
8040         * Rules (tests-special-notdir): New variable.
8041         (xtests-special-notdir): Likewise.
8042         (tests): Run merge-test-results.sh
8043         (xtests): Likewise.
8044
8045         * Makeconfig (test-xfail-name): New variable.
8046         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8047         compute variable name for expected failures.
8048         * conform/Makefile (conformtest-headers-data): New variable.
8049         (conformtest-standards): Likewise.
8050         (conformtest-headers-ISO): Likewise.
8051         (conformtest-headers-ISO99): Likewise.
8052         (conformtest-headers-ISO11): Likewise.
8053         (conformtest-headers-POSIX): Likewise.
8054         (conformtest-headers-XPG3): Likewise.
8055         (conformtest-headers-XPG4): Likewise.
8056         (conformtest-headers-UNIX98): Likewise.
8057         (conformtest-headers-XOPEN2K): Likewise.
8058         (conformtest-headers-POSIX2008): Likewise.
8059         (conformtest-headers-XOPEN2K8): Likewise.
8060         (conformtest-header-list-base): Likewise.
8061         (conformtest-header-list-tests): Likewise.
8062         (conformtest-header-base): Likewise.
8063         (conformtest-header-tests): Likewise.
8064         (tests-special): Add $(conformtest-header-list-tests).  If
8065         [$(fast-check) && !$(cross-compiling)], add
8066         $(conformtest-header-tests) instead of
8067         $(objpfx)run-conformtest.out.
8068         (generated): Add $(conformtest-header-list-base).  If
8069         [$(fast-check) && !$(cross-compiling)], add
8070         $(conformtest-header-base).  Remove previous setting.
8071         ($(conformtest-header-list-tests)): New target.
8072         (test-xfail-run-conformtest): Remove variable.
8073         ($(objpfx)run-conformtest.out): Remove target.
8074         (test-xfail-ISO11/complex.h/conform): New variable.
8075         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8076         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8077         (test-xfail-XPG3/varargs.h/conform): Likewise.
8078         (test-xfail-XPG4/varargs.h/conform): Likewise.
8079         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8080         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8081         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8082         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8083         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8084         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8085         (test-xfail-XPG3/ftw.h/conform): Likewise.
8086         (test-xfail-XPG3/grp.h/conform): Likewise.
8087         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8088         (test-xfail-XPG3/limits.h/conform): Likewise.
8089         (test-xfail-XPG3/pwd.h/conform): Likewise.
8090         (test-xfail-XPG3/search.h/conform): Likewise.
8091         (test-xfail-XPG3/signal.h/conform): Likewise.
8092         (test-xfail-XPG3/stdio.h/conform): Likewise.
8093         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8094         (test-xfail-XPG3/string.h/conform): Likewise.
8095         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8096         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8097         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8098         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8099         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8100         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8101         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8102         (test-xfail-XPG3/termios.h/conform): Likewise.
8103         (test-xfail-XPG3/time.h/conform): Likewise.
8104         (test-xfail-XPG3/unistd.h/conform): Likewise.
8105         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8106         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8107         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8108         (test-xfail-XPG4/netdb.h/conform): Likewise.
8109         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8110         (test-xfail-XPG4/signal.h/conform): Likewise.
8111         (test-xfail-XPG4/stdio.h/conform): Likewise.
8112         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8113         (test-xfail-XPG4/stropts.h/conform): Likewise.
8114         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8115         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8116         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8117         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8118         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8119         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8120         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8121         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8122         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8123         (test-xfail-XPG4/termios.h/conform): Likewise.
8124         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8125         (test-xfail-XPG4/unistd.h/conform): Likewise.
8126         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8127         (test-xfail-POSIX/sched.h/conform): Likewise.
8128         (test-xfail-POSIX/signal.h/conform): Likewise.
8129         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8130         (test-xfail-POSIX/tar.h/conform): Likewise.
8131         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8132         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8133         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8134         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8135         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8136         (test-xfail-UNIX98/sched.h/conform): Likewise.
8137         (test-xfail-UNIX98/signal.h/conform): Likewise.
8138         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8139         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8140         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8141         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8142         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8143         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8144         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8145         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8146         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8147         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8148         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8149         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8150         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8151         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8152         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8153         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8154         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8155         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8156         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8157         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8158         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8159         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8160         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8161         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8162         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8163         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8164         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8165         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8166         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8167         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8168         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8169         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8170         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8171         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8172         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8173         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8174         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8175         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8176         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8177         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8178         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8179         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8180         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8181         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8182         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8183         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8184         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8185         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8186         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8187         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8188         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8189         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8190         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8191         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8192         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8193         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8194         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8195         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8196         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8197         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8198         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8199         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8200         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8201         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8202         (conformtest-cc-flags): Likewise.
8203         ($(conformtest-header-tests): New target.
8204         * conform/check-header-lists.sh: New file.
8205         * conform/run-conformtest.sh: Remove.
8206
8207         * conform/conformtest.pl: Allow ' and \ in values given for
8208         constants.
8209         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8210         inclusion.
8211         [POSIX] (sys/types.h): Likewise.
8212         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8213         inclusion.
8214         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8215         inclusion.
8216         * conform/data/signal.h-data (SIGIO): Remove expectation.
8217         [XPG3] (SIGBUS): Do not expect.
8218         [POSIX || XPG3] (SIGPOLL): Likewise.
8219         [POSIX || XPG3] (SIGPROF): Likewise.
8220         [POSIX || XPG3] (SIGSYS): Likewise.
8221         [XPG3] (SIGTRAP): Likewise.
8222         [POSIX || XPG3] (SIGURG): Likewise.
8223         [POSIX || XPG3] (SIGVTALRM): Likewise.
8224         [POSIX || XPG3] (SIGXCPU): Likewise.
8225         [POSIX || XPG3] (SIGXFSZ): Likewise.
8226         [POSIX] (SA_SIGINFO): Expect.
8227         [XPG3] (siginfo_t): Do not expect type or contents.
8228         [POSIX] (si_pid): Do not expect element.
8229         [POSIX] (si_uid): Likewise.
8230         [POSIX] (si_addr): Likewise.
8231         [POSIX] (si_status): Likewise.
8232         [POSIX] (si_band): Likewise.
8233         [XPG4] (si_value): Likewise.
8234         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8235         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8236         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8237         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8238         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8239         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8240         [POSIX || XPG3] (ILL_COPROC): Likewise.
8241         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8242         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8243         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8244         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8245         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8246         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8247         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8248         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8249         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8250         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8251         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8252         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8253         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8254         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8255         [POSIX || XPG3] (CLD_EXITED): Likewise.
8256         [POSIX || XPG3] (CLD_KILLED): Likewise.
8257         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8258         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8259         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8260         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8261         [POSIX || XPG3] (POLL_IN): Likewise.
8262         [POSIX || XPG3] (POLL_OUT): Likewise.
8263         [POSIX || XPG3] (POLL_MSG): Likewise.
8264         [POSIX || XPG3] (POLL_ERR): Likewise.
8265         [POSIX || XPG3] (POLL_PRI): Likewise.
8266         [POSIX || XPG3] (POLL_HUP): Likewise.
8267         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8268         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8269         (SIG*): Do not allow.
8270         [XPG3] (si_*): Likewise.
8271         [XPG3] (SI_*): Likewise.
8272         [XPG3 || XPG4] (sigev_*): Likewise.
8273         [XPG3 || XPG4] (SIGEV_*): Likewise.
8274         [XPG3 || XPG4] (sival_*): Likewise.
8275         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8276         [POSIX || XPG3] (BUS_*): Likewise.
8277         [POSIX || XPG3] (CLD_*): Likewise.
8278         [POSIX || XPG3] (FPE_*): Likewise.
8279         [POSIX || XPG3] (ILL_*): Likewise.
8280         [POSIX || XPG3] (POLL_*): Likewise.
8281         [POSIX || XPG3] (SEGV_*): Likewise.
8282         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8283         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8284         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8285         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8286         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8287         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8288         Specify type and value.
8289         (TVERSLEN): Likewise.
8290         (REGTYPE): Likewise.
8291         (AREGTYPE): Likewise.
8292         (LNKTYPE): Likewise.
8293         (SYMTYPE): Likewise.
8294         (CHRTYPE): Likewise.
8295         (BLKTYPE): Likewise.
8296         (DIRTYPE): Likewise.
8297         (FIFOTYPE): Likewise.
8298         (CONTTYPE): Likewise.
8299         (TSUID): Likewise.
8300         (TSGID): Likewise.
8301         (TSVTX): Likewise.
8302         (TUREAD): Likewise.
8303         (TUWRITE): Likewise.
8304         (TUEXEC): Likewise.
8305         (TGREAD): Likewise.
8306         (TGWRITE): Likewise.
8307         (TGEXEC): Likewise.
8308         (TOREAD): Likewise.
8309         (TOWRITE): Likewise.
8310         (TOEXEC): Likewise.
8311         [POSIX] (TSVTX): Expect constant.
8312
8313 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8314
8315         * Makefile (tests): Change dependencies to ....
8316         (tests-special): ... additions to this variable.
8317         (tests): Depend on $(tests-special).
8318         * Makerules (check-abi-list): New variable.
8319         (check-abi): Depend on $(check-abi-list).
8320         [$(subdir) = elf] (tests-special): Add
8321         $(objpfx)check-abi-libc.out.
8322         [$(build-shared) = yes && subdir] (tests-special): Add
8323         $(check-abi-list).
8324         [$(build-shared) = yes && subdir] (tests): Do not depend on
8325         check-abi.
8326         * Rules (tests): Depend on $(tests-special).
8327         (xtests): Depend on $(xtests-special).
8328         * catgets/Makefile (tests): Change dependencies to ....
8329         (tests-special): ... additions to this variable.
8330         * conform/Makefile (tests): Change dependencies to ....
8331         (tests-special): ... additions to this variable.
8332         * elf/Makefile (tests): Change dependencies to ....
8333         (tests-special): ... additions to this variable.
8334         * grp/Makefile (tests): Change dependencies to ....
8335         (tests-special): ... additions to this variable.
8336         * iconv/Makefile (xtests): Change dependencies to ....
8337         (xtests-special): ... additions to this variable.
8338         * iconvdata/Makefile (tests): Change dependencies to ....
8339         (tests-special): ... additions to this variable.
8340         * intl/Makefile (tests): Change dependencies to ....
8341         (tests-special): ... additions to this variable.  Also add
8342         $(objpfx)tst-gettext.out.
8343         * io/Makefile (tests): Change dependencies to ....
8344         (tests-special): ... additions to this variable.
8345         * libio/Makefile (tests): Change dependencies to ....
8346         (tests-special): ... additions to this variable.
8347         * malloc/Makefile (tests): Change dependencies to ....
8348         (tests-special): ... additions to this variable.
8349         * misc/Makefile (tests): Change dependencies to ....
8350         (tests-special): ... additions to this variable.
8351         * nptl/Makefile (tests): Change dependencies to ....
8352         (tests-special): ... additions to this variable.
8353         * nptl_db/Makefile (tests): Change dependencies to ....
8354         (tests-special): ... additions to this variable.
8355         * posix/Makefile (tests): Change dependencies to ....
8356         (tests-special): ... additions to this variable.
8357         (xtests): Change dependencies to ....
8358         (xtests-special): ... additions to this variable.
8359         * resolv/Makefile (tests): Change dependencies to ....
8360         (tests-special): ... additions to this variable.
8361         (xtests): Change dependencies to ....
8362         (xtests-special): ... additions to this variable.
8363         * stdio-common/Makefile (tests): Change dependencies to ....
8364         (tests-special): ... additions to this variable.
8365         (do-tst-unbputc): Remove target.
8366         (do-tst-printf): Likewise.
8367         * stdlib/Makefile (tests): Change dependencies to ....
8368         (tests-special): ... additions to this variable.
8369         * string/Makefile (tests): Change dependencies to ....
8370         (tests-special): ... additions to this variable.
8371         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8372         (tests-special): ... additions to this variable.
8373
8374         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8375         whole file.
8376         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8377         whole file.
8378         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8379         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8380
8381         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8382         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8383         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8384         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8385         * conform/data/libgen.h-data [XPG3]: Likewise.
8386         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8387         * conform/data/ndbm.h-data [XPG3]: Likewise.
8388         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8389         * conform/data/netdb.h-data [XPG3]: Likewise.
8390         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8391         * conform/data/poll.h-data [XPG3]: Likewise.
8392         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8393         * conform/data/strings.h-data [XPG3]: Likewise.
8394         * conform/data/stropts.h-data [XPG3]: Likewise.
8395         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8396         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8397         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8398         Likewise.
8399         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8400         * conform/data/sys/time.h-data [XPG3]: Likewise.
8401         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8402         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8403         * conform/data/sys/un.h-data [XPG3]: Likewise.
8404         * conform/data/syslog.h-data [XPG3]: Likewise.
8405         * conform/data/ucontext.h-data [XPG3]: Likewise.
8406         * conform/data/utmpx.h-data [XPG3]: Likewise.
8407         * conform/data/varargs.h-data [UNIX98]: Enable file.
8408
8409         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8410
8411         * math/libm-test.inc (struct test_f_f_data): Move expected results
8412         into structure for each rounding mode.
8413         (struct test_ff_f_data): Likewise.
8414         (struct test_ff_f_data_nexttoward): Likewise.
8415         (struct test_fi_f_data): Likewise.
8416         (struct test_fl_f_data): Likewise.
8417         (struct test_if_f_data): Likewise.
8418         (struct test_fff_f_data): Likewise.
8419         (struct test_c_f_data): Likewise.
8420         (struct test_f_f1_data): Likewise.
8421         (struct test_fF_f1_data): Likewise.
8422         (struct test_ffI_f1_data): Likewise.
8423         (struct test_c_c_data): Likewise.
8424         (struct test_cc_c_data): Likewise.
8425         (struct test_f_i_data): Likewise.
8426         (struct test_ff_i_data): Likewise.
8427         (struct test_f_l_data): Likewise.
8428         (struct test_f_L_data): Likewise.
8429         (struct test_fFF_11_data): Likewise.
8430         (RM_): New macro.
8431         (RM_FE_DOWNWARD): Likewise.
8432         (RM_FE_TONEAREST): Likewise.
8433         (RM_FE_TOWARDZERO): Likewise.
8434         (RM_FE_UPWARD): Likewise.
8435         (RUN_TEST_LOOP_f_f): Update references to expected results.
8436         (RUN_TEST_LOOP_2_f): Likewise.
8437         (RUN_TEST_LOOP_fff_f): Likewise.
8438         (RUN_TEST_LOOP_c_f): Likewise.
8439         (RUN_TEST_LOOP_f_f1): Likewise.
8440         (RUN_TEST_LOOP_fF_f1): Likewise.
8441         (RUN_TEST_LOOP_fI_f1): Likewise.
8442         (RUN_TEST_LOOP_ffI_f1): Likewise.
8443         (RUN_TEST_LOOP_c_c): Likewise.
8444         (RUN_TEST_LOOP_cc_c): Likewise.
8445         (RUN_TEST_LOOP_f_i): Likewise.
8446         (RUN_TEST_LOOP_f_i_tg): Likewise.
8447         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8448         (RUN_TEST_LOOP_f_b): Likewise.
8449         (RUN_TEST_LOOP_f_b_tg): Likewise.
8450         (RUN_TEST_LOOP_f_l): Likewise.
8451         (RUN_TEST_LOOP_f_L): Likewise.
8452         (RUN_TEST_LOOP_fFF_11): Likewise.
8453         * math/gen-libm-test.pl (parse_args): Output four copies of
8454         expected results for each test.
8455
8456         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8457         (__ASSUME_UTIMES): Remove.
8458         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8459         (__ASSUME_UTIMES): Likewise.
8460
8461         * math/gen-auto-libm-tests.c: Update comment on output format.
8462         (output_for_one_input_case): Generate before-rounding and
8463         after-rounding information as conditions on output flags not
8464         floating-point format.
8465         * math/auto-libm-test-out: Regenerated.
8466         * math/gen-libm-test.pl (cond_value): New function.
8467         (or_cond_value): Use cond_value.
8468         (generate_testfile): Handle conditional exceptions.
8469
8470 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8471
8472         * math/libm-test.inc (max_valid_error): New variable.
8473         (init_max_error): Take new argument specifying whether function
8474         results are exactly determined.  Set max_valid_error and bound
8475         other variables for errors based on this argument.
8476         (set_max_error): Do not record results above max_valid_error.
8477         (check_float_internal): Only accept errors of up to 0.5ulps if
8478         also at most max_valid_error.
8479         (START): Take new argument EXACT and pass it to init_max_error.
8480         (acos_test): Update call to START.
8481         (acos_test_tonearest): Likewise.
8482         (acos_test_towardzero): Likewise.
8483         (acos_test_downward): Likewise.
8484         (acos_test_upward): Likewise.
8485         (acosh_test): Likewise.
8486         (asin_test): Likewise.
8487         (asin_test_tonearest): Likewise.
8488         (asin_test_towardzero): Likewise.
8489         (asin_test_downward): Likewise.
8490         (asin_test_upward): Likewise.
8491         (asinh_test): Likewise.
8492         (atan_test): Likewise.
8493         (atanh_test): Likewise.
8494         (atan2_test): Likewise.
8495         (cabs_test): Likewise.
8496         (cacos_test): Likewise.
8497         (cacosh_test): Likewise.
8498         (carg_test): Likewise.
8499         (casin_test): Likewise.
8500         (casinh_test): Likewise.
8501         (catan_test): Likewise.
8502         (catanh_test): Likewise.
8503         (cbrt_test): Likewise.
8504         (ccos_test): Likewise.
8505         (ccosh_test): Likewise.
8506         (ceil_test): Likewise.
8507         (cexp_test): Likewise.
8508         (cimag_test): Likewise.
8509         (clog_test): Likewise.
8510         (clog10_test): Likewise.
8511         (conj_test): Likewise.
8512         (copysign_test): Likewise.
8513         (cos_test): Likewise.
8514         (cos_test_tonearest): Likewise.
8515         (cos_test_towardzero): Likewise.
8516         (cos_test_downward): Likewise.
8517         (cos_test_upward): Likewise.
8518         (cosh_test): Likewise.
8519         (cosh_test_tonearest): Likewise.
8520         (cosh_test_towardzero): Likewise.
8521         (cosh_test_downward): Likewise.
8522         (cosh_test_upward): Likewise.
8523         (cpow_test): Likewise.
8524         (cproj_test): Likewise.
8525         (creal_test): Likewise.
8526         (csin_test): Likewise.
8527         (csinh_test): Likewise.
8528         (csqrt_test): Likewise.
8529         (ctan_test): Likewise.
8530         (ctan_test_tonearest): Likewise.
8531         (ctan_test_towardzero): Likewise.
8532         (ctan_test_downward): Likewise.
8533         (ctan_test_upward): Likewise.
8534         (ctanh_test): Likewise.
8535         (ctanh_test_tonearest): Likewise.
8536         (ctanh_test_towardzero): Likewise.
8537         (ctanh_test_downward): Likewise.
8538         (ctanh_test_upward): Likewise.
8539         (erf_test): Likewise.
8540         (erfc_test): Likewise.
8541         (exp_test): Likewise.
8542         (exp_test_tonearest): Likewise.
8543         (exp_test_towardzero): Likewise.
8544         (exp_test_downward): Likewise.
8545         (exp_test_upward): Likewise.
8546         (exp10_test): Likewise.
8547         (exp10_test_tonearest): Likewise.
8548         (exp10_test_towardzero): Likewise.
8549         (exp10_test_downward): Likewise.
8550         (exp10_test_upward): Likewise.
8551         (pow10_test): Likewise.
8552         (exp2_test): Likewise.
8553         (expm1_test): Likewise.
8554         (expm1_test_tonearest): Likewise.
8555         (expm1_test_towardzero): Likewise.
8556         (expm1_test_downward): Likewise.
8557         (expm1_test_upward): Likewise.
8558         (fabs_test): Likewise.
8559         (fdim_test): Likewise.
8560         (floor_test): Likewise.
8561         (fma_test): Likewise.
8562         (fma_test_towardzero): Likewise.
8563         (fma_test_downward): Likewise.
8564         (fma_test_upward): Likewise.
8565         (fmax_test): Likewise.
8566         (fmin_test): Likewise.
8567         (fmod_test): Likewise.
8568         (fpclassify_test): Likewise.
8569         (frexp_test): Likewise.
8570         (hypot_test): Likewise.
8571         (ilogb_test): Likewise.
8572         (isfinite_test): Likewise.
8573         (finite_test): Likewise.
8574         (isgreater_test): Likewise.
8575         (isgreaterequal_test): Likewise.
8576         (isinf_test): Likewise.
8577         (isless_test): Likewise.
8578         (islessequal_test): Likewise.
8579         (islessgreater_test): Likewise.
8580         (isnan_test): Likewise.
8581         (isnormal_test): Likewise.
8582         (issignaling_test): Likewise.
8583         (isunordered_test): Likewise.
8584         (j0_test): Likewise.
8585         (j1_test): Likewise.
8586         (jn_test): Likewise.
8587         (ldexp_test): Likewise.
8588         (lgamma_test): Likewise.
8589         (gamma_test): Likewise.
8590         (lrint_test): Likewise.
8591         (lrint_test_tonearest): Likewise.
8592         (lrint_test_towardzero): Likewise.
8593         (lrint_test_downward): Likewise.
8594         (lrint_test_upward): Likewise.
8595         (llrint_test): Likewise.
8596         (llrint_test_tonearest): Likewise.
8597         (llrint_test_towardzero): Likewise.
8598         (llrint_test_downward): Likewise.
8599         (llrint_test_upward): Likewise.
8600         (log_test): Likewise.
8601         (log10_test): Likewise.
8602         (log1p_test): Likewise.
8603         (log2_test): Likewise.
8604         (logb_test): Likewise.
8605         (logb_test_downward): Likewise.
8606         (lround_test): Likewise.
8607         (llround_test): Likewise.
8608         (modf_test): Likewise.
8609         (nearbyint_test): Likewise.
8610         (nextafter_test): Likewise.
8611         (nexttoward_test): Likewise.
8612         (pow_test): Likewise.
8613         (pow_test_tonearest): Likewise.
8614         (pow_test_towardzero): Likewise.
8615         (pow_test_downward): Likewise.
8616         (pow_test_upward): Likewise.
8617         (remainder_test): Likewise.
8618         (drem_test): Likewise.
8619         (remainder_test_tonearest): Likewise.
8620         (drem_test_tonearest): Likewise.
8621         (remainder_test_towardzero): Likewise.
8622         (drem_test_towardzero): Likewise.
8623         (remainder_test_downward): Likewise.
8624         (drem_test_downward): Likewise.
8625         (remainder_test_upward): Likewise.
8626         (drem_test_upward): Likewise.
8627         (remquo_test): Likewise.
8628         (rint_test): Likewise.
8629         (rint_test_tonearest): Likewise.
8630         (rint_test_towardzero): Likewise.
8631         (rint_test_downward): Likewise.
8632         (rint_test_upward): Likewise.
8633         (round_test): Likewise.
8634         (scalb_test): Likewise.
8635         (scalbn_test): Likewise.
8636         (scalbln_test): Likewise.
8637         (signbit_test): Likewise.
8638         (sin_test): Likewise.
8639         (sin_test_tonearest): Likewise.
8640         (sin_test_towardzero): Likewise.
8641         (sin_test_downward): Likewise.
8642         (sin_test_upward): Likewise.
8643         (sincos_test): Likewise.
8644         (sinh_test): Likewise.
8645         (sinh_test_tonearest): Likewise.
8646         (sinh_test_towardzero): Likewise.
8647         (sinh_test_downward): Likewise.
8648         (sinh_test_upward): Likewise.
8649         (sqrt_test): Likewise.
8650         (sqrt_test_tonearest): Likewise.
8651         (sqrt_test_towardzero): Likewise.
8652         (sqrt_test_downward): Likewise.
8653         (sqrt_test_upward): Likewise.
8654         (tan_test): Likewise.
8655         (tan_test_tonearest): Likewise.
8656         (tan_test_towardzero): Likewise.
8657         (tan_test_downward): Likewise.
8658         (tan_test_upward): Likewise.
8659         (tanh_test): Likewise.
8660         (tgamma_test): Likewise.
8661         (trunc_test): Likewise.
8662         (y0_test): Likewise.
8663         (y1_test): Likewise.
8664         (yn_test): Likewise.
8665         (significand_test): Likewise.
8666
8667         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8668         individual tests in comment.
8669         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8670         (prev_max_error): New variable.
8671         (prev_real_max_error): Likewise.
8672         (prev_imag_max_error): Likewise.
8673         (compare_ulp_data): Don't refer to test names in comment.
8674         (find_test_ulps): Remove function.
8675         (find_function_ulps): Likewise.
8676         (find_complex_function_ulps): Likewise.
8677         (init_max_error): Take function name as argument.  Look up ulps
8678         for that function.
8679         (print_ulps): Remove function.
8680         (print_max_error): Use prev_max_error instead of calling
8681         find_function_ulps.
8682         (print_complex_max_error): Use prev_real_max_error and
8683         prev_imag_max_error instead of calling find_complex_function_ulps.
8684         (check_float_internal): Take max_ulp parameter instead of calling
8685         find_test_ulps.  Don't call print_ulps.
8686         (check_float): Update call to check_float_internal.
8687         (check_complex): Update calls to check_float_internal.
8688         (START): Pass argument to init_max_error.
8689         * math/gen-libm-test.pl (%results): Don't include "kind"
8690         information.
8691         (parse_ulps): Don't handle ulps of individual tests.
8692         (print_ulps_file): Likewise.
8693         (output_ulps): Likewise.
8694         * math/README.libm-test: Update.
8695         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8696         individual tests.
8697         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8698         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8699         * sysdeps/arm/libm-test-ulps: Likewise.
8700         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8701         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8702         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8703         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8704         * sysdeps/microblaze/libm-test-ulps: Likewise.
8705         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8706         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8707         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8708         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8709         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8710         * sysdeps/sh/libm-test-ulps: Likewise.
8711         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8712         * sysdeps/tile/libm-test-ulps: Likewise.
8713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8714
8715 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8716
8717         * math/libm-test.inc (print_complex_max_error): Check separately
8718         whether real and imaginary errors are within allowed range and
8719         pass 0 to print_complex_function_ulps instead of value within
8720         allowed range.
8721
8722 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8723
8724         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8725         formatting.
8726         (get_handles_fopen): Likewise.
8727         (do_write_test): Likewise.
8728
8729         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8730
8731         * libio/fileops.c (do_ftell): Use cached offset when
8732         available.
8733         * libio/iofwide.c (do_ftell_wide): Likewise.
8734         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8735         _IO_file_attach.
8736         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8737
8738         [BZ #16532]
8739         * libio/libioP.h (get_file_offset): New function.
8740         * libio/fileops.c (get_file_offset): Likewise.
8741         (do_ftell): Likewise.
8742         (_IO_new_file_seekoff): Split out ftell logic.
8743         * libio/wfileops.c (do_ftell_wide): Likewise.
8744         (_IO_wfile_seekoff): Split out ftell logic.
8745         * libio/tst-ftell-active-handler.c: New test case.
8746         * libio/Makefile (tests): Add it.
8747
8748 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8749
8750         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8751         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8752
8753 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8754
8755         [BZ #16639]
8756         * nscd/connections.c (nscd_init): Call do_exit.
8757         (start_threads): Call do_exit and notify_parent.
8758         (begin_drop_privileges): Call do_exit.
8759         (finish_drop_privileges): Likewise.
8760         * nscd/selinux.c (preserve_capabilities): Likewise.
8761         (install_real_capabilities): Likewise.
8762         (nscd_selinux_enabled): Likewise.
8763         (avc_create_thread): Likewise.
8764         (avc_alloc_lock): Likewise.
8765         (nscd_avc_init): Likewise.
8766         * nscd/nscd.c (parent_fd): New static variable.
8767         (main): Create a pipe between parent and child processes.
8768         Skip closing parent_fd.
8769         (monitor_child): New function.
8770         (do_exit): Likewise.
8771         (notify_parent): Likewise.
8772         * nscd/nscd.h (notify_parent): Likewise.
8773         (do_exit): Likewise.
8774
8775 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8776
8777         * malloc/malloc.c (__libc_calloc): Revert last change.
8778
8779 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8780
8781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8782
8783 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8784
8785         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8787         implementation.
8788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8789         (__libc_ifunc_impl_list): Likewise.
8790         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8791         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8792         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8793         * string/strrchr.c: Define STRRCHR.
8794
8795 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8796
8797         * benchtest/bench-strtok.c (simple_strtok): Delete.
8798         (strtok_string): Use as benchmark.
8799         * string/strtok (STRTOK): New macro.
8800
8801 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8802
8803         * manual/threads.texi: Add header and standard comments to all
8804         functions.
8805
8806         * elf/dl-lookup.c (check_match): New function.
8807         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8808         (do_lookup_x): Remove nested function check_match. Use non-nested
8809         function check_match.
8810
8811 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8812
8813         * csu/Makefile (generated, before-compile): Use += rather than =.
8814         * catgets/Makefile (generated, generated-dirs): Likewise.
8815         * debug/Makefile (generated): Likewise.
8816         * dlfcn/Makefile (generated): Likewise.
8817         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8818         * iconvdata/Makefile (before-compile, generated): Likewise.
8819         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8820         * libio/Makefile (generated): Likewise.
8821         * malloc/Makefile (generated): Likewise.
8822         * manual/Makefile (generated, generated-dirs): Likewise.
8823         * misc/Makefile (generated): Likewise.
8824         * posix/Makefile (generated): Likewise.
8825         * resolv/Makefile (generated): Likewise.
8826         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8827         * timezone/Makefile (generated, generated-dirs): Likewise.
8828
8829         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8830
8831 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8832
8833         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8834         power8 implementation.
8835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8836         file: POWER8 llround ifunc implementation.
8837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8838         (__lllround): Add POWER8 implementation.
8839         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8840         POWER8 llround implementation.
8841
8842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8843         power8 implementation.
8844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8845         file: POWER8 llrint ifunc implementation.
8846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8847         Add POWER8 implementation.
8848         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8849         POWER8 llrint implementation.
8850
8851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8852         power8 implementation.
8853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8854         file: POWER8 finite ifunc implementation.
8855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8856         Add POWER8 implementation.
8857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8858         Likewise.
8859         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8860         POWER8 finite implementation.
8861         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8862
8863         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8864         power8 implementation.
8865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8866         file: POWER8 isinf ifunc implementation.
8867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8868         POWER8 implementation.
8869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8870         Likewise.
8871         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8872         isinf implementation.
8873         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8874
8875         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8876         (INIT_ARCH): Add hwcap2 initialization.
8877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8878         power8 implementation.
8879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8880         file: POWER8 isnan ifunc implementation.
8881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8882         POWER8 implementation.
8883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8884         Likewise.
8885         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8886         isnan implementation.
8887         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8888
8889 2014-02-27  Joey Ye  <joey.ye@arm.com>
8890
8891         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8892         (_FP_NANFRAC_Q): Set to zero.
8893
8894 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8895
8896         [BZ #16623]
8897         * math/auto-libm-test-in: New test inputs.
8898         * math/auto-libm-test-out: Regenerate.
8899         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8900         and DA.
8901         (__cos): Likewise.
8902         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8903
8904 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8905
8906         * scripts/evaluate-test.sh: Take new argument indicating whether
8907         failure is expected.
8908         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8909         indicating whether failure is expected.
8910         * conform/Makefile (test-xfail-run-conformtest): New variable.
8911         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8912         level.
8913         * posix/Makefile (test-xfail-annexc): New variable.
8914         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8915
8916 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8917
8918         * argp/Makefile: Include Makeconfig immediately after defining
8919         subdir.
8920         * assert/Makefile: Likewise.
8921         * benchtests/Makefile: Likewise.
8922         * catgets/Makefile: Likewise.
8923         * conform/Makefile: Likewise.
8924         * crypt/Makefile: Likewise.
8925         * csu/Makefile: Likewise.
8926         (all): Remove target.
8927         * ctype/Makefile: Include Makeconfig immediately after defining
8928         subdir.
8929         * debug/Makefile: Likewise.
8930         * dirent/Makefile: Likewise.
8931         * dlfcn/Makefile: Likewise.
8932         * gmon/Makefile: Likewise.
8933         * gnulib/Makefile: Likewise.
8934         * grp/Makefile: Likewise.
8935         * gshadow/Makefile: Likewise.
8936         * hesiod/Makefile: Likewise.
8937         * hurd/Makefile: Likewise.
8938         (all): Remove target.
8939         * iconvdata/Makefile: Include Makeconfig immediately after
8940         defining subdir.
8941         * inet/Makefile: Likewise.
8942         * intl/Makefile: Likewise.
8943         * io/Makefile: Likewise.
8944         * libio/Makefile: Likewise.
8945         (all): Remove target.
8946         * locale/Makefile: Include Makeconfig immediately after defining
8947         subdir.
8948         * login/Makefile: Likewise.
8949         * mach/Makefile: Likewise.
8950         (all): Remove target.
8951         * malloc/Makefile: Include Makeconfig immediately after defining
8952         subdir.
8953         (all): Remove target.
8954         * manual/Makefile: Include Makeconfig immediately after defining
8955         subdir.
8956         * math/Makefile: Likewise.
8957         * misc/Makefile: Likewise.
8958         * nis/Makefile: Likewise.
8959         * nss/Makefile: Likewise.
8960         * po/Makefile: Likewise.
8961         (all): Remove target.
8962         * posix/Makefile: Include Makeconfig immediately after defining
8963         subdir.
8964         * pwd/Makefile: Likewise.
8965         * resolv/Makefile: Likewise.
8966         * resource/Makefile: Likewise.
8967         * rt/Makefile: Likewise.
8968         * setjmp/Makefile: Likewise.
8969         * shadow/Makefile: Likewise.
8970         * signal/Makefile: Likewise.
8971         * socket/Makefile: Likewise.
8972         * soft-fp/Makefile: Likewise.
8973         * stdio-common/Makefile: Likewise.
8974         * stdlib/Makefile: Likewise.
8975         * streams/Makefile: Likewise.
8976         * string/Makefile: Likewise.
8977         * sunrpc/Makefile: Likewise.
8978         (all): Remove target.
8979         * sysvipc/Makefile: Include Makeconfig immediately after defining
8980         subdir.
8981         * termios/Makefile: Likewise.
8982         * time/Makefile: Likewise.
8983         * timezone/Makefile: Likewise.
8984         (all): Remove target.
8985         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8986         subdir.
8987         * wctype/Makefile: Likewise.
8988
8989 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8990
8991         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8992         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8993         (libc_feholdexcept_setround_mips): Ditto.
8994         (libc_feholdsetround): New.
8995         (libc_feholdsetroundf): New.
8996         (libc_feholdsetroundl): New.
8997         (libc_feupdateenv_test_mips): New.
8998         (libc_feupdateenv_test): New.
8999         (libc_feupdateenv_testf): New.
9000         (libc_feupdateenv_testl): New.
9001         (libc_feresetround): New.
9002         (libc_feresetroundf): New.
9003         (libc_feresetroundl): New.
9004         (libc_fetestexcept_mips): New.
9005         (libc_fetestexcept): New.
9006         (libc_fetestexceptf): New.
9007         (libc_fetestexceptl): New.
9008         (HAVE_RM_CTX): New.
9009         (libc_feholdexcept_setround_mips_ctx): New.
9010         (libc_feholdexcept_setround_ctx): New.
9011         (libc_feholdexcept_setroundf_ctx): New.
9012         (libc_feholdexcept_setroundl_ctx): New.
9013         (libc_fesetenv_mips_ctx): New.
9014         (libc_fesetenv_ctx): New.
9015         (libc_fesetenv_ctxf): New.
9016         (libc_fesetenv_ctxl): New.
9017         (libc_feupdateenv_mips_ctx): New.
9018         (libc_feupdateenv_ctx): New.
9019         (libc_feupdateenvf_ctx): New.
9020         (libc_feupdateenvl_ctx): New.
9021         (libc_feholdsetround_mips_ctx): New.
9022         (libc_feholdsetround_ctx): New.
9023         (libc_feholdsetroundf_ctx): New.
9024         (libc_feholdsetroundl_ctx): New.
9025         (libc_feresetround_mips_ctx): New.
9026         (libc_feresetround_ctx): New.
9027         (libc_feresetroundf_ctx): New.
9028         (libc_feresetroundl_ctx): New.
9029
9030 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9031
9032         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9033
9034         * manual/ipc.texi: New file.
9035         * manual/Makefile (chapters): Add ipc.
9036         * manual/job.texi: Add "Inter-Process Communication" to next.
9037         * manual/process.texi: Add "Inter-Process Communication" to prev.
9038
9039 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9040
9041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9042
9043 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9044
9045         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9046
9047         * manual/arith.texi: Fix spaces after sentences.
9048         * manual/charset.texi: Likewise.
9049         * manual/errno.texi: Likewise.
9050         * manual/install.texi: Likewise.
9051         * manual/llio.texi: Likewise.
9052         * manual/locale.texi: Likewise.
9053         * manual/maint.texi: Likewise.
9054         * manual/math.texi: Likewise.
9055         * manual/memory.texi: Likewise.
9056         * manual/message.texi: Likewise.
9057         * manual/probes.texi: Likewise.
9058         * manual/resource.texi: Likewise.
9059         * manual/signal.texi: Likewise.
9060         * manual/socket.texi: Likewise.
9061         * manual/stdio.texi: Likewise.
9062         * manual/string.texi: Likewise.
9063         * manual/time.texi: Likewise.
9064         * manual/users.texi: Likewise.
9065
9066 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9067
9068         [BZ #16632]
9069         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9070         _DEFAULT_SOURCE is defined.
9071
9072 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9073             Carlos O'Donell  <carlos@redhat.com>
9074
9075         [BZ #16613]
9076         * elf/dl-tls.c (_dl_count_modids): New function.
9077         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9078         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9079         audit library and increment generation counter.
9080         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9081         * elf/tst-audit9.c: New file.
9082         * elf/tst-auditmod9a.c: New file.
9083         * elf/tst-auditmod9b.c: New file.
9084         * elf/Makefile: Add rules to build and run tst-audit9.
9085
9086 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9087
9088         [BZ #15347]
9089         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9090
9091 2014-02-25  Will Newton  <will.newton@linaro.org>
9092
9093         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9094         (__longjmp): Restore sp and lr before restoring callee
9095         saved registers.  Add longjmp and longjmp_target
9096         SystemTap probe point.
9097         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9098         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9099         Define to zero to match jmpbuf layout.
9100         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9101         (__sigsetjmp): Save sp and lr before saving callee
9102         saved registers.  Add setjmp SystemTap probe point.
9103
9104 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9105
9106         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9107
9108 2014-02-24  Andreas Schwab  <schwab@suse.de>
9109
9110         [BZ #15804]
9111         * elf/pldd.c (wait_for_ptrace_stop): New function.
9112         (main): Call it after attaching.
9113
9114 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9115
9116         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9117         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9118         Versions files is now verboten.
9119         * hurd/Versions (libc: GLIBC_2.0):
9120         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9121         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9122         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9123         * mach/Versions: Likewise.
9124
9125         * csu/Versions: Remove unused %include.
9126         * resolv/Versions: Likewise.
9127
9128 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9129
9130         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9131         ($(objpfx)check-local-headers.out): Likewise.
9132         ($(objpfx)begin-end-check.out): Likewise.
9133         * Makerules (check-abi-%.out): Likewise.
9134         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9135         ($(objpfx)test2.cat): Likewise.
9136         ($(objpfx)de/libc.cat): Likewise.
9137         ($(objpfx)test-gencat.out): Likewise.
9138         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9139         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9140         ($(objpfx)noload-mem): Likewise.
9141         ($(objpfx)tst-pathopt.out): Likewise.
9142         ($(objpfx)tst-rtld-load-self.out): Likewise.
9143         ($(objpfx)tst-array1-cmp.out): Likewise.
9144         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9145         ($(objpfx)tst-array2-cmp.out): Likewise.
9146         ($(objpfx)tst-array3-cmp.out): Likewise.
9147         ($(objpfx)tst-array4-cmp.out): Likewise.
9148         ($(objpfx)tst-array5-cmp.out): Likewise.
9149         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9150         ($(objpfx)check-textrel.out): Likewise.
9151         ($(objpfx)check-execstack.out): Likewise.
9152         ($(objpfx)check-localplt.out): Likewise.
9153         ($(objpfx)order2-cmp.out): Likewise.
9154         ($(objpfx)tst-leaks1-mem): Likewise.
9155         ($(objpfx)tst-leaks1-static-mem): Likewise.
9156         ($(objpfx)tst-initorder-cmp.out): Likewise.
9157         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9158         ($(objpfx)tst-unused-dep.out): Likewise.
9159         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9160         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9161         * iconv/Makefile (test-iconvconfig): Likewise.
9162         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9163         ($(objpfx)iconv-test.out): Likewise.
9164         ($(objpfx)tst-tables.out): Likewise.
9165         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9166         ($(objpfx)tst-gettext.out): Likewise.
9167         ($(objpfx)tst-translit.out): Likewise.
9168         ($(objpfx)tst-gettext2.out): Likewise.
9169         ($(objpfx)tst-gettext4.out): Likewise.
9170         ($(objpfx)tst-gettext6.out): Likewise.
9171         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9172         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9173         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9174         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9175         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9176         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9177         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9178         ($(objpfx)wordexp-tst.out): Likewise.
9179         ($(objpfx)annexc.out): Likewise.
9180         ($(objpfx)tst-fnmatch-mem): Likewise.
9181         ($(objpfx)bug-regex2-mem): Likewise.
9182         ($(objpfx)bug-regex14-mem): Likewise.
9183         ($(objpfx)bug-regex21-mem): Likewise.
9184         ($(objpfx)bug-regex31-mem): Likewise.
9185         ($(objpfx)tst-vfork3-mem): Likewise.
9186         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9187         ($(objpfx)tst-pcre-mem): Likewise.
9188         ($(objpfx)tst-boost-mem): Likewise.
9189         ($(objpfx)tst-getconf.out): Likewise.
9190         ($(objpfx)bug-ga2-mem): Likewise.
9191         ($(objpfx)bug-glob2-mem): Likewise.
9192         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9193         ($(objpfx)mtrace-tst-leaks2): Likewise.
9194         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9195         ($(objpfx)tst-printf.out): Likewise.
9196         ($(objpfx)tst-setvbuf1.out): Likewise.
9197         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9198         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9199         ($(objpfx)tst-fmtmsg.out): Likewise.
9200         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9201         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9202
9203         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9204         * bits/sigaction.h [__USE_MISC]: Likewise.
9205         * bits/waitstatus.h: Update #endif comments.
9206         * ctype/ctype.h: Likewise.
9207         * dirent/dirent.h: Likewise.
9208         [__USE_MISC]: Remove redundant conditionals.
9209         * grp/grp.h: Update #endif comments.
9210         [__USE_GNU]: Remove redundant conditionals.
9211         [__USE_MISC]: Likewise.
9212         * inet/netinet/in.h [__USE_GNU]: Likewise.
9213         * io/sys/stat.h [__USE_MISC]: Likewise.
9214         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9215         * libio/bits/stdio.h: Update #endif comments.
9216         [__USE_MISC]: Remove redundant conditionals.
9217         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9218         * libio/stdio.h: Update #endif comments.
9219         [__USE_MISC]: Remove redundant conditionals.
9220         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9221         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9222         * math/math.h: Update #else and #endif comments.
9223         [__USE_MISC]: Remove redundant conditionals.
9224         * misc/sys/uio.h: Update #endif comments.
9225         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9226         * posix/glob.h [__USE_MISC]: Likewise.
9227         * posix/sys/types.h: Update #endif comments.
9228         [__USE_MISC]: Remove redundant conditionals.
9229         * posix/sys/wait.h: Update #endif comments.
9230         [__USE_MISC]: Remove redundant conditionals.
9231         * posix/unistd.h: Update #endif comments.
9232         [__USE_MISC]: Remove redundant conditionals.
9233         * pwd/pwd.h [__USE_GNU]: Likewise.
9234         [__USE_MISC]: Likewise.
9235         * resolv/netdb.h [__USE_GNU]: Likewise.
9236         * signal/signal.h: Update #endif comments.
9237         [__USE_MISC]: Remove redundant conditionals.
9238         * stdlib/stdlib.h: Update #else and #endif comments.
9239         [__USE_MISC]: Remove redundant conditionals.
9240         [__USE_GNU]: Likewise.
9241         * string/bits/string2.h [__USE_MISC]: Likewise.
9242         * string/string.h: Update #endif comments.
9243         [__USE_MISC]: Remove redundant conditionals.
9244         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9245         Likewise.
9246         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9247         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9248         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9249         Likewise.
9250         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9251         Likewise.
9252         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9253         comments.
9254         [__USE_MISC]: Remove redundant conditionals.
9255         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9256         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9257         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9258         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9259         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9260         Likewise.
9261         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9262         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9263         Likewise.
9264         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9265         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9266         Likewise.
9267         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9268         Likewise.
9269         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9270         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9271         Likewise.
9272         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9273         Likewise.
9274         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9275         * sysdeps/x86/bits/string.h: Update #endif comments.
9276         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9277         conditionals.
9278         * time/sys/time.h: Update #endif comments.
9279         * time/time.h: Likewise.
9280         [__USE_MISC]: Remove redundant conditionals.
9281
9282 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9283
9284         [BZ #16600]
9285         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9286
9287 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9288
9289         * Versions.def (librt): Add GLIBC_2.17.
9290
9291 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9292
9293         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9294         synonym for _SYS_AUXV_H to allow direct inclusion.
9295         * sysdeps/sparc/bits/hwcap.h: Likewise.
9296         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9297         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9298         * sysdeps/sparc/sysdep.h: Likewise.
9299
9300 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9301
9302         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9303
9304 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9305
9306         * benchtests/bench-strrchr.c: Print length instead of position.
9307
9308 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9309
9310         [BZ #16611]
9311         * sysdeps/unix/sysv/linux/kernel-features.h
9312         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9313         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9314         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9315         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9316         Likewise.
9317         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9318         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9319         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9320         (__ASSUME_SENDMMSG): Define instead of using previous
9321         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9322         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9323         (__ASSUME_SENDMMSG_SYSCALL): Define.
9324         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9325         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9326         Likewise.
9327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9328         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9329         Likewise.
9330         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9331         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9332         Likewise.
9333         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9334         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9335         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9336         [__ASSUME_SENDMMSG]: Change conditionals to
9337         [__ASSUME_SENDMMSG_SOCKETCALL].
9338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9339         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9340         Define.
9341         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9342         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9343         Likewise.
9344         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9345         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9346         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9347         [!__ASSUME_SENDMMSG]: Change conditional to
9348         [!__ASSUME_SENDMMSG_SOCKETCALL].
9349         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9350         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9351         Define.
9352
9353         [BZ #16610]
9354         * sysdeps/unix/sysv/linux/kernel-features.h
9355         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9356         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9357         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9358         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9359         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9360         [__i386__ || __sparc__]
9361         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9362         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9363         (__ASSUME_RECVMMSG): Define instead of using previous
9364         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9365         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9366         (__ASSUME_RECVMMSG_SYSCALL): Define.
9367         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9368         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9369         Likewise.
9370         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9371         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9372         Likewise.
9373         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9374         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9375         Likewise.
9376         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9377         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9378         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9379         [__ASSUME_RECVMMSG]: Change condition to
9380         [__ASSUME_RECVMMSG_SOCKETCALL].
9381         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9382         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9383         Define.
9384         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9385         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9386         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9387         Likewise.
9388         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9389         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9390         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9391         [!__ASSUME_RECVMMSG]: Change condition to
9392         [!__ASSUME_RECVMMSG_SOCKETCALL].
9393         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9394         (__ASSUME_RECVMMSG_SYSCALL): Define.
9395
9396         [BZ #16609]
9397         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9398         __powerpc__ || __s390__ || __sh__ || __sparc__]
9399         (__ASSUME_SOCKETCALL): Define.
9400         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9401         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9402         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9403         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9404         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9405         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9406         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9407         (__ASSUME_ACCEPT4): Define instead of using previous
9408         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9409         __powerpc__ || __sparc__ || __s390__)] condition.
9410         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9411         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9412         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9413         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9414         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9415         [!__ASSUME_ACCEPT4]: Change condition to
9416         [!__ASSUME_ACCEPT4_SOCKETCALL].
9417         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9418         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9419         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9420         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9421         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9422         __ASSUME_ACCEPT4_SYSCALL.
9423         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9424         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9425         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9426         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9427         __ASSUME_ACCEPT4_SYSCALL.
9428         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9429         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9430         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9431         [__ASSUME_ACCEPT4]: Change condition to
9432         [__ASSUME_ACCEPT4_SOCKETCALL].
9433         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9434         (__ASSUME_SOCKETCALL): Define.
9435         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9437         (__ASSUME_SOCKETCALL): Define.
9438         (__ASSUME_ACCEPT4): Remove.
9439         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9440         Define.
9441         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9442         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9443         Likewise.
9444         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9445         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9446
9447         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9448         macro.
9449         (HWCAP_ARM_LPAE): Likewise.
9450         (HWCAP_ARM_EVTSTRM): Likewise.
9451         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9452         Add vpfd32, lpae and evtstrm.
9453         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9454         Increase to 22.
9455
9456 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9457
9458         * math/auto-libm-test-in: Add tests of clog10.
9459         * math/auto-libm-test-out: Regenerated.
9460         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9461         * sysdeps/i386/fpu/libm-test-ulps: Update.
9462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9463
9464 2014-02-18  Andreas Schwab  <schwab@suse.de>
9465
9466         [BZ #16574]
9467         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9468         Store non-zero if the second buffer was newly allocated.
9469         (send_dg): Likewise.
9470         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9471         to send_vc and send_dg.
9472         (res_nsend): Pass NULL for ansp2_malloced.
9473         * resolv/res_query.c (__libc_res_nquery): Add parameter
9474         answerp2_malloced and pass it down to __libc_res_nsend.
9475         (res_nquery): Pass additional NULL to __libc_res_nquery.
9476         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9477         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9478         second answer buffer if answerp2_malloced was set.
9479         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9480         (__libc_res_nquerydomain): Add parameter
9481         answerp2_malloced and pass it down to __libc_res_nquery.
9482         (res_nquerydomain): Pass additional NULL to
9483         __libc_res_nquerydomain.
9484         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9485         additional NULL to __libc_res_nsend and __libc_res_nquery.
9486         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9487         additional NULL to __libc_res_nsearch.
9488         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9489         parameter of __libc_res_nsearch to check for separately allocated
9490         second buffer.
9491         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9492         __libc_res_nquery.
9493         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9494         additional NULL to __libc_res_nquery.
9495         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9496         __libc_res_nsearch.
9497         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9498         * include/resolv.h: Update prototypes of __libc_res_nquery,
9499         __libc_res_nsearch, __libc_res_nsend.
9500
9501 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9502
9503         * math/auto-libm-test-in: Add tests of fma.
9504         * math/auto-libm-test-out: Regenerated.
9505         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9506         (fma_towardzero_test_data): Likewise.
9507         (fma_downward_test_data): Likewise.
9508         (fma_upward_test_data): Likewise.
9509         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9510         mpc_mode.
9511         (rounding_modes): Add values for new field.
9512         (func_calc_method): Add value mpfr_fff_f.
9513         (func_calc_desc): Add mpfr_fff_f union field.
9514         (test_function): Add field exact_args.
9515         (FUNC): Add macro argument EXACT_ARGS.
9516         (FUNC_mpfr_f_f): Update call to FUNC.
9517         (FUNC_mpfr_f_f): Likewise.
9518         (FUNC_mpfr_ff_f): Likewise.
9519         (FUNC_mpfr_if_f): Likewise.
9520         (FUNC_mpc_c_f): Likewise.
9521         (FUNC_mpc_c_c): Likewise.
9522         (test_functions): Add fma.  Update calls to FUNC.
9523         (handle_input_arg): Add argument exact_args.
9524         (add_test): Update call to handle_input_arg.
9525         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9526         (output_for_one_input_case): Update call to calc_generic_results.
9527         Recalculate exact zero results in each rounding mode.
9528
9529         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9530         non-negative before setting low bit.
9531         * math/auto-libm-test-in: Mark one asin test possibly having
9532         spurious underflow.
9533         * math/auto-libm-test-out: Regenerated.
9534         * sysdeps/i386/fpu/libm-test-ulps: Update.
9535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9536
9537 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9538
9539         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9540         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9541         ports/sysdeps/unix/sysv/linux/microblaze.
9542         * README: Add missing listing for microblaze*-*-linux-gnu.
9543
9544 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9545
9546         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9547         * sysdeps/unix/sysv/linux/ia64: Move directory from
9548         ports/sysdeps/unix/sysv/linux/ia64.
9549         * README: Update listing for ia64-*-linux-gnu.
9550
9551 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9552             Joseph Myers  <joseph@codesourcery.com>
9553
9554         * Makeconfig (test-name): New variable.
9555         (evaluate-test): Likewise.
9556         * Makerules (do-test-clean): Remove .test-result files.
9557         (common-mostlyclean): Likewise.
9558         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9559         * scripts/evaluate-test.sh: New file.
9560
9561 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9562
9563         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9564         separate $(objpfx)tst-fopenloc-cmp.out and
9565         $(objpfx)tst-fopenloc-mem.out targets.
9566         (tests): Update dependencies.
9567         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9568         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9569         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9570         (tst-rxspencer-no-utf8-ARGS): New variable.
9571         (tst-rxspencer-no-utf8-ENV): Likewise.
9572         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9573         instead of $(objpfx)tst-rxspencer-mem.
9574         ($(objpfx)tst-rxspencer-mem): Change target to
9575         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9576         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9577         * posix/tst-rxspencer-no-utf8.c: New file.
9578
9579         * elf/Makefile ($(objpfx)order.out): Remove rule.
9580         [$(run-built-tests) = yes] (tests): Depend on
9581         $(objpfx)order-cmp.out.
9582         ($(objpfx)order-cmp.out): New rule.
9583         [$(run-built-tests) = yes] (tests): Depend on
9584         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9585         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9586         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9587         $(objpfx)tst-array5-static-cmp.out.
9588         ($(objpfx)tst-array1.out): Remove rule.
9589         ($(objpfx)tst-array1-cmp.out): New rule.
9590         ($(objpfx)tst-array1-static.out): Remove rule.
9591         ($(objpfx)tst-array1-static-cmp.out): New rule.
9592         ($(objpfx)tst-array2.out): Remove rule.
9593         ($(objpfx)tst-array2-cmp.out): New rule.
9594         ($(objpfx)tst-array3.out): Remove rule.
9595         ($(objpfx)tst-array3-cmp.out): New rule.
9596         ($(objpfx)tst-array4.out): Remove rule.
9597         ($(objpfx)tst-array4-cmp.out): New rule.
9598         ($(objpfx)tst-array5.out): Remove rule.
9599         ($(objpfx)tst-array5-cmp.out): New rule.
9600         ($(objpfx)tst-array5-static.out): Remove rule.
9601         ($(objpfx)tst-array5-static-cmp.out): New rule.
9602         [$(run-built-tests) = yes] (tests): Depend on
9603         $(objpfx)order2-cmp.out.
9604         ($(objpfx)order2.out): Remove rule.
9605         ($(objpfx)order2-cmp.out): New rule.
9606         ($(objpfx)tst-initorder.out): Remove rule.
9607         [$(run-built-tests) = yes] (tests): Depend on
9608         $(objpfx)tst-initorder-cmp.out.
9609         ($(objpfx)tst-initorder-cmp.out): New rule.
9610         ($(objpfx)tst-initorder2.out): Remove rule.
9611         [$(run-built-tests) = yes] (tests): Depend on
9612         $(objpfx)tst-initorder2-cmp.out.
9613         ($(objpfx)tst-initorder2-cmp.out): New rule.
9614         [$(run-built-tests) = yes] (tests): Depend on
9615         $(objpfx)tst-unused-dep-cmp.out.
9616         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9617         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9618         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9619         on $(objpfx)tst-setvbuf1-cmp.out.
9620         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9621         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9622         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9623         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9624         ($(objpfx)tst-svc.out): Remove rule.
9625         ($(objpfx)tst-svc-cmp.out): New rule.
9626
9627 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9628
9629         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9630         * ctype/ctype.h [__USE_MISC]: Likewise.
9631         * dirent/dirent.h [__USE_MISC]: Likewise.
9632         * grp/grp.h [__USE_MISC]: Likewise.
9633         * io/fcntl.h [__USE_MISC]: Likewise.
9634         * io/sys/stat.h [__USE_MISC]: Likewise.
9635         * libio/stdio.h [__USE_MISC]: Likewise.
9636         * posix/unistd.h [__USE_MISC]: Likewise.
9637         * pwd/pwd.h [__USE_MISC]: Likewise.
9638         * stdlib.h [__USE_MISC]: Likewise.
9639         * string/bits/string2.h [__USE_MISC]: Likewise.
9640         * string/string.h [__USE_MISC]: Likewise.
9641         * time/time.h [__USE_MISC]: Likewise.
9642
9643 2014-02-13  Andreas Schwab  <schwab@suse.de>
9644
9645         [BZ #16574]
9646         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9647         second answer buffer if it was separately allocated.
9648
9649 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9650
9651         * sysdeps/mips/math-tests.h: Include <features.h>.
9652         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9653         (ROUNDING_TESTS_long_double): Do not define.
9654         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9655         (EXCEPTION_TESTS_long_double): Likewise.
9656         * sysdeps/mips/mips64/libm-test-ulps: Update.
9657
9658         * include/features.h (__USE_BSD): Remove macro definitions.
9659         (__USE_SVID): Likewise.
9660         (_BSD_SOURCE): Likewise.
9661         (_SVID_SOURCE): Likewise.
9662         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9663         from definition of _DEFAULT_SOURCE.
9664         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9665         [_DEFAULT_SOURCE].
9666         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9667         * bits/mman.h [__USE_BSD]: Likewise.
9668         * bits/termios.h [__USE_BSD]: Likewise.
9669         * bits/waitstatus.h [__USE_BSD]: Likewise.
9670         * ctype/ctype.h [__USE_SVID]: Likewise.
9671         * dirent/dirent.h [__USE_BSD]: Likewise.
9672         * grp/grp.h [__USE_SVID]: Likewise.
9673         [__USE_BSD]: Likewise.
9674         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9675         * io/fcntl.h [__USE_BSD]: Likewise.
9676         * io/ftw.h [__USE_BSD]: Likewise.
9677         * io/sys/stat.h [__USE_BSD]: Likewise.
9678         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9679         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9680         * libio/stdio.h [__USE_SVID]: Likewise.
9681         [__USE_BSD]: Likewise.
9682         * math/math.h [__USE_SVID]: Likewise.
9683         [__USE_BSD]: Likewise.
9684         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9685         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9686         * misc/search.h [__USE_SVID]: Likewise.
9687         * misc/sys/mman.h [__USE_BSD]: Likewise.
9688         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9689         * misc/sys/uio.h [__USE_BSD]: Likewise.
9690         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9691         * posix/glob.h [__USE_BSD]: Likewise.
9692         * posix/regex.h [__USE_BSD]: Likewise.
9693         * posix/sys/types.h [__USE_BSD]: Likewise.
9694         [__USE_SVID]: Likewise.
9695         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9696         * posix/sys/wait.h [__USE_BSD]: Likewise.
9697         [__USE_SVID]: Likewise.
9698         * posix/unistd.h [__USE_BSD]: Likewise.
9699         [__USE_SVID]: Likewise.
9700         * pwd/pwd.h [__USE_SVID]: Likewise.
9701         * resolv/netdb.h [__USE_BSD]: Likewise.
9702         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9703         * signal/signal.h [__USE_BSD]: Likewise.
9704         [__USE_SVID]: Likewise.
9705         * socket/sys/socket.h [__USE_BSD]: Likewise.
9706         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9707         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9708         [__USE_SVID]: Likewise.
9709         * string/bits/string2.h [__USE_BSD]: Likewise.
9710         [__USE_SVID]: Likewise.
9711         * string/bits/string3.h [__USE_BSD]: Likewise.
9712         * string/endian.h [__USE_BSD]: Likewise.
9713         * string/string.h [__USE_SVID]: Likewise.
9714         [__USE_BSD]: Likewise.
9715         * string/strings.h [__USE_BSD]: Likewise.
9716         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9717         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9718         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9719         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9720         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9721         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9722         Likewise.
9723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9724         Likewise.
9725         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9726         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9727         Likewise.
9728         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9729         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9730         Likewise.
9731         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9732         Likewise.
9733         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9734         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9735         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9736         Likewise.
9737         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9738         Likewise.
9739         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9740         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9741         * termios/termios.h [__USE_BSD]: Likewise.
9742         * time/sys/time.h [__USE_BSD]: Likewise.
9743         * time/time.h [__USE_BSD]: Likewise.
9744         [__USE_SVID]: Likewise.
9745
9746         * Makefile (subdir_targets): Remove subdir_lint.out.
9747
9748         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9749         (do-tst-printf): Likewise.
9750         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9751         $(objpfx)tst-printf.out.
9752
9753         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9754
9755         * Makerules (check-abi-%): Change target to
9756         $(objpfx)check-abi-%.out.
9757         (check-abi target): Update dependencies.
9758         (check-abi-pattern variable): Redirect output of diff to $@.
9759         (check-abi variable): Likewise.
9760         * elf/Makefile (check-abi): Update dependencies.
9761
9762         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9763         unused.
9764         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9765         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9766         subnormal range.
9767         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9768         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9769         value has largest subnormal exponent.
9770         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9771         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9772         * sysdeps/aarch64/soft-fp/sfp-machine.h
9773         (_FP_TININESS_AFTER_ROUNDING): New macro.
9774         * sysdeps/alpha/soft-fp/sfp-machine.h
9775         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9776         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9777         Likewise.
9778         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9779         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9780         * sysdeps/mips/soft-fp/sfp-machine.h
9781         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9782         * sysdeps/powerpc/soft-fp/sfp-machine.h
9783         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9784         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9785         Likewise.
9786         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9787         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9788         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9789         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9790         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9791         Likewise.
9792
9793 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9794
9795         [BZ #16545]
9796         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9797         model 1.
9798
9799 2014-02-12  Richard Henderson  <rth@redhat.com>
9800
9801         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9802         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9803         * sysdeps/unix/sysv/linux/alpha: Move directory from
9804         ports/sysdeps/unix/sysv/linux/alpha.
9805         * README: Update listing for alpha-*-linux-gnu.
9806
9807 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9808
9809         * include/features.h: Update comment documenting feature test
9810         macros.
9811         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9812         _DEFAULT_SOURCE.
9813         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9814         (_SVID_SOURCE): Likewise.
9815         (_DEFAULT_SOURCE): Update description of default features.
9816         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9817         with _GNU_SOURCE.
9818         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9819         (S_ISVTX): Likewise.
9820         * manual/math.texi (Mathematical Constants): Likewise.
9821         * manual/signal.texi (Interrupted Primitives): Likewise.
9822         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9823         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9824         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9825         Don't refer to _SVID_SOURCE in warning text.
9826
9827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9828
9829         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9830         already defined.
9831         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9832         * sysdeps/mips/dl-lookup.c: Remove.
9833         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9834
9835 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9836
9837         [BZ #16447]
9838         * math/auto-libm-test-in: Add testcase for expl.
9839         * math/auto-libm-test-out: Regenerate.
9840         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9841         calculation of unsafe.
9842         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9843
9844 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9845
9846         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9847         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9848         ports/sysdeps/unix/sysv/linux/aarch64.
9849         * README: Update listing for aarch64*-*-linux-gnu.
9850
9851 2014-02-11  Will Newton  <will.newton@linaro.org>
9852
9853         * manual/probes.texi (Mathematical Function Probes): Use
9854         "triggered" instead of "hit".
9855
9856         * manual/probes.texi (Internal Probes): Add documentation
9857         of setjmp, longjmp and longjmp_target probes.
9858
9859         * include/stap-probe.h: Add comment about probe argument
9860         format.
9861
9862         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9863         definition.  (tr_where, tr_freehook, tr_mallochook,
9864         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9865
9866 2014-02-11  David S. Miller  <davem@davemloft.net>
9867
9868         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9869         processing int_tests.
9870
9871 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9872
9873         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9874         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9875         * sysdeps/unix/sysv/linux/mips: Move directory from
9876         ports/sysdeps/unix/sysv/linux/mips.
9877         * README: Update listing for mips-*-linux-gnu and
9878         mips64-*-linux-gnu.
9879
9880 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9881
9882         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9883         * sysdeps/unix/sysv/linux/m68k: Move directory from
9884         ports/sysdeps/unix/sysv/linux/m68k.
9885         * README: Update listing for m68k-*-linux-gnu.
9886
9887 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9888
9889         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9890         * sysdeps/unix/sysv/linux/generic: Move directory from
9891         ports/sysdeps/unix/sysv/linux/generic.
9892         * sysdeps/unix/sysv/linux/tile: Move directory from
9893         ports/sysdeps/unix/sysv/linux/tile.
9894         * README: Update listing for tile*-*-linux-gnu.
9895
9896 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9897
9898         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9899         __builtin_expect.
9900         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9901         * catgets/open_catalog.c (__open_catalog): Likewise.
9902         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9903         * debug/confstr_chk.c: Likewise.
9904         * debug/fread_chk.c (__fread_chk): Likewise.
9905         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9906         * debug/getgroups_chk.c: Likewise.
9907         * debug/mbsnrtowcs_chk.c: Likewise.
9908         * debug/mbsrtowcs_chk.c: Likewise.
9909         * debug/mbstowcs_chk.c: Likewise.
9910         * debug/memcpy_chk.c: Likewise.
9911         * debug/memmove_chk.c: Likewise.
9912         * debug/mempcpy_chk.c: Likewise.
9913         * debug/memset_chk.c: Likewise.
9914         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9915         * debug/strcat_chk.c (__strcat_chk): Likewise.
9916         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9917         * debug/strncat_chk.c (__strncat_chk): Likewise.
9918         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9919         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9920         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9921         * debug/wcpncpy_chk.c: Likewise.
9922         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9923         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9924         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9925         * debug/wcsncpy_chk.c: Likewise.
9926         * debug/wcsnrtombs_chk.c: Likewise.
9927         * debug/wcsrtombs_chk.c: Likewise.
9928         * debug/wcstombs_chk.c: Likewise.
9929         * debug/wmemcpy_chk.c: Likewise.
9930         * debug/wmemmove_chk.c: Likewise.
9931         * debug/wmempcpy_chk.c: Likewise.
9932         * debug/wmemset_chk.c: Likewise.
9933         * dirent/scandirat.c (SCANDIRAT): Likewise.
9934         * dlfcn/dladdr1.c (dladdr1): Likewise.
9935         * dlfcn/dladdr.c (dladdr): Likewise.
9936         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9937         * dlfcn/dlerror.c (__dlerror): Likewise.
9938         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9939         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9940         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9941         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9942         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9943         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9944         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9945         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9946         Likewise.
9947         * elf/dl-conflict.c: Likewise.
9948         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9949         * elf/dl-dst.h: Likewise.
9950         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9951         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9952         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9953         * elf/dl-init.c (call_init, _dl_init): Likewise.
9954         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9955         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9956         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9957         Likewise.
9958         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9959         Likewise.
9960         * elf/dl-minimal.c (__libc_memalign): Likewise.
9961         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9962         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9963         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9964         * elf/dl-sym.c (do_sym): Likewise.
9965         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9966         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9967         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9968         * elf/dl-writev.h (_dl_writev): Likewise.
9969         * elf/ldconfig.c (search_dir): Likewise.
9970         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9971         (dl_main): Likewise.
9972         * elf/setup-vdso.h (setup_vdso): Likewise.
9973         * grp/compat-initgroups.c (compat_call): Likewise.
9974         * grp/fgetgrent.c (fgetgrent): Likewise.
9975         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9976         * grp/putgrent.c (putgrent): Likewise.
9977         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9978         Likewise.
9979         * hurd/hurdinit.c: Likewise.
9980         * iconvdata/8bit-gap.c (struct): Likewise.
9981         * iconvdata/ansi_x3.110.c : Likewise.
9982         * iconvdata/big5.c : Likewise.
9983         * iconvdata/big5hkscs.c : Likewise.
9984         * iconvdata/cp1255.c: Likewise.
9985         * iconvdata/cp1258.c : Likewise.
9986         * iconvdata/cp932.c : Likewise.
9987         * iconvdata/euc-cn.c: Likewise.
9988         * iconvdata/euc-jisx0213.c : Likewise.
9989         * iconvdata/euc-jp.c: Likewise.
9990         * iconvdata/euc-jp-ms.c : Likewise.
9991         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9992         * iconvdata/gb18030.c : Likewise.
9993         * iconvdata/gbbig5.c (const): Likewise.
9994         * iconvdata/gbgbk.c: Likewise.
9995         * iconvdata/gbk.c : Likewise.
9996         * iconvdata/ibm1364.c : Likewise.
9997         * iconvdata/ibm930.c : Likewise.
9998         * iconvdata/ibm932.c: Likewise.
9999         * iconvdata/ibm933.c : Likewise.
10000         * iconvdata/ibm935.c : Likewise.
10001         * iconvdata/ibm937.c : Likewise.
10002         * iconvdata/ibm939.c : Likewise.
10003         * iconvdata/ibm943.c: Likewise.
10004         * iconvdata/iso_11548-1.c: Likewise.
10005         * iconvdata/iso-2022-cn.c : Likewise.
10006         * iconvdata/iso-2022-cn-ext.c : Likewise.
10007         * iconvdata/iso-2022-jp-3.c: Likewise.
10008         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10009         * iconvdata/iso-2022-kr.c : Likewise.
10010         * iconvdata/iso646.c (gconv_end): Likewise.
10011         * iconvdata/iso_6937-2.c : Likewise.
10012         * iconvdata/iso_6937.c : Likewise.
10013         * iconvdata/iso8859-1.c: Likewise.
10014         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10015         * iconvdata/shift_jisx0213.c : Likewise.
10016         * iconvdata/sjis.c : Likewise.
10017         * iconvdata/t.61.c : Likewise.
10018         * iconvdata/tcvn5712-1.c : Likewise.
10019         * iconvdata/tscii.c: Likewise.
10020         * iconvdata/uhc.c : Likewise.
10021         * iconvdata/unicode.c (gconv_end): Likewise.
10022         * iconvdata/utf-16.c (gconv_end): Likewise.
10023         * iconvdata/utf-32.c (gconv_end): Likewise.
10024         * iconvdata/utf-7.c (base64): Likewise.
10025         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10026         * iconv/gconv_close.c (__gconv_close): Likewise.
10027         * iconv/gconv_open.c (__gconv_open): Likewise.
10028         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10029         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10030         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10031         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10032         (ucs4le_internal_loop_single): Likewise.
10033         * iconv/iconv.c (iconv): Likewise.
10034         * iconv/iconv_close.c: Likewise.
10035         * iconv/loop.c (SINGLE): Likewise.
10036         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10037         * include/atomic.h: Likewise.
10038         * inet/inet6_option.c (option_alloc): Likewise.
10039         * intl/bindtextdom.c (set_binding_values): Likewise.
10040         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10041         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10042         * intl/localealias.c (read_alias_file): Likewise.
10043         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10044         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10045         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10046         * libio/fmemopen.c (fmemopen): Likewise.
10047         * libio/iofgets.c (_IO_fgets): Likewise.
10048         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10049         * libio/iofgetws.c (fgetws): Likewise.
10050         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10051         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10052         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10053         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10054         * locale/findlocale.c (_nl_find_locale): Likewise.
10055         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10056         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10057         Likewise.
10058         * locale/setlocale.c (setlocale): Likewise.
10059         * login/programs/pt_chown.c (main): Likewise.
10060         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10061         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10062         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10063         (mmap, mmap64, mremap, munmap): Likewise.
10064         * math/e_exp2l.c: Likewise.
10065         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10066         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10067         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10068         * math/s_catan.c (__catan): Likewise.
10069         * math/s_catanf.c (__catanf): Likewise.
10070         * math/s_catanh.c (__catanh): Likewise.
10071         * math/s_catanhf.c (__catanhf): Likewise.
10072         * math/s_catanhl.c (__catanhl): Likewise.
10073         * math/s_catanl.c (__catanl): Likewise.
10074         * math/s_ccosh.c (__ccosh): Likewise.
10075         * math/s_ccoshf.c (__ccoshf): Likewise.
10076         * math/s_ccoshl.c (__ccoshl): Likewise.
10077         * math/s_cexp.c (__cexp): Likewise.
10078         * math/s_cexpf.c (__cexpf): Likewise.
10079         * math/s_cexpl.c (__cexpl): Likewise.
10080         * math/s_clog10.c (__clog10): Likewise.
10081         * math/s_clog10f.c (__clog10f): Likewise.
10082         * math/s_clog10l.c (__clog10l): Likewise.
10083         * math/s_clog.c (__clog): Likewise.
10084         * math/s_clogf.c (__clogf): Likewise.
10085         * math/s_clogl.c (__clogl): Likewise.
10086         * math/s_csin.c (__csin): Likewise.
10087         * math/s_csinf.c (__csinf): Likewise.
10088         * math/s_csinh.c (__csinh): Likewise.
10089         * math/s_csinhf.c (__csinhf): Likewise.
10090         * math/s_csinhl.c (__csinhl): Likewise.
10091         * math/s_csinl.c (__csinl): Likewise.
10092         * math/s_csqrt.c (__csqrt): Likewise.
10093         * math/s_csqrtf.c (__csqrtf): Likewise.
10094         * math/s_csqrtl.c (__csqrtl): Likewise.
10095         * math/s_ctan.c (__ctan): Likewise.
10096         * math/s_ctanf.c (__ctanf): Likewise.
10097         * math/s_ctanh.c (__ctanh): Likewise.
10098         * math/s_ctanhf.c (__ctanhf): Likewise.
10099         * math/s_ctanhl.c (__ctanhl): Likewise.
10100         * math/s_ctanl.c (__ctanl): Likewise.
10101         * math/w_pow.c: Likewise.
10102         * math/w_powf.c: Likewise.
10103         * math/w_powl.c: Likewise.
10104         * math/w_scalb.c (sysv_scalb): Likewise.
10105         * math/w_scalbf.c (sysv_scalbf): Likewise.
10106         * math/w_scalbl.c (sysv_scalbl): Likewise.
10107         * misc/error.c (error_tail): Likewise.
10108         * misc/pselect.c (__pselect): Likewise.
10109         * nis/nis_callback.c (__nis_create_callback): Likewise.
10110         * nis/nis_call.c (__nisfind_server): Likewise.
10111         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10112         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10113         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10114         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10115         * nis/nis_lookup.c (nis_lookup): Likewise.
10116         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10117         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10118         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10119         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10120         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10121         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10122         * nis/nss_compat/compat-initgroups.c (add_group)
10123         (internal_getgrent_r): Likewise.
10124         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10125         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10126         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10127         (internal_getspnam_r): Likewise.
10128         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10129         (_nss_nis_getaliasbyname_r): Likewise.
10130         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10131         (_nss_nis_getntohost_r): Likewise.
10132         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10133         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10134         (_nss_nis_getgrgid_r): Likewise.
10135         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10136         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10137         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10138         (_nss_nis_gethostbyname4_r): Likewise.
10139         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10140         (initgroups_netid): Likewise.
10141         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10142         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10143         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10144         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10145         (_nss_nis_getprotobynumber_r): Likewise.
10146         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10147         (_nss_nis_getsecretkey): Likewise.
10148         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10149         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10150         (_nss_nis_getpwuid_r): Likewise.
10151         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10152         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10153         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10154         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10155         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10156         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10157         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10158         Likewise.
10159         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10160         (_nss_nisplus_getntohost_r): Likewise.
10161         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10162         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10163         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10164         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10165         Likewise.
10166         * nis/nss_nisplus/nisplus-initgroups.c
10167         (_nss_nisplus_initgroups_dyn): Likewise.
10168         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10169         (_nss_nisplus_getnetbyaddr_r): Likewise.
10170         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10171         (_nss_nisplus_getprotobynumber_r): Likewise.
10172         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10173         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10174         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10175         Likewise.
10176         * nis/nss_nisplus/nisplus-service.c
10177         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10178         (_nss_nisplus_getservbyport_r): Likewise.
10179         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10180         (_nss_nisplus_getspnam_r): Likewise.
10181         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10182         Likewise.
10183         * nscd/aicache.c (addhstaiX): Likewise.
10184         * nscd/cache.c (cache_search, prune_cache): Likewise.
10185         * nscd/connections.c (register_traced_file, send_ro_fd)
10186         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10187         (main_loop_epoll): Likewise.
10188         * nscd/grpcache.c (addgrbyX): Likewise.
10189         * nscd/hstcache.c (addhstbyX): Likewise.
10190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10191         * nscd/mem.c (gc, mempool_alloc): Likewise.
10192         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10193         (addinnetgrX): Likewise.
10194         * nscd/nscd-client.h (__nscd_acquire_maplock)
10195         (__nscd_drop_map_ref): Likewise.
10196         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10197         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10198         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10199         Likewise.
10200         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10201         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10202         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10203         (__nscd_get_map_ref): Likewise.
10204         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10205         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10206         Likewise.
10207         * nscd/pwdcache.c (addpwbyX): Likewise.
10208         * nscd/selinux.c (preserve_capabilities): Likewise.
10209         * nscd/servicescache.c (addservbyX): Likewise.
10210         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10211         * posix/fnmatch.c (fnmatch): Likewise.
10212         * posix/getopt.c (_getopt_internal_r): Likewise.
10213         * posix/glob.c (glob, glob_in_dir): Likewise.
10214         * posix/wordexp.c (exec_comm_child): Likewise.
10215         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10216         (getanswer_r, gaih_getanswer_slice): Likewise.
10217         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10218         * resolv/res_init.c: Likewise.
10219         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10220         * resolv/res_query.c (__libc_res_nquery): Likewise.
10221         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10222         Likewise.
10223         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10224         * stdio-common/perror.c (perror): Likewise.
10225         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10226         * stdio-common/tmpnam.c (tmpnam): Likewise.
10227         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10228         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10229         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10230         Likewise.
10231         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10232         * stdlib/putenv.c (putenv): Likewise.
10233         * stdlib/setenv.c (__add_to_environ): Likewise.
10234         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10235         * stdlib/strtol_l.c (INTERNAL): Likewise.
10236         * string/memmem.c (memmem): Likewise.
10237         * string/strerror.c (strerror): Likewise.
10238         * string/strnlen.c (__strnlen): Likewise.
10239         * string/test-memmem.c (simple_memmem): Likewise.
10240         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10241         * sunrpc/pm_getport.c (__get_socket): Likewise.
10242         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10243         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10244         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10245         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10246         Likewise.
10247         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10248         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10249         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10250         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10251         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10252         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10253         Likewise.
10254         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10255         Likewise.
10256         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10257         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10258         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10259         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10260         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10262         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10263         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10264         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10265         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10266         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10267         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10268         Likewise.
10269         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10270         Likewise.
10271         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10272         Likewise.
10273         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10274         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10275         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10276         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10277         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10278         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10279         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10280         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10281         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10282         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10283         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10284         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10285         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10286         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10287         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10288         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10289         Likewise.
10290         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10291         Likewise.
10292         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10293         Likewise.
10294         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10295         Likewise.
10296         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10298         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10299         Likewise.
10300         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10301         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10302         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10303         * sysdeps/posix/sleep.c: Likewise.
10304         * sysdeps/posix/tempname.c: Likewise.
10305         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10306         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10307         Likewise.
10308         * sysdeps/powerpc/powerpc32/dl-machine.h
10309         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10310         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10311         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10312         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10313         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10314         Likewise.
10315         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10316         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10317         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10318         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10319         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10320         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10321         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10322         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10323         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10324         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10325         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10326         (elf_machine_lazy_rel): Likewise.
10327         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10328         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10329         (elf_machine_lazy_rel): Likewise.
10330         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10331         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10332         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10333         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10334         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10335         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10336         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10337         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10338         Likewise.
10339         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10340         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10341         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10342         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10343         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10344         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10345         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10346         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10347         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10348         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10349         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10350         Likewise.
10351         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10352         (__posix_fallocate64_l64): Likewise.
10353         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10354         (posix_fallocate): Likewise.
10355         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10356         Likewise.
10357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10358         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10359         (getifaddrs_internal): Likewise.
10360         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10361         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10362         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10363         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10364         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10365         (__posix_fallocate64_l64): Likewise.
10366         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10367         Likewise.
10368         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10369         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10370         (__get_clockfreq): Likewise.
10371         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10372         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10373         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10374         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10375         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10376         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10377         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10378         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10379         Likewise.
10380         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10381         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10382         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10383         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10384         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10385         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10386         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10387         Likewise.
10388         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10389         (posix_fallocate): Likewise.
10390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10391         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10392         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10393         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10394         (elf_machine_rela, elf_machine_rela_relative)
10395         (elf_machine_lazy_rel): Likewise.
10396         * time/asctime.c (asctime_internal): Likewise.
10397         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10398         * time/tzset.c (__tzset_parse_tz): Likewise.
10399         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10400         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10401         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10402         * wcsmbs/wcsmbsload.h: Likewise.
10403
10404         [BZ #15894]
10405         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10406
10407         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10408         (arena_get2): Remove THREAD_STATS conditionals.
10409         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10410         (__malloc_stats, int): Likewise.
10411
10412 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10413
10414         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10415         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10416
10417         * manual/setjmp.texi: Fix typos/grammar errors.
10418
10419         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10420         Only return early when n is <= 0.  Delete unused return statement.
10421
10422         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10423         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10424         * debug/tst-longjmp_chk3.c: New file.
10425
10426         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10427         (test_main): Replace code with set_fortify_handler call.
10428         * debug/test-strcpy_chk.c: Likewise.
10429         * debug/tst-chk1.c: Likewise.
10430         * debug/tst-longjmp_chk.c: Likewise.
10431         * test-skeleton.c: Include fcntl.h & paths.h
10432         (set_fortify_handler): Define.
10433
10434         * debug/tst-longjmp_chk.c: Add header comment and include
10435         ../test-skeleton.c.
10436         (do_test): Mark static.
10437         (TEST_FUNCTION): Define.
10438
10439         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10440         (IP_PMTUDISC_INTERFACE): Likewise.
10441         (IP_MULTICAST_IF): Likewise.
10442         (IP_MULTICAST_TTL): Likewise.
10443         (IP_MULTICAST_LOOP): Likewise.
10444         (IP_ADD_MEMBERSHIP): Likewise.
10445         (IP_DROP_MEMBERSHIP): Likewise.
10446         (IP_UNBLOCK_SOURCE): Likewise.
10447         (IP_BLOCK_SOURCE): Likewise.
10448         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10449         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10450         (IP_MSFILTER): Likewise.
10451         (MCAST_JOIN_GROUP): Likewise.
10452         (MCAST_BLOCK_SOURCE): Likewise.
10453         (MCAST_UNBLOCK_SOURCE): Likewise.
10454         (MCAST_LEAVE_GROUP): Likewise.
10455         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10456         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10457         (MCAST_MSFILTER): Likewise.
10458         (IP_MULTICAST_ALL): Likewise.
10459         (IP_UNICAST_IF): Likewise.
10460
10461         * timezone/Makefile: Delete $(have-ksh) check.
10462         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10463         * timezone/tzselect.ksh: Add +x mode bits.
10464
10465         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10466         (ANON_INODE_FS_MAGIC): Likewise.
10467         (BDEVFS_MAGIC): Likewise.
10468         (BINFMTFS_MAGIC): Likewise.
10469         (BTRFS_TEST_MAGIC): Likewise.
10470         (CRAMFS_MAGIC_WEND): Likewise.
10471         (DEBUGFS_MAGIC): Likewise.
10472         (ECRYPTFS_SUPER_MAGIC): Likewise.
10473         (EXT3_SUPER_MAGIC): Likewise.
10474         (EXT4_SUPER_MAGIC): Likewise.
10475         (FUTEXFS_SUPER_MAGIC): Likewise.
10476         (HOSTFS_SUPER_MAGIC): Likewise.
10477         (HUGETLBFS_MAGIC): Likewise.
10478         (MINIX3_SUPER_MAGIC): Likewise.
10479         (MTD_INODE_FS_MAGIC): Likewise.
10480         (NILFS_SUPER_MAGIC): Likewise.
10481         (OPENPROM_SUPER_MAGIC): Likewise.
10482         (PIPEFS_MAGIC): Likewise.
10483         (PSTOREFS_MAGIC): Likewise.
10484         (QNX6_SUPER_MAGIC): Likewise.
10485         (RAMFS_MAGIC): Likewise.
10486         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10487         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10488         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10489         (SECURITYFS_MAGIC): Likewise.
10490         (SELINUX_MAGIC): Likewise.
10491         (SMACK_MAGIC): Likewise.
10492         (SOCKFS_MAGIC): Likewise.
10493         (SQUASHFS_MAGIC): Likewise.
10494         (STACK_END_MAGIC): Likewise.
10495         (TMPFS_MAGIC): Likewise.
10496         (USBDEVICE_SUPER_MAGIC): Likewise.
10497         (V9FS_MAGIC): Likewise.
10498         (XENFS_SUPER_MAGIC): Likewise.
10499         (CRAMFS_MAGIC): Fix typo in comment.
10500         (EXT2_SUPER_MAGIC): Update comment.
10501         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10502
10503 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10504
10505         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10506         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10507         * sysdeps/unix/sysv/linux/arm: Move directory from
10508         ports/sysdeps/unix/sysv/linux/arm.
10509         * README: Update listing for arm-*-linux-gnueabi.
10510
10511         * README: Remove mention of am33.
10512
10513 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10514
10515         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10516         than the comma operator, to avoid "rhs of comma has no effect"
10517         compiler warnings.
10518         (__sigfillset, __sigandset, __sigorset): Likewise.
10519         * include/signal.h (__sigemptyset): Likewise.
10520         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10521
10522 2014-02-07  Allan McRae  <allan@archlinux.org>
10523
10524         * version.h (RELEASE): Set to "development".
10525         (VERSION): Set to "2.19.90"
10526         * NEWS: Add 2.20 section.
10527
10528 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10529
10530         [BZ #16529]
10531         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10532
10533 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10534
10535         * manual/contrib.texi: Update entry for Carlos O'Donell,
10536         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10537
10538 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10539
10540         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10541
10542         * sysdeps/unix/sysv/linux/kernel-features.h
10543         [__LINUX_KERNEL_VERSION >= 0x020621]
10544         (__ASSUME_PROC_PID_TASK_COMM): Define.
10545
10546 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10547
10548         [BZ #16398]
10549         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10550         conversion when destination buffer does not have enough space.
10551         * libio/tst-ftell-partial-wide.c: New test case.
10552         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10553
10554         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10555         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10556         Leonard and Allan McRae.
10557
10558 2014-02-04  David S. Miller  <davem@davemloft.net>
10559
10560         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10561         32-bit.
10562
10563 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10564
10565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10566         New file
10567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10568         New file
10569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10570         New file.
10571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10572         New file.
10573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10574         New file.
10575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10576         New file.
10577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10578         New file.
10579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10580         New file.
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10582         New file.
10583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10584         New file.
10585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10586         New file.
10587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10588         New file.
10589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10590         New file.
10591
10592 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10593
10594         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10595         * shlib-versions: Likewise.
10596
10597 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10598             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10599
10600         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10601         (abilist-pattern): New variable, set to %-le.abilist.
10602
10603         * Makerules (abilist-pattern): New variable.
10604         (vpath): Use $(abilist-pattern) in place of %.abilist.
10605         (check-abi-% pattern rule): Likewise.
10606         (check-abi, update-abi): Likewise.
10607
10608 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10609
10610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10611
10612 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10613
10614         * manual/startup.texi: Add next, previous, and top entries for
10615         the `Program Arguments' and `Environment Variables' nodes.
10616
10617 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10618
10619         * manual/macros.texi: Add comments before MTASC-safety macros.
10620
10621         * manual/users.texi: Document MTASC-safety properties.
10622
10623         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10624         (pthread_getspecific, pthread_setspecific): Format with
10625         @deftypefun, and add @safety note.
10626         * manual/signal.texi: Move comments that analyze the above
10627         functions to their home place.
10628
10629 2014-02-03  Allan McRae  <allan@archlinux.org>
10630
10631         * po/sl.po: Update Slovenian translation from translation project.
10632
10633 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10634
10635         * manual/time.texi (timegm): Add missing blank after @c.
10636         Reported by Joseph Myers <joseph@codesourcery.com>.
10637
10638 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10639
10640         * manual/check-safety.sh: New.
10641         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10642
10643         * manual/terminal.texi: Document MTASC-safety properties.
10644
10645         * manual/filesys.texi: Document MTASC-safety properties.
10646
10647         * manual/errno.texi: Document MTASC-safety properties.
10648
10649         * manual/intro.texi: Document safety identifiers and
10650         conditionals.
10651
10652         * manual/string.texi (wcstok): Fix prototype.
10653         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10654
10655         * manual/time.texi: Document MTASC-safety properties.
10656
10657         * manual/string.texi: Document MTASC-safety properties.
10658
10659         * manual/threads.texi: Document MTASC-safety properties.
10660
10661         * manual/stdio.texi: Document MTASC-safety properties.
10662
10663         * manual/syslog.texi: Document MTASC-safety properties.
10664
10665         * manual/sysinfo.texi: Document MTASC-safety properties.
10666
10667         * manual/startup.texi: Document MTASC-safety properties.
10668
10669         * manual/socket.texi: Document MTASC-safety properties.
10670
10671         * manual/signal.texi: Document MTASC-safety properties.
10672
10673 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10674
10675         * manual/setjmp.texi: Document MTASC-safety properties.
10676
10677         * manual/search.texi: Document MTASC-safety properties.
10678
10679         * manual/resource.texi: Document MTASC-safety properties.
10680
10681         * manual/process.texi: Document MTASC-safety properties.
10682
10683         * manual/platform.texi: Document MTASC-safety properties.
10684
10685         * manual/pipe.texi: Document MTASC-safety properties.
10686
10687         * manual/pattern.texi: Document MTASC-safety properties.
10688
10689         * manual/message.texi: Document MTASC-safety properties.
10690
10691         [BZ #12751]
10692         * manual/memory.texi: Document MTASC-safety properties.
10693
10694         * manual/math.texi: Document MTASC-safety properties.
10695
10696         * manual/locale.texi: Document MTASC-safety properties.
10697
10698         * manual/llio.texi: Document MTASC-safety properties.
10699
10700         * manual/libdl.texi: New.
10701
10702         * manual/lang.texi: Document MTASC-safety properties.
10703
10704         * manual/job.texi: Document MTASC-safety properties.
10705
10706         * manual/getopt.texi: Document MTASC-safety properties.
10707
10708         * manual/ctype.texi: Document MTASC-safety properties.
10709
10710 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10711
10712         [BZ #16046]
10713         * csu/libc-tls.c (static_map): Remove variable.
10714         (__libc_setup_tls): Use main executable's link map for TLS data.
10715         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10716         casing for LM_ID_BASE and GL(dl_nns).
10717         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10718         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10719         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10720         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10721         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10722         member.
10723         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10724         l_phnum members.
10725
10726 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10727
10728         * manual/debug.texi: Document MTASC-safety properties.
10729
10730 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10731
10732         [BZ #16510]
10733         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10734         of __x86_64__ when disabling x87 inline functions.
10735
10736 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10737
10738         * manual/charset.texi: Document MTASC-safety properties.
10739
10740         * manual/crypt.texi: Document MTASC-safety properties.
10741
10742         * manual/conf.texi: Document MTASC-safety properties.
10743
10744         * manual/arith.texi: Document MTASC-safety properties.
10745
10746         * manual/argp.texi: Document MTASC-safety properties.
10747
10748         * manual/macros.texi: Introduce macros to document multi
10749         thread, asynchronous signal and asynchronous cancellation
10750         safety properties.
10751         * manual/intro.texi: Introduce the properties themselves.
10752
10753 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10754
10755         * sysdeps/sh/sh4/Makefile: New file.
10756
10757 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10758
10759         * math/gen-libm-test.pl ($srcdir): New variable.
10760         ($auto_input): Use it.
10761
10762 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10763
10764         [BZ #16506]
10765         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10766         access beyond array bounds when parsing netgroups file.
10767
10768         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10769         the old buffer before realloc.
10770
10771 2014-01-27  Allan McRae  <allan@archlinux.org>
10772
10773         * po/fr.po: Update French translation from translation project.
10774
10775 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10776
10777         * sysdeps/sh/libm-test-ulps: Regenerate.
10778
10779 2014-01-24  David S. Miller  <davem@davemloft.net>
10780
10781         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10782
10783 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10784
10785         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10786         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10787
10788 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10789
10790         [BZ #16474]
10791         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10792         string pointers after reallocation.
10793
10794 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10795
10796         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10797         __SH4A__ instead of __SH_FPU_ANY__.
10798
10799 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10800
10801         * sysdeps/sh/fpu_control.h: New file.
10802         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10803         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10804         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10805         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10806         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10807         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10808         * sysdeps/sh/sys/ucontext.h: Remove.
10809         * sysdeps/sh/sys: Remove directory.
10810
10811 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10812
10813         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10814         s390/sys/ucontext.h.
10815         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10816         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10817
10818 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10819
10820         [BZ #15605]
10821         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10822
10823 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10824
10825         [BZ#16431]
10826         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10827         Adjust the vDSO correctly for internal calls.
10828         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10829
10830 2014-01-20  Allan McRae  <allan@archlinux.org>
10831
10832         * po/ca.po: Update Catalan translation from translation project.
10833
10834 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10835
10836         * sysdeps/s390/sotruss-lib.c: New file.
10837
10838 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10839
10840         [BZ#16430]
10841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10842         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10843         local calls issues by not having a PLT stub required for IFUNC calls.
10844         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10845
10846 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10847
10848         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10849         * math/test-fpucw-static.c: Likewise.
10850
10851 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10852
10853         [BZ #16453]
10854         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10855
10856 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10857
10858         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10859         implementation for powerpc.
10860
10861 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10862
10863         [BZ #14782]
10864         * sysdeps/posix/system.c (__libc_system): Do not enable
10865         asynchronous cancellation.
10866
10867 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10868
10869         [BZ #16427]
10870         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10871         handling only for numbers special also in the IEEE case.
10872
10873 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10874
10875         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10876
10877 2014-01-11  Allan McRae  <allan@archlinux.org>
10878
10879         * po/bg.po: Update Bulgarian translation from translation project.
10880
10881         * po/de.po: Update German translation from translation project.
10882
10883 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10884
10885         * sysdeps/generic/gcc-compat.h: New file.
10886
10887 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10888
10889         * benchtests/asin-inputs: Correct slow inputs.
10890         * benchtests/acos-inputs: Likewise.
10891
10892 2014-01-10  Allan McRae  <allan@archlinux.org>
10893
10894         * po:sv.po: Update Swedish translation from translation project.
10895
10896         * po/vi.po: Update Vietnamese translation from translation project.
10897
10898         * po/eo.po: Update Esperanto translation from translation project.
10899
10900         * po/cs.po: Update Czech translation from translation project.
10901
10902         * po/nl.po: Update Dutch translation from translation project.
10903
10904         * po/pl.po: Update Polish translation from translation project.
10905
10906         * po/ru.po: Update Russian translation from translation project.
10907
10908         * po/uk.po: Update Ukrainian translation from translation project.
10909
10910 2014-01-08  Brooks Moses  <bmoses@google.com>
10911
10912         * elf/dl-load.c: Fix comment typo.
10913
10914 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10915
10916         * po/header.pot: Rename to...
10917         * po/pot.header: ... this.
10918         * po/Makefile: Use pot.header.
10919
10920 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10921             Maxim Kuvyrkov  <maxim@kugelworks.com>
10922
10923         [BZ #16394]
10924         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10925         SRC and DEST against LEN.
10926
10927 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10928
10929         [BZ #16414]
10930         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10931         implementation.
10932         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10933
10934 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10935
10936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10937
10938 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10939
10940         [BZ #16408]
10941         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10942         for large positive arguments.
10943
10944 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10945
10946         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10947
10948         * math/auto-libm-test-in: Mark various tests with
10949         xfail-rounding:ldbl-128ibm.
10950         * math/auto-libm-test-out: Regenerated.
10951
10952         [BZ #16407]
10953         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10954         Increase overflow threshold.
10955
10956 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10957
10958         [BZ #14286]
10959         * stdio-common/vfprintf.c: Check for integer overflow.
10960
10961 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10962
10963         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10964         the first argument and return value of __tls_get_addr_internal.
10965
10966 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10967
10968         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10969         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10970
10971 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10972
10973         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10974         * sysdeps/s390/rtld-global-offsets.sym: New file.
10975         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10976         GLIBC_2.19 symbol.
10977         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10978         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10979         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10980         ... this.
10981         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10982         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10983         ... this.
10984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10985         Regenerate.
10986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10987         Regenerate.
10988         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10989         halfs of GPRs for high_gprs contexts.
10990         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10991         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10992         field.
10993         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10994         uc_flags field.
10995         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10996         64 bit versions:
10997         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10998         for high GPRs (uc_high_gprs) and for future extensions
10999         (__reserved).
11000         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11001         for future extensions (__reserved).
11002         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11003         64 bit versions:
11004         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11005         SC_HIGHGPRS offset definition.
11006         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11007         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11008
11009         * Versions.def: Add GLIBC_2.19 for libpthread.
11010         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11011         siglongjmp for libpthread with GLIBC_2.19 symver.
11012         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11013         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11014         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11015         * sysdeps/s390/__longjmp.c: New file.
11016         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11017         * sysdeps/s390/longjmp.c: New file.
11018         * sysdeps/s390/setjmp.S: New file.
11019         * sysdeps/s390/sigjmp.S: New file.
11020         * sysdeps/s390/v1-longjmp.c: New file.
11021         * sysdeps/s390/v1-setjmp.h: New file.
11022         * sysdeps/s390/v1-sigjmp.c: New file.
11023         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11024         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11025         GLIBC_2.19 version.
11026         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11027         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11028         versioned symbols for ____longjmp_chk.
11029         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11030         Likewise.
11031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11032         Regenerate.
11033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11034         Regenerate.
11035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11036         Regenerate.
11037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11038         Regenerate.
11039         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11040         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11041         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11042         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11043         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11044         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11045         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11046         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11047         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11048         * sysdeps/s390/rtld-__longjmp.c: New file.
11049         * sysdeps/s390/rtld-setjmp.S: New file.
11050
11051 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11052
11053         [BZ #16400]
11054         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11055         Return -__logl (x) for small positive arguments without evaluating
11056         a polynomial.
11057
11058 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11059
11060         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11061         Rename to ...
11062         (__ptrace_peeksiginfo_args): ... this.
11063         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11064         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11065         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11066
11067 2014-01-06  Allan McRae  <allan@archlinux.org>
11068
11069         * inet/netinet/in.h: Fix typo in comment.
11070
11071 2014-01-05  Andreas Jaeger  <aj@suse.de>
11072
11073         * sysdeps/i386/fpu/libm-test-ulps: Update.
11074
11075 2014-01-05  Allan McRae  <allan@archlinux.org>
11076
11077         * po/libc.pot: Regenerated.
11078
11079         * malloc/memusagestat.c: Fix gettext call formatting.
11080
11081 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11082
11083         * nscd/nscd.c: Improve usage() output.
11084
11085 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11086
11087         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11088         * sysdeps/unix/sysv/linux/configure: Regenerated.
11089         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11090         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11091
11092 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11093
11094         [BZ #16390]
11095         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11096         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11097
11098 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11099
11100         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11101         extra tokens at end of #undef directive.
11102         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11103         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11104         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11105
11106 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11107
11108         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11109
11110         * math/auto-libm-test-in: Mark various tests with
11111         xfail-rounding:ldbl-128ibm.
11112         * math/auto-libm-test-out: Regenerated.
11113
11114 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11115
11116         [BZ #16386]
11117         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11118         numbers with subnormal high part when calculating exponent.
11119
11120         [BZ #16385]
11121         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11122         fabs.
11123
11124         [BZ #16384]
11125         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11126         M_LN2l.
11127         (__ieee754_acoshl): Use __log1pl not __log1p.
11128
11129 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11130
11131         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11132         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11133         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11134         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11135         (reused_arena, arena_get2): Convert to GNU style.
11136         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11137         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11138         (memalign_check, __malloc_set_state): Likewise.
11139         * malloc/mallocbug.c (main): Likewise.
11140         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11141         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11142         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11143         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11144         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11145         (__posix_memalign, malloc_info): Likewise.
11146         * malloc/malloc.h: Likewise.
11147         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11148         (mallochook, memalignhook, reallochook, mabort): Likewise.
11149         * malloc/mcheck.h: Likewise.
11150         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11151         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11152         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11153         * malloc/morecore.c (__default_morecore): Likewise.
11154         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11155         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11156         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11157         (print_and_abort): Likewise.
11158         * malloc/obstack.h: Likewise.
11159         * malloc/set-freeres.c (__libc_freeres): Likewise.
11160         * malloc/tst-mallocstate.c (main): Likewise.
11161         * malloc/tst-mtrace.c (main): Likewise.
11162         * malloc/tst-realloc.c (do_test): Likewise.
11163
11164 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11165
11166         [BZ #16366]
11167         * nscd/netgroupcache.c (do_notfound): New function.
11168         (addgetnetgrentX): Use it.
11169
11170         [BZ # 16365]
11171         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11172         NSS_STATUS_NOTFOUND.
11173
11174 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11175
11176         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11178
11179 2014-01-01  Allan McRae  <allan@archlinux.org>
11180
11181         * scripts/update-copyrights: Update configure input file suffix.
11182
11183         * NEWS: Update copyright year.
11184         * catgets/gencat.c: Likewise.
11185         * csu/version.c: Likewise.
11186         * debug/catchsegv.sh: Likewise.
11187         * debug/pcprofiledump.c: Likewise.
11188         * debug/xtrace.sh: Likewise.
11189         * elf/ldconfig.c: Likewise.
11190         * elf/ldd.bash.in: Likewise.
11191         * elf/pldd.c: Likewise.
11192         * elf/sotruss.ksh: Likewise.
11193         * elf/sprof.c: Likewise.
11194         * iconv/iconv_prog.c: Likewise.
11195         * iconv/iconvconfig.c: Likewise.
11196         * locale/programs/locale.c: Likewise.
11197         * locale/programs/localedef.c: Likewise.
11198         * login/programs/pt_chown.c: Likewise.
11199         * malloc/memusage.sh: Likewise.
11200         * malloc/memusagestat.c: Likewise.
11201         * malloc/mtrace.pl: Likewise.
11202         * manual/libc.texinfo: Likewise.
11203         * nscd/nscd.c: Likewise.
11204         * nss/getent.c: Likewise.
11205         * nss/makedb.c: Likewise.
11206         * posix/getconf.c: Likewise.
11207         * scripts/test-installation.pl: Likewise.
11208
11209         * All files with FSF copyright notices: Update copyright dates
11210         using scripts/update-copyrights.
11211         * intl/plural.c: Regenerated.
11212         * locale/programs/charmap-kw.h: Likewise.
11213         * locale/programs/locfile-kw.h: Likewise.
11214
11215 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11216
11217         * sysdeps/unix/sysv/linux/configure: Regenerated.
11218         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11219         the linux/fanotify.h header.
11220         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11221         HAVE_LINUX_FANOTIFY_H is defined.
11222
11223 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11224
11225         * benchtests/cos-inputs: New inputs.
11226         * benchtests/sin-inputs: Likewise.
11227
11228         * benchtests/atan-inputs: New inputs. Fix name of multiple
11229         precision fallback inputs.
11230
11231         * benchtests/atanh-inputs: New inputs.
11232         * benchtests/tanh-inputs: Likewise.
11233
11234         * benchtests/acosh-inputs: New inputs.
11235         * benchtests/asinh-inputs: Likewise.
11236
11237         * benchtests/cosh-inputs: New inputs.
11238         * benchtests/sinh-inputs: Likewise.
11239
11240         * benchtests/acos-inputs: Add more inputs.
11241         * benchtests/asin-inputs: Likewise.
11242
11243 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11244
11245         [BZ #16375]
11246         * manual/arith.texi: Fix spelling.
11247         * manual/charset.texi: Likewise.
11248         * manual/errno.texi: Likewise.
11249         * manual/filesys.texi: Likewise.
11250         * manual/lang.texi: Likewise.
11251         * manual/llio.texi: Likewise.
11252         * manual/locale.texi: Likewise.
11253         * manual/message.texi: Likewise.
11254         * manual/resource.texi: Likewise.
11255         * manual/search.texi: Likewise.
11256         * manual/setjmp.texi: Likewise.
11257         * manual/stdio.texi: Likewise.
11258         * manual/string.texi: Likewise.
11259         * manual/sysinfo.texi: Likewise.
11260         * manual/time.texi: Likewise.
11261
11262 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11263
11264         * po/sl.po: New file.
11265
11266 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11267
11268         * .gitignore: Add core/.gdbinit/.gdb_history.
11269
11270 2013-12-27  Allan McRae  <allan@archlinux.org>
11271
11272         [BZ #16369]
11273         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11274         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11275
11276 2013-12-24  Brooks Moses  <bmoses@google.com>
11277
11278         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11279         all compilers that claim C++98 compliance, not just GCC.
11280         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11281         Likewise.
11282
11283 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11284
11285         * NEWS: Restore accidentally deleted bug-fix entries.
11286
11287 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11288             Ondřej Bílka  <neleai@seznam.cz>
11289
11290         [BZ #15073]
11291         * malloc/malloc.c (_int_free): Perform sanity check only if we
11292         have_lock.
11293
11294 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11295
11296         [BZ #12986]
11297         * manual/stdio.texi (String Input Conversions): Clarify that character
11298         classes are not supported.
11299
11300 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11301
11302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11303
11304 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11305
11306         [BZ #16337]
11307         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11308         Calculate results for small negative arguments directly rather
11309         than using reflection formula with special underflow handling.
11310
11311         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11312         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11313         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11314         (fchflags): Likewise.
11315         (revoke): Likewise.
11316         (setlogin): Likewise.
11317         (sigaltstack): Likewise.
11318         (wait4): Likewise.
11319         (sigblock): Remove.
11320         (sigsetmask): Likewise.
11321         (wait3): Likewise.
11322         (waitpid): Likewise.
11323         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11324         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11325         file.
11326         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11327         * sysdeps/unix/bsd/Makefile: ... here.
11328         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11329         * sysdeps/unix/bsd/Versions: ... here.
11330         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11331         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11332         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11333         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11334         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11335         * sysdeps/unix/bsd/sigblock.c: ... here.
11336         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11337         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11338         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11339         * sysdeps/unix/bsd/sigvec.c: ... here.
11340         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11341         * sysdeps/unix/bsd/tcdrain.c: ... here.
11342         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11343         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11344         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11345         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11346         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11347         * sysdeps/unix/bsd/wait.c: ... here.
11348         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11349         * sysdeps/unix/bsd/wait3.c: ... here.
11350         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11351         * sysdeps/unix/bsd/waitpid.c: ... here.
11352
11353 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11354
11355         [BZ #16356]
11356         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11357         round-to-nearest for [!USE_AS_EXPM1L].
11358         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11359         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11360         more tests of exp and exp10.  Expect some exp10 tests to miss
11361         exceptions or fail in directed rounding modes.
11362         * math/auto-libm-test-out: Regenerated.
11363         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11364         (exp10_test_tonearest): New function.
11365         (exp10_towardzero_test_data): New array.
11366         (exp10_test_towardzero): New function.
11367         (exp10_downward_test_data): New array.
11368         (exp10_test_downward): New function.
11369         (exp10_upward_test_data): New array.
11370         (exp10_test_upward): New function.
11371         (main): Call the new functions.
11372         * sysdeps/i386/fpu/libm-test-ulps: Update.
11373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11374
11375 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11376
11377         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11378         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11379         * math/auto-libm-test-out: Regenerated.
11380         * math/libm-test.inc (acosh_test_data): Add more tests.
11381         (atanh_test_data): Likewise.
11382         (ceil_test_data): Likewise.
11383         (copysign_test_data): Likewise.
11384         * sysdeps/i386/fpu/libm-test-ulps: Update.
11385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11386
11387         * timezone/checktab.awk: Update from tzcode 2013i.
11388         * timezone/private.h: Likewise.
11389         * timezone/scheck.c: Likewise.
11390         * timezone/tzfile.h: Likewise.
11391         * timezone/tzselect.ksh: Likewise.
11392         * timezone/zdump.c: Likewise.
11393         * timezone/zic.c: Likewise.
11394
11395         * math/auto-libm-test-in: Add tests of cpow.
11396         * math/auto-libm-test-out: Regenerated.
11397         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11398         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11399         mpc_cc_c.
11400         (func_calc_desc): Add mpc_cc_c union field.
11401         (test_functions): Add cpow.
11402         (special_fill_2pi): New function.
11403         (special_real_inputs): Add 2pi.
11404         (calc_generic_results): Handle mpc_cc_c.
11405         * sysdeps/i386/fpu/libm-test-ulps: Update.
11406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11407
11408         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11409         csqrt, ctan and ctanh.
11410         * math/auto-libm-test-out: Regenerated.
11411         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11412         (TEST_COND_x86): Likewise.
11413         (ccos_test_data): Use AUTO_TESTS_c_c.
11414         (ccosh_test_data): Likewise.
11415         (cexp_test_data): Likewise.
11416         (clog_test_data): Likewise.
11417         (csqrt_test_data): Likewise.
11418         (ctan_test_data): Likewise.
11419         (ctan_tonearest_test_data): Likewise.
11420         (ctan_towardzero_test_data): Likewise.
11421         (ctan_downward_test_data): Likewise.
11422         (ctan_upward_test_data): Likewise.
11423         (ctanh_test_data): Likewise.
11424         (ctanh_tonearest_test_data): Likewise.
11425         (ctanh_towardzero_test_data): Likewise.
11426         (ctanh_downward_test_data): Likewise.
11427         (ctanh_upward_test_data): Likewise.
11428         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11429         mpc_c_c.
11430         (func_calc_desc): Add mpc_c_c union field.
11431         (FUNC_mpc_c_c): New macro.
11432         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11433         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11434         ctanh.
11435         (special_fill_min_subnorm_p120): New function.
11436         (special_real_inputs): Add min_subnorm_p120.
11437         (calc_generic_results): Handle mpc_c_c.
11438         * sysdeps/i386/fpu/libm-test-ulps: Update.
11439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11440
11441 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11442
11443         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11444         (do_sin_slow): New functions.
11445         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11446         (cslow2, csloww1, csloww2): Use the new functions.
11447
11448         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11449         Use M to change sign of result instead of X.  Assume X is
11450         positive.
11451         (csloww1): Likewise.
11452         (__sin): Adjust.
11453         (__cos): Adjust.
11454
11455         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11456         arguments A and DA.
11457         (__sin): Adjust.
11458         (__cos): Likewise.
11459
11460         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11461         (__cos): Likewise.
11462         (sloww1): Don't adjust sign of DX.
11463         (csloww1): Likewise.
11464         (sloww2): Use X directly and don't adjust sign of DX.
11465         (csloww2): Likewise.
11466
11467 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11468
11469         * math/auto-libm-test-in: Add tests of cabs and carg.
11470         * math/auto-libm-test-out: Regenerated.
11471         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11472         (carg_test_data): Likewise.
11473         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11474         mpc_c_f.
11475         (func_calc_desc): Add mpc_c_f union field.
11476         (test_functions): Add cabs and carg.
11477         (calc_generic_results): Handle mpc_c_f.
11478
11479         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11480         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11481         as a macro and a compat symbol.
11482         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11483         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11484         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11485         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11486         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11487         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11488         not use .hidden.
11489         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11490         Likewise.
11491         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11492         Likewise.
11493         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11494         Likewise.
11495         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11496         Likewise.
11497         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11498         Likewise.
11499         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11500         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11501         from GLIBC_2.3.2.
11502
11503 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11504
11505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11506
11507 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11508
11509         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11510         trailing whitespace removed.
11511         * scripts/config.guess: Update to version 2013-11-29.
11512         * scripts/config.sub: Update to version 2013-10-01.
11513
11514         * math/auto-libm-test-in: Add tests of sincos.
11515         * math/auto-libm-test-out: Regenerated.
11516         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11517         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11518         mpfr_f_11.
11519         (func_calc_desc): Add mpfr_f_11 union field.
11520         (test_functions): Add sincos.
11521         (calc_generic_results): Handle mpfr_f_11.
11522         * sysdeps/i386/fpu/libm-test-ulps: Update.
11523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11524
11525 2013-12-19  Andreas Schwab  <schwab@suse.de>
11526
11527         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11528         CALL_MCOUNT.
11529         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11530         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11531         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11532
11533 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11534
11535         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11536         * sysdeps/i386/fpu/libm-test-ulps: Update.
11537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11538
11539         [BZ #16293]
11540         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11541         round-to-nearest mode when using frndint.
11542         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11543         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11544         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11545         Likewise.
11546         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11547         sinh test to fail.
11548         * math/auto-libm-test-out: Regenerated.
11549         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11550         (TEST_COND_x86): Likewise.
11551         (expm1_tonearest_test_data): New array.
11552         (expm1_test_tonearest): New function.
11553         (expm1_towardzero_test_data): New array.
11554         (expm1_test_towardzero): New function.
11555         (expm1_downward_test_data): New array.
11556         (expm1_test_downward): New function.
11557         (expm1_upward_test_data): New array.
11558         (expm1_test_upward): New function.
11559         (main): Run the new test functions.
11560         * sysdeps/i386/fpu/libm-test-ulps: Update.
11561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11562
11563         * include/features.h: Update comment documenting feature test
11564         macros.  Mention _DEFAULT_SOURCE in comment.
11565         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11566         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11567         _BSD_SOURCE and _SVID_SOURCE.
11568         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11569         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11570         !_SVID_SOURCE]: Likewise.
11571         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11572         (__USE_POSIX_IMPLICITLY): Define.
11573         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11574         (_POSIX_SOURCE): Undefine and redefine.
11575         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11576         (_POSIX_C_SOURCE): Likewise.
11577         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11578         (Feature Test Macros): Update documentation of default features.
11579
11580 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11581
11582         * benchtests/Makefile: Add bench-strtok.
11583         * benchtests/bench-strtok.c: New file: strtok benchtest.
11584
11585 2013-12-19  Allan McRae  <allan@archlinux.org>
11586
11587         * manual/install.texi: Suppress menu for plain text output.
11588         * INSTALL: Regenerated.
11589
11590 2013-12-18  Brooks Moses  <bmoses@google.com>
11591
11592         [BZ #15846]
11593         * misc/getauxval.c: Include errno.h.
11594         (__getauxval): Set errno to ENOENT if the requested type is not
11595         found.
11596         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11597         don't declare with __attribute_const__.
11598         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11599         * manual/startup.texi: Document that getauxval sets errno.
11600
11601 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11602
11603         * math/auto-libm-test-in: Add tests of jn and yn.
11604         * math/auto-libm-test-out: Regenerated.
11605         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11606         (yn_test_data): Likewise.
11607         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11608         mpfr_if_f.
11609         (func_calc_desc): Add mpfr_if_f union field.
11610         (FUNC_mpfr_if_f): New macro.
11611         (test_functions): Add jn and yn.
11612         (calc_generic_results): Assert type of second input for
11613         mpfr_ff_f.  Handle mpfr_if_f.
11614         (output_for_one_input_case): Disable all checking for arguments
11615         fitting floating-point types in case of an integer argument.
11616         * sysdeps/i386/fpu/libm-test-ulps: Update.
11617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11618
11619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11620         Don't expect fegetround reference in libm.so.
11621
11622 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11623
11624         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11625         $(config-cflags-nofma).
11626
11627 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11628
11629         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11630         * math/auto-libm-test-out: Regenerated.
11631
11632         [BZ #16338]
11633         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11634         to determine exponent and adjust argument to have exponent of -1.
11635         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11636         log2.
11637         * math/auto-libm-test-out: Regenerated.
11638         * sysdeps/i386/fpu/libm-test-ulps: Update.
11639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11640
11641 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11642
11643         * manual/probes.texi: Remove cases when per-thread arenas are
11644         disabled.
11645
11646 2013-12-18  Andreas Schwab  <schwab@suse.de>
11647
11648         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11649         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11650         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11651         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11652         * sysdeps/i386/i686/multiarch/Makefile: Update.
11653         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11654
11655 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11656
11657         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11658         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11659
11660 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11661
11662         [BZ #15968]
11663         Support TZ transition times < 00:00:00.
11664         This is needed for version-3 tz-format files; it supports time
11665         stamps past 2037 for America/Godthab (the only entry in the tz
11666         database for which this change is relevant).
11667         * manual/time.texi (TZ Variable): Document transition times
11668         from -167:59:59 through -00:00:01.
11669         * time/tzset.c (tz_rule): Time of day is now signed.
11670         (__tzset_parse_tz): Parse negative time of day.
11671
11672         Document TZ transition times >= 25:00:00.
11673         * manual/time.texi (TZ Variable): Document transition times from
11674         25:00:00 through 167:59:59.  These are already supported, and this
11675         support will help with version-3 tz-format files.
11676
11677         * manual/time.texi (TZ Variable): Modernize North America example
11678         to reflect current (i.e., 2007-and-later) daylight saving rules.
11679
11680         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11681
11682 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11683
11684         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11685         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11686         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11687         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11688         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11689         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11690         * sysdeps/unix/bsd/clock.c: Likewise.
11691         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11692         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11693         * sysdeps/unix/bsd/init-posix.c: Likewise.
11694         * sysdeps/unix/bsd/poll.c: Likewise.
11695         * sysdeps/unix/bsd/ptsname.c: Likewise.
11696         * sysdeps/unix/bsd/seekdir.c: Likewise.
11697         * sysdeps/unix/bsd/setegid.c: Likewise.
11698         * sysdeps/unix/bsd/seteuid.c: Likewise.
11699         * sysdeps/unix/bsd/setgid.c: Likewise.
11700         * sysdeps/unix/bsd/setrgid.c: Likewise.
11701         * sysdeps/unix/bsd/setruid.c: Likewise.
11702         * sysdeps/unix/bsd/setsid.c: Likewise.
11703         * sysdeps/unix/bsd/setuid.c: Likewise.
11704         * sysdeps/unix/bsd/sigaction.c: Likewise.
11705         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11706         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11707         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11708         * sysdeps/unix/bsd/telldir.c: Likewise.
11709         * sysdeps/unix/bsd/times.c: Likewise.
11710         * sysdeps/unix/bsd/usleep.c: Likewise.
11711
11712         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11713         ($(objpfx)libbsd-compat.a): Remove rule.
11714
11715         * include/features.h (__FAVOR_BSD): Do not define.
11716         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11717         features conflicting with POSIX.
11718         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11719         (_BSD_SOURCE): Remove description of not being a subset of other
11720         feature test macros.
11721         * manual/job.texi (getpgrp): Do not document BSD version.
11722         (getpgid): Do not document by reference to BSD getpgrp.
11723         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11724         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11725         * signal/signal.h [__FAVOR_BSD]: Likewise.
11726         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11727         instead of making contents conditional on [__FAVOR_BSD].
11728         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11729
11730 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11731
11732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11733
11734 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11735
11736         [BZ #16314]
11737         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11738         values below 2**-450, not 2**-500.
11739         * math/auto-libm-test-in: Don't allow spurious underflow from
11740         hypot.
11741         * math/auto-libm-test-out: Regenerated.
11742
11743         [BZ #16316]
11744         [BZ #16330]
11745         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11746         values of ha and hb and sort them after adjusting subnormal
11747         arguments.
11748         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11749         Likewise.
11750         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11751         values of ea and eb and sort them after adjusting subnormal
11752         arguments.
11753         * math/auto-libm-test-in: Do not expect some hypot tests of
11754         subnormals to fail.  Add more hypot tests.
11755         * math/auto-libm-test-out: Regenerated.
11756
11757 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11758
11759         [BZ #13304]
11760         * sysdeps/sh/s_fma.c: New file.
11761         * sysdeps/sh/s_fmaf.c: New file.
11762         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11763         version.
11764         * sysdeps/sh/Implies: Add sh/soft-fp.
11765
11766 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11767
11768         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11769         level of indirection to members `objname', `errstring', `malloced'.
11770         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11771         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11772         it as the __longjmp argument (just pass 1 instead).
11773         (_dl_catch_error): Initialize C with argument pointers and address of
11774         volatile local ERRCODE rather than copying values out of C at return.
11775
11776 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11777
11778         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11779         * math/auto-libm-test-out: Regenerated.
11780         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11781         (hypot_test_data): Likewise.
11782         (pow_test_data): Likewise.
11783         (pow_tonearest_test_data): Likewise.
11784         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11785         mpfr_ff_f.
11786         (func_calc_desc): Add mpfr_ff_f union field.
11787         (FUNC_mpfr_ff_f): New macro.
11788         (test_functions): Add atan2, hypot and pow.
11789         (special_fill_min): New function.
11790         (special_fill_minus_min): Likewise.
11791         (special_fill_min_subnorm): Likewise.
11792         (special_fill_minus_min_subnorm): Likewise.
11793         (special_real_inputs): Add min, -min, min_subnorm and
11794         -min_subnorm.
11795         (calc_generic_results): Handle mpfr_ff_f.
11796         * sysdeps/i386/fpu/libm-test-ulps: Update.
11797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11798
11799 2013-12-16  Will Newton  <will.newton@linaro.org>
11800
11801         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11802         (Aligned Memory Blocks): Add documentation for aligned_alloc
11803         and suggest it as an alternative to posix_memalign.
11804         (Hooks for Malloc): Document __memalign_hook is also called
11805         for aligned_alloc.  (Summary of Malloc): Add summary for
11806         aligned alloc.  Document __memalign_hook is also called
11807         for aligned_alloc.
11808
11809 2013-12-16  Will Newton  <will.newton@linaro.org>
11810
11811         * manual/memory.texi (Malloc Examples): Clarify default
11812         alignment documentation.  Suggest posix_memalign rather
11813         than memalign or valloc.
11814         (Aligned Memory Blocks): Remove suggestion to use memalign
11815         or valloc.  Remove obsolete comment about BSD.
11816         Document memalign errno values and mark the function obsolete.
11817         Document posix_memalign returned error codes.  Mark valloc
11818         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11819         called for posix_memalign and valloc.
11820         (Summary of Malloc): Add posix_memalign to function summary.
11821         __memalign_hook is also called for posix_memalign and valloc.
11822
11823 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11824
11825         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11826         TAYLOR_SIN.
11827         (__sin): Adjust.
11828         (__cos): Likewise.
11829         (sloww): Use mynumber union.  Expand ternary operator into
11830         if-else statements.
11831         (cslow): use mynumber union.
11832
11833 2013-12-16  Allan McRae  <allan@archlinux.org>
11834
11835         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11836         * configure: Regenerated.
11837
11838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11839
11840         [BZ #14120]
11841         * configure.ac: Added --enable-maintainer-mode. Check for
11842         autoconf when enabled.
11843         * configure: Regenerated.
11844
11845         * nscd/nscd.service: New file.
11846         * nscd/nscd.tmpfiles: New file.
11847
11848 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11849
11850         [BZ #12100]
11851         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11852         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11853         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11854         (strstr): Add __strstr_sse2_unaligned ifunc.
11855         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11856         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11857         (strcasestr): Remove __strcasestr_sse42 ifunc.
11858         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11861
11862 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11863
11864         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11865         * sysdeps/sh/bits/fenv.h: ... here.
11866         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11867
11868 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11869
11870         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11871
11872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11873         hypotf multiarch implementations.
11874         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11875         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11876         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11877         multiarch hypot for PPC64.
11878         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11879         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11880         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11881         multiarch hypotf for PPC64.
11882
11883         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11884         modff multiarch implementations.
11885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11888         multiarch modf for PPC64.
11889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11892         multiarch modff for PPC64.
11893
11894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11895         and logl multiarch implementations.
11896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11899         multiarch logb for PPC64.
11900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11903         multiarch logb for PPC64.
11904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11907         multiarch logb for PPC64.
11908
11909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11910         isinff multiarch implementation.
11911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11912         file.
11913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11915         multiarch isinf for PPC64.
11916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11917         file.
11918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11919         multiarch isinff for PPC64.
11920
11921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11922         finitef multiarch implementation.
11923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11924         file.
11925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11927         multiarch finite for PPC64.
11928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11929         file.
11930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11931         multiarch finitef for PPC64.
11932
11933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11934         lrint multiarch implementation.
11935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11936         file.
11937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11939         multiarch llrint for PPC64.
11940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11941         multiarch lrint for PPC64.
11942
11943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11944         copysignf multiarch implementation.
11945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11946         file.
11947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11948         file.
11949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11950         multiarch copysign for PPC64.
11951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11952         multiarch copysignf for PPC64.
11953
11954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11955         multiarch implementation.
11956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11957         file.
11958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11959         file.
11960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11961         file.
11962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11963         file.
11964         multiarch llround for PPC64.
11965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11966         multiarch trunc for PPC64.
11967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11968         multiarch truncf for PPC64.
11969
11970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11971         multiarch implementation.
11972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11973         file.
11974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11975         file.
11976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11977         file.
11978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11979         file.
11980         multiarch llround for PPC64.
11981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11982         multiarch round for PPC64.
11983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11984         multiarch roundf for PPC64.
11985
11986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11987         multiarch implementation.
11988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11989         file.
11990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11991         file.
11992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11993         file.
11994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11995         file.
11996         multiarch llround for PPC64.
11997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11998         multiarch floor for PPC64.
11999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12000         multiarch floorf for PPC64.
12001
12002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12003         multiarch implementation.
12004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12005         file.
12006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12007         file.
12008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12009         file.
12010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12011         file.
12012         multiarch llround for PPC64.
12013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12014         multiarch ceil for PPC64.
12015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12016         multiarch ceilf for PPC64.
12017
12018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12019         multiarch implementation.
12020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12021         file.
12022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12023         file.
12024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12025         file.
12026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12027         multiarch llround for PPC64.
12028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12029         multiarch lround for PPC64.
12030
12031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12032         multiarch implementation.
12033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12036         file.
12037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12040         multiarch isnan for PPC64.
12041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12042         multiarch isnanf for PPC64.
12043
12044         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12045         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12046         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12047         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12048         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12050
12051         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12052         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12053         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12054         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12055
12056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12057         multiarch implementations.
12058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12059         (__libc_ifunc_impl_list): Likewise.
12060         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12061         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12063         multiarch stpcpy for PPC64.
12064
12065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12066         multiarch implementations.
12067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12068         (__libc_ifunc_impl_list): Likewise.
12069         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12070         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12071         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12072         multiarch strcpy for PPC64.
12073
12074         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12075         redefine function name.
12076         (_wordcopy_fwd_dest_aligned): Likewise.
12077         (_wordcopy_bwd_aligned): Likewise.
12078         (_wordcopy_bwd_dest_aligned): Likewise.
12079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12080         multiarch implementations.
12081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12082         (__libc_ifunc_impl_list): Likewise.
12083         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12084         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12085         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12086         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12087         multiarch wcscpy for PPC64.
12088
12089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12090         multiarch implementations.
12091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12092         (__libc_ifunc_impl_list): Likewise.
12093         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12094         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12095         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12096         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12097         multiarch wcscpy for PPC64.
12098
12099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12100         multiarch implementations.
12101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12102         (__libc_ifunc_impl_list): Likewise.
12103         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12104         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12105         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12106         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12107         multiarch wcsrchr for PPC64.
12108
12109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12110         multiarch implementations.
12111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12112         (__libc_ifunc_impl_list): Likewise.
12113         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12114         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12115         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12116         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12117         multiarch wcschr for PPC64.
12118
12119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12120         multiarch implementations.
12121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12122         (__libc_ifunc_impl_list): Likewise.
12123         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12124         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12125         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12126         multiarch strchrnul for PPC64.
12127
12128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12129         implementations.
12130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12131         (__libc_ifunc_impl_list): Likewise.
12132         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12133         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12134         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12135         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12136         strchr for PPC64.
12137
12138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12139         implementations.
12140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12141         (__libc_ifunc_impl_list): Likewise.
12142         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12143         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12144         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12145         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12146         strncmp for PPC64.
12147
12148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12149         multiarch implementations.
12150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12151         (__libc_ifunc_impl_list): Likewise.
12152         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12153         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12154         strncasecmp for PPC64.
12155         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12156         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12157         multiarch strncasecmp_l for PPC64.
12158
12159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12160         multiarch implementations.
12161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12162         (__libc_ifunc_impl_list): Likewise.
12163         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12164         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12165         multiarch strcasecmp for PPC64.
12166         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12167         file.
12168         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12169         multiarch strcasecmp_l for PPC64.
12170
12171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12172         implementations.
12173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12174         (__libc_ifunc_impl_list): Likewise.
12175         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12176         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12177         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12178         strnlen for PPC64.
12179
12180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12181         implementations.
12182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12183         (__libc_ifunc_impl_list): Likewise.
12184         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12185         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12186         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12187         strlen for PPC64.
12188
12189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12190         implementations.
12191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12192         (__libc_ifunc_impl_list): Likewise.
12193         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12194         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12195         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12196         rawmemrchr for PPC64.
12197
12198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12199         implementation.
12200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12201         (__libc_ifunc_impl_list): Likewise.
12202         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12203         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12204         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12205         memrchr for PPC64.
12206
12207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12208         implementation.
12209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12210         (__libc_ifunc_impl_list): Likewise.
12211         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12212         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12213         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12214         memchr for PPC64.
12215
12216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12217         implementation.
12218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12219         (__libc_ifunc_impl_list): Likewise.
12220         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12221         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12222         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12223         mempcpy for PPC64.
12224
12225         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12226         avoid cretion of __bzero symbol.
12227         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12228         Likewise.
12229         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12230         Likewise.
12231         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12232         Likewise.
12233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12234         multiarch implementations.
12235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12236         (__libc_ifunc_impl_list): Likewise.
12237         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12238         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12239         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12240         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12241         bzero for PPC32.
12242         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12243         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12244         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12245         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12246         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12247         memset for PPC64.
12248         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12249
12250         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12252         implementations.
12253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12254         (__libc_ifunc_impl_list): Likewise.
12255         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12256         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12257         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12258         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12259         memcmp for PPC64.
12260
12261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12262         multiarch for POWER/PPC64.
12263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12264         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12265         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12266         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12267         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12268         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12269         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12270         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12271         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12272         memcpy for PPC64.
12273
12274         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12275         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12276         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12277         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12278         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12279         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12280         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12281         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12282         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12283         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12284         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12285         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12286         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12287         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12288         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12296
12297 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12298
12299         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12300
12301 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12302
12303         * benchtests/Makefile (bench): Add exp2 and log2.
12304         (LDLIBS-bench-exp2): Add -lm.
12305         (LDLIBS-bench-log2): Likewise.
12306         * benchtests/exp2-inputs: New inputs file.
12307         * benchtests/log2-inputs: New inputs file.
12308         * benchtests/log-inputs: Add new inputs.
12309         * benchtests/tan-inputs: Likewise.
12310
12311 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12312
12313         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12314         definition...
12315         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12316         (csloww2): ... from here.
12317
12318         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12319         instead of structures.
12320         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12321         (POLYNOMIAL): Likewise.
12322         (TAYLOR_SLOW): Likewise.
12323         (__sin): Likewise.
12324         (__cos): Likewise.
12325         (slow1): Likewise.
12326         (slow2): Likewise.
12327         (sloww): Likewise.
12328         (sloww1); Likewise.
12329         (sloww2): Likewise.
12330         (bsloww1): Likewise.
12331         (bsloww2): Likewise.
12332         (cslow2): Likewise.
12333         (csloww): Likewise.
12334         (csloww1): Likewise.
12335         (csloww2): Likewise.
12336
12337 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12338
12339         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12340         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12341         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12342         * malloc/hooks.c (realloc_check): Likewise.
12343
12344         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12345         * malloc/arena.c: Remove PER_THREAD conditional.
12346         [!PER_THREAD]: Remove code.
12347         (ptmalloc_unlock_all2): Likewise.
12348         (ptmalloc_init): Likewise.
12349         (_int_new_arena): Likewise.
12350         (arena_get2): Likewise.
12351         * malloc/hooks.c (__malloc_get_state): Likewise.
12352         (__malloc_set_state): Likewise.
12353         * malloc/malloc.c: Likewise.
12354         (struct malloc_state): Likewise.
12355         (struct malloc_par): Likewise.
12356         (__libc_realloc): Likewise.
12357         (__libc_mallopt): Likewise.
12358
12359 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12360
12361         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12362
12363 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12364
12365         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12366         macro to a function.  Check for zero perturb_byte.
12367         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12368
12369         * malloc/malloc.c: (force_reg): Remove.
12370         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12371         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12372         force_reg by atomic_forced_read.
12373         * malloc/arena.c (ptmalloc_init): Likewise.
12374         * malloc/hooks.c (top_check): Likewise.
12375
12376 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12377
12378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12379
12380 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12381
12382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12383
12384 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12385
12386         * math/auto-libm-test-in: Add tests of lgamma.
12387         * math/auto-libm-test-out: Regenerated.
12388         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12389         (M_LOG_2_SQRT_PIl): Likewise.
12390         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12391         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12392         mpfr_f_f1.
12393         (func_calc_desc): Add mpfr_f_f1 union field.
12394         (ARGS1): New macro.
12395         (ARGS2): Likewise.
12396         (ARGS3): Likewise.
12397         (ARGS4): Likewise.
12398         (RET1): Likewise.
12399         (RET2): Likewise.
12400         (CALC): Likewise.
12401         (FUNC): Likewise.
12402         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12403         (test_functions): Add lgamma.
12404         (calc_generic_results): Handle mpfr_f_f1.
12405         * sysdeps/i386/fpu/libm-test-ulps: Update.
12406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12407
12408 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12409
12410         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12411         __mpn_add_n for PowerPC64/POWER7.
12412         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12413         __mpn_sub_n for PowerPC64/POWER7.
12414
12415         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12416         __mpn_addmul_1 for PowerPC64.
12417         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12418         __mpn_submul_1 for PowerPC64.
12419         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12420         for PowerPC64.
12421         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12422         for PowerPC64.
12423
12424 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12425
12426         [BZ #15089]
12427         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12428
12429 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12430
12431         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12432
12433         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12434         add multiarch folders.
12435         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12436         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12437         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12438         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12439         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12440         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12441         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12442         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12443         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12444         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12445         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12452
12453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12454         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12456         New file.
12457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12458         New file.
12459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12460         multiarch __ieee754_hypot for PowerPC32.
12461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12462         New file.
12463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12464         New file.
12465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12466         multiarch __ieee754_hypotf for PowerPC32.
12467
12468         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12469         long_double_symbol only if __logbl is defined.
12470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12471         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12473         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12474         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12475         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12476         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12477         path for implementation.
12478         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12479         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12481         logb, and logbl multiarch implementations for PowerPC32.
12482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12483         file.
12484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12485         file.
12486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12487         multiarch logb for PowerPC32.
12488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12489         file.
12490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12491         file.
12492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12493         multiarch logbf for PowerPC32.
12494         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12496         file.
12497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12498         multiarch logbl implementation for PowerPC32.
12499
12500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12501         and modff multiarch implementations.
12502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12503         New file.
12504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12505         New file.
12506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12507         multiarch modf for PowerPC32.
12508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12509         New file.
12510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12511         New file.
12512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12513         multiarch modff for PowerPC32.
12514
12515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12516         and lrintf multiarch implementations.
12517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12518         New file.
12519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12520         New file.
12521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12522         multiarch lrint for PowerPC32.
12523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12524         file: multiarch lrintf for PowerPC32.
12525
12526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12527         and lroundf multiarch implementations.
12528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12529         New file.
12530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12531         New file.
12532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12533         New file.
12534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12535         multiarch lround for PowerPC32.
12536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12537         file: multiarch lroundf for PowerPC32.
12538
12539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12540         copysign and copysignf multiarch implementations.
12541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12542         New file.
12543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12544         New file.
12545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12546         file: multiarch copysign for PowerPC32.
12547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12548         file: multiarch copysignf for PowerPC32.
12549
12550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12551         and truncf multiarch implementations.
12552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12553         New file.
12554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12555         file.
12556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12557         multiarch trunc for PowerPC32.
12558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12559         New file.
12560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12561         New file.
12562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12563         multiarch truncf for PowerPC32.
12564
12565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12566         and roundf multiarch implementations.
12567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12568         New file.
12569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12570         file.
12571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12572         multiarch round for PowerPC32.
12573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12574         New file.
12575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12576         New file.
12577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12578         multiarch roundf for PowerPC32.
12579
12580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12581         and floorf multiarch implementations.
12582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12583         New file.
12584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12585         file.
12586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12587         multiarch floor for PowerPC32.
12588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12589         New file.
12590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12591         New file.
12592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12593         multiarch floorf for PowerPC32.
12594
12595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12596         and ceilf multiarch implementations.
12597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12598         New file.
12599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12600         file.
12601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12602         multiarch ceil for PowerPC32.
12603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12604         New file.
12605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12606         file.
12607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12608         multiarch ceilf for PowerPC32.
12609
12610         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12611         is defined.
12612         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12613         FINITEF is defined.
12614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12615         and finitef multiarch implementations.
12616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12617         New file.
12618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12619         file.
12620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12621         multiarch finite for PowerPC32.
12622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12623         New file.
12624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12625         file: multiarch finitef for PowerPC32.
12626
12627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12628         and isinff multiarch implementations.
12629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12630         file.
12631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12632         file.
12633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12634         multiarch isinf for PowerPC32.
12635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12636         New file.
12637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12638         multiarch isinff for PowerPC32.
12639
12640         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12641         alias when __isnan is defined.
12642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12643         and isnanf multiarch implementations.
12644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12645         file.
12646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12647         file.
12648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12649         file.
12650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12651         file.
12652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12653         multiarch isnan for PowerPC32.
12654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12655         New file.
12656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12657         New file.
12658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12659         multiarch isnanf for PowerPC32.
12660
12661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12662         and sqrtf multiarch implementations.
12663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12664         file.
12665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12666         file.
12667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12668         multiarch sqrt for PowerPC32.
12669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12670         file.
12671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12672         file.
12673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12674         multiarch sqrtf for PowerPC32.
12675
12676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12677         and llroundf multiarch implementations.
12678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12679         New file.
12680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12681         New file.
12682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12683         New file.
12684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12685         file: multiarch llround for PowerPC32.
12686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12687         file: multiarch llroundf for PowerPC32.
12688
12689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12690         multiarch PowerPC32 fpu implementations.
12691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12692         New file.
12693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12694         New file.
12695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12696         multiarch llrint for PowerPC32.
12697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12698         New file.
12699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12700         New file.
12701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12702         file.
12703
12704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12705
12706         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12707         file.
12708         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12709         file.
12710         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12711         file.
12712         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12713         multiarch wordcopy for PPC32.
12714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12715         wordcopy objects.
12716         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12717         (__libc_ifunc_impl_list): Likewise.
12718         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12719         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12720         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12721         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12722         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12723         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12724
12725         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12726         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12727         file.
12728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12729         file.
12730         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12731         file.
12732         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12733         multiarch wcscpy for PPC32.
12734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12735         multiarch objects.
12736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12737         (__libc_ifunc_impl_list): Likewise.
12738         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12739         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12740         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12741         sysdeps/powerpc/power6/wcscpy.c.
12742
12743         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12745         file.
12746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12747         file.
12748         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12749         file.
12750         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12751         multiarch wcsrchr for PPC32.
12752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12753         multiarch objects.
12754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12755         (__libc_ifunc_impl_list): Likewise.
12756         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12757         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12758         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12759         sysdeps/powerpc/power6/wcsrchr.c.
12760
12761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12762         file.
12763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12764         file.
12765         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12766         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12767         multiarch wcschr for PPc32.
12768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12769         multiarch objects.
12770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12771         (__libc_ifunc_impl_list): Likewise.
12772         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12773         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12774         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12775         sysdeps/powerpc/power6/wcschr.c.
12776
12777         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12778         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12779         file.
12780         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12781         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12782         file: multiarch strchr for PPC32.
12783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12784         multiarch objects.
12785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12786         (__libc_ifunc_impl_list): Likewise.
12787
12788         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12789         name.
12790         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12791         file.
12792         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12793         file.
12794         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12795         multiarch strchrnul for PPC32.
12796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12797         multiarch objects.
12798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12799         (__libc_ifunc_impl_list): Likewise.
12800
12801         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12802         file.
12803         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12804         multiarch strncasecmp for PPC32.
12805         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12806         file.
12807         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12808         multiarch strncasecmp_l for PPC32.
12809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12810         strncasecmp multiarch objects.
12811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12812         (__libc_ifunc_impl_list): Likewise.
12813
12814         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12815         file.
12816         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12817         multiarch strncasecmp for PPC32.
12818         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12819         New file.
12820         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12821         multiarch strcasecmp_l for PPC32.
12822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12823         multiarch objects.
12824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12825         (__libc_ifunc_impl_list): Likewise.
12826
12827         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12828         file.
12829         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12830         file.
12831         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12832         multiarch strncmp for PPC32.
12833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12834         multiarch objects.
12835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12836         (__libc_ifunc_impl_list): Likewise.
12837
12838         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12839         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12840         file.
12841         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12842         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12844         multiarch objects.
12845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12846         (__libc_ifunc_impl_list): Likewise.
12847
12848         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12849         file.
12850         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12851         file.
12852         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12854         multiarch objects.
12855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12856         (__libc_ifunc_impl_list): Likewise.
12857
12858         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12859         file.
12860         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12861         file.
12862         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12863         multiarch rawmemchr for PPC32.
12864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
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/memrchr-power7.S: New
12870         file.
12871         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12872         file.
12873         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12874         file: memrchr multiarch for PPC32.
12875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12876         multiarch objects.
12877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12878         (__libc_ifunc_impl_list): Likewise.
12879
12880         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12881         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12882         file.
12883         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12884         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12885         multiarch memchr for PPC32.
12886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12887         multiarch objects.
12888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12889         (__libc_ifunc_impl_list): Likewise.
12890
12891         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12892         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12893         file.
12894         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12895         file.
12896         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12897         file: multiarch mempcpy for PPC32.
12898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12899         multiarch objects.
12900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12901         (__libc_ifunc_impl_list): Likewise.
12902
12903         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12904         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12905         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12906         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12907         multiarch bzero for PPC32.
12908         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12909         file.
12910         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12911         file.
12912         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12913         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12914         file: multiarch memset for PPC32.
12915         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12917         memset multiarch objects.
12918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12919         (__libc_ifunc_impl_list): Likewise.
12920
12921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12922         file.
12923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12925         memcmp for PPC32.
12926         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12928         multiarch objects.
12929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12930         (__libc_ifunc_impl_list): Likewise.
12931
12932         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12933         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12935         file.
12936         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12937         file.
12938         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12939         file.
12940         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12941         multiarch memcpy for PPC32.
12942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12943         multiarch objects.
12944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12945         (__libc_ifunc_impl_list): Likewise.
12946
12947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12948         support multiarch for POWER/PPC32.
12949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12950         Likewise.
12951         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12953         Implies file to make multiarch folder appers before the fpu and
12954         default folder for power4 configuration.
12955
12956 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12957
12958         * scripts/bench.pl: Append volatile keyword to type.
12959
12960 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12961
12962         * sysdeps/sh/sotruss-lib.c: New file.
12963         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12964
12965 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12966
12967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12968
12969 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12970
12971         [BZ #6810]
12972         * math/w_tgamma.c: Include <errno.h>.
12973         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12974         * math/w_tgammaf.c: Include <errno.h>.
12975         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12976         * math/w_tgammal.c: Include <errno.h>.
12977         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12978         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12979         underflow.  Add more tgamma tests.
12980         * math/auto-libm-test-out: Regenerated.
12981         * sysdeps/i386/fpu/libm-test-ulps: Update.
12982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12983
12984         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12985         sin, sinh, tan, tanh, tgamma, y0 and y1.
12986         * math/auto-libm-test-out: Regenerated.
12987         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12988         (TEST_COND_x86): Likewise.
12989         (M_E2l): Remove macro.
12990         (M_E3l): Likewise.
12991         (M_2_SQRT_PIl): Likewise.
12992         (M_SQRT_PIl): Likewise.
12993         (M_1_DIV_El): Likewise.
12994         (log_test_data): Use AUTO_TESTS_f_f.
12995         (log10_test_data): Likewise.
12996         (log1p_test_data): Likewise.
12997         (log2_test_data): Likewise.
12998         (sin_test_data): Likewise.
12999         (sin_tonearest_test_data): Likewise.
13000         (sin_towardzero_test_data): Likewise.
13001         (sin_downward_test_data): Likewise.
13002         (sin_upward_test_data): Likewise.
13003         (sinh_test_data): Likewise.
13004         (sinh_tonearest_test_data): Likewise.
13005         (sinh_towardzero_test_data): Likewise.
13006         (sinh_downward_test_data): Likewise.
13007         (sinh_upward_test_data): Likewise.
13008         (tan_test_data): Likewise.
13009         (tan_tonearest_test_data): Likewise.
13010         (tan_towardzero_test_data): Likewise.
13011         (tan_downward_test_data): Likewise.
13012         (tan_upward_test_data): Likewise.
13013         (tanh_test_data): Likewise.
13014         (tgamma_test_data): Likewise.
13015         (y0_test_data): Likewise.
13016         (y1_test_data): Likewise.
13017         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13018         (special_real_inputs): Add pi/4.
13019         * sysdeps/i386/fpu/libm-test-ulps: Update.
13020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13021
13022 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13023
13024         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13025         "longjmp_target" static probes.
13026         (__longjmp): Rename to __longjmp_symbol.
13027         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13028         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13029         on which longjmp to generate.
13030         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13031         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13032         probe.
13033         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13034         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13035         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13036         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13037         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13038         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13040         __longjmp_symbol based on which __longjmp to generate.
13041         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13042         probe.
13043         (setjmp): Rename to setjmp_symbol.
13044         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13045         (_setjmp): Rename to _setjmp_symbol.
13046         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13047         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13048         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13049         which setjmp to generate.
13050         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13051         "longjmp_target" static probes.
13052
13053 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13054
13055         * benchtests/README: Add note about output arguments.
13056         * benchtests/bench-sincos.c: Remove file.
13057         * benchtests/sincos-inputs: New file.
13058         * scripts/bench.pl: Identify output arguments and define
13059         static variables for them.
13060
13061         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13062
13063         [BZ #15941]
13064         * Makefile (INSTALL): Add install-plain.texi as the primary
13065         dependency.
13066         * manual/install-plain.texi: New file.
13067         * manual/install.texi: Include node directive only for
13068         non-plaintext output.
13069
13070 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13071
13072         * stdlib/longlong.h: Update from GCC.
13073
13074         [BZ #6807]
13075         [BZ #15901]
13076         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13077         * math/w_j0f.c (y0f): Likewise.
13078         * math/w_j0l.c (__y0l): Likewise.
13079         * math/w_j1.c (y1): Likewise.
13080         * math/w_j1f.c (y1f): Likewise.
13081         * math/w_j1l.c (__y1l): Likewise
13082         * math/w_jn.c (yn): Likewise.
13083         * math/w_jnf.c (ynf): Likewise.
13084         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13085         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13086         value for Bessel function domain errors outside _SVID_ mode.
13087         Adjust sign of return value for yn (negative integer, 0).
13088         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13089         by zero in return for negative x and set sign appropriately for
13090         negative n.
13091         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13092         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13093         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13094         expectations in error cases.
13095         (y1_test_data): Likewise.
13096         (yn_test_data): Likewise.
13097         * sysdeps/i386/fpu/libm-test-ulps: Update.
13098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13099
13100 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13101
13102         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13103         "64" to "64-v1".  Add "64-v2".
13104         (abi-64-options): Rename to ...
13105         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13106         (abi-64-condition): Rename to ...
13107         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13108         (abi-64-ld-soname): Rename to ...
13109         (abi-64-v1-ld-soname): ... this.
13110         (abi-64-v2-options): Define.
13111         (abi-64-v2-condition): Likewise.
13112         (abi-64-v2-ld-soname): Likewise.
13113         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13114         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13118
13119 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13120             Alan Modra  <amodra@gmail.com>
13121
13122         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13123         New versions for use with the ELFv2 ABI.
13124         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13125         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13126         declaration.
13127         (struct La_ppc64v2_retval): Likewise.
13128         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13129         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13130         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13131         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13132         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13133         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13134         Do not save or restore CR.
13135         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13136         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13137         return values for ELFv2 ABI.  Fix location of FPR return registers.
13138         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13139         updated values for _CALL_ELF == 2.
13140         (La_regs, La_retval, int_retval): Likewise.
13141
13142 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13143
13144         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13145         (FRAME_MIN_SIZE_PARM): Likewise.
13146         (FRAME_BACKCHAIN): Likewise.
13147         (FRAME_CR_SAVE): Likewise.
13148         (FRAME_LR_SAVE): Likewise.
13149         (FRAME_TOC_SAVE): Likewise.
13150         (FRAME_PARM_SAVE): Likewise.
13151         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13152         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13153         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13154         (call_mcount_parm_offset): New macro.
13155         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13156         (PROF): Use symbolic stack frame offsets.
13157         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13158         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13159         Redefine in terms of FRAME_MIN_SIZE.
13160         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13161         (_dl_profile_resolve): Likewise.  Update comment.
13162         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13163         symbols stack frame offsets.
13164         (__sigsetjmp): Likewise.
13165         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13166         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13167         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13168         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13169
13170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13171         (FRAME_BACKCHAIN): Remove.
13172         (FRAME_CR_SAVE): Likewise.
13173         (FRAME_LR_SAVE): Likewise.
13174         (FRAME_COMPILER_DW): Likewise.
13175         (FRAME_LINKER_DW): Likewise.
13176         (FRAME_TOC_SAVE): Likewise.
13177         (FRAME_PARM_SAVE): Likewise.
13178         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13179         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13180         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13182         (CHECK_SP): Use symbolic stack frame offsets.
13183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13184         zone" instead of caller's parameter save area for temp storage.
13185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13186         Likewise.  Also, use symbolic stack frame offsets.
13187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13188         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13189         our own stack frame instead of the caller's.
13190         (__socket): Use symbolic stack frame offsets.
13191
13192 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13193             Alan Modra  <amodra@gmail.com>
13194
13195         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13196         Define.
13197         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13198         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13199         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13200         New function.
13201         (elf_machine_fixup_plt): Call it.
13202         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13203         reloc arguments.
13204         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13205         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13206         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13207         r2 before calling target.
13208
13209 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13210             Alan Modra  <amodra@gmail.com>
13211
13212         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13213         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13214         versions of macros to support ELFv2 ABI.
13215         (LOCALENTRY): New macro.
13216         (ENTRY, EALIGN): Use it.
13217         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13218         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13219         fall through into ENTRY entry point.
13220         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13221         Only define if _CALL_ELF != 2.
13222
13223         (elf_machine_matches_host): Verify ABI version matches.
13224         (RTLD_START): Use LOCALENTRY.
13225         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13226         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13227         (PLT_ENTRY_WORDS): New macro.
13228         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13229         (elf_machine_runtime_setup): Support ELFv2 ABI.
13230         (elf_machine_fixup_plt): Likewise.
13231         (elf_machine_plt_conflict): Likewise.
13232         (resolve_ifunc): Likewise.
13233         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13234         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13235         Likewise.
13236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13237         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13239         (makecontext): Support ELFv2 ABI.
13240         * elf/elf.h (EF_PPC64_ABI): Define.
13241
13242 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13243
13244         * sysdeps/powerpc/powerpc64/sysdep.h
13245         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13246         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13247         (ENTRY) [ASSEMBLER]: ... but instead here ...
13248         (EALIGN) [ASSEMBLER]: ... and here.
13249         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13250         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13251         (ENTRY_2) [!ASSEMBLER]: Use it.
13252         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13253         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13254         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13255         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13256         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13258         Use PPC64_LOAD_FUNCPTR.
13259
13260         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13261
13262 2013-12-04  Alan Modra  <amodra@gmail.com>
13263
13264         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13265         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13266         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13267         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13268
13269         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13270         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13271         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13272         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13273         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13274         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13275
13276 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13277
13278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13279         (__makecontext): Fix incorrect CFI when backtracing out of
13280         context created via makecontext.
13281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13282         (__setcontext): Fix incorrect CFI during switch to new context.
13283         (__novec_setcontext): Likewise.
13284
13285 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13286
13287         [BZ #4772]
13288         * time/strptime_l.c (__strptime_internal): Allow modifiers
13289         in strptime.
13290         * time/tst-strptime.c (day_tests): Add testcase.
13291
13292 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13293
13294         * scripts/bench.pl: Skip over blank lines.
13295
13296 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13297
13298         [BZ #926]
13299         * manual/time.texi (Calendar Time): Clarify what timezone functions
13300         use.
13301
13302 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13303
13304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13305
13306 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13307
13308         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13309         implementation.
13310         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13311         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13312         * debug/memset_chk.c (__memset_chk): Likewise.
13313         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13314         * debug/strncpy_chk.c: Likewise.
13315
13316 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13317
13318         [BZ #15268]
13319         [BZ #15425]
13320         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13321         (__ieee754_exp): For possibly underflowing results, check size of
13322         result and force underflow exception if required.
13323         * math/auto-libm-test-in: Add more tests of exp.
13324         * math/auto-libm-test-out: Regenerated.
13325         * sysdeps/i386/fpu/libm-test-ulps: Update.
13326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13327
13328         [BZ #16283]
13329         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13330         * math/w_exp2f.c (__exp2f): Likewise.
13331         * math/w_exp2l.c (__exp2l): Likewise.
13332         * math/auto-libm-test-in: Do not allow missing errno on exp2
13333         underflow.
13334         * math/auto-libm-test-out: Regenerated.
13335
13336 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13337
13338         [BZ #16274]
13339         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13340         handle filename validation.
13341         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13342         (do_open): Delete.
13343
13344 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13345
13346         [BZ #6786]
13347         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13348         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13349         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13350         <float.h>.
13351         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13352         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13353         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13354         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13355         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13356         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13357         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13358         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13359         Add more erfc tests.
13360         * math/auto-libm-test-out: Regenerated.
13361         * sysdeps/i386/fpu/libm-test-ulps: Update.
13362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13363
13364         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13365         exp2, expm1, j0 and j1.
13366         * math/auto-libm-test-out: Regenerated.
13367         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13368         (erfc_test_data): Likewise.
13369         (exp_test_data): Likewise.
13370         (exp_tonearest_test_data): Likewise.
13371         (exp_towardzero_test_data): Likewise.
13372         (exp_downward_test_data): Likewise.
13373         (exp_upward_test_data): Likewise.
13374         (exp10_test_data): Likewise.
13375         (exp2_test_data): Likewise.
13376         (expm1_test_data): Likewise.
13377         (j0_test_data): Likewise.
13378         (j1_test_data): Likewise.
13379         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13380         (input_flag_type): Add flag_xfail_rounding.
13381         (input_flags): Add xfail-rounding.
13382         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13383         (output_for_one_input_case): Handle flag_xfail_rounding.
13384         * sysdeps/i386/fpu/libm-test-ulps: Update.
13385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13386
13387 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13388
13389         [BZ #16289]
13390         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13391         division by 0.
13392
13393 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13394
13395         [BZ #16195]
13396         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13397         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13398         (STAP_PROBE0): New macro.
13399         (STAP_PROBE1): Likewise.
13400         (STAP_PROBE2): Likewise.
13401         (STAP_PROBE3): Likewise.
13402         (STAP_PROBE4): Likewise.
13403
13404 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13405
13406         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13407
13408 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13409
13410         * benchtests/Makefile (bench): Add sqrt.
13411         (LDLIBS-bench-sqrt): New.
13412         * benchtests/sqrt-input: New.
13413
13414 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13415
13416         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13417         (GAIH_EAI): Likewise.
13418         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13419         (gaih_inet): Likewise.
13420         (getaddrinfo): Don't use GAIH_EAI.
13421
13422         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13423         (struct gaih): Remove definition.
13424
13425 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13426
13427         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13428         Use HERRNOP directly.
13429
13430 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13431
13432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13433
13434 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13435
13436         * math/gen-auto-libm-tests.c (test_functions): Add more
13437         single-argument functions.
13438         (special_fill_pi_2): New function.
13439         (special_fill_minus_pi_2): Likewise.
13440         (special_fill_pi_6): Likewise.
13441         (special_fill_minus_pi_6): Likewise.
13442         (special_fill_pi_3): Likewise.
13443         (special_fill_2pi_3): Likewise.
13444         (special_fill_e): Likewise.
13445         (special_fill_1_e): Likewise.
13446         (special_fill_e_minus_1): Likewise.
13447         (special_real_inputs): Add more special inputs.
13448         (output_for_one_input_case): Do not require ERANGE on underflow to
13449         zero if round-to-nearest result does not underflow to zero, unless
13450         exact results required.
13451         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13452         atan, atanh, cbrt, cos and cosh.
13453         * math/auto-libm-test-out: Regenerated.
13454         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13455         (acos_tonearest_test_data): Likewise.
13456         (acos_towardzero_test_data): Likewise.
13457         (acos_downward_test_data): Likewise.
13458         (acos_upward_test_data): Likewise.
13459         (acosh_test_data): Likewise.
13460         (asin_test_data): Likewise.
13461         (asin_tonearest_test_data): Likewise.
13462         (asin_towardzero_test_data): Likewise.
13463         (asin_upward_test_data): Likewise.
13464         (asinh_test_data): Likewise.
13465         (atan_test_data): Likewise.
13466         (atanh_test_data): Likewise.
13467         (cbrt_test_data): Likewise.
13468         (cos_test_data): Likewise.
13469         (cos_tonearest_test_data): Likewise.
13470         (cos_towardzero_test_data): Likewise.
13471         (cos_downward_test_data): Likewise.
13472         (cos_upward_test_data): Likewise.
13473         (cosh_test_data): Likewise.
13474         (cosh_tonearest_test_data): Likewise.
13475         (cosh_towardzero_test_data): Likewise.
13476         (cosh_downward_test_data): Likewise.
13477         (cosh_upward_test_data): Likewise.
13478         * sysdeps/i386/fpu/libm-test-ulps: Update.
13479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13480
13481 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13482
13483         [BZ #6787]
13484         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13485         * math/w_exp10f.c (__exp10f): Likewise.
13486         * math/w_exp10l.c (__exp10l): Likewise.
13487         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13488         errno settings in existing tests.
13489
13490         [BZ #14032]
13491         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13492         precision control set to double precision.
13493         * sysdeps/i386/fpu/w_sqrt.c: New file.
13494         * math/auto-libm-test-in: Add more tests.
13495         * math/auto-libm-test-out: Update.
13496
13497         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13498         (sqrt_test_tonearest): New function.
13499         (sqrt_towardzero_test_data): New variable.
13500         (sqrt_test_towardzero): New function.
13501         (sqrt_downward_test_data): New variable.
13502         (sqrt_test_downward): New function.
13503         (sqrt_upward_test_data): New variable.
13504         (sqrt_test_upward): New function.
13505         (main): Call the new functions.
13506
13507         * math/gen-auto-libm-tests.c: New file.
13508         * math/auto-libm-test-in: Likewise.
13509         * math/auto-libm-test-out: New generated file.
13510         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13511         variables.
13512         (%beautify): Add generated representations of zero.
13513         (top level): Set $auto_input and call parse_auto_input.
13514         (beautify): Remove trailing "f" from hex float constants.
13515         (parse_args): Handle XFAIL_TEST.
13516         (convert_condition): New function.
13517         (or_value): Likewise.
13518         (or_cond_value): Likewise.
13519         (generate_testfile): Handle AUTO_TESTS_* lines.
13520         (parse_auto_input): New function.
13521         * math/libm-test.inc (XFAIL_TEST): New macro.
13522         (ERRNO_UNCHANGED): Update value.
13523         (ERRNO_EDOM): Likewise.
13524         (ERRNO_ERANGE): Likewise.
13525         (IGNORE_RESULT): Likewise.
13526         (TEST_COND_flt_32): New macro.
13527         (TEST_COND_dbl_64): Likewise.
13528         (TEST_COND_ldbl_96_intel): Likewise.
13529         (TEST_COND_ldbl_96_m68k): Likewise.
13530         (TEST_COND_ldbl_128): Likewise.
13531         (TEST_COND_ldbl_128ibm): Likewise.
13532         (TEST_COND_long32): Likewise.
13533         (TEST_COND_long64): Likewise.
13534         (TEST_COND_before_rounding): Likewise.
13535         (TEST_COND_after_rounding): Likewise.
13536         (enable_test): Handle XFAIL_TEST flag.
13537         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13538         with finite results.
13539         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13540         auto-libm-test-out.
13541
13542 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13543             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13544
13545         [BZ #16214]
13546         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13547         __tls_get_addr_internal instead of __tls_get_offset in order to
13548         avoid GOT pointer dependency.  Make rtld export
13549         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13550         __tls_get_addr since we are a __tls_get_offset platform.
13551         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13552         GOT pointer being set up before.
13553         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13554
13555 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13556
13557         * manual/math.texi (Errors in Math Functions): Document accuracy
13558         goals.
13559
13560         [BZ #15004]
13561         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13562         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13563         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13564         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13565         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13566         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13567         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13568         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13569         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13570         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13571         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13572         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13573         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13574         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13575         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13576         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13577
13578         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13579         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13580         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13581         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13582         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13583         Likewise.
13584         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13585         Likewise.
13586         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13587         Likewise.
13588         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13589         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13590         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13591         atomic-feupdateenv and flt-rounds.
13592         * sysdeps/powerpc/nofpu/Versions (libc): Add
13593         __atomic_feholdexcept, __atomic_feclearexcept,
13594         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13595         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13596         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13597         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13598         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13599         here.
13600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13601         Update.
13602
13603         * manual/arith.texi (FP Exceptions): Document that exceptions may
13604         not be raised when matherr is used.
13605         (Math Error Reporting): Document overflow in directed rounding
13606         modes.  Document that errno may not be set when finite values are
13607         returned on overflow.  Document intent to set errno on underflow
13608         only for underflow to zero.
13609
13610         [BZ #16271]
13611         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13612         round-to-nearest then adjust result for other rounding modes.
13613         * include/fenv.h (fegetround): Use libm_hidden_proto.
13614         * math/fegetround.c (fegetround): Use libm_hidden_def.
13615         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13616         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13617         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13618         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13619         Likewise.
13620         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13621         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13622         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13623         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13624
13625 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13626
13627         [BZ #16077]
13628         * nss/Versions (libnss_files): Add
13629         _nss_files_gethostbyname3_r.
13630         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13631         New function.
13632         (HOST_DB_LOOKUP): Remove macro.
13633         (_nss_files_gethostbyname_r): Implement function without the
13634         HOST_DB_LOOKUP macro.
13635         (_nss_files_gethostbyname2_r): Likewise.
13636
13637 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13638
13639         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13640
13641 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13642
13643         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13644         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13645         warning.
13646
13647 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13648
13649         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13650         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13651         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13652         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13653         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13654         __fe_nomask_env_priv and attribute_hidden.
13655         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13656         (libc_feupdateenv_test_ppc): Likewise.
13657         (libc_feresetround_ppc): Likewise.
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13659         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13660         compat_symbol macro.
13661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13662         (__fe_nomask_env): Likewise.
13663         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13664
13665 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13666
13667         * string/Makefile: Remove ifunc tests.
13668         * string/test-string.h: Define TEST_IFUNC.
13669         * string/test-bcopy-ifunc.c: Remove.
13670         * string/test-bzero-ifunc.c: Likewise.
13671         * string/test-memccpy-ifunc.c: Likewise.
13672         * string/test-memchr-ifunc.c: Likewise.
13673         * string/test-memcmp-ifunc.c: Likewise.
13674         * string/test-memcpy-ifunc.c: Likewise.
13675         * string/test-memmem-ifunc.c: Likewise.
13676         * string/test-memmove-ifunc.c: Likewise.
13677         * string/test-mempcpy-ifunc.c: Likewise.
13678         * string/test-memrchr-ifunc.c: Likewise.
13679         * string/test-memset-ifunc.c: Likewise.
13680         * string/test-rawmemchr-ifunc.c: Likewise.
13681         * string/test-stpcpy-ifunc.c: Likewise.
13682         * string/test-stpncpy-ifunc.c: Likewise.
13683         * string/test-strcasecmp-ifunc.c: Likewise.
13684         * string/test-strcasestr-ifunc.c: Likewise.
13685         * string/test-strcat-ifunc.c: Likewise.
13686         * string/test-strchr-ifunc.c: Likewise.
13687         * string/test-strchrnul-ifunc.c: Likewise.
13688         * string/test-strcmp-ifunc.c: Likewise.
13689         * string/test-strcpy-ifunc.c: Likewise.
13690         * string/test-strcspn-ifunc.c: Likewise.
13691         * string/test-strlen-ifunc.c: Likewise.
13692         * string/test-strncasecmp-ifunc.c: Likewise.
13693         * string/test-strncat-ifunc.c: Likewise.
13694         * string/test-strncmp-ifunc.c: Likewise.
13695         * string/test-strncpy-ifunc.c: Likewise.
13696         * string/test-strnlen-ifunc.c: Likewise.
13697         * string/test-strpbrk-ifunc.c: Likewise.
13698         * string/test-strrchr-ifunc.c: Likewise.
13699         * string/test-strspn-ifunc.c: Likewise.
13700         * string/test-strstr-ifunc.c: Likewise.
13701
13702 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13703
13704         * benchtests/Makefile: Remove ifunc tests.
13705         * benchtests/bench-string.h: Define TEST_IFUNC.
13706         * benchtests/bench-bcopy-ifunc.c: Remove.
13707         * benchtests/bench-bzero-ifunc.c: Likewise.
13708         * benchtests/bench-memccpy-ifunc.c: Likewise.
13709         * benchtests/bench-memchr-ifunc.c: Likewise.
13710         * benchtests/bench-memcmp-ifunc.c: Likewise.
13711         * benchtests/bench-memcpy-ifunc.c: Likewise.
13712         * benchtests/bench-memmem-ifunc.c: Likewise.
13713         * benchtests/bench-memmove-ifunc.c: Likewise.
13714         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13715         * benchtests/bench-memrchr-ifunc.c: Likewise.
13716         * benchtests/bench-memset-ifunc.c: Likewise.
13717         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13718         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13719         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13720         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13721         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13722         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13723         * benchtests/bench-strcat-ifunc.c: Likewise.
13724         * benchtests/bench-strchr-ifunc.c: Likewise.
13725         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13726         * benchtests/bench-strcmp-ifunc.c: Likewise.
13727         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13728         * benchtests/bench-strcpy-ifunc.c: Likewise.
13729         * benchtests/bench-strcspn-ifunc.c: Likewise.
13730         * benchtests/bench-strlen-ifunc.c: Likewise.
13731         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13732         * benchtests/bench-strncat-ifunc.c: Likewise.
13733         * benchtests/bench-strncmp-ifunc.c: Likewise.
13734         * benchtests/bench-strncpy-ifunc.c: Likewise.
13735         * benchtests/bench-strnlen-ifunc.c: Likewise.
13736         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13737         * benchtests/bench-strrchr-ifunc.c: Likewise.
13738         * benchtests/bench-strsep-ifunc.c: Likewise.
13739         * benchtests/bench-strspn-ifunc.c: Likewise.
13740         * benchtests/bench-strstr-ifunc.c: Likewise.
13741
13742 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13743
13744         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13745
13746 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13747
13748         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13749         * rt/aio.h: Likewise.
13750         * sysdeps/gnu/bits/utmp.h: Likewise.
13751         * sysdeps/gnu/bits/utmpx.h: Likewise.
13752         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13753         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13754         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13755         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13756         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13757         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13758         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13759         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13760         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13761         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13762         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13763         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13764         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13766         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13767         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13768         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13769         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13770         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13771         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13772         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13773         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13774         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13775         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13776         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13777         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13778         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13779         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13780         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13781         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13782         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13783         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13784         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13785         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13786         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13787         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13788         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13789         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13790         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13791         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13792         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13793         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13794
13795 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13796
13797         [BZ #16245]
13798         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13799         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13800
13801 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13802
13803         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13804         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13805         Likewise.
13806
13807 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13808
13809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13810         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13811         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13812         (__fesetround): Remove define.
13813         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13814         rounding and exceptions handling.
13815         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13816         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13817         (__fe_nomask_env): Likewise.
13818         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13819         __fegetround instead of fegetround.
13820         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13821         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13822
13823 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13824
13825         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13826         it's there.
13827
13828         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13829
13830 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13831
13832         [BZ #11157]
13833         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13834         (encrypt_r): Likewise.
13835         * malloc/obstack.h (obstack_free): Likewise.
13836         * posix/unistd.h (encrypt): Likewise.
13837
13838 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13839
13840         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13841         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13842         DL_CALL_DT_FINI() that call the functions directly.
13843         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13844         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13845         * elf/dl-fini.c: Likewise.
13846
13847 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13848
13849         * malloc/hooks.c (memalign_check): Add alignment rounding.
13850         * malloc/malloc.c (_mid_memalign): New function.
13851         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13852         Implement by calling _mid_memalign.
13853         * manual/probes.texi (Memory Allocation Probes): Remove
13854         memory_valloc_retry and memory_pvalloc_retry.
13855
13856 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13857
13858         * locale/programs/locarchive.c (open_archive): Add const
13859         qualifier to ARCHIVEFNAME and copy default fname to
13860         DEFAULT_FNAME.
13861
13862         [BZ #15601]
13863         * libio/tst-widetext.input: Rename Oriya to Odia.
13864         * locale/iso-639.def: Likewise.
13865
13866         * manual/probes.texi (Mathematical Function Probes): Add
13867         documentation for sin, cos, asin and acos probes.
13868         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13869         (__sin32): Add slowasin probe.
13870         (__cos32): Add slowacos probe.
13871         (__mpsin): Add slowsin probe.
13872         (__mpcos): Add slowcos probe.
13873
13874 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13875
13876         [BZ #15483]
13877         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13878         thread-local __sim_exceptions_thread and global
13879         __sim_exceptions_global.
13880         (__sim_disabled_exceptions): Change to thread-local
13881         __sim_disabled_exceptions_thread and global
13882         __sim_disabled_exceptions_global.
13883         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13884         and global __sim_round_mode_global.
13885         (__simulate_exceptions): Use thread-local floating-point state and
13886         set global state from it as needed.
13887         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13888         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13889         __sim_round_mode_thread.
13890         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13891         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13892         and global __sim_exceptions_global.
13893         (__sim_disabled_exceptions): Change to thread-local
13894         __sim_disabled_exceptions_thread and global
13895         __sim_disabled_exceptions_global.
13896         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13897         and global __sim_round_mode_global.
13898         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13899         (SIM_SET_GLOBAL): Likewise.
13900         * sysdeps/powerpc/soft-fp/sfp-machine.h
13901         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13902         __sim_round_mode_thread.
13903         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13904         __sim_disabled_exceptions_thread.
13905         (__sim_exceptions): Change to __sim_exceptions_thread.
13906         (__sim_disabled_exceptions): Change to
13907         __sim_disabled_exceptions_thread.
13908         (__sim_round_mode): Change to __sim_round_mode_thread.
13909         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13910         thread-local floating-point state and set global state from it as
13911         needed.
13912         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13913         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13914         (__sim_disabled_exceptions): Remove extern declaration.
13915         (feenableexcept): Use thread-local floating-point state and set
13916         global state from it as needed.
13917         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13918         extern declaration.
13919         (__sim_disabled_exceptions): Likewise.
13920         (__sim_round_mode): Likewise.
13921         (__fegetenv): Use thread-local floating-point state.
13922         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13923         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13924         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13925         floating-point state and set global state from it as needed.
13926         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13927         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13928         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13929         Likewise.
13930         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13931         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13932         Likewise.
13933         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13934         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13935         Use __sim_round_mode_thread.
13936         * math/test-fenv-tls.c: New file.
13937         * math/Makefile (tests): Add test-fenv-tls.
13938         ($(objpfx)test-fenv-tls): Depend on
13939         $(common-objpfx)nptl/libpthread.so.
13940
13941 2013-11-19  Andreas Schwab  <schwab@suse.de>
13942
13943         * locale/programs/locale.c (show_info): Decode wordarray elements.
13944         * locale/categories.def (LC_MONETARY): Add element for
13945         _NL_MONETARY_CRNCYSTR.
13946         * locale/C-monetary.c (conversion_rate): New variable.
13947         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13948         element.
13949
13950 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13951
13952         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13953         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13954
13955 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13956
13957         * elf/Makefile (tst-auxv): New test.
13958         * elf/tst-auxv.c: New
13959         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13960
13961 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13962
13963         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13964         (hidden_proto): Caller changed.
13965         (hidden_tls_proto): New macro.
13966         (libc_hidden_tls_proto): Likewise.
13967         (rtld_hidden_tls_proto): Likewise.
13968         (libm_hidden_tls_proto): Likewise.
13969         (libresolv_hidden_tls_proto): Likewise.
13970         (librt_hidden_tls_proto): Likewise.
13971         (libdl_hidden_tls_proto): Likewise.
13972         (libnss_files_hidden_tls_proto): Likewise.
13973         (libnsl_hidden_tls_proto): Likewise.
13974         (libnss_nisplus_hidden_tls_proto): Likewise.
13975         (libutil_hidden_tls_proto): Likewise.
13976
13977 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13978
13979         [BZ #10253]
13980         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13981         (decompose_rpath): Defer expansion to fillin_rpath.
13982         (_dl_init_paths): Pass linkmap to fillin_rpath.
13983
13984 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13985
13986         * benchtests/Makefile: Add strsep.
13987         * benchtests/bench-strsep.c: New file: strsep benchtest.
13988         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13989
13990 2013-11-18  Andreas Schwab  <schwab@suse.de>
13991
13992         * locale/programs/locale.c (show_info) [case byte]: Check for
13993         '\377' instead of '\177'.
13994         * locale/C-monetary.c (not_available): Always use "\377".
13995         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13996         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13997         detect unavailable sign_posn locale elements.
13998         * locale/localeconv.c (__localeconv): For grouping and
13999         mon_grouping handle "\177" and "\377" like no grouping.
14000         (INT_ELEM): New macro.  Use it to set all numeric members.
14001         * locale/programs/ld-monetary.c (monetary_read)
14002         <tok_mon_grouping>: Normalize single -1 to the empty string.
14003         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14004         Likewise.
14005
14006 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14007
14008         [BZ #16055]
14009         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14010         when we match (nil).
14011         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14012
14013 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14014
14015         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14016         (NO_TEST_INLINE): Update value.
14017         (ERRNO_UNCHANGED): Likewise.
14018         (ERRNO_EDOM): Likewise.
14019         (ERRNO_ERANGE): Likewise.
14020         (IGNORE_RESULT): Likewise.
14021         (check_float_internal): Check signs of NaN results if
14022         TEST_NAN_SIGN used.
14023         (check_complex): Pass TEST_NAN_SIGN flag through to second
14024         check_float_internal call.
14025         (copysign_test_data): Add tests with quiet NaNs as second
14026         argument.  Use TEST_NAN_SIGN.
14027         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14028         TEST_NAN_SIGN.
14029         (signbit_test_data): Add tests of quiet NaN argument.
14030         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14031
14032         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14033         $ignore_result.
14034         (parse_args): Handle function results specified as IGNORE.
14035         * math/libm-test.inc (IGNORE_RESULT): New macro.
14036         (check_float_internal): Do not check numerical result if flag
14037         IGNORE_RESULT set.
14038         (check_complex): Pass through IGNORE_RESULT to second
14039         check_float_internal call.
14040         (check_int): Do not check numerical result if flag IGNORE_RESULT
14041         set.
14042         (check_long): Likewise.
14043         (check_bool): Likewise.
14044         (check_longlong): Likewise.
14045         (lrint_test_data): Add tests of infinite and NaN arguments.
14046         (lrint_tonearest_test_data): Likewise.
14047         (lrint_towardzero_test_data): Likewise.
14048         (lrint_downward_test_data): Likewise.
14049         (lrint_upward_test_data): Likewise.
14050         (llrint_test_data): Likewise.
14051         (llrint_tonearest_test_data): Likewise.
14052         (llrint_towardzero_test_data): Likewise.
14053         (llrint_downward_test_data): Likewise.
14054         (llrint_upward_test_data): Likewise.
14055         (lround_test_data): Likewise.
14056         (llround_test_data): Likewise.
14057
14058         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14059         (ERRNO_UNCHANGED): Update value.
14060         (ERRNO_EDOM): Likewise.
14061         (ERRNO_ERANGE): Likewise.
14062         (NO_TEST_INLINE_FLOAT): New macro.
14063         (NO_TEST_INLINE_DOUBLE): Likewise.
14064         (enable_test): New function.
14065         (RUN_TEST_f_f): Check enable_test before running test.
14066         (RUN_TEST_2_f): Likewise.
14067         (RUN_TEST_fff_f): Likewise.
14068         (RUN_TEST_c_f): Likewise.
14069         (RUN_TEST_f_f1): Likewise.
14070         (RUN_TEST_fF_f1): Likewise.
14071         (RUN_TEST_fI_f1): Likewise.
14072         (RUN_TEST_ffI_f1): Likewise.
14073         (RUN_TEST_c_c): Likewise.
14074         (RUN_TEST_cc_c): Likewise.
14075         (RUN_TEST_f_i): Likewise.
14076         (RUN_TEST_f_i_tg): Likewise.
14077         (RUN_TEST_ff_i_tg): Likewise.
14078         (RUN_TEST_f_b): Likewise.
14079         (RUN_TEST_f_b_tg): Likewise.
14080         (RUN_TEST_f_l): Likewise.
14081         (RUN_TEST_f_L): Likewise.
14082         (RUN_TEST_fFF_11): Likewise.
14083         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14084         conditionals.
14085         (cosh_test_data): Likewise.
14086         (exp_test_data): Likewise.
14087         (expm1_test_data): Likewise.
14088         (hypot_test_data): Likewise.
14089         (pow_test_data): Likewise.
14090         (sinh_test_data): Likewise.
14091         (tanh_test_data): Likewise.
14092         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14093         flags argument.
14094
14095         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14096         tests with quiet NaN input and output.
14097         (acosh_test_data): Likewise.
14098         (asin_test_data): Likewise.
14099         (asinh_test_data): Likewise.
14100         (atan_test_data): Likewise.
14101         (atanh_test_data): Likewise.
14102         (atan2_test_data): Likewise.
14103         (cbrt_test_data): Likewise.
14104         (cos_test_data): Likewise.
14105         (cosh_test_data): Likewise.
14106         (erf_test_data): Likewise.
14107         (erfc_test_data): Likewise.
14108         (exp_test_data): Likewise.
14109         (exp10_test_data): Likewise.
14110         (exp2_test_data): Likewise.
14111         (expm1_test_data): Likewise.
14112         (hypot_test_data): Likewise.
14113         (j0_test_data): Likewise.
14114         (j1_test_data): Likewise.
14115         (jn_test_data): Likewise.
14116         (lgamma_test_data): Likewise.
14117         (log_test_data): Likewise.
14118         (log10_test_data): Likewise.
14119         (log1p_test_data): Likewise.
14120         (log2_test_data): Likewise.
14121         (pow_test_data): Likewise.
14122         (scalb_test_data): Likewise.
14123         (sin_test_data): Likewise.
14124         (sincos_test_data): Likewise.
14125         (sinh_test_data): Likewise.
14126         (tan_test_data): Likewise.
14127         (tanh_test_data): Likewise.
14128         (tgamma_test_data): Likewise.
14129         (y0_test_data): Likewise.
14130         (y1_test_data): Likewise.
14131         (yn_test_data): Likewise.
14132
14133         [BZ #16167]
14134         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14135         argument being NaN and avoid computations with second argument in
14136         that case.
14137         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14138         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14139         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14140
14141 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14142
14143         * locale/iso-639.def: Add Chitwani Tharu (the).
14144
14145 2013-11-14  Andreas Schwab  <schwab@suse.de>
14146
14147         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14148         word instead of empty string.
14149
14150 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14151
14152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14153         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14155         (__fe_nomask_env): Likewise.
14156
14157 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14158
14159         * benchtests/bench-timing.h: Include time.h.
14160
14161 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14162
14163         [BZ #15997]
14164         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14165         to 3.4.0 for x32.
14166         * sysdeps/unix/sysv/linux/configure: Regenerated.
14167
14168 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14169
14170         [BZ #16151]
14171         * stdlib/strtod_l.c (round_and_return): Do not consider
14172         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14173         exponent one less than half the least subnormal exponent.
14174         * stdlib/test-strtod-round-data: Add more tests.
14175         * stdlib/tst-strtod-round.c (tests): Regenerated.
14176
14177 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14178
14179         [BZ #14143]
14180         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14181         (__fe_mask_env): Likewise.
14182         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14183         libm_hidden_proto and add function prototype.
14184         (__fe_mask_env): Add function prototype.
14185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14186         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14188         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14190         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14191
14192 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14193
14194         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14195         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14196
14197 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14198
14199         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14200         of htab_find_slot().
14201
14202 2013-11-11  David S. Miller  <davem@davemloft.net>
14203
14204         [BZ #16150]
14205         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14206         symbol in the non-vis3 case in static builds.
14207         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14208         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14209         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14210         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14211
14212 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14213
14214         [BZ #387]
14215         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14216         it is empty.
14217
14218 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14219
14220         * benchtests/Makefile: Add bench-strtod.
14221         * benchtests/bench-strtod.c: New file: strtod benchtest
14222
14223 2013-11-11  Andreas Schwab  <schwab@suse.de>
14224
14225         [BZ #16153]
14226         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14227         terminating NUL in key length.
14228
14229 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14230
14231         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14232         Add artificial ODP entry for vDSO symbol for PPC64.
14233         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14234         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14235
14236 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14237
14238         [BZ #15374]
14239         * nss/getent.c (services_keys): Recognize services starting with digit.
14240
14241 2013-11-06  David S. Miller  <davem@davemloft.net>
14242
14243         [BZ #15985]
14244         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14245         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14246
14247 2013-11-06  Will Newton  <will.newton@linaro.org>
14248
14249         * manual/memory.texi (Malloc Examples): Remove register
14250         keyword from examples.
14251
14252 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14253
14254         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14255
14256 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14257
14258         [BZ #6981]
14259         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14260         depending on [__GCC_IEC_559 > 0].
14261         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14262         depending on [__GCC_IEC_559_COMPLEX > 0].
14263
14264 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14265
14266         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14267         to iso-639.def.
14268
14269 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14270
14271         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14272
14273 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14274
14275         [BZ #16112]
14276         * malloc/malloc (malloc_info): Do not handle first bin as
14277         special case.
14278
14279 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14280
14281         * locale/iso-639.def: Add Central Nahuatl (nhn).
14282
14283 2013-11-01  Bruno Haible  <bruno@clisp.org>
14284
14285         [BZ #7003]
14286         * manual/math.texi (BSD Random): Specify range upper bound as
14287         in POSIX.
14288
14289 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14290
14291         * locale/iso-639.def: Add Meadow Mari (mhr).
14292
14293 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14294
14295         [BZ #14752], [BZ #15763]
14296         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14297         Validate name.
14298         * rt/tst_shm.c: Add test for escaping directory.
14299
14300 2013-10-31  Andreas Schwab  <schwab@suse.de>
14301
14302         [BZ #15917]
14303         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14304         followed by 'x' as part of digit sequence.
14305         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14306
14307 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14308
14309         [BZ #16037]
14310         * configure.ac: allow GNU Make 4.0 and greater.
14311         * configure: Regenerated.
14312
14313 2013-10-30  Will Newton  <will.newton@linaro.org>
14314
14315         [BZ #16038]
14316         * malloc/hooks.c (memalign_check): Limit alignment to the
14317         maximum representable power of two.
14318         * malloc/malloc.c (__libc_memalign): Likewise.
14319         * malloc/tst-memalign.c (do_test): Add test for very
14320         large alignment values.
14321         * malloc/tst-posix_memalign.c (do_test): Likewise.
14322
14323 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14324
14325         [BZ #11087]
14326         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14327         (munmap_chunk): Likewise.
14328         (mremap_chunk): Likewise.
14329
14330 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14331
14332         [BZ #15799]
14333         * stdlib/div.c (div): Remove obsolete code.
14334         * stdlib/ldiv.c (ldiv): Likewise.
14335         * stdlib/lldiv.c (lldiv): Likewise.
14336
14337 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14338
14339         [BZ #16071]
14340         * nss/nss_files/files-XXX.c (get_contents_ret): New
14341         enumerator.
14342         (get_contents): New function.
14343         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14344
14345 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14346
14347         * configure.in: Moved to ...
14348         * configure.ac: ... here. Change reference to configure.in
14349         to configure.ac.
14350         * sysdeps/arm/preconfigure.ac: ... here.
14351         configure.in to configure.ac.
14352         * sysdeps/gnu/configure.in: Moved to ...
14353         * sysdeps/gnu/configure.ac: ... here.
14354         * sysdeps/i386/configure.in: Moved to ...
14355         * sysdeps/i386/configure.ac: ... here.
14356         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14357         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14358         * sysdeps/mach/configure.in: Moved to ...
14359         * sysdeps/mach/configure.ac: ... here.
14360         * sysdeps/mach/hurd/configure.in: Moved to ...
14361         * sysdeps/mach/hurd/configure.ac: ... here.
14362         * sysdeps/powerpc/configure.in: Moved to ...
14363         * sysdeps/powerpc/configure.ac: ... here.
14364         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14365         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14366         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14367         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14368         * sysdeps/s390/s390-32/configure.in: Moved to ...
14369         * sysdeps/s390/s390-32/configure.ac: ... here.
14370         * sysdeps/s390/s390-64/configure.in: Moved to ...
14371         * sysdeps/s390/s390-64/configure.ac: ... here.
14372         * sysdeps/sh/configure.in: Moved to ...
14373         * sysdeps/sh/configure.ac: ... here.
14374         * sysdeps/sparc/configure.in: Moved to ...
14375         * sysdeps/sparc/configure.ac: ... here.
14376         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14377         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14378         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14379         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14380         * sysdeps/x86_64/configure.in: Moved to ...
14381         * sysdeps/x86_64/configure.ac: ... here.
14382         * sysdeps/x86_64/preconfigure.in: Moved to ...
14383         * sysdeps/x86_64/preconfigure.ac: ... here.
14384         * aclocal.m4: Change reference to configure.in to configure.ac.
14385         * config.h.in: Likewise.
14386         * manual/install.texi: Likewise.
14387         * manual/maint.texi: Likewise.
14388         * Makefile: Likewise.
14389         * malloc/Makefile: Likewise.
14390         * nscd/Makefile: Likewise.
14391         * Makeconfig: Change reference to configure.in and
14392         preconfigure.in to configure.ac and preconfigure.ac
14393         respectively.
14394         * INSTALL: Regenerated.
14395         * configure: Likewise.
14396         * sysdeps/gnu/configure: Likewise.
14397         * sysdeps/i386/configure: Likewise.
14398         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14399         * sysdeps/mach/configure: Likewise.
14400         * sysdeps/mach/hurd/configure: Likewise.
14401         * sysdeps/powerpc/configure: Likewise.
14402         * sysdeps/powerpc/powerpc32/configure: Likewise.
14403         * sysdeps/powerpc/powerpc64/configure: Likewise.
14404         * sysdeps/s390/s390-32/configure: Likewise.
14405         * sysdeps/s390/s390-64/configure: Likewise.
14406         * sysdeps/sh/configure: Likewise.
14407         * sysdeps/sparc/configure: Likewise.
14408         * sysdeps/unix/sysv/linux/configure: Likewise.
14409         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14410         * sysdeps/x86_64/configure: Likewise.
14411         * sysdeps/x86_64/preconfigure: Likewise.
14412
14413 2013-10-29  Andreas Schwab  <schwab@suse.de>
14414
14415         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14416
14417 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14418
14419         * benchtests/pow-inputs: Add new inputs.
14420
14421         * benchtests/exp-inputs: Add new inputs.
14422
14423         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14424         conditional check for return value.
14425         (__cos32): Likewise.
14426
14427 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14428
14429         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14430         to provide a boost for large inputs with word alignment.
14431         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14432         implementation based on optimized PPC64 strcpy.
14433         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14434         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14435         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14436         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14437
14438 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14439
14440         [BZ #2801]
14441         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14442
14443 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14444
14445         [BZ #14876]
14446         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14447         * time/tst-strptime.c (day_tests): Add testcase.
14448
14449 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14450
14451         [BZ #14029]
14452         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14453
14454 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14455
14456         [BZ #16074]
14457         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14458         MAP_FAILED on error.
14459
14460 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14461
14462         [BZ #16072]
14463         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14464         heap for large requests.
14465
14466 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14467
14468         [BZ #9954]
14469         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14470         result if the result has no associated interface.
14471         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14472         interface for all 127.X.Y.Z addresses.
14473
14474 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14475
14476         * locale/iso-639.def: Add Ligurian (lij)
14477
14478 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14479
14480         [BZ #15825]
14481         * sunrpc/rpc_main.c: Document rpcgen -5.
14482
14483 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14484
14485         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14486
14487 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14488
14489         [BZ #10278]
14490         * posix/glob.c: Match only directories when trailing slash is present.
14491         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14492         (main): Add testcase.
14493
14494 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14495
14496         [BZ #15670]
14497         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14498
14499 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14500
14501         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14502         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14503         AUTH_DES and cindex for FIPS 140-2.
14504         (DES Encryption): Add cindex FIPS 46-3.
14505
14506         * locale/locarchive.h (struct locarhandle): Add fname.
14507         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14508         if an optional argument was specified to --list-archive,
14509         otherwise NULL.
14510         * locale/programs/locarchive.c (show_archive_content): Take new
14511         argument fname and pass it via ah.fname to open_archive.
14512         * locale/programs/localedef.h: Update decl.
14513         (open_archive): If AH->fname is non-null, open that file
14514         rather than the default file name, and don't ignore ENOENT.
14515         (create_archive): Set AH.fname to NULL.
14516         (delete_locales_from_archive): Likewise.
14517         (add_locales_to_archive): Likewise.
14518         * locale/programs/locfile.c (write_all_categories): Likewise.
14519
14520 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14521             Aldy Hernandez  <aldyh@redhat.com>
14522
14523         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14524         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14525         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14526         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14527         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14528         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14529         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14530         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14531         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14532         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14533         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14534         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14535         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14536         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14537         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14538         Likewise.
14539         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14540         Likewise.
14541         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14542         Likewise.
14543         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14544         Likewise.
14545         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14546         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14547         Likewise.
14548         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14549         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14550         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14551         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14552         Likewise.
14553         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14554         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14555         * sysdeps/powerpc/preconfigure: Likewise.
14556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14557         Likewise.
14558         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14559         Replace contents of file by #include of <fenv_libc.h>.
14560         * sysdeps/powerpc/soft-fp/sfp-machine.h
14561         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14562         and <sys/prctl.h>.
14563         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14564         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14565         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14566         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14567         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14568         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14570         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14571         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14572         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14573         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14574         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14576         Allow copysignl PLT reference to be missing.
14577
14578 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14579             Joseph Myers  <joseph@codesourcery.com
14580
14581         [BZ #15948]
14582         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14583         single character.
14584         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14585
14586 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14587
14588         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14589         * elf/tst-tls1.c: Likewise.
14590         * elf/tst-tls10.h: Likewise.
14591         * elf/tst-tls14.c: Likewise.
14592         * elf/tst-tls2.c: Likewise.
14593         * elf/tst-tls3.c: Likewise.
14594         * elf/tst-tls4.c: Likewise.
14595         * elf/tst-tls5.c: Likewise.
14596         * elf/tst-tls6.c: Likewise.
14597         * elf/tst-tls7.c: Likewise.
14598         * elf/tst-tls8.c: Likewise.
14599         * elf/tst-tls9.c: Likewise.
14600         * elf/tst-tlsmod1.c: Likewise.
14601         * elf/tst-tlsmod13.c: Likewise.
14602         * elf/tst-tlsmod13a.c: Likewise.
14603         * elf/tst-tlsmod14a.c: Likewise.
14604         * elf/tst-tlsmod16a.c: Likewise.
14605         * elf/tst-tlsmod16b.c: Likewise.
14606         * elf/tst-tlsmod2.c: Likewise.
14607         * elf/tst-tlsmod3.c: Likewise.
14608         * elf/tst-tlsmod4.c: Likewise.
14609         * elf/tst-tlsmod5.c: Likewise.
14610         * elf/tst-tlsmod6.c: Likewise.
14611
14612 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14613
14614         [BZ #12486]
14615         * malloc/malloc.c: remove checks for statistics.
14616
14617 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14618
14619         [BZ #15277]
14620         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14621         * inet/tst-network.c: Add testcase.
14622
14623 2013-10-17  Andreas Schwab  <schwab@suse.de>
14624
14625         [BZ #15218]
14626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14627         to determine canonical name.
14628
14629 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14630
14631         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14632         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14633         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14634         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14635         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14636         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14637         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14638         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14639         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14640         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14641         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14642         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14643         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14644         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14645         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14646         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14647         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14648         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14649         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14650         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14651         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14652         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14653         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14654         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14655         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14656         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14657         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14658         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14659         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14660         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14661         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14662         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14663         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14664         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14665         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14666         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14667         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14668         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14669         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14670         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14671         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14672         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14673         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14674         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14675         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14676         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14677         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14678         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14679         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14680         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14681         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14682         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14683         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14684         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14685         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14686         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14687         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14688         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14689
14690 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14691
14692         [BZ #16041]
14693         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14694         make result into a quiet NaN.
14695
14696 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14697
14698         * soft-fp/adddf3.c: Fix horizontal whitespace.
14699         * soft-fp/addsf3.c: Likewise.
14700         * soft-fp/addtf3.c: Likewise.
14701         * soft-fp/divdf3.c: Likewise.
14702         * soft-fp/divsf3.c: Likewise.
14703         * soft-fp/divtf3.c: Likewise.
14704         * soft-fp/double.h: Likewise.
14705         * soft-fp/eqdf2.c: Likewise.
14706         * soft-fp/eqsf2.c: Likewise.
14707         * soft-fp/eqtf2.c: Likewise.
14708         * soft-fp/extenddftf2.c: Likewise.
14709         * soft-fp/extended.h: Likewise.
14710         * soft-fp/extendsfdf2.c: Likewise.
14711         * soft-fp/extendsftf2.c: Likewise.
14712         * soft-fp/extendxftf2.c: Likewise.
14713         * soft-fp/fixdfdi.c: Likewise.
14714         * soft-fp/fixdfsi.c: Likewise.
14715         * soft-fp/fixdfti.c: Likewise.
14716         * soft-fp/fixsfdi.c: Likewise.
14717         * soft-fp/fixsfsi.c: Likewise.
14718         * soft-fp/fixsfti.c: Likewise.
14719         * soft-fp/fixtfdi.c: Likewise.
14720         * soft-fp/fixtfsi.c: Likewise.
14721         * soft-fp/fixtfti.c: Likewise.
14722         * soft-fp/fixunsdfdi.c: Likewise.
14723         * soft-fp/fixunsdfsi.c: Likewise.
14724         * soft-fp/fixunsdfti.c: Likewise.
14725         * soft-fp/fixunssfdi.c: Likewise.
14726         * soft-fp/fixunssfsi.c: Likewise.
14727         * soft-fp/fixunssfti.c: Likewise.
14728         * soft-fp/fixunstfdi.c: Likewise.
14729         * soft-fp/fixunstfsi.c: Likewise.
14730         * soft-fp/fixunstfti.c: Likewise.
14731         * soft-fp/floatdidf.c: Likewise.
14732         * soft-fp/floatdisf.c: Likewise.
14733         * soft-fp/floatditf.c: Likewise.
14734         * soft-fp/floatsidf.c: Likewise.
14735         * soft-fp/floatsisf.c: Likewise.
14736         * soft-fp/floatsitf.c: Likewise.
14737         * soft-fp/floattidf.c: Likewise.
14738         * soft-fp/floattisf.c: Likewise.
14739         * soft-fp/floattitf.c: Likewise.
14740         * soft-fp/floatundidf.c: Likewise.
14741         * soft-fp/floatundisf.c: Likewise.
14742         * soft-fp/floatunditf.c: Likewise.
14743         * soft-fp/floatunsidf.c: Likewise.
14744         * soft-fp/floatunsisf.c: Likewise.
14745         * soft-fp/floatunsitf.c: Likewise.
14746         * soft-fp/floatuntidf.c: Likewise.
14747         * soft-fp/floatuntisf.c: Likewise.
14748         * soft-fp/floatuntitf.c: Likewise.
14749         * soft-fp/fmadf4.c: Likewise.
14750         * soft-fp/fmasf4.c: Likewise.
14751         * soft-fp/fmatf4.c: Likewise.
14752         * soft-fp/gedf2.c: Likewise.
14753         * soft-fp/gesf2.c: Likewise.
14754         * soft-fp/getf2.c: Likewise.
14755         * soft-fp/ledf2.c: Likewise.
14756         * soft-fp/lesf2.c: Likewise.
14757         * soft-fp/letf2.c: Likewise.
14758         * soft-fp/muldf3.c: Likewise.
14759         * soft-fp/mulsf3.c: Likewise.
14760         * soft-fp/multf3.c: Likewise.
14761         * soft-fp/negdf2.c: Likewise.
14762         * soft-fp/negsf2.c: Likewise.
14763         * soft-fp/negtf2.c: Likewise.
14764         * soft-fp/op-1.h: Likewise.
14765         * soft-fp/op-2.h: Likewise.
14766         * soft-fp/op-4.h: Likewise.
14767         * soft-fp/op-8.h: Likewise.
14768         * soft-fp/op-common.h: Likewise.
14769         * soft-fp/quad.h: Likewise.
14770         * soft-fp/single.h: Likewise.
14771         * soft-fp/soft-fp.h: Likewise.
14772         * soft-fp/sqrtdf2.c: Likewise.
14773         * soft-fp/sqrtsf2.c: Likewise.
14774         * soft-fp/sqrttf2.c: Likewise.
14775         * soft-fp/subdf3.c: Likewise.
14776         * soft-fp/subsf3.c: Likewise.
14777         * soft-fp/subtf3.c: Likewise.
14778         * soft-fp/truncdfsf2.c: Likewise.
14779         * soft-fp/trunctfdf2.c: Likewise.
14780         * soft-fp/trunctfsf2.c: Likewise.
14781         * soft-fp/trunctfxf2.c: Likewise.
14782         * soft-fp/unorddf2.c: Likewise.
14783         * soft-fp/unordsf2.c: Likewise.
14784         * soft-fp/unordtf2.c: Likewise.
14785
14786 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14787
14788         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14789         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14790
14791 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14792
14793         * elf/dl-libc.c: Clear initfini list after freeing.
14794
14795 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14796
14797         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14798         * soft-fp/addsf3.c: Likewise.
14799         * soft-fp/addtf3.c: Likewise.
14800         * soft-fp/divdf3.c: Likewise.
14801         * soft-fp/divsf3.c: Likewise.
14802         * soft-fp/divtf3.c: Likewise.
14803         * soft-fp/double.h: Likewise.
14804         * soft-fp/eqdf2.c: Likewise.
14805         * soft-fp/eqsf2.c: Likewise.
14806         * soft-fp/eqtf2.c: Likewise.
14807         * soft-fp/extenddftf2.c: Likewise.
14808         * soft-fp/extended.h: Likewise.
14809         * soft-fp/extendsfdf2.c: Likewise.
14810         * soft-fp/extendsftf2.c: Likewise.
14811         * soft-fp/extendxftf2.c: Likewise.
14812         * soft-fp/fixdfdi.c: Likewise.
14813         * soft-fp/fixdfsi.c: Likewise.
14814         * soft-fp/fixdfti.c: Likewise.
14815         * soft-fp/fixsfdi.c: Likewise.
14816         * soft-fp/fixsfsi.c: Likewise.
14817         * soft-fp/fixsfti.c: Likewise.
14818         * soft-fp/fixtfdi.c: Likewise.
14819         * soft-fp/fixtfsi.c: Likewise.
14820         * soft-fp/fixtfti.c: Likewise.
14821         * soft-fp/fixunsdfdi.c: Likewise.
14822         * soft-fp/fixunsdfsi.c: Likewise.
14823         * soft-fp/fixunsdfti.c: Likewise.
14824         * soft-fp/fixunssfdi.c: Likewise.
14825         * soft-fp/fixunssfsi.c: Likewise.
14826         * soft-fp/fixunssfti.c: Likewise.
14827         * soft-fp/fixunstfdi.c: Likewise.
14828         * soft-fp/fixunstfsi.c: Likewise.
14829         * soft-fp/fixunstfti.c: Likewise.
14830         * soft-fp/floatdidf.c: Likewise.
14831         * soft-fp/floatdisf.c: Likewise.
14832         * soft-fp/floatditf.c: Likewise.
14833         * soft-fp/floatsidf.c: Likewise.
14834         * soft-fp/floatsisf.c: Likewise.
14835         * soft-fp/floatsitf.c: Likewise.
14836         * soft-fp/floattidf.c: Likewise.
14837         * soft-fp/floattisf.c: Likewise.
14838         * soft-fp/floattitf.c: Likewise.
14839         * soft-fp/floatundidf.c: Likewise.
14840         * soft-fp/floatundisf.c: Likewise.
14841         * soft-fp/floatunsidf.c: Likewise.
14842         * soft-fp/floatunsisf.c: Likewise.
14843         * soft-fp/floatuntidf.c: Likewise.
14844         * soft-fp/floatuntisf.c: Likewise.
14845         * soft-fp/floatuntitf.c: Likewise.
14846         * soft-fp/fmadf4.c: Likewise.
14847         * soft-fp/fmasf4.c: Likewise.
14848         * soft-fp/fmatf4.c: Likewise.
14849         * soft-fp/gedf2.c: Likewise.
14850         * soft-fp/gesf2.c: Likewise.
14851         * soft-fp/getf2.c: Likewise.
14852         * soft-fp/ledf2.c: Likewise.
14853         * soft-fp/lesf2.c: Likewise.
14854         * soft-fp/letf2.c: Likewise.
14855         * soft-fp/muldf3.c: Likewise.
14856         * soft-fp/mulsf3.c: Likewise.
14857         * soft-fp/multf3.c: Likewise.
14858         * soft-fp/negdf2.c: Likewise.
14859         * soft-fp/negsf2.c: Likewise.
14860         * soft-fp/negtf2.c: Likewise.
14861         * soft-fp/op-1.h: Likewise.
14862         * soft-fp/op-2.h: Likewise.
14863         * soft-fp/op-4.h: Likewise.
14864         * soft-fp/op-8.h: Likewise.
14865         * soft-fp/op-common.h: Likewise.
14866         * soft-fp/quad.h: Likewise.
14867         * soft-fp/single.h: Likewise.
14868         * soft-fp/soft-fp.h: Likewise.
14869         * soft-fp/sqrtdf2.c: Likewise.
14870         * soft-fp/sqrtsf2.c: Likewise.
14871         * soft-fp/sqrttf2.c: Likewise.
14872         * soft-fp/subdf3.c: Likewise.
14873         * soft-fp/subsf3.c: Likewise.
14874         * soft-fp/subtf3.c: Likewise.
14875         * soft-fp/truncdfsf2.c: Likewise.
14876         * soft-fp/trunctfdf2.c: Likewise.
14877         * soft-fp/trunctfsf2.c: Likewise.
14878         * soft-fp/trunctfxf2.c: Likewise.
14879         * soft-fp/unorddf2.c: Likewise.
14880         * soft-fp/unordsf2.c: Likewise.
14881         * soft-fp/unordtf2.c: Likewise.
14882
14883 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14884
14885         [BZ #15672]
14886         * misc/error.c (error_tail): Fix possible buffer overflow.
14887
14888 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14889
14890         [BZ #13028]
14891         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14892         address.
14893
14894 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14895
14896         [BZ #832]
14897         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14898         testing pipefail option.
14899
14900 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14901
14902         * soft-fp/double.h: Indent preprocessor directives inside #if.
14903         * soft-fp/extended.h: Likewise.
14904         * soft-fp/op-2.h: Likewise.
14905         * soft-fp/op-4.h: Likewise.
14906         * soft-fp/op-common.h: Likewise.
14907         * soft-fp/quad.h: Likewise.
14908         * soft-fp/single.h: Likewise.
14909         * soft-fp/soft-fp.h: Likewise.
14910
14911 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14912
14913         * iconv/iconv_prog.c: Fix typos.
14914         * stdio-common/psiginfo-data.h: Likewise.
14915
14916 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14917
14918         [BZ #15764]
14919         * locale/setlocale.c: Fix typo.
14920
14921 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14922
14923         [BZ #16036]
14924         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14925         signaling NaN arguments.
14926         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14927         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14928
14929         [BZ #14910]
14930         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14931         unordered operands.
14932         * soft-fp/gesf2.c (__gesf2): Likewise.
14933         * soft-fp/getf2.c (__getf2): Likewise.
14934         * soft-fp/ledf2.c (__ledf2): Likewise.
14935         * soft-fp/lesf2.c (__lesf2): Likewise.
14936         * soft-fp/letf2.c (__letf2): Likewise.
14937
14938         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14939         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14940         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14941         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14942         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14943         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14944         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14945         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14946         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14947         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14948         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14949         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14950         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14951         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14952         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14953         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14954         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14955         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14956         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14957         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14958         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14959         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14960         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14961         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14962         * soft-fp/floattidf.c (__floattidf): Likewise.
14963         * soft-fp/floattisf.c (__floattisf): Likewise.
14964         * soft-fp/floattitf.c (__floattitf): Likewise.
14965         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14966         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14967         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14968         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14969         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14970         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14971         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14972         * soft-fp/gesf2.c (__gesf2): Likewise.
14973         * soft-fp/getf2.c (__getf2): Likewise.
14974         * soft-fp/ledf2.c (__ledf2): Likewise.
14975         * soft-fp/lesf2.c (__lesf2): Likewise.
14976         * soft-fp/letf2.c (__letf2): Likewise.
14977
14978         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14979         Undefine and redefine.
14980         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14981         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14982         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14983         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14984         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14985         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14986         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14987         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14988         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14989         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14990         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14991         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14992         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14993         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14994         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14995
14996         [BZ #16032]
14997         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14998         without decrementing exponent if mantissa >= that for the
14999         denominator, not >.
15000         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15001         denominator, not >.  Decrement exponent in < case instead of
15002         incrementing in >= case.
15003         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15004         without decrementing exponent if mantissa >= that for the
15005         denominator, not >.
15006
15007         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15008         computing saturated result for unsigned overflow.
15009
15010 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15011             Jeff Law  <law@redhat.com>
15012
15013         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15014         (atan2Mp): Add systemtap probe marker.
15015         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15016         (__ieee754_log): Add systemtap probe marker.
15017         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15018         (atanMp): Add systemtap probe marker.
15019         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15020         (tanMp): Add systemtap probe marker.
15021         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15022         (__slowexp): Add systemtap probe marker.
15023         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15024         (__slowpow): Add systemtap probe marker.
15025         * manual/probes.texi: Document probes.
15026
15027 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15028
15029         [BZ #15362]
15030         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15031         written.
15032         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15033         written.
15034         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15035         written to buffer but not flushed.
15036         * libio/iofwrite_u.c:  Likewise.
15037         * libio/iopadn.c:  Return bytes returned even if EOF was
15038         encountered.
15039         * libio/iowpadn.c:  Likewise.
15040         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15041         if _IO_padn does not write the whole buffer.
15042         [!COMPILE_WPRINTF] (PAD): Likewise.
15043
15044 2013-10-10  David S. Miller  <davem@davemloft.net>
15045
15046         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15047         directory block.
15048
15049 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15050
15051         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15052         instead of FSF address.
15053         * soft-fp/fixdfti.c: Likewise.
15054         * soft-fp/fixsfti.c: Likewise.
15055         * soft-fp/fixtfti.c: Likewise.
15056         * soft-fp/fixunsdfti.c: Likewise.
15057         * soft-fp/fixunssfti.c: Likewise.
15058         * soft-fp/fixunstfti.c: Likewise.
15059         * soft-fp/floattidf.c: Likewise.
15060         * soft-fp/floattisf.c: Likewise.
15061         * soft-fp/floattitf.c: Likewise.
15062         * soft-fp/floatuntidf.c: Likewise.
15063         * soft-fp/floatuntisf.c: Likewise.
15064         * soft-fp/floatuntitf.c: Likewise.
15065         * soft-fp/trunctfxf2.c: Likewise.
15066
15067         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15068         * soft-fp/fixdfti.c: Likewise.
15069         * soft-fp/fixsfti.c: Likewise.
15070         * soft-fp/fixtfti.c: Likewise.
15071         * soft-fp/fixunsdfti.c: Likewise.
15072         * soft-fp/fixunssfti.c: Likewise.
15073         * soft-fp/fixunstfti.c: Likewise.
15074         * soft-fp/floattidf.c: Likewise.
15075         * soft-fp/floattisf.c: Likewise.
15076         * soft-fp/floattitf.c: Likewise.
15077         * soft-fp/floatuntidf.c: Likewise.
15078         * soft-fp/floatuntisf.c: Likewise.
15079         * soft-fp/floatuntitf.c: Likewise.
15080         * soft-fp/trunctfxf2.c: Likewise.
15081
15082 2013-10-10  David S. Miller  <davem@davemloft.net>
15083
15084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15085
15086 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15087
15088         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15089         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15090         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15091         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15092         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15093         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15094         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15095
15096         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15097         for NaNs before doing comparisons on argument.
15098         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15099         Likewise.
15100
15101 2013-10-10  Will Newton  <will.newton@linaro.org>
15102
15103         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15104         passed to _int_memalign does not overflow.
15105
15106 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15107
15108         * scripts/bench.pl: Add include-sources directive.
15109         * benchtests/README: Update documentation.
15110
15111 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15112
15113         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15114         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15115         instead of FP_INIT_ROUNDMODE.
15116         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15117         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15118
15119         [BZ #16034]
15120         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15121         copy class of input value.
15122         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15123         not handle exceptions.
15124         * soft-fp/negsf2.c (__negsf2): Likewise.
15125         * soft-fp/negtf2.c (__negtf2): Likewise.
15126         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15127
15128 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15129
15130         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15131         semicolon.  From Linux kernel.
15132
15133 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15134
15135         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15136
15137 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15138
15139         [BZ #156]
15140         * manual/socket.texi: Added statement about buffer
15141         for gethostbyname2_r.
15142
15143 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15144
15145         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15146         Use .p2align directive instead, throughout.
15147         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15148         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15149         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15150         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15151         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15152         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15153         * sysdeps/x86_64/strchr.S: Likewise.
15154         * sysdeps/x86_64/strrchr.S: Likewise.
15155
15156 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15157
15158         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15159
15160         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15161
15162         * sysdeps/generic/math_private.h (__mpsin1): Remove
15163         declaration.
15164         (__mpcos1): Likewise.
15165         (__mpsin): New argument __range_reduce.
15166         (__mpcos): Likewise.
15167         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15168         (slow): Use __mpsin and __mpcos.
15169         (slow1): Likewise.
15170         (slow2): Likewise.
15171         (sloww): Likewise.
15172         (sloww1): Likewise.
15173         (sloww2): Likewise.
15174         (bsloww): Likewise.
15175         (bsloww1): Likewise.
15176         (bsloww2): Likewise.
15177         (cslow2): Likewise.
15178         (csloww): Likewise.
15179         (csloww1): Likewise.
15180         (csloww2): Likewise.
15181         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15182         range_reduce.  Merge in __mpsin1.
15183         (__mpcos): Likewise.
15184         (__mpsin1): Remove.
15185         (__mpcos1): Likewise.
15186
15187 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15188
15189         * locale/loadlocale.c (_nl_intern_locale_data): Use
15190         LOCFILE_ALIGNED_P.
15191         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15192         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15193         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15194         obstack data is appropriately aligned.
15195         (obstack_int32_grow_fast): Likewise.
15196         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15197         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15198         (add_locale_uint32_array): Likewise.
15199
15200 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15201
15202         * benchtests/Makefile: Remove ARGLIST and RET variables.
15203         ($(objpfx)bench-%.c): Pass only function name to the script.
15204         * benchtests/README: Update documentation.
15205         * benchtests/acos-inputs: Add new directives.
15206         * benchtests/acosh-inputs: Likewise.
15207         * benchtests/asin-inputs: Likewise.
15208         * benchtests/asinh-inputs: Likewise.
15209         * benchtests/atan-inputs: Likewise.
15210         * benchtests/atanh-inputs: Likewise.
15211         * benchtests/cos-inputs: Likewise.
15212         * benchtests/cosh-inputs: Likewise.
15213         * benchtests/exp-inputs: Likewise.
15214         * benchtests/log-inputs: Likewise.
15215         * benchtests/pow-inputs: Likewise.
15216         * benchtests/rint-inputs: Likewise.
15217         * benchtests/sin-inputs: Likewise.
15218         * benchtests/sinh-inputs: Likewise.
15219         * benchtests/tan-inputs: Likewise.
15220         * benchtests/tanh-inputs: Likewise.
15221         * scripts/bench.pl: Add support for new directives.
15222
15223 2013-10-07  Alan Modra  <amodra@gmail.com>
15224
15225         * README: Fix careless merge.
15226
15227 2013-10-05  Alan Modra  <amodra@gmail.com>
15228
15229         * NEWS: Mention powerpc64le support and bugs fixed.
15230         * README: Both big-endian and little-endian powerpc64 supported.
15231
15232 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15233
15234         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15235         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15236         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15237         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15238
15239 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15240
15241         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15242         match prototype.
15243
15244 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15245
15246         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15247         Move -mhard-float appending from
15248         ports/sysdeps/powerpc/powerpc32/Makefile.
15249         [$(with-fp) = yes] (ASFLAGS): Likewise.
15250         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15251         * sysdeps/powerpc/nofpu: Move directory from
15252         ports/sysdeps/powerpc/nofpu.
15253         * sysdeps/powerpc/soft-fp: Move directory from
15254         ports/sysdeps/powerpc/soft-fp.
15255         * sysdeps/powerpc/powerpc32/405: Move directory from
15256         ports/sysdeps/powerpc/powerpc32/405.
15257         * sysdeps/powerpc/powerpc32/440: Move directory from
15258         ports/sysdeps/powerpc/powerpc32/440.
15259         * sysdeps/powerpc/powerpc32/464: Move directory from
15260         ports/sysdeps/powerpc/powerpc32/464.
15261         * sysdeps/powerpc/powerpc32/476: Move directory from
15262         ports/sysdeps/powerpc/powerpc32/476.
15263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15264         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15266         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15268         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15270         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15272         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15273         * README: Update for powerpc-*-linux-gnu software floating point
15274         support in libc.
15275
15276         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15277         case to powerpc/powerpc32*.
15278         * sysdeps/unix/sysv/linux/configure: Regenerated.
15279
15280         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15281         (_FPU_MASK_OM): Define as 0x04.
15282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15284         0x00c10080.
15285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15286         0x0000003c.
15287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15288
15289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15290         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15291         getcontext_e500.
15292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15293         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15294         setcontext_e500.
15295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15296         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15297         and setcontext_e500.
15298
15299 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15300
15301         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15302
15303 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15304
15305         * manual/threads.texi (Default Thread Attributes): Fix typo.
15306
15307 2013-10-04  Will Newton  <will.newton@linaro.org>
15308
15309         * malloc/Makefile: Add tst-memalign.
15310         * malloc/tst-memalign.c: New file.
15311
15312         * malloc/tst-posix_memalign.c: Add comments.
15313         (do_test): Add comments and call free on all potentially
15314         allocated pointers. Add space after cast.
15315
15316         * malloc/tst-pvalloc.c: Add comments.
15317         (do_test): Add comments and call free on all potentially
15318         allocated pointers. Remove duplicate check for NULL pointer.
15319         Add space after cast.
15320
15321         * malloc/tst-valloc.c: Add comments.
15322         (do_test): Add comments and call free on all potentially
15323         allocated pointers. Remove duplicate check for NULL pointer.
15324         Add space after cast.
15325
15326 2013-10-04  Alan Modra  <amodra@gmail.com>
15327
15328         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15329         Use stdint types in rather than __attribute__((mode())).
15330         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15331
15332 2013-10-04  Alan Modra  <amodra@gmail.com>
15333
15334         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15335         Correct handling of unaligned relocs for little-endian.
15336         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15337
15338 2013-10-04  Alan Modra  <amodra@gmail.com>
15339
15340         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15341         * configure: Regenerate.
15342         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15343         * shlib-versions: Likewise.
15344
15345 2013-10-04  Alan Modra  <amodra@gmail.com>
15346
15347         * string/tester.c (test_memrchr): Increment reported test cycle.
15348
15349 2013-10-04  Alan Modra  <amodra@gmail.com>
15350
15351         * string/test-memcpy.c (do_one_test): When reporting errors, print
15352         string address and don't overrun end of string.
15353
15354 2013-10-04  Alan Modra  <amodra@gmail.com>
15355
15356         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15357         insrdi.  Make better use of reg selection to speed exit slightly.
15358         Schedule entry path a little better.  Remove useless "are we done"
15359         checks on entry to main loop.  Handle wrapping around zero address.
15360         Correct main loop count.  Handle single left-over word from main
15361         loop inline rather than by using loop_small.  Remove extra word
15362         case in loop_small caused by wrong loop count.  Add little-endian
15363         support.
15364         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15365         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15366         cache hint.
15367         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15368         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15369         support.  Avoid rlwimi.
15370         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15371
15372 2013-10-04  Alan Modra  <amodra@gmail.com>
15373
15374         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15375         insrdi.  Formatting.
15376         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15377         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15378         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15379         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15380         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15381         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15382
15383 2013-10-04  Alan Modra  <amodra@gmail.com>
15384
15385         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15386         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15387         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15388         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15389         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15390         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15391         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15392         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15393         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15394         use of regs.  Use power7 mtocrf.  Tidy function tails.
15395
15396 2013-10-04  Alan Modra  <amodra@gmail.com>
15397
15398         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15399         Formatting.  Consistently use rXXX register defines or rN defines.
15400         Use early exit labels that avoid restoring unused non-volatile regs.
15401         Make cr field use more consistent with rWORDn compares.  Rename
15402         regs used as shift registers for unaligned loop, using rN defines
15403         for short lifetime/multiple use regs.
15404         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15405         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15406         addi 1,1,64 to pop stack frame.  Simplify return value code.
15407         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15408
15409 2013-10-04  Alan Modra  <amodra@gmail.com>
15410
15411         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15412         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15413         rather than rlwimi.
15414         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15415         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15416         little-endian support.  Correct typos.
15417         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15418         rather than rlwimi.
15419         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15420         in loop and entry code to keep "and." results.
15421         (strchr): Add little-endian support.  Comment.  Move cntlzd
15422         earlier in tail.
15423         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15424
15425 2013-10-04  Alan Modra  <amodra@gmail.com>
15426
15427         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15428         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15429         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15430         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15431
15432 2013-10-04  Alan Modra  <amodra@gmail.com>
15433
15434         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15435         (rTMP): Define as r11.
15436         (strcmp): Add little-endian support.  Optimise tail.
15437         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15438         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15439         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15440         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15441         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15442         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15443         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15444
15445 2013-10-04  Alan Modra  <amodra@gmail.com>
15446
15447         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15448         little-endian support.  Remove unnecessary "are we done" tests.
15449         Handle "s" wrapping around zero and extremely large "size".
15450         Correct main loop count.  Handle single left-over word from main
15451         loop inline rather than by using small_loop.  Correct comments.
15452         Delete "zero" tail, use "end_max" instead.
15453         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15454
15455 2013-10-04  Alan Modra  <amodra@gmail.com>
15456
15457         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15458         support.  Don't branch over align.
15459         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15460         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15461         support.  Rearrange tmp reg use to suit.  Comment.
15462         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15463
15464 2013-10-04  Alan Modra  <amodra@gmail.com>
15465
15466         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15467
15468 2013-10-04  Alan Modra  <amodra@gmail.com>
15469
15470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15471         conditional form of branch and link when obtaining pc.
15472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15473
15474 2013-10-04  Alan Modra  <amodra@gmail.com>
15475
15476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15477         HIWORD/LOWORD.
15478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15480
15481 2013-10-04  Alan Modra  <amodra@gmail.com>
15482
15483         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15484         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15485         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15486         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15487         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15488         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15489         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15490         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15491         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15492         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15493
15494 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15495             Alistair Popple <alistair@ozlabs.au.ibm.com>
15496             Alan Modra <amodra@gmail.com>
15497
15498         [BZ #15723]
15499         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15500         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15501         _dl_hwcap access for little-endian.
15502         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15503         destroy vmx regs when saving unaligned.
15504         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15505         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15506         destroy vmx regs when saving unaligned.
15507
15508 2013-10-04  Alan Modra  <amodra@gmail.com>
15509
15510         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15511         Don't use a union to pack hi/low value.
15512
15513 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15514
15515         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15516         for little-endian.
15517         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15518         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15519         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15520         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15521         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15522
15523 2013-10-04  Alan Modra  <amodra@gmail.com>
15524
15525         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15526         constants to usual value for .cst8 section, and remove redundant
15527         high address load.
15528         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15529         constant for 0x1p52.  Load little-endian words of double from
15530         correct stack offsets.
15531
15532 2013-10-04  Alan Modra  <amodra@gmail.com>
15533
15534         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15535         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15536         words of double from correct stack offsets.
15537         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15538         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15539         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15540         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15541         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15542         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15543         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15544         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15545         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15546         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15547         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15548         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15549         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15550         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15551         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15552         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15553         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15554
15555 2013-10-04  Alan Modra  <amodra@gmail.com>
15556
15557         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15558         64-bit int/double union.
15559         (_FPU_SETCW): Likewise.
15560         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15561         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15562
15563 2013-10-04  Alan Modra  <amodra@gmail.com>
15564
15565         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15566         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15567
15568 2013-10-04  Alan Modra  <amodra@gmail.com>
15569
15570         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15571         use vector int constants.
15572         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15573
15574 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15575
15576         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15577         array with long long.
15578         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15579         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15580         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15581         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15582         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15583         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15584         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15585         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15586         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15587         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15588         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15589         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15590         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15591
15592 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15593
15594         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15595         (__signbit): Likewise.  Correct for little-endian.
15596         (__signbitl): Call __signbit.
15597         (lrint): Correct for little-endian.
15598         (lrintf): Call lrint.
15599
15600 2013-10-04  Alan Modra  <amodra@gmail.com>
15601
15602         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15603         union 32-bit int array member with 64-bit int array.
15604         (t515, tm256): Double rather than long double.
15605         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15606
15607 2013-10-04  Alan Modra  <amodra@gmail.com>
15608
15609         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15610         Delete.
15611         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15612         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15613         version of math_ldbl.h.
15614
15615 2013-10-04  Alan Modra  <amodra@gmail.com>
15616
15617         [BZ #15734], [BZ #15735]
15618         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15619         all uses of ieee875 long double macros and unions.  Simplify test
15620         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15621         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15622         normalize after ldbl_extract_mantissa, and don't add hidden bit
15623         already handled.  Don't treat low word of ieee854 mantissa like
15624         low word of IBM long double and mask off bit when testing for
15625         zero.
15626         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15627         all uses of ieee875 long double macros and unions.  Simplify tests
15628         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15629         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15630         two1022, instead use their values.  Recognise that tests for large
15631         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15632         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15633         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15634         test for 0.0L and nan.  Correct negation.
15635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15636         ieee875 long double macros and unions.  Correct output for large
15637         magnitude x.  Correct absolute value calculation.
15638         (__erfcl): Likewise.
15639         * math/libm-test.inc: Add tests for errors discovered in IBM long
15640         double versions of fmodl, remainderl, erfl and erfcl.
15641
15642 2013-10-04  Alan Modra  <amodra@gmail.com>
15643
15644         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15645         all uses of ieee854 long double macros and unions.  Simplify tests
15646         for long doubles that are fully specified by the high double.
15647         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15648         Likewise.
15649         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15650         Remove dead code too.
15651         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15652         (__ieee754_ynl): Likewise.
15653         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15654         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15655         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15656         Remove dead code too.
15657         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15658         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15659         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15660         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15661         Simplify.
15662         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15663         Simplify.
15664         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15665         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15666         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15667         Comment on variable precision.
15668         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15669         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15670         Likewise.
15671         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15672         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15673         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15674         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15675         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15676
15677 2013-10-04  Alan Modra  <amodra@gmail.com>
15678
15679         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15680         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15681         all uses of ieee854 long double macros and unions.
15682         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15683         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15684         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15685         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15686         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15687         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15688         Likewise.
15689         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15690         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15691         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15692         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15693         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15694         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15695         Simplify sign and nan test too.
15696         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15697         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15698         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15699         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15700         Likewise.
15701         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15702         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15703         Likewise.
15704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15705         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15706         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15707         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15708         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15709         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15710
15711 2013-10-04  Alan Modra  <amodra@gmail.com>
15712
15713         * stdio-common/printf_size.c (__printf_size): Don't use
15714         union ieee854_long_double in fpnum union.
15715         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15716         signbit macro to retrieve sign from long double.
15717         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15718         retrieve sign from long double.
15719         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15720         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15721         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15722         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15723         * math/test-misc.c (main): Don't use union ieee854_long_double.
15724
15725 2013-10-04  Alan Modra  <amodra@gmail.com>
15726
15727         [BZ #15680]
15728         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15729         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15730         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15731         calculation.  Remove unnecessary test for denormal exponent.
15732         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15733         Correct handling of denormals.  Avoid undefined shift behaviour.
15734         Correct normalisation of low mantissa when low double is denormal.
15735         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15736         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15737         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15738         Correct normalisation of low mantissa.  Test for overflow of high
15739         mantissa and normalise.
15740         (ldbl_nearbyint): Use more readable constant for two52.
15741         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15742         (__mpn_construct_long_double): Fix test for overflow of high
15743         mantissa and correct normalisation.  Avoid undefined shift.
15744
15745 2013-10-04  Alan Modra  <amodra@gmail.com>
15746
15747         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15748         (union ibm_extended_long_double): Define as an array of ieee754_double.
15749         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15750         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15751         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15752         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15753         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15754         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15756         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15757         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15758         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15759         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15760
15761 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15762
15763         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15764         page size instead of calling getpagesize.
15765
15766         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15767         (LOCFILE_ALIGN_MASK): Likewise.
15768         (LOCFILE_ALIGN_UP): Likewise.
15769         (LOCFILE_ALIGNED_P): Likewise.
15770         * locale/programs/ld-collate.c (collate_output): Use the new
15771         macros instead of __alignof__ (int32_t).
15772         * locale/weight.h (findidx): Likewise.
15773
15774 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15775
15776         [BZ #431]
15777         * manual/string.texi: Fix strncat and wcsncat.
15778
15779 2013-10-03  Brooks Moses  <bmoses@google.com>
15780
15781         [BZ #15915]
15782         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15783         * Makerules: ...here, and adjust associated comments.
15784
15785 2013-10-02  Will Newton  <will.newton@linaro.org>
15786
15787         * malloc/Makefile: Add tst-pvalloc.
15788         * malloc/tst-pvalloc.c: New file.
15789
15790 2013-10-02  Will Newton  <will.newton@linaro.org>
15791
15792         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15793         improve test coverage.
15794
15795 2013-10-02  Will Newton  <will.newton@linaro.org>
15796
15797         * malloc/Makefile: Add tst-posix_memalign.
15798         * malloc/tst-posix_memalign.c: New file.
15799
15800 2013-10-01  Eric Blake  <eblake@redhat.com>
15801
15802         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15803         Use __THROWNL rather than __THROW on static functions.
15804
15805 2013-09-30  Petr Machata  <pmachata@redhat.com>
15806
15807         * elf/elf.h (R_AARCH64_ABS16): New macro.
15808         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15809         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15810         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15811         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15812         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15813         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15814         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15815         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15816         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15817         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15818         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15819         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15820         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15821         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15822         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15823         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15824         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15825         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15826         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15827         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15828         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15829         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15830         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15831         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15832         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15833         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15834         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15835         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15836         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15837         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15838         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15839         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15840         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15841         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15842         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15843         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15844         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15845         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15846         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15847         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15848         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15849         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15850         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15851         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15852         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15853         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15854         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15855         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15856         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15857         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15858         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15859         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15860         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15861         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15862         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15863         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15864         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15865         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15866         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15867         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15868         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15869         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15870         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15871         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15872         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15873         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15874         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15875         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15876         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15877         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15878         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15879         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15880         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15881         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15882         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15883         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15884         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15885         (R_AARCH64_TLSDESC_LDR): Likewise.
15886         (R_AARCH64_TLSDESC_ADD): Likewise.
15887         (R_AARCH64_TLSDESC_CALL): Likewise.
15888
15889 2013-09-30  Andreas Schwab  <schwab@suse.de>
15890
15891         [BZ #15048]
15892         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15893         the nss database lookup.
15894         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15895         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15896
15897 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15898
15899         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15900
15901 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15902
15903         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15904         ${Bash-specific parameter/pattern/string} parameter expansion.
15905         * sysdeps/unix/make-syscalls.sh: Likewise.
15906
15907 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15908
15909         * sysdeps/sh/stackguard-macros.h: New file.
15910
15911 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15912
15913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15915         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15916         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15917         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15918         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15919
15920 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15921
15922         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15923         Fix thread ID register.
15924
15925 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15926
15927         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15928         [POSIX || UNIX98]: Require rather than permitting all symbols from
15929         <time.h>.
15930         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15931         element of struct sched_param.
15932         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15933         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15934         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15935         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15936         constant.
15937
15938 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15939
15940         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15941         argument calculation.
15942
15943 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15944
15945         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15946         Expect macro.
15947         [POSIX] (pthread_attr_t): Do not require type.
15948         [POSIX] (pthread_cond_t): Likewise.
15949         [POSIX] (pthread_condattr_t): Likewise.
15950         [POSIX] (pthread_key_t): Likewise.
15951         [POSIX] (pthread_mutex_t): Likewise.
15952         [POSIX] (pthread_mutexattr_t): Likewise.
15953         [POSIX] (pthread_once_t): Likewise.
15954         [POSIX] (pthread_t): Likewise.
15955         [POSIX-based standards] (pthread_atfork): Expect function.
15956
15957 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15958             Richard Sandiford  <richard@codesourcery.com>
15959
15960         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15961         (swap_endianness_p): New extern variable.
15962         (set_big_endian): New inline function.
15963         (maybe_swap_uint32): Likewise.
15964         (maybe_swap_uint32_array): Likewise.
15965         (maybe_swap_uint32_obstack): Likewise.
15966         * locale/programs/locfile.c: Include <stdbool.h>.
15967         (swap_endianness_p): New variable.
15968         (add_locale_uint32): Call maybe_swap_uint32.
15969         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15970         (write_locale_data): Call maybe_swap_uint32_array.
15971         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15972         maybe_swap_uint32.
15973         (obstack_int32_grow_fast): Likewise.
15974         (output_weightwc): Call maybe_swap_uint32_obstack.
15975         (collate_output): Likewise.
15976         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15977         (OPT_LITTLE_ENDIAN): Likewise.
15978         (options): Add --little-endian and --big-endian options.
15979         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15980         * locale/programs/locarchive.c: Include "locfile.h".
15981         (GET): New macro.
15982         (SET): Likewise.
15983         (INC): Likewise.
15984         (create_archive): Use the new macros to access fields of
15985         structures directly mapped from or written to locale archives.
15986         (oldlocrecentcmp): Likewise.
15987         (enlarge_archive): Likewise.
15988         (insert_name): Likewise.
15989         (add_alias): Likewise.
15990         (add_locale): Likewise.
15991         (delete_locales_from_archive): Likewise.
15992         (show_archive_content): Likewise.
15993         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15994         locale data.
15995
15996 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15997
15998         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15999         http://www.gnu.org/doc/freemanuals.texi.
16000         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16001
16002 2013-09-24  Will Newton  <will.newton@linaro.org>
16003
16004         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16005         macro.
16006
16007 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16008
16009         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16010         unsigned char.
16011
16012 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16013
16014         * manual/threads.texi (POSIX Threads): Fix a typo.
16015
16016 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16017
16018         [BZ #14547]
16019         * string/tst-strcoll-overflow.c: New test case.
16020         * string/Makefile (xtests): Add tst-strcoll-overflow.
16021         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16022         cache if string sizes may cause integer overflow.
16023
16024         [BZ #14547]
16025         * string/strcoll_l.c (coll_seq): New members rule, idx,
16026         save_idx and back_us.
16027         (get_next_seq_nocache): New function.
16028         (do_compare_nocache): New function.
16029         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16030         when malloc fails.
16031
16032 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16033
16034         [BZ #15754]
16035         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16036         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16037         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16038
16039         [BZ #15754]
16040         * elf/Makefile (tests): Add tst-ptrguard1.
16041         (tests-static): Add tst-ptrguard1-static.
16042         (tst-ptrguard1-ARGS): Define.
16043         (tst-ptrguard1-static-ARGS): Define.
16044         * elf/tst-ptrguard1.c: New file.
16045         * elf/tst-ptrguard1-static.c: New file.
16046         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16047         * sysdeps/i386/stackguard-macros.h: Likewise.
16048         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16049         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16050         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16051         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16052         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16053         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16054
16055 2013-09-23  Hector Marco  <hecmargi@upv.es>
16056             Ismael Ripoll  <iripoll@disca.upv.es>
16057             Carlos O'Donell  <carlos@redhat.com>
16058
16059         [BZ #15754]
16060         * sysdeps/generic/stackguard-macros.h: Define
16061         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16062         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16063         Define __pointer_chk_guard_local.
16064         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16065         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16066
16067 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16068
16069         [BZ #15859]
16070         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16071
16072 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16073
16074         * include/string.h (__ffs): Declare as hidden.
16075         * string/ffs.c (__ffs): Define as hidden.
16076         * sysdeps/i386/ffs.c (__ffs): Likewise.
16077         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16078         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16079         * sysdeps/s390/ffs.c (__ffs): Likewise.
16080         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16081
16082 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16083
16084         * NEWS: Mention malloc probes.
16085
16086         * malloc/arena.c (new_heap): New memory_heap_new probe.
16087         (grow_heap): New memory_heap_more probe.
16088         (shrink_heap): New memory_heap_less probe.
16089         (heap_trim): New memory_heap_free probe.
16090         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16091         (systrim): New memory_sbrk_less probe.
16092         * manual/probes.texi: Document them.
16093
16094         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16095         * manual/probes.texi: Document it.
16096
16097         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16098         (__libc_realloc): Add memory_realloc_retry probe.
16099         (__libc_memalign): Add memory_memalign_retry probe.
16100         (__libc_valloc): Add memory_valloc_retry probe.
16101         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16102         (__libc_calloc): Add memory_calloc_retry probe.
16103         * manual/probes.texi: Document them.
16104
16105         * malloc/arena.c (get_free_list): Add probe
16106         memory_arena_reuse_free_list.
16107         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16108         and memory_arena_reuse.
16109         (arena_get2) [!PER_THREAD]: Likewise.
16110         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16111         memory_arena_reuse_realloc.
16112         * manual/probes.texi: Document them.
16113
16114         * malloc/malloc.c (__libc_free): Add
16115         memory_mallopt_free_dyn_thresholds probe.
16116         (__libc_mallopt): Add multiple memory_mallopt probes.
16117         * manual/probes.texi: Document them.
16118
16119         * malloc/malloc.c: Include stap-probe.h.
16120         (__libc_mallopt): Add memory_mallopt probe.
16121         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16122         * manual/probes.texi: New.
16123         * manual/Makefile (chapters): Add probes.
16124         * manual/threads.texi: Set next node.
16125
16126 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16127
16128         [BZ #15963, #13985]
16129         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16130         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16131         Add `Chinese' to `nan' entry name.
16132
16133 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16134
16135         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16136         (POLYNOMIAL): Likewise.
16137         (TAYLOR_SINCOS): Likewise.
16138         (TAYLOR_SLOW): Likewise.
16139         (__sin): Use TAYLOR_SINCOS.
16140         (__cos): Likewise.
16141         (slow): Use TAYLOR_SLOW.
16142         (sloww): Likewise.
16143         (bsloww): Likewise.
16144         (csloww): Likewise.
16145
16146 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16147
16148         * stdlib/strtod_l.c: Fix buffer overrun.
16149
16150 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16151
16152         * benchtests/Makefile (bench): Add sincos.
16153         * benchtests/bench-sincos.c: New file.
16154
16155         * math/libm-test.inc (cos_test_data): New test inputs.
16156         (sin_test_data): Likewise.
16157
16158         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16159         macro.
16160         (__sin): Use it.
16161         (__cos): Likewise.
16162         (slow1): Likewise.
16163         (slow2): Likewise.
16164         (sloww1): Likewise.
16165         (sloww2): Likewise.
16166         (bsloww1): Likewise.
16167         (bsloww2): Likewise.
16168         (cslow2): Likewise.
16169         (csloww1): Likewise.
16170         (csloww2): Likewise.
16171
16172         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16173         function.
16174         (__sin): Use it.
16175         (__cos): Likewise.
16176
16177         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16178         gotos.
16179         (__cos): Likewise.
16180
16181 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16182
16183         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16184         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16185         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16186         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16187         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16188         * elf/cache.c (print_entry): Handle the new cache flags.
16189
16190 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16191             Aldy Hernandez  <aldyh@redhat.com>
16192
16193         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16194         Change condition to [_SOFT_FLOAT].
16195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16207         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16210         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16211         declaration.
16212
16213 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16214
16215         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16216         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16217         (__longjmp): Use LOAD_GP to load saved GPRs.
16218         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16219         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16220         (__sigsetjmp): Use SAVE_GP to save GPRs.
16221
16222         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16223         Do not append -msoft-float.
16224         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16225
16226 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16227
16228         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16229
16230 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16231
16232         [BZ #15966]
16233         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16234         (_FPU_GETCW): Use initial "__" on variable and field names but not
16235         on macro parameter name.
16236         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16237         parentheses around reference to macro parameter.
16238
16239 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16240
16241         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16242         prototype.
16243         (ctype_startup): Use uint32_t in cast and sizeof for
16244         ctype->charnames.
16245
16246 2013-09-11  Jia Liu  <proljc@gmail.com>
16247
16248         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16249         __daddr_t_defined.
16250         [__FreeBSD__]: Likewise.
16251
16252 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16253
16254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16255         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16256         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16257         (strchr): Remove __strchr_sse42 ifunc selection.
16258         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16259         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16260
16261 2013-09-11  Will Newton  <will.newton@linaro.org>
16262
16263         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16264         parameter to RES. Remove hardcoded 1000 value.
16265         * benchtests/bench-skeleton.c (main): Pass RES parameter
16266         to TIMING_INIT and multiply result by 1000.
16267
16268 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16269
16270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16271
16272 2013-09-11  Andreas Schwab  <schwab@suse.de>
16273
16274         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16275         if not defined.
16276         (O_TMPFILE) [__USE_GNU]: Define.
16277         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16278         Define.
16279
16280 2013-09-11  Will Newton  <will.newton@linaro.org>
16281
16282         [BZ #15857]
16283         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16284         does not overflow.
16285
16286 2013-09-11  Will Newton  <will.newton@linaro.org>
16287
16288         [BZ #15856]
16289         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16290         does not overflow.
16291
16292 2013-09-11  Will Newton  <will.newton@linaro.org>
16293
16294         [BZ #15855]
16295         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16296         does not overflow.
16297
16298 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16299
16300         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16301         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16302         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16303         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16304         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16305
16306 2013-09-10  Allan McRae  <allan@archlinux.org>
16307
16308         [BZ #15748]
16309         * manual/arith.texi (Parsing of Floats): Clarify
16310         cross-reference.
16311
16312         [BZ #15849]
16313         * manual/install.texi (Running make install): Mention
16314         --enable-pt-chown.
16315         * INSTALL: Regenerated.
16316
16317 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16318
16319         * csu/init-first.c (_init): Remove the !SHARED condition around
16320         FPU control word initialization.
16321         * elf/dl-support.c (_dl_fpu_control): New variable.
16322         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16323         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16324         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16325         * math/test-fpucw-static.c: New file.
16326         * math/test-fpucw-ieee.c: New file.
16327         * math/test-fpucw-ieee-static.c: New file.
16328         * math/Makefile (tests): Add `test-fpucw-ieee' and
16329         `$(tests-static)'.
16330         (tests-static): New variable.
16331         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16332         dependency to...
16333         [($(build-shared),yes)]
16334         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16335         ... this.
16336         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16337         New dependency.
16338
16339 2013-09-09  Allan McRae  <allan@archlinux.org>
16340
16341         [BZ #15939]
16342         * manual/string.texi (Collation Functions): Fix typo in
16343         strcoll example.
16344         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16345
16346         [BZ #15893]
16347         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16348
16349         [BZ #15892]
16350         * libio/memstream.c (open_memstream): Fix memory leak.
16351         * libio/wmemstream.c (open_wmemstream): Likewise.
16352
16353         [BZ #15895]
16354         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16355
16356 2013-09-09  Will Newton  <will.newton@linaro.org>
16357
16358         * malloc/Makefile: Add tst-realloc to tests.
16359         * malloc/tst-realloc.c: New file.
16360
16361 2013-09-09  Allan McRae  <allan@archlinux.org>
16362
16363         [BZ #15844]
16364         * COPYING: Update from GNU website to fix FSF address.
16365         * COPYING.LIB: Likewise.
16366
16367 2013-09-06  David S. Miller  <davem@davemloft.net>
16368
16369         * po/zh_TW.po: Update Chinese (traditional) translation from
16370         translation project.
16371
16372 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16373             Joseph Myers  <joseph@codesourcery.com>
16374
16375         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16376         "localeinfo.h".
16377         (obstack_chunk_alloc): New macro.
16378         (obstack_chunk_free): Likewise.
16379         (record_offset): New function.
16380         (init_locale_data): Likewise.
16381         (align_locale_data): Likewise.
16382         (add_locale_empty): Likewise.
16383         (add_locale_raw_data): Likewise.
16384         (add_locale_raw_obstack): Likewise.
16385         (add_locale_string): Likewise.
16386         (add_locale_wstring): Likewise.
16387         (add_locale_uint32): Likewise.
16388         (add_locale_uint32_array): Likewise.
16389         (add_locale_char): Likewise.
16390         (start_locale_structure): Likewise.
16391         (end_locale_structure): Likewise.
16392         (start_locale_prelude): Likewise.
16393         (end_locale_prelude): Likewise.
16394         (write_locale_data): Take locale_file structure rather than an
16395         iovec.
16396         * locale/programs/locfile.h: Include "obstack.h".
16397         (struct locale_file): Change to store locale file contents instead
16398         of header.
16399         (init_locale_data): New prototype.
16400         (align_locale_data): Likewise.
16401         (add_locale_empty): Likewise.
16402         (add_locale_raw_data): Likewise.
16403         (add_locale_raw_obstack): Likewise.
16404         (add_locale_string): Likewise.
16405         (add_locale_wstring): Likewise.
16406         (add_locale_uint32): Likewise.
16407         (add_locale_uint32_array): Likewise.
16408         (add_locale_char): Likewise.
16409         (start_locale_structure): Likewise.
16410         (end_locale_structure): Likewise.
16411         (start_locale_prelude): Likewise.
16412         (end_locale_prelude): Likewise.
16413         (write_locale_data): Update prototype.
16414         * locale/programs/3level.h (struct TABLE): Remove result field.
16415         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16416         Use new locale_file interface.
16417         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16418         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16419         * locale/programs/ld-address.c (address_output): Use new
16420         locale_file interface.
16421         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16422         NO_ADD_LOCALE.
16423         (collate_finish): Don't call collseq_table_finalize.
16424         (collate_output): Use new locale_file interface.
16425         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16426         in file.
16427         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16428         (TABLE): Move defines earlier in file.
16429         (ELEMENT): Likewise.
16430         (DEFAULT): Likewise.
16431         (wctrans_table_add): Move macro and inline function earlier in
16432         file.
16433         (struct wctype_table): Move type earlier in file.
16434         (add_locale_wctype_table): New static prototype.
16435         (struct locale_ctype_t): Use logical types instead of struct iovec
16436         pointers for members.
16437         (ctype_output): Use new locale_file interface.
16438         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16439         new locale_file interface.
16440         (allocate_arrays): Update for use of new locale_file interface.
16441         * locale/programs/ld-identification.c (identification_output): Use
16442         new locale_file interface.
16443         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16444         * locale/programs/ld-messages.c (messages_output): Likewise.
16445         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16446         * locale/programs/ld-name.c (name_output): Likewise.
16447         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16448         * locale/programs/ld-paper.c (paper_output): Likewise.
16449         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16450         * locale/programs/ld-time.c (time_output): Likewise.
16451
16452 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16453
16454         * benchtests/Makefile: Add memrchr benchmark.
16455         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16456         benchmark as memrchr.
16457         * benchtests/bench-memrchr-ifunc.c: New file.
16458         * benchtests/bench-memrchr.c: New file.
16459
16460 2013-09-06   Will Newton  <will.newton@linaro.org>
16461
16462         * benchtests/Makefile (string-bench): Add memcpy.
16463
16464 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16465             Cong Wang  <amwang@redhat.com>
16466
16467         [BZ #15850]
16468         * sysdeps/unix/sysv/linux/bits/in.h
16469         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16470         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16471         before __USE_KERNEL_IPV6_DEFS uses.
16472         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16473         IPPROTO_BEETPH.
16474         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16475         sockaddr_in6, or ipv6_mreq.
16476
16477 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16478
16479         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16480         memory access for final bytes in some large inputs.
16481         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16482
16483 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16484
16485         * string/test-memrchr.c: New file.
16486         * string/test-memrchr-ifunc.c: New file.
16487         * string/Makefile: Add new memrchr testcase.
16488
16489 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16490
16491         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16492         fanotify_init returns EPERM.
16493
16494 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16495
16496         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16497         errors.
16498         (top level): Treat second token from macro or constant entries for
16499         allowed headers as allowed.
16500         * include/complex.h: Condition internal declarations on
16501         [!_ISOMAC].
16502         * include/fenv.h: Condition include of <stdbool.h> and internal
16503         declarations on [!_ISOMAC].
16504
16505 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16506
16507         [BZ #15923]
16508         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16509
16510 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16511
16512         * configure.in (--enable-versioning): Remove configure option.
16513         (libc_cv_asm_symver_directive): Remove configure test.
16514         (libc_cv_ld_version_script_option): Likewise.
16515         (VERSIONING): Remove variable and AC_SUBST.
16516         (DO_VERSIONING): Remove AC_DEFINE.
16517         * configure: Regenerated.
16518         * config.h.in (DO_VERSIONING): Remove macro.
16519         * Makerules [$(versioning) = yes]: Change conditionals to
16520         [$(build-shared) = yes].
16521         * config.make.in (versioning): Remove variable.
16522         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16523         [$(build-shared) = yes].
16524         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16525         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16526         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16527         [$(build-shared) = yes].
16528         * extra-lib.mk [$(versioning) = yes]: Likewise.
16529         * hurd/Makefile [$(versioning) = yes]: Likewise.
16530         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16531         [SHARED].
16532         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16533         [SHARED].
16534         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16535         [SHARED && !NO_HIDDEN].
16536         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16537         [SHARED].
16538         [SHARED && DO_VERSIONING]: Likewise..
16539         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16540         [$(build-shared) = yes].
16541         * manual/install.texi (--disable-versioning): Remove
16542         documentation.
16543         * INSTALL: Regenerated.
16544         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16545         to [SHARED].
16546         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16547         [$(build-shared) = yes].
16548         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16549         * sysdeps/i386/i686/multiarch/strstr-c.c
16550         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16551         [SHARED && !NO_HIDDEN].
16552         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16553         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16554         * sysdeps/powerpc/powerpc32/dl-machine.c
16555         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16556         * sysdeps/powerpc/powerpc32/sysdep.h
16557         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16558         to [SHARED && PIC && !NO_HIDDEN].
16559         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16560         conditional to [SHARED].
16561
16562 2013-09-04   Will Newton  <will.newton@linaro.org>
16563
16564         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16565         * benchtests/bench-string.h: Include bench-timing.h instead
16566         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16567         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16568         call to HP_TIMING_DIFF_INIT.
16569         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16570         instead of hp-timing.h macros.
16571         * benchtests/bench-memchr.c: Likewise.
16572         * benchtests/bench-memcmp.c: Likewise.
16573         * benchtests/bench-memcpy.c: Likewise.
16574         * benchtests/bench-memmem.c: Likewise.
16575         * benchtests/bench-memmove.c: Likewise.
16576         * benchtests/bench-memset.c: Likewise.
16577         * benchtests/bench-rawmemchr.c: Likewise.
16578         * benchtests/bench-strcasecmp.c: Likewise.
16579         * benchtests/bench-strcasestr.c: Likewise.
16580         * benchtests/bench-strcat.c: Likewise.
16581         * benchtests/bench-strchr.c: Likewise.
16582         * benchtests/bench-strcmp.c: Likewise.
16583         * benchtests/bench-strcpy.c: Likewise.
16584         * benchtests/bench-strcpy_chk.c: Likewise.
16585         * benchtests/bench-strlen.c: Likewise.
16586         * benchtests/bench-strncasecmp.c: Likewise.
16587         * benchtests/bench-strncat.c: Likewise.
16588         * benchtests/bench-strncmp.c: Likewise.
16589         * benchtests/bench-strncpy.c: Likewise.
16590         * benchtests/bench-strnlen.c: Likewise.
16591         * benchtests/bench-strpbrk.c: Likewise.
16592         * benchtests/bench-strrchr.c: Likewise.
16593         * benchtests/bench-strspn.c: Likewise.
16594         * benchtests/bench-strstr.c: Likewise.
16595
16596 2013-09-04  Will Newton  <will.newton@linaro.org>
16597
16598         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16599
16600 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16601
16602         [BZ #15427]
16603         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16604         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16605         * math/libm-test.inc (lgamma_test_data): Add more tests.
16606         * sysdeps/i386/fpu/libm-test-ulps: Update.
16607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16608
16609 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16610
16611         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16613         Add ifunc.
16614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16615         Add strcmp-sse2-unaligned
16616         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16617
16618 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16619
16620         * Versions.def (libc): Add GLIBC_2.19.
16621
16622 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16623
16624         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16625         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16626
16627 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16628
16629         [BZ #14155]
16630         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16631         intermediate calculations in recurrence.
16632         (__ieee754_ynf): Likewise.
16633         * math/libm-test.inc (jn_test_data): Do not allow spurious
16634         underflow exception.  Add more tests.
16635         (yn_test_data): Add more tests.
16636         * sysdeps/i386/fpu/libm-test-ulps: Update.
16637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16638
16639 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16640
16641         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16642
16643 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16644
16645         * csu/init-first.c: Fix then/than typos.
16646         * locale/programs/ld-collate.c: Likewise.
16647         * locale/programs/linereader.h: Likewise.
16648         * manual/charset.texi: Likewise.
16649         * manual/filesys.texi: Likewise.
16650         * manual/stdio.texi: Likewise.
16651         * manual/string.texi: Likewise.
16652         * stdlib/fmtmsg.c: Likewise.
16653         * sysdeps/i386/stpncpy.S: Likewise.
16654         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16655         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16656         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16657         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16658
16659 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16660
16661         * elf/dl-open.c: Fix typos.
16662         * iconvdata/gbbig5.c: Likewise.
16663         * iconvdata/iso-2022-jp.c: Likewise.
16664         * iconv/gconv_int.h: Likewise.
16665         * iconv/loop.c: Likewise.
16666         * nis/rpcsvc/nis.h: Likewise.
16667         * resolv/ns_name.c: Likewise.
16668         * stdio-common/vfscanf.c: Likewise.
16669         * streams/stropts.h: Likewise.
16670         * sunrpc/rpc_thread.c: Likewise.
16671         * sysdeps/i386/strpbrk.S: Likewise.
16672         * sysdeps/ieee754/k_standard.c: Likewise.
16673         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16674         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16675         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16676         * sysdeps/mach/hurd/profil.c: Likewise.
16677         * sysdeps/s390/dl-procinfo.h: Likewise.
16678         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16679         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16680         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16681         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16682         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16683
16684 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16685
16686         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16688
16689 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16690
16691         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16692         aix specific files.
16693         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16694         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16695         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16696         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16697         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16698         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16699         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16700         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16701
16702 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16703             Roland McGrath  <roland@hack.frob.com>
16704
16705         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16706         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16707
16708 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16709
16710         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16711         __executable_start symbol instead of _start.
16712
16713 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16714
16715         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16716         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16717         Move macros to...
16718         * sysdeps/gnu/ldsodefs.h: ... this new file.
16719
16720         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16721         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16722         instead of ELFOSABI_LINUX.
16723
16724         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16725         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16726         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16727         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16728         Likewise.
16729         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16730         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16731         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16732         Likewise.
16733         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16734         (ibm_extended_long_double): Add ieee_nan member.
16735         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16736         (do_test): New function.
16737
16738         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16739         TEST_TRUNC.
16740         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16741         functions, renamed from truncdfsf_test, trunctfsf_test,
16742         trunctfdf_test.
16743         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16744         functions.
16745         (do_test): Run all these.
16746
16747 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16748
16749         * argp/argp-help.c: Fix typos.
16750         * argp/argp-parse.c: Likewise.
16751         * debug/backtracesyms.c: Likewise.
16752         * elf/elf.h: Likewise.
16753         * malloc/malloc.c: Likewise.
16754         * nis/nis_print.c: Likewise.
16755         * resolv/res_comp.c: Likewise.
16756         * stdlib/stdlib.h: Likewise.
16757         * sunrpc/clnt_tcp.c: Likewise.
16758         * sunrpc/clnt_udp.c: Likewise.
16759         * sunrpc/clnt_unix.c: Likewise.
16760         * sysdeps/unix/bsd/ptsname.c: Likewise.
16761         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16762         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16764         Likewise.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16766         Likewise.
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16768         Likewise.
16769         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16770
16771 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16772
16773         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16775
16776 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16777
16778         [BZ #15897]
16779         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16780         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16781         ($(objpfx)bug-dl-leaf): New rule.
16782         ($(objpfx)bug-dl-leaf.so): Likewise.
16783         ($(objpfx)bug-dl-leaf.out): Likewise.
16784         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16785         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16786         * dlfcn/bug-dl-leaf.c: New test.
16787         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16788         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16789         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16790         (dlclose): Likewise.
16791         (dlmopen): Likewise.
16792
16793 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16794
16795         * include/netdb.h [!_ISOMAC]:
16796         Don't include <tls.h>.
16797         (h_errno, __libc_h_errno): Move declaration and macros out of
16798         [_LIBC_REENTRANT].
16799
16800         * include/resolv.h [_RESOLV_H_]:
16801         Don't include <tls.h>.
16802         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16803         * resolv/res_libc.c: Don't include <tls.h>.
16804         (_res): Use __attribute__ ((nocommon)) in place of
16805         __attribute__ ((section (".bss"))).
16806
16807         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16808         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16809
16810         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16811
16812         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16813         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16814
16815         * resolv/res_mkquery.c: Include <sys/time.h>.
16816
16817         * inet/ifreq.c: Moved to ...
16818         * sysdeps/unix/ifreq.c: ... here.
16819         * inet/ifreq.c: New file, true stub version.
16820
16821         * socket/sa_len.c: New file.
16822         * socket/Makefile (aux): Add it.
16823         * sysdeps/unix/sysv/linux/Makefile
16824         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16825         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16826         and #include <socket/sa_len.c>.
16827         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16828         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16829
16830         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16831         * bits/socket.h: ... here.
16832
16833         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16834         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16835         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16836
16837 2013-08-27  Andreas Schwab  <schwab@suse.de>
16838
16839         [BZ #15736]
16840         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16841         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16842         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16843         * string/test-strcasecmp.c (test_main): Run tests in several
16844         locales.
16845         * string/test-strncasecmp.c (test_main): Likewise.
16846
16847         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16848         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16849         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16850         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16851         (__strncasecmp_ssse3) [PIC]: Likewise.
16852
16853 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16854
16855         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16856
16857         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16858         instead of explicitly declaring xdecrypt.
16859         * nis/nss_nis/nis-publickey.c: Likewise.
16860
16861 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16862
16863         [BZ #15890]
16864         * nscd/aicache.c: Include res_hconf.h.
16865         (addhstaiX): Initialize res_hconf.
16866
16867 2013-08-26  Andreas Schwab  <schwab@suse.de>
16868
16869         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16870         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16871
16872 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16873
16874         * nscd/aicache.c (addhstaiX): Fix indentation.
16875
16876 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16877
16878         * configure.ac: Quote $build_pt_chown test.
16879         * configure: Regenerated.
16880
16881 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16882
16883         [BZ #15532]
16884         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16885         * math/s_cexpf.c (__cexpf): Likewise.
16886         * math/s_cexpl.c (__cexpl): Likewise.
16887         * math/libm-test.inc (cexp_test_data): Correct expected return
16888         value for NaN + i0.  Add another test.
16889
16890 2013-08-22  David S. Miller  <davem@davemloft.net>
16891
16892         * po/ca.po: Update Catalan translation from translation project.
16893         * po/uk.po: Add Ukrainian translations from translation project.
16894
16895 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16896
16897         [BZ #15797]
16898         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16899         is infinite, not alongside NaN test.
16900         * math/s_fdimf.c (__fdimf): Likewise.
16901         * math/s_fdiml.c (__fdiml): Likewise.
16902         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16903         errno is unchanged.
16904
16905 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16906
16907         * argp/argp-help.c: Fix typos.
16908         * crypt/speeds.c: Likewise.
16909         * csu/check_fds.c: Likewise.
16910         * elf/dl-load.c: Likewise.
16911         * elf/dl-open.c: Likewise.
16912         * elf/reldep3.c: Likewise.
16913         * elf/reldep.c: Likewise.
16914         * elf/sprof.c: Likewise.
16915         * iconv/iconv_charmap.c: Likewise.
16916         * iconv/skeleton.c: Likewise.
16917         * iconv/strtab.c: Likewise.
16918         * io/lockf64.c: Likewise.
16919         * libio/libioP.h: Likewise.
16920         * resolv/gai_notify.c: Likewise.
16921         * resolv/ns_name.c: Likewise.
16922         * resolv/ns_samedomain.c: Likewise.
16923         * resolv/res_send.c: Likewise.
16924         * stdlib/random.c: Likewise.
16925         * sunrpc/rpc/xdr.h: Likewise.
16926         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16927         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16928         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16929         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16930         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16931         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16932         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16933         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16934         * sysdeps/mach/hurd/check_fds.c: Likewise.
16935         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16936         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16937         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16938         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16939         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16940         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16941         * sysdeps/pthread/aio_notify.c: Likewise.
16942         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16943         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16944         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16945         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16946         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16947
16948 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16949
16950         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16951         version if bit_Slow_SSE4_2 is set.
16952         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16953         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16954
16955 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16956
16957         [BZ #15867]
16958         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16959         trampoline stack frame information.
16960         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16961         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16962         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16963         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16964         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16965         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16966         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16967         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16968         sa_flags value.
16969         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16970         interrupting a syscall and set with option SA_SIGINFO.
16971
16972 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16973
16974         [BZ #15531]
16975         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16976         argument is infinite.
16977         * math/s_cprojf.c (__cprojf): Likewise.
16978         * math/s_cprojl.c (__cprojl): Likewise.
16979         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16980         * math/libm-test.inc (cproj_test_data): Add more tests.
16981
16982         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16983
16984         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16985         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16986         size.  Use __ffs to determine corresponding shift.
16987
16988 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16989             Roland McGrath  <roland@hack.frob.com>
16990
16991         * Makefile (INSTALL): Remove trailing blank lines from output of
16992         makeinfo.
16993
16994 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16995
16996         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16997         Align 32 bit compat elf_greg to 8 bytes.
16998
16999 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17000
17001         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17002
17003 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17004
17005         * string/strcoll_l.c (coll_seq): New structure.
17006         (get_next_seq_cached): New function.
17007         (get_next_seq): New function.
17008         (do_compare): New function.
17009         (STRCOLL): Use GNU style definition.  Simplify implementation
17010         by using get_next_seq, get_next_seq_cached and do_compare.
17011
17012 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17013
17014         [BZ #14699]
17015         CVE-2013-4237
17016         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17017         member.
17018         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17019         member.
17020         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17021         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17022         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17023         conditional.
17024         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17025         GETDENTS_64BIT_ALIGNED.
17026         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17027         * manual/filesys.texi (Reading/Closing Directory): Document
17028         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17029         strongly.
17030         * manual/conf.texi (Limits for Files): Add portability note to
17031         NAME_MAX, PATH_MAX.
17032         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17033
17034 2013-08-13  Andreas Schwab  <schwab@suse.de>
17035
17036         [BZ #15749]
17037         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17038         of fabs.
17039         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17040         LDBL_MAX_EXP >= 16384]: Add tests for it.
17041
17042 2013-08-12  David S. Miller  <davem@davemloft.net>
17043
17044         * version.h (RELEASE): Set to "development".
17045         (VERSION): Set to "2.18.90".
17046         * NEWS: Add 2.19 section.
17047
17048 2013-08-03  David S. Miller  <davem@davemloft.net>
17049
17050         * po/ko.po: Update Korean translation from translation project.
17051
17052 2013-08-01  David S. Miller  <davem@davemloft.net>
17053
17054         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17055         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17056         Bilka.
17057
17058 2013-07-30  David S. Miller  <davem@davemloft.net>
17059
17060         * po/fr.po: Update French translation from translation project.
17061
17062 2013-07-28  David S. Miller  <davem@davemloft.net>
17063
17064         * po/cs.po: Update Czech translation from translation project.
17065
17066         * po/sv.po: Update Swedish translation from translation project.
17067
17068 2013-07-27  David S. Miller  <davem@davemloft.net>
17069
17070         * po/eo.po: Update Esperanto translation from translation project.
17071
17072         * po/vi.po: Update Vietnamese translation from translation project.
17073
17074         * po/de.po: Update German translation from translation project.
17075
17076 2013-07-26  David S. Miller  <davem@davemloft.net>
17077
17078         * po/bg.po: Update Bulgarian translation from translation project.
17079
17080         * po/nl.po: Update Dutch translation from translation project.
17081         * po/pl.po: Update Polish translation from translation project.
17082         * po/ru.po: Update Russian translation from translation project.
17083
17084 2013-07-24  David S. Miller  <davem@davemloft.net>
17085
17086         * po/libc.pot: Update.
17087
17088 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17089
17090         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17091         variable page size.
17092         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17093         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17094         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17095
17096 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17097
17098         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17099
17100 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17101             Andreas Schwab  <schwab@suse.de>
17102             Roland McGrath  <roland@hack.frob.com>
17103             Joseph Myers  <joseph@codesourcery.com>
17104             Carlos O'Donell  <carlos@redhat.com>
17105
17106         [BZ #15755]
17107         * config.h.in: Define HAVE_PT_CHOWN.
17108         * config.make.in (build-pt-chown): New variable.
17109         * configure.in (--enable-pt_chown): New configure option.
17110         * configure: Regenerate.
17111         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17112         build-pt-chown is enabled.
17113         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17114         pt_chown to fix pty ownership.
17115         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17116         CLOSE_ALL_FDS.
17117         * manual/install.texi (Configuring and compiling): Mention
17118         --enable-pt_chown. Add @findex for grantpt.
17119         * INSTALL: Regenerate.
17120
17121 2013-07-20  David S. Miller  <davem@davemloft.net>
17122
17123         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17124         difference between 32-bit and 64-bit.
17125
17126 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17127
17128         [BZ #15711]
17129         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17130         Avoid system header dependency with -ffreestanding.
17131         ($(objpfx)bits/syscall%d): Likewise.
17132
17133 2013-07-13  David S. Miller  <davem@davemloft.net>
17134
17135         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17136         underflows from atanl/atan2l due to bug 15319.
17137         (casinh_test_data): Likewise.
17138
17139 2013-07-07  David S. Miller  <davem@davemloft.net>
17140
17141         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17142
17143 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17144
17145         * sysdeps/i386/fpu/libm-test-ulps: Update.
17146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17147
17148 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17149
17150         * configure.in (--enable-lock-elision): Fix message text.
17151         * INSTALL: Regenerate.
17152         * configure: Regenerate.
17153
17154 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17155
17156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17157
17158 2013-07-03  Andreas Jaeger  <aj@suse.de>
17159
17160         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17161         define.
17162         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17163         (ptrace_peeksiginfo_args): Add.
17164         (__ptrace_peeksiginfo_flags): Add.
17165         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17166         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17167         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17168
17169 2013-07-03  Allan McRae  <allan@archlinux.org>
17170
17171         * sysdeps/i386/fpu/libm-test-ulps: Update.
17172
17173 2013-07-02  David S. Miller  <davem@davemloft.net>
17174
17175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17176
17177 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17178
17179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17180
17181 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17182
17183         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17185
17186 2013-07-02  Andi Kleen <ak@linux.intel.com>
17187
17188         * config.h.in (ENABLE_LOCK_ELISION): Add.
17189         * configure.in (--enable-lock-elision): Add option.
17190         * manual/install.texi: Document --enable lock elision.
17191         * configure: Regenerate
17192         * INSTALL: Regenerate.
17193
17194 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17195
17196         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17197         SSE4.2 strcasecmp for libc.a.
17198         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17199
17200 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17201
17202         [BZ #13304]
17203         * soft-fp/op-common.h (_FP_FMA): New macro.
17204         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17205         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17206         (_FP_MUL_MEAT_1_imm): ... here.
17207         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17208         (_FP_MUL_MEAT_1_wide): ... here.
17209         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17210         (_FP_MUL_MEAT_1_hard): ... here.
17211         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17212         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17213         (_FP_MUL_MEAT_2_wide): ... here.
17214         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17215         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17216         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17217         (_FP_MUL_MEAT_2_gmp): ... here.
17218         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17219         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17220         (_FP_MUL_MEAT_4_wide): ... here.
17221         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17222         (_FP_MUL_MEAT_4_gmp): ... here.
17223         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17224         (_FP_WFRACBITS_DW_S): Likewise.
17225         (_FP_WFRACXBITS_DW_S): Likewise.
17226         (_FP_HIGHBIT_DW_S): Likewise.
17227         (FP_FMA_S): Likewise.
17228         (_FP_FRAC_HIGH_DW_S): Likewise.
17229         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17230         (_FP_WFRACBITS_DW_D): Likewise.
17231         (_FP_WFRACXBITS_DW_D): Likewise.
17232         (_FP_HIGHBIT_DW_D): Likewise.
17233         (FP_FMA_D): Likewise.
17234         (_FP_FRAC_HIGH_DW_D): Likewise.
17235         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17236         (_FP_WFRACBITS_DW_E): Likewise.
17237         (_FP_WFRACXBITS_DW_E): Likewise.
17238         (_FP_HIGHBIT_DW_E): Likewise.
17239         (FP_FMA_E): Likewise.
17240         (_FP_FRAC_HIGH_DW_E): Likewise.
17241         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17242         (_FP_WFRACBITS_DW_Q): Likewise.
17243         (_FP_WFRACXBITS_DW_Q): Likewise.
17244         (_FP_HIGHBIT_DW_Q): Likewise.
17245         (FP_FMA_Q): Likewise.
17246         (_FP_FRAC_HIGH_DW_Q): Likewise.
17247         * soft-fp/fmasf4.c: New file.
17248         * soft-fp/fmadf4.c: Likewise.
17249         * soft-fp/fmatf4.c: Likewise.
17250
17251 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17252
17253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17254         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17255         Silvermont.
17256         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17257         macro.
17258         (index_Slow_SSE4_2): Likewise.
17259         (index_Prefer_PMINUB_for_stringop): Likewise.
17260         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17261         bit_Slow_SSE4_2 is set.
17262         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17263         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17264
17265 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17266
17267         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17268         rtld_global._dl_hwcap2.
17269         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17270         POWER8.
17271         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17272         POWER8 feature descriptions defined in _dl_hwcap2.
17273         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17274         string handling for POWER8 feature bits.
17275         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17276         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17277         _dl_powerpc_cap_flags.
17278         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17279         * sysdeps/powerpc/rtld-global-offsets.sym
17280         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17281         _dl_hwcap2 in the rtld_global_ro structure.
17282
17283 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17284
17285         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17286         hardware capabilities in support of AT_HWCAP2.
17287         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17288         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17289         GLRO(dl_hwcap2).
17290         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17291         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17292         explicitly the unknown a_type display mechanism is used.
17293         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17294         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17295         struct member.
17296         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17297         to macro prototype for AT_HWCAP2 support.
17298         * sysdeps/i386/dl-procinfo.h: Likewise.
17299         * sysdeps/s390/dl-procinfo.h: Likewise.
17300         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17301         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17302         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17303         return -1 for unknown a_type display fallback.
17304         * sysdeps/sparc/dl-procinfo.h: Likewise.
17305         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17306         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17307
17308 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17309
17310         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17311         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17312
17313 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17314
17315         [BZ #12492]
17316         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17317         mprotect making __stack_prot writable.
17318
17319 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17320             Joseph Myers  <joseph@codesourcery.com>
17321
17322         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17323         as being properly aligned.
17324
17325 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17326
17327         * dlfcn/modstatic5.c: New file.
17328         * dlfcn/tststatic5.c: New file.
17329         * dlfcn/Makefile (tests): Add tststatic5.
17330         (tests-static): Likewise.
17331         (modules-names): Add modstatic5.
17332         (tststatic5-ENV): New variable.
17333         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17334
17335         [BZ #15022]
17336         * elf/dl-support.c (_dl_main_map): New variable.
17337         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17338         (_dl_nns, _dl_load_adds): Set to 1.
17339         (_dl_initial_searchlist): Refer to _dl_main_map.
17340         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17341         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17342         call to _dl_get_origin.
17343         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17344         around call_map.
17345         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17346         * dlfcn/modstatic3.c: New file.
17347         * dlfcn/tststatic3.c: New file.
17348         * dlfcn/tststatic4.c: New file.
17349         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17350         (tests-static): Likewise.
17351         (modules-names): Add modstatic3.
17352         (tststatic3-ENV, tststatic4-ENV): New variables.
17353         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17354         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17355
17356 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17357
17358         * configure.in (CC): Require GCC version 4.4 or later.
17359         * configure: Regenerated.
17360         * manual/install.texi (Tools for Compilation): Update GCC version
17361         requirement.
17362         * INSTALL: Regenerated.
17363
17364 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17365
17366         [BZ #15674]
17367         * string/test-memcmp.c (check2): New.
17368         (main): Call check2.
17369
17370         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17371
17372 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17373
17374         [BZ #15022]
17375         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17376         over to...
17377         (dl_open_worker) [!SHARED]: ... here.
17378
17379 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17380
17381         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17382
17383 2013-06-25  Richard Henderson  <rth@redhat.com>
17384
17385         * locale/programs/locarchive.c: Include <libc-internal.h>
17386
17387 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17388
17389         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17390         trailing whitespace removed.
17391
17392 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17393
17394         [BZ #10283]
17395         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17396         * locale/programs/locarchive.c: Include libc-mmap.h.
17397         (prepare_address_space): Take two new outputs (the mmap base and len).
17398         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17399         values.
17400         (create_archive): Declare new mmap base and len values for
17401         prepare_address_space, and store the result in ah.
17402         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17403         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17404         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17405         Declare new mmap base and len values for
17406         prepare_address_space, and store the result in new_ah.
17407         (open_archive): Declare new mmap base and len values for
17408         prepare_address_space, and store the result in ah.
17409         (close_archive): If ah->mmap_base is not NULL, use that and
17410         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17411         * sysdeps/generic/libc-mmap.h: New file.
17412
17413 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17414
17415         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17416         (ALIGN_UP): Likewise.
17417         (PTR_ALIGN_DOWN): Likewise.
17418         (PTR_ALIGN_UP): Likewise.
17419
17420 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17421
17422         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17423         entry mapped to PPC_PLATFORM_POWER8.
17424         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17425         POWER8.
17426         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17427         (_dl_string_platform): Add case for exporting platform position for
17428         POWER8.
17429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17430         search path to sysdeps/powerpc/powerpc32/power8 directory.
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17432         search path to sysdeps/powerpc/powerpc64/power8 directory.
17433         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17434         power7 directories.
17435         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17436         power7 directories.
17437
17438 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17439
17440         * INSTALL: Regenerate.
17441
17442         * nscd/connections.c (nscd_init): Fix comment.
17443
17444 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17445
17446         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17447
17448         [BZ #15667]
17449         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17450         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17451
17452 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17453
17454         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17455         DL_DST_REQ_STATIC.
17456         (DL_DST_REQ_STATIC): Remove macro.
17457
17458 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17459
17460         [BZ #7006]
17461         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17462         with a shift of 0 bits.
17463
17464 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17465
17466         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17467         $(tststatic-ENV).
17468
17469 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17470
17471         [BZ #15655]
17472         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17473
17474 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17475
17476         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17477         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17478         accepts -fno-tree-loop-distribute-patterns.
17479         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17480         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17481         recursive call.
17482         * string/memset.c (memset): Likewise.
17483         * string/test-memmove.c (simple_memmove): Disable loop transformation
17484         to library calls.
17485         * string/test-memset.c (simple_memset): Likewise.
17486         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17487         * benchtests/bench-memset.c (simple_memset): Likewise.
17488         * configure: Regenerated.
17489
17490 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17491
17492         * math/test-misc.c (main): Ignore fesetround failure when failures
17493         of subsequent rounding tests would be ignored.
17494
17495         [BZ #15654]
17496         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17497         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17498         * math/fegetenv.c (__fegetenv): Return 0.
17499         * math/fegetexcept.c (fegetexcept): Return 0.
17500         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17501         FE_TONEAREST.
17502         * math/feholdexcpt.c (feholdexcept): Return 0.
17503         * math/fesetenv.c (__fesetenv): Return 0.
17504         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17505         argument FE_TONEAREST.
17506         * math/feupdateenv.c (__feupdateenv): Return 0.
17507         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17508
17509 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17510
17511         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17512         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17513         ($(objpfx)rtld-%.os rules): Use them.
17514
17515 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17516
17517         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17518         fields.
17519
17520 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17521
17522         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17523         length of target pattern, then descending length of dependency pattern.
17524         * configure.in (AWK): Require gawk 3.1.2 or newer.
17525         * manual/install.texi (Tools for Compilation): Say that we do.
17526         * configure: Regenerated.
17527
17528         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17529         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17530         * scripts/sysd-rules.awk: ... this new script.
17531         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17532         than a glob-style pattern.
17533
17534 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17535
17536         * math/test-misc.c (main): Do not treat incorrectly rounded
17537         conversions as failure unless ROUNDING_TESTS passes.
17538
17539 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17540
17541         [BZ #15631]
17542         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17543         restore exception state around main square root computation, then
17544         check for inexactness explicitly.
17545
17546         * math/libm-test.inc (fma_test_data): Add another test.
17547
17548 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17549
17550         * manual/threads.texi (Non-POSIX Extensions): New document
17551         node.  Document pthread_getattr_default_np and
17552         pthread_setattr_default_np.
17553
17554         * Versions.def (libpthread): Add GLIBC_2.18.
17555         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17557         Likewise.
17558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17559         Likewise.
17560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17561         Likewise.
17562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17563         Likewise.
17564         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17565         Likewise.
17566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17567         Likewise.
17568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17569         Likewise.
17570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17571         Likewise.
17572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17573         Likewise.
17574
17575 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17576
17577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17578         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17579
17580 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17581             H.J. Lu  <hjl.tools@gmail.com>
17582
17583         [BZ #15627]
17584         * sysdeps/x86_64/rtld-memset.c: Remove file.
17585         * sysdeps/x86_64/rtld-memset.S: New file.
17586
17587 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17588
17589         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17590         (test_in_one_mode): Take arguments for whether the rounding mode
17591         is supported for each floating-point type.
17592         (do_test): Pass new arguments to test_in_one_mode using
17593         ROUNDING_TESTS.
17594
17595 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17596
17597         * posix/tst-waitid.c (do_test): Distinguish different instances of
17598         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17599         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17600         before entering the kernel for waitpid.
17601
17602 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17603
17604         * NEWS: Fix note on clock function precision.  Text by Roland
17605         McGrath.
17606
17607 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17608
17609         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17610         it into place only when and if the sanity check passes.
17611
17612 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17613
17614         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17615         output for whether conversion result is exact.  Take argument
17616         indicating whether type is IBM long double.
17617         (round_for_all): Change need_exact field to ibm_ld.
17618         * stdlib/tst-strtod-round.c (struct exactness): New type.
17619         (struct test): Change bool ld_ok field to struct exactness exact.
17620         (TEST): Update all definitions for change to field.
17621         (tests): Regenerate array contents.
17622         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17623         field value.  Check for IBM long double here.
17624         (do_test): Update calls to test_in_one_mode.
17625
17626 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17627
17628         [BZ #12515]
17629         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17630         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17631
17632 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17633
17634         [BZ #15605]
17635         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17636         generated by the compiler on loop optimizations.
17637         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17638         general definitions.
17639
17640 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17641
17642         * math/bug-nextafter.c: Include <math-tests.h>.
17643         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17644         the relevant type.
17645         * math/bug-nexttoward.c: Include <math-tests.h>.
17646         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17647         the relevant type.
17648         * math/test-misc.c: Include <math-tests.h>.
17649         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17650         the relevant type.
17651
17652 2013-06-12  Andreas Jaeger  <aj@suse.de>
17653
17654         * po/ia.po: Update Interlingua translation from translation
17655         project.
17656
17657 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17658
17659         * include/fenv.h: Include stdbool.h.
17660         (struct rm_ctx): New structure.
17661         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17662         Define macro.
17663         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17664         (SET_RESTORE_ROUNDF): Likewise.
17665         (SET_RESTORE_ROUNDL): Likewise.
17666         (SET_RESTORE_ROUND_NOEX): Likewise.
17667         (SET_RESTORE_ROUND_NOEXF): Likewise.
17668         (SET_RESTORE_ROUND_NOEXL): Likewise.
17669         (SET_RESTORE_ROUND_53BIT): Likewise.
17670         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17671         (libc_feresetround_noexf_ctx): Likewise.
17672         (libc_feresetround_noexl_ctx): Likewise.
17673         (libc_feholdsetround_53bit_ctx): Likewise.
17674         (libc_feresetround_53bit_ctx): Likewise.
17675         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17676         (libc_feholdexcept_setround_sse_ctx): New function.
17677         (libc_fesetenv_sse_ctx): Likewise.
17678         (libc_feupdateenv_sse_ctx): Likewise.
17679         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17680         (libc_feholdexcept_setround_387_ctx): Likewise.
17681         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17682         (libc_feholdsetround_387_prec_ctx): Likewise.
17683         (libc_feholdsetround_387_ctx): Likewise.
17684         (libc_feholdsetround_387_53bit_ctx): Likewise.
17685         (libc_feholdsetround_sse_ctx): Likewise.
17686         (libc_feresetround_sse_ctx): Likewise.
17687         (libc_feresetround_387_ctx): Likewise.
17688         (libc_feupdateenv_387_ctx): Likewise.
17689         (libc_feholdexcept_setroundf_ctx): Define macro.
17690         (libc_fesetenvf_ctx): Likewise.
17691         (libc_feupdateenvf_ctx): Likewise.
17692         (libc_feholdsetroundf_ctx): Likewise.
17693         (libc_feresetroundf_ctx): Likewise.
17694         (libc_feholdexcept_setround_ctx): Likewise.
17695         (libc_fesetenv_ctx): Likewise.
17696         (libc_feupdateenv_ctx): Likewise.
17697         (libc_feholdsetround_ctx): Likewise.
17698         (libc_feresetround_ctx): Likewise.
17699         (libc_feholdexcept_setroundl_ctx): Likewise.
17700         (libc_feupdateenvl_ctx): Likewise.
17701         (libc_feholdsetroundl_ctx): Likewise.
17702         (libc_feresetroundl_ctx): Likewise.
17703         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17704         (libc_feresetround_53bit_ctx): Likewise.
17705
17706 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17707
17708         * locale/iso-639.def: Convert to UTF-8.
17709
17710 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17711
17712         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17713         (EXCEPTION_TESTS_double): Likewise.
17714         (EXCEPTION_TESTS_long_double): Likewise.
17715         (EXCEPTION_TESTS): Likewise.
17716         * math/libm-test.inc (test_exceptions): Only test exceptions if
17717         EXCEPTION_TESTS (FLOAT).
17718
17719 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17720
17721         * benchtests/Makefile (string-bench): Add strcpy_chk and
17722         stpcpy_chk.
17723         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17724         * benchtests/bench-stpcpy_chk.c: New file.
17725         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17726         * benchtests/bench-strcpy_chk.c: New file.
17727         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17728         code.
17729         (do_test): Likewise.
17730
17731 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17732
17733         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17734         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17735         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17736         with tabs where appropriate.
17737         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17738         dl-procinfo.h.
17739         [PPC_PLATFORM_PPC440]: Likewise.
17740         [PPC_PLATFORM_PPC464]: Likewise.
17741         [PPC_PLATFORM_PPC476]: Likewise.
17742         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17743         ppc464, and ppc476 platform strings merging from ports/
17744         dl-procinfo.h.
17745
17746 2013-06-11  Andreas Schwab  <schwab@suse.de>
17747
17748         [BZ #14991]
17749         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17750         (from_ucs4_idx): Regenerate.
17751         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17752         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17753         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17754         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17755         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17756         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17757         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17758         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17759         from FROM_LOOP and TO_LOOP specific macros.
17760         (BODY): Handle combining characters.
17761         * iconvdata/BIG5HKSCS.irreversible: Update.
17762         * iconvdata/BIG5HKSCS.precomposed: New file.
17763         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17764         characters.
17765         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17766
17767 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17768
17769         * include/sys/time.h: Fix indentation and add copyright header.
17770
17771         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17772         (do_test): Likewise.
17773         * string/test-memchr.c (do_one_test): Likewise.
17774         (do_test): Likewise.
17775         * string/test-memcmp.c (do_one_test): Likewise.
17776         (do_test): Likewise.
17777         * string/test-memcpy.c (do_one_test): Likewise.
17778         (do_test): Likewise.
17779         * string/test-memmem.c (do_one_test): Likewise.
17780         (do_test): Likewise.
17781         (do_random_tests): Likewise.
17782         * string/test-memmove.c (do_one_test): Likewise.
17783         (do_test): Likewise.
17784         * string/test-memset.c (do_one_test): Likewise.
17785         (do_test): Likewise.
17786         * string/test-rawmemchr.c (do_one_test): Likewise.
17787         (do_test): Likewise.
17788         * string/test-strcasecmp.c (do_one_test): Likewise.
17789         (do_test): Likewise.
17790         * string/test-strcasestr.c (do_one_test): Likewise.
17791         (do_test): Likewise.
17792         * string/test-strcat.c (do_one_test): Likewise.
17793         (do_test): Likewise.
17794         * string/test-strchr.c (do_one_test): Likewise.
17795         (do_test): Likewise.
17796         * string/test-strcmp.c (do_one_test): Likewise.
17797         (do_test): Likewise.
17798         * string/test-strcpy.c (do_one_test): Likewise.
17799         (do_test): Likewise.
17800         * string/test-string.h: Likewise.
17801         (test_init): Likewise.
17802         * string/test-strlen.c (do_one_test): Likewise.
17803         (do_test): Likewise.
17804         * string/test-strncasecmp.c (do_one_test): Likewise.
17805         (do_test): Likewise.
17806         * string/test-strncat.c (do_one_test): Likewise.
17807         (do_test): Likewise.
17808         * string/test-strncmp.c (do_one_test): Likewise.
17809         (do_test_limit): Likewise.
17810         (do_test): Likewise.
17811         * string/test-strncpy.c (do_one_test): Likewise.
17812         (do_test): Likewise.
17813         * string/test-strnlen.c (do_one_test): Likewise.
17814         (do_test): Likewise.
17815         * string/test-strpbrk.c (do_one_test): Likewise.
17816         (do_test): Likewise.
17817         * string/test-strrchr.c (do_one_test): Likewise.
17818         (do_test): Likewise.
17819         * string/test-strspn.c (do_one_test): Likewise.
17820         (do_test): Likewise.
17821         * string/test-strstr.c (do_one_test): Likewise.
17822         (do_test): Likewise.
17823
17824         * benchtests/Makefile (string-bench): Add string benchmarks.
17825         * benchtests/bench-bcopy-ifunc.c: New file.
17826         * benchtests/bench-bcopy.c: New file.
17827         * benchtests/bench-bzero-ifunc.c: New file.
17828         * benchtests/bench-bzero.c: New file.
17829         * benchtests/bench-memccpy-ifunc.c: New file.
17830         * benchtests/bench-memccpy.c: New file.
17831         * benchtests/bench-memchr-ifunc.c: New file.
17832         * benchtests/bench-memchr.c: New file.
17833         * benchtests/bench-memcmp-ifunc.c: New file.
17834         * benchtests/bench-memcmp.c: New file.
17835         * benchtests/bench-memmem-ifunc.c: New file.
17836         * benchtests/bench-memmem.c: New file.
17837         * benchtests/bench-memmove-ifunc.c: New file.
17838         * benchtests/bench-memmove.c: New file.
17839         * benchtests/bench-mempcpy-ifunc.c: New file.
17840         * benchtests/bench-mempcpy.c: New file.
17841         * benchtests/bench-memset-ifunc.c: New file.
17842         * benchtests/bench-memset.c: New file.
17843         * benchtests/bench-rawmemchr-ifunc.c: New file.
17844         * benchtests/bench-rawmemchr.c: New file.
17845         * benchtests/bench-stpcpy-ifunc.c: New file.
17846         * benchtests/bench-stpcpy.c: New file.
17847         * benchtests/bench-stpncpy-ifunc.c: New file.
17848         * benchtests/bench-stpncpy.c: New file.
17849         * benchtests/bench-strcasecmp-ifunc.c: New file.
17850         * benchtests/bench-strcasecmp.c: New file.
17851         * benchtests/bench-strcasestr-ifunc.c: New file.
17852         * benchtests/bench-strcasestr.c: New file.
17853         * benchtests/bench-strcat-ifunc.c: New file.
17854         * benchtests/bench-strcat.c: New file.
17855         * benchtests/bench-strchr-ifunc.c: New file.
17856         * benchtests/bench-strchr.c: New file.
17857         * benchtests/bench-strchrnul-ifunc.c: New file.
17858         * benchtests/bench-strchrnul.c: New file.
17859         * benchtests/bench-strcmp-ifunc.c: New file.
17860         * benchtests/bench-strcmp.c: New file.
17861         * benchtests/bench-strcpy-ifunc.c: New file.
17862         * benchtests/bench-strcpy.c: New file.
17863         * benchtests/bench-strcspn-ifunc.c: New file.
17864         * benchtests/bench-strcspn.c: New file.
17865         * benchtests/bench-strlen-ifunc.c: New file.
17866         * benchtests/bench-strlen.c: New file.
17867         * benchtests/bench-strncasecmp-ifunc.c: New file.
17868         * benchtests/bench-strncasecmp.c: New file.
17869         * benchtests/bench-strncat-ifunc.c: New file.
17870         * benchtests/bench-strncat.c: New file.
17871         * benchtests/bench-strncmp-ifunc.c: New file.
17872         * benchtests/bench-strncmp.c: New file.
17873         * benchtests/bench-strncpy-ifunc.c: New file.
17874         * benchtests/bench-strncpy.c: New file.
17875         * benchtests/bench-strnlen-ifunc.c: New file.
17876         * benchtests/bench-strnlen.c: New file.
17877         * benchtests/bench-strpbrk-ifunc.c: New file.
17878         * benchtests/bench-strpbrk.c: New file.
17879         * benchtests/bench-strrchr-ifunc.c: New file.
17880         * benchtests/bench-strrchr.c: New file.
17881         * benchtests/bench-strspn-ifunc.c: New file.
17882         * benchtests/bench-strspn.c: New file.
17883         * benchtests/bench-strstr-ifunc.c: New file.
17884         * benchtests/bench-strstr.c: New file.
17885
17886         * benchtests/Makefile: Disable parallel execution of targets.
17887         (string-bench): Add memcpy.
17888         (benchset): New variable to store a list of benchmark sets.
17889         (bench-func): Renamed from bench.
17890         (bench-set): New target.
17891         (bench): Depend on bench-func and bench-set.
17892         * benchtests/README: Add section on benchmark sets.
17893         * benchtests/bench-memcpy-ifunc.c: New file.
17894         * benchtests/bench-memcpy.c: New file.
17895         * benchtests/bench-string.h: New file.
17896
17897 2013-06-11  Andreas Schwab  <schwab@suse.de>
17898
17899         [BZ #15577]
17900         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17901         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17902         values in the triple.
17903         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17904         terminator in the group key.
17905
17906 2013-06-11  Andreas Jaeger  <aj@suse.de>
17907
17908         * po/zh_TW.po: Update Chinese (traditional) translation from
17909         translation project.
17910
17911 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17912
17913         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17914         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17915         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17916         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17917         (clock_getcpuclockid): Likewise.
17918         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17919         Add weak_alias and libc_hidden_def.
17920         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17921         * rt/clock_gettime.c (clock_gettime): Rename to
17922         __clock_gettime.  Add weak_alias and libc_hidden_def.
17923         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17924         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17925         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17926         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17927         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17928         Likewise.
17929         * rt/clock_settime.c (clock_settime): Rename to
17930         __clock_settime.  Add weak_alias and libc_hidden_def.
17931         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17932
17933 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17934
17935         * mach/err_boot.sub: Remove trailing whitespace.
17936         * mach/err_ipc.sub: Likewise.
17937         * mach/err_mach.sub: Likewise.
17938
17939         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17940         (ROUNDING_TESTS_double): Likewise.
17941         (ROUNDING_TESTS_long_double): Likewise.
17942         (ROUNDING_TESTS): Likewise.
17943         * math/libm-test.inc: Include <math-tests.h>.
17944         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17945         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17946         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17947         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17948
17949 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17950
17951         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17952         of assigning.
17953
17954 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17955
17956         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17957         otherwise empty TRANS lines.
17958         * sysdeps/gnu/errlist.c: Regenerated.
17959
17960         * catgets/gencat.c (error_print): Use (void) in function
17961         definition.
17962         * crypt/crypt_util.c (__init_des): Likewise.
17963         * crypt/speeds.c (Stop): Likewise.
17964         (main): Likewise.
17965         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17966         * inet/ruserpass.c (token): Likewise.
17967         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17968         * intl/localealias.c (extend_alias_table): Likewise.
17969         * intl/plural-exp.c (init_germanic_plural): Likewise.
17970         * libio/fcloseall.c (__fcloseall): Likewise.
17971         * libio/genops.c (_IO_flush_all): Likewise.
17972         (_IO_flush_all_linebuffered): Likewise.
17973         (_IO_cleanup): Likewise.
17974         (_IO_iter_begin): Likewise.
17975         (_IO_iter_end): Likewise.
17976         (_IO_list_lock): Likewise.
17977         (_IO_list_unlock): Likewise.
17978         (_IO_list_resetlock): Likewise.
17979         * libio/getchar.c (getchar): Likewise.
17980         * libio/getchar_u.c (getchar_unlocked): Likewise.
17981         * libio/getwchar.c (getwchar): Likewise.
17982         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17983         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17984         * login/getpt.c (__getpt): Likewise.
17985         * login/tst-utmp.c (main): Likewise.
17986         * malloc/hooks.c (__malloc_check_init): Likewise.
17987         * malloc/malloc.c (__malloc_stats): Likewise.
17988         * malloc/mtrace.c (tr_break): Likewise.
17989         (mtrace): Likewise.
17990         (muntrace): Likewise.
17991         * misc/fstab.c (endfsent): Likewise.
17992         * misc/getclktck.c (__getclktck): Likewise.
17993         * misc/getdtsz.c (__getdtablesize): Likewise.
17994         * misc/gethostid.c (gethostid): Likewise.
17995         * misc/getpagesize.c (__getpagesize): Likewise.
17996         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17997         (__get_nprocs): Likewise.
17998         (__get_phys_pages): Likewise.
17999         (__get_avphys_pages): Likewise.
18000         * misc/getttyent.c (getttyent): Likewise.
18001         (setttyent): Likewise.
18002         (endttyent): Likewise.
18003         * misc/getusershell.c (getusershell): Likewise.
18004         (endusershell): Likewise.
18005         (setusershell): Likewise.
18006         (initshells): Likewise.
18007         * misc/hsearch.c (__hdestroy): Likewise.
18008         * misc/sync.c (sync): Likewise.
18009         * misc/syslog.c (closelog_internal): Likewise.
18010         (closelog): Likewise.
18011         * misc/ttyslot.c (ttyslot): Likewise.
18012         * misc/vhangup.c (vhangup): Likewise.
18013         * posix/fork.c (__fork): Likewise.
18014         * posix/getegid.c (__getegid): Likewise.
18015         * posix/geteuid.c (__geteuid): Likewise.
18016         * posix/getgid.c (__getgid): Likewise.
18017         * posix/getpid.c (__getpid): Likewise.
18018         * posix/getppid.c (__getppid): Likewise.
18019         * posix/getuid.c (__getuid): Likewise.
18020         * posix/pause.c (pause): Likewise.
18021         * posix/setpgrp.c (setpgrp): Likewise.
18022         * posix/setsid.c (__setsid): Likewise.
18023         * posix/test-vfork.c (noop): Likewise.
18024         * resolv/gethnamaddr.c (_endhtent): Likewise.
18025         (_gethtent): Likewise.
18026         (ht_endhostent): Likewise.
18027         (gethostent): Likewise.
18028         (dns_service): Likewise.
18029         * stdlib/drand48.c (drand48): Likewise.
18030         * stdlib/lrand48.c (lrand48): Likewise.
18031         * stdlib/mrand48.c (mrand48): Likewise.
18032         * stdlib/rand.c (rand): Likewise.
18033         * stdlib/random.c (__random): Likewise.
18034         * stdlib/setenv.c (clearenv): Likewise.
18035         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18036         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18037         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18038         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18039         (__get_nprocs): Likewise.
18040         (__get_phys_pages): Likewise.
18041         (__get_avphys_pages): Likewise.
18042         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18043         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18044         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18045         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18046         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18047         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18048         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18049         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18050         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18051         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18052         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18053         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18054         * sysdeps/posix/clock.c (clock): Likewise.
18055         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18056         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18057         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18058         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18059         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18060         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18061         (__get_nprocs_conf): Likewise.
18062         (__get_phys_pages): Likewise.
18063         (__get_avphys_pages): Likewise.
18064         * time/clock.c (clock): Likewise.
18065         * time/tzset.c (__tzname_max): Likewise.
18066
18067 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18068
18069         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18070         (__bswap_32): Do not use "register".
18071         * crypt/crypt.c (_ufc_doit_r): Likewise.
18072         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18073         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18074         * gmon/gmon.c (__monstartup): Likewise.
18075         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18076         * hurd/hurdmalloc.c (more_memory): Likewise.
18077         (malloc): Likewise.
18078         (free): Likewise.
18079         (realloc): Likewise.
18080         (malloc_fork_prepare): Likewise.
18081         (malloc_fork_parent): Likewise.
18082         (malloc_fork_child): Likewise.
18083         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18084         (_svcauth_des): Likewise.
18085         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18086         * inet/inet_net.c (inet_network): Likewise.
18087         * inet/inet_netof.c (inet_netof): Likewise.
18088         * inet/rcmd.c (__validuser2_sa): Likewise.
18089         * io/fts.c (fts_open): Likewise.
18090         (fts_load): Likewise.
18091         (fts_close): Likewise.
18092         (fts_read): Likewise.
18093         (fts_children): Likewise.
18094         (fts_build): Likewise.
18095         (fts_stat): Likewise.
18096         (fts_sort): Likewise.
18097         (fts_alloc): Likewise.
18098         (fts_lfree): Likewise.
18099         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18100         (_IO_file_xsgetn): Likewise.
18101         (_IO_file_xsgetn_mmap): Likewise.
18102         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18103         (_IO_cookie_write): Likewise.
18104         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18105         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18106         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18107         * malloc/obstack.c (_obstack_begin): Likewise.
18108         (_obstack_begin_1): Likewise.
18109         (_obstack_newchunk): Likewise.
18110         (_obstack_allocated_p): Likewise.
18111         (obstack_free): Likewise.
18112         (_obstack_memory_used): Likewise.
18113         * misc/getttyent.c (getttynam): Likewise.
18114         (getttyent): Likewise.
18115         (skip): Likewise.
18116         (value): Likewise.
18117         * misc/getusershell.c (initshells): Likewise.
18118         * misc/syslog.c (__vsyslog_chk): Likewise.
18119         * misc/ttyslot.c (ttyslot): Likewise.
18120         * nis/nis_hash.c (__nis_hash): Likewise.
18121         * posix/fnmatch_loop.c (FCT): Likewise.
18122         * posix/getconf.c (print_all): Likewise.
18123         (main): Likewise.
18124         * posix/getopt.c (exchange): Likewise.
18125         * posix/glob.c (globfree): Likewise.
18126         (prefix_array): Likewise.
18127         (__glob_pattern_type): Likewise.
18128         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18129         (NS_GET32): Likewise.
18130         (NS_PUT16): Likewise.
18131         (NS_PUT32): Likewise.
18132         * resolv/gethnamaddr.c (getanswer): Likewise.
18133         (gethostbyname2): Likewise.
18134         (gethostbyaddr): Likewise.
18135         (_gethtent): Likewise.
18136         (_gethtbyname2): Likewise.
18137         (_gethtbyaddr): Likewise.
18138         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18139         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18140         * resolv/res_init.c (__res_vinit): Likewise.
18141         (net_mask): Likewise.
18142         * resolv/res_mkquery.c (outchar): Likewise.
18143         (PRINT): Likewise.
18144         * stdio-common/printf_fp.c (outchar): Likewise.
18145         (PRINT): Likewise.
18146         * stdio-common/printf_fphex.c (outchar): Likewise.
18147         (PRINT): Likewise.
18148         * stdio-common/printf_size.c (outchar): Likewise.
18149         (PRINT): Likewise.
18150         * stdio-common/test_rdwr.c (main): Likewise.
18151         * stdio-common/tfformat.c (matches): Likewise.
18152         * stdio-common/vfprintf.c (outchar): Likewise.
18153         (printf_unknown): Likewise.
18154         (buffered_vfprintf): Likewise.
18155         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18156         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18157         (ReadFile): Likewise.
18158         * stdlib/qsort.c (SWAP): Likewise.
18159         (_quicksort): Likewise.
18160         * stdlib/setenv.c (__add_to_environ): Likewise.
18161         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18162         * stdlib/strtol_l.c (__strtol_l): Likewise.
18163         * stdlib/tst-strtod.c (main): Likewise.
18164         * stdlib/tst-strtol.c (main): Likewise.
18165         * stdlib/tst-strtoll.c (main): Likewise.
18166         * string/bits/string2.h (__strcmp_cc): Likewise.
18167         (__strcmp_cg): Likewise.
18168         (__strcspn_c1): Likewise.
18169         (__strcspn_c2): Likewise.
18170         (__strcspn_c3): Likewise.
18171         (__strspn_c1): Likewise.
18172         (__strspn_c2): Likewise.
18173         (__strspn_c3): Likewise.
18174         (__strsep_1c): Likewise.
18175         (__strsep_2c): Likewise.
18176         (__strsep_3c): Likewise.
18177         * string/memccpy.c (__memccpy): Likewise.
18178         * string/stpcpy.c (__stpcpy): Likewise.
18179         * string/strcmp.c (strcmp): Likewise.
18180         * string/strrchr.c (strrchr): Likewise.
18181         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18182         Likewise.
18183         * sysdeps/mach/hurd/getcwd.c
18184         (_hurd_canonicalize_directory_name_internal): Likewise.
18185         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18186         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18187         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18188         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18189         Likewise, in both definitions.
18190         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18191         definitions.
18192         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18193         64] (__bswap_64): Likewise.
18194         * time/test_time.c (main): Likewise.
18195         * time/tzfile.c (__tzfile_read): Likewise.
18196         (__tzfile_compute): Likewise.
18197         * time/tzset.c (__tzset_parse_tz): Likewise.
18198         (tzset_internal): Likewise.
18199         (compute_change): Likewise.
18200         * wcsmbs/wcscat.c (__wcscat): Likewise.
18201         * wcsmbs/wcschr.c (wcschr): Likewise.
18202         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18203         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18204         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18205         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18206         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18207         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18208         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18209         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18210         * wcsmbs/wmemset.c (wmemset): Likewise.
18211
18212 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18213
18214         * scripts/config.guess: Update to version 2013-05-16.
18215         * scripts/config.sub: Update to version 2013-04-24.
18216         * scripts/install-sh: Update to version 2011-11-20.07.
18217         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18218         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18219
18220 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18221
18222         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18223         * elf/sln.c: Likewise.
18224         * hurd/hurd/ioctl.h: Likewise.
18225         * hurd/hurdmalloc.c: Likewise.
18226         * hurd/xattr.c: Likewise.
18227         * include/shlib-compat.h: Likewise.
18228         * inet/ruserpass.c: Likewise.
18229         * libio/iofgets_u.c: Likewise.
18230         * libio/iofgetws_u.c: Likewise.
18231         * locale/programs/ld-identification.c: Likewise.
18232         * locale/programs/ld-time.c: Likewise.
18233         * mach/msg-destroy.c: Likewise.
18234         * nss/nss_files/files-netgrp.c: Likewise.
18235         * resolv/res_data.c: Likewise.
18236         * soft-fp/op-1.h: Likewise.
18237         * soft-fp/op-2.h: Likewise.
18238         * soft-fp/op-4.h: Likewise.
18239         * soft-fp/op-common.h: Likewise.
18240         * stdio-common/printf_fphex.c: Likewise.
18241         * stdlib/strtod_l.c: Likewise.
18242         * sunrpc/rpc/clnt.h: Likewise.
18243         * sysdeps/generic/framestate.c: Likewise.
18244         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18245         * sysdeps/i386/bsd-setjmp.S: Likewise.
18246         * sysdeps/i386/__longjmp.S: Likewise.
18247         * sysdeps/i386/setjmp.S: Likewise.
18248         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18249         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18250         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18251         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18252         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18253         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18254         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18255         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18256         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18257         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18258         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18259         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18260         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18261         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18262         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18263         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18264         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18265         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18266         * sysdeps/ieee754/support.c: Likewise.
18267         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18268         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18269         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18270         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18271         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18272         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18273         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18274         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18275         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18276         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18277         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18278         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18279         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18280         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18281         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18282         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18283         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18285
18286 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18287
18288         * posix/transbug.c: Remove executable mode.
18289
18290 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18291
18292         * crypt/speeds.c: Remove trailing whitespace.
18293         * dlfcn/default.c: Likewise.
18294         * elf/ifuncdep2.c: Likewise.
18295         * elf/ifuncmain1.c: Likewise.
18296         * elf/ifuncmain1vis.c: Likewise.
18297         * elf/testobj.h: Likewise.
18298         * elf/tst-stackguard1.c: Likewise.
18299         * gmon/sys/gmon.h: Likewise.
18300         * hurd/hurdmsg.c: Likewise.
18301         * hurd/new-fd.c: Likewise.
18302         * hurd/ports-get.c: Likewise.
18303         * iconvdata/ibm1008_420.c: Likewise.
18304         * inet/tst-getni1.c: Likewise.
18305         * inet/tst-getni2.c: Likewise.
18306         * libio/ioungetc.c: Likewise.
18307         * libio/wfiledoalloc.c: Likewise.
18308         * manual/libm-err-tab.pl: Likewise.
18309         * math/w_dremf.c: Likewise.
18310         * misc/ftruncate.c: Likewise.
18311         * posix/bug-glob2.c: Likewise.
18312         * posix/tst-pcre.c: Likewise.
18313         * posix/wait4.c: Likewise.
18314         * resolv/README: Likewise.
18315         * resolv/res_debug.h: Likewise.
18316         * resolv/tst-inet_ntop.c: Likewise.
18317         * setjmp/bug269-setjmp.c: Likewise.
18318         * soft-fp/extended.h: Likewise.
18319         * soft-fp/op-1.h: Likewise.
18320         * soft-fp/op-2.h: Likewise.
18321         * soft-fp/op-4.h: Likewise.
18322         * soft-fp/op-8.h: Likewise.
18323         * soft-fp/testit.c: Likewise.
18324         * stdio-common/bug16.c: Likewise.
18325         * stdlib/random.c: Likewise.
18326         * sunrpc/rpcsvc/rquota.x: Likewise.
18327         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18328         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18329         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18330         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18331         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18332         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18333         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18334         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18335         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18336         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18337         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18338         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18339         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18340         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18341         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18342         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18343         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18344         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18345         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18346         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18347         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18348         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18349         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18350         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18351         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18352         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18353         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18354         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18355         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18356         * sysdeps/ieee754/s_lib_version.c: Likewise.
18357         * sysdeps/mach/hurd/check_fds.c: Likewise.
18358         * sysdeps/mach/hurd/getsockname.c: Likewise.
18359         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18360         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18361         * sysdeps/powerpc/bits/link.h: Likewise.
18362         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18363         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18364         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18365         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18366         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18367         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18368         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18369         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18370         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18371         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18372         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18373         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18374         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18375         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18376         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18377         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18378         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18379         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18380         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18381         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18382         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18383         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18384         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18385         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18386         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18387         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18388         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18389         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18390         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18391         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18392         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18393         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18394         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18395         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18396         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18397         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18398         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18399         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18400         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18401         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18402         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18403         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18404         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18405         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18406         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18407         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18408         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18409         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18410         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18411         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18412         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18414         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18415         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18416         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18417         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18418         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18419         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18420         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18421         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18422         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18423         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18424         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18425         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18426         * sysdeps/powerpc/sysdep.h: Likewise.
18427         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18428         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18429         * sysdeps/sh/dl-trampoline.S: Likewise.
18430         * sysdeps/sh/memset.S: Likewise.
18431         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18432         * sysdeps/sh/strlen.S: Likewise.
18433         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18434         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18435         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18436         * sysdeps/sparc/sparc32/rem.S: Likewise.
18437         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18438         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18439         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18440         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18441         * sysdeps/sparc/sparc32/urem.S: Likewise.
18442         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18443         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18444         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18445         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18446         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18447         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18448         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18449         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18450         * sysdeps/unix/bsd/times.c: Likewise.
18451         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18452         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18456         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18457         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18458         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18459         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18460         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18461         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18462         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18463         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18464         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18465         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18466         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18467         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18468         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18469         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18470         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18471         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18472         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18473         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18474         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18475         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18476         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18477         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18478         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18479         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18480         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18481         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18482         * sysdeps/x86_64/strcspn.S: Likewise.
18483
18484 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18485
18486         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18487         generated file.  Regenerate properly from gen-translit.pl.
18488         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18489         locale/C-translit.h.
18490
18491 2013-06-05  Andreas Schwab  <schwab@suse.de>
18492
18493         [BZ #15100]
18494         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18495         week as 6 instead of -1.
18496         * time/tst-strptime.c (day_tests): Add test case.
18497
18498 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18499
18500         * sysdeps/generic/math_private.h
18501         (libc_feholdexcept_setround_53bit): Replace with
18502         libc_feholdsetround_53bit.
18503         (libc_feupdateenv_53bit): Replace with
18504         libc_feresetround_53bit.
18505         (SET_RESTORE_ROUND_53BIT): Adjust.
18506
18507 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508
18509         * string/test-strchrnul.c: Add copyright header.
18510
18511         * posix/tst-getaddrinfo4.c: Increase test timeout.
18512
18513 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18514
18515         [BZ #15536]
18516         * math/libm-test.inc (MAX_EXP): Remove
18517         (MIN_EXP): Define.
18518         (ulp): Use MIN_EXP - MANT_DIG.
18519         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18520
18521 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18522
18523         * po/be.po: Revert last change.
18524         * po/zh_CN.po: Likewise.
18525         * po/header.pot: Likewise.
18526
18527 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18528
18529         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18530         link-libc-deps to empty as target-specific variable.
18531         * Makerules (link-libc-args): New variable.
18532         (libc-for-link): Likewise.
18533         (link-libc-deps): Likewise.
18534         (lib%.so): Depend on $(link-libc-deps).  Link with
18535         $(link-libc-args).
18536         (build-module): Link with $(link-libc-args).
18537         (build-module-asneeded): Likewise.
18538         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18539         list of objects.
18540         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18541         target-specific variable.
18542         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18543         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18544         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18545         libc.
18546         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18547         libc and ld.so.
18548         ($(objpfx)libpcprofile.so): Likewise.
18549         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18550         libc_nonshared.a.
18551         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18552         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18553         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18554         $(link-libc-deps).
18555         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18556         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18557         * login/Makefile ($(objpfx)libutil.so): Likewise.
18558         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18559         * math/Makefile ($(objpfx)libm.so): Likewise.
18560         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18561         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18562         variable instead of depending directly on libc.
18563         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18564         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18565         $(link-libc-deps).
18566         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18567         libc.
18568         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18569         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18570         ($(objpfx)libanl.so): Likewise.
18571         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18572         ld.so.
18573         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18574         $(link-libc-deps).
18575         * sysdeps/i386/fpu/Makefile: Remove file.
18576         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18577         ($(objpfx)libm.so): Remove dependency on ld.so.
18578
18579 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18580
18581         [BZ # 15553]
18582         * nis/yp_xdr.c (XDRMAXNAME): Define.
18583         (XDRMAXRECORD): Define.
18584         (xdr_domainname): Use XDRMAXNAME.
18585         (xdr_mapname): Likewise.
18586         (xdr_peername): Likewise.
18587         (xdr_keydat): Use XDRMAXRECORD.
18588         (xdr_valdat): Likewise.
18589
18590 2013-05-30  Jeff Law  <law@redhat.com>
18591
18592         [BZ #14256]
18593         * manual/errno.texi (ESTALE): Update to account for more than
18594         just NFS file systems.
18595         * sysdeps/gnu/errlist.c: Regenerated.
18596
18597 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18598
18599         [BZ #15465]
18600         * elf/Makefile (tests): Add tst-null-argv.
18601         (modules-names):  Add tst-null-argv-lib.
18602         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18603         (tst-null-argv-ENV): Set environment for tst-null-argv.
18604         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18605         (RTLD_PROGNAME): New macro.
18606         * elf/tst-null-argv.c: New test case.
18607         * elf/tst-null-argv-lib.c: Library for test case.
18608         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18609         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18610         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18611         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18612         * elf/dl-init.c (call_init): Likewise.
18613         (_dl_init): Likewise.
18614         * elf/dl-load.c (print_search_path): Likewise.
18615         (_dl_map_object): Likewise.
18616         * elf/dl-lookup.c (do_lookup_x): Likewise.
18617         (add_dependency): Likewise.
18618         (_dl_lookup_symbol_x): Likewise.
18619         (_dl_debug_bindings): Likewise.
18620         * elf/dl-open.c (_dl_show_scope): Likewise.
18621         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18622         * elf/dl-version.c (match_symbol): Likewise.
18623         (_dl_check_map_versions): Likewise.
18624         * elf/rtld.c (dl_main): Likewise.
18625         (print_unresolved): Use RTLD_PROGNAME.
18626         (print_missing_version): Likewise.
18627         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18628         (elf_machine_rela): Likewise.
18629         * sysdeps/powerpc/powerpc32/dl-machine.c
18630         (__process_machine_rela): Likewise.
18631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18632         Likewise.
18633         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18634         Likewise.
18635         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18636         Likewise.
18637         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18638         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18639         Likewise.
18640         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18641         Likewise.
18642         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18643
18644 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18645
18646         * po/be.po: Add descriptive title.
18647         * po/zh_CN.po: Likewise.
18648         * po/header.pot: Likewise.
18649
18650 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18651
18652         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18653         error message.
18654         (enlarge_archive): Likewise.
18655
18656 2013-05-28  Ben North  <ben@redfrontdoor.org>
18657
18658         * manual/arith.texi (frexp): It is the magnitude of the return
18659         value which lies in [0.5, 1), not the return value itself.
18660
18661 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18662
18663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18664
18665 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18666
18667         * stdio-common/bug26.c (main): Correct fscanf template.
18668
18669         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18670         declare _dl_skip_args.
18671
18672         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18673         Don't declare.
18674
18675         * manual/platform.texi: Add missing @end deftypefun.
18676
18677 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18678
18679         [BZ #15529]
18680         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18681         bit of mantissa of 2^16382.
18682         * math/libm-test.inc (hypot_test_data): Add more tests.
18683
18684         * math/libm-test.inc: Add drem and pow10 to list of tested
18685         functions.
18686         (pow10_test): New function.
18687         (drem_test): Likewise.
18688         (drem_test_tonearest): Likewise.
18689         (drem_test_towardzero): Likewise.
18690         (drem_test_downward): Likewise.
18691         (drem_test_upward): Likewise.
18692         (main): Call the new functions.
18693
18694         * math/libm-test.inc (finite_test_data): Remove.
18695         (finite_test): Run tests from isfinite_test_data.
18696         (gamma_test_data): Remove.
18697         (gamma_test): Run tests from lgamma_test_data.
18698         * sysdeps/i386/fpu/libm-test-ulps: Update.
18699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18700
18701 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18702
18703         * manual/platform.texi: Add PowerPC PPR function set documentation.
18704         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18705         implementation.
18706
18707 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18708
18709         * math/libm-test.inc (MAX_EXP): Define.
18710         (ULPDIFF): Define.
18711         (ulp): New function.
18712         (check_float_internal): Use ULPDIFF.
18713         (cpow_test): Disable failing test.
18714         (check_ulp): Test ulp() implemetnation.
18715         (main): Call check_ulp before starting tests.
18716
18717 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18718
18719         * math/gen-libm-test.pl (generate_testfile): Do not handle
18720         START_DATA and END_DATA.
18721         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18722         END_DATA.
18723         (acos_tonearest_test_data): Likewise.
18724         (acos_towardzero_test_data): Likewise.
18725         (acos_downward_test_data): Likewise.
18726         (acos_upward_test_data): Likewise.
18727         (acosh_test_data): Likewise.
18728         (asin_test_data): Likewise.
18729         (asin_tonearest_test_data): Likewise.
18730         (asin_towardzero_test_data): Likewise.
18731         (asin_downward_test_data): Likewise.
18732         (asin_upward_test_data): Likewise.
18733         (asinh_test_data): Likewise.
18734         (atan_test_data): Likewise.
18735         (atanh_test_data): Likewise.
18736         (atan2_test_data): Likewise.
18737         (cabs_test_data): Likewise.
18738         (cacos_test_data): Likewise.
18739         (cacosh_test_data): Likewise.
18740         (carg_test_data): Likewise.
18741         (casin_test_data): Likewise.
18742         (casinh_test_data): Likewise.
18743         (catan_test_data): Likewise.
18744         (catanh_test_data): Likewise.
18745         (cbrt_test_data): Likewise.
18746         (ccos_test_data): Likewise.
18747         (ccosh_test_data): Likewise.
18748         (ceil_test_data): Likewise.
18749         (cexp_test_data): Likewise.
18750         (cimag_test_data): Likewise.
18751         (clog_test_data): Likewise.
18752         (clog10_test_data): Likewise.
18753         (conj_test_data): Likewise.
18754         (copysign_test_data): Likewise.
18755         (cos_test_data): Likewise.
18756         (cos_tonearest_test_data): Likewise.
18757         (cos_towardzero_test_data): Likewise.
18758         (cos_downward_test_data): Likewise.
18759         (cos_upward_test_data): Likewise.
18760         (cosh_test_data): Likewise.
18761         (cosh_tonearest_test_data): Likewise.
18762         (cosh_towardzero_test_data): Likewise.
18763         (cosh_downward_test_data): Likewise.
18764         (cosh_upward_test_data): Likewise.
18765         (cpow_test_data): Likewise.
18766         (cproj_test_data): Likewise.
18767         (creal_test_data): Likewise.
18768         (csin_test_data): Likewise.
18769         (csinh_test_data): Likewise.
18770         (csqrt_test_data): Likewise.
18771         (ctan_test_data): Likewise.
18772         (ctan_tonearest_test_data): Likewise.
18773         (ctan_towardzero_test_data): Likewise.
18774         (ctan_downward_test_data): Likewise.
18775         (ctan_upward_test_data): Likewise.
18776         (ctanh_test_data): Likewise.
18777         (ctanh_tonearest_test_data): Likewise.
18778         (ctanh_towardzero_test_data): Likewise.
18779         (ctanh_downward_test_data): Likewise.
18780         (ctanh_upward_test_data): Likewise.
18781         (erf_test_data): Likewise.
18782         (erfc_test_data): Likewise.
18783         (exp_test_data): Likewise.
18784         (exp_tonearest_test_data): Likewise.
18785         (exp_towardzero_test_data): Likewise.
18786         (exp_downward_test_data): Likewise.
18787         (exp_upward_test_data): Likewise.
18788         (exp10_test_data): Likewise.
18789         (exp2_test_data): Likewise.
18790         (expm1_test_data): Likewise.
18791         (fabs_test_data): Likewise.
18792         (fdim_test_data): Likewise.
18793         (finite_test_data): Likewise.
18794         (floor_test_data): Likewise.
18795         (fma_test_data): Likewise.
18796         (fma_towardzero_test_data): Likewise.
18797         (fma_downward_test_data): Likewise.
18798         (fma_upward_test_data): Likewise.
18799         (fmax_test_data): Likewise.
18800         (fmin_test_data): Likewise.
18801         (fmod_test_data): Likewise.
18802         (fpclassify_test_data): Likewise.
18803         (frexp_test_data): Likewise.
18804         (gamma_test_data): Likewise.
18805         (hypot_test_data): Likewise.
18806         (ilogb_test_data): Likewise.
18807         (isfinite_test_data): Likewise.
18808         (isgreater_test_data): Likewise.
18809         (isgreaterequal_test_data): Likewise.
18810         (isinf_test_data): Likewise.
18811         (isless_test_data): Likewise.
18812         (islessequal_test_data): Likewise.
18813         (islessgreater_test_data): Likewise.
18814         (isnan_test_data): Likewise.
18815         (isnormal_test_data): Likewise.
18816         (issignaling_test_data): Likewise.
18817         (isunordered_test_data): Likewise.
18818         (j0_test_data): Likewise.
18819         (j1_test_data): Likewise.
18820         (jn_test_data): Likewise.
18821         (ldexp_test_data): Likewise.
18822         (lgamma_test_data): Likewise.
18823         (lrint_test_data): Likewise.
18824         (lrint_tonearest_test_data): Likewise.
18825         (lrint_towardzero_test_data): Likewise.
18826         (lrint_downward_test_data): Likewise.
18827         (lrint_upward_test_data): Likewise.
18828         (llrint_test_data): Likewise.
18829         (llrint_tonearest_test_data): Likewise.
18830         (llrint_towardzero_test_data): Likewise.
18831         (llrint_downward_test_data): Likewise.
18832         (llrint_upward_test_data): Likewise.
18833         (log_test_data): Likewise.
18834         (log10_test_data): Likewise.
18835         (log1p_test_data): Likewise.
18836         (log2_test_data): Likewise.
18837         (logb_test_data): Likewise.
18838         (logb_downward_test_data): Likewise.
18839         (lround_test_data): Likewise.
18840         (llround_test_data): Likewise.
18841         (modf_test_data): Likewise.
18842         (nearbyint_test_data): Likewise.
18843         (nextafter_test_data): Likewise.
18844         (nexttoward_test_data): Likewise.
18845         (pow_test_data): Likewise.
18846         (pow_tonearest_test_data): Likewise.
18847         (pow_towardzero_test_data): Likewise.
18848         (pow_downward_test_data): Likewise.
18849         (pow_upward_test_data): Likewise.
18850         (remainder_test_data): Likewise.
18851         (remainder_tonearest_test_data): Likewise.
18852         (remainder_towardzero_test_data): Likewise.
18853         (remainder_downward_test_data): Likewise.
18854         (remainder_upward_test_data): Likewise.
18855         (remquo_test_data): Likewise.
18856         (rint_test_data): Likewise.
18857         (rint_tonearest_test_data): Likewise.
18858         (rint_towardzero_test_data): Likewise.
18859         (rint_downward_test_data): Likewise.
18860         (rint_upward_test_data): Likewise.
18861         (round_test_data): Likewise.
18862         (scalb_test_data): Likewise.
18863         (scalbn_test_data): Likewise.
18864         (scalbln_test_data): Likewise.
18865         (signbit_test_data): Likewise.
18866         (sin_test_data): Likewise.
18867         (sin_tonearest_test_data): Likewise.
18868         (sin_towardzero_test_data): Likewise.
18869         (sin_downward_test_data): Likewise.
18870         (sin_upward_test_data): Likewise.
18871         (sincos_test_data): Likewise.
18872         (sinh_test_data): Likewise.
18873         (sinh_tonearest_test_data): Likewise.
18874         (sinh_towardzero_test_data): Likewise.
18875         (sinh_downward_test_data): Likewise.
18876         (sinh_upward_test_data): Likewise.
18877         (sqrt_test_data): Likewise.
18878         (tan_test_data): Likewise.
18879         (tan_tonearest_test_data): Likewise.
18880         (tan_towardzero_test_data): Likewise.
18881         (tan_downward_test_data): Likewise.
18882         (tan_upward_test_data): Likewise.
18883         (tanh_test_data): Likewise.
18884         (tgamma_test_data): Likewise.
18885         (trunc_test_data): Likewise.
18886         (y0_test_data): Likewise.
18887         (y1_test_data): Likewise.
18888         (yn_test_data): Likewise.
18889         (significand_test_data): Likewise.
18890
18891         * math/gen-libm-test.pl (@functions): Remove variable.
18892         (generate_testfile): Don't handle START and END lines.
18893         * math/libm-test.inc (START): New macro.
18894         (END): Likewise.
18895         (END_COMPLEX): Likewise.
18896         (acos_test): Use END macro without arguments.
18897         (acos_test_tonearest): Likewise.
18898         (acos_test_towardzero): Likewise.
18899         (acos_test_downward): Likewise.
18900         (acos_test_upward): Likewise.
18901         (acosh_test): Likewise.
18902         (asin_test): Likewise.
18903         (asin_test_tonearest): Likewise.
18904         (asin_test_towardzero): Likewise.
18905         (asin_test_downward): Likewise.
18906         (asin_test_upward): Likewise.
18907         (asinh_test): Likewise.
18908         (atan_test): Likewise.
18909         (atanh_test): Likewise.
18910         (atan2_test): Likewise.
18911         (cabs_test): Likewise.
18912         (cacos_test): Use END_COMPLEX macro without arguments.
18913         (cacosh_test): Likewise.
18914         (carg_test): Use END macro without arguments.
18915         (casin_test): Use END_COMPLEX macro without arguments.
18916         (casinh_test): Likewise.
18917         (catan_test): Likewise.
18918         (catanh_test): Likewise.
18919         (cbrt_test): Use END macro without arguments.
18920         (ccos_test): Use END_COMPLEX macro without arguments.
18921         (ccosh_test): Likewise.
18922         (ceil_test): Use END macro without arguments.
18923         (cexp_test): Use END_COMPLEX macro without arguments.
18924         (cimag_test): Use END macro without arguments.
18925         (clog_test): Use END_COMPLEX macro without arguments.
18926         (clog10_test): Likewise.
18927         (conj_test): Likewise.
18928         (copysign_test): Use END macro without arguments.
18929         (cos_test): Likewise.
18930         (cos_test_tonearest): Likewise.
18931         (cos_test_towardzero): Likewise.
18932         (cos_test_downward): Likewise.
18933         (cos_test_upward): Likewise.
18934         (cosh_test): Likewise.
18935         (cosh_test_tonearest): Likewise.
18936         (cosh_test_towardzero): Likewise.
18937         (cosh_test_downward): Likewise.
18938         (cosh_test_upward): Likewise.
18939         (cpow_test): Use END_COMPLEX macro without arguments.
18940         (cproj_test): Likewise.
18941         (creal_test): Use END macro without arguments.
18942         (csin_test): Use END_COMPLEX macro without arguments.
18943         (csinh_test): Likewise.
18944         (csqrt_test): Likewise.
18945         (ctan_test): Likewise.
18946         (ctan_test_tonearest): Likewise.
18947         (ctan_test_towardzero): Likewise.
18948         (ctan_test_downward): Likewise.
18949         (ctan_test_upward): Likewise.
18950         (ctanh_test): Likewise.
18951         (ctanh_test_tonearest): Likewise.
18952         (ctanh_test_towardzero): Likewise.
18953         (ctanh_test_downward): Likewise.
18954         (ctanh_test_upward): Likewise.
18955         (erf_test): Use END macro without arguments.
18956         (erfc_test): Likewise.
18957         (exp_test): Likewise.
18958         (exp_test_tonearest): Likewise.
18959         (exp_test_towardzero): Likewise.
18960         (exp_test_downward): Likewise.
18961         (exp_test_upward): Likewise.
18962         (exp10_test): Likewise.
18963         (exp2_test): Likewise.
18964         (expm1_test): Likewise.
18965         (fabs_test): Likewise.
18966         (fdim_test): Likewise.
18967         (finite_test): Likewise.
18968         (floor_test): Likewise.
18969         (fma_test): Likewise.
18970         (fma_test_towardzero): Likewise.
18971         (fma_test_downward): Likewise.
18972         (fma_test_upward): Likewise.
18973         (fmax_test): Likewise.
18974         (fmin_test): Likewise.
18975         (fmod_test): Likewise.
18976         (fpclassify_test): Likewise.
18977         (frexp_test): Likewise.
18978         (gamma_test): Likewise.
18979         (hypot_test): Likewise.
18980         (ilogb_test): Likewise.
18981         (isfinite_test): Likewise.
18982         (isgreater_test): Likewise.
18983         (isgreaterequal_test): Likewise.
18984         (isinf_test): Likewise.
18985         (isless_test): Likewise.
18986         (islessequal_test): Likewise.
18987         (islessgreater_test): Likewise.
18988         (isnan_test): Likewise.
18989         (isnormal_test): Likewise.
18990         (issignaling_test): Likewise.
18991         (isunordered_test): Likewise.
18992         (j0_test): Likewise.
18993         (j1_test): Likewise.
18994         (jn_test): Likewise.
18995         (ldexp_test): Likewise.
18996         (lgamma_test): Likewise.
18997         (lrint_test): Likewise.
18998         (lrint_test_tonearest): Likewise.
18999         (lrint_test_towardzero): Likewise.
19000         (lrint_test_downward): Likewise.
19001         (lrint_test_upward): Likewise.
19002         (llrint_test): Likewise.
19003         (llrint_test_tonearest): Likewise.
19004         (llrint_test_towardzero): Likewise.
19005         (llrint_test_downward): Likewise.
19006         (llrint_test_upward): Likewise.
19007         (log_test): Likewise.
19008         (log10_test): Likewise.
19009         (log1p_test): Likewise.
19010         (log2_test): Likewise.
19011         (logb_test): Likewise.
19012         (logb_test_downward): Likewise.
19013         (lround_test): Likewise.
19014         (llround_test): Likewise.
19015         (modf_test): Likewise.
19016         (nearbyint_test): Likewise.
19017         (nextafter_test): Likewise.
19018         (nexttoward_test): Likewise.
19019         (pow_test): Likewise.
19020         (pow_test_tonearest): Likewise.
19021         (pow_test_towardzero): Likewise.
19022         (pow_test_downward): Likewise.
19023         (pow_test_upward): Likewise.
19024         (remainder_test): Likewise.
19025         (remainder_test_tonearest): Likewise.
19026         (remainder_test_towardzero): Likewise.
19027         (remainder_test_downward): Likewise.
19028         (remainder_test_upward): Likewise.
19029         (remquo_test): Likewise.
19030         (rint_test): Likewise.
19031         (rint_test_tonearest): Likewise.
19032         (rint_test_towardzero): Likewise.
19033         (rint_test_downward): Likewise.
19034         (rint_test_upward): Likewise.
19035         (round_test): Likewise.
19036         (scalb_test): Likewise.
19037         (scalbn_test): Likewise.
19038         (scalbln_test): Likewise.
19039         (signbit_test): Likewise.
19040         (sin_test): Likewise.
19041         (sin_test_tonearest): Likewise.
19042         (sin_test_towardzero): Likewise.
19043         (sin_test_downward): Likewise.
19044         (sin_test_upward): Likewise.
19045         (sincos_test): Likewise.
19046         (sinh_test): Likewise.
19047         (sinh_test_tonearest): Likewise.
19048         (sinh_test_towardzero): Likewise.
19049         (sinh_test_downward): Likewise.
19050         (sinh_test_upward): Likewise.
19051         (sqrt_test): Likewise.
19052         (tan_test): Likewise.
19053         (tan_test_tonearest): Likewise.
19054         (tan_test_towardzero): Likewise.
19055         (tan_test_downward): Likewise.
19056         (tan_test_upward): Likewise.
19057         (tanh_test): Likewise.
19058         (tgamma_test): Likewise.
19059         (trunc_test): Likewise.
19060         (y0_test): Likewise.
19061         (y1_test): Likewise.
19062         (yn_test): Likewise.
19063         (significand_test): Likewise.
19064
19065 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19066
19067         [BZ #15381]
19068         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19069
19070 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19071
19072         [BZ #14894]
19073         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19074         __ppc_mdoio and __ppc_mdoom.
19075         * manual/platform.texi: Document new functions __ppc_yield,
19076         __ppc_mdoio and __ppc_mdoom.
19077
19078 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19079
19080         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19081         (main): Mention "tls" pseudo-hwcap is legacy.
19082         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19083
19084 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19085
19086         * math/gen-libm-test.pl (parse_args): Output only string of
19087         arguments as text for test name, not full call or descriptions of
19088         tests for extra outputs.
19089         (generate_testfile): Do not pass function name to parse_args.
19090         Generate this_func variable from START.
19091         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19092         field to arg_str.
19093         (struct test_ff_f_data): Likewise.
19094         (test_ff_f_data_nexttoward): Likewise.
19095         (struct test_fi_f_data): Likewise.
19096         (struct test_fl_f_data): Likewise.
19097         (struct test_if_f_data): Likewise.
19098         (struct test_fff_f_data): Likewise.
19099         (struct test_c_f_data): Likewise.
19100         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19101         (struct test_fF_f1_data): Likewise.
19102         (struct test_ffI_f1_data): Likewise.
19103         (struct test_c_c_data): Rename test_name field to arg_str.
19104         (struct test_cc_c_data): Likewise.
19105         (struct test_f_i_data): Likewise.
19106         (struct test_ff_i_data): Likewise.
19107         (struct test_f_l_data): Likewise.
19108         (struct test_f_L_data): Likewise.
19109         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19110         and extra2_name.
19111         (COMMON_TEST_SETUP): New macro.
19112         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19113         (COMMON_TEST_CLEANUP): Likewise.
19114         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19115         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19116         macros.
19117         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19118         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19119         macros.
19120         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19121         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19122         cleanup macros.
19123         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19124         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19125         macros.
19126         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19127         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19128         macros.
19129         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19130         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19131         cleanup macros.
19132         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19133         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19134         cleanup macros.
19135         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19136         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19137         cleanup macros.
19138         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19139         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19140         macros.
19141         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19142         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19143         macros.
19144         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19145         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19146         macros.
19147         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19148         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19149         cleanup macros.
19150         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19151         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19152         cleanup macros.
19153         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19154         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19155         macros.
19156         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19157         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19158         cleanup macros.
19159         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19160         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19161         macros.
19162         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19163         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19164         macros.
19165         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19166         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19167         cleanup macros.
19168         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19169
19170 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19171
19172         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19173         to _sifields.sigfault.
19174         (si_addr_lsb): Define new macro.
19175         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19176         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19177         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19178
19179 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19180
19181         [BZ #15441]
19182         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19183         returns -1.
19184         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19185         null return -1.
19186         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19187         loading the domain.
19188
19189 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19190
19191         * math/gen-libm-test.pl (parse_args): Do not include expected
19192         result in test name.
19193         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19194         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19195         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19196         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19197         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19199
19200 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19201
19202         * benchtests/Makefile: Sort function entries.
19203
19204         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19205         tanh, asinh, acosh, atanh.
19206         * benchtests/acos-inputs: New file.
19207         * benchtests/acosh-inputs: New file.
19208         * benchtests/asin-inputs: New file.
19209         * benchtests/asinh-inputs: New file.
19210         * benchtests/atanh-inputs: New file.
19211         * benchtests/cosh-inputs: New file.
19212         * benchtests/log-inputs: New file.
19213         * benchtests/sinh-inputs: New file.
19214         * benchtests/tanh-inputs: New file.
19215
19216 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19217
19218         [BZ #15339]
19219         * posix/tst-getaddrinfo4.c: New test.
19220         * posix/Makefile (tests): Add it.
19221
19222 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19223
19224         [BZ #15339]
19225         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19226         when no services were used.
19227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19228         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19229
19230 2013-05-21  Andreas Schwab  <schwab@suse.de>
19231
19232         [BZ #15014]
19233         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19234         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19235         successful.
19236         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19237         redundant variable declarations and reallocation of buffer when
19238         parsing as IPv6 address.  Always set NSS status when called from
19239         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19240         buffer too small.  Correct computation of needed size.
19241         * nss/Makefile (tests): Add test-digits-dots.
19242         * nss/test-digits-dots.c: New test.
19243
19244 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19245
19246         * benchtests/Makefile: Remove instructions for adding
19247         benchmark tests.
19248         * benchtests/README: New file to explain how to execute and
19249         enhance the benchmark tests.
19250
19251 2013-05-21  Andreas Schwab  <schwab@suse.de>
19252
19253         [BZ #15493]
19254         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19255         * setjmp/tst-sigsetjmp.c: New test.
19256
19257 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19258
19259         * sysdeps/x86_64/memset.S (memset): New implementation.
19260         (__bzero): Likewise.
19261         (__memset_tail): New function.
19262
19263 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19264
19265         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19266         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19267         __memcpy_sse2_unaligned ifunc selection.
19268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19269         Add memcpy-sse2-unaligned.S.
19270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19271         Add: __memcpy_sse2_unaligned.
19272
19273 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19274
19275         [BZ #15490]
19276         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19277         math_force_eval before restoring floating-point envrionment.
19278         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19279         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19280         Likewise.
19281         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19282         <math_private.h>.
19283         (__nearbyintl): Use math_force_eval before restoring
19284         floating-point environment.
19285         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19286
19287         * math/gen-libm-test.pl (special_functions): Remove.
19288         (parse_args): Don't handle TEST_extra.  Handle functions with no
19289         return value.
19290         * math/libm-test.inc (struct test_sincos_data): Replace with
19291         struct test_fFF_11_data.
19292         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19293         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19294         (sincos_test_data): Change element type to struct
19295         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19296         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19297         RUN_TEST_LOOP_sincos.
19298         * math/README.libm-test: Don't mention special handling of
19299         individual functions.
19300         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19301         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19302         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19303         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19304         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19306
19307         * math/gen-libm-test.pl (get_variable): Remove function.
19308         (parse_args): Don't show pointer parameters to call in test
19309         names.  Use "extra output N" in test names for extra outputs
19310         rather than naming variables.
19311
19312 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19313
19314         [BZ #15488]
19315         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19316         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19317         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19318         double tests.
19319         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19320         disable.
19321         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19322         check_long_double.
19323
19324         * math/gen-libm-test.pl (@tests): Remove variable.
19325         ($count): Likewise.
19326         (new_test): Remove function.
19327         (show_exceptions): New function.
19328         (special_functions): Use show_exceptions instead of new_test.
19329         (parse_args): Likewise.
19330         (generate_testfile): Pass only function name in generated call to
19331         print_max_error or print_complex_max_error.
19332         (get_ulps): Do not handle complex tests specially.
19333         (output_test): Rename to ...
19334         (get_all_ulps_for_test): ... this.  Return a string rather than
19335         printing to a file.  Require ulps to be present.
19336         (output_ulps): Generate arrays rather than #defines.
19337         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19338         (struct ulp_data): New type.
19339         (BUILD_COMPLEX_ULP): Remove macro.
19340         (compare_ulp_data): New function.
19341         (find_ulps): Likewise.
19342         (find_test_ulps): Likewise.
19343         (find_function_ulps): Likewise.
19344         (find_complex_function_ulps): Likewise.
19345         (print_max_error): Determine allowed ulps using
19346         find_function_ulps.
19347         (print_complex_max_error): Determine allowed ulps using
19348         find_complex_function_ulps.
19349         (check_float_internal): Determine max ulps using find_test_ulps.
19350         (check_float): Do not take max_ulp parameter.  Update call to
19351         check_float_internal.
19352         (check_complex): Likewise.
19353         (check_int): Do not take max_ulp parameter.
19354         (check_long): Likewise.
19355         (check_bool): Likewise.
19356         (check_longlong): Likewise.
19357         (struct test_f_f_data): Remove max_ulp field.
19358         (struct test_ff_f_data): Likewise.
19359         (struct test_ff_f_data_nexttoward): Likewise.
19360         (struct test_fi_f_data): Likewise.
19361         (struct test_fl_f_data): Likewise.
19362         (struct test_if_f_data): Likewise.
19363         (struct test_fff_f_data): Likewise.
19364         (struct test_c_f_data): Likewise.
19365         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19366         (struct test_fF_f1_data): Likewise.
19367         (struct test_ffI_f1_data): Likewise.
19368         (struct test_c_c_data): Remove max_ulp field.
19369         (struct test_cc_c_data): Likewise.
19370         (struct test_f_i_data): Likewise.
19371         (struct test_ff_i_data): Likewise.
19372         (struct test_f_l_data): Likewise.
19373         (struct test_f_L_data): Likewise.
19374         (struct test_sincos_data): Likewise.
19375         (RUN_TEST_f_f): Do not handle ulps.
19376         (RUN_TEST_LOOP_f_f): Likewise.
19377         (RUN_TEST_2_f): Likewise.
19378         (RUN_TEST_LOOP_2_f): Likewise.
19379         (RUN_TEST_fff_f): Likewise.
19380         (RUN_TEST_LOOP_fff_f): Likewise.
19381         (RUN_TEST_c_f): Likewise.
19382         (RUN_TEST_LOOP_c_f): Likewise.
19383         (RUN_TEST_f_f1): Likewise.
19384         (RUN_TEST_LOOP_f_f1): Likewise.
19385         (RUN_TEST_fF_f1): Likewise.
19386         (RUN_TEST_LOOP_fF_f1): Likewise.
19387         (RUN_TEST_fI_f1): Likewise.
19388         (RUN_TEST_LOOP_fI_f1): Likewise.
19389         (RUN_TEST_ffI_f1): Likewise.
19390         (RUN_TEST_LOOP_ffI_f1): Likewise.
19391         (RUN_TEST_c_c): Likewise.
19392         (RUN_TEST_LOOP_c_c): Likewise.
19393         (RUN_TEST_cc_c): Likewise.
19394         (RUN_TEST_LOOP_cc_c): Likewise.
19395         (RUN_TEST_f_i): Likewise.
19396         (RUN_TEST_LOOP_f_i): Likewise.
19397         (RUN_TEST_f_i_tg): Likewise.
19398         (RUN_TEST_LOOP_f_i_tg): Likewise.
19399         (RUN_TEST_ff_i_tg): Likewise.
19400         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19401         (RUN_TEST_f_b): Likewise.
19402         (RUN_TEST_LOOP_f_b): Likewise.
19403         (RUN_TEST_f_b_tg): Likewise.
19404         (RUN_TEST_LOOP_f_b_tg): Likewise.
19405         (RUN_TEST_f_l): Likewise.
19406         (RUN_TEST_LOOP_f_l): Likewise.
19407         (RUN_TEST_f_L): Likewise.
19408         (RUN_TEST_LOOP_f_L): Likewise.
19409         (RUN_TEST_sincos): Likewise.
19410         (RUN_TEST_LOOP_sincos): Likewise.
19411
19412 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19413
19414         [BZ #15480]
19415         [BZ #15485]
19416         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19417         main case of finite arguments, set rounding mode to FE_TONEAREST
19418         and discard exceptions.
19419         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19420         exceptions.
19421         (remainder_tonearest_test_data): New variable.
19422         (remainder_test_tonearest): New function.
19423         (remainder_towardzero_test_data): New variable.
19424         (remainder_test_towardzero): New function.
19425         (remainder_downward_test_data): New variable.
19426         (remainder_test_downward): New function.
19427         (remainder_upward_test_data): New variable.
19428         (remainder_test_upward): New function.
19429         (main): Call the new test functions.
19430
19431         * math/libm-test.inc (struct test_f_f1_data): Remove field
19432         extra_init.
19433         (struct test_fF_f1_data): Likewise.
19434         (struct test_ffI_f1_data): Likewise.
19435         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19436         based on value of EXTRA_EXPECTED.
19437         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19438         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19439         EXTRA_VAR based on value of EXTRA_EXPECTED.
19440         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19441         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19442         EXTRA_VAR based on value of EXTRA_EXPECTED.
19443         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19444         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19445         EXTRA_VAR based on value of EXTRA_EXPECTED.
19446         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19447         * math/gen-libm-test.pl (parse_args): Don't output initializers
19448         for extra output values.
19449
19450         * math/libm-test.inc (check_int): Expect result to be exactly
19451         equal to expected value and do not handle ulps.
19452         (check_long): Likewise.
19453         (check_longlong): Likewise.
19454
19455         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19456         exceptions.
19457         (cimag_test_data): Likewise.
19458         (conj_test_data): Likewise.
19459         (copysign_test_data): Likewise.
19460         (cproj_test_data): Likewise.
19461         (creal_test_data): Likewise.
19462         (fabs_test_data): Likewise.
19463         (fdim_test_data): Likewise.
19464         (finite_test_data): Likewise.
19465         (floor_test_data): Likewise.
19466         (fmax_test_data): Likewise.
19467         (fmin_test_data): Likewise.
19468         (fmod_test_data): Likewise.
19469         (fpclassify_test_data): Likewise.
19470         (frexp_test_data): Likewise.
19471         (ilogb_test_data): Likewise.
19472         (isfinite_test_data): Likewise.
19473         (isgreater_test_data): Likewise.
19474         (isgreaterequal_test_data): Likewise.
19475         (isinf_test_data): Likewise.
19476         (isless_test_data): Likewise.
19477         (islessequal_test_data): Likewise.
19478         (islessgreater_test_data): Likewise.
19479         (isnan_test_data): Likewise.
19480         (isnormal_test_data): Likewise.
19481         (issignaling_test_data): Likewise.
19482         (isunordered_test_data): Likewise.
19483         (ldexp_test_data): Likewise.
19484         (lrint_test_data): Likewise.
19485         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19486         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19487         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19488         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19489         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19490         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19491         test input.
19492         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19493         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19494         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19495         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19496         that test input.
19497         (lrint_downward_test_data): Test for "inexact" exceptions.
19498         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19499         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19500         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19501         test input.
19502         (lrint_upward_test_data): Test for "inexact" exceptions.
19503         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19504         test input.
19505         (llrint_test_data): Test for "inexact" exceptions.
19506         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19507         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19508         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19509         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19510         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19511         (llrint_downward_test_data): Test for "inexact" exceptions.
19512         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19513         (llrint_upward_test_data): Test for "inexact" exceptions.
19514         (logb_test_data): Likewise.
19515         (logb_downward_test_data): Likewise.
19516         (nextafter_test_data): Likewise.
19517         (nexttoward_test_data): Likewise.
19518         (remainder_test_data): Likewise.
19519         (remquo_test_data): Likewise.
19520         (scalbn_test_data): Likewise.
19521         (scalbln_test_data): Likewise.
19522         (signbit_test_data): Likewise.
19523         (sqrt_test_data): Likewise.
19524         (significand_test_data): Likewise.
19525
19526 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19527
19528         [BZ #15424]
19529         * benchtests/bench-modf.c (struct args): Mark arg0 as
19530         volatile.
19531         * scripts/bench.pl: Mark members of struct args as volatile.
19532
19533 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19534
19535         [BZ # 15497]
19536         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19537         negative infinity on POWER6 or lower.
19538         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19539
19540 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19541
19542         [BZ #15442]
19543         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19544         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19545         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19546         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19547         (_FP_SETQNAN): New macro.
19548         (_FP_SETQNAN_SEMIRAW): Likewise.
19549         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19550         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19551         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19552         (FP_EXTEND): Use _FP_FRAC_SNANP.
19553         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19554         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19555         into account.
19556         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19557         New macro.
19558         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19559         Likewise.
19560
19561 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19562
19563         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19564         with DIVIDE_BY_ZERO_EXCEPTION.
19565         (gamma_test_data): Likewise.
19566         (lgamma_test_data): Likewise.
19567         (log_test_data): Likewise.
19568         (log10_test_data): Likewise.
19569         (log2_test_data): Likewise.
19570         (tgamma_test_data): Likewise.
19571
19572         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19573         (acos_test_tonearest): Likewise.
19574         (acos_test_towardzero): Likewise.
19575         (acos_test_downward): Likewise.
19576         (acos_test_upward): Likewise.
19577         (acosh_test): Likewise.
19578         (asin_test): Likewise.
19579         (asin_test_tonearest): Likewise.
19580         (asin_test_towardzero): Likewise.
19581         (asin_test_downward): Likewise.
19582         (asin_test_upward): Likewise.
19583         (asinh_test): Likewise.
19584         (atan_test): Likewise.
19585         (atanh_test): Likewise.
19586         (atan2_test): Likewise.
19587         (cabs_test): Likewise.
19588         (cacos_test): Likewise.
19589         (cacosh_test): Likewise.
19590         (casin_test): Likewise.
19591         (casinh_test): Likewise.
19592         (catan_test): Likewise.
19593         (catanh_test): Likewise.
19594         (cbrt_test): Likewise.
19595         (ccos_test): Likewise.
19596         (ccosh_test): Likewise.
19597         (cexp_test): Likewise.
19598         (clog_test): Likewise.
19599         (clog10_test): Likewise.
19600         (cos_test): Likewise.
19601         (cos_test_tonearest): Likewise.
19602         (cos_test_towardzero): Likewise.
19603         (cos_test_downward): Likewise.
19604         (cos_test_upward): Likewise.
19605         (cosh_test): Likewise.
19606         (cosh_test_tonearest): Likewise.
19607         (cosh_test_towardzero): Likewise.
19608         (cosh_test_downward): Likewise.
19609         (cosh_test_upward): Likewise.
19610         (cpow_test): Likewise.
19611         (csin_test): Likewise.
19612         (csinh_test): Likewise.
19613         (csqrt_test): Likewise.
19614         (ctan_test): Likewise.
19615         (ctan_test_tonearest): Likewise.
19616         (ctan_test_towardzero): Likewise.
19617         (ctan_test_downward): Likewise.
19618         (ctan_test_upward): Likewise.
19619         (ctanh_test): Likewise.
19620         (ctanh_test_tonearest): Likewise.
19621         (ctanh_test_towardzero): Likewise.
19622         (ctanh_test_downward): Likewise.
19623         (ctanh_test_upward): Likewise.
19624         (erf_test): Likewise.
19625         (erfc_test): Likewise.
19626         (exp_test): Likewise.
19627         (exp_test_tonearest): Likewise.
19628         (exp_test_towardzero): Likewise.
19629         (exp_test_downward): Likewise.
19630         (exp_test_upward): Likewise.
19631         (exp10_test): Likewise.
19632         (exp2_test): Likewise.
19633         (expm1_test): Likewise.
19634         (fmod_test): Likewise.
19635         (gamma_test): Likewise.
19636         (hypot_test): Likewise.
19637         (j0_test): Likewise.
19638         (j1_test): Likewise.
19639         (jn_test): Likewise.
19640         (lgamma_test): Likewise.
19641         (log_test): Likewise.
19642         (log10_test): Likewise.
19643         (log1p_test): Likewise.
19644         (log2_test): Likewise.
19645         (logb_test_downward): Likewise.
19646         (pow_test): Likewise.
19647         (pow_test_tonearest): Likewise.
19648         (pow_test_towardzero): Likewise.
19649         (pow_test_downward): Likewise.
19650         (pow_test_upward): Likewise.
19651         (remainder_test): Likewise.
19652         (remquo_test): Likewise.
19653         (sin_test): Likewise.
19654         (sin_test_tonearest): Likewise.
19655         (sin_test_towardzero): Likewise.
19656         (sin_test_downward): Likewise.
19657         (sin_test_upward): Likewise.
19658         (sincos_test): Likewise.
19659         (sinh_test): Likewise.
19660         (sinh_test_tonearest): Likewise.
19661         (sinh_test_towardzero): Likewise.
19662         (sinh_test_downward): Likewise.
19663         (sinh_test_upward): Likewise.
19664         (sqrt_test): Likewise.
19665         (tan_test): Likewise.
19666         (tan_test_tonearest): Likewise.
19667         (tan_test_towardzero): Likewise.
19668         (tan_test_downward): Likewise.
19669         (tan_test_upward): Likewise.
19670         (tanh_test): Likewise.
19671         (tgamma_test): Likewise.
19672         (y0_test): Likewise.
19673         (y1_test): Likewise.
19674         (yn_test): Likewise.
19675
19676         * math/gen-libm-test.pl (adjust_arg): Remove function.
19677         (special_function): Remove argument $in_func.  Only handle
19678         generating output for tables of tests, not inside functions.
19679         (parse_args): Likewise.
19680         (generate_testfile): Remove variable $in_func.  Update call to
19681         parse_args.
19682         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19683         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19684         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19685         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19686         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19687         (MAX_VALUE_INIT): Rename macro to max_value.
19688         (MIN_VALUE_INIT): Rename macro to min_value.
19689         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19690         (plus_zero): Remove variable.
19691         (minus_zero): Likewise.
19692         (plus_infty): Likewise.
19693         (minus_infty): Likewise.
19694         (qnan_value): Likewise.
19695         (max_value): Likewise.
19696         (min_value): Likewise.
19697         (min_subnorm_value): Likewise.
19698
19699 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19700
19701         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19702         uint64_t or uint32_t usage.
19703         * crypt/sha256-block.c: Likewise.
19704         * crypt/sha256-crypt.c: Likewise.
19705         * crypt/sha256.c: Likewise.
19706         * crypt/sha512-block.c: Likewise.
19707         * crypt/sha512-crypt.c: Likewise.
19708         * crypt/sha512.c: Likewise.
19709         * debug/backtrace-tst.c: Likewise.
19710         * debug/pcprofiledump.c: Likewise.
19711         * elf/cache.c: Likewise.
19712         * elf/dl-cache.c: Likewise.
19713         * elf/dl-misc.c: Likewise.
19714         * elf/dl-profile.c: Likewise.
19715         * elf/dl-support.c: Likewise.
19716         * elf/ldconfig.c: Likewise.
19717         * elf/sprof.c: Likewise.
19718         * iconv/dummy-repertoire.c: Likewise.
19719         * iconv/iconv_charmap.c: Likewise.
19720         * iconv/skeleton.c: Likewise.
19721         * iconvdata/8bit-generic.c: Likewise.
19722         * iconvdata/cp737.h: Likewise.
19723         * iconvdata/cp775.h: Likewise.
19724         * iconvdata/ibm1008.h: Likewise.
19725         * iconvdata/ibm1025.h: Likewise.
19726         * iconvdata/ibm1046.h: Likewise.
19727         * iconvdata/ibm1097.h: Likewise.
19728         * iconvdata/ibm1112.h: Likewise.
19729         * iconvdata/ibm1122.h: Likewise.
19730         * iconvdata/ibm1123.h: Likewise.
19731         * iconvdata/ibm1124.h: Likewise.
19732         * iconvdata/ibm1129.h: Likewise.
19733         * iconvdata/ibm1130.h: Likewise.
19734         * iconvdata/ibm1132.h: Likewise.
19735         * iconvdata/ibm1133.h: Likewise.
19736         * iconvdata/ibm1137.h: Likewise.
19737         * iconvdata/ibm1140.h: Likewise.
19738         * iconvdata/ibm1141.h: Likewise.
19739         * iconvdata/ibm1142.h: Likewise.
19740         * iconvdata/ibm1143.h: Likewise.
19741         * iconvdata/ibm1144.h: Likewise.
19742         * iconvdata/ibm1145.h: Likewise.
19743         * iconvdata/ibm1146.h: Likewise.
19744         * iconvdata/ibm1147.h: Likewise.
19745         * iconvdata/ibm1148.h: Likewise.
19746         * iconvdata/ibm1149.h: Likewise.
19747         * iconvdata/ibm1153.h: Likewise.
19748         * iconvdata/ibm1154.h: Likewise.
19749         * iconvdata/ibm1155.h: Likewise.
19750         * iconvdata/ibm1156.h: Likewise.
19751         * iconvdata/ibm1157.h: Likewise.
19752         * iconvdata/ibm1158.h: Likewise.
19753         * iconvdata/ibm1160.h: Likewise.
19754         * iconvdata/ibm1161.h: Likewise.
19755         * iconvdata/ibm1162.h: Likewise.
19756         * iconvdata/ibm1163.h: Likewise.
19757         * iconvdata/ibm1164.h: Likewise.
19758         * iconvdata/ibm1166.h: Likewise.
19759         * iconvdata/ibm1167.h: Likewise.
19760         * iconvdata/ibm12712.h: Likewise.
19761         * iconvdata/ibm1390.h: Likewise.
19762         * iconvdata/ibm1399.h: Likewise.
19763         * iconvdata/ibm16804.h: Likewise.
19764         * iconvdata/ibm4517.h: Likewise.
19765         * iconvdata/ibm4899.h: Likewise.
19766         * iconvdata/ibm4909.h: Likewise.
19767         * iconvdata/ibm4971.h: Likewise.
19768         * iconvdata/ibm5347.h: Likewise.
19769         * iconvdata/ibm803.h: Likewise.
19770         * iconvdata/ibm856.h: Likewise.
19771         * iconvdata/ibm901.h: Likewise.
19772         * iconvdata/ibm902.h: Likewise.
19773         * iconvdata/ibm9030.h: Likewise.
19774         * iconvdata/ibm9066.h: Likewise.
19775         * iconvdata/ibm921.h: Likewise.
19776         * iconvdata/ibm922.h: Likewise.
19777         * iconvdata/ibm9448.h: Likewise.
19778         * iconvdata/isiri-3342.h: Likewise.
19779         * iconvdata/jis0201.h: Likewise.
19780         * include/link.h: Likewise.
19781         * include/netdb.h: Likewise.
19782         * inet/check_native.c: Likewise.
19783         * inet/check_pf.c: Likewise.
19784         * inet/getipv4sourcefilter.c: Likewise.
19785         * inet/getnameinfo.c: Likewise.
19786         * inet/getsourcefilter.c: Likewise.
19787         * inet/htonl.c: Likewise.
19788         * inet/setipv4sourcefilter.c: Likewise.
19789         * inet/setsourcefilter.c: Likewise.
19790         * inet/test-inet6_opt.c: Likewise.
19791         * inet/tst-network.c: Likewise.
19792         * locale/C-collate.c: Likewise.
19793         * locale/C-ctype.c: Likewise.
19794         * locale/C-time.c: Likewise.
19795         * locale/C-translit.h: Likewise.
19796         * locale/loadarchive.c: Likewise.
19797         * locale/programs/3level.h: Likewise.
19798         * locale/programs/charmap.c: Likewise.
19799         * locale/programs/charmap.h: Likewise.
19800         * locale/programs/ld-address.c: Likewise.
19801         * locale/programs/ld-collate.c: Likewise.
19802         * locale/programs/ld-ctype.c: Likewise.
19803         * locale/programs/ld-identification.c: Likewise.
19804         * locale/programs/ld-measurement.c: Likewise.
19805         * locale/programs/ld-messages.c: Likewise.
19806         * locale/programs/ld-monetary.c: Likewise.
19807         * locale/programs/ld-name.c: Likewise.
19808         * locale/programs/ld-numeric.c: Likewise.
19809         * locale/programs/ld-paper.c: Likewise.
19810         * locale/programs/ld-telephone.c: Likewise.
19811         * locale/programs/ld-time.c: Likewise.
19812         * locale/programs/linereader.c: Likewise.
19813         * locale/programs/locale.c: Likewise.
19814         * locale/programs/locarchive.c: Likewise.
19815         * locale/programs/locfile.h: Likewise.
19816         * locale/programs/repertoire.c: Likewise.
19817         * locale/programs/simple-hash.c: Likewise.
19818         * locale/programs/simple-hash.h: Likewise.
19819         * malloc/memusage.c: Likewise.
19820         * malloc/memusagestat.c: Likewise.
19821         * nis/nis_defaults.c: Likewise.
19822         * nis/nis_hash.c: Likewise.
19823         * nis/nis_print.c: Likewise.
19824         * nis/nis_xdr.c: Likewise.
19825         * nscd/connections.c: Likewise.
19826         * nscd/hstcache.c: Likewise.
19827         * nscd/nscd_gethst_r.c: Likewise.
19828         * nscd/nscd_getserv_r.c: Likewise.
19829         * nscd/nscd_helper.c: Likewise.
19830         * nscd/servicescache.c: Likewise.
19831         * nss/makedb.c: Likewise.
19832         * nss/nss_db/db-XXX.c: Likewise.
19833         * nss/nss_db/db-initgroups.c: Likewise.
19834         * nss/nss_db/db-netgrp.c: Likewise.
19835         * nss/nss_files/files-network.c: Likewise.
19836         * nss/nss_files/files-parse.c: Likewise.
19837         * posix/bug-regex5.c: Likewise.
19838         * posix/fnmatch_loop.c: Likewise.
19839         * posix/regcomp.c: Likewise.
19840         * posix/regexec.c: Likewise.
19841         * posix/tst-rfc3484-2.c: Likewise.
19842         * posix/tst-rfc3484-3.c: Likewise.
19843         * posix/tst-rfc3484.c: Likewise.
19844         * resolv/nss_dns/dns-canon.c: Likewise.
19845         * resolv/nss_dns/dns-network.c: Likewise.
19846         * resolv/res_init.c: Likewise.
19847         * resolv/res_mkquery.c: Likewise.
19848         * resolv/tst-aton.c: Likewise.
19849         * stdlib/cxa_atexit.c: Likewise.
19850         * stdlib/cxa_finalize.c: Likewise.
19851         * stdlib/gen-fpioconst.c: Likewise.
19852         * stdlib/strtol_l.c: Likewise.
19853         * string/tst-endian.c: Likewise.
19854         * sunrpc/auth_des.c: Likewise.
19855         * sunrpc/clnt_udp.c: Likewise.
19856         * sunrpc/rtime.c: Likewise.
19857         * sunrpc/svcauth_des.c: Likewise.
19858         * sunrpc/xdr.c: Likewise.
19859         * sunrpc/xdr_intXX_t.c: Likewise.
19860         * sunrpc/xdr_rec.c: Likewise.
19861         * sysdeps/generic/ldconfig.h: Likewise.
19862         * sysdeps/generic/ldsodefs.h: Likewise.
19863         * sysdeps/generic/memusage.h: Likewise.
19864         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19865         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19866         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19867         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19868         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19869         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19870         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19871         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19872         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19873         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19874         * sysdeps/posix/getaddrinfo.c: Likewise.
19875         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19876         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19877         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19878         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19879         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19880         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19881         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19882         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19883         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19884         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19885         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19886         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19887         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19888         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19889         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19890         * sysdeps/x86_64/dl-tls.h: Likewise.
19891         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19892         * time/alt_digit.c: Likewise.
19893         * time/era.c: Likewise.
19894         * wcsmbs/tst-c16c32-1.c: Likewise.
19895
19896 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19897
19898         * math/libm-test.inc (struct test_sincos_data): New type.
19899         (RUN_TEST_LOOP_sincos): New macro.
19900         (sincos_test_data): New variable.
19901         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19902
19903 2013-05-16  Richard Henderson  <rth@redhat.com>
19904
19905         * math/atest-exp2.c (LIMB64): New macro.
19906         (CONSTSZ): New macro.
19907         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19908         (hexdig): Move ...
19909         (print_mpn_fp): ... to function scope.
19910         (read_mpn_hex): Remove.
19911         (get_log2): Remove.
19912         (exp2_mpn): Use mp_log2.
19913         (main): Use mp_exp1.
19914
19915 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19916
19917         * math/libm-test.inc: Remove comment about not testing "inexact"
19918         exceptions.
19919         (INEXACT_EXCEPTION): New macro.
19920         (NO_INEXACT_EXCEPTION): Likewise.
19921         (INVALID_EXCEPTION_OK): Update value.
19922         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19923         (OVERFLOW_EXCEPTION_OK): Likewise.
19924         (UNDERFLOW_EXCEPTION_OK): Likewise.
19925         (IGNORE_ZERO_INF_SIGN): Likewise.
19926         (ERRNO_UNCHANGED): Likewise.
19927         (ERRNO_EDOM): Likewise.
19928         (ERRNO_ERANGE): Likewise.
19929         (test_exceptions): Handle testing "inexact" exceptions.
19930         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19931         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19932         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19933         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19934         INEXACT_EXCEPTION.
19935         (rint_towardzero_test_data): Likewise.
19936         (rint_downward_test_data): Likewise.
19937         (rint_upward_test_data): Likewise.
19938
19939         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19940         with OVERFLOW_EXCEPTION.
19941         (exp10_test_data): Likewise.
19942         (exp2_test_data): Likewise.
19943         (expm1_test_data): Likewise.
19944         (lgamma_test_data): Likewise.
19945         (pow_test_data): Likewise.
19946         (tgamma_test_data): Likewise.
19947         (yn_test_data): Remove duplicate test of overflow.
19948
19949         * math/libm-test.inc (struct test_cc_c_data): New type.
19950         (RUN_TEST_LOOP_cc_c): New macro.
19951         (cpow_test_data): New variable.
19952         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19953
19954         * math/libm-test.inc (struct test_f_L_data): New type.
19955         (RUN_TEST_LOOP_f_L): New macro.
19956         (llrint_test_data): New variable.
19957         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19958         (llrint_tonearest_test_data): New variable.
19959         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19960         (llrint_towardzero_test_data): New variable.
19961         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19962         (llrint_downward_test_data): New variable.
19963         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19964         (llrint_upward_test_data): New variable.
19965         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19966         (llround_test_data): New variable.
19967         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19968
19969 2013-05-13  Peter Collingbourne  <pcc@google.com>
19970
19971         * math/atest-exp2.c (get_log2): Remove const attribute.
19972
19973 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19974
19975         * math/libm-test.inc (struct test_f_l_data): New type.
19976         (RUN_TEST_LOOP_f_l): New macro.
19977         (lrint_test_data): New variable.
19978         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19979         (lrint_tonearest_test_data): New variable.
19980         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19981         (lrint_towardzero_test_data): New variable.
19982         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19983         (lrint_downward_test_data): New variable.
19984         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19985         (lrint_upward_test_data): New variable.
19986         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19987         (lround_test_data): New variable.
19988         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19989
19990 2013-05-15  Peter Collingbourne  <pcc@google.com>
19991
19992         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19993         (EXTRACT_WORDS64) Use where appropriate.
19994         (INSERT_WORDS64) Likewise.
19995
19996         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19997         constraints with x constraints.
19998         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19999
20000         * malloc/obstack.c (_obstack_compat): Add initializer.
20001
20002 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20003
20004         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20005         si_trapno and add si_addr_lsb to _sifields.sigfault.
20006         (si_trapno): Remove macro.
20007         (si_addr_lsb): Define new macro.
20008         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20009
20010 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20011
20012         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20013         instead of TEST_f_l.
20014         (llrint_test_tonearest): Likewise.
20015         (llrint_test_towardzero): Likewise.
20016         (llrint_test_downward): Likewise.
20017         (llrint_test_upward): Likewise.
20018         (llround_test): Likewise.
20019
20020         * math/libm-test.inc (struct test_f_i_data): Add comment.
20021         (RUN_TEST_LOOP_f_b): New macro.
20022         (RUN_TEST_LOOP_f_b_tg): Likewise.
20023         (finite_test_data): New variable.
20024         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20025         (isfinite_test_data): New variable.
20026         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20027         (isinf_test_data): New variable.
20028         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20029         (isnan_test_data): New variable.
20030         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20031         (isnormal_test_data): New variable.
20032         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20033         (issignaling_test_data): New variable.
20034         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20035         (signbit_test_data): New variable.
20036         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20037
20038         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20039         with INVALID_EXCEPTION.
20040         (acosh_test_data): Likewise.
20041         (asin_test_data): Likewise.
20042         (atanh_test_data): Likewise.
20043         (fmod_test_data): Likewise.
20044         (log_test_data): Likewise.
20045         (log10_test_data): Likewise.
20046         (log2_test_data): Likewise.
20047         (pow_test_data): Likewise.
20048         (sqrt_test_data): Likewise.
20049         (y0_test_data): Likewise.
20050         (y1_test_data): Likewise.
20051         (yn_test_data): Likewise.
20052
20053         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20054         function contents.
20055
20056         * math/libm-test.inc (struct test_ff_i_data): New type.
20057         (RUN_TEST_LOOP_ff_i_tg): New macro.
20058         (isgreater_test_data): New variable.
20059         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20060         (isgreaterequal_test_data): New variable.
20061         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20062         (isless_test_data): New variable.
20063         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20064         (islessequal_test_data): New variable.
20065         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20066         (islessgreater_test_data): New variable.
20067         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20068         (isunordered_test_data): New variable.
20069         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20070
20071 2013-05-14  David S. Miller  <davem@davemloft.net>
20072
20073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20074
20075 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20076
20077         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20078
20079         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20080         extra_test to int.
20081         (struct test_f_i_data): Change type of max_ulp to int.
20082
20083         * math/libm-test.inc (test_ffI_f1_data): New type.
20084         (RUN_TEST_LOOP_ffI_f1): New macro.
20085         (remquo_test_data): New variable.
20086         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20087
20088         * setjmp/tst-setjmp-fp.c: New file.
20089         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20090         (link-libm): New variable.
20091         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20092
20093         * math/libm-test.inc (struct test_f_i_data): New type.
20094         (RUN_TEST_LOOP_f_i): New macro.
20095         (RUN_TEST_LOOP_f_i_tg): Likewise.
20096         (fpclassify_test_data): New variable.
20097         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20098         (ilogb_test_data): New variable.
20099         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20100
20101         * math/libm-test.inc (scalbln_test): Correct function name in END
20102         call.
20103
20104         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20105         (RUN_TEST_LOOP_fI_f1): New macro.
20106         (frexp_test_data): New variable.
20107         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20108
20109         * math/libm-test.inc (struct test_fF_f1_data): New type.
20110         (RUN_TEST_LOOP_fF_f1): New macro.
20111         (modf_test_data): New variable.
20112         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20113
20114         * math/libm-test.inc (struct test_f_f1_data): New type.
20115         (RUN_TEST_LOOP_f_f1): New macro.
20116         (gamma_test_data): New variable.
20117         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20118         (lgamma_test_data): New variable.
20119         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20120
20121 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20122
20123         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20124         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20125         (main): Comment "tls" pseudo-hwcap.
20126
20127 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20128
20129         * math/libm-test.inc (struct test_fl_f_data): New type.
20130         (RUN_TEST_LOOP_fl_f): New variable.
20131         (scalbln_test_data): New variable.
20132         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20133
20134         * math/libm-test.inc (struct test_fi_f_data): New type.
20135         (RUN_TEST_LOOP_fi_f): New macro.
20136         (ldexp_test_data): New variable.
20137         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20138         (scalbn_test_data): New variable.
20139         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20140
20141         * math/libm-test.inc (struct test_c_f_data): New type.
20142         (RUN_TEST_LOOP_c_f): New macro.
20143         (cabs_test_data): New variable.
20144         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20145         (carg_test_data): New variable.
20146         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20147         (cimag_test_data): New variable.
20148         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20149         (creal_test_data): New variable.
20150         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20151
20152         * math/libm-test.inc (struct test_if_f_data): New type.
20153         (RUN_TEST_LOOP_if_f): New macro.
20154         (jn_test_data): New variable.
20155         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20156         (yn_test_data): New variable.
20157         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20158
20159         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20160
20161 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20162
20163         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20164         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20165
20166 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20167
20168         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20169         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20170         (bench-deps): Add bench-timing.h.
20171         * benchtests-bench-skeleton.c: Include bench-timing.h.
20172         (main): Use TIMING_* macros instead of clock_gettime.
20173         * benchtests/bench-timing.h: New file.
20174
20175         [BZ #14582]
20176         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20177         Renamed from _LIB_VERSION.
20178         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20179
20180 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20181
20182         * math/libm-test.inc (struct test_fff_f_data): New type.
20183         (RUN_TEST_LOOP_fff_f): New macro.
20184         (fma_test_data): New variable.
20185         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20186         (fma_towardzero_test_data): New variable.
20187         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20188         (fma_downward_test_data): New variable.
20189         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20190         (fma_upward_test_data): New variable.
20191         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20192
20193         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20194         (struct test_c_c_data): New type.
20195         (RUN_TEST_LOOP_c_c): New macro.
20196         (cacos_test_data): New variable.
20197         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20198         (cacosh_test_data): New variable.
20199         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20200         (casin_test_data): New variable.
20201         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20202         (casinh_test_data): New variable.
20203         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20204         (catan_test_data): New variable.
20205         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20206         (catanh_test_data): New variable.
20207         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20208         (ccos_test_data): New variable.
20209         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20210         (ccosh_test_data): New variable.
20211         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20212         (cexp_test_data): New variable.
20213         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20214         (clog_test_data): New variable.
20215         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20216         (clog10_test_data): New variable.
20217         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20218         (conj_test_data): New variable.
20219         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20220         (cproj_test_data): New variable.
20221         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20222         (csin_test_data): New variable.
20223         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20224         (csinh_test_data): New variable.
20225         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20226         (csqrt_test_data): New variable.
20227         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20228         (ctan_test_data): New variable.
20229         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20230         (ctan_tonearest_test_data): New variable.
20231         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20232         (ctan_towardzero_test_data): New variable.
20233         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20234         (ctan_downward_test_data): New variable.
20235         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20236         (ctan_upward_test_data): New variable.
20237         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20238         (ctanh_test_data): New variable.
20239         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20240         (ctanh_tonearest_test_data): New variable.
20241         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20242         (ctanh_towardzero_test_data): New variable.
20243         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20244         (ctanh_downward_test_data): New variable.
20245         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20246         (ctanh_upward_test_data): New variable.
20247         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20248         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20249         of BUILD_COMPLEX.
20250
20251         * math/libm-test.inc (struct test_ff_f_data): New type.
20252         (struct test_ff_f_data_nexttoward): Likewise.
20253         (RUN_TEST_LOOP_2_f): New macro.
20254         (RUN_TEST_LOOP_ff_f): Likewise.
20255         (atan2_test_data): New variable.
20256         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20257         (copysign_test_data): New variable.
20258         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20259         (fdim_test_data): New variable.
20260         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20261         (fmax_test_data): New variable.
20262         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20263         (fmin_test_data): New variable.
20264         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20265         (fmod_test_data): New variable.
20266         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20267         (hypot_test_data): New variable.
20268         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20269         (nextafter_test_data): New variable.
20270         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20271         (nexttoward_test_data): New variable.
20272         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20273         (pow_test_data): New variable.
20274         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20275         (pow_tonearest_test_data): New variable.
20276         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20277         (pow_towardzero_test_data): New variable.
20278         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20279         (pow_downward_test_data): New variable.
20280         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20281         (pow_upward_test_data): New variable.
20282         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20283         (remainder_test_data): New variable.
20284         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20285         (scalb_test_data): New variable.
20286         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20287         * sysdeps/i386/fpu/libm-test-ulps: Update.
20288
20289 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20290
20291         * math/libm-test.inc (fma_test): Use max_value instead of local
20292         variable fltmax.
20293         (nextafter_test): Likewise.
20294
20295         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20296         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20297         (acos_downward_test_data): New variable.
20298         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20299         (acos_upward_test_data): New variable.
20300         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20301         (acosh_test_data): New variable.
20302         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20303         (asin_test_data): New variable.
20304         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20305         (asin_tonearest_test_data): New variable.
20306         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20307         (asin_towardzero_test_data): New variable.
20308         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20309         (asin_downward_test_data): New variable.
20310         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20311         (asin_upward_test_data): New variable.
20312         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20313         (asinh_test_data): New variable.
20314         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20315         (atan_test_data): New variable.
20316         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20317         (atanh_test_data): New variable.
20318         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20319         (cbrt_test_data): New variable.
20320         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20321         (ceil_test_data): New variable.
20322         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20323         (cos_test_data): New variable.
20324         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20325         (cos_tonearest_test_data): New variable.
20326         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20327         (cos_towardzero_test_data): New variable.
20328         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20329         (cos_downward_test_data): New variable.
20330         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20331         (cos_upward_test_data): New variable.
20332         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20333         (cosh_test_data): New variable.
20334         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20335         (cosh_tonearest_test_data): New variable.
20336         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20337         (cosh_towardzero_test_data): New variable.
20338         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20339         (cosh_downward_test_data): New variable.
20340         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20341         (cosh_upward_test_data): New variable.
20342         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20343         (erf_test_data): New variable.
20344         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20345         (erfc_test_data): New variable.
20346         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20347         (exp_test_data): New variable.
20348         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20349         (exp_tonearest_test_data): New variable.
20350         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20351         (exp_towardzero_test_data): New variable.
20352         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20353         (exp_downward_test_data): New variable.
20354         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20355         (exp_upward_test_data): New variable.
20356         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20357         (exp10_test_data): New variable.
20358         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20359         (exp2_test_data): New variable.
20360         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20361         (expm1_test_data): New variable.
20362         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20363         (fabs_test_data): New variable.
20364         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20365         (floor_test_data): New variable.
20366         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20367         (j0_test_data): New variable.
20368         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20369         (j1_test_data): New variable.
20370         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20371         (log_test_data): New variable.
20372         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20373         (log10_test_data): New variable.
20374         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20375         (log1p_test_data): New variable.
20376         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20377         (log2_test_data): New variable.
20378         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20379         (logb_test_data): New variable.
20380         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20381         (logb_downward_test_data): New variable.
20382         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20383         (nearbyint_test_data): New variable.
20384         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20385         (rint_test_data): New variable.
20386         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20387         (rint_tonearest_test_data): New variable.
20388         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20389         (rint_towardzero_test_data): New variable.
20390         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20391         (rint_downward_test_data): New variable.
20392         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20393         (rint_upward_test_data): New variable.
20394         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20395         (round_test_data): New variable.
20396         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20397         (sin_test_data): New variable.
20398         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20399         (sin_tonearest_test_data): New variable.
20400         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20401         (sin_towardzero_test_data): New variable.
20402         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20403         (sin_downward_test_data): New variable.
20404         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20405         (sin_upward_test_data): New variable.
20406         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20407         (sinh_test_data): New variable.
20408         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20409         (sinh_tonearest_test_data): New variable.
20410         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20411         (sinh_towardzero_test_data): New variable.
20412         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20413         (sinh_downward_test_data): New variable.
20414         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20415         (sinh_upward_test_data): New variable.
20416         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20417         (sqrt_test_data): New variable.
20418         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20419         (tan_test_data): New variable.
20420         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20421         (tan_tonearest_test_data): New variable.
20422         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20423         (tan_towardzero_test_data): New variable.
20424         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20425         (tan_downward_test_data): New variable.
20426         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20427         (tan_upward_test_data): New variable.
20428         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20429         (tanh_test_data): New variable.
20430         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20431         (tgamma_test_data): New variable.
20432         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20433         (trunc_test_data): New variable.
20434         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20435         (y0_test_data): New variable.
20436         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20437         (y1_test_data): New variable.
20438         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20439         (significand_test_data): New variable.
20440         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20441
20442 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20443
20444         [BZ #12387]
20445         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20446
20447 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20448
20449         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20450
20451 2013-05-10  Andreas Jaeger  <aj@suse.de>
20452
20453         [BZ #15448]
20454         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20455         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20456
20457 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20458
20459         * math/gen-libm-test.pl (adjust_arg): New function.
20460         (special_functions): Handle generating output in both functions
20461         and arrays.
20462         (parse_args): Likewise.
20463         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20464         $in_func argument to parse_args.
20465         * math/libm-test.inc (struct test_f_f_data): New type.
20466         (IF_ROUND_INIT_): New macro.
20467         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20468         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20469         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20470         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20471         (ROUND_RESTORE_): Likewise.
20472         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20473         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20474         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20475         (ROUND_RESTORE_FE_UPWARD): Likewise.
20476         (RUN_TEST_LOOP_f_f): New macro.
20477         (acos_test_data): New variable.
20478         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20479         (acos_tonearest_test_data): New variable.
20480         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20481
20482 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20483
20484         * benchtests/bench-skeleton.c (startup): Fix coding style.
20485
20486 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20487
20488         [BZ #6809]
20489         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20490         negative infinity argument.
20491         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20492         negative infinity argument.
20493         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20494         negative infinity argument.
20495         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20496         domain errors.
20497
20498 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20499
20500         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20501         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20502         * iconv/iconv_prog.c (main): Likewise.
20503         * locale/programs/charmap-dir.c (charmap_readdir)
20504         (fopen_uncompressed): Likewise.
20505         * locale/programs/locfile.c (siblings_uncached)
20506         (write_locale_data): Use lstat64 instead of lstat.
20507         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20508         stat.
20509
20510 2013-05-10  Andreas Jaeger  <aj@suse.de>
20511
20512         [BZ #15395]
20513         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20514         localization.
20515         Include <locale.h>.
20516
20517 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20518
20519         * elf/dl-close.c (_dl_close_worker): Add comments.
20520
20521 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20522
20523         [BZ #15359]
20524         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20525         high part of pi/2.
20526         (__ieee754_rem_pio2l): Update comments.
20527
20528         [BZ #15429]
20529         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20530         high part of pi/2.
20531         (__ieee754_rem_pio2l): Update comments.
20532
20533         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20534         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20535
20536         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20537         M_PI_4l.
20538
20539         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20540         (M_PI_34_LOG10El): Likewise.
20541         (M_PI2_LOG10El): Likewise.
20542         (M_PI4_LOG10El): Likewise.
20543         (M_PI_LOG10El): Likewise.
20544
20545 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20546
20547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20548
20549 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20550
20551         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20552         (MINUS_ZERO_INIT): Likewise.
20553         (PLUS_INFTY_INIT): Likewise.
20554         (MINUS_INFTY_INIT): Likewise.
20555         (QNAN_VALUE_INIT): Likewise.
20556         (MAX_VALUE_INIT): Likewise.
20557         (MIN_VALUE_INIT): Likewise.
20558         (MIN_SUBNORM_VALUE_INIT): Likewise.
20559         (plus_zero): Initialize with PLUS_ZERO_INIT.
20560         (minus_zero): Initialize with MINUS_ZERO_INIT.
20561         (plus_infty): Initialize with PLUS_INFTY_INIT.
20562         (minus_infty): Initialize with MINUS_INFTY_INIT.
20563         (qnan_value): Initialize with QNAN_VALUE_INIT.
20564         (max_value): Initialize with MAX_VALUE_INIT.
20565         (min_value): Initialize with MIN_VALUE_INIT.
20566         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20567
20568         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20569         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20570         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20571         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20572
20573         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20574         (RUN_TEST_2_f): Likewise.
20575         (RUN_TEST_ff_f): Likewise.
20576         (RUN_TEST_fi_f): Likewise.
20577         (RUN_TEST_fl_f): Likewise.
20578         (RUN_TEST_fff_f): Likewise.
20579         (RUN_TEST_c_f): Likewise.
20580         (RUN_TEST_f_f1): Likewise.
20581         (RUN_TEST_fF_f1): Likewise.
20582         (RUN_TEST_fI_f1): Likewise.
20583         (RUN_TEST_ffI_f1): Likewise.
20584         (RUN_TEST_c_c): Likewise.
20585         (RUN_TEST_cc_c): Likewise.
20586         (RUN_TEST_f_i): Likewise.
20587         (RUN_TEST_f_i_tg): Likewise.
20588         (RUN_TEST_ff_i_tg): Likewise.
20589         (RUN_TEST_f_b): Likewise.
20590         (RUN_TEST_f_b_tg): Likewise.
20591         (RUN_TEST_f_l): Likewise.
20592         (RUN_TEST_f_L): Likewise.
20593         (RUN_TEST_sincos): Likewise.
20594         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20595         whether to show exceptions.  Do not include ");\n" in return
20596         value.
20597         (special_functions): Output call to RUN_TEST_sincos instead of
20598         check_float calls.  Update calls to new_test.
20599         (parse_args): Output call to single RUN_TEST_* macro instead of
20600         check_* calls and other assignments.  Update calls to new_test.
20601
20602         [BZ #2546]
20603         [BZ #2560]
20604         [BZ #5159]
20605         [BZ #15426]
20606         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20607         input to result for tgamma overflow.
20608         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20609         (gamma_coeff): New variable.
20610         (NCOEFF): New macro.
20611         (gamma_positive): New function.
20612         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20613         underflow here.  Use gamma_positive instead of exp (lgamma) for
20614         other arguments.
20615         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20616         (gamma_coeff): New variable.
20617         (NCOEFF): New macro.
20618         (gammaf_positive): New function.
20619         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20620         underflow here.  Use gamma_positive instead of exp (lgamma) for
20621         other arguments.
20622         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20623         (gamma_coeff): New variable.
20624         (NCOEFF): New macro.
20625         (gammal_positive): New function.
20626         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20627         underflow here.  Use gamma_positive instead of exp (lgamma) for
20628         other arguments.
20629         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20630         (gamma_coeff): New variable.
20631         (NCOEFF): New macro.
20632         (gammal_positive): New function.
20633         (__ieee754_gammal_r): Handle positive infinity, overflow and
20634         underflow here.  Handle NaN the same as positive infinity.  Remove
20635         check x < 0xffffffff for negative integers.  Use gamma_positive
20636         instead of exp (lgamma) for other arguments.
20637         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20638         (gamma_coeff): New variable.
20639         (NCOEFF): New macro.
20640         (gammal_positive): New function.
20641         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20642         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20643         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20644         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20645         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20646         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20647         * sysdeps/generic/math_private.h (__gamma_productf): New
20648         prototype.
20649         (__gamma_product): Likewise.
20650         (__gamma_productl): Likewise.
20651         * math/Makefile (libm-calls): Add gamma_product.
20652         * math/libm-test.inc (tgamma_test): Add more tests.
20653         * sysdeps/i386/fpu/libm-test-ulps: Update.
20654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20655
20656 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20657
20658         * benchtests/bench-skeleton.c (main): Preheat CPU.
20659
20660 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20661
20662         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20663
20664 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20665
20666         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20667         and _dl_skip_args_internal.
20668
20669 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20670
20671         * manual/message.texi (Message Translation): Talk about users.
20672         Message to key mapping impacts design.
20673
20674 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20675
20676         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20677
20678         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20679
20680         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20681         * sysdeps/wordsize-64/glob64.c: ... here.
20682
20683         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20684         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20685         New macros.
20686
20687         * debug/getlogin_r_chk.c: Moved to ...
20688         * login/getlogin_r_chk.c: ... here.
20689         * debug/Makefile (routines): Move getlogin_r_chk to ...
20690         * login/Makefile (routines): ... here.
20691         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20692         * login/Versions (libc: GLIBC_2.4): ... here.
20693
20694         * io/poll.c (__poll): Renamed from poll.
20695         Add libc_hidden_def.
20696         (poll): Define as weak alias.
20697
20698         * debug/ptsname_r_chk.c: Moved to ...
20699         * login/ptsname_r_chk.c: ... here.
20700         * debug/Makefile (routines): Move ptsname_r_chk to ...
20701         * login/Makefile (routines): ... here.
20702         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20703         * login/Versions (libc: GLIBC_2.4): ... here.
20704
20705         * posix/getlogin.c: Moved to ...
20706         * login/getlogin.c: ... here.
20707         * posix/getlogin_r.c: Moved to ...
20708         * login/getlogin_r.c: ... here.
20709         * posix/getlogin_r.c: Moved to ...
20710         * login/getlogin_r.c: ... here.
20711         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20712         * login/Makefile (routines): ... here.
20713         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20714         * login/Versions (libc: GLIBC_2.0): ... here.
20715
20716         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20717         (setrlimit): Define as weak alias.
20718
20719         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20720         Call __ names for open, ftruncate, and close.
20721         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20722         (truncate): Define as weak alias.
20723
20724 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20725
20726         * math/gen-libm-test.pl (parse_args): Initialize x before each
20727         test of frexp, modf and remquo.
20728
20729         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20730         test signgam value.
20731
20732 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20733
20734         [BZ #15418]
20735         [BZ #15419]
20736         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20737         internal tests.
20738         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20739
20740 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20741
20742         * elf/dl-writev.h: New file.
20743         * elf/dl-misc.c: Include it.
20744         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20745         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20746
20747 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20748
20749         * math/libm-test.inc (noXFails): Remove variable.
20750         (noXPasses): Likewise.
20751         (BUILD_COMPLEX_INT): Remove macro.
20752         (print_screen): Remove xfail argument.
20753         (print_screen_max_error): Likewise.
20754         (update_stats): Likewise.
20755         (print_max_error): Likewise.  Update calls to other affected
20756         functions.
20757         (print_complex_max_error): Likewise.
20758         (test_single_exception): Update calls to print_screen.
20759         (test_single_errno): Likewise.
20760         (check_float_internal): Remove xfail argument.  Update calls to
20761         other affected functions.
20762         (check_float): Likewise.
20763         (check_complex): Likewise.
20764         (check_int): Likewise.
20765         (check_long): Likewise.
20766         (check_bool): Likewise.
20767         (check_longlong): Likewise.
20768         (main): Don't print noXFails and noXPasses.
20769         * math/gen-libm-test.pl (top level): Don't mention expected
20770         failure handling in comment.
20771         (new_test): Don't handle expected failures.
20772         (parse_args): Don't mention expected failure handling in comment.
20773         (generate_testfile): Don't handle expected failures.
20774         (parse_ulps): Likewise.
20775         (print_ulps_file): Likewise.
20776         (get_failure): Remove function.
20777         (output_test): Don't handle expected failures.
20778         * make/README.libm-test: Don't mention expected failure handling.
20779
20780         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20781         (minus_zero): Likewise.
20782         (plus_infty): Likewise.
20783         (minus_infty): Likewise.
20784         (qnan_value): Likewise.
20785         (max_value): Likewise.
20786         (min_value): Likewise.
20787         (min_subnorm_value): Likewise.
20788         (initialize): Do not initialize those variables dynamically.
20789
20790 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20791
20792         * io/open.c (__open_2): Moved to ...
20793         * io/open_2.c: ... this new file.
20794         * io/open64.c (__open64_2): Moved to ...
20795         * io/open64_2.c: ... this new file.
20796         * io/openat.c (__openat_2): Moved to ...
20797         * io/openat_2.c: ... this new file.
20798         * io/openat64.c (__openat64_2): Moved to ...
20799         * io/openat64_2.c: ... this new file.
20800         * io/Makefile (routines): Add them.
20801         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20802         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20803         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20804         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20805         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20806         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20807         (__openat64): Add hidden_ver.
20808         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20809         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20810
20811         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20812         Separately conditionalize setting of GLRO(dl_sysinfo) so
20813         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20814         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20815
20816 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20817
20818         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20819         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20820         definition.
20821         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20822         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20823         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20824         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20825         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20826
20827 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20828
20829         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20830         test signgam value.
20831
20832         * math/libm-test.inc (hypot_test): Do not use
20833         IGNORE_ZERO_INF_SIGN.
20834
20835 2013-05-03  Andreas Jaeger  <aj@suse.de>
20836
20837         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20838         Linux 3.9.
20839         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20840         (PF_MAX): Adjust for VSOCK change.
20841
20842 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20843
20844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20845
20846 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20847
20848         [BZ #15264]
20849         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20850         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20851         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20852
20853 2013-05-02  David S. Miller  <davem@davemloft.net>
20854
20855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20856
20857 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20858
20859         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20860
20861 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20862
20863         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20864
20865 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20866
20867         [BZ #14952]
20868         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20869         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20870         Use __attribute__ ((__gnu_inline__)).
20871         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20872         Don't use __attribute__ ((__gnu_inline__)).
20873
20874 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20875
20876         [BZ #15423]
20877         * math/s_catan.c (__catan): Handle small real or imaginary part of
20878         input specially to avoid spurious underflow.
20879         * math/s_catanf.c (__catanf): Likewise.
20880         * math/s_catanh.c (__catanh): Likewise.
20881         * math/s_catanhf.c (__catanhf): Likewise.
20882         * math/s_catanhl.c (__catanhl): Likewise.
20883         * math/s_catanl.c (__catanl): Likewise.
20884         * math/libm-test.inc (catan_test): Add more tests.
20885         (catanh_test): Likewise.
20886         * sysdeps/i386/fpu/libm-test-ulps: Update.
20887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20888
20889 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20890
20891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20892
20893 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20894
20895         [BZ #15416]
20896         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20897         accurately for denominator in atan2.
20898         * math/s_catanf.c (__catanf): Likewise.
20899         * math/s_catanh.c (__catanh): Likewise.
20900         * math/s_catanhf.c (__catanhf): Likewise.
20901         * math/s_catanhl.c (__catanhl): Likewise.
20902         * math/s_catanl.c (__catanl): Likewise.
20903         * math/libm-test.inc (catan_test): Add more tests.
20904         (catanh_test): Likewise.
20905         * sysdeps/i386/fpu/libm-test-ulps: Update.
20906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20907
20908 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20909
20910         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20911
20912         * benchtests/Makefile (bench): Remove slow benchmarks.
20913         * benchtests/atan-inputs: Add slow benchmark inputs.
20914         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20915         (BENCH_FUNC): Accept variant offset.
20916         (VARIANT): Define.
20917         * benchtests/bench-skeleton.c (main): Run benchmark for each
20918         variant.
20919         * benchtests/cos-inputs: Add slow benchmark inputs.
20920         * benchtests/exp-inputs: Likewise.
20921         * benchtests/pow-inputs: Likewise.
20922         * benchtests/sin-inputs: Likewise.
20923         * benchtests/slowatan-inputs: Remove.
20924         * benchtests/slowatan.c: Remove.
20925         * benchtests/slowcos-inputs: Remove.
20926         * benchtests/slowcos.c: Remove.
20927         * benchtests/slowexp-inputs: Remove.
20928         * benchtests/slowexp.c: Remove.
20929         * benchtests/slowpow-inputs: Remove.
20930         * benchtests/slowpow.c: Remove.
20931         * benchtests/slowsin-inputs: Remove.
20932         * benchtests/slowsin.c: Remove.
20933         * benchtests/slowtan-inputs: Remove.
20934         * benchtests/slowtan.c: Remove.
20935         * benchtests/tan-inputs: Add slow benchmark inputs.
20936         * scripts/bench.pl: Parse comments and directives.
20937
20938         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20939         in CPPFLAGS.
20940         ($(objpfx)bench-%.c): Remove *-ITER.
20941         * benchtests/bench-modf.c: Remove definition of ITER.
20942         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20943         (main): Loop for DURATION seconds instead of fixed number of
20944         iterations.
20945         * scripts/bench.pl: Don't expect iterations in parameters.
20946
20947 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20948
20949         * io/fchdir.c (__fchdir): Renamed from fchdir.
20950         (fchdir): Define as weak alias.
20951
20952 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20953
20954         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20955         (ERRNO_EDOM): Likewise.
20956         (ERRNO_ERANGE): Likewise.
20957         (noErrnoTests): New variable.
20958         (init_max_error): Set errno to 0.
20959         (test_single_errno): New function.
20960         (test_errno): Likewise.
20961         (check_float_internal): Call test_errno.  Set errno to 0.
20962         (check_complex): Refer to errno tests in comment.
20963         (check_int): Call test_errno.  Set errno to 0.
20964         (check_long): Likewise.
20965         (check_bool): Likewise.
20966         (check_longlong): Likewise.
20967         (cos_test): Use ERRNO_* flags for errno tests instead of
20968         check_int.
20969         (expm1_test): Likewise.
20970         (fmod_test): Likewise.
20971         (ilogb_test): Likewise.
20972         (lgamma_test): Likewise.
20973         (pow_test): Likewise.
20974         (remainder_test): Likewise.
20975         (sin_test): Likewise.
20976         (tan_test): Likewise.
20977         (yn_test): Likewise.
20978         (initialize): Set errno to 0.
20979         (main): Print number of errno tests.
20980         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20981
20982 2013-04-29  Andreas Jaeger  <aj@suse.de>
20983
20984         [BZ #15084]
20985         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20986         and RES_USEVC.
20987
20988         [BZ #15085]
20989         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20990         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20991         unimplemented.
20992
20993         [BZ #15380]
20994         * stdlib/random.c (__initstate): Return NULL if
20995         __initstate fails.
20996
20997         [BZ #15086]
20998         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20999         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21000         RES_SNGLKUPREOP.
21001
21002 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21003
21004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21005
21006 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21007
21008         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21009         of individual tests.
21010         (casin_test): Likewise.
21011         (casinh_test): Likewise.
21012
21013 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21014
21015         [BZ #15409]
21016         * math/s_catan.c (__catan): Handle arguments with large real or
21017         imaginary part separately without squaring.
21018         * math/s_catanf.c (__catanf): Likewise.
21019         * math/s_catanh.c (__catanh): Likewise.
21020         * math/s_catanhf.c (__catanhf): Likewise.
21021         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21022         and redefine.
21023         (__catanhl): Handle arguments with large real or imaginary part
21024         separately without squaring.
21025         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21026         and redefine.
21027         (__catanl): Handle arguments with large real or imaginary part
21028         separately without squaring.
21029         * math/libm-test.inc (catan_test): Add more tests.
21030         (catanh_test): Likewise.
21031         * sysdeps/i386/fpu/libm-test-ulps: Update.
21032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21033
21034 2013-04-27  Andreas Jaeger  <aj@suse.de>
21035
21036         [BZ #15007]
21037         * stdlib/stdlib.h: Update guards for qecvt.
21038         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21039         <stdlib.h>.
21040
21041 2013-04-27  Allan McRae  <allan@archlinux.org>
21042
21043         * sysdeps/i386/fpu/libm-test-ulps: Update.
21044
21045 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21046
21047         [BZ #15406]
21048         * math/s_catan.c: Include <float.h>.
21049         (__catan): Ensure underflow exception occurs for underflowed
21050         result.
21051         * math/s_catanf.c: Include <float.h>.
21052         (__catanf): Ensure underflow exception occurs for underflowed
21053         result.
21054         * math/s_catanh.c: Include <float.h>.
21055         (__catanh): Ensure underflow exception occurs for underflowed
21056         result.
21057         * math/s_catanhf.c: Include <float.h>.
21058         (__catanhf): Ensure underflow exception occurs for underflowed
21059         result.
21060         * math/s_catanhl.c: Include <float.h>.
21061         (__catanhl): Ensure underflow exception occurs for underflowed
21062         result.
21063         * math/s_catanl.c: Include <float.h>.
21064         (__catanl): Ensure underflow exception occurs for underflowed
21065         result.
21066         * math/libm-test.inc (catan_test): Add more tests.
21067         (catanh_test): Likewise.
21068
21069         [BZ #15405]
21070         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21071         underflowed result.
21072         * math/s_ccoshf.c (__ccoshf): Likewise.
21073         * math/s_ccoshl.c (__ccoshl): Likewise.
21074         * math/s_csin.c (__csin): Likewise.
21075         * math/s_csinf.c (__csinf): Likewise.
21076         * math/s_csinh.c (__csinh): Likewise.
21077         * math/s_csinhf.c (__csinhf): Likewise.
21078         * math/s_csinhl.c (__csinhl): Likewise.
21079         * math/s_csinl.c (__csinl): Likewise.
21080         * math/libm-test.inc (ccos_test): Add more tests.
21081         (ccosh_test): Likewise.
21082         (csin_test): Likewise.
21083         (csinh_test): Likewise.
21084
21085 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21086
21087         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21088         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21089         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21090         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21091         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21092         powerpc/power5+/fpu folders.
21093         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21094
21095
21096 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21097
21098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21099
21100 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21101
21102         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21103         additions to variable.
21104         [$(config-machine) = x86_64] (modules-names): Likewise.
21105         ($(objpfx)tst-audit3): Remove dependency.
21106         ($(objpfx)tst-audit3.out): Likewise.
21107         ($(objpfx)tst-audit4): Likewise.
21108         ($(objpfx)tst-audit4.out): Likewise.
21109         ($(objpfx)tst-audit5): Likewise.
21110         ($(objpfx)tst-audit5.out): Likewise.
21111         ($(objpfx)tst-audit6): Likewise.
21112         ($(objpfx)tst-audit6.out): Likewise.
21113         ($(objpfx)tst-audit7): Likewise.
21114         ($(objpfx)tst-audit7.out): Likewise.
21115         (tst-audit3-ENV): Remove variable.
21116         (tst-audit4-ENV): Likewise.
21117         (tst-audit5-ENV): Likewise.
21118         (tst-audit6-ENV): Likewise.
21119         (tst-audit7-ENV): Likewise.
21120         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21121         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21122         addition to variable.
21123         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21124         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21125         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21126         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21127         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21128         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21129         tst-audit3, tst-audit4 and tst-audit5.
21130         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21131         tst-audit6 and tst-audit7.
21132         [$(subdir) = elf] (modules-names): Add audit modules for those
21133         tests.
21134         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21135         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21136         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21137         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21138         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21139         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21140         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21141         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21142         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21143         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21144         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21145         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21146         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21147         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21148         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21149         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21150         Likewise.
21151         [$(subdir) = elf && $(config-cflags-avx) = yes]
21152         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21153         [$(subdir) = elf && $(config-cflags-avx) = yes]
21154         (CFLAGS-tst-auditmod4a.c): Likewise.
21155         [$(subdir) = elf && $(config-cflags-avx) = yes]
21156         (CFLAGS-tst-auditmod4b.c): Likewise.
21157         [$(subdir) = elf && $(config-cflags-avx) = yes]
21158         (CFLAGS-tst-auditmod6b.c): Likewise.
21159         [$(subdir) = elf && $(config-cflags-avx) = yes]
21160         (CFLAGS-tst-auditmod6c.c): Likewise.
21161         [$(subdir) = elf && $(config-cflags-avx) = yes]
21162         (CFLAGS-tst-auditmod7b.c): Likewise.
21163         * elf/tst-audit3.c: Move to ...
21164         * sysdeps/x86_64/tst-audit3.c: ... here.
21165         * elf/tst-audit4.c: Move to ...
21166         * sysdeps/x86_64/tst-audit4.c: ... here.
21167         * elf/tst-audit5.c: Move to ...
21168         * sysdeps/x86_64/tst-audit5.c: ... here.
21169         * elf/tst-audit6.c: Move to ...
21170         * sysdeps/x86_64/tst-audit6.c: ... here.
21171         * elf/tst-audit7.c: Move to ...
21172         * sysdeps/x86_64/tst-audit7.c: ... here.
21173         * elf/tst-auditmod3a.c: Move to ...
21174         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21175         * elf/tst-auditmod3b.c: Move to ...
21176         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21177         * elf/tst-auditmod4a.c: Move to ...
21178         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21179         * elf/tst-auditmod4b.c: Move to ...
21180         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21181         * elf/tst-auditmod5a.c: Move to ...
21182         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21183         * elf/tst-auditmod5b.c: Move to ...
21184         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21185         * elf/tst-auditmod6a.c: Move to ...
21186         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21187         * elf/tst-auditmod6b.c: Move to ...
21188         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21189         * elf/tst-auditmod6c.c: Move to ...
21190         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21191         * elf/tst-auditmod7a.c: Move to ...
21192         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21193         * elf/tst-auditmod7b.c: Move to ...
21194         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21195
21196 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21197
21198         [BZ #15366]
21199         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21200         define unconditionally.
21201         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21202         define unconditionally.
21203         (INT8_C, INT16_C, etc.): Likewise.
21204
21205 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21206
21207         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21208         __ehdr_start with hidden visibility.
21209
21210         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21211
21212 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21213
21214         * math/libm-test.inc (cos_test): Use accurate hex constants.
21215         (sincost_test): Likewise.
21216
21217 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21218
21219         * math/libm-test.inc (catan_test): Add more tests.
21220         (catanh_test): Likewise.
21221
21222         * math/s_catanf.c (__catanf): Use suffixed floating-point
21223         constants.
21224         * math/s_catanhf.c (__catanhf): Likewise.
21225         * math/s_catanhl.c (__catanhl): Likewise.
21226         * math/s_catanl.c (__catanl): Likewise.
21227
21228         [BZ #15394]
21229         * math/s_catan.c (__catan): Calculate imaginary part of result
21230         with log1p not log unless computing log of number close to 0.
21231         * math/s_catanf.c (__catanf): Likewise.
21232         * math/s_catanl.c (__catanl): Likewise.
21233         * math/s_catanh.c (__catanh): Calculate real part of result with
21234         log1p not log unless computing log of number close to 0.
21235         * math/s_catanhf.c (__catanhf): Likewise.
21236         * math/s_catanhl.c (__catanhl): Likewise.
21237         * math/libm-test.inc (catan_test): Add more tests.
21238         (catanh_test): Likewise.
21239         * sysdeps/i386/fpu/libm-test-ulps: Update.
21240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21241
21242 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21243
21244         * benchtests/Makefile: Mention files in which fast and slow
21245         paths of math functions are implemented.
21246
21247 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21248
21249         * sysdeps/posix/timespec_get.c: New file.
21250
21251 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21252
21253         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21254         POWER.
21255         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21256         for POWER.
21257         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21258         powerpc/power5/fpu folders.
21259         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21260         * benchtests/Makefile: Add modf testcase.
21261         * benchtests/bench-modf.c: New file: Benchmark test for mo
21262
21263 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21264
21265         [BZ #14888]
21266         * time/Makefile (tests): Add tst-strptime-whitespace.
21267         * time/strptime_l.c (get_number): Use ISSPACE.
21268         (__strptime_internal): Likewise.
21269         * time/tst-strptime-whitespace.c: New test case.
21270
21271 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21272
21273         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21274         member.
21275         (_nss_files_init): Set it here.
21276
21277 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21278
21279         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21280         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21281         unsigned.
21282
21283 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21284
21285         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21286
21287 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21288
21289         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21290         size just once.
21291
21292 2013-04-21  David S. Miller  <davem@davemloft.net>
21293
21294         * po/ru.po: Update Russion translation from translation project.
21295
21296 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21297
21298         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21299         and setfsgid.
21300
21301 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21302
21303         * configure.in: Remove i386 configure warning. Remove i386 case.
21304         * configure: Regenerate.
21305         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21306         Add example to error message.
21307         * sysdeps/i386/configure: Regenerate.
21308
21309 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21310
21311         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21312         slowtan.
21313         * benchtests/cos-inputs: New file.
21314         * benchtests/slowcos-inputs: New file.
21315         * benchtests/slowcos.c: New file.
21316         * benchtests/slowtan-inputs: New file.
21317         * benchtests/slowtan.c: New file.
21318         * benchtests/tan-inputs: New file.
21319
21320 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21321
21322         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21323         considered kosher.
21324
21325 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21326
21327         * benchtests/Makefile: Include cppflags-iterator.mk to add
21328         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21329
21330         * Makefile.in (bench-clean): New target.
21331         * benchtests/Makefile (bench-clean): Likewise.
21332
21333 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21334
21335         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21336
21337 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21338
21339         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21340
21341 2013-04-15  Andreas Schwab  <schwab@suse.de>
21342
21343         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21344         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21345         * nscd/pwdcache.c (cache_addpw): Likewise.
21346         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21347         more than recsize.
21348
21349 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21350
21351         * benchtests/Makefile (bench): Write all output to
21352         bench-out.tmp together.
21353
21354 2013-04-15  Andreas Schwab  <schwab@suse.de>
21355
21356         * nscd/nscd.c (main): Don't fork again after closing files.
21357
21358 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21359
21360         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21361
21362         * benchtests/Rules (bench-deps): Collect dependencies into a
21363         single variable.  Add Makefile to dependencies.
21364         ($(objpfx)bench-%.c): Depend on bench-deps.
21365
21366 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21367             Xavier Roche  <roche+kml2@exalead.com>
21368
21369         [BZ #15361]
21370         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21371         just that it's a file descriptor.
21372         * manual/llio.texi (Synchronizing AIO Operations): Update description
21373         for EBADF error from aio_fsync.
21374
21375 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21376
21377         * Rules (bench): Move target definition...
21378         * benchtests/Makefile: ... here.
21379
21380 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21381
21382         * math/libm-test.inc (cos_test): Fix PI/2 test.
21383         (sincos_test): Likewise.
21384         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21385         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21386
21387 2013-04-11  Andreas Schwab  <schwab@suse.de>
21388
21389         [BZ #13988]
21390         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21391         accept exponent character only when digits were seen.
21392         * stdio-common/Makefile (tests): Add bug26.
21393         * stdio-common/bug26.c: New file.
21394
21395         [BZ #14293]
21396         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21397         non-freeable.
21398
21399 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21400
21401         * Makeconfig (rtld-prefix): Define built linker prefix.
21402         * Rules (run-bench): Use it.
21403         * math/Makefile (run-regen-ulps): Likewise.
21404
21405         * Rules (bench): Remove eval.
21406
21407 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21408             Roland McGrath  <roland@hack.frob.com>
21409             Ondrej Bilka  <neleai@seznam.cz>
21410
21411         [BZ #15346]
21412         * time/getdate.c: Include ctype.h and alloca.h.
21413         (__getdate_r): Trim leading and trailing spaces of input.
21414         * time/tst-getdate.c (tests): Add tests with leading and
21415         trailing spaces.
21416
21417 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21418
21419         [BZ #14280]
21420         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21421         when computing value.
21422
21423 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21424
21425         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21426         Use testrun.sh to run libm tests.
21427
21428         [BZ #15309]
21429         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21430
21431 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21432
21433         [BZ #15264]
21434         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21435
21436 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21437
21438         * Makefile.in (regen-ulps): New target.
21439         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21440         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21441         [ifneq (no,$(PERL)] (regen-ulps): New target.
21442         [ifeq (no,$(PERL)] (regen-ulps): New target.
21443         * math/libm-test.inc (ulps_file_name): Define.
21444         (output_dir): New variable.
21445         (options): Add "output-dir" option.
21446         (parse_opt): Handle 'o' case.
21447         (main): If output_dir is non-NULL use it as a prefix
21448         otherwise use "".
21449         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21450
21451 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21452
21453         [BZ #10060, #10062]
21454         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21455         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21456         fail configure if __sync_val_compare_and_swap is not inlined.
21457         * sysdeps/i386/configure: Regenerate.
21458         * configure.in: Build for i686 when configured for i386.
21459         * configure: Regenerate.
21460         * README: Remove i386 reference.
21461
21462 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21463
21464         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21465         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21466
21467 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21468
21469         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21470         (lmsnanval): New variables.
21471         (F): Add conversion tests.
21472         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21473         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21474
21475         * stdio-common/tstdiomisc.c (F): Properly collect individual
21476         tests' results.
21477
21478         [BZ #14686, #15336]
21479         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21480         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21481         Instead, use input NaN values or generate a qNaN by arithmetic
21482         operation.  Also fix bugs to comply with the standard.
21483         * math/libm-test.inc (remainder_test): Add more tests.
21484
21485         [BZ #15335, #15342]
21486         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21487         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21488         input NaN values or generate a qNaN by arithmetic operation.
21489
21490         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21491         unreachable code.
21492
21493         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21494         definitions.
21495
21496 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21497
21498         [BZ #14478]
21499         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21500         underflowed result.
21501         * math/s_cexpf.c (__cexpf): Likewise.
21502         * math/s_cexpl.c (__cexpl): Likewise.
21503         * math/libm-test.inc (cexp_test): Add more tests.
21504
21505 2013-04-03  Andreas Schwab  <schwab@suse.de>
21506
21507         [BZ #15330]
21508         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21509         order arrays from heap if bigger than alloca cutoff.
21510
21511 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21512
21513         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21514         (SNAN_TESTS_double): Refer to GCC PR56831.
21515         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21516         GCC PR56828.
21517
21518 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21519
21520         * Rules (bench): Move bench.out after the run is complete.
21521
21522         * Rules (bench): Echo currently running benchmark.
21523
21524         * benchtests/Makefile (bench): Add atan and slowatan.
21525         * benchtests/atan-inputs: New file.
21526         * benchtests/slowatan-inputs: New file.
21527         * benchtests/slowatan.c: New file.
21528
21529         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21530         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21531         its value.
21532
21533         [BZ #15305]
21534         * sysdeps/unix/sysv/linux/kernel-features.h
21535         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21536         __ASSUME_XFS_RESTRICTED_CHOWN.
21537         * sysdeps/unix/sysv/linux/pathconf.c
21538         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21539         Save and restore errno.
21540
21541 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21542
21543         [BZ #15327]
21544         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21545         arguments using __kernel_casinh.
21546         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21547         arguments using __kernel_casinhf.
21548         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21549         arguments using __kernel_casinhl.
21550         * math/libm-test.inc (cacosh_test): Add more tests.
21551         * sysdeps/i386/fpu/libm-test-ulps: Update.
21552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21553
21554 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21555
21556         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21558
21559         * bench/Makefile (bench): Add sin and slowsin.
21560         * benchtests/sin-inputs: New file.
21561         * benchtests/slowsin-inputs: New file.
21562         * benchtests/slowsin.c: New file.
21563
21564         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21565         (bench): Add slowexp and slowpow.
21566         (exp-ITER): Increase iterations.
21567         (pow-ITER): Likewise.
21568         * benchtests/exp-inputs: Change input.
21569         * benchtests/pow-inputs: Likewise.
21570         * benchtests/slowexp-inputs: New file.
21571         * benchtests/slowexp.c: New file.
21572         * benchtests/slowpow-inputs: New file.
21573         * benchtests/slowpow.c: New file.
21574
21575 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21576
21577         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21578         instructions.
21579         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21580         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21581         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21582         * benchtests/Makefile: Add rint benchtest.
21583         * benchtests/rint-inputs: Input for rint benchtest.
21584
21585 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21586
21587         * Versions.def (libm): Add GLIBC_2.18.
21588         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21589         hidden libm prototypes.
21590         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21591         * math/Makefile (libm-calls): Add s_issignaling.
21592         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21593         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21594         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21595         declaration.
21596         * math/math.h [__USE_GNU] (issignaling): New macro.
21597         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21598         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21599         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21600         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21601         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21602         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21603         * manual/arith.texi (issignaling): New section.
21604         * manual/libm-err-tab.pl (@all_functions): Update comment.
21605         * math/gen-libm-test.pl (parse_args): Apply special handling for
21606         issignaling.
21607         * math/libm-test.inc (print_float, issignaling_test): New
21608         functions.
21609         (check_float_internal): Add issignaling checks.
21610         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21611         default definition.
21612         * sysdeps/powerpc/math-tests.h: New file.
21613         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21614         tests.
21615         * math/test-snan.c (TEST_FUNC): Likewise.
21616
21617 2013-03-30  David S. Miller  <davem@davemloft.net>
21618
21619         * po/de.po: Update from translation team.
21620
21621 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21622
21623         [BZ #10357]
21624         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21625         imaginary part less than 1.0 and real part less than 0.5
21626         specially.
21627         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21628         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21629         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21630         (cacos_test): Add more tests.
21631         (casin_test): Likewise.
21632         (casinh_test): Likewise.
21633         * sysdeps/i386/fpu/libm-test-ulps: Update.
21634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21635
21636 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21637
21638         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21639         ONE with its value.
21640
21641         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21642         (__pow_mp): Replace ONE and MONE with their values.
21643         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21644         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21645         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21646         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21647         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21648         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21649
21650         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21651
21652         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21653         (__pow_mp): Replace ZERO and MZERO with their values.
21654         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21655         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21656         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21657         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21658         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21659         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21660         (__sqr): Likewise.
21661
21662         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21663
21664         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21665
21666 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21667
21668         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21669         Declare with __attribute__ ((weak)).
21670         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21671         Call __call_tls_dtors only if it's not NULL.
21672
21673 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21674
21675         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21676         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21677         magic __ehdr_start linker symbol if it's defined.
21678         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21679         them up here if it was already done.
21680
21681         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21682         (_dl_aux_init): Use const in cast when setting it.
21683         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21684         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21685         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21686
21687         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21688         Declare them here.
21689         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21690         * csu/libc-tls.c: Nor here.
21691         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21692
21693         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21694         (__libc_message): Never call vsyslog.
21695
21696 2013-03-28  Alan Modra  <amodra@gmail.com>
21697
21698         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21699         Define as empty.
21700         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21701         Likewise.
21702
21703 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21704
21705         [BZ #15214]
21706         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21707         underflow.
21708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21709
21710 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21711
21712         [BZ #15304]
21713         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21714         Don't add gid passed as argument.
21715
21716         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21717
21718 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21719
21720         [BZ #15307]
21721         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21722         imaginary part between 1.0 and 1.5 and real part less than 0.5
21723         specially.
21724         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21725         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21726         * math/libm-test.inc (cacos_test): Add more tests.
21727         (casin_test): Likewise.
21728         (casinh_test): Likewise.
21729         * sysdeps/i386/fpu/libm-test-ulps: Update.
21730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21731
21732 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21733
21734         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21735         constants.
21736         (norm): Likewise.
21737         (denorm): Likewise.
21738         (__dbl_mp): Likewise.
21739         (add_magnitudes): Likewise.
21740         (sub_magnitudes): Likewise.
21741         (__add): Likewise.
21742         (__sub): Likewise.
21743         (__mul): Likewise.
21744         (__sqr): Likewise.
21745         (__inv): Likewise.
21746         (__dvd): Likewise.
21747
21748         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21749         commented code.
21750         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21751         (__dubcos): Likewise.
21752         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21753         (__ieee754_acos): Likewise.
21754         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21755         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21756         (__exp1): Likewise.
21757         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21759         (log1): Likewise.
21760         (my_log2): Likewise.
21761         (checkint): Likewise.
21762         * sysdeps/ieee754/dbl-64/e_remainder.c
21763         (__ieee754_remainder): Likewise.
21764         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21765         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21766         (bsloww): Likewise.
21767         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21768
21769         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21770         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21771         MANTISSA_STORE_T to store computations on mantissa.  Use
21772         macros for rounding and division.
21773         (denorm): Likewise.
21774         (__dbl_mp): Likewise.
21775         (add_magnitudes): Likewise.
21776         (sub_magnitudes): Likewise.
21777         (__mul): Likewise.
21778         (__sqr): Likewise.
21779         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21780         powers of two in terms of TWOPOW macro.
21781         (mp_no): Make type of mantissa as MANTISSA_T.
21782         [!RADIXI]: Define RADIXI.
21783         [!TWO52]: Define TWO52.
21784         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21785
21786 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21787
21788         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21789         llroundl symbol when building for PPC32.
21790
21791 2013-03-24  Mark H Weaver  <mhw@netris.org>
21792
21793         * manual/arith.texi (Normalization Functions): Fix prototypes for
21794         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21795
21796 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21797
21798         [BZ #13889]
21799         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21800         high value to check if expl overflow.
21801         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21802         to check for underflow and overflow.
21803         * math/libm-test.inc: Add exp test.
21804
21805 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21806
21807         [BZ #11120]
21808         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21809         with NOT_IN_libc.
21810
21811 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21812
21813         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21814         symbol.
21815
21816 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21817
21818         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21819         wrap blocks consisting of several statements.
21820
21821         * sysdeps/generic/math-tests.h: New file.
21822         * sysdeps/i386/fpu/math-tests.h: Likewise.
21823         * math/test-snan.c: Include it.
21824         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21825
21826 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21827
21828         [BZ #15285]
21829         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21830         (__ieee754_j0l): Do not improve calculations using cos of twice
21831         input for inputs above LDBL_MAX / 2.0L.
21832         (__ieee754_y0l): Likewise.
21833         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21834         (__ieee754_j1l): Do not improve calculations using cos of twice
21835         input for inputs above LDBL_MAX / 2.0L.
21836         (__ieee754_y1l): Likewise.
21837         * math/libm-test.inc (j0_test): Add another test.
21838         (j1_test): Likewise.
21839         (y0_test): Likewise.
21840         (y1_test): Likewise.
21841         * sysdeps/i386/fpu/libm-test-ulps: Update.
21842
21843 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21844
21845         * Rules ($(objpfx)bench-%.c): Include code from a C source
21846         file.
21847
21848 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21849
21850         [BZ #15287]
21851         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21852         imaginary part 1.0 and real part less than 0.5 specially.
21853         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21854         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21855         * math/libm-test.inc (cacos_test): Add more tests.
21856         (casin_test): Likewise.
21857         (casinh_test): Likewise.
21858         * sysdeps/i386/fpu/libm-test-ulps: Update.
21859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21860
21861 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21862
21863         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21864         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21865
21866 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21867
21868         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21869         * config.make.in (config-cflags-sse4): Remove variable.
21870         (config-cflags-avx): Likewise.
21871         (config-cflags-sse2avx): Likewise.
21872         (config-cflags-novzeroupper): Likewise.
21873         (config-asflags-i686): Likewise.
21874         (have-mfma4): Likewise.
21875         (have-as-vis3): Likewise.
21876         (MIG): Likewise.
21877         * configure.in (MIG): Do not AC_SUBST.
21878         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21879         (libc_cv_cc_sse4): Do not AC_SUBST.
21880         (libc_cv_cc_avx): Likewise.
21881         (libc_cv_cc_sse2avx): Likewise.
21882         (libc_cv_cc_novzeroupper): Likewise.
21883         (libc_cv_cc_fma4): Likewise.
21884         (libc_cv_as_i686): Likewise.
21885         (libc_cv_sparc_as_vis3): Likewise.
21886         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21887         LIBC_CONFIG_VAR.
21888         (config-asflags-i686): Likewise.
21889         (config-cflags-avx): Likewise.
21890         (config-cflags-sse2avx): Likewise.
21891         (have-mfma4): Likewise.
21892         (config-cflags-novzeroupper): Likewise.
21893         * sysdeps/mach/configure.in (MIG): Likewise.
21894         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21895         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21896         LIBC_CONFIG_VAR.
21897         (config-cflags-avx): Likewise.
21898         (config-cflags-sse2avx): Likewise.
21899         (have-mfma4): Likewise.
21900         (config-cflags-novzeroupper): Likewise.
21901         * configure: Regenerated.
21902         * sysdeps/i386/configure: Likewise.
21903         * sysdeps/mach/configure: Likewise.
21904         * sysdeps/sparc/configure: Likewise.
21905         * sysdeps/x86_64/configure: Likewise.
21906
21907 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21908
21909         [BZ #14812]
21910         * locale/programs/localedef.c (options): Put N_ translation marker
21911         on argument names, not just descriptions.
21912
21913 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21914
21915         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21916
21917 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21918
21919         [BZ #14176]
21920         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21921
21922 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21923
21924         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21925         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21926         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21927         [!BEFORE_ABORT] (before_abort): New function.
21928         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21929         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21930         (writev_for_fatal): New function.
21931         (WRITEV_FOR_FATAL): New macro; call that.
21932         (backtrace_and_maps): New function.
21933         (BEFORE_ABORT): New macro; call that.
21934         (struct str_list): Type removed.
21935         (__libc_message, __libc_fatal): Functions removed.
21936         Include <sysdeps/posix/libc_fatal.c> instead.
21937
21938 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21939
21940         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21941         constants.
21942         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21943         double constants.
21944
21945 2013-03-19  Andreas Schwab  <schwab@suse.de>
21946
21947         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21948         * sysdeps/gnu/configure: Regenerate.
21949
21950         * configure.in: Substitute libc_cv_rtlddir.
21951         * configure: Regenerate.
21952         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21953         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21954         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21955         * elf/Makefile (install-others, CFLAGS-interp.c)
21956         (ldso_install, common-ldd-rewrite): Likewise.
21957         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21958         $(inst_slibdir)/$(rtld-installed-name).
21959         * scripts/rellns-sh: Add -p option.
21960         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21961         for source.
21962
21963 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21964
21965         * manual/nptl.texi: Renamed to ...
21966         * manual/threads.texi: ... this.
21967         * manual/Makefile (chapters): Update.
21968
21969 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21970
21971         [BZ #14812]
21972         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21973         on argument names, not just descriptions.
21974         * malloc/memusagestat.c (options): Likewise.
21975         * nss/getent.c (options): Likewise.
21976
21977 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21978
21979         [BZ #14812]
21980         * iconv/iconv_prog.c (options): Put N_ translation marker
21981         on argument names, not just descriptions.
21982         * iconv/iconvconfig.c (options): Likewise.
21983
21984 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21985
21986         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21987         implementation which is faster on all x86_64 architectures.
21988         Tested on AMD, Intel Nehalem, SNB, IVB.
21989         * sysdeps/x86_64/strnlen.S: Likewise.
21990
21991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21992         Remove all multiarch strlen and strnlen versions.
21993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21994         Remove strlen and strnlen related parts.
21995
21996         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21997         Inline strlen part.
21998         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21999
22000         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22001         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22002         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22003         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22004         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22005         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22006
22007 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22008
22009         * manual/memory.texi (Malloc Tunable Parameters):
22010         Sort parameters alphabetically. Add comments for missing entries.
22011
22012 2013-03-17  David S. Miller  <davem@davemloft.net>
22013
22014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22015
22016 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22017
22018         [BZ #15283]
22019         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22020         for arguments at most half maximum finite value.
22021         * math/libm-test.inc (j0_test): Add more tests.
22022         (j1_test): Likewise.
22023         (y0_test): Likewise.
22024         (y1_test): Likewise.
22025         * sysdeps/i386/fpu/libm-test-ulps: Update.
22026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22027
22028         [BZ #14155]
22029         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22030         1 / x and functions P and Q for arguments above 0x1p256L.
22031         (__ieee754_y0l): Likewise.
22032         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22033         (__ieee754_y1l): Likewise.
22034         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22035         (j1_test): Likewise.
22036         (y0_test): Likewise.
22037         (y1_test): Likewise.
22038
22039 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22040
22041         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22042         variable.
22043
22044 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22045
22046         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22047         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22048         zero since it's initialized to EXEC_PAGESIZE.
22049
22050         * sysdeps/unix/sysv/linux/ldsodefs.h
22051         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22052         * sysdeps/generic/ldsodefs.h: ... here.
22053
22054 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22055
22056         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22057
22058         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22059         math/test-snan.c.
22060         * math/test-snan.c: Renamed from
22061         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22062         * math/Makefile (tests): Add test-snan.
22063         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22064         test-powerpc-snan.
22065
22066         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22067         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22068         functions.
22069         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22070         __builtin_nan family of functions.
22071         * math/libm-test.inc (initialize): Initialize qnan_value with
22072         __builtin_nan family of functions.
22073         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22074         Remove variables.
22075         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22076         Remove functions.
22077         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22078         storage class.  Initialize qNaN_var and sNaN_var with
22079         __builtin_nan and __builtin_nans families of functions,
22080         respectively.
22081
22082         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22083         (sqrt_test): Remove duplicate test with qNaN input.
22084         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22085         (round_test, signbit_test, significand_test): Note missing +/-Inf
22086         as well as qNaN tests.
22087
22088         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22089         qNaN_var.  Fix a few strings, too.
22090         * math/libm-test.inc (nan_value): Rename to qnan_value.
22091         * math/gen-libm-test.pl (%beautify): Adjust to that.
22092         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22093         * math/test-misc.c (main): Likewise.
22094         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22095         to __qnan_bytes, and __qnan_union, respectively.
22096         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22097         Likewise.
22098         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22099         and lqnanval, respectively.
22100         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22101         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22102         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22103         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22104
22105         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22106         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22107         doubles.
22108
22109         * math/test-misc.c (main): Fix copy'n'pastos.
22110         * misc/tst-efgcvt.c (special): Likewise.
22111
22112         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22113         Remove declarations.
22114
22115 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22116
22117         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22118         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22119         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22120         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22121
22122 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22123
22124         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22125         macro to return vdso values correctly in IFUNC implementations.
22126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22127         Optimization by using IFUNC.
22128
22129 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22130             Richard Henderson  <rth@redhat.com>
22131             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22132
22133         * Makefile.in (bench): New target.
22134         * NEWS: Mention the benchmark framework.
22135         * Rules (bench): Likewise.
22136         (binaries-bench): Generate binaries for functions to
22137         benchmark.
22138         * benchtests/Makefile: New makefile for benchmark tests.
22139         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22140         programs.
22141         * benchtests/exp-inputs: New input file for EXP function.
22142         * benchtests/pow-inputs: New input file for POW function.
22143         * scripts/bench.pl: New script to generate source files for
22144         benchmark programs.
22145
22146 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22147
22148         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22149         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22150         computations on mantissa.  Use macros for rounding and
22151         division.
22152         (denorm): Likewise.
22153         (__dbl_mp): Likewise.
22154         (add_magnitudes): Likewise.
22155         (sub_magnitudes): Likewise.
22156         (__mul): Likewise.
22157         (__sqr): Likewise.
22158         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22159         powers of two in terms of TWOPOW macro.
22160         (mp_no): Make type of mantissa as MANTISSA_T.
22161         [!RADIXI]: Define RADIXI.
22162         [!TWO52]: Define TWO52.
22163         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22164
22165         * manual/nptl.texi (cindex): Modify threads to pthreads.
22166
22167 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22168
22169         * sysdeps/x86_64/preconfigure: Regenerated.
22170
22171 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22172
22173         [BZ #14155]
22174         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22175         0x1p28 and above.
22176         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22177         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22178         0x1p28 and above.
22179         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22180         * math/libm-test.inc (j0_test): Do not allow one spurious
22181         underflow exception.
22182         (y1_test): Likewise.
22183
22184 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22185
22186         * manual/Makefile (chapters): Add nptl.
22187         * manual/debug.texi (Debugging Support): Add link to Threads
22188         chapter.
22189         * manual/nptl.texi: New file.
22190
22191         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22192
22193 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22194
22195         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22196         for non-NULL pointer before the memory validity test. Pointed
22197         out by Holger Brunck <holger.brunck@keymile.com>.
22198
22199 2013-03-13  Andreas Schwab  <schwab@suse.de>
22200
22201         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22202         instead of .os.
22203
22204 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22205
22206         * timezone/zic.c: Update from tzcode 2013b.
22207
22208 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22209
22210         * manual/install.texi (Configuring and compiling):
22211         Mention i686 and i586.
22212         * INSTALL: Regenerate.
22213
22214 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22215
22216         * sysdeps/init_array/elf-init.c: New file.
22217         * csu/elf-init.c
22218         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22219         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22220
22221         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22222         __gmon_start__ as global, but as static with a .preinit_array pointer.
22223         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22224         * sysdeps/init_array/crti.S: New file, empty except for comments.
22225         * sysdeps/init_array/crtn.S: Likewise.
22226
22227 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22228
22229         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22230         definining bcopy.
22231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22232         Remove Prefer_SSE_for_memop.
22233         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22234         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22235         HAS_PREFER_SSE_FOR_MEMOP.
22236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22237         memset-x86-64.
22238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22239         Remove bzero, memset ifunc support.
22240         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22241         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22242         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22243         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22244
22245 2013-03-11  Andreas Schwab  <schwab@suse.de>
22246
22247         [BZ #15234]
22248         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22249         by SHLIB_COMPAT.
22250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22251         (GLIBC_2.16): Remove pthread_atfork.
22252
22253 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22254
22255         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22256         (ptestcases.h): Likewise.
22257
22258 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22259
22260         * Makeconfig ($(common-objpfx)config.status): Depend on
22261         sysdeps/*/preconfigure{,.in} too.
22262
22263 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22264
22265         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22266         (__free_hook): Use void * instead of __malloc_ptr_t.
22267         (__malloc_hook): Likewise.
22268         (__realloc_hook): Likewise.
22269         (__memalign_hook): Likewise.
22270         (__after_morecore_hook): Likewise.
22271         * malloc/arena.c (save_malloc_hook): Likewise.
22272         (save_free_hook): Likewise.
22273         * malloc/hooks.c (malloc_hook_ini): Likewise.
22274         (realloc_hook_ini): Likewise.
22275         (memalign_hook_ini): Likewise.
22276         * malloc/malloc.c (malloc_hook_ini): Likewise.
22277         (realloc_hook_ini): Likewise.
22278         (memalign_hook_ini): Likewise.
22279         (__free_hook): Likewise.
22280         (__malloc_hook): Likewise.
22281         (__realloc_hook): Likewise.
22282         (__memalign_hook): Likewise.
22283         (__libc_malloc): Likewise.
22284         (__libc_free): Likewise.
22285         (__libc_realloc): Likewise.
22286         (__libc_memalign): Likewise.
22287         (__libc_valloc): Likewise.
22288         (__libc_pvalloc): Likewise.
22289         (__libc_calloc): Likewise.
22290         (__posix_memalign): Likewise.
22291         * malloc/morecore.c (__sbrk): Likewise.
22292         (__default_morecore): Likewise.
22293
22294         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22295
22296         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22297         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22298         __malloc_ptrdiff_t.
22299
22300         * malloc/malloc.h (__malloc_size_t): Remove macro.
22301         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22302         __malloc_size_t.
22303         (old_memalign_hook): Likewise.
22304         (old_realloc_hook): Likewise.
22305         (struct hdr): Likewise.
22306         (flood): Likewise.
22307         (mallochook): Likewise.
22308         (memalignhook): Likewise.
22309         (reallochook): Likewise.
22310         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22311         (tr_old_realloc_hook): Likewise.
22312         (tr_old_memalign_hook): Likewise.
22313         (tr_mallochook): Likewise.
22314         (tr_reallochook): Likewise.
22315         (tr_memalignhook): Likewise.
22316
22317 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22318
22319         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22320         default_ldbl_pack and using as default implementation.
22321         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22322         implementation.
22323         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22324         redundant definition.
22325         (ldbl_insert_mantissa): Likewise.
22326         (ldbl_canonicalize): Likewise.
22327         (ldbl_nearbyint): Likewise.
22328         (ldbl_pack): Rename to ldbl_pack_ppc.
22329         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22330         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22331         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22332
22333 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22334
22335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22336         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22337         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22338         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22340         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22341         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22342         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22343
22344 2013-03-07  Andreas Jaeger  <aj@suse.de>
22345
22346         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22347         bits/mman-linux.h.
22348
22349 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22350
22351         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22352         Include mpa.h and declare __MPEXP.
22353         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22354         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22355         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22356         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22357         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22358         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22359         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22360
22361         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22362         (__slowpow): Use long double EXPL and LOGL functions to
22363         compute POW.
22364         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22365         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22366         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22367         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22368         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22369         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22370
22371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22372         intermediate variable to calculate exponent.
22373         (__sqr): Likewise.
22374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22375         Likewise.
22376         (__sqr): Likewise.
22377
22378         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22379         [!NO__SQR]: Define __sqr.
22380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22381         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22382         sysdeps/ieee754/dbl-64/mpa.c.
22383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22384
22385         [BZ #12723]
22386         * posix/Makefile (tests): Add tst-pathconf.
22387         * posix/tst-pathconf.c: New test case.
22388         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22389         _PC_PIPE_BUF.
22390         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22391
22392 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22393
22394         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22395
22396 2013-03-06  Andreas Jaeger  <aj@suse.de>
22397
22398         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22399         definition via __MAP_ANONYMOUS.
22400
22401         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22402         it's not part of Linux headers.
22403
22404         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22405         (MAP_HUGE_MASK): Define.
22406
22407         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22408         Define.
22409         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22410         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22411         Define.
22412         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22413         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22414         Define.
22415         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22416         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22417         Define.
22418         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22419
22420         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22421         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22422         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22423         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22424         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22425         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22426
22427         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22428         Handle f2fs.
22429
22430         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22431         Handle f2fs and efivarfs.
22432
22433         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22434         f2fs.
22435
22436         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22437         (EFIVARFS_MAGIC): Add.
22438         (F2FS_LINK_MAX): Add.
22439
22440 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22441
22442         * stdio-common/vfprintf.c: Replace __builtin_expect with
22443         __glibc_unlikely.
22444
22445 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22446
22447         [BZ #13550]
22448         * sysdeps/generic/bp-sym.h: Remove file.
22449         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22450         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22451         <bp-sym.h> and <bp-asm.h>.
22452         (__longjmp): Don't use BP_SYM.
22453         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22454         and <bp-asm.h>.
22455         (memcpy): Don't use BP_SYM.
22456         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22457         <bp-sym.h> and <bp-asm.h>.
22458         (memcpy): Don't use BP_SYM.
22459         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22460         <bp-asm.h>.
22461         (memcpy): Don't use BP_SYM.
22462         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22463         <bp-asm.h>.
22464         (memset): Don't use BP_SYM.
22465         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22466         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22467         (__bzero): Don't use BP_SYM.
22468         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22469         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22470         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22471         <bp-sym.h> and <bp-asm.h>.
22472         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22473         pointers.
22474         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22475         <bp-sym.h> and <bp-asm.h>.
22476         (memcpy): Don't use BP_SYM.
22477         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22478         <bp-sym.h> and <bp-asm.h>.
22479         (memset): Don't use BP_SYM.
22480         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22481         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22482         (__bzero): Don't use BP_SYM.
22483         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22484         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22485         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22486         <bp-sym.h> and <bp-asm.h>.
22487         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22488         pointers.
22489         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22490         <bp-sym.h> and <bp-asm.h>.
22491         (memcpy): Don't use BP_SYM.
22492         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22493         <bp-sym.h> and <bp-asm.h>.
22494         (memset): Don't use BP_SYM.
22495         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22496         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22497         (__bzero): Don't use BP_SYM.
22498         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22499         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22500         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22501         <bp-sym.h> and <bp-asm.h>.
22502         (__memchr): Don't use BP_SYM.
22503         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22504         <bp-sym.h> and <bp-asm.h>.
22505         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22506         pointers.
22507         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22508         <bp-sym.h> and <bp-asm.h>.
22509         (memcpy): Don't use BP_SYM.
22510         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22511         <bp-sym.h> and <bp-asm.h>.
22512         (__mempcpy): Don't use BP_SYM.
22513         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22514         <bp-sym.h> and <bp-asm.h>.
22515         (__memrchr): Don't use BP_SYM.
22516         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22517         <bp-sym.h> and <bp-asm.h>.
22518         (memset): Don't use BP_SYM.
22519         (__bzero): Likewise.
22520         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22521         <bp-sym.h> and <bp-asm.h>.
22522         (__rawmemchr): Don't use BP_SYM.
22523         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22524         <bp-sym.h> and <bp-asm.h>.
22525         (__STRCMP): Don't use BP_SYM.
22526         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22527         <bp-sym.h> and <bp-asm.h>.
22528         (strchr): Don't use BP_SYM.
22529         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22530         <bp-sym.h> and <bp-asm.h>.
22531         (__strchrnul): Don't use BP_SYM.
22532         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22533         <bp-sym.h> and <bp-asm.h>.
22534         (strlen): Don't use BP_SYM.
22535         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22536         <bp-sym.h> and <bp-asm.h>.
22537         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22538         pointers.
22539         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22540         <bp-sym.h> and <bp-asm.h>.
22541         (__strnlen): Don't use BP_SYM.
22542         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22543         <bp-sym.h> and <bp-asm.h>.
22544         (__GI__setjmp): Don't use BP_SYM.
22545         (_setjmp): Likewise.
22546         (__sigsetjmp): Likewise.
22547         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22548         (L(start_addresses)): Don't use BP_SYM.
22549         (_start): Likewise.
22550         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22551         <bp-asm.h>.
22552         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22553         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22554         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22555         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22556         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22557         <bp-asm.h>.
22558         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22559         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22560         about bounded pointers.
22561         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22562         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22563         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22564         <bp-asm.h>.
22565         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22566         about bounded pointers.  Remove GKM FIXME comments.
22567         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22568         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22569         <bp-asm.h>.
22570         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22571         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22572         Remove GKM FIXME comments.
22573         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22574         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22575         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22576         <bp-asm.h>.
22577         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22578         about bounded pointers.  Remove GKM FIXME comment.
22579         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22580         and <bp-asm.h>.
22581         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22582         pointers.
22583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22584         <bp-sym.h> and <bp-asm.h>.
22585         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22587         <bp-sym.h> and <bp-asm.h>.
22588         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22589         comment.
22590
22591 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22592
22593         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22594         call free(NULL).
22595
22596 2013-03-05  David S. Miller  <davem@davemloft.net>
22597
22598         * po/es.po: Update from translation team.
22599
22600 2013-03-05  Andreas Jaeger  <aj@suse.de>
22601
22602         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22603         <bits/mman-linux.h>.
22604         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22605         is fine.
22606         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22607         <bits/mman-linux.h> to end of file.
22608         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22609         is fine.
22610         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22611         <bits/mman-linux.h> to end of file.
22612         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22613         is fine.
22614         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22615         <bits/mman-linux.h> to end of file.
22616
22617         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22618         (MCL_CURRENT, MCL_FUTURE): Define here.
22619
22620 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22621
22622         [BZ #15232]
22623         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22624         attribute_hidden.
22625         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22626
22627 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22628
22629         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22630         fourth parameter needed for rt_sigprocmask syscall.
22631         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22632         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22633         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22634         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22635         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22636         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22637
22638 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22639
22640         [BZ #13550]
22641         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22642         comment about bounded pointers.
22643         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22644         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22645
22646 2013-03-04  Andreas Jaeger  <aj@suse.de>
22647
22648         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22649         common definitions.
22650
22651         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22652         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22653         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22654         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22655         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22656         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22657
22658 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22659
22660         [BZ #15055]
22661         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22662         __ieee754_sqrl instead of __sqrl.
22663
22664 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22665
22666         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22667         * sysdeps/powerpc/fpu_control.h: ... here.
22668         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22669         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22670         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22671         * sysdeps/powerpc/bits/mathinline.h: ... here.
22672
22673 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22674
22675         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22676         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22677         to just [NEED_DL_SYSINFO_DSO].
22678         * elf/dl-support.c: Likewise.
22679         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22680         * elf/rtld.c (dl_main): Likewise.
22681         * elf/setup-vdso.h (setup_vdso): Likewise.
22682         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22683         * sysdeps/unix/sysv/linux/dl-sysdep.c
22684         (_dl_discover_osversion): Likewise.
22685
22686 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22687
22688         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22689         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22690
22691 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22692
22693         * NEWS: Mention libm performance improvements and non-x86 PI
22694         futex support.
22695
22696         * csu/libc-start.c (__pthread_initialize_minimal): Change
22697         function arguments.
22698         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22699
22700 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22701
22702         [BZ #13550]
22703         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22704         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22705         <bp-sym.h> and <bp-asm.h>.
22706         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22707         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22708         and <bp-asm.h>.
22709         (memcpy): Don't use BP_SYM.
22710         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22711         <bp-asm.h>.
22712         (__mpn_add_n): Don't use BP_SYM.
22713         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22714         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22715         and <bp-asm.h>.
22716         (__mpn_addmul_1): Don't use BP_SYM.
22717         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22718         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22719         <bp-sym.h>.
22720         (_setjmp): Don't use BP_SYM.
22721         (__novmx_setjmp): Likewise.
22722         (__GI__setjmp): Likewise.
22723         (__vmx_setjmp): Likewise.
22724         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22725         <bp-sym.h>.
22726         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22727         (__bzero): Don't use BP_SYM.
22728         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22729         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22730         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22731         <bp-sym.h> and <bp-asm.h>.
22732         (memcpy): Don't use BP_SYM.
22733         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22734         <bp-sym.h> and <bp-asm.h>.
22735         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22736         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22737         <bp-sym.h> and <bp-asm.h>.
22738         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22739         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22740         <bp-asm.h>.
22741         (__mpn_lshift): Don't use BP_SYM.
22742         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22743         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22744         <bp-asm.h>.
22745         (memset): Don't use BP_SYM.
22746         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22747         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22748         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22749         <bp-asm.h>.
22750         (__mpn_mul_1): Don't use BP_SYM.
22751         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22752         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22753         <bp-sym.h> and <bp-asm.h>.
22754         (memcmp): Don't use BP_SYM.
22755         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22756         <bp-sym.h> and <bp-asm.h>.
22757         (memcpy): Don't use BP_SYM.
22758         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22759         <bp-sym.h> and <bp-asm.h>.
22760         (memset): Don't use BP_SYM.
22761         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22762         <bp-sym.h> and <bp-asm.h>.
22763         (strncmp): Don't use BP_SYM.
22764         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22765         <bp-sym.h> and <bp-asm.h>.
22766         (memcpy): Don't use BP_SYM.
22767         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22768         <bp-sym.h> and <bp-asm.h>.
22769         (memset): Don't use BP_SYM.
22770         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22771         <bp-sym.h> and <bp-asm.h>.
22772         (__memchr): Don't use BP_SYM.
22773         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22774         <bp-sym.h> and <bp-asm.h>.
22775         (memcmp): Don't use BP_SYM.
22776         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22777         <bp-sym.h> and <bp-asm.h>.
22778         (memcpy): Don't use BP_SYM.
22779         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22780         <bp-sym.h> and <bp-asm.h>.
22781         (__mempcpy): Don't use BP_SYM.
22782         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22783         <bp-sym.h> and <bp-asm.h>.
22784         (__memrchr): Don't use BP_SYM.
22785         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22786         <bp-sym.h> and <bp-asm.h>.
22787         (memset): Don't use BP_SYM.
22788         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22789         <bp-sym.h> and <bp-asm.h>.
22790         (__rawmemchr): Don't use BP_SYM.
22791         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22792         <bp-sym.h> and <bp-asm.h>.
22793         (__STRCMP): Don't use BP_SYM.
22794         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22795         <bp-sym.h> and <bp-asm.h>.
22796         (strchr): Don't use BP_SYM.
22797         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22798         <bp-sym.h> and <bp-asm.h>.
22799         (__strchrnul): Don't use BP_SYM.
22800         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22801         <bp-sym.h> and <bp-asm.h>.
22802         (strlen): Don't use BP_SYM.
22803         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22804         <bp-sym.h> and <bp-asm.h>.
22805         (strncmp): Don't use BP_SYM.
22806         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22807         <bp-sym.h> and <bp-asm.h>.
22808         (__strnlen): Don't use BP_SYM.
22809         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22810         <bp-asm.h>.
22811         (__mpn_rshift): Don't use BP_SYM.
22812         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22813         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22814         <bp-sym.h> and <bp-asm.h>.
22815         (__sigsetjmp): Don't use BP_SYM.
22816         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22817         (L(start_addresses)): Don't use BP_SYM.
22818         (_start): Likewise.
22819         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22820         <bp-asm.h>.
22821         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22822         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22823         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22824         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22825         <bp-asm.h>.
22826         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22827         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22828         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22829         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22830         <bp-asm.h>.
22831         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22832         comments.
22833         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22834         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22835         <bp-asm.h>.
22836         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22837         FIXME comments.
22838         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22839         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22840         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22841         <bp-asm.h>.
22842         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22843         comment.
22844         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22845         and <bp-asm.h>.
22846         (strncmp): Don't use BP_SYM,
22847         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22848         <bp-asm.h>.
22849         (__mpn_sub_n): Don't use BP_SYM.
22850         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22851         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22852         and <bp-asm.h>.
22853         (__mpn_submul_1): Don't use BP_SYM.
22854         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22856         <bp-sym.h> and <bp-asm.h>.
22857         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22859         <bp-sym.h> and <bp-asm.h>.
22860         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22861         comment.
22862
22863 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22864
22865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22866         Use ZK to minimize writes to Z.
22867         (sub_magnitudes): Simplify code a bit.
22868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22869         Use ZK to minimize writes to Z.
22870         (sub_magnitudes): Simplify code a bit.
22871
22872 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22873
22874         * csu/gmon-start.c: Add special exception to license text.
22875
22876 2013-02-27  Richard Henderson  <rth@redhat.com>
22877
22878         * scripts/config.guess: Update from config.git.
22879         * scripts/config.sub: Likewise.
22880
22881 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22882
22883         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22884
22885         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22886
22887         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22888
22889         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22890
22891         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22892
22893 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22894
22895         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22896         [$(build-shared = yes].
22897
22898 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22899
22900         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22901         (__mul): Reduce iterations for calculating mantissa.
22902
22903         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22904         MPTWO.
22905         (__mpranred): Likewise.
22906
22907         [BZ #15160]
22908         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22909         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22910
22911 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22912
22913         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22914         Define __attribute__.
22915
22916 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22917
22918         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22919         unused.
22920         * posix/regex_internal.h (__attribute): Remove.
22921         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22922         (re_string_context_at): Likewise.
22923         (bitset_not): Use __attribute__ and mark function as possibly
22924         unused.
22925         (bitset_merge): Likewise.
22926         (bitset_mask): Likewise.
22927         (re_string_char_size_at): Likewise.
22928         (re_string_wchar_at): Likewise.
22929         (re_string_elem_size_at): Likewise.
22930
22931 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22932
22933         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22934         code.
22935         (cc32): Likewise.
22936
22937         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22938         (__acr): Likewise.
22939         (__cpy): Likewise.
22940         (norm): Likewise.
22941         (denorm): Likewise.
22942         (__dbl_mp): Likewise.
22943         (add_magnitudes): Likewise.
22944         (sub_magnitudes): Likewise.
22945         (__mul): Likewise.
22946         (__inv): Likewise.
22947
22948         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22949         style.
22950
22951         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22952         style.
22953
22954         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22955         code.
22956
22957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22958         up changes with default code.
22959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22960         Likewise.
22961
22962 2013-02-24  Allan McRae  <allan@archlinux.org>
22963
22964         * manual/socket.texi (The Internet Namespace): Order menu items
22965         to match that in the file.
22966
22967         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22968         node listing of the info page menu.
22969
22970 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22971
22972         [BZ #13550]
22973         * sysdeps/i386/bp-asm.h: Remove file.
22974         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22975         (PARMS): Do not use macros from bp-asm.h.
22976         (S1): Likewise.
22977         (S2): Likewise.
22978         (SIZE): Likewise.
22979         (__mpn_add_n): Do not use BP_SYM
22980         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22981         "bp-asm.h".
22982         (PARMS): Do not use macros from bp-asm.h.
22983         (S1): Likewise.
22984         (SIZE): Likewise.
22985         (__mpn_addmul_1): Do not use BP_SYM
22986         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22987         "bp-asm.h".
22988         (PARMS): Do not use macros from bp-asm.h.
22989         (SIGMSK): Likewise.
22990         (_setjmp): Likewise.  Do not use BP_SYM.
22991         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22992         "bp-asm.h".
22993         (PARMS): Do not use macros from bp-asm.h.
22994         (SIGMSK): Likewise.
22995         (setjmp): Likewise.  Do not use BP_SYM.
22996         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22997         "bp-asm.h".
22998         (PARMS): Do not use macros from bp-asm.h.
22999         (__frexp): Do not use BP_SYM.
23000         (frexp): Likewise.
23001         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23002         "bp-asm.h".
23003         (PARMS): Do not use macros from bp-asm.h.
23004         (__frexpf): Do not use BP_SYM.
23005         (frexpf): Likewise.
23006         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23007         "bp-asm.h".
23008         (PARMS): Do not use macros from bp-asm.h.
23009         (__frexpl): Do not use BP_SYM.
23010         (frexpl): Likewise.
23011         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23012         "bp-asm.h".
23013         (PARMS): Do not use macros from bp-asm.h.
23014         (__remquo): Do not use BP_SYM.
23015         (remquo): Likewise.
23016         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23017         "bp-asm.h".
23018         (PARMS): Do not use macros from bp-asm.h.
23019         (__remquof): Do not use BP_SYM.
23020         (remquof): Likewise.
23021         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23022         "bp-asm.h".
23023         (PARMS): Do not use macros from bp-asm.h.
23024         (__remquol): Do not use BP_SYM.
23025         (remquol): Likewise.
23026         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23027         "bp-asm.h".
23028         (PARMS): Do not use macros from bp-asm.h.
23029         (DEST): Likewise.
23030         (SRC): Likewise.
23031         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23032         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23033         "bp-asm.h".
23034         (PARMS): Do not use macros from bp-asm.h.
23035         (strlen): Do not use BP_SYM.
23036         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23037         "bp-asm.h".
23038         (PARMS): Do not use macros from bp-asm.h.
23039         (S1): Likewise.
23040         (S2): Likewise.
23041         (SIZE): Likewise.
23042         (__mpn_add_n): Do not use BP_SYM.
23043         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23044         "bp-asm.h".
23045         (PARMS): Do not use macros from bp-asm.h.
23046         (S1): Likewise.
23047         (SIZE): Likewise.
23048         (__mpn_addmul_1): Do not use BP_SYM.
23049         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23050         weak_alias.
23051         (bzero): Likewise.
23052         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23053         "bp-asm.h".
23054         (PARMS): Do not use macros from bp-asm.h.
23055         (S): Likewise.
23056         (SIZE): Likewise.
23057         (__mpn_lshift): Do not use BP_SYM.
23058         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23059         "bp-asm.h".
23060         (PARMS): Do not use macros from bp-asm.h.
23061         (DEST): Likewise.
23062         (SRC): Likewise.
23063         (LEN): Likewise.
23064         (memcpy): Likewise.  Do not use BP_SYM.
23065         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23066         libc_hidden_def and weak_alias.
23067         (mempcpy): Do not use BP_SYM in weak_alias.
23068         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
23073         [!BZERO_P] (CHR): Likewise.
23074         (memset): Likewise.  Do not use BP_SYM.
23075         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23076         "bp-asm.h".
23077         (PARMS): Do not use macros from bp-asm.h.
23078         (S1): Likewise.
23079         (SIZE): Likewise.
23080         (__mpn_mul_1): Do not use BP_SYM.
23081         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23082         "bp-asm.h".
23083         (PARMS): Do not use macros from bp-asm.h.
23084         (S): Likewise.
23085         (SIZE): Likewise.
23086         (__mpn_rshift): Do not use BP_SYM.
23087         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23088         "bp-asm.h".
23089         (PARMS): Do not use macros from bp-asm.h.
23090         (STR): Likewise.
23091         (CHR): Likewise.
23092         (strchr): Likewise.  Do not use BP_SYM.
23093         (index): Do not use BP_SYM in weak_alias.
23094         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23095         "bp-asm.h".
23096         (PARMS): Do not use macros from bp-asm.h.
23097         (DEST): Likewise.
23098         (SRC): Likewise.
23099         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23100         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23101         "bp-asm.h".
23102         (PARMS): Do not use macros from bp-asm.h.
23103         (strlen): Do not use BP_SYM.
23104         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23105         "bp-asm.h".
23106         (PARMS): Do not use macros from bp-asm.h.
23107         (S1): Likewise.
23108         (S2): Likewise.
23109         (SIZE): Likewise.
23110         (__mpn_sub_n): Do not use BP_SYM.
23111         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23112         "bp-asm.h".
23113         (PARMS): Do not use macros from bp-asm.h.
23114         (S1): Likewise.
23115         (SIZE): Likewise.
23116         (__mpn_submul_1): Do not use BP_SYM.
23117         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
23122         (SIZE): Likewise.
23123         (__mpn_add_n): Do not use BP_SYM.
23124         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23125         weak_alias.
23126         (bzero): Likewise.
23127         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23128         "bp-asm.h".
23129         (PARMS): Do not use macros from bp-asm.h.
23130         (BLK2): Likewise.
23131         (LEN): Likewise.
23132         (memcmp): Do not use BP_SYM.
23133         (bcmp): Do not use BP_SYM in weak_alias.
23134         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23135         "bp-asm.h".
23136         (PARMS): Do not use macros from bp-asm.h.
23137         (DEST): Likewise.
23138         (SRC): Likewise.
23139         (LEN): Likewise.
23140         (memcpy): Likewise.  Do not use BP_SYM.
23141         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23142         "bp-asm.h".
23143         (PARMS): Do not use macros from bp-asm.h.
23144         (DEST): Likewise.
23145         (SRC): Likewise.
23146         (LEN): Likewise.
23147         (memmove): Likewise.  Do not use BP_SYM.
23148         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23149         "bp-asm.h".
23150         (PARMS): Do not use macros from bp-asm.h.
23151         (DEST): Likewise.
23152         (SRC): Likewise.
23153         (LEN): Likewise.
23154         (__mempcpy): Likewise.  Do not use BP_SYM.
23155         (mempcpy): Do not use BP_SYM in weak_alias.
23156         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23157         "bp-asm.h".
23158         (PARMS): Do not use macros from bp-asm.h.
23159         (DEST): Likewise.
23160         (LEN): Likewise.
23161         [!BZERO_P] (CHR): Likewise.
23162         (memset): Likewise.  Do not use BP_SYM.
23163         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23164         "bp-asm.h".
23165         (PARMS): Do not use macros from bp-asm.h.
23166         (STR2): Likewise.
23167         (strcmp): Do not use BP_SYM.
23168         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23169         "bp-asm.h".
23170         (PARMS): Do not use macros from bp-asm.h.
23171         (STR): Likewise.
23172         (DELIM): Likewise.
23173         [USE_AS_STRTOK_R] (SAVE): Likewise.
23174         (FUNCTION): Likewise.  Do not use BP_SYM.
23175         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23176         aliases.
23177         (strtok_r): Likewise.
23178         (__GI___strtok_r): Likewise.
23179         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23180         (PARMS): Do not use macros from bp-asm.h.
23181         (S): Likewise.
23182         (SIZE): Likewise.
23183         (__mpn_lshift): Do not use BP_SYM.
23184         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23185         (PARMS): Do not use macros from bp-asm.h.
23186         (STR): Likewise.
23187         (CHR): Likewise.
23188         (__memchr): Do not use BP_SYM.
23189         (memchr): Do not use BP_SYM in weak_alias.
23190         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23191         (PARMS): Do not use macros from bp-asm.h.
23192         (BLK2): Likewise.
23193         (LEN): Likewise.
23194         (memcmp): Do not use BP_SYM.
23195         (bcmp): Do not use BP_SYM in weak_alias.
23196         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23197         (PARMS): Do not use macros from bp-asm.h.
23198         (S1): Likewise.
23199         (SIZE): Likewise.
23200         (__mpn_mul_1): Do not use BP_SYM.
23201         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23202         "bp-asm.h".
23203         (PARMS): Do not use macros from bp-asm.h.
23204         (STR): Likewise.
23205         (CHR): Likewise.
23206         (__rawmemchr): Do not use BP_SYM.
23207         (rawmemchr): Do not use BP_SYM in weak_alias.
23208         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23209         (PARMS): Do not use macros from bp-asm.h.
23210         (S): Likewise.
23211         (SIZE): Likewise.
23212         (__mpn_rshift): Do not use BP_SYM.
23213         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23214         (PARMS): Do not use macros from bp-asm.h.
23215         (SIGMSK): Likewise.
23216         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23217         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23218         (_start): Do not use BP_SYM.
23219         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23220         (PARMS): Do not use macros from bp-asm.h.
23221         (DEST): Likewise.
23222         (SRC): Likewise.
23223         (__stpcpy): Likewise.  Do not use BP_SYM.
23224         (stpcpy): Do not use BP_SYM in weak_alias.
23225         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23226         "bp-asm.h".
23227         (PARMS): Do not use macros from bp-asm.h.
23228         (DEST): Likewise.
23229         (SRC): Likewise.
23230         (LEN): Likewise.
23231         (__stpncpy): Likewise.  Do not use BP_SYM.
23232         (stpncpy): Do not use BP_SYM in weak_alias.
23233         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23234         (PARMS): Do not use macros from bp-asm.h.
23235         (STR): Likewise.
23236         (CHR): Likewise.
23237         (strchr): Likewise.  Do not use BP_SYM.
23238         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23239         "bp-asm.h".
23240         (PARMS): Do not use macros from bp-asm.h.
23241         (STR): Likewise.
23242         (CHR): Likewise.
23243         (__strchrnul): Likewise.  Do not use BP_SYM.
23244         (strchrnul): Do not use BP_SYM in weak_alias.
23245         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23246         "bp-asm.h".
23247         (PARMS): Do not use macros from bp-asm.h.
23248         (STOP): Likewise.
23249         (strcspn): Do not use BP_SYM.
23250         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23251         "bp-asm.h".
23252         (PARMS): Do not use macros from bp-asm.h.
23253         (STR): Likewise.
23254         (STOP): Likewise.
23255         (strpbrk): Likewise.  Do not use BP_SYM.
23256         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23257         "bp-asm.h".
23258         (PARMS): Do not use macros from bp-asm.h.
23259         (STR): Likewise.
23260         (CHR): Likewise.
23261         (strrchr): Likewise.  Do not use BP_SYM.
23262         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23263         (PARMS): Do not use macros from bp-asm.h.
23264         (SKIP): Likewise.
23265         (strspn): Do not use BP_SYM.
23266         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23267         (PARMS): Do not use macros from bp-asm.h.
23268         (STR): Likewise.
23269         (DELIM): Likewise.
23270         (SAVE): Likewise.
23271         (FUNCTION): Likewise.  Do not use BP_SYM.
23272         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23273         aliases.
23274         (strtok_r): Likewise.
23275         (__GI___strtok_r): Likewise.
23276         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23277         (PARMS): Do not use macros from bp-asm.h.
23278         (S1): Likewise.
23279         (S2): Likewise.
23280         (SIZE): Likewise.
23281         (__mpn_sub_n): Do not use BP_SYM.
23282         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23283         "bp-asm.h".
23284         (PARMS): Do not use macros from bp-asm.h.
23285         (S1): Likewise.
23286         (SIZE): Likewise.
23287         (__mpn_submul_1): Do not use BP_SYM.
23288         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23289         <bp-sym.h>.
23290         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23291         and <bp-asm.h>.
23292         (PARMS): Do not use macros from bp-asm.h.
23293         (FLAGS): Likewise.
23294         (PTID): Likewise.
23295         (TLS): Likewise.
23296         (CTID): Likewise.
23297         (__clone): Do not use BP_SYM.
23298         (clone): Do not use BP_SYM in weak_alias.
23299         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23300         and <bp-asm.h>.
23301         (PARMS): Do not use macros from bp-asm.h.
23302         (LEN): Likewise.
23303         (__mmap64): Do not use BP_SYM.
23304         (mmap64): Do not use BP_SYM in weak_alias.
23305         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23306         <bp-sym.h> and <bp-asm.h>.
23307         (PARMS): Do not use macros from bp-asm.h.
23308         (__posix_fadvise64_l64): Do not use BP_SYM.
23309         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23310         (PARMS): Do not use macros from bp-asm.h.
23311         (NSOPS): Likewise.
23312         (semtimedop): Do not use BP_SYM.
23313         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23314         and <bp-asm.h>.
23315
23316 2013-02-21  Allan McRae  <allan@archlinux.org>
23317
23318         * manual/message.texi (Charset conversion in gettext):
23319         Move @end statement to beginning of line.
23320
23321 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23322
23323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23324         static.
23325         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23326         Likewise.
23327
23328         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23329         (denorm): Likewise.
23330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23332
23333 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23334
23335         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23336         tail-call to the resolved function if pltexit isn't needed.
23337
23338 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23339
23340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23341         or Y being zero as being unlikely.
23342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23343         Likewise.
23344
23345 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23346
23347         * manual/nss.texi (System Databases and Name Service Switch):
23348         Remove frobnicate @pxref.
23349
23350 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23351
23352         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23353         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23354
23355 2013-02-20  Petr Machata  <pmachata@redhat.com>
23356
23357         * elf/elf.h (R_ARM_TARGET1): New macro.
23358         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23359         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23360         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23361         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23362         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23363         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23364         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23365         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23366         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23367         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23368         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23369         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23370         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23371         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23372         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23373         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23374         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23375         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23376         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23377         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23378         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23379         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23380         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23381         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23382         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23383         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23384         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23385         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23386         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23387         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23388         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23389         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23390         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23391         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23392         (R_ARM_THM_GOT_BREL12): Likewise.
23393         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23394         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23395         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23396         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23397         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23398         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23399         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23400         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23401         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23402
23403 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23404
23405         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23406         __attribute_used__ to __attribute__ ((unused)).
23407
23408 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23409
23410         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23411         powerpc mpa.c.
23412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23413         comment formatting.
23414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23415
23416 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23417
23418         [BZ #13550]
23419         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23420         Remove macro.
23421         (ENTER): Remove both macro definitions.
23422         (LEAVE): Likewise.
23423         (CHECK_BOUNDS_LOW): Likewise.
23424         (CHECK_BOUNDS_HIGH): Likewise.
23425         (CHECK_BOUNDS_BOTH): Likewise.
23426         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23427         (RETURN_BOUNDED_POINTER): Likewise.
23428         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23429         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23430         (POP_ERRNO_LOCATION_RETURN): Likewise.
23431         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23432         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23433         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23434         macros.
23435         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23436         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23437         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23438         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23439         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23440         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23441         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23442         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23443         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23444         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23445         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23446         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23447         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23448         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23449         removed macros.
23450         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23451         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23452         macros.
23453         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23454         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23455         * sysdeps/i386/i586/memset.S (memset): Likewise.
23456         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23457         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23458         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23459         macros.
23460         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23461         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23462         Change uses of L(2) to L(out).
23463         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23464         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23465         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23466         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23467         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23468         removed macros.
23469         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23470         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23471         macros.
23472         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23473         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23474         (RETURN): Do not use macro LEAVE.
23475         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23476         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23477         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23478         * sysdeps/i386/i686/memset.S (memset): Likewise.
23479         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23480         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23481         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23482         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23483         Likewise.
23484         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23485         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23486         L(1_2) and L(1_3) into L(1).
23487         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23488         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23489         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23490         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23491         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23492         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23493         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23494         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23495         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23496         macros.
23497         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23498         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23499         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23500         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23501         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23502         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23503         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23504         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23505         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23506         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23507         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23508         * sysdeps/i386/strspn.S (strspn): Likewise.
23509         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23510         conditional code.
23511         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23512         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23513         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23514         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23515         L(1_3) into L(1_1).
23516         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23517         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23518         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23519         macros.
23520         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23521
23522 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23523
23524         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23525         macro.
23526
23527 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23528
23529         * math/atest-exp.c (exp_mpn): Remove ROUND.
23530         * math/atest-exp2.c (exp_mpn): Likewise.
23531         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23532
23533         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23534         * stdlib/tst-tls-atexit-lib.c: Likewise.
23535         * stdlib/tst-tls-atexit.c: Likewise.
23536
23537 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23538
23539         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23540         and __attribute_alloc_size__.
23541
23542 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23543
23544         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23545         __attribute_alloc_size__.
23546         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23547         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23548
23549 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23550
23551         * include/programs/xmalloc.h: New file.
23552         * catgets/gencat.c: Include it.
23553         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23554         * elf/pldd.c: Likewise.
23555         * iconv/iconv_charmap.c: Likewise.
23556         * iconv/iconvconfig.c: Likewise.
23557         * iconv/strtab.c: Likewise.
23558         * locale/programs/locale.c: Likewise.
23559         * locale/programs/localedef.h: Likewise.
23560         * locale/programs/simple-hash.c: Likewise.
23561         * nscd/nscd.h: Likewise.
23562         * nss/makedb.c: Likewise.
23563         * sysdeps/generic/ldconfig.h: Likewise.
23564
23565 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23566
23567         * Versions.def: Add GLIBC_2.18.
23568         * include/link.h (struct link_map): New member l_tls_dtor_count.
23569         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23570         (__call_tls_dtors): Likewise.
23571         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23572         __cxa_thread_atexit_impl.
23573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23574         Likewise.
23575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23576         Likewise.
23577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23578         Likewise.
23579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23580         Likewise.
23581         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23583         Likewise.
23584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23585         Likewise.
23586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23588         Likewise.
23589         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23590         (tests): Add test case tst-tls-atexit.
23591         (modules-names): Add shared library for tst-tls-atexit.
23592         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23593         (GLIBC_PRIVATE): Add __call_tls_dtors.
23594         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23595         for libstdc++.
23596         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23597         * stdlib/tst-tls-atexit.c: New test case.
23598         * stdlib/tst-tls-atexit-lib.c: New test case.
23599
23600         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23601
23602         * elf/Versions (ld): Add _dl_find_dso_for_object.
23603         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23604         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23605         (dl_open_worker): Use _dl_find_dso_for_object.
23606         * elf/dl-sym.c (do_sym): Likewise.
23607         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23608
23609 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23610
23611         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23612         Syntactic changes only.
23613         (_dl_runtime_profile): Do a tail-call to the resolved function.
23614
23615 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23616
23617         [BZ #13550]
23618         * sysdeps/x86_64/bp-asm.h: Remove file.
23619         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23620         <bp-sym.h> and <bp-asm.h>.
23621         (__clone): Do not use BP_SYM.
23622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23623         <bp-sym.h> and <bp-asm.h>.
23624         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23625         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23626         "bp-asm.h".
23627         (_setjmp): Do not use BP_SYM.
23628         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23629         "bp-asm.h".
23630         (setjmp): Do not use BP_SYM.
23631         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23632         libc_hidden_def.
23633         (mempcpy): Do not use BP_SYM in weak_alias.
23634         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23635         "bp-asm.h".
23636         (strchr): Do not use BP_SYM.
23637         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23638         "bp-asm.h".
23639         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23640         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23641         (_start): Do not use BP_SYM.
23642         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23643         "bp-asm.h".
23644         (strcat): Do not use BP_SYM.
23645         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23646         "bp-asm.h".
23647         (STRCMP): Do not use BP_SYM.
23648         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23649         "bp-asm.h".
23650         (STRCPY): Do not use BP_SYM.
23651         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23652         "bp-asm.h".
23653         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23654         "bp-asm.h".
23655         (FUNCTION): Do not use BP_SYM.
23656         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23657         weak_alias.
23658         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23659
23660 2013-02-17  Andreas Jaeger  <aj@suse.de>
23661
23662         * time/Versions: Sort entries.
23663         * string/Versions: Likewise.
23664         * resolv/Versions: Likewise.
23665         * posix/Versions: Likewise.
23666         * iconv/Versions: Likewise.
23667         * elf/Versions: Likewise.
23668         * wcsmbs/Versions: Likewise.
23669
23670 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23671
23672         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23673         loop termination condition.
23674
23675         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23676         variable to calculate EZ.
23677         (__sqr): Likewise.
23678
23679         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23680         the lower precision input.
23681
23682 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23683
23684         [BZ #13550]
23685         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23686         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23687         (run-via-rtld-prefix): Do not handle %-bp tests.
23688         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23689         (all-object-suffixes): Remove .ob.
23690         (bppfx): Remove variable.
23691         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23692         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23693         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23694         [$(build-bounded) = yes] (libtype.ob): Likewise.
23695         * Makerules (elide-routines.ob): Remove variable.
23696         (do-tests-clean): Do not handle *-bp.out.
23697         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23698         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23699         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23700         (tests): Do not include $(tests-bp.out).
23701         (xtests): Do not include $(xtests-bp.out).
23702         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23703         [$(build-bounded) = yes] ($(addprefix
23704         $(objpfx),$(binaries-bounded))): Remove rule.
23705         ($(objpfx)%-bp.out): Remove rule.
23706         * config.make.in (build-bounded): Remove variable.
23707         * crypt/Makefile [$(build-bounded) = yes]
23708         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23709         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23710         append to variable.
23711         [$(build-bounded) = yes] (install-lib): Likewise.
23712         [$(build-bounded) = yes] (generated): Likewise.
23713         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23714         Remove rule.
23715         * intl/Makefile [$(build-bounded) = yes]
23716         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23717         * math/Makefile [$(build-bounded) = yes]
23718         ($(tests:%=$(objpfx)%-bp): Likewise.
23719         * misc/Makefile [$(build-bounded) = yes]
23720         ($(objpfx)tst-tsearch-bp): Likewise.
23721         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23722         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23723         Remove dependency.
23724         * string/Makefile (o-objects.ob): Remove variable.
23725         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23726         (CFLAGS-.ob): Remove variable.
23727         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23728         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23729         both definitions of variable.
23730         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23731         (ASFLAGS-.ob): Remove variable.
23732
23733 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23734
23735         [BZ #13550]
23736         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23737         Remove __BOUNDED_POINTERS__ from condition.
23738         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23739         * string/bits/string2.h [!__NO_STRING_INLINES &&
23740         !__BOUNDED_POINTERS__]: Likewise.
23741         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23742         Likewise.
23743         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23744         Remove conditional code.
23745         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23746         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23747         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23748         condition.
23749
23750         [BZ #13550]
23751         * csu/libc-start.c: Do not include <bp-sym.h>.
23752         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23753         * elf/dl-open.c: Do not include <bp-sym.h>.
23754         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23755         * math/fegetenv.c: Do not include <bp-sym.h>.
23756         (fegetenv): Do not use BP_SYM in versioned symbols.
23757         * nptl/sysdeps/pthread/bits/libc-lockP.h
23758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23759         <bp-sym.h>.
23760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23761         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23763         (__pthread_mutex_destroy): Likewise.
23764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23765         (__pthread_mutex_lock): Likewise.
23766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23767         (__pthread_mutex_trylock): Likewise.
23768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23769         (__pthread_mutex_unlock): Likewise.
23770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23771         (__pthread_mutexattr_init): Likewise.
23772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23773         (__pthread_mutexattr_destroy): Likewise.
23774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23775         (__pthread_mutexattr_settype): Likewise.
23776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23777         (__pthread_rwlock_init): Likewise.
23778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23779         (__pthread_rwlock_destroy): Likewise.
23780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23781         (__pthread_rwlock_rdlock): Likewise.
23782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23783         (__pthread_rwlock_tryrdlock): Likewise.
23784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23785         (__pthread_rwlock_wrlock): Likewise.
23786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23787         (__pthread_rwlock_trywrlock): Likewise.
23788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23789         (__pthread_rwlock_unlock): Likewise.
23790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23791         (__pthread_key_create): Likewise.
23792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23793         (__pthread_setspecific): Likewise.
23794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23795         (__pthread_getspecific): Likewise.
23796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23797         Likewise.
23798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23799         (_pthread_cleanup_push_defer): Likewise.
23800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23801         (_pthread_cleanup_pop_restore): Likewise.
23802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23803         (pthread_setcancelstate): Likewise.
23804         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23805         <bp-sym.h>.
23806         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23807         (memchr): Do not use BP_SYM in weak_alias.
23808         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23809         (fegetenv): Do not use BP_SYM in versioned symbols.
23810         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23811         (fesetenv): Do not use BP_SYM in versioned symbols.
23812         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23813         (feupdateenv): Do not use BP_SYM in versioned symbols.
23814         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23815         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23816         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23817         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23818         (open64): Do not use BP_SYM in weak_alias.
23819         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23820         (fegetenv): Do not use BP_SYM in versioned symbols.
23821         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23822         (fesetenv): Do not use BP_SYM in versioned symbols.
23823         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23824         (feupdateenv): Do not use BP_SYM in versioned symbols.
23825         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23826         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23827         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23828         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23829         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23830         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23831         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23832         <bp-sym.h>.
23833         (__libc_start_main): Do not use BP_SYM.
23834
23835 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23836
23837         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23838         redundant return line.
23839         (norm): Likewise.
23840         (denorm): Likewise.
23841         (dbl_mp): Likewise.
23842         (sub_magnitudes): Likewise.
23843         (__add): Likewise.
23844         (__sub): Likewise.
23845         (__mul): Likewise.
23846         (__inv): Likewise.
23847         (__dvd): Likewise.
23848         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23849         (norm): Likewise.
23850         (denorm): Likewise.
23851         (dbl_mp): Likewise.
23852         (sub_magnitudes): Likewise.
23853         (__add): Likewise.
23854         (__sub): Likewise.
23855         (__mul): Likewise.
23856         (__inv): Likewise.
23857         (__dvd): Likewise.
23858
23859         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23860         instead of __mul.
23861         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23862         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23863         (cc32): Likewise.
23864
23865         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23866         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23867         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23868         of __mul for squares.
23869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23870         function
23871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23872         Likewise.
23873         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23874         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23875
23876 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23877
23878         [BZ #13550]
23879         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23880         code.
23881         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23882         prototype or function definition.  Rename ubp_* variables and
23883         parameters.  Remove argv definitions conditional on
23884         [__BOUNDED_POINTERS__].
23885         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23886         * elf/dl-runtime.c (_dl_fixup): Likewise.
23887         * include/set-hooks.h (RUN_HOOK): Likewise.
23888         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23889         definition.
23890         * string/strcpy.c (strcpy): Do not use __unbounded.
23891         * sysdeps/generic/frame.h (struct layout): Likewise.
23892         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23893         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23894         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23895         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23896         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23897         (__backtrace): Likewise.
23898         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23899         use __ptrvalue.
23900         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23901         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23902         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23903         Likewise.
23904         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23905         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23906         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23907         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23908         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23909         Do not use __unbounded.
23910         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23911         Rename __unboundedrlimits parameter to rlimits in prototype.
23912         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23913         Do not use __unbounded.
23914         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23915         not use __ptrvalue.
23916         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23917         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23918         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23919         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23920         __ptrvalue or __unbounded.
23921         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23922         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23923         use __unbounded.
23924         (__new_msgctl): Do not use __ptrvalue.
23925         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23926         __unbounded.
23927         (__libc_msgrcv): Do not use __ptrvalue.
23928         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23929         startup_info): Do not use __unbounded.
23930         (__libc_start_main): Likewise.  Rename ubp_* variables and
23931         parameters.  Remove argv definitions conditional on
23932         [__BOUNDED_POINTERS__].
23933         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23934         __ptrvalue.
23935         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23936         use __unbounded.
23937         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23938         or __ptrvalue.
23939         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23940         use __unbounded.
23941         (__new_shmctl): Do not use __ptrvalue.
23942         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23943         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23944         Likewise.
23945         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23946         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23947         (__libc_sigaction): Likewise.
23948         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23949         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23950         Likewise.
23951         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23952
23953 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23954
23955         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23956
23957         * string/mempcpy.c: Implement by calling memcpy.
23958
23959 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23960
23961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23962
23963         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23964         evaluation.
23965
23966         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23967         values in the mantissa.
23968
23969         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23970         minimize writes to Z.
23971         (sub_magnitudes): Simplify code a bit.
23972
23973 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23974
23975         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23976         from the message.  The linker prefixes all warnings with that already.
23977
23978 2013-02-12  Andreas Schwab  <schwab@suse.de>
23979
23980         [BZ #15078]
23981         * posix/regexec.c (extend_buffers): Add parameter min_len.
23982         (check_matching): Pass minimum needed length.
23983         (clean_state_log_if_needed): Likewise.
23984         (get_subexp): Likewise.
23985         * posix/Makefile (tests): Add bug-regex34.
23986         (bug-regex34-ENV): Define.
23987         * posix/bug-regex34.c: New file.
23988
23989         [BZ #11561]
23990         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23991         elements compare against the byte sequence of it, not its name.
23992         * posix/Makefile (tests): Add bug-regex35.
23993         (bug-regex35-ENV): Define.
23994         * posix/bug-regex35.c: New file.
23995
23996 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23997
23998         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23999         comment.
24000         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24001         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24002         (CHECK_EOL): Add undef.
24003
24004 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24005
24006         * bits/stdlib-bsearch.h: New file.
24007         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24008         * stdlib/stdlib.h: Likewise.
24009
24010 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24011
24012         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24013         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24014         declaration.
24015         * manual/search.texi (Array Search Function): Add missing const in
24016         lfind prototype.
24017         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24018         declaration to use rlim_t.
24019         (Basic Scheduling Functions): Remove erroneous const from
24020         sched_getparam prototype.  Remove erroneous * from
24021         sched_get_priority_max and sched_get_priority_min prototypes.
24022         (Resource Usage): Fix summary @comment on vtimes to refer to
24023         sys/vtimes.h rather than vtimes.h.
24024         Add missing *s in vtimes prototype.
24025         (Limits on Resources): Fix ulimit prototype to return long int.
24026         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24027         prototypes to use long int rather than double.
24028         (BSD Random): Fix initstate and setstate to use char *, not void *.
24029         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24030         prototype to make second argument 'struct aiocb64 *const[]'.
24031         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24032         (Status of AIO Operations): Remove erroneous const in aio_return and
24033         aio_return64 prototypes.
24034         (Synchronizing I/O): Fix sync prototype to return void.
24035         * manual/startup.texi (Suboptions): Remove an erroneous const in
24036         getsubopt prototype.
24037         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24038         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24039         use size_t rather than int.
24040         (Scanning All Users): Likewise for getpwent_r.
24041         (Setting Groups): Add missing const to setgroups prototype.
24042         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24043         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24044         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24045         'const void *' rather than 'const char *'.
24046         (Host Address Functions): Likewise for inet_ntop.
24047         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24048         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24049         ssize_t for return value.
24050         (Sending Data): Likewise for send, sendto, sendmsg.
24051         (Socket Option Functions): Add a missing const in setsockopt prototype.
24052         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24053         use wchar_t for the argument.
24054         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24055         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24056         take no arguments.
24057         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24058         double/float/long double for second argument.
24059         Fix return types of significand, significandf, significandl.
24060         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24061         argument in fchmod prototype.
24062         (File Owner): Use uid_t and gid_t in fchown prototype.
24063         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24064         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24065         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24066         use 'const struct dirent **' as argument types to CMP function pointer
24067         argument.
24068         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24069         (File Times): Fix summary magic @comment for struct utimbuf and utime
24070         to refer to utime.h, not time.h.
24071         * manual/string.texi (Argz Functions): Add missing const in
24072         argz_extract and argz_next prototypes.
24073         (Finding Tokens in a String): Likewise for basename.
24074         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24075         (Copying and Concatenation): Fix typo in wmemmove prototype.
24076         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24077         (Signal Stack): Remove erroneous const in sigstack prototype.
24078         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24079         prototype.
24080         (Simple Calendar Time): Likewise for stime.
24081         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24082         prototype.
24083         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24084         say sys/sysctl.h instead.
24085         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24086         and vsyslog prototypes.
24087
24088 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24089
24090         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24091         Remove.
24092
24093 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24094
24095         * misc/sys/mman.h: Fix typo in mremap comment.
24096
24097 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24098
24099         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24100         the '\0' terminator.
24101
24102 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24103
24104         [BZ #13550]
24105         * debug/segfault.c: Don't include <bp-checks.h>.
24106         * sysdeps/generic/bp-checks.h: Remove file.
24107         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24108         (__GETDENTS): Don't use CHECK_N.
24109         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24110         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24111         (__getgroups): Don't use CHECK_N.
24112         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24113         (setgroups): Don't use CHECK_N.
24114         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24115         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24116         (__libc_msgrcv): Don't use CHECK_N.
24117         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24118         (__libc_msgsnd): Don't use CHECK_N.
24119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24120         <bp-checks.h>.
24121         (__libc_pread): Don't use CHECK_N.
24122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24123         include <bp-checks.h>.
24124         (__libc_pread64): Don't use CHECK_N.
24125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24126         include <bp-checks.h>.
24127         (__libc_pwrite): Don't use CHECK_N.
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24129         include <bp-checks.h>.
24130         (__libc_pwrite64): Don't use CHECK_N.
24131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24132         <bp-checks.h>.
24133         (__libc_pread): Don't use CHECK_N.
24134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24135         include <bp-checks.h>.
24136         (__libc_pread64): Don't use CHECK_N.
24137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24138         include <bp-checks.h>.
24139         (__libc_pwrite): Don't use CHECK_N.
24140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24141         include <bp-checks.h>.
24142         (__libc_pwrite64): Don't use CHECK_N.
24143         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24144         (do_pread): Don't use CHECK_N.
24145         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24146         (do_pread64): Don't use CHECK_N.
24147         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24148         (do_pwrite): Don't use CHECK_N.
24149         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24150         (do_pwrite64): Don't use CHECK_N.
24151         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24152         (__libc_readv): Don't use CHECK_N.
24153         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24154         (semop): Don't use CHECK_N.
24155         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24156         <bp-checks.h>.
24157         (semtimedop): Don't use CHECK_N.
24158         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24159         (__libc_pread): Don't use CHECK_N.
24160         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24161         <bp-checks.h>.
24162         (__libc_pread64): Don't use CHECK_N.
24163         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24164         <bp-checks.h>.
24165         (__libc_pwrite): Don't use CHECK_N.
24166         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24167         <bp-checks.h>.
24168         (__libc_pwrite64): Don't use CHECK_N.
24169         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24170         <bp-checks.h>.
24171         (__libc_msgrcv): Don't use CHECK_N.
24172         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24173         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24174         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24175         (__libc_writev): Don't use CHECK_N.
24176
24177 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24178
24179         * string/strcpy.c: Removed unused variable.
24180
24181         * Makeconfig (+sysdep-includes): Define with := rather than =.
24182         Use an existing include/ subdir of each sysdeps dir before it.
24183
24184 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24185
24186         * nscd/connection.c (register_traced_file): Comment function.
24187         [HAVE_INOTIFY] (union __inev): Define.
24188         [HAVE_INOTIFY] (inotify_check_files): New function.
24189         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24190         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24191         clear_db_cache.
24192         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24193
24194 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24195
24196         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24197         loaded if not already and that a failure is permanent.
24198
24199 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24200
24201         [BZ #15006]
24202         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24203         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24204
24205 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24206
24207         [BZ #13550]
24208         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24209         (CHECK_1_NULL_OK): Likewise.
24210         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24211         (__fxstat): Do not use CHECK_1.
24212         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24213         <bp-checks.h>.
24214         (___fxstat64): Do not use CHECK_1.
24215         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24216         <bp-checks.h>.
24217         (__fxstatat): Do not use CHECK_1.
24218         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24219         <bp-checks.h>.
24220         (__fxstatat64): Do not use CHECK_1.
24221         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24222         <bp-checks.h>.
24223         (__fxstat): Do not use CHECK_1.
24224         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24225         <bp-checks.h>.
24226         (__fxstatat): Do not use CHECK_1.
24227         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24228         <bp-checks.h>.
24229         (__getresgid): Do not use CHECK_1.
24230         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24231         <bp-checks.h>.
24232         (__getresuid): Do not use CHECK_1.
24233         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24234         <bp-checks.h>.
24235         (__lxstat): Do not use CHECK_1.
24236         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24237         <bp-checks.h>.
24238         (__old_msgctl): Do not use CHECK_1.
24239         (__new_msgctl): Likewise.
24240         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24241         <bp-checks.h>.
24242         (__new_setrlimit): Do not use CHECK_1.
24243         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24244         <bp-checks.h>.
24245         (__old_shmctl): Do not use CHECK_1.
24246         (__new_shmctl): Likewise.
24247         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24248         <bp-checks.h>.
24249         (__xstat): Do not use CHECK_1.
24250         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24251         (__lxstat): Do not use CHECK_1.
24252         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24253         <bp-checks.h>.
24254         (___lxstat64): Do not use CHECK_1.
24255         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24256         (__old_msgctl): Do not use CHECK_1.
24257         (__new_msgctl): Likewise.
24258         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24259         <bp-checks.h>.
24260         (__gettimeofday): Do not use CHECK_1.
24261         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24262         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24263         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24264         <bp-checks.h>.
24265         (__gettimeofday): Do not use CHECK_1.
24266         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24267         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24268         (__new_shmctl): Do not use CHECK_1.
24269         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24270         <bp-checks.h>.
24271         (do_sigtimedwait): Do not use CHECK_1.
24272         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24273         <bp-checks.h>.
24274         (do_sigwaitinfo): Do not use CHECK_1.
24275         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24276         <bp-checks.h>.
24277         (msgctl): Do not use CHECK_1.
24278         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24279         <bp-checks.h>.
24280         (shmctl): Do not use CHECK_1.
24281         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24282         (ustat): Do not use CHECK_1.
24283         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24284         <bp-checks.h>.
24285         (__fxstat): Do not use CHECK_1.
24286         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24287         <bp-checks.h>.
24288         (__fxstatat): Do not use CHECK_1.
24289         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24290         <bp-checks.h>.
24291         (__lxstat): Do not use CHECK_1.
24292         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24293         <bp-checks.h>.
24294         (__xstat): Do not use CHECK_1.
24295         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24296         (__xstat): Do not use CHECK_1.
24297         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24298         (___xstat64): Do not use CHECK_1.
24299
24300         [BZ #13550]
24301         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24302         definitions.
24303         (CHECK_BOUNDS_HIGH): Likewise.
24304         * string/strcpy.c: Do not include <bp-checks.h>.
24305         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24306
24307 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24308
24309         * nscd/nscd-client.h (__nscd_drop_map_ref):
24310         Add __attribute__ ((unused)).
24311         * nis/nss-nisplus.h (niserr2nss): Likewise.
24312
24313         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24314         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24315
24316         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24317         Remove inline keyword.
24318         * include/rounding-mode.h (round_away): Likewise.
24319         * libio/wfileops.c (adjust_wide_data): Likewise.
24320         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24321         (__m128i_strloadu_tolower): Likewise.
24322         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24323         (__m128i_strloadu_tolower): Likewise.
24324         * time/mktime.c (ydhms_diff): Likewise.
24325         * locale/elem-hash.h (elem_hash): Likewise.
24326         * locale/setlocale.c (setdata): Likewise.
24327         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24328         (re_string_wchar_at): Likewise.
24329         (bitset_not, bitset_merge, bitset_mask): Likewise.
24330         [!(__GNUC__ > 3)] (inline): Remove macro.
24331         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24332         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24333         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24334         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24335         * string/memcmp.c (memcmp_bytes): Likewise.
24336         * locale/programs/locarchive.c (compute_hashval): Likewise.
24337         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24338         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24339         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24340         * nss/getent.c (print_rpc, print_protocols): Likewise.
24341         (print_passwd, print_group, print_aliases): Likewise.
24342         * nis/nss-nisplus.h (niserr2nss): Likewise.
24343         * nscd/connections.c (restart_p): Likewise.
24344         Change return type to bool.
24345
24346 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24347
24348         * Makeconfig (all-Depend-files): Add existing
24349         $(sorted-subdirs:=/Depend) files.
24350         (all-subdirs): Remove nss.
24351         * sysdeps/unix/inet/Subdirs: Add it here instead.
24352         * hesiod/Depend: New file.
24353
24354         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24355         instead of calling alloca.
24356
24357         * io/lseek.c (__lseek): Rename to __libc_lseek.
24358         Define __lseek as an alias.
24359
24360         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24361
24362 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24363
24364         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24365         else clause and remove check for non-standard endianness.
24366
24367 2013-02-04  David S. Miller  <davem@davemloft.net>
24368
24369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24370
24371 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24372
24373         [BZ #13550]
24374         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24375         (__ubp_memchr): Remove prototype.
24376         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24377         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24378         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24379         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24380         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24381         Remove alias.
24382         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24383         (__ubp_memchr): Likewise.
24384         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24385         (__ubp_memchr): Likewise.
24386         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24387         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24388         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24389         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24390         CHECK_STRING.
24391         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24392         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24393         (__getcwd): Do not use CHECK_STRING.
24394         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24395         <bp-checks.h>.
24396         (__real_chown): Do not use CHECK_STRING.
24397         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24398         <bp-checks.h>.
24399         (fchownat): Do not use CHECK_STRING.
24400         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24401         CHECK_STRING.
24402         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24403         <bp-checks.h>.
24404         (__lchown): Do not use CHECK_STRING.
24405         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24406         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24407         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24408         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24410         include <bp-checks.h>.
24411         (truncate64): Do not use CHECK_STRING.
24412         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24413         <bp-checks.h>.
24414         (__real_chown): Do not use CHECK_STRING.
24415         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24416         <bp-checks.h>.
24417         (__lchown): Do not use CHECK_STRING.
24418         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24419         <bp-checks.h>.
24420         (__chown): Do not use CHECK_STRING.
24421         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24422         <bp-checks.h>.
24423         (truncate64): Do not use CHECK_STRING.
24424         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24425         Likewise.
24426         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24427         (__xmknod): Do not use CHECK_STRING.
24428         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24429         <bp-checks.h>.
24430         (__xmknodat): Do not use CHECK_STRING.
24431         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24432         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24433
24434 2013-02-04  Andreas Schwab  <schwab@suse.de>
24435
24436         [BZ #14142]
24437         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24438         * include/netdb.h: Likewise for h_errno.
24439         * elf/tst-stackguard1.c: Include <tls.h>.
24440
24441 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24442
24443         * elf/link.h (struct link_map): Extend the l_addr comment.
24444         * include/link.h (struct link_map): Likewise.
24445
24446 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24447
24448         [BZ #13550]
24449         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24450         (BOUNDED_1): Remove macro.
24451         * debug/backtrace.c: Don't include <bp-checks.h>.
24452         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24453         (__backtrace): Likewise.
24454         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24455         <bp-checks.h>.
24456         (__backtrace): Don't use BOUNDED_1.
24457         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24458         <bp-checks.h>.
24459         (__backtrace): Don't use BOUNDED_1.
24460         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24461         (__backtrace): Don't use BOUNDED_1.
24462         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24463         (shmat): Don't use BOUNDED_N.
24464
24465 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24466
24467         [BZ #13550]
24468         * sysdeps/generic/bp-start.h: Remove file.
24469         * csu/libc-start.c: Don't include <bp-start.h>.
24470         (LIBC_START_MAIN): Set up __environ directly instead of using
24471         INIT_ARGV_and_ENVIRON.
24472         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24473         <bp-start.h>.
24474
24475         [BZ #13550]
24476         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24477         definitions.
24478         (CHECK_FCNTL): Likewise.
24479         (CHECK_N_PAGES): Likewise.
24480
24481         [BZ #13550]
24482         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24483         definitions.
24484         (CHECK_SIGSET_NULL_OK): Likewise.
24485         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24486         <bp-checks.h>.
24487         (sigpending): Don't use CHECK_SIGSET.
24488         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24489         <bp-checks.h>.
24490         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24491         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24492         <bp-checks.h>.
24493         (do_sigsuspend): Don't use CHECK_SIGSET.
24494         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24495         use CHECK_SIGSET.
24496         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24497         (do_sigwait): Don't use CHECK_SIGSET.
24498         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24499         use CHECK_SIGSET.
24500         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24501         include <bp-checks.h>.
24502         (sigpending): Don't use CHECK_SIGSET.
24503         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24504         include <bp-checks.h>.
24505         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24506         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24507         <bp-checks.h>.
24508         (sigpending): Don't use CHECK_SIGSET.
24509         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24510         <bp-checks.h>.
24511         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24512
24513         [BZ #13550]
24514         * sysdeps/generic/bp-semctl.h: Remove file.
24515         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24516         <bp-checks.h> and <bp-semctl.h>.
24517         (__old_semctl): Don't use CHECK_SEMCTL.
24518         (__new_semctl): Likewise.
24519         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24520         and <bp-semctl.h>.
24521         (__old_semctl): Don't use CHECK_SEMCTL.
24522         (__new_semctl): Likewise.
24523         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24524         <bp-checks.h> and <bp-semctl.h>.
24525         (__old_semctl): Don't use CHECK_SEMCTL.
24526         (__new_semctl): Likewise.
24527         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24528         <bp-checks.h> and <bp-semctl.h>.
24529         (semctl): Don't use CHECK_SEMCTL.
24530
24531         [BZ #13550]
24532         * Makerules (elide-bp-thunks): Remove variable.
24533         (elide-routines.oS): Don't use $(elide-bp-thunks).
24534         (elide-routines.os): Likewise.
24535         (elide-routines.o): Likewise.
24536         (elide-routines.op): Likewise.
24537         (elide-routines.og): Likewise.
24538         (objects): Don't use $(bp-thunks).
24539         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24540         include.
24541         (common-generated): Do not add s-proto-bp.d.
24542         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24543         (int): Likewise.
24544         (typ): Likewise.
24545         Do not generate makefile rules for bounded-pointer thunks.
24546         * sysdeps/generic/bp-thunks.h: Remove file.
24547         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24548         * sysdeps/unix/s-proto-bp.S: Likewise.
24549
24550         [BZ #15062]
24551         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24552         parts of result separately when argument is not close to line from
24553         -i to i and one part of argument is small.
24554         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24555         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24556         * math/libm-test.inc (cacos_test): Add more tests.
24557         (casin_test): Likewise.
24558         (casinh_test): Likewise.
24559         * sysdeps/i386/fpu/libm-test-ulps: Update.
24560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24561
24562 2013-01-31  David S. Miller  <davem@davemloft.net>
24563
24564         * po/de.po: Update from translation team.
24565
24566 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24567
24568         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24569
24570 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24571
24572         * configure.in (_AC_PROG_CC_C89): New definition.
24573         * configure: Regenerate.
24574
24575         * configure.in (AC_PROG_CPP): New definition.
24576         * configure: Regenerate.
24577
24578 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24579
24580         * debug/tst-backtrace.h: New file.
24581         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24582         (ret): Remove variable.
24583         (x): Likewise.
24584         (FAIL): Remove macro.
24585         (NO_INLINE): Likewise.
24586         (fn1): Use match function instead of strstr.
24587         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24588         (ret): Remove variable.
24589         (x): Likewise.
24590         (FAIL): Remove macro.
24591         (NO_INLINE): Likewise.
24592         (fn): Use match function instead of strstr.
24593         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24594         (ret): Remove variable.
24595         (x): Likewise.
24596         (FAIL): Remove macro.
24597         (NO_INLINE): Likewise.
24598         (handle_signal): Use match function instead of strstr.
24599         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24600         (ret): Remove variable.
24601         (x): Likewise.
24602         (FAIL): Remove macro.
24603         (NO_INLINE): Likewise.
24604         (handle_signal): Use match function instead of strstr.
24605
24606 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24607
24608         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24609
24610 2013-01-23  David S. Miller  <davem@davemloft.net>
24611
24612         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24613         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24614         argument of CAS if possible.
24615         * sysdeps/sparc/sparc64/bits/atomic.h
24616         (__arch_compare_and_exchange_val_32_acq): Likewise.
24617         (__arch_compare_and_exchange_val_64_acq): Likewise.
24618
24619 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24620
24621         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24622         * sysdeps/posix/ulimit.c: ... this.
24623         Include <limits.h>.
24624         * sysdeps/unix/bsd/ulimit.c: Remove file.
24625
24626 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24627
24628         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24629         (LDFLAGS-tst-array5): Likewise.
24630
24631 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24632
24633         [BZ #15036]
24634         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24635         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24636         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24637         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24638
24639 2013-01-21  David S. Miller  <davem@davemloft.net>
24640
24641         * sysdeps/sparc/backtrace.c: New file.
24642         * sysdeps/sparc/sparc32/backtrace.h: New file.
24643         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24644         * sysdeps/sparc/sparc64/backtrace.h: New file.
24645         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24646         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24647         -funwind-tables.
24648
24649 2013-01-21  Andreas Schwab  <schwab@suse.de>
24650
24651         [BZ #15020]
24652         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24653         closed its stdout.
24654
24655 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24656
24657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24658         "mpa2.h".
24659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24660
24661 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24662             Mark Mitchell  <mark@codesourcery.com>
24663             Tom de Vries  <tom@codesourcery.com>
24664             Paul Pluzhnikov  <ppluzhnikov@google.com>
24665
24666         * debug/tst-backtrace2.c: New file.
24667         * debug/tst-backtrace3.c: Likewise.
24668         * debug/tst-backtrace4.c: Likewise.
24669         * debug/tst-backtrace5.c: Likewise.
24670         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24671         (CFLAGS-tst-backtrace3.c): Likewise.
24672         (CFLAGS-tst-backtrace4.c): Likewise.
24673         (CFLAGS-tst-backtrace5.c): Likewise.
24674         (LDFLAGS-tst-backtrace2): Likewise.
24675         (LDFLAGS-tst-backtrace3): Likewise.
24676         (LDFLAGS-tst-backtrace4): Likewise.
24677         (LDFLAGS-tst-backtrace5): Likewise.
24678         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24679         tst-backtrace4 and tst-backtrace5.
24680
24681 2013-01-18  Anton Blanchard  <anton@samba.org>
24682             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24683
24684         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24685         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24686         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24687         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24689         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24690         "+r" and remove output regs list as redundant.  Add explicit inline
24691         asm to specify register of return val to work around compiler codegen
24692         bug.  Remove (int) cast on return value.  Add return type parameter to
24693         use in macro so that this macro does not truncate return value for
24694         64-bit values.
24695         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24696         pass to INTERNAL_VSYSCALL_NCS.
24697         (INLINE_VSYSCALL): Add 'long int' as return type to
24698         INTERNAL_VSYSCALL_NCS macro invocation.
24699         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24700         INTERNAL_VSYSCALL_NCS macro invocation.
24701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24702
24703 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24704
24705         [BZ #14496]
24706         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24707         Fix application of SIMD FP exception mask.
24708
24709         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24710         mp_no from a power of two.
24711         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24712         __mpexp_twomm1.  Use __pow_mp.
24713
24714         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24715         multiplication.
24716
24717 2013-01-17  David S. Miller  <davem@davemloft.net>
24718
24719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24720
24721 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24722
24723         [BZ #15023]
24724         * include/complex.h: Condition contents on [!_COMPLEX_H].
24725         (__kernel_casinhf): New prototype.
24726         (__kernel_casinh): Likewise.
24727         (__kernel_casinhl): Likewise.
24728         * math/Makefile (libm_calls): Add k_casinh.
24729         * math/k_casinh.c: New file.
24730         * math/k_casinhf.c: Likewise.
24731         * math/k_casinhl.c: Likewise.
24732         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24733         finite nonzero arguments.
24734         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24735         finite nonzero arguments.
24736         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24737         finite nonzero arguments.
24738         * math/s_casinh.c: Do not include <float.h>.
24739         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24740         * math/s_casinhf.c: Do not include <float.h>.
24741         (__casinhf): Move code for finite nonzero arguments to
24742         k_casinhf.c.
24743         * math/s_casinhl.c: Do not include <float.h>.
24744         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24745         redefine.
24746         (__casinhl): Move code for finite nonzero arguments to
24747         k_casinhl.c.
24748         * math/libm-test.inc (cacos_test): Add more tests.
24749         * sysdeps/i386/fpu/libm-test-ulps: Update.
24750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24751
24752 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24753
24754         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24755         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24756         [!HAVE_MREMAP]: Remove [defined linux] case.
24757         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24758
24759 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24760
24761         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24762
24763 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24764
24765         * elf/elf.h (R_386_SIZE32): New relocation.
24766         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24767         R_386_SIZE32.
24768         (elf_machine_rela): Likewise.
24769         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24770         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24771
24772 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24773
24774         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24775         (FP_FAST_FMA): Do not define.
24776         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24777         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24778         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24779         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24780         !_SOFT_FLOAT]: Likewise.
24781         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24782         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24783         value.
24784         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24785         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24786         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24787         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24788         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24789         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24790         file.
24791
24792 2013-01-16  Andreas Schwab  <schwab@suse.de>
24793
24794         [BZ #14327]
24795         * include/stdlib.h (__mktemp): Add declaration.
24796         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24797         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24798
24799 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24800
24801         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24802         definitions.
24803         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24804         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24805         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24806         definitions here.
24807         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24808         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24809         definitions.
24810         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24811         and ONE.
24812         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24813         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24814         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24815         definitions.
24816         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24817         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24818         definitions.
24819         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24820
24821         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24822
24823 2013-01-15  David S. Miller  <davem@davemloft.net>
24824
24825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24826         trunc{,f} to libm-sysdep_routes.
24827         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24829         file.
24830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24832         file.
24833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24834         file.
24835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24837         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24838         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24839         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24840         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24841         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24842         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24843
24844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24845         nearbyint{,f} to libm-sysdep_routes.
24846         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24848         New file.
24849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24850         file.
24851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24852         New file.
24853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24854         file.
24855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24857         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24858         file.
24859         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24860         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24861         file.
24862         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24863         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24864         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24865
24866         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24867         libc_feholdexcept and libc_fesetenv.
24868
24869 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24870
24871         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24872
24873 2013-01-14  David S. Miller  <davem@davemloft.net>
24874
24875         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24876         (SPARC_ASM_VIS2_IFUNC): Likewise.
24877         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24879         use of 'siam' instruction.
24880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24881         Likewise.
24882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24883         Likewise.
24884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24885         Likewise.
24886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24888         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24889         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24891         file.
24892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24893         file.
24894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24895         file.
24896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24897         file.
24898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24903         new VIS2 routines.
24904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24907         Likewise.
24908         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24910         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24913         routines to libm-sysdep_routines.
24914         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24915
24916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24917         fdim/fdimf to libm-sysdep_routines.
24918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24919         file.
24920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24922         file.
24923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24926         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24927         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24928         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24929         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24930
24931 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24932
24933         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24934         to optimize copies.
24935
24936         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24939
24940         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24941         local variable MPTWO.
24942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24943         Likewise.
24944
24945 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24946
24947         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24948         GLOB_NOESCAPE.
24949
24950 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24951
24952         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24953
24954 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24955
24956         * manual/pattern.texi (glob_t): Document gl_flags.
24957         (glob64_t): Likewise.
24958
24959 2013-01-11  David S. Miller  <davem@davemloft.net>
24960
24961         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24962         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24963         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24964         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24965         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24966         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24967         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24968         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24969         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24970         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24971         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24972         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24973         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24974
24975         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24976         sparc V9 rather than using V8 code.
24977         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24978         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24979
24980         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24981         Move to...
24982         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24983         Here.
24984
24985 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24986
24987         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24988         not in the main loop.
24989         * configure: Regenerated.
24990
24991 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24992
24993         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24994         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24995         to just #else.
24996         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24997         [!__GLIBC_HAVE_LONG_LONG] case.
24998         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24999         condition to just #else.
25000         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25001         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25002         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25003         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25004         unconditional.
25005         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25006         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25007         #elif condition to just #else.
25008         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25009         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25010         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25011         #elif condition to just #else.
25012
25013 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25014
25015         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25016         (EF_MIPS_ARCH_64): Fix value.
25017         (EF_MIPS_ARCH_32R2): New.
25018         (EF_MIPS_ARCH_64R2): New.
25019
25020 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25021
25022         * Makeconfig (+link-pie-before-libc): New.
25023         (+link-pie-after-libc): Likewise.
25024         (+link-pie-tests): Likewise.
25025         (+link-pie): Rewritten.
25026         (link-before-libc): Remove $(config-LDFLAGS).
25027         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25028         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25029         (config-LDFLAGS): Renamed to ...
25030         (rtld-LDFLAGS): This.
25031         (rtld-tests-LDFLAGS): New macro.
25032         (link-libc-rpath-link): Likewise.
25033         (link-libc-tests-rpath-link): Likewise.
25034         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25035         (link-libc): Prepand $(link-libc-rpath-link).
25036         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25037         (test-program-prefix): New macro.
25038         (test-via-rtld-prefix): Likewise.
25039         (test-program-cmd): Likewise.
25040         (host-test-program-cmd): Likewise.
25041         * Makefile ($(common-objpfx)testrun.sh): Replace
25042         $(run-program-prefix) with $(test-program-prefix).
25043         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25044         $(rtld-LDFLAGS).
25045         ($(common-objpfx)shlib.lds): Likewise.
25046         (build-module-helper): Likewise.
25047         ($(common-objpfx)format.lds): Likewise.
25048         * Rules (binaries-pie-tests): New.
25049         (binaries-pie-notests): Likewise.
25050         (binaries-pie): Rewritten.
25051         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25052         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25053         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25054         (make-test-out): Replace $(host-built-program-cmd) with
25055         $(host-test-program-cmd).
25056         * config.make.in (build-hardcoded-path-in-tests): New variable.
25057         * configure.in (--enable-hardcoded-path-in-tests): New configure
25058         option.
25059         (hardcoded_path_in_tests): New AC_SUBST.
25060         * configure: Regenerated.
25061         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25062         $(built-program-cmd) with $(test-program-cmd).
25063         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25064         (test_program_cmd): This.
25065         * elf/Makefile ($(objpfx)order.out): Run test with
25066         $(test-program-prefix).
25067         ($(objpfx)order2.out): Likewise.
25068         ($(objpfx)tst-initorder.out): Likewise.
25069         ($(objpfx)tst-initorder2.out): Likewise.
25070         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25071         $(test-program-cmd).
25072         ($(objpfx)tst-array1-static.out): Likewise.
25073         ($(objpfx)tst-array2.out): Likewise.
25074         ($(objpfx)tst-array3.out): Likewise.
25075         ($(objpfx)tst-array4.out): Likewise.
25076         ($(objpfx)tst-array5.out): Likewise.
25077         ($(objpfx)tst-array5-static.out): Likewise.
25078         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25079         $(test-program-cmd).
25080         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25081         $(run-program-prefix) with $(test-program-prefix).
25082         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25083         (test_program_prefix): This.
25084         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25085         $(run-program-prefix) with $(test-program-prefix).
25086         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25087         (test_program_prefix): This.
25088         * iconvdata/tst-tables.sh: Likewise.
25089         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25090         $(run-program-prefix) with $(test-program-prefix).
25091         ($(objpfx)tst-translit.out): Likewise.
25092         ($(objpfx)tst-gettext2.out): Likewise.
25093         ($(objpfx)tst-gettext4.out): Likewise.
25094         ($(objpfx)tst-gettext6.out): Likewise.
25095         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25096         (test_program_prefix): This.
25097         * intl/tst-gettext2.sh: Likewise.
25098         * intl/tst-gettext4.sh  Likewise.
25099         * intl/tst-gettext6.sh: Likewise.
25100         * intl/tst-translit.sh: Likewise.
25101         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25102         with $(test-program-cmd).
25103         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25104         $(run-program-prefix) with $(test-program-prefix).
25105         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25106         (test_program_prefix): This.
25107         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25108         $(run-program-prefix) with $(test-program-prefix).
25109         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25110         (test_program_prefix): This.
25111         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25112         * posix/Makefile ($(objpfx)globtest.out): Replace
25113         $(run-via-rtld-prefix) and $(test-wrapper) with
25114         $(test-program-prefix) and $(test-via-rtld-prefix).
25115         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25116         $(test-program-prefix).
25117         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25118         $(host-test-program-cmd).
25119         (tst-spawn-ARGS): Likewise.
25120         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25121         $(test-program-prefix).
25122         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25123         (test_via_rtld_prefix): This.
25124         (test_wrapper): Renamed to ...
25125         (test_program_prefix): This.
25126         (run_program_prefix): Replaced by test_program_prefix.
25127         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25128         (test_program_prefix): This.
25129         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25130         with $(host-test-program-cmd).
25131         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25132         $(run-program-prefix) with $(test-program-prefix).
25133         ($(objpfx)tst-printf.out): Likewise.
25134         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25135         $(test-program-cmd).
25136         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25137         (test_program_prefix): This.
25138         * stdio-common/tst-unbputc.sh: Likewise.
25139         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25140         $(run-program-prefix) with $(test-program-prefix).
25141         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25142         (test_program_prefix): This.
25143         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25144         $(built-program-cmd) with $(test-program-cmd).
25145
25146 2013-01-11  Andreas Jaeger  <aj@suse.de>
25147
25148         [BZ #15003]
25149         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25150         value. Sync with Linux 3.7.
25151
25152 2013-01-10  David S. Miller  <davem@davemloft.net>
25153
25154         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25155         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25156         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25157
25158 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25159
25160         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25161         never set.
25162         * configure: Regenerated.
25163
25164 2013-01-10  David S. Miller  <davem@davemloft.net>
25165
25166         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25167         sparc V9 rather than using V8 code.
25168         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25169         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25170
25171 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25172
25173         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25174         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25175         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25176         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25177         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25178         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25179         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25180         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25181         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25182         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25183         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25184         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25185         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25186         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25187         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25188         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25189         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25190         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25191         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25192         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25193         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25194         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25195         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25196         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25197         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25198         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25199         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25200
25201 2013-01-10  David S. Miller  <davem@davemloft.net>
25202
25203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25204
25205 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25206
25207         * posix/Makefile (tests-static): New variable.
25208         (tests): Add $(tests-static).
25209         (tst-exec-static-ARGS): New variable.
25210         (tst-spawn-static-ARGS): Likewise.
25211         * posix/tst-exec-static.c: New file.
25212         * posix/tst-spawn-static.c: Likewise.
25213         * posix/tst-exec.c: Support run directly.
25214         * posix/tst-spawn.c: Likewise.
25215
25216 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25217
25218         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25219         long.
25220         * math/bits/mathcalls.h (llrint): Likewise.
25221         (llround): Likewise.
25222         * stdlib/stdlib.h (struct drand48_data): Likewise.
25223         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25224         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25225         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25226         Likewise.
25227         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25228         Likewise.
25229         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25230         (elf_greg_t): Likewise.
25231         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25232         (__jmp_buf): Likewise.
25233         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25234         definitions.
25235         (llrint): Likewise, for all definitions.
25236         (llrintl): Likewise.
25237
25238         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25239         Remove [__GNUC__] condition.
25240         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25241         condition to just [__USE_ISOC99].
25242         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25243
25244 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25245
25246         [BZ #14200]
25247         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25248         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25249         defined.
25250         (_POSIX_V6_ILP32_OFF32): Likewise.
25251         (_XBS5_ILP32_OFF32): Likewise.
25252         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25253         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25254
25255 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25256
25257         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25258
25259         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25260         doubles __mpexp_twomm1.  Adjust usage.
25261         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25262         Remove.
25263
25264 2013-01-10  Andreas Schwab  <schwab@suse.de>
25265
25266         [BZ #14964]
25267         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25268         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25269
25270 2013-01-09  David S. Miller  <davem@davemloft.net>
25271
25272         [BZ #15003]
25273         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25274         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25275         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25276         (TCP_FASTOPEN): Define.
25277         (tcp_repair_opt): New structure.
25278         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25279         enum values.
25280         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25281         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25282         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25283         (tcp_cookie_transactions): New structure.
25284
25285 2013-01-09  Anton Blanchard  <anton@samba.org>
25286
25287         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25288         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25289         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25290         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25291
25292 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25293
25294         * include/features.h (__USE_ANSI): Remove.
25295
25296 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25297
25298         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25299
25300         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25301
25302 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25303
25304         * sysdeps/s390/fpu/libm-test-ulps: Update.
25305
25306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25307
25308         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25309         (__acr): Likewise.
25310         (__cpy): Likewise.
25311         (norm): Likewise.
25312         (denorm): Likewise.
25313         (__mp_dbl): Likewise.
25314         (__dbl_mp): Likewise.
25315         (add_magnitudes): Likewise.
25316         (sub_magnitudes): Likewise.
25317         (__add): Likewise.
25318         (__sub): Likewise.
25319         (__mul): Likewise.
25320         (__inv): Likewise.
25321         (__dvd): Likewise.
25322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25323         (__acr): Likewise.
25324         (__cpy): Likewise.
25325         (norm): Likewise.
25326         (denorm): Likewise.
25327         (__mp_dbl): Likewise.
25328         (__dbl_mp): Likewise.
25329         (add_magnitudes): Likewise.
25330         (sub_magnitudes): Likewise.
25331         (__add): Likewise.
25332         (__sub): Likewise.
25333         (__mul): Likewise.
25334         (__inv): Likewise.
25335         (__dvd): Likewise.
25336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25337         (__acr): Likewise.
25338         (__cpy): Likewise.
25339         (norm): Likewise.
25340         (denorm): Likewise.
25341         (__mp_dbl): Likewise.
25342         (__dbl_mp): Likewise.
25343         (add_magnitudes): Likewise.
25344         (sub_magnitudes): Likewise.
25345         (__add): Likewise.
25346         (__sub): Likewise.
25347         (__mul): Likewise.
25348         (__inv): Likewise.
25349         (__dvd): Likewise.
25350
25351 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25352
25353         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25354         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25355         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25356         2 && __USE_EXTERN_INLINES]: Likewise.
25357
25358 2013-01-08  Andreas Jaeger  <aj@suse.de>
25359
25360         [BZ# 14985]
25361         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25362         Remove.
25363         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25364         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25365
25366 2013-01-07  Anton Blanchard  <anton@samba.org>
25367
25368         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25369         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25370         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25371         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25372         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25373         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25374         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25375         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25377         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25378         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25379         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25380         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25381         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25382         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25383         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25384         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25385         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25386         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25387         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25388         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25389         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25390         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25391         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25392         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25393         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25394         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25395         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25396         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25397         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25398         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25400         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25401         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25402         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25403         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25404         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25405         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25406         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25407         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25408         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25409         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25410         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25411
25412 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25413
25414         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25415         (__MALLOC_PMT): Likewise.
25416         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25417         [__GNUC__], only on [_LIBC].
25418         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25419         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25420         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25421         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25422         forward declaration.
25423         (realloc_hook_ini): Likewise.
25424         (memalign_hook_ini): Likewise.
25425         (__libc_memalign): Do not use __MALLOC_PMT in variable
25426         declaration.
25427         (__libc_valloc): Likewise.
25428         (__libc_pvalloc): Likewise.
25429         (__libc_calloc): Likewise.
25430         (__posix_memalign): Likewise.
25431
25432         [BZ #14996]
25433         * math/s_casinh.c: Include <float.h>.
25434         (__casinh): Do not do computation with squaring and square root
25435         for large arguments.
25436         * math/s_casinhf.c: Include <float.h>.
25437         (__casinhf): Do not do computation with squaring and square root
25438         for large arguments.
25439         * math/s_casinhl.c: Include <float.h>.
25440         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25441         (__casinhl): Do not do computation with squaring and square root
25442         for large arguments.
25443         * math/libm-test.inc (casin_test): Add more tests.
25444         (casinh_test): Likewise.
25445         * sysdeps/i386/fpu/libm-test-ulps: Update.
25446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25447
25448 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25449
25450         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25451         (__x86_64_raw_data_cache_size): Likewise.
25452         (__x86_64_data_cache_size_half): Likewise.
25453         (__x86_64_raw_data_cache_size_half): Likewise.
25454         (__x86_64_shared_cache_size): Likewise.
25455         (__x86_64_raw_shared_cache_size): Likewise.
25456         (__x86_64_shared_cache_size_half): Likewise.
25457         (__x86_64_raw_shared_cache_size_half): Likewise.
25458         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25459         to ...
25460         (__x86_data_cache_size): This.
25461         (__x86_64_raw_data_cache_size): Renamed to ...
25462         (__x86_raw_data_cache_size): This.
25463         (__x86_64_data_cache_size_half): Renamed to ...
25464         (__x86_data_cache_size_half): This.
25465         (__x86_64_raw_data_cache_size_half): Renamed to ...
25466         (__x86_raw_data_cache_size_half): This.
25467         (__x86_64_shared_cache_size): Renamed to ...
25468         (__x86_shared_cache_size): This.
25469         (__x86_64_raw_shared_cache_size): Renamed to ...
25470         (__x86_raw_shared_cache_size): This.
25471         (__x86_64_shared_cache_size_half): Renamed to ...
25472         (__x86_shared_cache_size_half): This.
25473         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25474         (__x86_raw_shared_cache_size_half): This.
25475         * sysdeps/x86_64/memcpy.S: Updated.
25476         * sysdeps/x86_64/memset.S: Likewise.
25477         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25478         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25479         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25480
25481 2013-01-04  David S. Miller  <davem@davemloft.net>
25482
25483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25484
25485 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25486
25487         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25488         1 to avoid redefinition warning.
25489         (__USE_GNU): Don't define.
25490         (init_signaling_nan): Protoize.
25491
25492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25493
25494 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25495
25496         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25498         (__cpymn): Likewise.
25499         (norm): Remove commented code.
25500         (denorm): Likewise.
25501         (__mp_dbl): Likewise.
25502         (__inv): Likewise.
25503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25504         (__cpymn): Likewise.
25505         (norm): Remove commented code.
25506         (denorm): Likewise.
25507         (__mp_dbl): Likewise.
25508         (__inv): Likewise.
25509
25510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25511         mp_no value for 1.0 and 2.0.
25512         (norm): Use RADIXI instead of radixi.d.
25513         (denorm): Likewise.
25514         (__mul): Use 0.0 instead of zero.d.
25515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25516         mp_no value for 1.0 and 2.0.
25517         (norm): Use RADIXI instead of radixi.d.
25518         (denorm): Likewise.
25519         (__mul): Use 0.0 instead of zero.d.
25520
25521 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25522
25523         [BZ #14994]
25524         * math/s_casinh.c (__casinh): Reduce finite argument to first
25525         quadrant then set signs of results at the end.
25526         * math/s_casinhf.c (__casinhf): Likewise.
25527         * math/s_casinhl.c (__casinhl): Likewise.
25528         * math/libm-test.inc (casin_test): Add more tests.
25529         (casinh_test): Likewise.
25530         * sysdeps/i386/fpu/libm-test-ulps: Update.
25531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25532
25533 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25534
25535         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25536
25537         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25538
25539         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25540         declarations.
25541         (denorm): Likewise.
25542         (__mp_dbl): Likewise.
25543         (__inv): Likewise.
25544
25545         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25546         and adjust the header comment.
25547
25548         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25549         variable name from declaration.
25550
25551 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25552
25553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25554         Initialize COMMON_CPUID_INDEX_7 element.
25555         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25556         (CPUID_RTM): Likewise.
25557         (HAS_RTM): Likewise.
25558         (COMMON_CPUID_INDEX_7): New enum.
25559
25560 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25561
25562         [BZ #14981]
25563         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25564         size is zero, record memory as freed.
25565
25566 2013-01-03  Andreas Jaeger  <aj@suse.de>
25567
25568         * po/ia.po: Add new Interlingua translation.
25569
25570 2012-01-03  Allan McRae  <allan@archlinux.org>
25571
25572         * locale/programs/localedef.c: Fix description of '--posix' flag.
25573
25574 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25575
25576         * NEWS: Update dates in second copyright notice.
25577         * README: Update copyright dates in example.
25578         * manual/libc.texinfo: Update copyright dates.
25579         * scripts/test-installation.pl: Update copyright date in --version
25580         output.
25581
25582         * hurd/ctty-input.c: Fix copyright notice formatting.
25583         * hurd/ctty-output.c: Likewise.
25584         * hurd/dtable.c: Likewise.
25585         * hurd/hurd-raise.c: Likewise.
25586         * hurd/hurdprio.c: Likewise.
25587         * hurd/msgportdemux.c: Likewise.
25588         * misc/sys/file.h: Likewise.
25589         * misc/sys/ioctl.h: Likewise.
25590         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25591         * sysdeps/mach/hurd/chdir.c: Likewise.
25592         * sysdeps/mach/hurd/fchdir.c: Likewise.
25593         * sysdeps/mach/hurd/rename.c: Likewise.
25594         * sysdeps/mach/hurd/rmdir.c: Likewise.
25595         * sysdeps/mach/hurd/seekdir.c: Likewise.
25596         * sysdeps/mach/hurd/setsid.c: Likewise.
25597         * sysdeps/posix/wait3.c: Likewise.
25598
25599         * All files with FSF copyright notices: Update copyright dates
25600         using scripts/update-copyrights.
25601         * intl/plural.c: Regenerated.
25602         * locale/programs/charmap-kw.h: Likewise.
25603         * locale/programs/locfile-kw.h: Likewise.
25604
25605 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25606
25607         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25608         four values.
25609
25610         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25611         calculation loop and add branch prediction.
25612
25613         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25614         check access beyond bounds of m1np.
25615
25616         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25617         MPTWO.
25618         (__inv): Remove local variable MPTWO to use the global
25619         constant.
25620         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25621         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25622         variable MPTWO.
25623         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25624         MP3HALFS static const.
25625
25626 2013-01-01  David S. Miller  <davem@davemloft.net>
25627
25628         * po/ca.po: Update from translation team.
25629
25630 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25631
25632         * scripts/update-copyrights: New file.
25633         * Makeconfig: Reformat copyright notice.
25634         * ctype/ctype.h: Likewise.
25635         * debug/swprintf_chk.c: Likewise.
25636         * elf/dl-cache.c: Likewise.
25637         * elf/dl-debug.c: Likewise.
25638         * elf/dl-object.c: Likewise.
25639         * grp/initgroups.c: Likewise.
25640         * hurd/Makefile: Likewise.
25641         * hurd/hurd/signal.h: Likewise.
25642         * hurd/hurdfault.c: Likewise.
25643         * hurd/hurdioctl.c: Likewise.
25644         * hurd/hurdlookup.c: Likewise.
25645         * hurd/intr-msg.c: Likewise.
25646         * iconv/gconv_open.c: Likewise.
25647         * libio/swprintf.c: Likewise.
25648         * locale/lc-ctype.c: Likewise.
25649         * locale/nl_langinfo.c: Likewise.
25650         * mach/Machrules: Likewise.
25651         * mach/Makefile: Likewise.
25652         * malloc/obstack.h: Likewise.
25653         * manual/Makefile: Likewise.
25654         * manual/tsort.awk: Likewise.
25655         * misc/bits/stab.def: Likewise.
25656         * nis/nis_print_group_entry.c: Likewise.
25657         * nis/nis_table.c: Likewise.
25658         * nis/nss_compat/compat-pwd.c: Likewise.
25659         * nis/nss_compat/compat-spwd.c: Likewise.
25660         * po/Makefile: Likewise.
25661         * posix/fnmatch.c: Likewise.
25662         * posix/regex.h: Likewise.
25663         * resolv/Makefile: Likewise.
25664         * resolv/nss_dns/dns-network.c: Likewise.
25665         * resolv/res_hconf.c: Likewise.
25666         * scripts/gen-sorted.awk: Likewise.
25667         * soft-fp/soft-fp.h: Likewise.
25668         * stdio-common/printf.h: Likewise.
25669         * stdlib/monetary.h: Likewise.
25670         * stdlib/random.c: Likewise.
25671         * stdlib/random_r.c: Likewise.
25672         * sysdeps/generic/Makefile: Likewise.
25673         * sysdeps/gnu/Makefile: Likewise.
25674         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25675         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25676         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25677         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25678         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25679         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25680         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25681         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25682         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25683         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25684         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25685         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25686         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25687         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25688         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25689         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25690         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25691         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25692         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25693         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25694         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25695         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25696         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25697         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25698         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25699         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25700         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25701         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25702         * sysdeps/mach/hurd/errnos.awk: Likewise.
25703         * sysdeps/mach/hurd/fork.c: Likewise.
25704         * sysdeps/mach/hurd/getcwd.c: Likewise.
25705         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25706         * sysdeps/mach/hurd/mmap.c: Likewise.
25707         * sysdeps/mach/hurd/utimes.c: Likewise.
25708         * sysdeps/mach/hurd/xmknod.c: Likewise.
25709         * sysdeps/posix/profil.c: Likewise.
25710         * sysdeps/posix/readdir_r.c: Likewise.
25711         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25712         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25713         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25714         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25716         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25717         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25718         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25720         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25721         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25722         * sysdeps/pthread/lio_listio.c: Likewise.
25723         * sysdeps/sparc/dl-procinfo.h: Likewise.
25724         * sysdeps/unix/i386/sysdep.S: Likewise.
25725         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25726         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25727         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25728         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25730         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25731         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25732         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25733         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25734         * sysdeps/wordsize-32/divdi3.c: Likewise.
25735         * time/sys/time.h: Likewise.
25736         * wcsmbs/Makefile: Likewise.
25737
25738 2013-01-01  David S. Miller  <davem@davemloft.net>
25739
25740         * po/fr.po: Update from translation team.
25741
25742         * catgets/gencat.c: Update copyright year.
25743         * csu/version.c: Likewise.
25744         * debug/catchsegv.sh: Likewise.
25745         * debug/pcprofiledump.c: Likewise.
25746         * debug/xtrace.sh: Likewise.
25747         * elf/ldconfig.c: Likewise.
25748         * elf/ldd.bash.in: Likewise.
25749         * elf/pldd.c: Likewise.
25750         * elf/sotruss.ksh: Likewise.
25751         * elf/sprof.c: Likewise.
25752         * iconv/iconv_prog.c: Likewise.
25753         * iconv/iconvconfig.c: Likewise.
25754         * locale/programs/locale.c: Likewise.
25755         * locale/programs/localedef.c: Likewise.
25756         * login/programs/pt_chown.c: Likewise.
25757         * malloc/memusage.sh: Likewise.
25758         * malloc/memusagestat.c: Likewise.
25759         * malloc/mtrace.pl: Likewise.
25760         * nscd/nscd.c: Likewise.
25761         * nss/getent.c: Likewise.
25762         * nss/makedb.c: Likewise.
25763         * posix/getconf.c: Likewise.
25764
25765 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25766
25767         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25768         numbers.
25769
25770 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25771
25772         * math/bits/mathcalls.h (modf): Use __nonnull.
25773
25774 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25775
25776         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25777         (split): Use macro CN instead of the bare value.
25778         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25779         could be used.
25780         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25781         instead of the bare value.
25782         (power1): Likewise.
25783
25784 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25785
25786         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25787         __ATAN_TWOM.
25788         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25789
25790         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25791         their values.
25792         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25793         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25794         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25795         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25796
25797 2012-12-28  Andreas Jaeger  <aj@suse.de>
25798
25799         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25800         values are from Linux 3.7.
25801
25802         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25803         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25804
25805 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25806
25807         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25808         TRUE case.
25809
25810         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25811         (norm): Likewise.
25812         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25813         variables with preprocessor constants.
25814         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25815         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25816         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25817
25818 2012-12-27  Bruno Haible  <bruno@clisp.org>
25819
25820         [BZ #14317]
25821         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25822         only if needed.
25823
25824 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25825
25826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25827         and use variable directly.
25828         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25829
25830         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25831         MPONE.
25832         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25833         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25834         variable MPONE.
25835         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25837         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25838         include directive.  Remove local variable MPONE.
25839         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25840         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25841         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25842
25843 2012-12-25  David S. Miller  <davem@davemloft.net>
25844
25845         * version.h (RELEASE): Set to "development".
25846         (VERSION): Set to "2.17.90".
25847         * NEWS: Add 2.18 section.
25848
25849 2012-12-21  David S. Miller  <davem@davemloft.net>
25850
25851         * po/hr.po: Update from translation team.
25852
25853 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25854
25855         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25856
25857 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25858
25859         * NEWS:  Mention new memcpy for MIPS.
25860
25861 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25862
25863         * manual/contrib.texi (Contributors): Spelling correction.
25864
25865 2012-12-15  David S. Miller  <davem@davemloft.net>
25866
25867         * po/ru.po: Update from translation team.
25868
25869 2012-12-13  David S. Miller  <davem@davemloft.net>
25870
25871         * NEWS: Mention IFUNC testsuite enhancements.
25872
25873         * po/pl.po: Update from translation team.
25874         * po/bg.po: Likewise.
25875
25876         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25877         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25878
25879 2012-12-11  David S. Miller  <davem@davemloft.net>
25880
25881         * po/sv.po: Update from translation team.
25882
25883         * po/vi.po: Update from translation team.
25884
25885         * po/cs.po: Update from translation team.
25886
25887         * po/de.po: Update from translation team.
25888         * po/eo.po: Likewise.
25889         * po/nl.po: Likewise.
25890
25891 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25892
25893         [BZ #14246]
25894         * manual/argp.texi (Argp Helper Functions): Move node to follow
25895         Argp Parsing State.
25896
25897         [BZ #14872]
25898         * manual/conf.texi (Limits on File System Capacity): Mention if
25899         terminating null is included in the max size.
25900
25901 2012-12-10  Andreas Jaeger  <aj@suse.de>
25902
25903         * po/cs.po: Update from translation team.
25904
25905 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25906
25907         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25908         void pointer and cast to uintptr_t.
25909         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25910         path.
25911         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25912         * sysdeps/s390/s390-64/memset.S: Likewise.
25913
25914 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25915
25916         [BZ #14833]
25917         * menual/message.texi (Message Translation): Fix typos.
25918         (Helper programs for gettext): Likewise.
25919
25920 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25921
25922         [BZ #14898]
25923         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25924         Change to -1.
25925
25926 2012-12-07  David S. Miller  <davem@davemloft.net>
25927
25928         * po/libc.pot: Update.
25929
25930 2012-12-07  Richard Henderson  <rth@redhat.com>
25931
25932         [BZ #10114]
25933         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25934         normal/normal case to before the switch.
25935         (_FP_DIV): Likewise.
25936
25937 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25938             Mike Frysinger  <vapier@gentoo.org>
25939
25940         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25941         check for __NR_fadvise64_64.
25942
25943 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25944
25945         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25946         0, not just to plain "0" as a statement.
25947         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25948         with cw.
25949
25950 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25951
25952         * NEWS: Use sourceware.org in Bugzilla URL.
25953
25954 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25955
25956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25957         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25958
25959         * stdio-common/tst-put-error.c (do_test): Add newline to the
25960         padded test to ensure flush.
25961
25962 2012-12-05  Jeff Law  <law@redhat.com>
25963
25964         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25965
25966 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25967
25968         * README: Don't refer to ports add-on as distributed separately.
25969         Mention AArch64 in list of systems supported in the ports add-on.
25970
25971         * LICENSES: Add more non-FSF copyright and license notices.
25972
25973         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25974         ((unused)).
25975
25976         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25977
25978         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25979         10000 as width of padded output.
25980
25981 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25982
25983         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25984
25985         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25986         variable LX with __attribute__ ((unused)).
25987         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25988         Likewise.
25989         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25990         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25991         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25992         with __attribute__ ((unused)).
25993
25994 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25995
25996         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25997
25998 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25999
26000         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26001         (CFLAGS-nldbl-acos.c): New variable.
26002         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26003         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26004         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26005         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26006         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26007         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26008         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26009         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26010         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26011         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26012         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26013         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26014         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26015         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26016         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26017         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26018         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26019         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26020         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26021         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26022         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26023         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26024         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26025         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26026         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26027         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26028         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26029         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26030         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26031         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26032         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26033         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26034         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26035         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26036         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26037         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26038         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26039         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26040         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26041         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26042         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26043         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26044         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26045         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26046         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26047         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26048         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26049         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26050         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26051         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26052         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26053         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26054         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26055         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26056         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26057         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26058         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26059         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26060         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26061         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26062         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26063         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26064         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26065         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26066         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26067         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26068         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26069         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26070         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26071         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26072         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26073         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26074         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26075         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26076         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26077         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26078         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26079         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26080         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26081         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26082         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26083         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26084         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26085         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26086         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26087         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26088         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26089         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26090         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26091         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26092         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26093         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26094         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26095         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26096         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26097         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26098         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26099
26100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26101         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26102
26103         [BZ #14914]
26104         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26105         whole low double instead of just low 47 bits when splitting values
26106         into two parts.
26107
26108 2012-12-03  Allan McRae  <allan@archlinux.org>
26109
26110         * manual/stdio.texi (Predefined Printf Handlers): Remove
26111         @hsep and @vsep usage.
26112
26113 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26114
26115         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26116         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26117
26118 2012-12-03  Jeff Law  <law@redhat.com>
26119
26120         * time/sys/time.h (settimeofday): Do not mark TV argument
26121         as __nonnull.
26122
26123 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26124
26125         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26126         when currently writing and seek to current position when not.
26127         * libio/Makefile (tests): Remove bug-fclose1.
26128         * libio/bug-fclose1.c: Delete.
26129
26130 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26131
26132         * manual/arith.texi (feenableexcept): Fix typo.
26133         (fedisableexcept): Likewise.
26134
26135 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26136
26137         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26138         second, differently-typed declaration, rather than a cast.
26139
26140 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26141
26142         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26143         * include/rpc/svc.h: ... here.
26144
26145 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26146
26147         [BZ #13013]
26148         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26149         depending n and resplen2 to catch cases where answer
26150         equals answerp2.
26151
26152 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26153
26154         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26155         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26156
26157 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26158
26159         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26160
26161 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26162
26163         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26164
26165 2012-11-28  Jeff Law  <law@redhat.com>
26166
26167         [BZ #13761]
26168         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26169         dataset_temporary.  Track alloca usage into alloca_used.
26170         If dataset is large allocate and release it via malloc/free.
26171
26172 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26173
26174         [BZ #14197]
26175         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26176
26177 2012-11-28  David S. Miller  <davem@davemloft.net>
26178
26179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26180
26181 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26182
26183         [BZ #14803]
26184         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26185         of pi/2 rounded to nearest to 64 bits.
26186         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26187         nearest to 64 bits.
26188         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26189         bits.
26190
26191 2012-11-28  Jeff Law <law@redhat.com>
26192             Martin Osvald <mosvald@redhat.com>
26193
26194         [BZ #14889]
26195         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26196         * sunrpc/svc.c: Include time.h.
26197         (__svc_accept_failed): New function.
26198         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26199         any reason other than EINTR, call __svc_accept_failed.
26200         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26201         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26202
26203 2012-11-28  Andreas Schwab  <schwab@suse.de>
26204
26205         * scripts/abilist.awk: Also handle indirect functions in .opd
26206         section.
26207
26208 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26209
26210         [BZ #13881]
26211         * sysdeps/x86/fpu/powl_helper.c: New file.
26212         * sysdeps/x86/fpu/Makefile: Likewise.
26213         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26214         (p3): New object.
26215         (__ieee754_powl): Use __powl_helper for finite arguments except
26216         integer exponents below 8.
26217         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26218         (p3): New object.
26219         (__ieee754_powl): Use __powl_helper for finite arguments except
26220         integer exponents below 8.
26221         * math/libm-test.inc (pow_test): Add more tests and enable some
26222         previously disabled tests.
26223         * sysdeps/i386/fpu/libm-test-ulps: Update.
26224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26225
26226 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26227             Carlos O'Donell  <carlos_odonell@mentor.com>
26228
26229         * nss/makedb.c (is_prime): Assert that input is odd and greater
26230         than 4.  Note that fact in a comment too.
26231         (next_prime): Add 4 to input.
26232
26233 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26234
26235         [BZ #11741]
26236         * libio/Makefile (tests): Add test case tst-fwrite-error.
26237         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26238         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26239         * libio/tst-fwrite-error.c: New test case.
26240
26241 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26242
26243         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26244         before casting to void *.
26245         * include/libc-internal.h (__pointer_type): New macro.
26246         (__integer_if_pointer_type_sub): Likewise.
26247         (__integer_if_pointer_type): Likewise.
26248         (cast_to_integer): Likewise.
26249         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26250         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26251         before casting to atomic64_t.
26252         (atomic_exchange_acq): Likewise.
26253         (__arch_exchange_and_add_body): Likewise.
26254         (__arch_add_body): Likewise.
26255         (atomic_add_negative): Likewise.
26256         (atomic_add_zero): Likewise.
26257
26258 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26259
26260         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26261         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26262         (add_fdes): Likewise.
26263         (linear_search_fdes): Likewise.
26264         (binary_search_unencoded_fdes): Likewise.
26265
26266 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26267
26268         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26269
26270 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26271
26272         * configure.in: Autodetect C++ header directories.
26273         * configure: Regenerated.
26274
26275 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26276
26277         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26278
26279 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26280
26281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26282
26283 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26284
26285         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26286         LDBL_MANT_DIG == 106]: Disable some tests.
26287         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26288         Likewise.
26289         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26290         Likewise.
26291
26292         [BZ #14871]
26293         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26294         input for small inputs.  Return +/- pi/2 for large inputs.
26295         * math/libm-test.inc (atan_test): Add more tests.
26296
26297         * sysdeps/generic/unwind-dw2-fde-glibc.c
26298         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26299         __attribute__ ((unused)).
26300
26301         [BZ #14645]
26302         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26303         x * y if x and y are nonzero and z is zero.
26304
26305         [BZ #14811]
26306         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26307         nonzero exponents with absolute value below 0x1p-117 to +/-
26308         0x1p-117.
26309
26310         [BZ #14869]
26311         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26312         up arguments below 2**-450, not just those below 2**-500.
26313         * math/libm-test.inc (hypot_test): Add another test.
26314
26315         [BZ #14868]
26316         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26317         Return a+b for ratio over 2**120, not 2**60.
26318         * math/libm-test.inc (hypot_test): Add another test.
26319
26320         * math/libm-test.inc (clog_test): Use
26321         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26322         (clog10_test): Likewise.
26323
26324         [BZ #6778]
26325         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26326
26327 2012-11-22  Andreas Schwab  <schwab@suse.de>
26328
26329         * sysdeps/i386/fpu/libm-test-ulps: Update.
26330
26331 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26332
26333         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26334         printf output with newline.
26335
26336 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26337
26338         [BZ #14865]
26339         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26340         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26341         -z nodlopen, -z initfirst and -z execstack support.
26342         * configure: Regenerated.
26343
26344         * elf/elf.h (DF_1_NODIRECT): New macro.
26345         (DF_1_IGNMULDEF): Likewise.
26346         (DF_1_NOKSYMS): Likewise.
26347         (DF_1_NOHDR): Likewise.
26348         (DF_1_EDITED): Likewise.
26349         (DF_1_NORELOC): Likewise.
26350         (DF_1_SYMINTPOSE): Likewise.
26351         (DF_1_GLOBAUDIT): Likewise.
26352         (DF_1_SINGLETON): Likewise.
26353         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26354         DT_1_SUPPORTED_MASK bits.
26355         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26356
26357 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26358
26359         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26360
26361 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26362
26363         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26364         macro.
26365
26366         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26367         (sendmmsg): Move declarations...
26368         * socket/sys/socket.h: ... here.
26369         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26370         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26371         include it from...
26372         * socket/recvmmsg.c: ... this new file.
26373         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26374         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26375         definition of __sendmmsg hidden.
26376         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26377         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26378         Move ENOSYS stub into and include it from...
26379         * socket/sendmmsg.c: ... this new file.
26380         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26381         (sysdep_routines): Move recvmmsg and sendmmsg...
26382         * socket/Makefile (routines): ... here.
26383         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26384         (GLIBC_PRIVATE): Add __sendmmsg.
26385         * include/sys/socket.h (__sendmmsg): Add declarations.
26386         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26387         sendmmsg.
26388
26389 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26390
26391         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26392         variable I1 with __attribute__ ((unused)).
26393         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26394
26395 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26396
26397         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26398         DUMMY variables with __attribute__ ((unused)).
26399
26400         * bits/byteswap.h: Include <bits/types.h>.
26401         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26402
26403 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26404
26405         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26406         string_t.  Do not manually set errno.
26407         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26408         length with __strnlen.  Make sure to both set errno and return it on
26409         failure.
26410
26411 2012-11-19  David S. Miller  <davem@davemloft.net>
26412
26413         With help from Joseph Myers.
26414         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26415         very large arguments properly.
26416         * math/libm-test.inc (atan_test): New tests.
26417         (atan2_test): New tests.
26418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26420
26421 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26422
26423         [BZ #14856]
26424         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26425         Define to 3.
26426
26427         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26428         [POSIX] (EADDRNOTAVAIL): Likewise.
26429         [POSIX] (EAFNOSUPPORT): Likewise.
26430         [POSIX] (EALREADY): Likewise.
26431         [POSIX] (ECONNABORTED): Likewise.
26432         [POSIX] (ECONNREFUSED): Likewise.
26433         [POSIX] (ECONNRESET): Likewise.
26434         [POSIX] (EDESTADDRREQ): Likewise.
26435         [POSIX] (EDQUOT): Likewise.
26436         [POSIX] (EHOSTUNREACH): Likewise.
26437         [POSIX] (EIDRM): Likewise.
26438         [POSIX] (EISCONN): Likewise.
26439         [POSIX] (ELOOP): Likewise.
26440         [POSIX] (EMULTIHOP): Likewise.
26441         [POSIX] (ENETDOWN): Likewise.
26442         [POSIX] (ENETUNREACH): Likewise.
26443         [POSIX] (ENOBUFS): Likewise.
26444         [POSIX] (ENODATA): Likewise.
26445         [POSIX] (ENOLINK): Likewise.
26446         [POSIX] (ENOMSG): Likewise.
26447         [POSIX] (ENOPROTOOPT): Likewise.
26448         [POSIX] (ENOSR): Likewise.
26449         [POSIX] (ENOSTR): Likewise.
26450         [POSIX] (ENOTCONN): Likewise.
26451         [POSIX] (ENOTSOCK): Likewise.
26452         [POSIX] (EOPNOTSUPP): Likewise.
26453         [POSIX] (EOVERFLOW): Likewise.
26454         [POSIX] (EPROTO): Likewise.
26455         [POSIX] (EPROTONOSUPPORT): Likewise.
26456         [POSIX] (EPROTOTYPE): Likewise.
26457         [POSIX] (ESTALE): Likewise.
26458         [POSIX] (ETIME): Likewise.
26459         [POSIX] (ETXTBSY): Likewise.
26460         [POSIX] (EWOULDBLOCK): Likewise.
26461         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26462         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26463         [POSIX] (SEEK_CUR): Likewise.
26464         [POSIX] (SEEK_END): Likewise.
26465         [POSIX || UNIX98] (mode_t): Do not require.
26466         [POSIX] (off_t): Likewise.
26467         [POSIX] (pid_t): Likewise.
26468         [POSIX] (sys/stat.h): Do not allow header.
26469         [POSIX] (unistd.h): Likewise.
26470         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26471         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26472         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26473         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26474         require.
26475         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26476         sigevent): Specify elements.
26477         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26478         entry.
26479         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26480         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26481
26482         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26483         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26484         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26485         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26486         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26487         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26488         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26489         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26490         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26491         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26492         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26493         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26494         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26495         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26496         Likewise.
26497         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26498         Likewise.
26499         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26500         Likewise.
26501         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26502         Likewise.
26503         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26504         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26505         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26506         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26507         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26508         Specify lower bound on value.
26509         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26510         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26511         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26512         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26513         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26514         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26515         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26516         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26517         value.
26518         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26519         as optional.
26520         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26521         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26522         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26523         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26524         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26525         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26526         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26527         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26528         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26529         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26530         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26531         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26532         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26533         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26534         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26535         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26536         entry.
26537         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26538         optional.
26539         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26540         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26541         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26542         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26543         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26544         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26545         Likewise.
26546         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26547         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26548         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26549         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26550         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26551         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26552         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26553         as optional.
26554         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26555         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26556         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26557         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26558         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26559         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26560         specify as optional.
26561         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26562         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26563         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26564         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26565         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26566         [XPG3] (NL_LANGMAX): Likewise.
26567         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26568         [POSIX || XPG3] (NL_NMAX): Likewise.
26569         [POSIX || XPG3] (NL_SETMAX): Likewise.
26570         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26571         [XPG3] (NZERO): Likewise.
26572         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26573         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26574         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26575         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26576         (REG_ERANGE): Expect.
26577         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26578         optional-constant.
26579         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26580         Use (void) in prototype.
26581         [POSIX] (*_t): Allow.
26582         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26583         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26584         (WRDE_BADVAL): Expect.
26585
26586         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26587         expect.
26588         [XPG3 || XPG4] (O_RSYNC): Likewise.
26589         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26590         Likewise.
26591         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26592         [XPG3 || XPG4] (sigqueue): Likewise.
26593         [XPG3 || XPG4] (sigtimedwait): Likewise.
26594         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26595         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26596         [XPG3 || XPG4] (vsnprintf): Likewise.
26597         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26598         Likewise.
26599         [XPG3 || XPG4] (blksize_t): Likewise.
26600         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26601         Likewise.
26602         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26603         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26604         [XPG3 || XPG4] (struct itimerspec): Likewise.
26605         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26606         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26607         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26608         [XPG3 || XPG4] (clockid_t): Likewise.
26609         [XPG3 || XPG4] (timer_t): Likewise.
26610         [XPG3 || XPG4] (clock_getres): Likewise.
26611         [XPG3 || XPG4] (clock_gettime): Likewise.
26612         [XPG3 || XPG4] (clock_settime): Likewise.
26613         [XPG3 || XPG4] (nanosleep): Likewise.
26614         [XPG3 || XPG4] (timer_create): Likewise.
26615         [XPG3 || XPG4] (timer_delete): Likewise.
26616         [XPG3 || XPG4] (timer_gettime): Likewise.
26617         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26618         [XPG3 || XPG4] (timer_settime): Likewise.
26619         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26620         [XPG3 || XPG4] (getlogin_r): Likewise.
26621         [XPG3 || XPG4] (pread): Likewise.
26622         [XPG3 || XPG4] (pthread_atfork): Likewise.
26623         [XPG3 || XPG4] (pwrite): Likewise.
26624
26625         [BZ #14835]
26626         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26627         <bits/siginfo.h>.
26628
26629 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26630
26631         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26632         finalizing MALLSTREAM.
26633
26634         * sysdeps/mach/hurd/syncfs.c: New file.
26635
26636 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26637
26638         [BZ #14719]
26639         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26640         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26641         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26642         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26643         (_nss_dns_gethostbyname4_r): Likewise.
26644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26645         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26646
26647 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26648
26649         [BZ #13763]
26650         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26651
26652 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26653
26654         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26655         * elf/cache.c (print_entry): Print ",AArch64" for
26656         FLAG_AARCH64_LIB64
26657
26658         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26659         * elf/cache.c (print_entry): Print ",hard-float" for
26660         FLAG_ARM_LIBHF.
26661
26662 2012-11-18  David S. Miller  <davem@davemloft.net>
26663
26664         With help from Joseph Myers.
26665         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26666         cutoff to 2**-13.
26667         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26668         cutoff to 2**-25.
26669         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26670         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26671         small.
26672         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26673         * math/libm-test.inc (y0_test): New tests.
26674         (y1_test): New tests.
26675         * sysdeps/i386/fpu/libm-test-ulps: Update.
26676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26678
26679 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26680
26681         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26682         64-bit targets.
26683         * configure: Regenerated.
26684
26685 2012-11-17  David S. Miller  <davem@davemloft.net>
26686
26687         [BZ #14811]
26688         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26689         nonzero exponents with absolute value below 0x1p-128 to +/-
26690         0x1p-128.
26691
26692 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26693
26694         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26695
26696         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26697
26698         * posix/getconf-speclist.c: New file.
26699         * posix/posix-envs.def: Likewise.
26700         * posix/confstr.c (START_ENV_GROUP): New macro.
26701         (END_ENV_GROUP): Likewise.
26702         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26703         (KNOWN_PRESENT_ENV_STRING): Likewise.
26704         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26705         (UNKNOWN_ENVIRONMENT): Likewise.
26706         (confstr): Include posix-envs.def instead of handling
26707         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26708         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26709         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26710         (END_ENV_GROUP): Likewise.
26711         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26712         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26713         (UNKNOWN_ENVIRONMENT): Likewise.
26714         (__sysconf): Include posix-envs.def instead of handling associated
26715         cases directly here.
26716         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26717         preprocessing getconf-speclist.c rather than running getconf or
26718         generating empty file.
26719
26720 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26721
26722         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26723
26724 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26725
26726         [BZ #14672]
26727         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26728
26729 2012-11-16  David S. Miller  <davem@davemloft.net>
26730
26731         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26732         smaller than LDBL_EPSILON/2.0L, just return xm1.
26733
26734 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26735
26736         * elf/tst-array1.c (init): Set constructor priority to 1000.
26737         (fini): Set destructor priority to 1000.
26738         * elf/tst-array2dep.c: Likewise.
26739
26740 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26741
26742         [BZ #11741]
26743         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26744         (_IO_new_file_xsputn): Also return EOF if none of the input
26745         data was written when overflow failed.
26746         * libio/iopadn.c (_IO_padn): Likewise.
26747         * libio/iowpadn.c (_IO_wpadn): Likewise.
26748         * stdio-common/tst-put-error.c: Add copyright notice.
26749         (do_test): Add case for printing padded string.
26750         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26751         _IO_padn returned error.
26752         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26753         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26754         return EOF.
26755
26756 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26757
26758         * libio/libioP.h: Add comment note that the references to C++
26759         bits are now obsolete.
26760
26761 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26762
26763         * math/libm-test.inc (check_complex): Use asprintf.
26764
26765 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26766
26767         * debug/pcprofiledump.c (print_version): Update copyright year.
26768         * malloc/memusagestat.c (print_version): Likewise.
26769
26770 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26771
26772         [BZ #14831]
26773         * elf/Makefile (tests): Add tst-audit8.
26774         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26775         ($(objpfx)tst-audit8.out): New target.
26776         (tst-audit8-ENV): New variable.
26777         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26778         audit if l_reloc_result is NULL.
26779         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26780         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26781         * elf/tst-audit8.c: New file.
26782
26783 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26784
26785         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26786         * misc/Makefile (CFLAGS-select.c): Define.
26787         * posix/Makefile (CFLAGS-pause.c): Define.
26788
26789 2012-11-13  David S. Miller  <davem@davemloft.net>
26790
26791         * crypt/Makefile: Move test targets after toplevel Rules
26792         inclusion.  Grab any necessary sysdep routines when linking.
26793         * crypt/md5.c (md5_process_block): Remove define, we will always
26794         name it __md5_process_block.
26795         (md5_finish_ctx): Update md5_process_block call.
26796         (md5_stream): Likewise.
26797         (md5_process_bytes): Likewise.
26798         (md5_process_block): Rename to __md5_process_block and move to ...
26799         * crypt/md5-block.c: ... here.
26800         * crypt/sha256.c (sha256_process_block): Move to ...
26801         * crypt/sha256-block.c: ... here.
26802         * crypt/sha512.c (sha512_process_block): Move to ...
26803         * crypt/sha512-block.c: ... here.
26804         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26805         path.
26806         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26807         * sysdeps/sparc/sparc64/multiarch/Makefile
26808         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26809         crypt subdir.
26810         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26811         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26812         multiarch changes.
26813         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26814         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26815         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26816         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26817         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26818         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26819         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26820         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26821         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26822         file.
26823         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26824         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26825         file.
26826         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26827
26828 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26829
26830         * timezone/tzselect.ksh: Update from tzcode git revision
26831         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26832         * timezone/zdump.c: Likewise.
26833         * timezone/zic.c: Likewise.
26834         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26835         in TZVERSION setting, not $(PKGVERSION).
26836         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26837         REPORT_BUGS_TO settings.
26838
26839         [BZ #14838]
26840         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26841         macro.
26842
26843 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26844
26845         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26846         detection to immediately after _FP_ROUND().
26847         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26848         bits are 0.
26849
26850 2012-11-11  David S. Miller  <davem@davemloft.net>
26851
26852         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26853         inttypes.h
26854         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26855         __close rather than their public counterparts.
26856
26857 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26858
26859         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26860         file.
26861         [UNIX98] (sem_timedwait): Do not expect.
26862         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26863         [XPG4 || UNIX98] (sockatmark): Do not expect.
26864         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26865         (clock_getcpuclockid): Do not expect.
26866         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26867         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26868         Do not expect.
26869         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26870         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26871         [UNIX98] (vwscanf): Likewise.
26872         [UNIX98] (vswscanf): Likewise.
26873
26874 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26875
26876         * timezone/version.h: Remove file.
26877         * timezone/README: Do not refer to version.h.
26878         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26879         $(objpfx)version.h.
26880         ($(objpfx)zdump.o): Likewise.
26881         ($(objpfx)version.h): New target.
26882
26883         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26884         2012i.
26885         * timezone/README: Don't mention modification to tzselect.ksh.
26886         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26887         work on unmodified tzselect.ksh.  Substitute version numbers in
26888         tzselect.ksh.
26889
26890         * Makefile (format-me): Remove.
26891         (INSTALL): Adjust indentation.  Use commands directly instead of
26892         using $(format-me).
26893
26894         * aclocal.m4 (ACX_PKGVERSION): New macro.
26895         (ACX_BUGURL): Likewise.
26896         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26897         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26898         (REPORT_BUGS_TO): Likewise.
26899         * configure: Regenerated.
26900         * config.h.in (PKGVERSION): New macro.
26901         (REPORT_BUGS_TO): Likewise.
26902         * config.make.in (PKGVERSION): New variable.
26903         (PKGVERSION_TEXI): Likewise.
26904         (REPORT_BUGS_TO): Likewise.
26905         (REPORT_BUGS_TEXI): Likewise.
26906         * Makefile (format-me): Use -I$(common-objpfx)manual.
26907         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26908         ($(common-objpfx)manual/%): New target.
26909         (manual/%): Remove target.
26910         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26911         (print_version): Use PKGVERSION.
26912         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26913         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26914         and REPORT_BUGS_TO.
26915         ($(objpfx)xtrace): Likewise.
26916         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26917         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26918         (print_version): Use PKGVERSION.
26919         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26920         (do_version): Use PKGVERSION.
26921         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26922         REPORT_BUGS_TO.
26923         (common-ldd-rewrite): Likewise.
26924         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26925         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26926         (print_version): Use PKGVERSION.
26927         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26928         * elf/pldd.c (argp_program_bug_address): Remove variable.
26929         (more_help): New function.
26930         (argp): Use more_help.
26931         (print_version): Use PKGVERSION.
26932         * elf/sln.c (main): Use PKGVERSION.
26933         (usage): Use REPORT_BUGS_TO.
26934         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26935         (top level): Use PKGVERSION.
26936         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26937         (print_version): Use PKGVERSION.
26938         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26939         (print_version): Use PKGVERSION.
26940         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26941         (print_version): Use PKGVERSION.
26942         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26943         (print_version): Use PKGVERSION.
26944         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26945         (print_version): Use PKGVERSION.
26946         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26947         (print_version): Use PKGVERSION.
26948         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26949         and BUGURL.
26950         ($(objpfx)memusage): Likewise.
26951         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26952         (do_version): Use PKGVERSION.
26953         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26954         (print_version): Use PKGVERSION.
26955         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26956         ($PKGVERSION): New variable.
26957         ($REPORT_BUGS_TO): Likewise.
26958         (usage): Use $REPORT_BUGS_TO.
26959         (top level): Use $PKGVERSION.
26960         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26961         ($(objpfx)pkgvers.texi): New rule.
26962         ($(objpfx)stamp-pkgvers): Likewise.
26963         * manual/install.texi: Include pkgvers.texi.
26964         (--with-pkgversion): Document new configure option.
26965         (--with-bugurl): Likewise.
26966         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26967         than necessarily for this particular distribution.  Use
26968         REPORT_BUGS_TO for where to report bugs.
26969         * INSTALL: Regenerated.
26970         * manual/libc.texinfo: Include pkgvers.texi.
26971         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26972         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26973         (print_version): Use PKGVERSION.
26974         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26975         (print_version): Use PKGVERSION.
26976         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26977         (print_version): Use PKGVERSION.
26978         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26979         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26980         macro.
26981         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26982         (print_version): Use PKGVERSION.
26983         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26984         (print_version): Use PKGVERSION.
26985         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26986         and PKGVERSION.
26987
26988         * timezone/checktab.awk: Update from tzcode 2012i.
26989         * timezone/ialloc.c: Likewise.
26990         * timezone/private.h: Likewise.
26991         * timezone/scheck.c: Likewise.
26992         * timezone/tzfile.h: Likewise.
26993         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26994         (TZVERSION): Hardcode tzcode version number.
26995         * timezone/zdump.c: Update from tzcode 2012i.
26996         * timezone/zic.c: Likewise.
26997         * timezone/version.h: New file.
26998         * timezone/README: Describe version.h.  Update upstream location.
26999
27000         [BZ #14824]
27001         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27002         (mktemp): Enable declaration.
27003         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27004         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27005         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27006         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27007         Likewise.
27008         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27009         Likewise.
27010         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27011         Likewise.
27012         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27013         Likewise.
27014         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27015         Likewise.
27016         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27017         Likewise.
27018
27019         [BZ #14821]
27020         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27021         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27022         for copies of such integer values.
27023         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27024         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27025
27026 2012-11-09  Andreas Jaeger  <aj@suse.de>
27027
27028         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27029         definitions and declarations that are provided by
27030         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27031
27032 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27033
27034         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27035         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27036         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27037         definition.
27038
27039 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27040
27041         * elf/elf.h: Update comment before AArch64 relocations.
27042
27043 2012-11-07  David S. Miller  <davem@davemloft.net>
27044
27045         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27046         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27047         (__start_context): Declare.
27048         (__makecontext_ret): Delete.
27049         (__makecontext): Hook up __start_context instead of
27050         __makecontext_ret.
27051         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27052         (sysdep_routines): Add __start_context when in stdlib.
27053
27054 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27055
27056         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27057         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27058         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27059         hardcoded "nm".
27060         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27061         (READELF): New variable.  Use it instead of hardcoded "readelf".
27062
27063 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27064
27065         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27066         * sysdeps/x86/Makefile: Here.
27067         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27068         * sysdeps/x86/tst-xmmymm.sh: This.
27069
27070 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27071
27072         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27073         expectations.
27074         [UNIX98] (pthread_barrier_t): Do not expect.
27075         [UNIX98] (pthread_barrierattr_t): Likewise.
27076         [UNIX98] (pthread_spinlock_t): Likewise.
27077         [UNIX98] (pthread_barrier_destroy): Likewise.
27078         [UNIX98] (pthread_barrier_init): Likewise.
27079         [UNIX98] (pthread_barrier_wait): Likewise.
27080         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27081         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27082         [UNIX98] (pthread_barrierattr_init): Likewise.
27083         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27084         [UNIX98] (pthread_getcpuclockid): Likewise.
27085         [UNIX98] (pthread_mutex_timedlock): Likewise.
27086         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27087         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27088         [UNIX98] (pthread_sigmask): Likewise.
27089         [UNIX98] (pthread_spin_destroy): Likewise.
27090         [UNIX98] (pthread_spin_init): Likewise.
27091         [UNIX98] (pthread_spin_lock): Likewise.
27092         [UNIX98] (pthread_spin_trylock): Likewise.
27093         [UNIX98] (pthread_spin_unlock): Likewise.
27094         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27095         Do not expect.
27096         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27097         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27098         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27099         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27100         [XPG3 || XPG4] (pthread_key_t): Likewise.
27101         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27102         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27103         [XPG3 || XPG4] (pthread_once_t): Likewise.
27104         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27105         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27106         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27107         [XPG3 || XPG4] (pthread_t): Likewise.
27108
27109         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27110         not expect.
27111         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27112
27113         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27114         Change function return type to int.
27115
27116         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27117         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27118         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27119         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27120         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27121         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27122         [!POSIX] (posix_madvise): Likewise.
27123         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27124         && !UNIX98].
27125         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27126         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27127         (mode_t): Likewise.
27128         (posix_mem_offset): Likewise.
27129         (posix_typed_mem_get_info): Likewise.
27130         (posix_typed_mem_open): Likewise.
27131
27132         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27133         Change condition to [XOPEN2K8].
27134
27135         * conform/conformtest.pl: Preprocess allow-header data with -x c
27136         instead of from stdin.
27137         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27138         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27139         [C99-based standards] (cerfc): Likewise.
27140         [C99-based standards] (cexp2): Likewise.
27141         [C99-based standards] (cexpm1): Likewise.
27142         [C99-based standards] (clog10): Likewise.
27143         [C99-based standards] (clog1p): Likewise.
27144         [C99-based standards] (clog2): Likewise.
27145         [C99-based standards] (clgamma): Likewise.
27146         [C99-based standards] (ctgamma): Likewise.
27147         [C99-based standards] (cerff): Likewise.
27148         [C99-based standards] (cerfcf): Likewise.
27149         [C99-based standards] (cexp2f): Likewise.
27150         [C99-based standards] (cexpm1f): Likewise.
27151         [C99-based standards] (clog10f): Likewise.
27152         [C99-based standards] (clog1pf): Likewise.
27153         [C99-based standards] (clog2f): Likewise.
27154         [C99-based standards] (clgammaf): Likewise.
27155         [C99-based standards] (ctgammaf): Likewise.
27156         [C99-based standards] (cerfl): Likewise.
27157         [C99-based standards] (cerfcl): Likewise.
27158         [C99-based standards] (cexp2l): Likewise.
27159         [C99-based standards] (cexpm1l): Likewise.
27160         [C99-based standards] (clog10l): Likewise.
27161         [C99-based standards] (clog1pl): Likewise.
27162         [C99-based standards] (clog2l): Likewise.
27163         [C99-based standards] (clgammal): Likewise.
27164         [C99-based standards] (ctgammal): Likewise.
27165         * conform/data/inttypes.h-data [C99-based standards]: Include
27166         stdint.h-data.  Remove all expectations for stdint.h contents.
27167         [C99-based standards] (PRI*): Do not allow.
27168         [C99-based standards] (SCN*): Likewise.
27169         [C99-based standards] (*_t): Likewise.
27170         [C99-based-standards] (PRId8): Expect macro.
27171         [C99-based-standards] (PRIi8): Likewise.
27172         [C99-based-standards] (PRIo8): Likewise.
27173         [C99-based-standards] (PRIu8): Likewise.
27174         [C99-based-standards] (PRIx8): Likewise.
27175         [C99-based-standards] (PRIX8): Likewise.
27176         [C99-based-standards] (SCNd8): Likewise.
27177         [C99-based-standards] (SCNi8): Likewise.
27178         [C99-based-standards] (SCNo8): Likewise.
27179         [C99-based-standards] (SCNu8): Likewise.
27180         [C99-based-standards] (SCNx8): Likewise.
27181         [C99-based-standards] (PRIdLEAST8): Likewise.
27182         [C99-based-standards] (PRIiLEAST8): Likewise.
27183         [C99-based-standards] (PRIoLEAST8): Likewise.
27184         [C99-based-standards] (PRIuLEAST8): Likewise.
27185         [C99-based-standards] (PRIxLEAST8): Likewise.
27186         [C99-based-standards] (PRIXLEAST8): Likewise.
27187         [C99-based-standards] (SCNdLEAST8): Likewise.
27188         [C99-based-standards] (SCNiLEAST8): Likewise.
27189         [C99-based-standards] (SCNoLEAST8): Likewise.
27190         [C99-based-standards] (SCNuLEAST8): Likewise.
27191         [C99-based-standards] (SCNxLEAST8): Likewise.
27192         [C99-based-standards] (PRIdFAST8): Likewise.
27193         [C99-based-standards] (PRIiFAST8): Likewise.
27194         [C99-based-standards] (PRIoFAST8): Likewise.
27195         [C99-based-standards] (PRIuFAST8): Likewise.
27196         [C99-based-standards] (PRIxFAST8): Likewise.
27197         [C99-based-standards] (PRIXFAST8): Likewise.
27198         [C99-based-standards] (SCNdFAST8): Likewise.
27199         [C99-based-standards] (SCNiFAST8): Likewise.
27200         [C99-based-standards] (SCNoFAST8): Likewise.
27201         [C99-based-standards] (SCNuFAST8): Likewise.
27202         [C99-based-standards] (SCNxFAST8): Likewise.
27203         [C99-based-standards] (PRId16): Likewise.
27204         [C99-based-standards] (PRIi16): Likewise.
27205         [C99-based-standards] (PRIo16): Likewise.
27206         [C99-based-standards] (PRIu16): Likewise.
27207         [C99-based-standards] (PRIx16): Likewise.
27208         [C99-based-standards] (PRIX16): Likewise.
27209         [C99-based-standards] (SCNd16): Likewise.
27210         [C99-based-standards] (SCNi16): Likewise.
27211         [C99-based-standards] (SCNo16): Likewise.
27212         [C99-based-standards] (SCNu16): Likewise.
27213         [C99-based-standards] (SCNx16): Likewise.
27214         [C99-based-standards] (PRIdLEAST16): Likewise.
27215         [C99-based-standards] (PRIiLEAST16): Likewise.
27216         [C99-based-standards] (PRIoLEAST16): Likewise.
27217         [C99-based-standards] (PRIuLEAST16): Likewise.
27218         [C99-based-standards] (PRIxLEAST16): Likewise.
27219         [C99-based-standards] (PRIXLEAST16): Likewise.
27220         [C99-based-standards] (SCNdLEAST16): Likewise.
27221         [C99-based-standards] (SCNiLEAST16): Likewise.
27222         [C99-based-standards] (SCNoLEAST16): Likewise.
27223         [C99-based-standards] (SCNuLEAST16): Likewise.
27224         [C99-based-standards] (SCNxLEAST16): Likewise.
27225         [C99-based-standards] (PRIdFAST16): Likewise.
27226         [C99-based-standards] (PRIiFAST16): Likewise.
27227         [C99-based-standards] (PRIoFAST16): Likewise.
27228         [C99-based-standards] (PRIuFAST16): Likewise.
27229         [C99-based-standards] (PRIxFAST16): Likewise.
27230         [C99-based-standards] (PRIXFAST16): Likewise.
27231         [C99-based-standards] (SCNdFAST16): Likewise.
27232         [C99-based-standards] (SCNiFAST16): Likewise.
27233         [C99-based-standards] (SCNoFAST16): Likewise.
27234         [C99-based-standards] (SCNuFAST16): Likewise.
27235         [C99-based-standards] (SCNxFAST16): Likewise.
27236         [C99-based-standards] (PRId32): Likewise.
27237         [C99-based-standards] (PRIi32): Likewise.
27238         [C99-based-standards] (PRIo32): Likewise.
27239         [C99-based-standards] (PRIu32): Likewise.
27240         [C99-based-standards] (PRIx32): Likewise.
27241         [C99-based-standards] (PRIX32): Likewise.
27242         [C99-based-standards] (SCNd32): Likewise.
27243         [C99-based-standards] (SCNi32): Likewise.
27244         [C99-based-standards] (SCNo32): Likewise.
27245         [C99-based-standards] (SCNu32): Likewise.
27246         [C99-based-standards] (SCNx32): Likewise.
27247         [C99-based-standards] (PRIdLEAST32): Likewise.
27248         [C99-based-standards] (PRIiLEAST32): Likewise.
27249         [C99-based-standards] (PRIoLEAST32): Likewise.
27250         [C99-based-standards] (PRIuLEAST32): Likewise.
27251         [C99-based-standards] (PRIxLEAST32): Likewise.
27252         [C99-based-standards] (PRIXLEAST32): Likewise.
27253         [C99-based-standards] (SCNdLEAST32): Likewise.
27254         [C99-based-standards] (SCNiLEAST32): Likewise.
27255         [C99-based-standards] (SCNoLEAST32): Likewise.
27256         [C99-based-standards] (SCNuLEAST32): Likewise.
27257         [C99-based-standards] (SCNxLEAST32): Likewise.
27258         [C99-based-standards] (PRIdFAST32): Likewise.
27259         [C99-based-standards] (PRIiFAST32): Likewise.
27260         [C99-based-standards] (PRIoFAST32): Likewise.
27261         [C99-based-standards] (PRIuFAST32): Likewise.
27262         [C99-based-standards] (PRIxFAST32): Likewise.
27263         [C99-based-standards] (PRIXFAST32): Likewise.
27264         [C99-based-standards] (SCNdFAST32): Likewise.
27265         [C99-based-standards] (SCNiFAST32): Likewise.
27266         [C99-based-standards] (SCNoFAST32): Likewise.
27267         [C99-based-standards] (SCNuFAST32): Likewise.
27268         [C99-based-standards] (SCNxFAST32): Likewise.
27269         [C99-based-standards] (PRId64): Likewise.
27270         [C99-based-standards] (PRIi64): Likewise.
27271         [C99-based-standards] (PRIo64): Likewise.
27272         [C99-based-standards] (PRIu64): Likewise.
27273         [C99-based-standards] (PRIx64): Likewise.
27274         [C99-based-standards] (PRIX64): Likewise.
27275         [C99-based-standards] (SCNd64): Likewise.
27276         [C99-based-standards] (SCNi64): Likewise.
27277         [C99-based-standards] (SCNo64): Likewise.
27278         [C99-based-standards] (SCNu64): Likewise.
27279         [C99-based-standards] (SCNx64): Likewise.
27280         [C99-based-standards] (PRIdLEAST64): Likewise.
27281         [C99-based-standards] (PRIiLEAST64): Likewise.
27282         [C99-based-standards] (PRIoLEAST64): Likewise.
27283         [C99-based-standards] (PRIuLEAST64): Likewise.
27284         [C99-based-standards] (PRIxLEAST64): Likewise.
27285         [C99-based-standards] (PRIXLEAST64): Likewise.
27286         [C99-based-standards] (SCNdLEAST64): Likewise.
27287         [C99-based-standards] (SCNiLEAST64): Likewise.
27288         [C99-based-standards] (SCNoLEAST64): Likewise.
27289         [C99-based-standards] (SCNuLEAST64): Likewise.
27290         [C99-based-standards] (SCNxLEAST64): Likewise.
27291         [C99-based-standards] (PRIdFAST64): Likewise.
27292         [C99-based-standards] (PRIiFAST64): Likewise.
27293         [C99-based-standards] (PRIoFAST64): Likewise.
27294         [C99-based-standards] (PRIuFAST64): Likewise.
27295         [C99-based-standards] (PRIxFAST64): Likewise.
27296         [C99-based-standards] (PRIXFAST64): Likewise.
27297         [C99-based-standards] (SCNdFAST64): Likewise.
27298         [C99-based-standards] (SCNiFAST64): Likewise.
27299         [C99-based-standards] (SCNoFAST64): Likewise.
27300         [C99-based-standards] (SCNuFAST64): Likewise.
27301         [C99-based-standards] (SCNxFAST64): Likewise.
27302         [C99-based-standards] (PRIdMAX): Likewise.
27303         [C99-based-standards] (PRIiMAX): Likewise.
27304         [C99-based-standards] (PRIoMAX): Likewise.
27305         [C99-based-standards] (PRIuMAX): Likewise.
27306         [C99-based-standards] (PRIxMAX): Likewise.
27307         [C99-based-standards] (PRIXMAX): Likewise.
27308         [C99-based-standards] (SCNdMAX): Likewise.
27309         [C99-based-standards] (SCNiMAX): Likewise.
27310         [C99-based-standards] (SCNoMAX): Likewise.
27311         [C99-based-standards] (SCNuMAX): Likewise.
27312         [C99-based-standards] (SCNxMAX): Likewise.
27313         [C99-based-standards] (PRIdPTR): Likewise.
27314         [C99-based-standards] (PRIiPTR): Likewise.
27315         [C99-based-standards] (PRIoPTR): Likewise.
27316         [C99-based-standards] (PRIuPTR): Likewise.
27317         [C99-based-standards] (PRIxPTR): Likewise.
27318         [C99-based-standards] (PRIXPTR): Likewise.
27319         [C99-based-standards] (SCNdPTR): Likewise.
27320         [C99-based-standards] (SCNiPTR): Likewise.
27321         [C99-based-standards] (SCNoPTR): Likewise.
27322         [C99-based-standards] (SCNuPTR): Likewise.
27323         [C99-based-standards] (SCNxPTR): Likewise.
27324         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27325         allow.
27326         * conform/data/stdint.h-data: Update comments to clarify
27327         requirements.
27328         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27329         type.
27330         [C99-based standards] (INT8_MAX): Likewise.
27331         [C99-based standards] (INT16_MIN): Likewise.
27332         [C99-based standards] (INT16_MAX): Likewise.
27333         [C99-based standards] (INT32_MIN): Likewise.
27334         [C99-based standards] (INT32_MAX): Likewise.
27335         [C99-based standards] (INT64_MIN): Likewise.
27336         [C99-based standards] (INT64_MAX): Likewise.
27337         [C99-based standards] (UINT8_MAX): Likewise.
27338         [C99-based standards] (UINT16_MAX): Likewise.
27339         [C99-based standards] (UINT32_MAX): Likewise.
27340         [C99-based standards] (UINT64_MAX): Likewise.
27341         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27342         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27343         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27344         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27345         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27346         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27347         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27348         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27349         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27350         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27351         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27352         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27353         [C99-based standards] (INT_FAST8_MIN): Likewise.
27354         [C99-based standards] (INT_FAST8_MAX): Likewise.
27355         [C99-based standards] (INT_FAST16_MIN): Likewise.
27356         [C99-based standards] (INT_FAST16_MAX): Likewise.
27357         [C99-based standards] (INT_FAST32_MIN): Likewise.
27358         [C99-based standards] (INT_FAST32_MAX): Likewise.
27359         [C99-based standards] (INT_FAST64_MIN): Likewise.
27360         [C99-based standards] (INT_FAST64_MAX): Likewise.
27361         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27362         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27363         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27364         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27365         [C99-based standards] (INTPTR_MIN): Likewise.
27366         [C99-based standards] (INTPTR_MAX): Likewise.
27367         [C99-based standards] (UINTPTR_MAX): Likewise.
27368         [C99-based standards] (INTMAX_MIN): Likewise.
27369         [C99-based standards] (INTMAX_MAX): Likewise.
27370         [C99-based standards] (UINTMAX_MAX): Likewise.
27371         [C99-based standards] (PTRDIFF_MIN): Likewise.
27372         [C99-based standards] (PTRDIFF_MAX): Likewise.
27373         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27374         [C99-based standards] (SIZE_MAX): Likewise.
27375         [C99-based standards] (WCHAR_MAX): Likewise.
27376         [C99-based standards] (WINT_MAX): Likewise.
27377         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27378         constraint on value.
27379         [C99-based standards] (WCHAR_MIN): Likewise.
27380         [C99-based standards] (WINT_MIN): Likewise.
27381         [C99-based standards] (*_t): Allow.
27382         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27383         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27384         Include math.h-data and complex.h-data.  Remove all expectations
27385         of math.h and complex.h contents.
27386         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27387         at end of line.
27388         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27389         (struct tm): Expect tag.
27390         [C99-based-standards] (wcstof): Expect function.
27391         [C99-based-standards] (wcstold): Likewise.
27392         [C99-based-standards] (wcstoll): Likewise.
27393         [C99-based-standards] (wcstoull): Likewise.
27394         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27395         macro-int-constant.  Specify type.
27396         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27397         constraint on value.
27398         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27399         Specify type.
27400         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27401         Specify value.
27402         [ISO C standards]: Do not allow headers.
27403         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27404         wcs[abcdefghijklmnopqrstuvwxyz]*.
27405         [ISO C standards] (*_t): Do not allow.
27406         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27407         Expect function.
27408         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27409         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27410         Specify type.
27411         [ISO C standards]: Do not allow headers.
27412         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27413         is[abcdefghijklmnopqrstuvwxyz]*.
27414         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27415         to[abcdefghijklmnopqrstuvwxyz]*.
27416         [ISO C standards] (*_t): Do not allow.
27417         * conform/data/stdalign.h-data: New file.
27418         * conform/data/stdbool.h-data: Likewise.
27419         * conform/data/stdnoreturn.h-data: Likewise.
27420
27421 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27422
27423         [BZ #14815]
27424         * manual/filesys.texi (Directory Entries): Typo fix.
27425         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27426
27427 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27428
27429         * elf/elf.h (EM_AARCH64): New macro.
27430         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27431         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27432         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27433         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27434         (R_AARCH64_TLSDESC): Likewise.
27435         (NT_ARM_TLS): Likewise.
27436         (NT_ARM_HW_BREAK): Likewise.
27437         (NT_ARM_HW_WATCH): Likewise.
27438
27439 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27440
27441         [BZ #14811]
27442         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27443         (__ieee754_powl): Saturate nonzero exponents with absolute value
27444         below 0x1p-79 to +/- 0x1p-79.
27445         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27446         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27447         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27448         nonzero exponents with absolute value below 0x1p-32 to +/-
27449         0x1p-32.
27450         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27451         (__ieee754_powl): Saturate nonzero exponents with absolute value
27452         below 0x1p-79 to +/- 0x1p-79.
27453         * math/libm-test.inc (pow_test): Add more tests.
27454
27455 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27456
27457         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27458         _dl_s390_cap_flags with kernel. Increase string length.
27459         (_dl_s390_platforms): Add z196 and zEC12.
27460
27461 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27462
27463         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27464         Change XOPEN21K to XOPEN2K.
27465
27466 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27467
27468         * string/memmove.c: Use memcpy when possible.
27469
27470 2012-11-06  Andreas Jaeger  <aj@suse.de>
27471
27472         * po/eo.po: Update from translation team.
27473
27474 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27475
27476         [BZ #14793]
27477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27478         exponent and small x and y exponents, scale x or y up.  Increase
27479         by 2 the exponent used in scaling up.
27480         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27481         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27482         * math/libm-test.inc (fma_test): Add more tests.
27483         (fma_test_towardzero): Likewise.
27484         (fma_test_downward): Likewise.
27485         (fma_test_upward): Likewise.
27486
27487 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27488
27489         [BZ #14805]
27490         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27491         fenv_t *.
27492
27493         [BZ #14801]
27494         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27495         namespace for names of struct fields.
27496         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27497         fenv_t fields.
27498         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27499         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27500
27501 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27502
27503         [BZ #3665]
27504         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27505
27506 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27507
27508         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27509         PTR_DEMANGLE.
27510
27511         [BZ #5246]
27512         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27513         PTR_DEMANGLE.
27514
27515 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27516
27517         [BZ #14797]
27518         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27519         definitely overflow as x * y not x * y + z.
27520         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27521         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27522         * math/libm-test.inc (fma_test): Add more tests.
27523         (fma_test_towardzero): Likewise.
27524         (fma_test_downward): Likewise.
27525         (fma_test_upward): Likewise.
27526
27527 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27528
27529         [BZ #157]
27530
27531         * include/stub-tag.h: Remove file.
27532         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27533         '#include' of it.
27534         * manual/maint.texi (Porting): Don't reference it.
27535         * Makerules ($(objpfx)stubs): Likewise.
27536         * dirent/closedir.c: Don't include <stub-tag.h>.
27537         * dirent/dirfd.c: Likewise.
27538         * dirent/fdopendir.c: Likewise.
27539         * dirent/getdents.c: Likewise.
27540         * dirent/getdents64.c: Likewise.
27541         * dirent/opendir.c: Likewise.
27542         * dirent/readdir.c: Likewise.
27543         * dirent/readdir64.c: Likewise.
27544         * dirent/readdir64_r.c: Likewise.
27545         * dirent/readdir_r.c: Likewise.
27546         * dirent/rewinddir.c: Likewise.
27547         * dirent/seekdir.c: Likewise.
27548         * dirent/telldir.c: Likewise.
27549         * gmon/profil.c: Likewise.
27550         * grp/setgroups.c: Likewise.
27551         * inet/if_index.c: Likewise.
27552         * io/access.c: Likewise.
27553         * io/chdir.c: Likewise.
27554         * io/chmod.c: Likewise.
27555         * io/chown.c: Likewise.
27556         * io/close.c: Likewise.
27557         * io/dup.c: Likewise.
27558         * io/dup2.c: Likewise.
27559         * io/dup3.c: Likewise.
27560         * io/euidaccess.c: Likewise.
27561         * io/faccessat.c: Likewise.
27562         * io/fchdir.c: Likewise.
27563         * io/fchmod.c: Likewise.
27564         * io/fchmodat.c: Likewise.
27565         * io/fchown.c: Likewise.
27566         * io/fchownat.c: Likewise.
27567         * io/fcntl.c: Likewise.
27568         * io/flock.c: Likewise.
27569         * io/fstatfs.c: Likewise.
27570         * io/fstatfs64.c: Likewise.
27571         * io/fstatvfs.c: Likewise.
27572         * io/fstatvfs64.c: Likewise.
27573         * io/futimens.c: Likewise.
27574         * io/fxstat.c: Likewise.
27575         * io/fxstat64.c: Likewise.
27576         * io/fxstatat.c: Likewise.
27577         * io/fxstatat64.c: Likewise.
27578         * io/getcwd.c: Likewise.
27579         * io/isatty.c: Likewise.
27580         * io/lchmod.c: Likewise.
27581         * io/lchown.c: Likewise.
27582         * io/link.c: Likewise.
27583         * io/linkat.c: Likewise.
27584         * io/lseek.c: Likewise.
27585         * io/lseek64.c: Likewise.
27586         * io/lxstat64.c: Likewise.
27587         * io/mkdir.c: Likewise.
27588         * io/mkdirat.c: Likewise.
27589         * io/mkfifo.c: Likewise.
27590         * io/mkfifoat.c: Likewise.
27591         * io/open.c: Likewise.
27592         * io/open64.c: Likewise.
27593         * io/openat.c: Likewise.
27594         * io/openat64.c: Likewise.
27595         * io/pipe.c: Likewise.
27596         * io/pipe2.c: Likewise.
27597         * io/poll.c: Likewise.
27598         * io/posix_fadvise.c: Likewise.
27599         * io/posix_fadvise64.c: Likewise.
27600         * io/posix_fallocate.c: Likewise.
27601         * io/posix_fallocate64.c: Likewise.
27602         * io/read.c: Likewise.
27603         * io/readlink.c: Likewise.
27604         * io/readlinkat.c: Likewise.
27605         * io/rmdir.c: Likewise.
27606         * io/sendfile.c: Likewise.
27607         * io/sendfile64.c: Likewise.
27608         * io/statfs.c: Likewise.
27609         * io/statfs64.c: Likewise.
27610         * io/statvfs.c: Likewise.
27611         * io/statvfs64.c: Likewise.
27612         * io/symlink.c: Likewise.
27613         * io/symlinkat.c: Likewise.
27614         * io/ttyname.c: Likewise.
27615         * io/ttyname_r.c: Likewise.
27616         * io/umask.c: Likewise.
27617         * io/unlink.c: Likewise.
27618         * io/unlinkat.c: Likewise.
27619         * io/utime.c: Likewise.
27620         * io/utimensat.c: Likewise.
27621         * io/write.c: Likewise.
27622         * io/xmknod.c: Likewise.
27623         * io/xmknodat.c: Likewise.
27624         * io/xstat.c: Likewise.
27625         * io/xstat64.c: Likewise.
27626         * login/getpt.c: Likewise.
27627         * login/grantpt.c: Likewise.
27628         * login/unlockpt.c: Likewise.
27629         * math/e_acoshl.c: Likewise.
27630         * math/e_acosl.c: Likewise.
27631         * math/e_asinl.c: Likewise.
27632         * math/e_atan2l.c: Likewise.
27633         * math/e_atanhl.c: Likewise.
27634         * math/e_coshl.c: Likewise.
27635         * math/e_expl.c: Likewise.
27636         * math/e_fmodl.c: Likewise.
27637         * math/e_gammal_r.c: Likewise.
27638         * math/e_hypotl.c: Likewise.
27639         * math/e_j0l.c: Likewise.
27640         * math/e_j1l.c: Likewise.
27641         * math/e_jnl.c: Likewise.
27642         * math/e_lgammal_r.c: Likewise.
27643         * math/e_log10l.c: Likewise.
27644         * math/e_log2l.c: Likewise.
27645         * math/e_logl.c: Likewise.
27646         * math/e_powl.c: Likewise.
27647         * math/e_rem_pio2l.c: Likewise.
27648         * math/e_sinhl.c: Likewise.
27649         * math/e_sqrtl.c: Likewise.
27650         * math/fclrexcpt.c: Likewise.
27651         * math/fedisblxcpt.c: Likewise.
27652         * math/feenablxcpt.c: Likewise.
27653         * math/fegetenv.c: Likewise.
27654         * math/fegetexcept.c: Likewise.
27655         * math/fegetround.c: Likewise.
27656         * math/feholdexcpt.c: Likewise.
27657         * math/fesetenv.c: Likewise.
27658         * math/fesetround.c: Likewise.
27659         * math/feupdateenv.c: Likewise.
27660         * math/fgetexcptflg.c: Likewise.
27661         * math/fraiseexcpt.c: Likewise.
27662         * math/fsetexcptflg.c: Likewise.
27663         * math/ftestexcept.c: Likewise.
27664         * math/k_cosl.c: Likewise.
27665         * math/k_rem_pio2l.c: Likewise.
27666         * math/k_sinl.c: Likewise.
27667         * math/k_tanl.c: Likewise.
27668         * math/s_asinhl.c: Likewise.
27669         * math/s_atanl.c: Likewise.
27670         * math/s_cbrtl.c: Likewise.
27671         * math/s_erfl.c: Likewise.
27672         * math/s_expm1l.c: Likewise.
27673         * math/s_log1pl.c: Likewise.
27674         * math/s_tanhl.c: Likewise.
27675         * misc/acct.c: Likewise.
27676         * misc/brk.c: Likewise.
27677         * misc/chflags.c: Likewise.
27678         * misc/chroot.c: Likewise.
27679         * misc/fchflags.c: Likewise.
27680         * misc/fgetxattr.c: Likewise.
27681         * misc/flistxattr.c: Likewise.
27682         * misc/fremovexattr.c: Likewise.
27683         * misc/fsetxattr.c: Likewise.
27684         * misc/fsync.c: Likewise.
27685         * misc/ftruncate.c: Likewise.
27686         * misc/futimes.c: Likewise.
27687         * misc/futimesat.c: Likewise.
27688         * misc/getdomain.c: Likewise.
27689         * misc/getdtsz.c: Likewise.
27690         * misc/gethostid.c: Likewise.
27691         * misc/gethostname.c: Likewise.
27692         * misc/getloadavg.c: Likewise.
27693         * misc/getpagesize.c: Likewise.
27694         * misc/getsysstats.c: Likewise.
27695         * misc/getxattr.c: Likewise.
27696         * misc/gtty.c: Likewise.
27697         * misc/ioctl.c: Likewise.
27698         * misc/lgetxattr.c: Likewise.
27699         * misc/listxattr.c: Likewise.
27700         * misc/llistxattr.c: Likewise.
27701         * misc/lremovexattr.c: Likewise.
27702         * misc/lsetxattr.c: Likewise.
27703         * misc/lutimes.c: Likewise.
27704         * misc/madvise.c: Likewise.
27705         * misc/mincore.c: Likewise.
27706         * misc/mlock.c: Likewise.
27707         * misc/mlockall.c: Likewise.
27708         * misc/mmap.c: Likewise.
27709         * misc/mprotect.c: Likewise.
27710         * misc/msync.c: Likewise.
27711         * misc/munlock.c: Likewise.
27712         * misc/munlockall.c: Likewise.
27713         * misc/munmap.c: Likewise.
27714         * misc/preadv.c: Likewise.
27715         * misc/preadv64.c: Likewise.
27716         * misc/ptrace.c: Likewise.
27717         * misc/pwritev.c: Likewise.
27718         * misc/pwritev64.c: Likewise.
27719         * misc/readv.c: Likewise.
27720         * misc/reboot.c: Likewise.
27721         * misc/remap_file_pages.c: Likewise.
27722         * misc/removexattr.c: Likewise.
27723         * misc/revoke.c: Likewise.
27724         * misc/select.c: Likewise.
27725         * misc/setdomain.c: Likewise.
27726         * misc/setegid.c: Likewise.
27727         * misc/seteuid.c: Likewise.
27728         * misc/sethostid.c: Likewise.
27729         * misc/sethostname.c: Likewise.
27730         * misc/setregid.c: Likewise.
27731         * misc/setreuid.c: Likewise.
27732         * misc/setxattr.c: Likewise.
27733         * misc/sstk.c: Likewise.
27734         * misc/stty.c: Likewise.
27735         * misc/swapoff.c: Likewise.
27736         * misc/swapon.c: Likewise.
27737         * misc/sync.c: Likewise.
27738         * misc/syncfs.c: Likewise.
27739         * misc/syscall.c: Likewise.
27740         * misc/truncate.c: Likewise.
27741         * misc/ualarm.c: Likewise.
27742         * misc/usleep.c: Likewise.
27743         * misc/ustat.c: Likewise.
27744         * misc/utimes.c: Likewise.
27745         * misc/vhangup.c: Likewise.
27746         * misc/writev.c: Likewise.
27747         * posix/_exit.c: Likewise.
27748         * posix/alarm.c: Likewise.
27749         * posix/execve.c: Likewise.
27750         * posix/fexecve.c: Likewise.
27751         * posix/fork.c: Likewise.
27752         * posix/fpathconf.c: Likewise.
27753         * posix/getaddrinfo.c: Likewise.
27754         * posix/getegid.c: Likewise.
27755         * posix/geteuid.c: Likewise.
27756         * posix/getgid.c: Likewise.
27757         * posix/getgroups.c: Likewise.
27758         * posix/getlogin.c: Likewise.
27759         * posix/getlogin_r.c: Likewise.
27760         * posix/getpgid.c: Likewise.
27761         * posix/getpid.c: Likewise.
27762         * posix/getppid.c: Likewise.
27763         * posix/getresgid.c: Likewise.
27764         * posix/getresuid.c: Likewise.
27765         * posix/getsid.c: Likewise.
27766         * posix/getuid.c: Likewise.
27767         * posix/glob64.c: Likewise.
27768         * posix/nanosleep.c: Likewise.
27769         * posix/pathconf.c: Likewise.
27770         * posix/pause.c: Likewise.
27771         * posix/posix_madvise.c: Likewise.
27772         * posix/pread.c: Likewise.
27773         * posix/pread64.c: Likewise.
27774         * posix/pwrite.c: Likewise.
27775         * posix/pwrite64.c: Likewise.
27776         * posix/sched_getaffinity.c: Likewise.
27777         * posix/sched_getp.c: Likewise.
27778         * posix/sched_gets.c: Likewise.
27779         * posix/sched_primax.c: Likewise.
27780         * posix/sched_primin.c: Likewise.
27781         * posix/sched_rr_gi.c: Likewise.
27782         * posix/sched_setaffinity.c: Likewise.
27783         * posix/sched_setp.c: Likewise.
27784         * posix/sched_sets.c: Likewise.
27785         * posix/sched_yield.c: Likewise.
27786         * posix/setgid.c: Likewise.
27787         * posix/setlogin.c: Likewise.
27788         * posix/setpgid.c: Likewise.
27789         * posix/setresgid.c: Likewise.
27790         * posix/setresuid.c: Likewise.
27791         * posix/setsid.c: Likewise.
27792         * posix/setuid.c: Likewise.
27793         * posix/sleep.c: Likewise.
27794         * posix/spawni.c: Likewise.
27795         * posix/sysconf.c: Likewise.
27796         * posix/times.c: Likewise.
27797         * posix/wait.c: Likewise.
27798         * posix/wait3.c: Likewise.
27799         * posix/wait4.c: Likewise.
27800         * posix/waitpid.c: Likewise.
27801         * resolv/gai_sigqueue.c: Likewise.
27802         * resource/getpriority.c: Likewise.
27803         * resource/getrlimit.c: Likewise.
27804         * resource/getrusage.c: Likewise.
27805         * resource/nice.c: Likewise.
27806         * resource/setpriority.c: Likewise.
27807         * resource/setrlimit.c: Likewise.
27808         * resource/ulimit.c: Likewise.
27809         * rt/aio_cancel.c: Likewise.
27810         * rt/aio_fsync.c: Likewise.
27811         * rt/aio_read.c: Likewise.
27812         * rt/aio_sigqueue.c: Likewise.
27813         * rt/aio_suspend.c: Likewise.
27814         * rt/aio_write.c: Likewise.
27815         * rt/clock_getres.c: Likewise.
27816         * rt/clock_gettime.c: Likewise.
27817         * rt/clock_nanosleep.c: Likewise.
27818         * rt/clock_settime.c: Likewise.
27819         * rt/lio_listio.c: Likewise.
27820         * rt/mq_close.c: Likewise.
27821         * rt/mq_getattr.c: Likewise.
27822         * rt/mq_notify.c: Likewise.
27823         * rt/mq_open.c: Likewise.
27824         * rt/mq_receive.c: Likewise.
27825         * rt/mq_send.c: Likewise.
27826         * rt/mq_setattr.c: Likewise.
27827         * rt/mq_timedreceive.c: Likewise.
27828         * rt/mq_timedsend.c: Likewise.
27829         * rt/mq_unlink.c: Likewise.
27830         * rt/shm_open.c: Likewise.
27831         * rt/shm_unlink.c: Likewise.
27832         * rt/timer_create.c: Likewise.
27833         * rt/timer_delete.c: Likewise.
27834         * rt/timer_getoverr.c: Likewise.
27835         * rt/timer_gettime.c: Likewise.
27836         * rt/timer_settime.c: Likewise.
27837         * setjmp/__longjmp.c: Likewise.
27838         * setjmp/setjmp.c: Likewise.
27839         * signal/kill.c: Likewise.
27840         * signal/killpg.c: Likewise.
27841         * signal/raise.c: Likewise.
27842         * signal/sigaction.c: Likewise.
27843         * signal/sigaltstack.c: Likewise.
27844         * signal/sigblock.c: Likewise.
27845         * signal/sigignore.c: Likewise.
27846         * signal/sigintr.c: Likewise.
27847         * signal/signal.c: Likewise.
27848         * signal/sigpause.c: Likewise.
27849         * signal/sigpending.c: Likewise.
27850         * signal/sigqueue.c: Likewise.
27851         * signal/sigreturn.c: Likewise.
27852         * signal/sigset.c: Likewise.
27853         * signal/sigsetmask.c: Likewise.
27854         * signal/sigstack.c: Likewise.
27855         * signal/sigsuspend.c: Likewise.
27856         * signal/sigtimedwait.c: Likewise.
27857         * signal/sigvec.c: Likewise.
27858         * signal/sigwait.c: Likewise.
27859         * signal/sigwaitinfo.c: Likewise.
27860         * signal/sysv_signal.c: Likewise.
27861         * socket/accept.c: Likewise.
27862         * socket/accept4.c: Likewise.
27863         * socket/bind.c: Likewise.
27864         * socket/connect.c: Likewise.
27865         * socket/getpeername.c: Likewise.
27866         * socket/getsockname.c: Likewise.
27867         * socket/getsockopt.c: Likewise.
27868         * socket/isfdtype.c: Likewise.
27869         * socket/listen.c: Likewise.
27870         * socket/recv.c: Likewise.
27871         * socket/recvfrom.c: Likewise.
27872         * socket/recvmsg.c: Likewise.
27873         * socket/send.c: Likewise.
27874         * socket/sendmsg.c: Likewise.
27875         * socket/sendto.c: Likewise.
27876         * socket/setsockopt.c: Likewise.
27877         * socket/shutdown.c: Likewise.
27878         * socket/sockatmark.c: Likewise.
27879         * socket/socket.c: Likewise.
27880         * socket/socketpair.c: Likewise.
27881         * stdio-common/ctermid.c: Likewise.
27882         * stdio-common/cuserid.c: Likewise.
27883         * stdio-common/remove.c: Likewise.
27884         * stdio-common/rename.c: Likewise.
27885         * stdio-common/renameat.c: Likewise.
27886         * stdio-common/tempname.c: Likewise.
27887         * stdlib/getcontext.c: Likewise.
27888         * stdlib/makecontext.c: Likewise.
27889         * stdlib/setcontext.c: Likewise.
27890         * stdlib/swapcontext.c: Likewise.
27891         * stdlib/system.c: Likewise.
27892         * streams/fattach.c: Likewise.
27893         * streams/fdetach.c: Likewise.
27894         * streams/getmsg.c: Likewise.
27895         * streams/getpmsg.c: Likewise.
27896         * streams/putmsg.c: Likewise.
27897         * streams/putpmsg.c: Likewise.
27898         * sysdeps/unix/bsd/getpt.c: Likewise.
27899         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27900         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27901         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27903         Likewise.
27904         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27905         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27906         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27907         * sysvipc/msgctl.c: Likewise.
27908         * sysvipc/msgget.c: Likewise.
27909         * sysvipc/msgrcv.c: Likewise.
27910         * sysvipc/msgsnd.c: Likewise.
27911         * sysvipc/semctl.c: Likewise.
27912         * sysvipc/semget.c: Likewise.
27913         * sysvipc/semop.c: Likewise.
27914         * sysvipc/semtimedop.c: Likewise.
27915         * sysvipc/shmat.c: Likewise.
27916         * sysvipc/shmctl.c: Likewise.
27917         * sysvipc/shmdt.c: Likewise.
27918         * sysvipc/shmget.c: Likewise.
27919         * termios/tcdrain.c: Likewise.
27920         * termios/tcflow.c: Likewise.
27921         * termios/tcflush.c: Likewise.
27922         * termios/tcgetattr.c: Likewise.
27923         * termios/tcgetpgrp.c: Likewise.
27924         * termios/tcsendbrk.c: Likewise.
27925         * termios/tcsetattr.c: Likewise.
27926         * termios/tcsetpgrp.c: Likewise.
27927         * time/adjtime.c: Likewise.
27928         * time/clock.c: Likewise.
27929         * time/getitimer.c: Likewise.
27930         * time/gettimeofday.c: Likewise.
27931         * time/setitimer.c: Likewise.
27932         * time/settimeofday.c: Likewise.
27933         * time/stime.c: Likewise.
27934         * time/time.c: Likewise.
27935
27936 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27937
27938         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27939         /usr/old/bin.
27940
27941         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27942         instead of spaces.
27943         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27944
27945 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27946
27947         [BZ #14796]
27948         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27949         FE_TONEAREST before applying Dekker multiplication and Knuth
27950         addition.  Clear inexact exceptions and check for exact zero
27951         results afterwards.
27952         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27953         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27954         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27955         * math/libm-test.inc (fma_test): Add more tests.
27956         (fma_test_towardzero): Likewise.
27957         (fma_test_downward): Likewise.
27958         (fma_test_upward): Likewise.
27959         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27960         function.
27961         (libc_fesetround): New macro.
27962         (libc_fesetroundf): Likewise.
27963         (libc_fesetroundl): Likewise.
27964         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27965         function.
27966         (libc_fesetround_387): Likewise.
27967         (libc_fesetroundf): New macro.
27968         (libc_fesetround): Likewise.
27969         (libc_fesetroundl): Likewise.
27970         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27971         function.
27972         (libc_fesetroundf): New macro.
27973         (libc_fesetround): Likewise.
27974         (libc_fesetroundl): Likewise.
27975         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27976         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27977         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27978         libm_hidden_ver.
27979         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27980         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27981         libm_hidden_def.
27982         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27983         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27984         libm_hidden_ver.
27985         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27986         libm_hidden_def.
27987
27988         [BZ #3439]
27989         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27990         integer constant usable in #if and use that to give value to enum
27991         constant.
27992         (FE_DIVBYZERO): Likewise.
27993         (FE_UNDERFLOW): Likewise.
27994         (FE_OVERFLOW): Likewise.
27995         (FE_INVALID): Likewise.
27996         (FE_INVALID_SNAN): Likewise.
27997         (FE_INVALID_ISI): Likewise.
27998         (FE_INVALID_IDI): Likewise.
27999         (FE_INVALID_ZDZ): Likewise.
28000         (FE_INVALID_IMZ): Likewise.
28001         (FE_INVALID_COMPARE): Likewise.
28002         (FE_INVALID_SOFTWARE): Likewise.
28003         (FE_INVALID_SQRT): Likewise.
28004         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28005         (FE_TONEAREST): Likewise.
28006         (FE_TOWARDZERO): Likewise.
28007         (FE_UPWARD): Likewise.
28008         (FE_DOWNWARD): Likewise.
28009         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28010         (FE_DIVBYZERO): Likewise.
28011         (FE_OVERFLOW): Likewise.
28012         (FE_UNDERFLOW): Likewise.
28013         (FE_INEXACT): Likewise.
28014         (FE_TONEAREST): Likewise.
28015         (FE_DOWNWARD): Likewise.
28016         (FE_UPWARD): Likewise.
28017         (FE_TOWARDZERO): Likewise.
28018         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28019         (FE_UNDERFLOW): Likewise.
28020         (FE_OVERFLOW): Likewise.
28021         (FE_DIVBYZERO): Likewise.
28022         (FE_INVALID): Likewise.
28023         (FE_TONEAREST): Likewise.
28024         (FE_TOWARDZERO): Likewise.
28025         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28026         (FE_OVERFLOW): Likewise.
28027         (FE_UNDERFLOW): Likewise.
28028         (FE_DIVBYZERO): Likewise.
28029         (FE_INEXACT): Likewise.
28030         (FE_TONEAREST): Likewise.
28031         (FE_TOWARDZERO): Likewise.
28032         (FE_UPWARD): Likewise.
28033         (FE_DOWNWARD): Likewise.
28034         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28035         (FE_DIVBYZERO): Likewise.
28036         (FE_OVERFLOW): Likewise.
28037         (FE_UNDERFLOW): Likewise.
28038         (FE_INEXACT): Likewise.
28039         (FE_TONEAREST): Likewise.
28040         (FE_DOWNWARD): Likewise.
28041         (FE_UPWARD): Likewise.
28042         (FE_TOWARDZERO): Likewise.
28043
28044 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28045
28046         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28047
28048 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28049
28050         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28051         commands.  Quote $PWD.
28052         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28053         -x" by "export".
28054         (remove_newlines): Remove.
28055
28056 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28057
28058         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28059         * stdlib/stdlib.h (atof): Moved to ...
28060         * include/bits/stdlib-float.h: Here.  New file.
28061         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28062         * stdlib/bits/stdlib-float.h: New file.
28063         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28064         -mno-sse -mno-mmx.
28065         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28066         <xmmintrin.h>.
28067
28068 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28069
28070         * conform/conformtest.pl (@headers): Add fenv.h.
28071         * conform/data/fenv.h-data: New file.
28072         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28073         include of <math/fenv.h>.
28074
28075         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28076         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28077         && !UNIX98].  Enables tests for XOPEN2K8.
28078         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28079         POSIX2008]: Likewise.
28080
28081         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28082         (struct rusage): Do not expect type or its members.
28083
28084         [BZ #3439]
28085         * math/math.h (FP_NAN): Define macro to integer constant usable in
28086         #if and use that to give value to enum constant.
28087         (FP_INFINITE): Likewise.
28088         (FP_ZERO): Likewise.
28089         (FP_SUBNORMAL): Likewise.
28090         (FP_NORMAL): Likewise.
28091
28092 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28093
28094         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28095         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28096         arguments.
28097
28098 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28099
28100         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28101         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28102         autoconf-time if not.
28103         * configure.in: Remove AC_PREREQ.
28104
28105 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28106
28107         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28108         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28109         of the internal implementation.
28110
28111 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28112
28113         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28114         except include of <misc/sys/syslog.h>.
28115
28116 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28117
28118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28119         function returns with a NULL context exit with zero.
28120
28121 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28122
28123         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28124
28125 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28126
28127         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28128         (run_program_cmd): This.
28129         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28130         (tst_langinfo): New variable.  Use it.
28131
28132 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28133
28134         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28135         floating point opcodes.
28136
28137 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28138
28139         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28140         variable.
28141
28142         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28143
28144         * sysdeps/mach/hurd/powerpc: Remove directory.
28145         * sysdeps/mach/powerpc: Likewise.
28146
28147 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28148
28149         * scripts/check-local-headers.sh: Ignore c++ headers.
28150
28151 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28152
28153         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28154         __libc_cleanup_region_start argument.
28155
28156 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28157
28158         [BZ #14784]
28159         [BZ #14785]
28160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28161         x * y using scaling, not as x * y + z.
28162         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28164         * math/libm-test.inc (fma_test): Add more tests.
28165         (fma_test_towardzero): Likewise.
28166         (fma_test_downward): Likewise.
28167         (fma_test_upward): Likewise.
28168
28169 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28170
28171         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28172
28173 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28174
28175         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28176         New variable.
28177
28178 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28179
28180         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28181
28182 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28183
28184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28185         Fix sort order.
28186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28187         Likewise.
28188
28189 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28190
28191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28192         Fix the order of the list for glibc 2.17.
28193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28194         Likewise.
28195
28196 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28197
28198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28199
28200 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28201
28202         [BZ #14610]
28203         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28204         for low part of x being zero before using __atanl (y).
28205         * math/libm-test.inc (atan2_test): Add another test.
28206
28207         * manual/install.texi (Configuring and compiling): Document
28208         general use of test-wrapper and test-wrapper-env.
28209         * INSTALL: Regenerated.
28210
28211         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28212         (__fma): Do not extract and scale down low bits on after-rounding
28213         systems when result rounded to normal precision would have normal
28214         exponent.
28215         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28216         (__fmal): Do not extract and scale down low bits on after-rounding
28217         systems when result rounded to normal precision would have normal
28218         exponent.
28219         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28220         (__fmal): Do not extract and scale down low bits on after-rounding
28221         systems when result rounded to normal precision would have normal
28222         exponent.
28223         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28224         macro.
28225         (fma_test): Add more tests.
28226         (fma_test_towardzero): Likewise.
28227         (fma_test_downward): Likewise.
28228         (fma_test_upward): Likewise.
28229
28230 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28231
28232         * sysdeps/i386/tininess.h: Renamed to ...
28233         * sysdeps/x86/tininess.h: This.
28234         * sysdeps/x86_64/tininess.h: Removed.
28235
28236 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28237
28238         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28239         input.  Use $(build-program-cmd).
28240         ($(objpfx)tst-array1-static.out): Likewise.
28241         ($(objpfx)tst-array2.out): Likewise.
28242         ($(objpfx)tst-array3.out): Likewise.
28243         ($(objpfx)tst-array4.out): Likewise.
28244         ($(objpfx)tst-array5.out): Likewise.
28245         ($(objpfx)tst-array5-static.out): Likewise.
28246
28247 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28248
28249         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28250         if defined.
28251
28252         * nss/nsswitch.h (nss_interface_function): Provide new
28253         macro for use with NSS functions.
28254         * grp/initgroups.c: Use new macro.
28255         * nss/getXXbyYY.c: Likewise.
28256         * nss/getXXbyYY_r.c: Likewise.
28257         * nss/getXXent.c: Likewise.
28258         * nss/getXXent_r.c: Likewise.
28259         * sysdeps/posix/getaddrinfo.c: Likewise.
28260
28261 2012-10-30  Andreas Jaeger  <aj@suse.de>
28262
28263         * po/ru.po: Update Russion translation from translation project.
28264
28265 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28266
28267         [BZ #14152]
28268         [BZ #14783]
28269         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28270         result and shift together with sticky bit instead of replicating
28271         round-to-nearest rounding.
28272         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28273         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28274         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28275         missing underflow exceptions.
28276         (fma_test_towardzero): Add more tests.
28277         (fma_test_downward): Likewise.
28278         (fma_test_upward): Likewise.
28279
28280         [BZ #14047]
28281         * sysdeps/generic/tininess.h: New file.
28282         * sysdeps/i386/tininess.h: Likewise.
28283         * sysdeps/sh/tininess.h: Likewise.
28284         * sysdeps/x86_64/tininess.h: Likewise.
28285         * stdlib/tst-strtod-underflow.c: Likewise.
28286         * stdlib/tst-tininess.c: Likewise.
28287         * stdlib/strtod_l.c: Include <tininess.h>.
28288         (round_and_return): Do not set errno for exact underflow cases.
28289         Force an underflow exception when setting errno for underflow.
28290         Determine underflow based on rounding to normal precision if
28291         TININESS_AFTER_ROUNDING.
28292         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28293         ERANGE for exact underflow cases.
28294         * stdlib/Makefile (tests): Add tst-tininess and
28295         tst-strtod-underflow.
28296         ($(objpfx)tst-tininess): Use $(link-libm).
28297         ($(objpfx)tst-strtod-underflow): Likewise.
28298
28299 2012-10-30  Andreas Jaeger  <aj@suse.de>
28300
28301         [BZ#14767]
28302         * elf/Makefile (tests): Remove conditional for have-initfini-array
28303         since this is now always required and the variable does not exist
28304         anymore.
28305         (tests-static): Likewise.
28306         (modules-names): Likewise.
28307
28308         * po/eo.po: Add Esperanto translation from translation project.
28309
28310         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28311         merged with constructor/destructor.
28312         (init_array): Likewise.
28313         * elf/tst-array2dep.c (fini_array): Likewise.
28314         (init_array): Likewise.
28315
28316 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28317
28318         * manual/message.texi: Delete @cartouche tags.
28319
28320 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28321
28322         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28323         EOPNOTSUPP.
28324         * sysdeps/mach/hurd/fsync.c: Likewise.
28325
28326         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28327         [_POSIX_REALTIME_SIGNALS]: Change condition to
28328         [_POSIX_REALTIME_SIGNALS > 0].
28329
28330 2012-10-27  Andreas Jaeger  <aj@suse.de>
28331
28332         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28333         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28335         [__WORDSIZE != 64]: Likewise.
28336
28337 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28338
28339         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28340         *  iconvdata/tst-tables.sh: Likewise.
28341
28342 2012-10-25  David S. Miller  <davem@davemloft.net>
28343
28344         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28345         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28346         of strtoull.
28347
28348         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28349         ifunc-impl-list.c
28350         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28351         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28352         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28353         file.
28354
28355 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28356
28357         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28358         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28359         __getdirentries.
28360
28361 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28362             Jim Blandy  <jimb@codesourcery.com>
28363
28364         * scripts/cross-test-ssh.sh: New file.
28365         * manual/install.texi (Configuring and compiling): Document use of
28366         cross-test-ssh.sh.
28367         * INSTALL: Regenerated.
28368
28369 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28370
28371         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28372         EOPNOTSUPP.
28373
28374 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28375
28376         * Makeconfig (run-program-prefix): Fix comment.
28377
28378 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28379             Jim Blandy  <jimb@codesourcery.com>
28380
28381         * Makeconfig (test-wrapper): New variable,
28382         (test-wrapper-env): Likewise.
28383         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28384         (run-built-tests): Define to yes.
28385         (run-program-prefix): Use $(test-wrapper).
28386         (built-program-cmd): Likewise.
28387         * Rules (make-test-out): Use $(test-wrapper-env) and
28388         $(host-built-program-cmd).
28389         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28390         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28391         tst-pathopt.sh.
28392         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28393         $(test-wrapper-env) to tst-rtld-load-self.sh.
28394         ($(objpfx)order2.out): Use $(test-wrapper).
28395         ($(objpfx)tst-initorder.out): Likewise.
28396         ($(objpfx)tst-initorder2.out): Likewise.
28397         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28398         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28399         (test_wrapper_env): New variable.  Use it to run ld.so.
28400         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28401         Use it to run ld.so.
28402         (test_wrapper_env): Likewise.
28403         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28404         $(test-wrapper) to run-iconv-test.sh.
28405         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28406         (ICONV): Use $test_wrapper.
28407         * posix/Makefile ($(objpfx)globtest.out): Pass
28408         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28409         globtest.sh, not $(run-program-prefix).
28410         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28411         (test_wrapper): Likewise.
28412         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28413         set together with run_via_rtld_prefix.
28414         (run_program_prefix): Define in terms of test_wrapper and
28415         run_via_rtld_prefix.
28416
28417 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28418
28419         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28420         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28421         Targets removed.
28422
28423         [BZ #14743]
28424         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28425         Declare __clock_getres, __clock_gettime, __clock_settime,
28426         __clock_nanosleep, and __clock_getcpuclockid.
28427         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28428         Remove librt_hidden_def (clock_gettime).
28429         * sysdeps/unix/clock_gettime.c: Likewise.
28430         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28431         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28432         * rt/clock_getres.c: Define __clock_getres as an alias.
28433         * sysdeps/posix/clock_getres.c: Likewise.
28434         * rt/clock_settime.c: Define __clock_settime as an alias.
28435         * sysdeps/unix/clock_settime.c: Likewise.
28436         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28437         * sysdeps/unix/clock_nanosleep.c: Likewise.
28438         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28439         * rt/clock-compat.c: New file.
28440         * rt/Makefile (librt-routines): Add clock-compat and move
28441         $(clock-routines) to ...
28442         (routines): ... here, new variable.
28443         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28444         Don't add get_clockfreq here.
28445         * rt/Versions (libc: GLIBC_2.17): New version set.
28446         Add clock_* symbols here.
28447         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28448         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28449         (GLIBC_2.17): Add clock_* symbols.
28450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28452         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28454         Likewise.
28455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28456         Likewise.
28457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28461         * NEWS: Mention the move.
28462
28463         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28464         Use __open, __read, __close rather than their public counterparts.
28465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28466         (__get_clockfreq_via_cpuinfo): Likewise.
28467         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28468         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28469
28470         * config.h.in (HAVE_IFUNC): New #undef.
28471         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28472         was successful.
28473         * configure: Regenerated.
28474
28475 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28476
28477         * configure.in: Move READELF check to start of file.
28478         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28479         libc_cv_asm_gnu_indirect_function in the process.
28480         * configure: Regenerated.
28481
28482 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28483
28484         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28485         send the output to /dev/null.
28486         (libc_cv_cc_with_libunwind): Likewise.
28487         (libc_cv_as_noexecstack): Likewise.
28488         * configure: Regenerate.
28489
28490 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28491
28492         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28493
28494         * posix/globtest.sh (TMPDIR): Do not set.
28495         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28496         (testout): Likewise.
28497
28498 2012-10-24  Andreas Jaeger  <aj@suse.de>
28499
28500         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28501         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28502         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28503         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28504         posix_fadvise64, posix_fallocate64.
28505
28506         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28507         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28508         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28509         Likewise.
28510         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28511         Likewise.
28512         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28513
28514         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28515         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28516         <bits/fcntl-linux.h>.
28517         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28518
28519         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28520         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28521         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28522         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28523         [__WORDSIZE != 64]: Likewise.
28524
28525 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28526
28527         * Makeconfig (run-built-tests): New variable.
28528         * Rules [$(cross-compiling) = yes]: Change condition to
28529         [$(run-built-tests) = no].
28530         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28531         to [$(run-built-tests) = yes].
28532         * elf/Makefile [$(cross-compiling) = no]: Likewise
28533         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28534         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28535         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28536         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28537         * io/Makefile [$(cross-compiling) = no]: Likewise.
28538         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28539         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28540         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28541         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28542         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28543         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28544         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28545         * string/Makefile [$(cross-compiling) = no]: Likewise.
28546
28547         * posix/Makefile ($(objpfx)globtest.out): Pass
28548         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28549         $(rtld-installed-name).
28550         * posix/globtest.sh (elf_objpfx): Remove variable.
28551         (rtld_installed_name): Likewise.
28552         (library_path): Likewise.
28553         (run_program_prefix): New variable.  Use for running globtest
28554         binary.
28555
28556 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28557             Joseph Myers  <joseph@codesourcery.com>
28558
28559         * Makeconfig (host-built-program-cmd): New variable.
28560         * elf/Makefile (tst-stackguard1-ARGS): Use
28561         $(host-built-program-cmd).
28562         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28563         (tst-spawn-ARGS): Likewise.
28564         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28565
28566 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28567             Jim Blandy  <jimb@codesourcery.com>
28568
28569         * Makeconfig (run-via-rtld-prefix): New variable.
28570         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28571         (built-program-cmd): Likewise.
28572
28573 2012-10-22  Andreas Jaeger  <aj@suse.de>
28574
28575         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28576         __O_RSYNC if it exists, otherwise to O_SYNC.
28577
28578 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28579             Joseph Myers  <joseph@codesourcery.com>
28580
28581         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28582         /dev/null.
28583         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28584         from /dev/null
28585         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28586         /dev/null.
28587
28588 2012-10-22  Andreas Jaeger  <aj@suse.de>
28589
28590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28591         Define always.
28592         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28593
28594         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28595         bits/fcntl-linux.h.
28596
28597         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28598         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28599
28600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28601         to __O_LARGEFILE.
28602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28603         to __O_LARGEFILE.
28604
28605 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28606             Joseph Myers  <joseph@codesourcery.com>
28607
28608         * config.make.in (NM): New variable.
28609
28610 2012-10-21  Andreas Jaeger  <aj@suse.de>
28611
28612         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28613         definitions and declarations that are provided by
28614         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28615
28616 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28617
28618         [BZ #14683]
28619         * elf/Makefile (tests-static): Add tst-leaks1-static.
28620         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28621         ($(objpfx)tst-leaks1-static): New rule.
28622         ($(objpfx)tst-leaks1-static-mem): Likewise.
28623         (tst-leaks1-static-ENV): New macro.
28624         * elf/dl-open.c (dl_open_worker): Check the main application
28625         only if SHARED is defined.
28626         * elf/tst-leaks1-static.c: New file.
28627
28628 2012-10-20  Andreas Jaeger  <aj@suse.de>
28629
28630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28631         generic values for Linux.
28632         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28633         and declarations that are provided by <bits/fcntl-linux.h> and
28634         include <bits/fcntl-linux.h>.
28635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28636         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28637
28638 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28639
28640         * io/fcntl.h: Move include of <bits/types.h> to the top and
28641         include it unconditionally.
28642
28643 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28644
28645         * wcsmbs/Makefile (tests-ifunc): New variable.
28646         (tests): Add $(tests-ifunc).
28647         * wcsmbs/test-wcschr-ifunc.c: New file.
28648         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28649         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28650         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28651         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28652         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28653
28654         * string/Makefile (tests-ifunc): New variable.
28655         (tests): Add $(tests-ifunc).
28656         * string/test-memccpy.c (TEST_NAME): New macro.
28657         * string/test-memchr.c (TEST_NAME): Likewise.
28658         * string/test-memcmp.c (TEST_NAME): Likewise.
28659         * string/test-memcpy.c (TEST_NAME): Likewise.
28660         * string/test-memmem.c (TEST_NAME): Likewise.
28661         * string/test-memmove.c (TEST_NAME): Likewise.
28662         * string/test-memset.c (TEST_NAME): Likewise.
28663         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28664         * string/test-stpcpy.c (TEST_NAME): Likewise.
28665         * string/test-stpncpy.c (TEST_NAME): Likewise.
28666         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28667         * string/test-strcasestr.c (TEST_NAME): Likewise.
28668         * string/test-strcat.c (TEST_NAME): Likewise.
28669         * string/test-strchr.c (TEST_NAME): Likewise.
28670         * string/test-strcmp.c(TEST_NAME): Likewise.
28671         * string/test-strcpy.c (TEST_NAME): Likewise.
28672         * string/test-strcspn.c (TEST_NAME): Likewise.
28673         * string/test-strlen.c (TEST_NAME): Likewise.
28674         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28675         * string/test-strncmp.c (TEST_NAME): Likewise.
28676         * string/test-strncpy.c (TEST_NAME): Likewise.
28677         * string/test-strnlen.c (TEST_NAME): Likewise.
28678         * string/test-strpbrk.c (TEST_NAME): Likewise.
28679         * string/test-strrchr.c (TEST_NAME): Likewise.
28680         * string/test-strspn.c (TEST_NAME): Likewise.
28681         * string/test-strstr.c (TEST_NAME): Likewise.
28682         * string/test-bcopy-ifunc.c: New file.
28683         * string/test-bzero-ifunc.c: Likewise.
28684         * string/test-memccpy-ifunc.c: Likewise.
28685         * string/test-memchr-ifunc.c: Likewise.
28686         * string/test-memcmp-ifunc.c: Likewise.
28687         * string/test-memcpy-ifunc.c: Likewise.
28688         * string/test-memmem-ifunc.c: Likewise.
28689         * string/test-memmove-ifunc.c: Likewise.
28690         * string/test-mempcpy-ifunc.c: Likewise.
28691         * string/test-memset-ifunc.c: Likewise.
28692         * string/test-rawmemchr-ifunc.c: Likewise.
28693         * string/test-stpcpy-ifunc.c: Likewise.
28694         * string/test-stpncpy-ifunc.c: Likewise.
28695         * string/test-strcasecmp-ifunc.c: Likewise.
28696         * string/test-strcasestr-ifunc.c: Likewise.
28697         * string/test-strcat-ifunc.c: Likewise.
28698         * string/test-strchr-ifunc.c: Likewise.
28699         * string/test-strchrnul-ifunc.c: Likewise.
28700         * string/test-strcmp-ifunc.c: Likewise.
28701         * string/test-strcpy-ifunc.c: Likewise.
28702         * string/test-strcspn-ifunc.c: Likewise.
28703         * string/test-strlen-ifunc.c: Likewise.
28704         * string/test-strncasecmp-ifunc.c: Likewise.
28705         * string/test-strncat-ifunc.c: Likewise.
28706         * string/test-strncmp-ifunc.c: Likewise.
28707         * string/test-strncpy-ifunc.c: Likewise.
28708         * string/test-strnlen-ifunc.c: Likewise.
28709         * string/test-strpbrk-ifunc.c: Likewise.
28710         * string/test-strrchr-ifunc.c: Likewise.
28711         * string/test-strspn-ifunc.c: Likewise.
28712         * string/test-strstr-ifunc.c: Likewise.
28713
28714         * debug/Makefile (tests-ifunc): New variable.
28715         (tests): Add $(tests-ifunc).
28716         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28717         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28718         * debug/test-stpcpy_chk-ifunc.c: New file.
28719         * debug/test-strcpy_chk-ifunc.c: Likewise.
28720
28721 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28722
28723         [BZ #13601]
28724         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28725         header is not read in.
28726
28727 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28728
28729         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28730         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28731         directly.  Pass built executable to script as
28732         $(built-program-cmd).
28733         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28734         $testprogram without using LD_LIBRARY_PATH and $ldso.
28735
28736         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28737         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28738         $(rtld-installed-name).
28739         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28740         (rtld_installed_name): Likewise.
28741         (library_path): Likewise.
28742         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28743         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28744         $(run-program-prefix) to tst-tables.sh.
28745         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28746         it to run tst-table-from and tst-table-to.
28747         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28748         Pass it to tst-table.sh.
28749         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28750         $(run-program-prefix) to tst-gettext.sh.
28751         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28752         tst-translit.sh.
28753         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28754         tst-gettext2.sh.
28755         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28756         to run tst-gettext.
28757         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28758         to run tst-gettext2.
28759         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28760         to run tst-translit.
28761         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28762         $(run-program-prefix) to tst-mtrace.sh.
28763         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28764         to run tst-mtrace.
28765         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28766         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28767         $(rtld-installed-name).
28768         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28769         (rtld_installed_name): Likewise.
28770         (run_program_prefix): New variable.  Use it to run wordexp-test.
28771
28772         * Makeconfig (ARCH): Remove all definitions.
28773         (machine): Likewise.
28774         [ARCH]: Remove conditional code.
28775         [!objdir]: Give error.
28776         [!objdir] (objpfx): Remove.
28777         [!objdir] (common-objpfx): Likewise.
28778         [!objdir] (common-objdir): Likewise.
28779         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28780         AC_CONFIG_FILES call.
28781         * configure: Regenerated.
28782
28783         [BZ #13888]
28784         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28785         or TMPDIR.
28786         (testout): Likewise.
28787
28788         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28789         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28790         $(rtld-installed-name).
28791         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28792         (rtld_installed_name): Likwise.
28793         (runit): Remove function.
28794         (run_getconf): New variable,  Use it for running getconf binary.
28795
28796 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28797
28798         [BZ #14716]
28799         * string/test-memmem.c (check_result): New function.
28800         (do_one_test): Use it.
28801         (check1): New function.
28802         (test_main): Use it.
28803
28804 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28805
28806         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28807
28808 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28809
28810         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28811         (_G_LSEEK64): Likewise.
28812         (_G_MMAP64): Likewise.
28813         (_G_FSTAT64): Likewise.
28814         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28815         (_G_LSEEK64): Likewise.
28816         (_G_MMAP64): Likewise.
28817         (_G_FSTAT64): Likewise.
28818         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28819         unconditional.  Call __mmap64 directly.
28820         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28821         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28822         __lseek64 directly.
28823         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28824         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28825         __mmap64 directly.
28826         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28827         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28828         __lseek64 directly.
28829         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28830         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28831         __lseek64 directly.
28832         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28833         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28834         __lseek64 directly.
28835         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28836         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28837         __fxstat64 directly.
28838         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28839         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28840         unconditional.
28841         (freopen64) [!_G_OPEN64]: Remove conditional code.
28842         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28843         unconditional.
28844         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28845         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28846         unconditional.
28847         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28848         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28849         unconditional.
28850         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28851         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28852         unconditional.
28853         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28854         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28855         unconditional.
28856         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28857         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28858         unconditional.
28859         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28860         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28861         unconditional.
28862         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28863
28864 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28865
28866         [BZ #12140]
28867         * manual/memory.texi (Malloc Tunable Parameters): Add note
28868         about free list pointers overwriting some perturb bytes.
28869         Wording suggested by Roland McGrath.
28870
28871 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28872
28873         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28874         (lgamma_test): Likewise.
28875         (tgamma_test): Likewise.
28876
28877 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28878
28879         [BZ #14700]
28880         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28881         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28882
28883 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28884
28885         * NEWS: Mention BZ #14716.
28886         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28887         when removing AVAILABLE1_USES_J macro.
28888
28889 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28890
28891         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28892         (__bswap_64): __uint64_t for unsigned 64-bit int.
28893
28894 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28895
28896         * include/string.h (memmem): Declare libc hidden alias.
28897         * string/memmem.c (memmem): Define libc hidden alias.
28898         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28899         __read, __close instead of open, read, close.
28900
28901 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28902
28903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28904         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28905         global and hidden.
28906         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28907         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28908         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28909         Likewise.
28910         (__rawmemchr_sse2): Likewise.
28911         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28912         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28913         (__strchr_sse2): Likewise.
28914         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28915         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28916         (__strcasecmp_sse2): Likewise.
28917         (__strncasecmp_sse2): Likewise.
28918         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28919         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28920         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28921         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28922         (__strrchr_sse2): Likewise.
28923         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28924         ifunc-impl-list.c.
28925         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28926         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28927         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28928         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28929         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28930         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28931         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28932         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28933         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28934         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28935         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28936         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28937         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28938         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28939         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28940         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28941         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28942         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28943         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28944         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28945         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28946         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28947         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28948         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28949         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28950         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28951         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28952         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28953         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28954         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28955
28956         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28957         global and hidden.
28958         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28959         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28960         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28961         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28962         Likewise.
28963         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28964         Likewise.
28965         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28966         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28967         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28968         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28969         ifunc-impl-list.c.
28970         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28971         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28972         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28973         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28974         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28975         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28976         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28977         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28978         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28979         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28980         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28981         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28982         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28983         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28984         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28985         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28986         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28987         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28988         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28989         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28990         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28991         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28992         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28993         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28994         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28995         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28996         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28997         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28998         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28999         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29000         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29001         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29002         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29003         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29004         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29005         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29006         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29007         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29008         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29009         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29010         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29011
29012         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29013         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29014         * include/ifunc-impl-list.h: New file.
29015         * misc/ifunc-impl-list.c: Likewise.
29016         * misc/Makefile (routines): Add ifunc-impl-list.
29017         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29018         * string/test-string.h: Include <ifunc-impl-list.h>.
29019         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29020         TEST_NAME]: New variables.
29021         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29022         are defined.
29023         (test_init): Call __libc_ifunc_impl_list to initialize
29024         func_list if TEST_IFUNC and TEST_NAME are defined.
29025
29026         * string/Makefile (strop-tests): Add bcopy and bzero.
29027         * string/test-bcopy.c: New file.
29028         * string/test-bzero.c: Likewise.
29029         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29030         defined.
29031         * string/test-memset.c: Support bzero test if TEST_BZERO is
29032         defined.
29033         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29034         __libc_memmove.
29035         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29036         __libc_memset.
29037         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29038         of memset.
29039
29040 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29041
29042         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29043         * configure: Regenerated.
29044
29045         * Makeconfig (+link-static-before-libc): Don't include
29046         $(link-static-libc).
29047
29048         * libio/libio.h (_IO_pos_t): Remove.
29049
29050 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29051
29052         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29053         McGrath.
29054
29055 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29056
29057         * crypt/crypt-entry.c: Include fips-private.h.
29058         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29059         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29060         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29061         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29062
29063 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29064
29065         * crypt/crypt-private.h: Include stdbool.h.
29066         (_ufc_setup_salt_r): Return bool.
29067         * crypt/crypt-entry.c: Include errno.h.
29068         (__crypt_r): Return NULL with EINVAL for bad salt.
29069         * crypt/crypt_util.c (bad_for_salt): New.
29070         (_ufc_setup_salt_r): Check that salt is long enough and within
29071         the specified alphabet.
29072         * crypt/badsalttest.c: New file.
29073         * crypt/Makefile (tests): Add it.
29074         ($(objpfx)badsalttest): New.
29075
29076 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29077
29078         * NEWS: Add entry for BZ #14602.
29079
29080 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29081
29082         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29083         type-generic.
29084         * math/libm-test.inc: Update comment listing what functions and
29085         macros are tested.
29086         (isgreater_test): New function.
29087         (isgreaterequal_test): Likewise.
29088         (isless_test): Likewise.
29089         (islessequal_test): Likewise.
29090         (islessgreater_test): Likewise.
29091         (isunordered_test): Likewise.
29092         (main): Call the new functions.
29093
29094 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29095
29096         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29097         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29098         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29099         * sysdeps/i386/configure: Regenerated.
29100         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29101         * sysdeps/mach/configure: Regenerated.
29102         * sysdeps/mach/hurd/configure: Regenerated.
29103         * sysdeps/powerpc/configure: Regenerated.
29104         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29105         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29106         * sysdeps/s390/s390-32/configure: Regenerated.
29107         * sysdeps/s390/s390-64/configure: Regenerated.
29108         * sysdeps/sh/configure: Regenerated.
29109         * sysdeps/sparc/configure: Regenerated.
29110         * sysdeps/unix/sysv/linux/configure: Regenerated.
29111         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29112         * sysdeps/x86_64/configure: Regenerated.
29113
29114         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29115         defined.  Don't check if MAP is NULL.
29116
29117 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29118
29119         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29120         (_G_stat64): Likewise.
29121         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29122         (_G_stat64): Likewise.
29123         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29124         instead of struct _G_stat64.
29125         * libio/fileops.c (mmap_remap_check): Likewise.
29126         (decide_maybe_mmap): Likewise.
29127         (_IO_new_file_seekoff): Likewise.
29128         (_IO_file_stat): Likewise.
29129         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29130         _G_off64_t.
29131         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29132         instead of struct _G_stat64.
29133         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29134
29135 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29136
29137         [BZ #14602]
29138         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29139         Replace with ...
29140         (CHECK_EOL): New macro.
29141         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29142         CHECK_EOL.
29143         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29144         Replace with CHECK_EOL.
29145         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29146         Replace with CHECK_EOL.
29147
29148 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29149
29150         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29151         type-generic.
29152         * math/libm-test.inc: Update comment listing what functions and
29153         macros are tested.
29154         (finite_test): New function.
29155         (isinf_test): Likewise.
29156         (isnan_test): Likewise.
29157         (fpclassify_test): Test subnormal input.
29158         (isfinite_test): Likewise.
29159         (isnormal_test): Likewise.
29160         (main): Call the new functions.
29161
29162 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29163
29164         [BZ #14660]
29165         * Makerules (%.dynsym): Force C locale when running
29166         $(OBJDUMP) --dynamic-syms.
29167
29168 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29169
29170         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29171         <stdint.h>.
29172
29173 2012-10-06  David S. Miller  <davem@davemloft.net>
29174
29175         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29176         upper 32-bits of the length value in %o2 since we use branch-on-register
29177         tests which consider the entire 64-bit register.
29178
29179 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29180
29181         * string/test-strstr.c (check2): Add a test for page boundary.
29182
29183 2012-10-05  David S. Miller  <davem@davemloft.net>
29184
29185         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29186         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29187         file.
29188         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29189         sysdep_routines.
29190         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29191         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29192         and bzero when HWCAP_SPARC_CRYPTO is present.
29193
29194 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29195
29196         [BZ #14602]
29197         * string/test-strstr.c (check2): New function.
29198         (test_main): Call check2.
29199
29200         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29201         and bug-strchr1.
29202         * string/bug-strcasestr1.c (do_test): Moved to ...
29203         * string/test-strcasestr.c (check1): Here.  New function.
29204         (do_one_test): Break out result checking code into ...
29205         (check_result): This.  New function.
29206         (do_one_test): Call check_result.
29207         (test_main): Call check1.
29208         * string/bug-strchr1.c (do_test): Moved to ...
29209         * string/test-strchr.c (check1): Here.  New function.
29210         (do_one_test): Break out result checking code into ...
29211         (check_result): This.  New function.
29212         (do_one_test): Call check_result.
29213         (test_main): Call check1.
29214         * string/bug-strstr1.c (main): Moved to ...
29215         * string/test-strstr.c (check1): Here.  New function.
29216         (do_one_test): Break out result checking code into ...
29217         (check_result): This.  New function.
29218         (do_one_test): Call check_result.
29219         (test_main): Call check1.
29220         * string/bug-strcasestr1.c: Removed.
29221         * string/bug-strchr1.c: Likewise.
29222         * string/bug-strstr1.c: Likewise.
29223
29224         * elf/Makefile (dl-routines): Add hwcaps.
29225         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29226         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29227         (_dl_important_hwcaps): Moved to ...
29228         * elf/dl-hwcaps.c: Here.  New file.
29229         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29230
29231         [BZ #14557]
29232         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29233         if IS_IN_rtld isn't defined.
29234
29235         * elf/dl-support.c (_dl_sysinfo_map): New.
29236         Include "get-dynamic-info.h" and "setup-vdso.h".
29237         (_dl_non_dynamic_init): Call setup_vdso.
29238         * elf/dynamic-link.h: Don't include <assert.h>.
29239         (elf_get_dynamic_info): Moved to ...
29240         * elf/get-dynamic-info.h: Here.  New file.
29241         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29242         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29243         * elf/setup-vdso.h: Here.  New file.
29244         * elf/rtld.c: Include "setup-vdso.h".
29245         (dl_main): Call setup_vdso.
29246
29247 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29248
29249         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29250         creal in comment listing functions tested.  List finite, isinf,
29251         isnan, isless, islessequal, isgreater, isgreaterequal,
29252         islessgreater, isunordered, lgamma_r and pow10 as functions and
29253         macros not tested.  Mention which functions not tested are aliases
29254         for other functions.  Fix typo.  Note that signs of NaNs are not
29255         tested.
29256
29257         * scripts/config.guess: Update from config.git.
29258         * scripts/config.sub: Likewise.
29259
29260 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29261
29262         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29263         * misc/madvise.c (madvise): Renamed to __madvise.
29264         Make madvise a weak alias.
29265         * include/sys/mman.h: Declare __madvise.
29266         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29267         * sysdeps/unix/syscalls.list
29268         (madvise): Make __madvise the strong name, and madvise a weak alias.
29269         * sysdeps/unix/sysv/linux/syscalls.list
29270         (madvise, mmap): Remove redundant entries.
29271         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29272         * malloc/malloc.c (mtrim): Likewise.
29273         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29274
29275 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29276
29277         * sysdeps/mach/hurd/dl-cache.c: File removed.
29278         * config.h.in (USE_LDCONFIG): New #undef.
29279         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29280         * configure: Regenerated.
29281         * elf/Makefile (dl-routines): Add dl-cache only under
29282         [$(use-ldconfig) = yes].
29283         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29284         cache on [USE_LDCONFIG].
29285         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29286         [USE_LDCONFIG].
29287         * elf/rtld.c (dl_main): Likewise.
29288
29289 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29290
29291         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29292         _SC_LEVEL4_CACHE_LINESIZE.
29293
29294 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29295
29296         * sysdeps/unix/bsd/confstr.h: File removed.
29297
29298 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29299
29300         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29301         sys/sdt-config.h.
29302
29303 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29304
29305         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29306         Make 'mapoff' field ElfW(Off) rather than off_t.
29307
29308 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29309
29310         * nscd/Makefile: Remove nscd-cflags and all its users.
29311         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29312         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29313
29314         [BZ #10631]
29315         * malloc.c (malloc_printerr): Clarify error message.
29316
29317 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29318
29319         [BZ #14648]
29320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29321         Set bit_FMA_Usable if FMA is supported.
29322         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29323         macro.
29324         (bit_FMA4_Usable): Updated.
29325         (index_FMA_Usable): New macro.
29326         (CPUID_FMA): Likewise
29327         (HAS_FMA): Defined with bit_FMA_Usable.
29328
29329 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29330
29331         * bits/types.h (__swblk_t): Type removed.
29332         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29333         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29334         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29335         (__SWBLK_T_TYPE): Likewise.
29336         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29337         (__SWBLK_T_TYPE): Likewise.
29338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29339         (__SWBLK_T_TYPE): Likewise.
29340         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29341         (__SWBLK_T_TYPE): Likewise.
29342
29343 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29344             Honza Horak <hhorak@redhat.com>
29345
29346         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29347         (xdr_mapname): Use YPMAXMAP as maxsize.
29348         (xdr_peername): Use YPMAXPEER as maxsize.
29349         (xdr_keydat): Use YPAXRECORD as maxsize.
29350         (xdr_valdat): Use YPMAXRECORD as maxsize.
29351
29352 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29353
29354         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29355
29356         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29357         * csu/init-first.c: ... here.
29358         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29359         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29360         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29361         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29362         * sysdeps/i386/init-first.c: File removed.
29363         * sysdeps/sh/init-first.c: File removed.
29364
29365 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29366
29367         [BZ #14645]
29368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29369         if x * y might underflow to zero and z is zero.
29370         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29371         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29372         * math/libm-test.inc (min_subnorm_value): New variable.
29373         (fma_test): Add more tests.
29374         (fma_test_towardzero): Likewise.
29375         (fma_test_downward): Likewise
29376         (fma_test_upward): Likewise.
29377         (initialize): Set min_subnorm_value.
29378
29379 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29380
29381         [BZ #14638]
29382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29383         0 + 0.
29384         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29385         mode for addition resulting in exact zero.
29386         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29387         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29388         exact 0 + 0.
29389         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29390         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29391         * math/libm-test.inc (fma_test): Add more tests.
29392         (fma_test_towardzero): New function.
29393         (fma_test_downward): Likewise.
29394         (fma_test_upward): Likewise.
29395         (main): Call the new functions.
29396
29397 2012-09-28  David S. Miller  <davem@davemloft.net>
29398
29399         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29400
29401 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29402
29403         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29404         instead of SIGALRM.
29405
29406         * sysdeps/gnu/_G_config.h: Moved to ...
29407         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29408         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29409         * sysdeps/generic/_G_config.h: ... here.
29410
29411         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29412
29413         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29414
29415         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29416         Conditionalize target on [libnss_test1.so-version].
29417
29418         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29419
29420         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29421         (elfobjdir): Move out of conditionals.
29422
29423         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29424         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29425         (__nss_lookup_function): Conditionalize label remove_from_tree on
29426         [!DO_STATIC_NSS || SHARED], matching its only use.
29427
29428 2012-09-28  David S. Miller  <davem@davemloft.net>
29429
29430         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29431         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29432         file.
29433         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29434         sysdep_routines.
29435         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29436         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29437         when HWCAP_SPARC_CRYPTO is present.
29438
29439 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29440
29441         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29442
29443 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29444
29445         [BZ #6530]
29446         * stdio-common/vfprintf.c (process_string_arg): Revert
29447         2000-07-22 change.
29448
29449 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29450
29451         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29452         for testcase.
29453         * stdio-common/tst-sprintf.c: Include <locale.h>
29454         (main): Test sprintf's handling of incomplete multibyte
29455         characters.
29456
29457 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29458
29459         * elf/dl-runtime.c (VERSYMIDX): Removed.
29460         * elf/dl-version.c (VERSYMIDX): Likewise.
29461         * elf/do-rel.h (VERSYMIDX): Likewise.
29462         (VALIDX): Likewise.
29463         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29464         * elf/rtld.c (VALIDX): Likewise.
29465         (ADDRIDX): Likewise.
29466         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29467         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29468         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29469         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29470         (VALIDX): Likewise.
29471         (ADDRIDX): Likewise.
29472
29473 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29474
29475         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29476
29477 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29478
29479         [BZ #11438]
29480         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29481         to global scope.
29482         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29483         addresses are in the same scope as 192.0.2/24.
29484         * posix/gai.conf: Document new scope table defaults.
29485
29486 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29487
29488         [BZ #5298]
29489         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29490         for ftell.  Compute offsets from write pointers instead.
29491         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29492
29493 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29494
29495         [BZ #14543]
29496         * libio/Makefile (tests): New test case tst-fseek.
29497         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29498         combination works in wide mode.
29499         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29500         state when the external buffer state changes.
29501
29502 2012-09-27  David S. Miller  <davem@davemloft.net>
29503
29504         [BZ #14376]
29505         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29506         pass reloc->r_addend in as the 'high' argument to
29507         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29508
29509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29510
29511 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29512
29513         * rt/tst-aio2.c: Include <pthread.h>.
29514         * rt/tst-aio3.c: Likewise.
29515
29516 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29517
29518         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29519
29520 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29521
29522         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29523         contents on [SHARED].
29524
29525 2012-09-26  Marek Polacek  <polacek@redhat.com>
29526
29527         [BZ #14530]
29528         [BZ #13741]
29529         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29530         for C++ and GCC <4.3 as well as for non GCC compilers.
29531
29532 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29533
29534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29535
29536 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29537
29538         * Makefile.in (all, install): Declare with .PHONY.
29539         Reported by Michael Hope <michael.hope@linaro.org>.
29540
29541 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29542
29543         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29544         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29545         system header.
29546         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29547         Likewise.
29548         (sydep_routines): Add the new and the internal functions.
29549         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29550         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29552         (GLIBC_2.17): Add the new function.
29553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29554         (GLIBC_2.17): Likewise.
29555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29556         (GLIBC_2.17): Likewise.
29557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29558         (GLIBC_2.17): Likewise.
29559         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29560
29561 2012-09-25  Alan Modra  <amodra@gmail.com>
29562
29563         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29564         Add release barrier before setting once_control to say
29565         initialisation is done.  Add hints on lwarx.  Use macro in
29566         place of isync.
29567         (clear_once_control): Add release barrier.
29568
29569 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29570
29571         [BZ #13629]
29572         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29573         specially.
29574         * math/s_clog10.c (__clog10): Likewise.
29575         * math/s_clog10f.c (__clog10f): Likewise.
29576         * math/s_clog10l.c (__clog10l): Likewise.
29577         * math/s_clogf.c (__clogf): Likewise.
29578         * math/s_clogl.c (__clogl): Likewise.
29579         * math/Makefile (libm-calls): Add x2y2m1.
29580         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29581         (__x2y2m1): Likewise.
29582         (__x2y2m1l): Likewise.
29583         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29584         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29585         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29586         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29587         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29588         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29589         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29590         * sysdeps/i386/fpu/libm-test-ulps: Update.
29591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29592
29593         [BZ #14621]
29594         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29595         int as type of variable DEPTH.
29596         (glob): Use size_t instead of int as type of variables NEWCOUNT
29597         and OLD_PATHC.
29598
29599 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29600
29601         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29602         Add s_sincosf-sse2.
29603         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29604         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29605         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29606         macros for using routine as __sincosf_ia32.
29607         Use macro for function declaration and weak_alias.
29608         * sysdeps/i386/fpu/libm-test-ulps: Update.
29609
29610         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29612
29613         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29614         subnormal argument.
29615         * math/s_cexpf.c (__cexpf): Likewise.
29616         * math/s_csinf.c (__csinf): Likewise.
29617         * math/s_csinhf.c (__csinhf): Likewise.
29618         * math/s_ctanf.c (__ctanf): Likewise.
29619         * math/s_ctanhf.c (__ctanhf): Likewise.
29620         * math/s_ccosh.c (__ccoshf): Likewise.
29621         * math/s_cexp.c (__cexpl): Likewise.
29622         * math/s_csin.c (__csin): Likewise.
29623         * math/s_csinh.c (__csinh): Likewise.
29624         * math/s_ctan.c (__ctan): Likewise.
29625         * math/s_ctanh.c (ctanh): Likewise.
29626         * math/s_ccoshl.c (__ccoshl): Likewise.
29627         * math/s_cexpl.c (__cexpl): Likewise.
29628         * math/s_csinl.c (__csinl): Likewise.
29629         * math/s_csinhl.c (__csinhl): Likewise.
29630         * math/s_ctanl.c (__ctanl): Likewise.
29631         * math/s_ctanhl.c (__ctanhl): Likewise.
29632
29633 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29634
29635         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29636         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29637         (_IO_off_t): Define to __off_t, not _G_off_t.
29638         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29639         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29640         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29641         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29642         type of __dummy and __dummy2 fields.
29643         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29644         (_G_ssize_t): Likewise.
29645         (_G_off_t): Likewise.
29646         (_G_pid_t): Likewise.
29647         (_G_uid_t): Likewise.
29648         (_G_wchar_t): Likewise.
29649         (_G_wint_t): Likewise.
29650         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29651         (_G_ssize_t): Likewise.
29652         (_G_off_t): Likewise.
29653         (_G_pid_t): Likewise.
29654         (_G_uid_t): Likewise.
29655         (_G_wchar_t): Likewise.
29656         (_G_wint_t): Likewise.
29657         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29658         (_G_ssize_t): Likewise.
29659         (_G_off_t): Likewise.
29660         (_G_pid_t): Likewise.
29661         (_G_uid_t): Likewise.
29662         (_G_wchar_t): Likewise.
29663         (_G_wint_t): Likewise.
29664
29665 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29666
29667         * malloc/arena.c: Include malloc-sysdep.h.
29668         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29669         is sufficient to shrink the heap or an unmap is needed.
29670         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29671         new function check_may_shrink_heap.
29672         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29673         new function check_may_shrink_heap.
29674
29675 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29676
29677         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29678         comments.
29679
29680 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29681
29682         * catgets/test-gencat.sh: Add "set -e".
29683         * elf/tst-pathopt.sh: Likewise.
29684         * grp/tst_fgetgrent.sh: Likewise.
29685         * iconvdata/run-iconv-test.sh: Likewise.
29686         * intl/tst-gettext.sh: Likewise.
29687         * intl/tst-gettext2.sh: Likewise.
29688         * intl/tst-gettext4.sh: Likewise.
29689         * intl/tst-gettext6.sh: Likewise.
29690         * intl/tst-translit.sh: Likewise.
29691         * io/ftwtest-sh: Likewise.
29692         * libio/test-freopen.sh: Likewise.
29693         * malloc/tst-mtrace.sh: Likewise.
29694         * posix/globtest.sh: Likewise.
29695         * posix/tst-getconf.sh: Likewise.
29696         * posix/wordexp-tst.sh: Likewise.
29697         * stdio-common/tst-printf.sh: Likewise.
29698         * stdio-common/tst-unbputc.sh: Likewise.
29699         * stdlib/tst-fmtmsg.sh: Likewise.
29700         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29701         * catgets/Makefile: Do not specify -e option when running
29702         testsuite shell scripts.
29703         * elf/Makefile: Likewise.
29704         * grp/Makefile: Likewise.
29705         * iconvdata/Makefile: Likewise.
29706         * intl/Makefile: Likewise.
29707         * io/Makefile: Likewise.
29708         * libio/Makefile: Likewise.
29709         * malloc/Makefile: Likewise.
29710         * posix/Makefile: Likewise.
29711         * stdio-common/Makefile: Likewise.
29712         * stdlib/Makefile: Likewise.
29713         * sysdeps/x86_64/Makefile: Likewise.
29714
29715         * io/ftwtest-sh: Add copyright header.
29716         * posix/globtest.sh: Likewise.
29717         * posix/tst-getconf.sh: Likewise.
29718         * posix/wordexp-tst.sh: Likewise.
29719         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29720
29721 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29722
29723         [BZ #13679]
29724         * Makeconfig (+link): Defined as $(+link-static) if
29725         $(build-shared) isn't yes.
29726         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29727         isn't yes.
29728         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29729
29730         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29731
29732         [BZ #14562]
29733         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29734         new chunk size with MALLOC_ALIGN_MASK.
29735
29736 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29737
29738         [BZ #5044]
29739         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29740         <rounding-mode.h>.
29741         (__printf_fphex): Determine rounding using get_rounding_mode and
29742         round_away.
29743         * stdio-common/tst-printf-round.c (struct hex_test): New
29744         structure.
29745         (hex_tests): New variable.
29746         (test_hex_in_one_mode): New function.
29747         (do_test): Also run tests for hex float output.
29748
29749 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29750
29751         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29752         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29753         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29754         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29755         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29756         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29757         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29758         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29759
29760 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29761
29762         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29763         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29764         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29765         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29766
29767 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29768
29769         [BZ #14579]
29770         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29771         mode only.
29772         * elf/tst-rtld-load-self.sh: New test.
29773         * elf/Makefile: Run it.
29774
29775 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29776
29777         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29778         (tst-writev-ENV): Remove.
29779         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29780
29781 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29782
29783         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29784
29785 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29786
29787         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29788         unconditional.
29789         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29790         Likewise.
29791         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29792         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29793         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29794         Likewise.
29795
29796 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29797
29798         [BZ #14587]
29799         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29800         * config.make.in (have-cpp-asm-debuginfo): Removed.
29801         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29802         * configure: Regenerated.
29803
29804 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29805
29806         [BZ #5044]
29807         * stdio-common/printf_fp.c: Include <stdbool.h> and
29808         <rounding-mode.h>.
29809         (___printf_fp): Determine rounding using get_rounding_mode and
29810         round_away.
29811         * stdio-common/tst-printf-round.c: New file.
29812         * stdio-common/Makefile (tests): Add tst-printf-round.
29813         (link-libm): New variable.
29814         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29815
29816 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29817
29818         [BZ #14576]
29819         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29820         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29821         Likewise.
29822         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29823         Likewise.
29824
29825 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29826
29827         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29828         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29829         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29830         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29831
29832 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29833
29834         [BZ #14518]
29835         * include/rounding-mode.h: New file.
29836         * sysdeps/generic/get-rounding-mode.h: Likewise.
29837         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29838         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29839         (MAX_VALUE): New macro.
29840         (MIN_VALUE): Likewise.
29841         (overflow_value): New function.
29842         (underflow_value): Likewise.
29843         (round_and_return): Use overflow_value and underflow_value to
29844         determine return values in overflow and underflow cases.  Use
29845         round_away to determine rounding depending on rounding mode.
29846         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29847         determine return values in overflow and underflow cases.
29848         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29849         (struct test_results): New structure.
29850         (struct test): Use struct test_results to store expected results
29851         for all rounding modes.
29852         (TEST): Include expected results for all rounding modes.
29853         (test_in_one_mode): New function.
29854         (do_test): Use test_in_one_mode to compute and check results.
29855         Check results for all rounding modes.
29856         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29857         $(link-libm).
29858
29859 2012-12-09  Allan McRae  <allan@archlinux.org>
29860
29861         * sysdeps/i386/fpu/libm-test-ulps: Update
29862
29863 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29864
29865         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29866         (_G_int32_t): Likewise.
29867         (_G_uint16_t): Likewise.
29868         (_G_uint32_t): Likewise.
29869         (_G_HAVE_BOOL): Likewise.
29870         (_G_HAVE_ATEXIT): Likewise.
29871         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29872         (_G_HAVE_IO_FILE_OPEN): Likewise.
29873         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29874         (_G_int32_t): Likewise.
29875         (_G_uint16_t): Likewise.
29876         (_G_uint32_t): Likewise.
29877         (_G_HAVE_BOOL): Likewise.
29878         (_G_HAVE_ATEXIT): Likewise.
29879         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29880         (_G_HAVE_IO_FILE_OPEN): Likewise.
29881         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29882         (_G_int32_t): Likewise.
29883         (_G_uint16_t): Likewise.
29884         (_G_uint32_t): Likewise.
29885         (_G_HAVE_BOOL): Likewise.
29886         (_G_HAVE_ATEXIT): Likewise.
29887         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29888         (_G_HAVE_IO_FILE_OPEN): Likewise.
29889
29890 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29891
29892         * csu/libc-tls.c: Update copyright years.
29893
29894 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29895
29896         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29897         [!_G_USING_THUNKS]: Remove conditional code.
29898         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29899         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29900
29901         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29902         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29903         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29904         (_G_VTABLE_LABEL_PREFIX): Likewise.
29905         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29906         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29907         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29908         (_G_VTABLE_LABEL_PREFIX): Likewise.
29909         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29910         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29911         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29912         (_G_VTABLE_LABEL_PREFIX): Likewise.
29913         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29914
29915 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29916
29917         * libio/Makefile: Include ../Makeconfig before tests.
29918         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29919         only if $(build-shared) is yes.
29920
29921         * iconv/gconv_db.c: Update copyright years.
29922
29923 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29924
29925         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29926         unwind info if defined PIC. Fix special cases description.
29927         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29928
29929         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29930         DP_HI_MASK entry.
29931         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29932
29933 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29934
29935         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29936
29937         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29938         is NULL.
29939
29940         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29941         (LDLIBS-tst-chk4): This.
29942         (LDFLAGS-tst-chk5): Renamed to ...
29943         (LDLIBS-tst-chk5): This.
29944         (LDFLAGS-tst-chk6): Renamed to ...
29945         (LDLIBS-tst-chk6): This.
29946         (LDFLAGS-tst-lfschk4): Renamed to ...
29947         (LDLIBS-tst-lfschk4): This.
29948         (LDFLAGS-tst-lfschk5): Renamed to ...
29949         (LDLIBS-tst-lfschk5): This.
29950         (LDFLAGS-tst-lfschk6): Renamed to ...
29951         (LDLIBS-tst-lfschk6): This.
29952
29953         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29954         on $(common-objpfx)soversions.mk.
29955
29956 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29957
29958         [BZ #10014]
29959         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29960         example host name.
29961
29962 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29963
29964         * malloc/arena.c (arena_get_retry): New function that gets
29965         another arena for the caller to try its request on.
29966         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29967         current arena cannot fulfill the request.
29968         (__libc_memalign): Likewise.
29969         (__libc_memalign): Likewise.
29970         (__libc_pvalloc): Likewise.
29971         (__libc_calloc): Likewise.
29972
29973 2012-09-05  John Tobey  <john.tobey@gmail.com>
29974
29975         [BZ #13542]
29976         * manual/arith.texi (Operations on Complex): Fix description
29977         of carg branch cut.
29978
29979 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29980
29981         [BZ #10014]
29982         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29983         host name.
29984
29985         [BZ #10038]
29986         * manual/memory.texi (Memory): Make order of menu items match
29987         order of sections.
29988
29989 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29990
29991         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29992         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29993         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29994
29995 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29996
29997         * csu/libc-tls.c (static_dtv): Renamed to ...
29998         (_dl_static_dtv): This.  Make it global.
29999         (_dl_initial_dtv): Removed.
30000         (__libc_setup_tls): Updated.
30001         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30002         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30003         DL_INITIAL_DTV.
30004
30005 2012-09-06  Petr Machata  <pmachata@redhat.com>
30006
30007         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30008         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30009         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30010         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30011
30012 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30013
30014         [BZ #14545]
30015         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30016         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30017         freeing dtv[-1].
30018
30019 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30020
30021         [BZ #14544]
30022         * Makeconfig (link-static-before-libc): Replace $(+prector)
30023         with $(+prectorT).
30024         (link-static-after-libc): Replace $(+postctor) with
30025         $(+postctorT).
30026         (link-bounded): Replace $(+prector)/$(+postctor) with
30027         $(+prectorT)/$(+postctorT).
30028         (+prectorT): New macro.
30029         (+postctorT): Likewise.
30030
30031 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30032
30033         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30034         (round_str): Handle values above the maximum for IBM long double
30035         as inexact.
30036         * stdlib/tst-strtod-round.c (tests): Regenerated.
30037
30038 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30039
30040         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30041         assembler flag.
30042         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30043         zarch_nohighgprs around the zarch optimized routines.
30044         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30045         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30046         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30047         for zarch.
30048
30049 2012-09-05  David S. Miller  <davem@davemloft.net>
30050
30051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30052
30053         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30054         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30055         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30056         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30057         entries.
30058
30059 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30060
30061         * malloc/arena.c: Fold copyright years.
30062         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30063
30064 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30065
30066         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30067
30068 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30069
30070         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30071
30072 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30073
30074         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30075         change internal state upon failure.
30076
30077 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30078
30079         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30080         * malloc/memusage.c (mmap): Likewise.
30081         (mmap64, mremap): Likewise.  Adjust name in comment.
30082
30083 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30084
30085         * libio/fileops.c: Fix typos in comments.
30086         * libio/oldfileops.c: Likewise.
30087         * libio/wfileops.c: Likewise.
30088
30089 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30090
30091         [BZ #1349]
30092         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30093         (tst-malloc-usable-ENV): Set environment for test case.
30094         * malloc/hooks.c (malloc_check_get_size): New function to get
30095         requested size.
30096         * malloc/malloc.c (musable): Use malloc_check_get_size.
30097         * malloc/tst-malloc-usable.c: New test case.
30098
30099 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30100
30101         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30102
30103 2012-09-05  Allan McRae  <allan@archlinux.org>
30104
30105         [BZ #13966]
30106         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30107         determine header location.
30108         * configure: Regenerated.
30109
30110 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30111
30112         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30113         float format.
30114         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30115         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30116         format.
30117         (test): Regenerate.
30118
30119 2012-09-04  David S. Miller  <davem@davemloft.net>
30120
30121         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30122         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30123         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30124
30125 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30126
30127         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30128         failures.
30129
30130         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30131
30132 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30133
30134         [BZ #9914]
30135         * libio/iogetdelim.c: Include <limits.h>.
30136         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30137         + len + 1 would overflow.
30138
30139 2012-09-03  Andreas Jaeger  <aj@suse.de>
30140
30141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30142         * sysdeps/i386/fpu/libm-test-ulps: Update.
30143
30144 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30145
30146         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30147         Add s_sinf-sse2, s_conf-sse2.
30148
30149         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30150         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30151         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30152         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30153
30154         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30155         for using routine as __sinf_ia32.
30156         Use macro for function declaration and weak_alias.
30157         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30158         for using routine as __cosf_ia32.
30159         Use macro for function declaration and weak_alias.
30160
30161         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30162         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30163
30164         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30165         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30167
30168         * math/libm-test.inc (cos_test): Add more test cases.
30169         (sin_test): Likewise.
30170         (sincos_test): Likewise.
30171
30172 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30173
30174         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30175         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30176         hidden.
30177         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30178
30179 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30180
30181         [BZ #14538]
30182         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30183         first element of the GOT.
30184         (elf_machine_load_address): Return the difference between
30185         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30186
30187 2012-09-01  Allan McRae  <allan@archlinux.org>
30188
30189         [BZ #13412]
30190         * configure.in (AWK): Require gawk version 3.0 or later.
30191         * configure: Regenerated.
30192
30193 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30194
30195         * sysdeps/unix/sysv/linux/kernel-features.h
30196         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30197         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30198         [__NR_clock_getres]: Make code unconditional.
30199         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30200         (clock_getcpuclockid): Remove code left unreachable by removal of
30201         conditionals.
30202         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30203         code unconditional.
30204         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30205         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30206         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30207         Make code unconditional.
30208         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30209         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30210         * sysdeps/unix/sysv/linux/clock_settime.c
30211         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30212         conditional code.
30213         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30214         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30215
30216 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30217
30218         [BZ #14476]
30219         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30220         scripts/test-installation.pl.
30221
30222         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30223         and $ld_so_version if it is set.
30224
30225 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30226
30227         [BZ #14516]
30228         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30229         failure if reading from procfs failed.
30230         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30231
30232 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30233
30234         * sysdeps/unix/sysv/linux/kernel-features.h
30235         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30236         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30237         Remove conditional code.
30238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30239         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30240         Remove conditional code.
30241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30242         * sysdeps/unix/sysv/linux/i386/fxstat.c
30243         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30245         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30246         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30248         * sysdeps/unix/sysv/linux/i386/lxstat.c
30249         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30250         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30251         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30252         Remove conditional code.
30253         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30254         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30255         Remove conditional code.
30256         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30257         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30258         <kernel-features.h>.
30259         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30260         Remove.
30261         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30262         Remove conditional code.
30263         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30264         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30265         Remove conditional.
30266
30267 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30268
30269         [BZ #5400]
30270         * NEWS: Add fixed bug number.
30271
30272 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30273
30274         [BZ #14519]
30275         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30276         underflowing exponent in case of negative sign.
30277         * stdlib/tst-strtod-round-data: Add more tests.
30278         * stdlib/tst-strtod-round.c (tests): Regenerated.
30279
30280         [BZ #3479]
30281         * stdlib/strtod_l.c (NDIG): Remove.
30282         (HEXNDIG): Likewise.
30283         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30284         smallest representable value.
30285         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30286         lie within an exact representation of 1/2 ulp of the result.
30287         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30288         unconditionally.
30289         (TENS_P9_IDX): Define unconditionally.
30290         (TENS_P9_SIZE): Likewise.
30291         (TENS_P10_IDX): Likewise.
30292         (TENS_P10_SIZE): Likewise.
30293         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30294         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30295         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30296         entries for 10^2^13 and 10^2^14.
30297         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30298         (TENS_P13_IDX): Define.
30299         (TENS_P13_SIZE): Likewise.
30300         (TENS_P14_IDX): Likewise.
30301         (TENS_P14_SIZE): Likewise.
30302         (_fpioconst_pow10): Change array size to
30303         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30304         unconditional.
30305         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30306         1024]: Add entries for 10^2^13 and 10^2^14.
30307         [LAST_POW10 > _LAST_POW10]: Remove #error.
30308         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30309         (_fpioconst_pow10): Change array size to
30310         FPIOCONST_POW10_ARRAY_SIZE.
30311         * stdlib/gen-fpioconst.c: New file.
30312         * stdlib/gen-tst-strtod-round.c: Likewise.
30313         * stdlib/tst-strtod-round-data: Likewise.
30314         * stdlib/tst-strtod-round.c: Likewise.
30315         * stdlib/Makefile (tests): Add tst-strtod-round.
30316
30317         [BZ #14459]
30318         * stdlib/strtod_l.c: Include <stdint.h>.
30319         (NDEBUG): Do not define.
30320         (round_and_return): Change EXPONENT parameter to type intmax_t.
30321         Rearrange calculations to avoid internal overflow possibilities.
30322         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30323         Rearrange calculations to avoid internal overflow possibilities.
30324         Assert that number fits inside MPNSIZE limbs.
30325         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30326         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30327         calculations and add assertions to avoid internal overflow
30328         possibilities.  Add casts to avoid signed/unsigned operations.
30329         * stdlib/tst-strtod-overflow.c: New file.
30330         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30331
30332 2012-08-25  Marek Polacek  <polacek@redhat.com>
30333
30334         * time/time.h: Fix some typos in comments.
30335
30336 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30337
30338         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30339         * posix/tst-rfc3484-2.c: Likewise.
30340         * posix/tst-rfc3484-3.c: Likewise.
30341
30342 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30343
30344         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30345         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30346
30347 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30348
30349         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30350         #include of fxstatat64.c.
30351
30352 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30353
30354         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30355         * shadow/getspent_r.c: Likewise.
30356         * shadow/getspnam.c: Likewise.
30357         * shadow/getspnam_r.c: Likewise.
30358         * gshadow/getsgent.c: Likewise.
30359         * gshadow/getsgent_r.c: Likewise.
30360         * gshadow/getsgnam.c: Likewise.
30361         * gshadow/getsgnam_r.c: Likewise.
30362         * inet/getnetbyad.c: Likewise.
30363         * inet/getnetbyad_r.c: Likewise.
30364         * inet/getnetbynm.c: Likewise.
30365         * inet/getnetbynm_r.c: Likewise.
30366         * inet/getnetent.c: Likewise.
30367         * inet/getnetent_r.c: Likewise.
30368         * inet/getproto.c: Likewise.
30369         * inet/getproto_r.c: Likewise.
30370         * inet/getprtent.c: Likewise.
30371         * inet/getprtent_r.c: Likewise.
30372         * inet/getprtname.c: Likewise.
30373         * inet/getprtname_r.c: Likewise.
30374         * inet/getrpcbyname.c: Likewise.
30375         * inet/getrpcbyname_r.c: Likewise.
30376         * inet/getrpcbynumber.c: Likewise.
30377         * inet/getrpcbynumber_r.c: Likewise.
30378         * inet/getrpcent.c: Likewise.
30379         * inet/getrpcent_r.c: Likewise.
30380         * inet/getaliasent.c: Likewise.
30381         * inet/getaliasent_r.c: Likewise.
30382         * inet/getaliasname.c: Likewise.
30383         * inet/getaliasname_r.c: Likewise.
30384         * nscd/getgrgid_r.c: Likewise.
30385         * nscd/getgrnam_r.c: Likewise.
30386         * nscd/gethstbyad_r.c: Likewise.
30387         * nscd/gethstbynm3_r.c: Likewise.
30388         * nscd/getpwnam_r.c: Likewise.
30389         * nscd/getpwuid_r.c: Likewise.
30390         * nscd/getsrvbynm_r.c: Likewise.
30391         * nscd/getsrvbypt_r.c: Likewise.
30392         * nscd/gai.c: Likewise.
30393
30394         * configure.in (build_nscd): New substituted variable, set
30395         by --disable-build-nscd and defaults to $use_nscd.
30396         * configure: Regenerated.
30397         * config.make.in (build-nscd): New substituted variable.
30398         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30399         Change conditional to require [$(build-nscd) = yes] as well.
30400         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30401
30402         [BZ# 13696]
30403         * configure.in (use_nscd): New substituted variable, set by
30404         --disable-nscd.  If enabled, define USE_NSCD.
30405         * configure: Regenerated.
30406         * config.h.in: Add USE_NSCD.
30407         * config.make.in (use-nscd): New substituted variable.
30408         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30409         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30410         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30411         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30412         (CFLAGS-getgrnam_r.c): Likewise.
30413         (CFLAGS-initgroups.c): Likewise.
30414         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30415         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30416         Variables removed.
30417         * inet/getnetgrent_r.c
30418         (nscd_setnetgrent): New function, broken out of ...
30419         (setnetgrent): ... here.  Call it.
30420         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30421         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30422         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30423         * nscd/Makefile (routines, aux): Move definitions after include of
30424         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30425         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30426         Conditionalize on [USE_NSCD].
30427         (is_nscd, nscd_init_cb): Likewise.
30428         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30429         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30430         * nss/nss_db/db-init.c: Likewise.
30431         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30432         [USE_NSCD].
30433         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30434         (make_request): Use it.
30435         (cache_valid_p): New function.
30436         (__check_pf): Use it.
30437         * NEWS: Add item for --disable-nscd.
30438
30439 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30440
30441         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30442         to support sed >= 4.2.1-20-ga9bf076.
30443         * configure: Regenerated.
30444
30445 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30446
30447         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30448         Conditionalize whole body on [IREL].
30449
30450 2012-08-22  Jeff Law <law@redhat.com>
30451
30452         [BZ #14505]
30453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30454         if the family is PF_UNSPEC.
30455
30456 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30457
30458         * Makerules (lib-version): Rename from V.
30459         (install-lib-nosubdir): Change V to lib-version.
30460
30461 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30462
30463         [BZ #14252]
30464         * powerpc32/power6/wcschr.c: New file.
30465         * powerpc32/power6/wcscpy.c: New file.
30466         * powerpc32/power6/wcsrchr.c: New file.
30467         * powerpc64/power6/wcschr.c: New file.
30468         * powerpc64/power6/wcscpy.c: New file.
30469         * powerpc64/power6/wcsrchr.c: New file.
30470
30471 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30472
30473         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30474         (two_way_short_needle): Use it.
30475         * string/strstr.c (AVAILABLE1_USES_J): Define.
30476         * string/strcasestr.c: Likewise.
30477
30478         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30479         array references.
30480         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30481
30482         [BZ #11607]
30483         * NEWS: Add an entry.
30484         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30485         define their defaults.
30486         (two_way_short_needle): Detect end-of-string on-the-fly.
30487         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30488         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30489         * string/bug-strcasestr1.c: New test.
30490         * string/Makefile: Run it.
30491
30492 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30493
30494         [BZ #11607]
30495         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30496         the first character.
30497
30498 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30499
30500         * csu/elf-init.c (__libc_csu_irel): Function removed.
30501         * csu/libc-start.c (apply_irel): New function.
30502         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30503
30504 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30505
30506         * sysdeps/unix/sysv/linux/kernel-features.h
30507         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30508         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30509         <kernel-features.h>.
30510         [__NR_fadvise64_64]: Make code unconditional.
30511         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30512         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30513         !__NR_fadvise64_64)]: Likewise.
30514         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30515         !__NR_fadvise64_64))]: Likewise.
30516         [__NR_fadvise64]: Make code unconditional.
30517         [!__NR_fadvise64]: Remove conditional code.
30518         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30519         <kernel-features.h>.
30520         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30521         unconditional.
30522         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30523         conditional code.
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30525         not include <kernel-features.h>.
30526         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30527         unconditional.
30528         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30529         conditional code.
30530         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30531         include <kernel-features.h>.
30532         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30533         unconditional.
30534         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30535         conditional code.
30536
30537 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30538
30539         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30540         slight instruction rearrangements per scrollpipe analysis.
30541         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30542
30543 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30544
30545         * manual/syslog.texi (syslog; vsyslog, closelog):
30546         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30547         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30548
30549         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30550         DSOCAPS to match condition on defining it.
30551
30552 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30553
30554         * sysdeps/unix/sysv/linux/kernel-features.h
30555         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30557         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30558         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30560         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30561         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30563         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30564         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30565
30566         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30567         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30568
30569         * sysdeps/unix/sysv/linux/kernel-features.h
30570         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30571         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30572         unconditional.
30573         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30574         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30575         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30576         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30577         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30578         Make code unconditional.
30579         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30580         (__mmap64) [!__NR_mmap2]: Likewise.
30581         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30582         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30583         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30584         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30585         [__NR_mmap2]: Make code unconditional.
30586         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30587         (__mmap64) [!__NR_mmap2]: Likewise.
30588
30589 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30590
30591         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30592
30593 2012-08-18  Andreas Jaeger  <aj@suse.de>
30594
30595         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30596
30597 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30598
30599         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30600         * include/unistd.h (__have_sock_cloexec): Likewise.
30601         (__have_pipe2): Likewise.
30602         (__have_dup3): Likewise.
30603
30604 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30605
30606         [BZ #9685]
30607         * include/unistd.h (__have_pipe2): Change define into an extern int.
30608         (__have_dup3): Likewise.
30609         * socket/have_sock_cloexec.c: Include fcntl.h.
30610         (__have_pipe2): New variable.
30611         (__have_dup3): Likewise.
30612
30613 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30614
30615         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30616
30617 2012-08-17  Marek Polacek  <polacek@redhat.com>
30618
30619         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30620         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30621
30622 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30623
30624         * configure.in: Add AC_SUBST for sysheaders.
30625         * configure: Regenerated.
30626         * config.make.in (sysheaders): New substituted variable.
30627
30628         * sysdeps/unix/mkfifo.c: Moved ...
30629         * sysdeps/posix/mkfifo.c: ... here.
30630         * sysdeps/unix/mkfifoat.c: Moved ...
30631         * sysdeps/posix/mkfifoat.c: ... here.
30632
30633         * sysdeps/unix/utime.c: Moved ...
30634         * sysdeps/posix/utime.c: ... here.
30635
30636         * sysdeps/unix/time.c: Moved ...
30637         * sysdeps/posix/time.c: ... here.
30638         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30639         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30640
30641         * sysdeps/unix/nice.c: Moved ...
30642         * sysdeps/posix/nice.c: ... here.
30643
30644         * sysdeps/unix/alarm.c: Moved ...
30645         * sysdeps/posix/alarm.c: ... here.
30646
30647         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30648
30649 2012-08-17  Jeff Law <law@redhat.com>
30650
30651         * intl/Makefile (codeset_mo): New variable.
30652         ($(codeset_mo)): New target.
30653         (tst-codeset.out): Depend on that.  Remove explicit rule.
30654         (tst-gettext3.out, tst-gettext5.out): Likewise.
30655         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30656         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30657         * intl/tst-codeset.sh: Remove.
30658         * intl/tst-gettext3.sh: Likewise.
30659         * intl/tst-gettext5.sh: Likewise.
30660
30661 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30662
30663         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30664         * sysdeps/unix/syscalls.list: ... here.
30665
30666         * sysdeps/posix/getaddrinfo.c
30667         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30668         (gaiconf_init, gaiconf_reload): Use them.
30669         [!_STATBUF_ST_NSEC]
30670         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30671         Define using time_t rather than struct timespec.
30672
30673         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30674         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30675         Macros removed.
30676         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30677         [!NO_THREADS].
30678         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30679         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30680         Likewise.
30681
30682         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30683         __libc_cleanup_push argument.
30684
30685         * bits/param.h: New file.
30686         * misc/sys/param.h: New file.
30687         * include/sys/param.h: New file.
30688         * misc/Makefile (headers): Add bits/param.h.
30689         * sysdeps/generic/sys/param.h: File removed.
30690         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30691         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30692         * sysdeps/mach/hurd/bits/param.h: New file.
30693         * sysdeps/mach/hurd/sys/param.h: File removed.
30694
30695         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30696         last change.
30697
30698         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30699         [_IO_MTSAFE_IO].
30700         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30701         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30702         New macros.
30703
30704         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30705         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30706         rather than -D_IO_MTSAFE_IO conditionally.
30707         * stdio-common/Makefile (CPPFLAGS): Likewise.
30708         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30709         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30710         Use $(libio-mtsafe).
30711         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30712         of -D_IO_MTSAFE_IO.
30713         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30714         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30715         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30716         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30717         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30718         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30719         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30720         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30721         (CFLAGS-fread_u_chk.c): Likewise.
30722         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30723         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30724         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30725         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30726         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30727         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30728         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30729         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30730         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30731
30732         * libio/Makefile: Test [$(libc-reentrant) = yes]
30733         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30734
30735         * Makeconfig
30736         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30737         * sysdeps/pthread/configure: File removed.
30738         * sysdeps/pthread/Makeconfig: New file.
30739         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30740         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30741
30742 2012-08-16  Gary Benson  <gbenson@redhat.com>
30743
30744         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30745         unmapping the first object in a namespace.
30746
30747 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30748
30749         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30750         (__internal_setnetgrent): ... this.  Add internal_function to
30751         definition.  Add libc_hidden_def.
30752         (setnetgrent): Update caller.
30753         (internal_endnetgrent): Renamed to ...
30754         (__internal_endnetgrent): ... this.  Add internal_function to
30755         definition.  Add libc_hidden_def.
30756         (endnetgrent): Update caller.
30757         (internal_getnetgrent_r): Renamed to ...
30758         (__internal_getnetgrent_r): ... this.  Add internal_function to
30759         definition.  Add libc_hidden_def.
30760         (__getnetgrent_r): Update caller.
30761         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30762
30763 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30764
30765         * stdlib/longlong.h: Update from GCC.
30766
30767 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30768
30769         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30770         on _QL, which is set by umul_ppmm but never used.
30771         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30772         variables, which are set by GMP macros but never used.
30773         * stdio-common/_itowa.c (_itowa): Likewise.
30774         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30775         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30776
30777 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30778
30779         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30780         struct La_sh_regs is not constant.
30781         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30782         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30783         and struct La_sparc64_regs are not constant.
30784
30785 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30786
30787         * sysdeps/unix/sysv/linux/kernel-features.h
30788         (__ASSUME_POSIX_TIMERS): Remove.
30789         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30791         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30792         Make code unconditional.
30793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30794         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30795         Make code unconditional.
30796         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30797         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30798         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30799         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30800         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30801         Make code unconditional.
30802         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30803         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30804         (__libc_missing_posix_timers): Remove.
30805
30806 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30807
30808         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30809         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30810
30811         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30812
30813         * elf/dl-sym.c: Include <stdlib.h>.
30814
30815         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30816         constants, which avoids warnings in 32-bit builds.
30817
30818         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30819         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30820
30821         * misc/lseek.c: File moved to ...
30822         * io/lseek.c: ... here.
30823
30824         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30825
30826         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30827         shifting LEN more than 31 bits at once.
30828
30829 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30830
30831         [BZ #14195]
30832         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30833         segmentation fault for a case of two empty input strings.
30834         * string/test-strncasecmp.c (check1): Renamed to...
30835         (bz12205): ...this.
30836         (bz14195): Add new testcase for two empty input strings and N > 0.
30837         (test_main): Call new testcase, adapt for renamed function.
30838
30839 2012-08-15  Andreas Jaeger  <aj@suse.de>
30840
30841         [BZ #14090]
30842         * crypt/md5test2.c: New test, based on test supplied by Serge
30843         Belyshev <belyshev@depni.sinp.msu.ru>.
30844         * crypt/Makefile (xtests): Add md5test-giant..
30845         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30846
30847 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30848
30849         [BZ #14090]
30850         * crypt/md5.c (md5_process_block): Don't assume the buffer
30851         length is less than 2**32.
30852         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30853         length is less than 2**64.
30854
30855 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30856
30857         * string/str-two-way.h: Include <sys/param.h>.
30858         (MAX): Macro removed.
30859
30860         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30861         Move #define and #undef of memmove to just before and after
30862         including <string.h>.
30863
30864         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30865         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30866         and after including <string.h>.  Move declarations of
30867         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30868         to before #include "string/memmove.c".
30869
30870         * include/dirent.h: Declare __getdirentries.
30871
30872         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30873         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30874
30875 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30876
30877         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30878         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30879         * sysdeps/i386/configure: Regenerated.
30880         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30881         STABS_CURRENT_FILE, and STABS_FUN.
30882         (END): Remove call to STABS_FUN_END.
30883         (STABS_CURRENT_FILE1): Delete.
30884         (STABS_CURRENT_FILE): Likewise.
30885         (STABS_FUN): Likewise.
30886         (STABS_FUN_END): Likewise.
30887         (STABS_FUN2): Likewise.
30888         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30889         * sysdeps/x86_64/configure: Regenerated.
30890
30891 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30892
30893         * elf/dl-open.c: Include <atomic.h>.
30894         * elf/dl-lookup.c: Likewise.
30895
30896 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30897
30898         * sysdeps/unix/sysv/linux/kernel-features.h
30899         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30900         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30901         unconditionally.
30902         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30903         unconditionally.
30904         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30905         condition on __ASSUME_CLONE_THREAD_FLAGS.
30906
30907 2012-08-14  Andreas Jaeger  <aj@suse.de>
30908
30909         * sysdeps/i386/fpu/libm-test-ulps: Update.
30910
30911 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30912
30913         * include/atomic.h (atomic_exchange_and_add): Split into ...
30914         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30915         New atomic macros.
30916
30917 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30918
30919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30920
30921 2012-08-13  Jeff Law <law@redhat.com>
30922
30923         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30924         null byte in the output string.
30925
30926 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30927
30928         * sysdeps/unix/sysv/linux/kernel-features.h
30929         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30930         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30931         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30932         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30933         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30934         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30935         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30936
30937 2012-08-09  Jeff Law <law@redhat.com>
30938
30939         [BZ #13939]
30940         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30941         When avoid_arena is set, don't retry in the that arena.  Pick the
30942         next one, whatever it might be.
30943         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30944         (arena_lock): Pass in new parameter to arena_get2.
30945         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30946         arena_get2.
30947         (__libc_malloc): Unify retrying after main arena failure with
30948         __libc_memalign version.
30949         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30950
30951 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30952
30953         [BZ #14166]
30954         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30955         to __redirect_strstr.
30956         (__strstr_sse42): Use typeof __redirect_strstr.
30957         (__strstr_ia32): Likewise.
30958         (__libc_strstr): New prototype.
30959         (strstr): Renamed to ...
30960         (__libc_strstr): This.
30961         (strstr): New strong alias of __libc_strstr.
30962         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30963         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30964         __redirect_time.
30965         Include <time.h>.
30966         (__libc_time): New prototype.
30967         (time_ifunc): Replace time with __libc_time.
30968         (time): New strong alias and hidden definition of __libc_time.
30969         (__GI_time): Remove strong alias.
30970         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30971         Include <stddef.h>.
30972         (memmove): Redefined to __redirect_memmove.
30973         (__memmove_sse2): Use typeof __redirect_memmove.
30974         (__memmove_ssse3): Likewise.
30975         (__memmove_ssse3_back): Likewise.
30976         (__libc_memmove): New prototype.
30977         (memmove): Renamed to ...
30978         (__libc_memmove): This.
30979         (memmove): New strong alias of __libc_memmove.
30980
30981 2012-08-08  Mark Salter  <msalter@redhat.com>
30982
30983         * elf/elf.h
30984         (R_MN10300_TLS_GD): Define.
30985         (R_MN10300_TLS_LD): Likewise.
30986         (R_MN10300_TLS_LDO): Likewise.
30987         (R_MN10300_TLS_GOTIE): Likewise.
30988         (R_MN10300_TLS_IE): Likewise.
30989         (R_MN10300_TLS_LE): Likewise.
30990         (R_MN10300_TLS_DTPMOD): Likewise.
30991         (R_MN10300_TLS_DTPOFF): Likewise.
30992         (R_MN10300_TLS_TPOFF): Likewise.
30993         (R_MN10300_SYM_DIFF): Likewise.
30994         (R_MN10300_ALIGN): Likewise.
30995         (R_MN10300_NUM): Update.
30996
30997 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30998
30999         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31000         Remove.
31001
31002 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31003
31004         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31005
31006         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31007         sysdeps/unix -> sysdeps/posix move.
31008         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31009
31010 2012-08-07      Allan McRae     <allan@archlinux.org>
31011
31012         [BZ #14303]
31013         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31014         (SUNOS_CPP): Likewise.
31015         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31016         not found.
31017         (open_input): Call CPP using execvp.
31018
31019 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31020
31021         * sysdeps/unix/sysv/linux/kernel-features.h
31022         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31023         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31024         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31025         (__ASSUME_WAITID_SYSCALL): Likewise.
31026         * sysdeps/unix/sysv/linux/dl-execstack.c
31027         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31028         code unconditional.
31029         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31030         conditional code.
31031         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31032         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31033         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31034         code.
31035         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31036         unconditional.
31037         [__ASSUME_WAITID_SYSCALL]: Likewise.
31038         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31039
31040 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31041
31042         * sysdeps/unix/closedir.c: Renamed to ...
31043         * sysdeps/posix/closedir.c: ... here.
31044         * sysdeps/unix/dirfd.c: Renamed to ...
31045         * sysdeps/posix/dirfd.c: ... here.
31046         * sysdeps/unix/dirstream.h: Renamed to ...
31047         * sysdeps/posix/dirstream.h: ... here.
31048         * sysdeps/unix/fdopendir.c: Renamed to ...
31049         * sysdeps/posix/fdopendir.c: ... here.
31050         * sysdeps/unix/opendir.c: Renamed to ...
31051         * sysdeps/posix/opendir.c: ... here.
31052         * sysdeps/unix/readdir.c: Renamed to ...
31053         * sysdeps/posix/readdir.c: ... here.
31054         * sysdeps/unix/readdir_r.c: Renamed to ...
31055         * sysdeps/posix/readdir_r.c: ... here.
31056         * sysdeps/unix/rewinddir.c: Renamed to ...
31057         * sysdeps/posix/rewinddir.c: ... here.
31058         * sysdeps/unix/seekdir.c: Renamed to ...
31059         * sysdeps/posix/seekdir.c: ... here.
31060         * sysdeps/unix/telldir.c: Renamed to ...
31061         * sysdeps/posix/telldir.c: ... here.
31062         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31063         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31064         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31065         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31066
31067         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31068         * bits/fcntl.h: ... here.
31069
31070         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31071         not 0.
31072         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31073         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31074         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31075         (struct flock): Move l_start, l_len to the beginning.
31076         Use __pid_t for l_pid.
31077         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31078         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31079         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31080         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31081         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31082         [__USE_LARGEFILE64] (struct flock64): New type.
31083         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31084
31085         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31086         * bits/dirent.h: ... here.
31087
31088         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31089         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31090
31091 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31092
31093         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31094         Change from 2.6.0 to 2.6.16.
31095         * sysdeps/unix/sysv/linux/configure: Regenerated.
31096         * sysdeps/unix/sysv/linux/kernel-features.h
31097         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31098         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31099         version.
31100         (__ASSUME_UTIMES): Likewise.
31101         (__ASSUME_CLONE_STOPPED): Remove.
31102         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31103         architectures, not kernel version.
31104         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31105         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31106         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31107         (__ASSUME_WAITID_SYSCALL): Likewise.
31108         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31109         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31110         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31111         refer to older versions.
31112
31113 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31114
31115         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31116         Define alphasort64 as an alias.
31117         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31118         Define versionsort64 as an alias.
31119         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31120         Define scandir64 as an alias.
31121         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31122         Define scandirat64 as an alias.
31123         * dirent/alphasort64.c (alphasort64):
31124         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31125         * dirent/versionsort64.c: Likewise.
31126         * dirent/scandir64.c: Likewise.
31127         * dirent/scandirat64.c: Likewise.
31128         * sysdeps/wordsize-64/alphasort.c: File removed.
31129         * sysdeps/wordsize-64/alphasort64.c: File removed.
31130         * sysdeps/wordsize-64/scandir.c: File removed.
31131         * sysdeps/wordsize-64/scandir64.c: File removed.
31132         * sysdeps/wordsize-64/scandirat.c: File removed.
31133         * sysdeps/wordsize-64/scandirat64.c: File removed.
31134         * sysdeps/wordsize-64/versionsort.c: File removed.
31135         * sysdeps/wordsize-64/versionsort64.c: File removed.
31136         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31137         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31138         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31139         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31140         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31141         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31142         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31143         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31144
31145         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31146         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31147         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31148         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31149         [defined __arch64__ || defined __sparcv9]
31150         (__INO_T_MATCHES_INO64_T): New macro.
31151         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31152         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31153         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31154         * sysdeps/unix/sysv/linux/bits/dirent.h
31155         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31156         (_DIRENT_MATCHES_DIRENT64): New macro.
31157
31158         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31159         Define lockf64 as an alias.
31160         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31161         Define fseeko64 as an alias.
31162         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31163         Define ftello64 as an alias.
31164         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31165         Define _IO_fgetpos64 and fgetpos64 as aliases.
31166         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31167         Define _IO_fsetpos64 and fsetpos64 as aliases.
31168         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31169         Conditionalize body on this.
31170         * libio/fseeko64.c: Likewise.
31171         * libio/ftello64.c: Likewise.
31172         * libio/iofgetpos64.c: Likewise.
31173         * libio/iofsetpos64.c: Likewise.
31174         * sysdeps/wordsize-64/lockf.c: File removed.
31175         * sysdeps/wordsize-64/lockf64.c: File removed.
31176         * sysdeps/wordsize-64/fseeko.c: File removed.
31177         * sysdeps/wordsize-64/fseeko64.c: File removed.
31178         * sysdeps/wordsize-64/ftello.c: File removed.
31179         * sysdeps/wordsize-64/ftello64.c: File removed.
31180         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31181         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31182         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31183         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31184         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31185         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31186         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31187         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31188         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31189         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31190         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31191         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31192         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31193         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31194
31195         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31196         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31197         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31198         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31199         [defined __arch64__ || defined __sparcv9]
31200         (__OFF_T_MATCHES_OFF64_T): New macro.
31201         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31202         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31203         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31204         (__OFF_T_MATCHES_OFF64_T): New macro.
31205
31206 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31207
31208         * stdlib/secure-getenv.c (__secure_getenv): Replace
31209         GLIBC_2_16 with GLIBC_2_17.
31210
31211 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31212
31213         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31214         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31215
31216 2012-08-03  David S. Miller  <davem@davemloft.net>
31217
31218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31219
31220 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31221
31222         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31223         Remove.
31224         (__ASSUME_CORRECT_SI_PID): Likewise.
31225         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31226         (__ASSUME_TMPFS_NAME): Likewise.
31227         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31228         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31229         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31230         (HAVE_AUX_SECURE): Make definition unconditional.
31231         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31232         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31233
31234 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31235
31236         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31237         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31238         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31239         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31240         __eloop_threshold instead of SYMLOOP_MAX.
31241
31242         * sysdeps/generic/eloop-threshold.h: New file.
31243         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31244         of MAXSYMLINKS.
31245         * elf/chroot_canon.c (chroot_canon): Likewise.
31246
31247 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31248
31249         [BZ #13717]
31250         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31251         Change to 2.6.0 everywhere.
31252         * sysdeps/unix/sysv/linux/configure: Regenerated.
31253         * sysdeps/unix/sysv/linux/kernel-features.h
31254         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31255         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31256         kernel versions.
31257         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31258         (__ASSUME_FUTEX_REQUEUE): Remove.
31259         (__ASSUME_STATFS64): Define unconditionally.
31260         (__ASSUME_AT_SECURE): Likewise.
31261         (__ASSUME_CORRECT_SI_PID): Likewise.
31262         (__ASSUME_TGKILL): Define without depending on kernel version for
31263         i386.
31264         (__ASSUME_UTIMES): Likewise.
31265         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31266         kernel version.
31267         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31268         (__ASSUME_TMPFS_NAME): Likewise.
31269         * README: Update reference to Linux kernel versions.
31270
31271 2012-08-02  Marek Polacek  <polacek@redhat.com>
31272
31273         [BZ# 14150]
31274         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31275         libc_cv_asm_type_prefix with %.
31276         * configure: Regenerated.
31277         * include/libc-symbols.h: Remove comment about
31278         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31279         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31280         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31281         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31282         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31283         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31284         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31285         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31286         * elf/tst-unique2mod1.c: Likewise.
31287         * elf/tst-unique1mod2.c: Likewise.
31288         * elf/tst-unique1mod1.c: Likewise.
31289         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31290         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31291         Replace ASM_TYPE_DIRECTIVE with .type.
31292         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31293         * sysdeps/i386/sysdep.h: Likewise.
31294         * sysdeps/x86_64/sysdep.h: Likewise.
31295         * sysdeps/sh/sysdep.h: Likewise.
31296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31297         Do not define ASM_TYPE_DIRECTIVE.
31298         * sysdeps/powerpc/sysdep.h: Likewise.
31299         * sysdeps/powerpc/powerpc32/sysdep.h:
31300         Replace ASM_TYPE_DIRECTIVE with .type.
31301         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31302         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31303         * sysdeps/i386/fpu/e_powf.S: Likewise.
31304         * sysdeps/i386/fpu/e_expl.S: Likewise.
31305         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31306         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31307         * sysdeps/i386/fpu/e_pow.S: Likewise.
31308         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31309         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31310         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31311         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31312         * sysdeps/i386/fpu/e_log2.S: Likewise.
31313         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31314         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31315         * sysdeps/i386/fpu/e_powl.S: Likewise.
31316         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31317         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31318         * sysdeps/i386/fpu/e_logl.S: Likewise.
31319         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31320         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31321         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31322         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31323         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31324         * sysdeps/i386/fpu/e_log.S: Likewise.
31325         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31326         * sysdeps/i386/fpu/e_logf.S: Likewise.
31327         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31328         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31329         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31330         * sysdeps/i386/fpu/e_log10.S: Likewise.
31331         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31332         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31333         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31334         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31335         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31336         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31337         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31338         * sysdeps/i386/i686/strtok.S: Likewise.
31339         * sysdeps/i386/i386-mcount.S: Likewise.
31340         * sysdeps/i386/strtok.S: Likewise.
31341         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31342         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31343         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31344         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31345         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31346         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31347         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31348         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31349         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31350         * sysdeps/x86_64/_mcount.S: Likewise.
31351         * sysdeps/x86_64/strtok.S: Likewise.
31352         * sysdeps/sh/_mcount.S: Likewise.
31353
31354 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31355
31356         * libio/iofopen.c: Include <fcntl.h>.
31357         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31358         (_IO_fopen64, fopen64): Define as aliases.
31359         * libio/iofopen64.c: Include <fcntl.h>.
31360         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31361         Conditionalize body on this.
31362         * sysdeps/wordsize-64/iofopen.c: File removed.
31363         * sysdeps/wordsize-64/iofopen64.c: File removed.
31364
31365 2012-08-01  Marek Polacek  <polacek@redhat.com>
31366
31367         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31368         Use dlfcn directly instead of a variable.
31369         (binfmt-subdir): Do not define.
31370         (dlfcn): Likewise.
31371
31372 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31373
31374         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31375         Remove all definitions.
31376         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31377         <kernel-features.h>.
31378         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31379         (miss_F_GETOWN_EX): Remove all definitions.
31380         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31381         macro definition.
31382         [!__ASSUME_FCNTL64]: Remove conditional code.
31383         [__ASSUME_FCNTL64]: Make code unconditional.
31384         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31385         <kernel-features.h>.
31386         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31387         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31388         (lockf64) [__NR_fcntl64]: Make code unconditional.
31389         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31390
31391         * sysdeps/unix/sysv/linux/kernel-features.h
31392         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31393         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31394         Make code unconditional.
31395         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31396         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31398         [__NR_vfork]: Make code unconditional.
31399         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31400         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31402         [__NR_vfork]: Make code unconditional.
31403         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31404         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31405
31406 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31407
31408         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31409         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31410
31411         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31412         Define mkstemp64 as an alias.
31413         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31414         Define mkstemps64 as an alias.
31415         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31416         Define mkostemp64 as an alias.
31417         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31418         Define mkostemps64 as an alias.
31419         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31420         Conditionalize body on this.
31421         * misc/mkostemp64.c: Likewise.
31422         * misc/mkostemps64.c: Likewise.
31423         * misc/mkstemps64.c: Likewise.
31424         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31425         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31426         * sysdeps/wordsize-64/mkostemp.c: File removed.
31427         * sysdeps/wordsize-64/mkstemp.c: File removed.
31428         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31429         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31430         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31431         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31432
31433         [BZ #14138]
31434         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31435         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31436         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31437         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31438
31439         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31440         compat_symbol macros from <shlib-compat.h> rather than the underlying
31441         default_symbol_version and symbol_version macros, so that DEFAULT
31442         lines in shlib-versions are respected.
31443         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31444
31445 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31446
31447         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31448         Declare with warn_unused_result.
31449         (setgid, setregid, setegid, setresgid): Likewise.
31450         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31451         Likewise.
31452         * WUR-REPORT: Remove set*id functions.
31453
31454 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31455
31456         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31457
31458 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31459
31460         [BZ #10191]
31461         * include/sys/socket.h (__libc_accept, __libc_accept4):
31462         Add attribute_hidden.
31463         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31464
31465         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31466         use of PTR_MANGLE.
31467         * inet/getnetgrent_r.c (setup): Likewise.
31468
31469         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31470
31471 2012-07-31  David S. Miller  <davem@davemloft.net>
31472
31473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31474
31475 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31476
31477         [BZ #13629]
31478         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31479         value between 1.0 and 2.0 and smaller part has absolute value less
31480         than 1.0.
31481         * math/s_clog10.c (__clog10): Likewise.
31482         * math/s_clog10f.c (__clog10f): Likewise.
31483         * math/s_clog10l.c (__clog10l): Likewise.
31484         * math/s_clogf.c (__clogf): Likewise.
31485         * math/s_clogl.c (__clogl): Likewise.
31486         * math/libm-test.inc (clog_test): Add more tests.
31487         (clog10_test): Likewise.
31488         * sysdeps/i386/fpu/libm-test-ulps: Update.
31489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31490
31491 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31492
31493         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31494         Exit with zero in case no suitable GID is found, and write a
31495         message to standard error.
31496
31497 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31498
31499         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31500         rather than to 1.
31501         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31502         (MAXPATHLEN): Removed.
31503         (NOGROUP, NODEV): New macros.
31504         (setbit, clrbit, isset, isclr): New macros.
31505         (howmany, roundup, powerof2): New macros.
31506         (DEV_BSIZE): New macro.
31507
31508         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31509         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31510
31511         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31512         definition on [!__NO_LONG_DOUBLE_MATH].
31513
31514         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31515         PTR_MANGLE and PTR_DEMANGLE.
31516
31517         * socket/accept4.c (accept4): Rename to __libc_accept4.
31518         Define accept4 as a weak alias.
31519
31520         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31521         on [_DIRENT_HAVE_D_TYPE].
31522         * io/ftw.c (ftw_dir): Likewise.
31523
31524         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31525
31526         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31527
31528         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31529         Use the BSD numbers rather than the arbitrary ones we had.
31530         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31531         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31532         (SIGXCPU, SIGXFSZ): New macros.
31533         (_NSIG): Now 32.
31534
31535         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31536         initializer on [_LIBC_REENTRANT].
31537
31538         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31539         definitions inside [_POSIX_MAPPED_FILES].
31540
31541         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31542
31543         * dirent/opendir.c: Include <fcntl.h>.
31544
31545         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31546         (__libc_getspecific): Likewise.
31547         (__libc_key_create): Likewise.
31548
31549         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31550         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31551         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31552         (tmpfile64): Define as alias.
31553         * sysdeps/wordsize-64/tmpfile.c: File removed.
31554         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31555         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31556         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31557
31558         * stdio-common/vfscanf.c: Include <stdbool.h>.
31559         * nss/makedb.c: Likewise.
31560         * stdio-common/_i18n_number.h: Likewise.
31561         * argp/argp-help.c: Likewise.
31562         * posix/wordexp.c: Likewise.
31563         * sysdeps/posix/spawni.c: Likewise.
31564         * nss/nss_files/files-initgroups.c: Likewise.
31565         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31566         * nss/nss_files/files-initgroups.c: Likewise.
31567         * nss/nss_db/db-netgrp.c: Likewise.
31568         * nss/nss_db/db-initgroups.c: Likewise.
31569         * io/fchmodat.c: Include <sys/stat.h>.
31570
31571         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31572         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31573
31574         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31575         [HAVE_MMAP].
31576
31577         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31578         Add multiple inclusion protection.
31579
31580 2012-07-27  David S. Miller  <davem@davemloft.net>
31581
31582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31583
31584 2012-07-27  Gary Benson  <gbenson@redhat.com>
31585
31586         [BZ #14298]
31587         * elf/rtld.c: Include <stap-probe.h>.
31588         (dl_main): Added static probes "init_start" and "init_complete".
31589         * elf/dl-load.c: Include <stap-probe.h>.
31590         (lose): Take new parameter "nsid".
31591         Added static probe "map_failed".
31592         (_dl_map_object_from_fd): Pass namespace id to lose.
31593         Added static probe "map_start".
31594         (open_verify): Pass namespace id to lose.
31595         * elf/dl-open.c: Include <stap-probe.h>.
31596         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31597         and "reloc_complete".
31598         * elf/dl-close.c: Include <stap-probe.h>.
31599         (_dl_close_worker): Added static probes "unmap_start" and
31600         "unmap_complete".
31601         * elf/rtld-debugger-interface.txt: New file documenting the above.
31602
31603 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31604
31605         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31606         rather than a string variable.
31607         * sunrpc/rpc_main.c (h_output): Likewise.
31608         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31609
31610 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31611
31612         * inet/check_native.c: New file.
31613
31614 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31615
31616         [BZ #13629]
31617         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31618         if larger part has absolute value 1.0.
31619         * math/s_clog10.c (__clog10): Likewise.
31620         * math/s_clog10f.c (__clog10f): Likewise.
31621         * math/s_clog10l.c (__clog10l): Likewise.
31622         * math/s_clogf.c (__clogf): Likewise.
31623         * math/s_clogl.c (__clogl): Likewise.
31624         * math/libm-test.inc (clog_test): Add more tests.
31625         (clog10_test): Likewise.
31626         * sysdeps/i386/fpu/libm-test-ulps: Update.
31627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31628
31629         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31630         (pltexit): Likewise.
31631         (La_regs): Likewise.
31632         (La_retval): Likewise.
31633         (int_retval): Likewise.
31634         Update #error for removed macros to refer only to definitions in
31635         tst-audit.h.
31636         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31637         macro.
31638         (pltexit): Likewise.
31639         (La_regs): Likewise.
31640         (La_retval): Likewise.
31641         (int_retval): Likewise.
31642         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31643         macro.
31644         (pltexit): Likewise.
31645         (La_regs): Likewise.
31646         (La_retval): Likewise.
31647         (int_retval): Likewise.
31648         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31649         macro.
31650         (pltexit): Likewise.
31651         (La_regs): Likewise.
31652         (La_retval): Likewise.
31653         (int_retval): Likewise.
31654         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31655         macro.
31656         (pltexit): Likewise.
31657         (La_regs): Likewise.
31658         (La_retval): Likewise.
31659         (int_retval): Likewise.
31660         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31661         macro.
31662         (pltexit): Likewise.
31663         (La_regs): Likewise.
31664         (La_retval): Likewise.
31665         (int_retval): Likewise.
31666         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31667         macro.
31668         (pltexit): Likewise.
31669         (La_regs): Likewise.
31670         (La_retval): Likewise.
31671         (int_retval): Likewise.
31672         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31673         macro definitions in tst-audit.h.
31674         * sysdeps/i386/tst-audit.h: New file.
31675         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31676         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31677         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31678         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31679         * sysdeps/sh/tst-audit.h: Likewise.
31680         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31681         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31682         * sysdeps/x86_64/tst-audit.h: Likewise.
31683
31684 2012-07-26  Andreas Jaeger  <aj@suse.de>
31685
31686         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31687         ptrace.
31688
31689         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31690         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31691         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31692         PTRACE_O_MASK.
31693         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31694         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31695         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31696
31697         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31698         value.
31699
31700         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31701         _sigsys.
31702         (si_call_addr, si_syscall, si_arch): Define new macro.
31703         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31704         _sigsys.
31705         (si_call_addr, si_syscall, si_arch): Define new marcro.
31706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31707         _sigsys.
31708         (si_call_addr, si_syscall, si_arch): Define new macro.
31709         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31710         _sigsys.
31711         (si_call_addr, si_syscall, si_arch): Define new macro.
31712
31713 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31714
31715         [BZ #13717]
31716         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31717         Change to 2.4.21 where previously 2.4.1.
31718         * sysdeps/unix/sysv/linux/configure: Regenerated.
31719         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31720         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31721         Linux kernel version.
31722         (__ASSUME_STD_AUXV): Remove.
31723         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31724         kernel version.
31725         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31726         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31727         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31728         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31729         (__ASSUME_NETLINK_SUPPORT): Likewise.
31730         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31731         (__no_netlink_support): Remove conditional definition.
31732         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31733         Remove.
31734         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31735         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31736         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31737         (if_nameindex_ioctl): Remove.
31738         (if_nameindex_netlink): Do not handle __no_netlink_support.
31739         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31740         code.
31741         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31742         Remove conditional code.
31743         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31744         code.
31745         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31746         unconditional.
31747         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31748         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31749         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31750         Remove.
31751         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31752         [!__ASSUME_STD_AUXV]: Remove conditional code.
31753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31754         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31755         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31757         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31758         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31759         code.
31760         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31762         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31763         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31764         conditional code.
31765         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31767         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31768         code.
31769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31770         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31771         conditional code.
31772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31773         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31774         code unconditional.
31775         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31776         conditional code.
31777         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31778         unconditional.
31779         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31780         conditional code.
31781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31782         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31783         unconditional.
31784         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31785         conditional code.
31786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31787         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31788         code unconditional.
31789         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31790         conditional code.
31791         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31792         unconditional.
31793         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31794         conditional code.
31795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31796         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31797         code unconditional.
31798         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31799         conditional code.
31800         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31801         unconditional.
31802         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31803         conditional code.
31804
31805 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31806
31807         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31808         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31809         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31810         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31811         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31812         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31813         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31814         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31815         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31816         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31817         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31818         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31819         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31820         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31821         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31822         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31823         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31824         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31825         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31826         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31827         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31828         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31829         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31830
31831 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31832
31833         * Versions.def: Add GLIBC_2.17.
31834         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31835         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31836         Introduce __libc_secure_getenv.
31837         * stdlib/Versions (2.17): Add secure_getenv
31838         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31839         * stdlib/secure-getenv.c: Rename __secure_getenv to
31840         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31841         symbol __secure_getenv for GLIBC_2.0.
31842         * stdlib/tst-secure-getenv.c: New.
31843         * stdlib/Makefile (tests): Add testcase.
31844         * manual/startup.texi (Environment Access): Document
31845         secure_getenv.
31846         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31847         __libc_secure_getenv.
31848         * inet/ruserpass.c (ruserpass): Likewise.
31849         * malloc/mtrace.c (mtrace): Likewise.
31850         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31851         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31852         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31853         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31854         HAVE_SECURE_GETENV.
31855         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31856         __secure_getenv to __libc_secure_getenv.
31857         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31859         Likewise.
31860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31861         Likewise.
31862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31864         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31869
31870 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31871
31872         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31873         (struct La_i86_retval): Likewise.
31874         (struct La_x86_64_regs): Likewise.
31875         (struct La_x86_64_retval): Likewise.
31876         (struct La_x32_regs): Likewise.
31877         (struct La_x32_retval): Likewise.
31878         (struct La_ppc32_regs): Likewise.
31879         (struct La_ppc32_retval): Likewise.
31880         (struct La_ppc64_regs): Likewise.
31881         (struct La_ppc64_retval): Likewise.
31882         (struct La_sh_regs): Likewise.
31883         (struct La_sh_retval): Likewise.
31884         (struct La_s390_32_regs): Likewise.
31885         (struct La_s390_32_retval): Likewise.
31886         (struct La_s390_64_regs): Likewise.
31887         (struct La_s390_64_retval): Likewise.
31888         (struct La_sparc32_regs): Likewise.
31889         (struct La_sparc32_retval): Likewise.
31890         (struct La_sparc64_regs): Likewise.
31891         (struct La_sparc64_retval): Likewise.
31892         (struct audit_ifaces): Remove architecture-specific pltenter and
31893         pltexit members.
31894         * sysdeps/i386/ldsodefs.h: New file.
31895         * sysdeps/powerpc/ldsodefs.h: Likewise.
31896         * sysdeps/s390/ldsodefs.h: Likewise.
31897         * sysdeps/sh/ldsodefs.h: Likewise.
31898         * sysdeps/sparc/ldsodefs.h: Likewise.
31899         * sysdeps/x86_64/ldsodefs.h: Likewise.
31900
31901 2012-07-25  Marek Polacek  <polacek@redhat.com>
31902
31903         [BZ #6808]
31904         * math/libm-test.inc (yn_test): Add another test.
31905         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31906         to ERANGE when the result is +-Inf.
31907         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31908         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31909         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31910         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31911
31912 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31913
31914         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31915         equal to 0.
31916         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31917         clock_t.
31918         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31919
31920 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31921
31922         * configure.in <sysdeps resolving>: Correct printing
31923         Implies_before.
31924         * configure: Regenerate.
31925
31926 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31927
31928         * math/w_ilogb.c: Include <limits.h>.
31929         * math/w_ilogbl.c: Likewise.
31930
31931 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31932
31933         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31934         va_copy.  Document allowing for unavailable va_copy only as
31935         pre-C99 compatibility.
31936         * manual/string.texi (Copying and Concatenation): Use va_copy
31937         instead of __va_copy in concat example.
31938
31939 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31940
31941         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31942         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31943         it if not null.
31944
31945         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31946         with O_NOLINK passed to __file_name_lookup.
31947
31948         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31949         with O_NOLINK passed to __file_name_lookup.
31950
31951         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31952         negative N or less than NGIDS.
31953
31954         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31955         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31956         enough.  Use memcpy instead of strncpy.
31957
31958 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31959
31960         * elf/Makefile (check-data): Remove.
31961         (localplt.data): New vpath directive.
31962         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31963         instead of $(check-data).
31964         * scripts/data/localplt-generic.data: Move to ...
31965         * sysdeps/generic/localplt.data: ... here.
31966         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31967         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31968         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31970         ... here.
31971         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31973         ... here.
31974         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31976         ... here.
31977         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31979         ... here.
31980         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31982         ... here.
31983         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31985         ... here.
31986
31987 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31988
31989         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31990         PPC32 and PPC64 files.
31991         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31992         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31993
31994 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31995
31996         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31997         __makecontext_ret to ...
31998         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31999         ... here and call exit if uc_link is NULL.  New file.
32000         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32001         __makecontext_ret.S.
32002         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32003         __makecontext_ret to ...
32004         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32005         ... here and call exit if uc_link is NULL.  New file.
32006         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32007         __makecontext_ret.S.
32008
32009 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32010
32011         * elf/elf.h (R_390_IRELATIVE): New definition.
32012         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32013         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32014         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32015         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32016         (elf_machine_lazy_rel): Likewise.
32017         * sysdeps/s390/dl-irel.h: New file.
32018         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32019         * sysdeps/s390/s390-64/memset.S: New asm code.
32020         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32021         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32022         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32023         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32024         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32025         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32026         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32027         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32028         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32029         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32030         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32031         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32032         * sysdeps/s390/s390-32/memset.S: New asm code.
32033         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32034
32035 2012-07-17  Marek Polacek  <polacek@redhat.com>
32036
32037         [BZ #14349]
32038         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32039         * sysdeps/s390/s390-64/configure.in: Likewise.
32040         * sysdeps/sparc/configure.in: Likewise.
32041         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32042         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32043         * sysdeps/i386/configure.in: Likewise.
32044         * sysdeps/x86_64/configure.in: Likewise.
32045         * sysdeps/sh/configure.in: Likewise.
32046         * sysdeps/s390/s390-32/configure: Regenerated.
32047         * sysdeps/s390/s390-64/configure: Likewise.
32048         * sysdeps/x86_64/configure: Likewise.
32049         * sysdeps/sh/configure: Likewise.
32050         * sysdeps/powerpc/powerpc64/configure: Likewise.
32051         * sysdeps/powerpc/powerpc32/configure: Likewise.
32052         * sysdeps/sparc/configure: Likwise.
32053         * sysdeps/i386/configure: Likewise.
32054
32055         * elf/dl-open.c: Comment fixes.
32056
32057 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32058
32059         * Makefile [CXX] (check-data): Remove.
32060         [CXX] (c++-types.data): New vpath directive.
32061         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32062         vpath.  Do not allow for C++ type data being missing.
32063         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32064         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32065         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32066         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32067         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32068         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32069         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32071         ... here.
32072         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32074         ... here.
32075         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32077         ... here.
32078         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32080         ... here.
32081         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32083         ... here.
32084         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32086         ... here.
32087         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32089         ... here.
32090         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32092
32093         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32094         definitions to architecture-specific files.
32095         (TLS_IE): Likewise.
32096         (TLS_LD): Likewise.
32097         (TLS_GD): Likewise.
32098         * sysdeps/i386/tls-macros.h: New file.
32099         * sysdeps/powerpc/tls-macros.h: Likewise.
32100         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32101         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32102         * sysdeps/sh/tls-macros.h: Likewise.
32103         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32104         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32105         * sysdeps/x86_64/tls-macros.h: Likewise.
32106
32107 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32108
32109         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32110         zero value for regular exit case.
32111
32112         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32113         (__start_context): Preserve zero value for regular exit case.
32114
32115 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32116             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32117
32118         * manual/setjmp.texi (setcontext): Clarify normal process
32119         termination when uc_link is the null pointer.
32120         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32121         exit call.
32122
32123 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32124
32125         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32126         preprocessor.  Test for each exception mask separately.
32127
32128 2012-07-16  Andreas Jaeger  <aj@suse.de>
32129
32130         * po/ru.po: Update from translation team.
32131
32132 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32133
32134         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32135         equal to 0.
32136         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32137         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32138         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32139         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32140         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32141
32142 2012-07-13  Andreas Jaeger  <aj@suse.de>
32143
32144         * po/fr.po: Update from translation team.
32145
32146 2012-07-12  Marek Polacek  <polacek@redhat.com>
32147
32148         [BZ #14173]
32149         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32150         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32151         loop condition.
32152
32153 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32154
32155         [BZ #13717]
32156         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32157         Change to 2.4.1 where previously 2.4.0.
32158         * sysdeps/unix/sysv/linux/configure: Regenerated.
32159         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32160         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32161         version.
32162         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32163         (__ASSUME_AT_CLKTCK): Remove.
32164         (__ASSUME_AT_PAGESIZE): Likewise.
32165         (__ASSUME_AT_XID): Likewise.
32166         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32167         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32168         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32169         unconditionally.
32170         (HAVE_AUX_PAGESIZE): Likewise.
32171         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32172         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32173         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32174
32175 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32176
32177         [BZ #14307]
32178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32179         the temporary buffer used to invoke __gethostbyname2_r,
32180         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32181         host_data / struct gaih_addrtuple.
32182         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32183         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32184         header file nss/nsswitch.h.
32185         * nss/nsswitch.h (global scope): Add definition of implementation
32186         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32187         resolv/nss_dns/dns-host.c).
32188
32189 2012-07-11  Andreas Jaeger  <aj@suse.de>
32190
32191         * po/fr.po: Update from translation team.
32192
32193         * po/sv.po: Update from translation team
32194         * po/fr.po: Another update from translation team.
32195
32196 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32197
32198         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32199         for subnormals or multiply small sinh result by itself.
32200         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32202
32203 2012-07-11  David S. Miller  <davem@davemloft.net>
32204
32205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32206
32207 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32208
32209         [BZ #14347]
32210         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32211         (INTERNAL_MARK): Shift it here.
32212
32213 2012-07-10  Marek Polacek  <polacek@redhat.com>
32214
32215         [BZ #14151]
32216         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32217         libc_cv_asm_global_directive with .globl.
32218         * configure: Regenerated.
32219         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32220         with .globl.
32221         * sysdeps/i386/configure: Regenerated.
32222         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32223         with .globl.
32224         * sysdeps/x86_64/configure: Regenerated.
32225         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32226         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32227         * elf/tst-unique2mod2.c: Likewise.
32228         * elf/tst-unique2mod1.c: Likewise.
32229         * elf/tst-unique1mod2.c: Likewise.
32230         * elf/tst-unique1mod1.c: Likewise.
32231         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32232         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32233         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32234         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32235         * sysdeps/mach/sysdep.h: Likewise.
32236         * sysdeps/i386/sysdep.h: Likewise.
32237         * sysdeps/i386/i386-mcount.S: Likewise.
32238         * sysdeps/x86_64/_mcount.S: Likewise.
32239         * sysdeps/x86_64/sysdep.h: Likewise.
32240         * sysdeps/sh/_mcount.S: Likewise.
32241         * sysdeps/sh/sysdep.h: Likewise.
32242         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32243         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32244         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32245         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32246         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32247         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32248         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32249         * locale/localeinfo.h: Likewise.
32250         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32251         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32252
32253 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32254
32255         [BZ #14336]
32256         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32257         system".
32258         * manual/message.texi (The Uniforum approach): Likewise.
32259         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32260         (glibc iconv Implementation): Likewise.
32261
32262 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32263
32264         [BZ #14337]
32265         * math/s_clog.c (__clog): Avoid scaling a value down where that
32266         could result in underflow.
32267         * math/s_clog10.c (__clog10): Likewise.
32268         * math/s_clog10f.c (__clog10f): Likewise.
32269         * math/s_clog10l.c (__clog10l): Likewise.
32270         * math/s_clogf.c (__clogf): Likewise.
32271         * math/s_clogl.c (__clogl): Likewise.
32272         * math/libm-test.inc (clog_test): Add more tests.
32273         (clog10_test): Likewise.
32274         * sysdeps/i386/fpu/libm-test-ulps: Update.
32275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32276
32277 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32278
32279         [BZ #14283]
32280         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32281         by 7 not 8 to examine high bit of fractional part.
32282
32283         [BZ #14042]
32284         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32285         for call to __mcount_internal.
32286         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32287         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32288         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32289
32290 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32291
32292         [BZ #14154]
32293         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32294         approximation for values within 0x1p-13f of an odd multiple of
32295         pi/4.
32296         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32297         exception.  Add more tests.
32298         * sysdeps/i386/fpu/libm-test-ulps: Update.
32299
32300         [BZ #6778]
32301         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32302         inputs and return -1 for them.  Do not check for +Inf in case not
32303         reachable for +Inf.
32304         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32305         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32306         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32307         and return -1 for them.  Do not check for +Inf in case not
32308         reachable for +Inf.
32309         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32310         define.
32311         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32312         and return -1 for them.  Do not check for +Inf in case not
32313         reachable for +Inf.
32314         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32315         spurious underflow.
32316         * sysdeps/i386/fpu/libm-test-ulps: Update.
32317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32318
32319 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32320
32321         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32322
32323 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32324
32325         [BZ #14157]
32326         [BZ #14331]
32327         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32328         could result in spurious underflow.  Scale down values above
32329         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32330         * math/s_csqrtf.c (__csqrtf): Likewise.
32331         * math/s_csqrtl.c (__csqrtl): Likewise.
32332         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32333         spurious underflow.
32334         * sysdeps/i386/fpu/libm-test-ulps: Update.
32335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32336
32337 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32338
32339         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32340         xopen-msg.sed.
32341         * catgets/xopen-msg.awk: New file.
32342         * catgets/xopen-msg.sed: Removed.
32343
32344         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32345         po2text.sed.
32346         * intl/po2test.awk: New file.
32347         * intl/po2test.sed: Removed.
32348
32349 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32350
32351         [BZ #14328]
32352         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32353         or multiply small sinh result by itself.
32354         * math/s_ctanf.c (__ctanf): Likewise.
32355         * math/s_ctanh.c (__ctanh): Likewise.
32356         * math/s_ctanhf.c (__ctanhf): Likewise.
32357         * math/s_ctanhl.c (__ctanhl): Likewise.
32358         * math/s_ctanl.c (__ctanl): Likewise.
32359         * math/libm-test.inc (ctan_test_tonearest): New function.
32360         (ctan_test_towardzero): Likewise.
32361         (ctan_test_downward): Likewise.
32362         (ctan_test_upward): Likewise.
32363         (ctanh_test_tonearest): Likewise.
32364         (ctanh_test_towardzero): Likewise.
32365         (ctanh_test_downward): Likewise.
32366         (ctanh_test_upward): Likewise.
32367         (main): Call these new functions.
32368         * sysdeps/i386/fpu/libm-test-ulps: Update.
32369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32370
32371 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32372
32373         * .gitignore: Delete /ports entry.
32374
32375 2012-07-03  Andreas Jaeger  <aj@suse.de>
32376
32377         * po/bg.po: Update from translation team.
32378         * po/cs.po: Likewise.
32379         * po/de.po: Likewise.
32380         * po/hr.po: Likewise.
32381         * po/nl.pl: Likewise.
32382         * po/pl.po: Likewise.
32383         * po/vi.po: Likewise.
32384
32385 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32386
32387         * Makeconfig [!+link] (+link-before-libc): New variable.
32388         [!+link] (+link-after-libc): Likewise.
32389         [!+link] (+link-tests): Likewise.
32390         [!+link] (+link): Define in terms of $(+link-before-libc) and
32391         $(+link-after-libc).
32392         [!+link-static] (+link-static-before-libc): New variable.
32393         [!+link-static] (+link-static-after-libc): Likewise.
32394         [!+link-static] (+link-static-tests): Likewise.
32395         [!+link-static] (+link-static): Define in terms of
32396         $(+link-static-before-libc) and $(+link-static-after-libc).
32397         [build-shared] (link-libc-before-gnulib): New variable.
32398         [build-shared] (link-libc-tests): Likewise.
32399         [build-shared] (link-libc): Define in terms of
32400         $(link-libc-before-gnulib).
32401         [!build-shared] (link-libc-tests): New variable.
32402         (link-libc-static-tests): New variable.
32403         [!gnulib] (gnulib-arch): New variable.
32404         [!gnulib] (gnulib-tests): Likewise.
32405         [!gnulib] (static-gnulib-arch): Likewise.
32406         [!gnulib] (static-gnulib-tests): Likewise.
32407         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32408         Define with "=" instead of ":=".
32409         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32410         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32411         * Rules (binaries-all-notests): New variable.
32412         (binaries-all-tests): Likewise.
32413         (binaries-static-notests): Likewise.
32414         (binaries-static-tests): Likewise.
32415         (binaries-all): Define using $(binaries-all-notests) and
32416         $(binaries-all-tests).
32417         (binaries-static): Define using $(binaries-static-notests) and
32418         $(binaries-static-tests).
32419         (binaries-shared-tests): New variable.
32420         (binaries-shared-notests): Likewise.
32421         (binaries-shared): Remove variable.
32422         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32423         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32424         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32425         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32426         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32427         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32428         * elf/Makefile (sln-modules): New variable.
32429         (extra-objs): Add $(sln-modules:=.o).
32430         (ldconfig-modules): Add static-stubs.
32431         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32432         * elf/static-stubs.c: New file.
32433
32434         [BZ #14283]
32435         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32436         by 7 not 8 to examine high bit of fractional part.  Use volatile
32437         variables when splitting into final array of floats if
32438         __FLT_EVAL_METHOD__ != 0.
32439         * math/libm-test.inc (cos_test): Add another test.
32440         (sin_test): Likewise.
32441         * sysdeps/i386/fpu/libm-test-ulps: Update.
32442
32443         [BZ #14273]
32444         * math/libm-test.inc (cosh_test): Add more tests.
32445
32446         * version.h (RELEASE): Set to "development".
32447         (VERSION): Set to "2.16.90".
32448
32449 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32450
32451         * NEWS: Update copyright. Remove last-updated date.
32452         Mention math library bug fixes and timezone data changes.
32453         * README: Mention GNU/Hurd, x32, and HPPA support status.
32454
32455 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32456
32457         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32458
32459 2012-06-27  Andreas Jaeger  <aj@suse.de>
32460
32461         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32462
32463 2012-06-25  Andreas Jaeger  <aj@suse.de>
32464
32465         * sysdeps/s390/fpu/libm-test-ulps: Update.
32466
32467 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32468             Thomas Schwinge  <thomas@codesourcery.com>
32469
32470         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32471         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32472         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32473         fanotify_mark.
32474
32475 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32476
32477         * sysdeps/mach/start.c: Remove file.
32478         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32479         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32480         * sysdeps/sh/init-first.c: Likewise.
32481
32482         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32483         registers for frame unwinding purposes, add CFI directives.
32484         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32485         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32486         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32487         Likewise.
32488
32489         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32490         __fortify_fail returning.
32491         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32492
32493         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32494         sysdeps/sh/____longjmp_chk.S.
32495         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32496         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32497         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32498         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32499
32500         * sysdeps/sh/abort-instr.h: New file.
32501         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32502         process in case exit returns.
32503
32504         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32505         initialize the GOT register before use.
32506
32507         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32508         calculation of ARGC > 4.
32509
32510         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32511         meaningful names to some local labels.
32512
32513 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32514             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32515
32516         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32517         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32518         (__arch_compare_and_exchange_val_16_acq): Likewise.
32519         (__arch_compare_and_exchange_val_32_acq): Likewise.
32520         (atomic_exchange_and_add): Fix gUSA sequence.
32521         (atomic_add): Likewise.
32522         (atomic_add_negative): Likewise.
32523         (atomic_add_zero): Likewise.
32524         (atomic_bit_test_set): Likewise.
32525
32526 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32527
32528         [BZ #13579]
32529         * include/link.h (struct link_map): Add l_free_initfini.
32530         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32531         l_initfini.
32532         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32533         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32534         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32535         set.
32536
32537 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32538
32539         * configure.in: Use AC_LANG_SOURCE.
32540         * configure: Regenerate.
32541
32542 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32543
32544         * configure.in (libc_cv_localstatedir): New substituted variable.
32545         * configure: Regenerated.
32546         * config.make.in (localstatedir): New variable, substituted from
32547         libc_cv_localstatedir.
32548         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32549         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32550         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32551         * sysdeps/gnu/configure: Regenerated.
32552
32553 2012-06-21  Jeff Law  <law@redhat.com>
32554
32555         [BZ #14277]
32556         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32557         free.  Simplify list management for _LIBC case.
32558
32559 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32560
32561         [BZ #14273]
32562         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32563         Clear sign bit of 64-bit integer value before comparing against
32564         overflow value.
32565
32566         * sysdeps/mach/configure: Regenerated.
32567
32568 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32569
32570         [BZ #14278]
32571         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32572
32573 2012-06-21  Jeff Law  <law@redhat.com>
32574
32575         [BZ #13882]
32576         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32577         uint16_t for elements in the "seen" array to avoid char overflows.
32578         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32579         * elf/dl-open.c (dl_open_worker): Likewise.
32580
32581 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32582
32583         * scripts/list-sources.sh: Scan PORTS for translations.
32584         * po/libc.pot: Regenerated.
32585
32586 2012-06-21  Andreas Jaeger  <aj@suse.de>
32587
32588         [BZ #12194]
32589         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32590         warning.
32591         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32592         * bits/byteswap-16.h (__bswap_16): Likewise.
32593         * bits/byteswap.h (__bswap_constant_16): Likewise.
32594
32595 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32596
32597         [BZ #14117]
32598         * sysdeps/i386/fpu_control.h: Removed.
32599         * sysdeps/x86_64/fpu_control.h: Moved to ...
32600         * sysdeps/x86/fpu_control.h: Here.
32601
32602         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32603         (_FPU_SETCW): Likewise.
32604
32605 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32606
32607         [BZ #14117]
32608         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32609         * sysdeps/x86/fpu/bits/mathinline.h: This.
32610         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32611
32612         [BZ #14050]
32613         [BZ #14117]
32614         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32615         functions if __x86_64__ is defined.
32616
32617 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32618
32619         * string/endian.h: Add !__ASSEMBLER__ condition for including
32620         conversion interfaces.
32621
32622 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32623
32624         [BZ #14241]
32625         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32626         of ABS(x) in calculating zero to negative powers other than odd
32627         integers.
32628         * math/libm-test.inc (pow_test): Add more tests.
32629
32630 2012-06-15  Andreas Jaeger  <aj@suse.de>
32631
32632         * manual/contrib.texi (Contributors): Update entry of Liubov
32633         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32634         Machado Filho.
32635
32636 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32637
32638         * string/string.h: Add __wur to GNU version of strerror_r.
32639
32640 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32641
32642         [BZ #14229]
32643         * string/Makefile (tests): Add tst-strtok_r.
32644         * string/tst-strtok_r.c: New file.
32645         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32646         RAX_LP/RDX_LP on SAVE_PTR.
32647
32648 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32649
32650         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32651
32652 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32653
32654         * libm_test.inc (csqrt_test): Allow more spurious underflow
32655         exceptions.
32656         (j0_test): Likewise.
32657         (j1_test): Likewise.
32658         (y0_test): Likewise.
32659         (y1_test): Likewise.
32660
32661 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32662
32663         * po/Makefile (libc.pot): Use UTF-8 charset.
32664
32665 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32666
32667         [BZ #14210]
32668         Suppress sign-conversion warning from FD_SET.
32669         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32670         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32671         not unsigned long int.
32672         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32673
32674 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32675
32676         [BZ #14050]
32677         [BZ #14117]
32678         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32679         __extern_always_inline instead of __extern_inline.
32680         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32681         (__signbit): Likewise.
32682         (__signbitl): Support C++ namespace.
32683         (lrintf): New inline function.
32684         (lrint): Likewise.
32685         (llrintf): Likewise.
32686         (llrint): Likewise.
32687         (fmaxf): Likewise.
32688         (fmax): Likewise.
32689         (fminf): Likewise.
32690         (fmin): Likewise.
32691         (rint): Likewise.
32692         (rintf): Likewise.
32693         (ceil): Likewise.
32694         (ceilf): Likewise.
32695         (floor): Likewise.
32696         (floorf): Likewise.
32697         (nearbyint): Likewise.
32698         (nearbyintf): Likewise.
32699
32700 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32701
32702         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32703         non-default versions.
32704
32705 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32706
32707         [BZ #14218]
32708         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32709
32710 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32711
32712         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32713         (FE_UPWARD, FE_DOWNWARD): Don't define.
32714         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32715         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32716
32717         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32718         reading it.
32719         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32720         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32721
32722 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32723
32724         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32725         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32726         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32727         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32728
32729 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32730
32731         [BZ #14117]
32732         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32733         * sysdeps/i386/fpu/Implies: New file.
32734         * sysdeps/x86_64/fpu/Implies: Likewise.
32735         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32736         * sysdeps/x86/fpu/bits/fenv.h: This.
32737
32738         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32739         __SSE_MATH__.
32740
32741 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32742
32743         [BZ #14134]
32744         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32745         character 0xffff that matches the last element of the
32746         conversion table.
32747
32748 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32749
32750         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32751         fmodl commit.
32752
32753 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32754
32755         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32756         values higher than 25.6283.
32757
32758 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32759
32760         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32761         subnormal exponent extraction and add some __builtin_expect.
32762         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32763         Fix for subnormal mantissa calculation.
32764
32765 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32766
32767         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32768         cpu2 is -1 and errno is not ENOSYS.
32769
32770 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32771
32772         [BZ #14117]
32773         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32774         * sysdeps/x86/bits/string.h: This.
32775         * sysdeps/x86_64/bits/string.h: Removed.
32776
32777         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32778         if not compiling for x86-64, but compiling for >= i486.
32779
32780         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32781         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32782
32783         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32784         New macro from Linux kernel 3.4.0.
32785         (FP_XSTATE_MAGIC2): Likewise.
32786         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32787         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32788         (struct _fpx_sw_bytes): New struct.
32789         (struct _xsave_hdr): Likewise.
32790         (struct _ymmh_state): Likewise.
32791         (struct _xstate): Likewise.
32792
32793         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32794         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32795         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32796         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32797         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32798         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32799
32800         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32801         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32802         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32803         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32804         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32805         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32806
32807 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32808
32809         [BZ #13743]
32810         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32811         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32812         (sysdep_headers): Include sys/platform/ppc.h.
32813         * sysdeps/powerpc/test-gettimebase.c: Test for
32814         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32815         * manual/Makefile (appendices): Include platform.texi.
32816         * manual/contrib.texi (Contributors): Update @node pointers.
32817         * manual/maint.texi (Maintenance): Likewise.
32818         (Platform): New node.
32819         * manual/platform.texi: New file.  Document the new features.
32820
32821 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32822             Jakub Jelinek  <jakub@redhat.com>
32823
32824         [BZ #14188]
32825         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32826         where __builtin_expect is unavailable.
32827
32828 2012-06-03  David S. Miller  <davem@davemloft.net>
32829
32830         * stdlib/longlong.h: Updated from GCC.
32831
32832 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32833
32834         [BZ #14042]
32835         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32836         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32837         __mcount_internal.
32838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32839         (GLIBC_2.16): Likewise.
32840
32841 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32842
32843         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32844
32845 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32846
32847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32848         (default-abi): New variable.
32849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32850         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32851         variable.
32852         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32853         Likewise.
32854         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32855         Likewise.
32856         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32857         Likewise.
32858
32859         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32860         definition.  Document in comment.
32861
32862 2012-06-01  David S. Miller  <davem@davemloft.net>
32863
32864         * stdlib/longlong.h: Updated from GCC.
32865
32866 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32867
32868         [BZ #14117]
32869         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32870         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32871         sys/debugreg.h sys/io.h here.
32872         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32873         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32874         sys/io.h.
32875         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32876         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32877         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32878         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32879         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32880         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32881
32882         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32883         Define only if __x86_64__ is defined.
32884
32885 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32886
32887         [BZ #14048]
32888         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32889         Use int64_t for variable i.
32890         * math/libm-test.inc (fmod_test): Add more tests.
32891
32892         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32893         z computation is not scheduled after fetestexcept.
32894         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32895         Use math_force_eval instead of asm to ensure calculation scheduled
32896         before exception test.
32897         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32898         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32899
32900 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32901
32902         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32903         computation is not scheduled after fetestexcept.
32904
32905 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32906
32907         [BZ #14117]
32908         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32909         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32910
32911 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32912
32913         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32914         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32915
32916 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32917
32918         [BZ #14117]
32919         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32920         <bits/wordsize.h>.
32921         (__WCHAR_MIN): Support __WORDSIZE == 64.
32922         (__WCHAR_MAX): Likewise.
32923
32924         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32925         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32926
32927         [BZ #14183]
32928         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32929         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32930
32931         [BZ #14117]
32932         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32933         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32934
32935         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32936         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32937
32938         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32939         Defined to 1 if __x86_64__ isn't defined.
32940         (_STAT_VER_LINUX_OLD): New.
32941         (st_atime): Remove duplicate.
32942         (st_mtime): Likewise.
32943         (st_ctime): Likewise.
32944
32945 2012-05-31  David S. Miller  <davem@davemloft.net>
32946
32947         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32948         entries.
32949
32950 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32951
32952         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32953         gen-libm-test.pl.
32954
32955         [BZ #14132]
32956         * elf/dl-reloc.c: Include <_itoa.h>.
32957         (_dl_reloc_bad_type): Remove use of INTUSE.
32958         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32959         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32960         * stdio-common/psiginfo.c (psiginfo): Likewise.
32961         * stdio-common/psignal.c (psignal): Likewise.
32962         * string/strsignal.c (strsignal): Likewise.
32963         * include/signal.h (_sys_siglist): Declare hidden proto.
32964         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32965         INTVARDEF with libc_hidden_data_def.
32966         * stdio-common/itoa-udigits.c: Likewise.
32967         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32968         (_itoa_lower_digits_internal): Remove declaration.
32969         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32970         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32971         (_sys_sigabbrev_internal): Remove aliases.
32972         (_sys_siglist): Define hidden alias.
32973
32974 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32975
32976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32977         bits/sysctl.h.
32978
32979 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32980
32981         [BZ #14117]
32982         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32983         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32984
32985         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32986         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32987         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32988         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32989         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32990         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32991
32992         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32993         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32994         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32995
32996         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32997         with __addr.
32998         (insw): Likewise.
32999         (insl): Likewise.
33000         (outsb): Likewise.
33001         (outsw): Likewise.
33002         (outsl): Likewise.
33003
33004         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33005         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33006         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33007
33008         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33009         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33010         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33011         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33012         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33013         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33014
33015         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33016         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33017
33018         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33019         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33020
33021         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33022         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33023         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33024
33025         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33026         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33027         to ...
33028         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33029
33030         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33031         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33032         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33033
33034         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33035         for x86-64.
33036         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33037
33038 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33039
33040         * math/math.h (M_El): Use two more decimal places.
33041         (M_LOG2El): Likewise.
33042         (M_LOG10El): Likewise.
33043         (M_LN2l): Likewise.
33044         (M_LN10l): Likewise.
33045         (M_PIl): Likewise.
33046         (M_PI_2l): Likewise.
33047         (M_PI_4l): Likewise.
33048         (M_1_PIl): Likewise.
33049         (M_2_PIl): Likewise.
33050         (M_2_SQRTPIl): Likewise.
33051         (M_SQRT2l): Likewise.
33052         (M_SQRT1_2l): Likewise.
33053
33054 2012-05-31  David S. Miller  <davem@davemloft.net>
33055
33056         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33057         values between float registers.
33058         * sysdeps/sparc/sparc64/memset.S: Likewise.
33059         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33060
33061 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33062
33063         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33064         -D_FORTIFY_SOURCE=1.
33065         (CPPFLAGS-tst-longjmp_chk.c): Define.
33066         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33067         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33068         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33069         CFLAGS-tst-wchar-h.c.
33070
33071 2012-05-31  Marek Polacek  <polacek@redhat.com>
33072
33073         [BZ #14132]
33074         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33075         __endmntent_internal): Remove declaration.
33076         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33077         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33078         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33079
33080 2012-05-30  David S. Miller  <davem@davemloft.net>
33081
33082         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33083         (___Q_simulate_exceptions): Use real FP ops rather than writing
33084         into the %fsr.
33085         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33086         Likewise.
33087
33088 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33089
33090         [BZ #14117]
33091         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33092         * sysdeps/x86/bits/xtitypes.h: This.
33093
33094         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33095         * sysdeps/x86/bits/wordsize.h: This.
33096
33097         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33098         * sysdeps/x86/bits/huge_vall.h: This.
33099
33100         * sysdeps/i386/bits/select.h: Removed.
33101         * sysdeps/x86_64/bits/select.h: Renamed to ...
33102         * sysdeps/x86/bits/select.h: This.
33103
33104         * sysdeps/i386/bits/setjmp.h: Removed.
33105         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33106         * sysdeps/x86/bits/setjmp.h: This.
33107
33108         * sysdeps/i386/bits/mathdef.h: Removed.
33109         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33110         * sysdeps/x86/bits/mathdef.h: This.
33111
33112 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33113
33114         [BZ #14132]
33115         * include/sys/socket.h (__connect_internal)
33116         (__libc_sa_len_internal): Remove declaration.
33117         (__connect, __libc_sa_len): Declare hidden_proto.
33118         (SA_LEN): Remove use of INTUSE.
33119         * socket/connect.c: Add libc_hidden_def.
33120         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33121         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33122         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33123         alias.
33124         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33125         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33126         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33127         of adding _internal alias.
33128
33129 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33130
33131         [BZ #14117]
33132         * sysdeps/i386/bits/link.h: Removed.
33133         * sysdeps/i386/bits/linkmap.h: Likewise.
33134         * sysdeps/x86_64/bits/link.h: Renamed to ...
33135         * sysdeps/x86/bits/link.h: This.
33136         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33137         * sysdeps/x86/bits/linkmap.h: This.
33138
33139         * sysdeps/i386/bits/endian.h: Removed.
33140         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33141         * sysdeps/x86/bits/endian.h: This.
33142
33143         * sysdeps/i386/bits/byteswap.h: Removed.
33144         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33145         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33146         * sysdeps/x86/bits/byteswap.h: This.
33147         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33148         * sysdeps/x86/bits/byteswap-16.h: This.
33149         * sysdeps/i386/Implies: Add x86.
33150         * sysdeps/x86_64/Implies: Likewise.
33151
33152 2012-05-30  David S. Miller  <davem@davemloft.net>
33153
33154         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33155         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33156         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33157         (FP_TRAPPING_EXCEPTIONS): Define.
33158         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33159         (FP_TRAPPING_EXCEPTIONS): Define.
33160         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33161         subnormals only when inexact has been signalled or underflow
33162         exceptions are enabled.
33163         (_FP_PACK_CANONICAL): Likewise.
33164
33165 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33166
33167         [BZ #14183]
33168         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33169         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33170
33171 2012-05-30  Richard Henderson  <rth@twiddle.net>
33172
33173         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33174         with #ifndef NOT_IN_libc.
33175
33176         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33177         marked to avoid plt entry.
33178
33179 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33180
33181         [BZ #14112]
33182         * Makeconfig (default-abi): New macro.
33183         (abi-includes): Likewise.
33184         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33185         $(abi-$(default-abi)-lib-soname) for soname if defined.
33186         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33187         abi-variants.
33188         * Makefile (installed-stubs): Likewise.
33189         * include/stubs-biarch.h: Removed.
33190         * scripts/lib-names.awk: Only handle one library at a time.
33191         * scripts/soversions.awk: Remove WORDSIZE support.
33192         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33193         entries.
33194         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33195         Removed.
33196         (syscall-list-default-condition): Likewise.
33197         (syscall-list-default-condition): Likewise.
33198         (syscall-list-includes): Likewise.
33199         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33200         syscall-list-* with abi-*.  Handle undefined abi-variants.
33201         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33202         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33203         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33204         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33205         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33206         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33207         Removed.
33208         (syscall-list-32-options): Likewise.
33209         (syscall-list-32-condition): Likewise.
33210         (syscall-list-64-options): Likewise.
33211         (syscall-list-64-condition): Likewise.
33212         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33213         macro.
33214         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33215         Renamed to ...
33216         (abi-*): This.
33217         (abi-64-ld-soname): New macro.
33218         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33219         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33220         Renamed to ...
33221         (abi-*): This.
33222         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33223         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33224
33225 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33226
33227         * sysdeps/unix/sysv/linux/kernel-features.h
33228         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33229         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33230         include <kernel-features.h>.
33231         [!__NR_ftruncate64]: Remove conditional code.
33232         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33233         [__NR_ftruncate64]: Make code unconditional.
33234         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33235         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33236         include <kernel-features.h>.
33237         [!__NR_ftruncate64]: Remove conditional code.
33238         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33239         [__NR_ftruncate64]: Make code unconditional.
33240         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33242         include <kernel-features.h>.
33243         [!__NR_ftruncate64]: Remove conditional code.
33244         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33245         [__NR_ftruncate64]: Make code unconditional.
33246         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33248         include <kernel-features.h>.
33249         [!__NR_ftruncate64]: Remove conditional code.
33250         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33251         [__NR_ftruncate64]: Make code unconditional.
33252         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33253
33254         * configure.in (libc_cv_fpie): Weaken to a compile test using
33255         LIBC_TRY_CC_OPTION.
33256         * configure: Regenerated.
33257
33258 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33259
33260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33264         Refreshed.
33265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33271         Refreshed.
33272
33273 2012-05-27  David S. Miller  <davem@davemloft.net>
33274
33275         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33276         (___Q_zero): New.
33277         (__Q_simulate_exceptions): Return void.  Change to simulate
33278         exceptions by writing into the %fsr.
33279         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33280         (__Qp_handle_exceptions): Likewise.
33281         (numbers): Delete.
33282         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33283         __Qp_handle_exceptions.
33284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33285         __Qp_handle_exceptions.
33286         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33287         as unused and give dummy FP_RND_NEAREST initializer.
33288         (FP_INHIBIT_RESULTS): Define.
33289         (___Q_simulate_exceptions): Update declaration.
33290         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33291         formatting.
33292         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33293         as unused and give dummy FP_RND_NEAREST initializer.
33294         (__Qp_handle_exceptions): Update declaration.
33295         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33296         formatting.
33297
33298 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33299
33300         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33301         the temporary FPU control word.
33302         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33303         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33304         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33305         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33306         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33307         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33308         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33309         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33310         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33311         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33312         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33313
33314 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33315
33316         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33317         fields.
33318
33319 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33320
33321         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33322         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33323         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33324         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33325         Likewise.
33326         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33327         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33328         Likewise.
33329
33330 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33331
33332         * po/h.po: Update from translation team.
33333
33334 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33335
33336         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33337
33338         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33339         handling of denormals.
33340         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33341         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33342         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33343         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33344         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33345         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33346         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33347         Likewise.
33348
33349 2012-05-26  Marek Polacek  <polacek@redhat.com>
33350
33351         [BZ #14152]
33352         * math/libm-test.inc (fma_test): Don't always expect underflow
33353         exception.
33354
33355 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33356
33357         [BZ #12416]
33358         * elf/tst-execstack.c: Include stackinfo.h.
33359         (do_test): Adjust test case to ensure that pthread_getattr_np
33360         behaviour remains the same after marking stack executable.
33361
33362 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33363
33364         * sysdeps/unix/sysv/linux/kernel-features.h
33365         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33366         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33367         kernel-features.h.
33368         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33369         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33370         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33371         kernel-features.h.
33372         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33373         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33374
33375 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33376
33377         * configure.in: Define the default includes to being none.
33378         * configure: Regenerated.
33379
33380 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33381
33382         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33383         * sysdeps/x86_64/setjmp.S: Likewise.
33384         * sysdeps/i386/bsd-setjmp.S: Likewise.
33385         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33386         * sysdeps/i386/setjmp.S: Likewise.
33387         * sysdeps/i386/__longjmp.S: Likewise.
33388         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33389         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33390
33391         * include/stap-probe.h: New file.
33392         * configure.in: Handle --enable-systemtap.
33393         * configure: Regenerated.
33394         * config.h.in (USE_STAP_PROBE): New #undef.
33395         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33396         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33397         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33398
33399 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33400
33401         [BZ #13717]
33402         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33403         to 2.4.0 where earlier.
33404         * sysdeps/unix/sysv/linux/configure: Regenerated.
33405         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33406         <kernel-features.h>.
33407         [__ASSUME_32BITUIDS]: Make code unconditional.
33408         [!__ASSUME_32BITUIDS]: Remove conditional code.
33409         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33410         <kernel-features.h>.
33411         [__ASSUME_32BITUIDS]: Make code unconditional.
33412         [!__ASSUME_32BITUIDS]: Remove conditional code.
33413         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33414         [__ASSUME_32BITUIDS]: Make code unconditional.
33415         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33416         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33417         <kernel-features.h>.
33418         [__ASSUME_32BITUIDS]: Make code unconditional.
33419         [!__ASSUME_32BITUIDS]: Remove conditional code.
33420         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33421         <kernel-features.h>.
33422         [__ASSUME_32BITUIDS]: Make code unconditional.
33423         [!__ASSUME_32BITUIDS]: Remove conditional code.
33424         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33425         <kernel-features.h>.
33426         [__ASSUME_32BITUIDS]: Make code unconditional.
33427         [!__ASSUME_32BITUIDS]: Remove conditional code.
33428         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33429         <kernel-features.h>.
33430         [__ASSUME_32BITUIDS]: Make code unconditional.
33431         [!__ASSUME_32BITUIDS]: Remove conditional code.
33432         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33433         <kernel-features.h>.
33434         [__ASSUME_32BITUIDS]: Make code unconditional.
33435         [!__ASSUME_32BITUIDS]: Remove conditional code.
33436         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33437         <kernel-features.h>.
33438         [__ASSUME_32BITUIDS]: Make code unconditional.
33439         [!__ASSUME_32BITUIDS]: Remove conditional code.
33440         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33441         <kernel-features.h>.
33442         [__ASSUME_32BITUIDS]: Make code unconditional.
33443         [!__ASSUME_32BITUIDS]: Remove conditional code.
33444         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33445         <kernel-features.h>.
33446         [__ASSUME_32BITUIDS]: Make code unconditional.
33447         [!__ASSUME_32BITUIDS]: Remove conditional code.
33448         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33449         <kernel-features.h>.
33450         [__ASSUME_32BITUIDS]: Make code unconditional.
33451         [!__ASSUME_32BITUIDS]: Remove conditional code.
33452         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33453         <kernel-features.h>.
33454         [__ASSUME_32BITUIDS]: Make code unconditional.
33455         [!__ASSUME_32BITUIDS]: Remove conditional code.
33456         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33457         <kernel-features.h>.
33458         [__NR_setresgid] (__setresgid): Do not declare.
33459         [__ASSUME_32BITUIDS]: Make code unconditional.
33460         [!__ASSUME_32BITUIDS]: Remove conditional code.
33461         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33462         <kernel-features.h>.
33463         [__NR_setresuid] (__setresuid): Do not declare.
33464         [__ASSUME_32BITUIDS]: Make code unconditional.
33465         [!__ASSUME_32BITUIDS]: Remove conditional code.
33466         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.c: Do not include
33499         <kernel-features.h>.
33500         [__ASSUME_32BITUIDS]: Make code unconditional.
33501         [!__ASSUME_32BITUIDS]: Remove conditional code.
33502         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33503         <kernel-features.h>.
33504         [__ASSUME_32BITUIDS]: Make code unconditional.
33505         [!__ASSUME_32BITUIDS]: Remove conditional code.
33506         * sysdeps/unix/sysv/linux/kernel-features.h
33507         (__ASSUME_SETRESUID_SYSCALL): Remove.
33508         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33509         (__ASSUME_32BITUIDS): Likewise.
33510         (__ASSUME_LDT_WORKS): Likewise.
33511         (__ASSUME_O_DIRECTORY): Likewise.
33512         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33513         architecture but not kernel version.
33514         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33515         (__ASSUME_MMAP2_SYSCALL): Likewise.
33516         (__ASSUME_STAT64_SYSCALL): Likewise.
33517         (__ASSUME_IPC64): Likewise.
33518         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33519         <kernel-features.h>.
33520         [__ASSUME_32BITUIDS]: Make code unconditional.
33521         [!__ASSUME_32BITUIDS]: Remove conditional code.
33522         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33523         <kernel-features.h>.
33524         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33525         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33526         132096]: Remove conditional code.
33527         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33528         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
33537         <kernel-features.h>.
33538         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33539         unconditional.
33540         (__setresgid): Do not declare.
33541         [__ASSUME_32BITUIDS]: Make code unconditional.
33542         [!__ASSUME_32BITUIDS]: Remove conditional code.
33543         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33544         <kernel-features.h>.
33545         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33546         unconditional.
33547         (__setresuid): Do not declare.
33548         [__ASSUME_32BITUIDS]: Make code unconditional.
33549         [!__ASSUME_32BITUIDS]: Remove conditional code.
33550         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33551         <kernel-features.h>.
33552         [__ASSUME_32BITUIDS]: Make code unconditional.
33553         [!__ASSUME_32BITUIDS]: Remove conditional code.
33554         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33555         <kernel-features.h>.
33556         [__ASSUME_32BITUIDS]: Make code unconditional.
33557         [!__ASSUME_32BITUIDS]: Remove conditional code.
33558
33559 2012-05-25  Richard Henderson  <rth@twiddle.net>
33560
33561         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33562         dl_hwcap to ifunc resolver.
33563         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33564         elf_ifunc_invoke.
33565         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33566         dl_hwcap to ifunc resolver.
33567         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33568
33569 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33570
33571         [BZ #14153]
33572         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33573         for |x| <= 2**-26, not 2**-57.
33574         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33575         exception.
33576
33577 2012-05-24  Jeff Law  <law@redhat.com>
33578
33579         * stdio-common/Makefile (tests): Add bug25.
33580         * stdio-common/bug25.c: New test.
33581
33582 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33583
33584         [BZ #13576]
33585         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33586         multiple of MALLOC_ALIGNMENT in size.
33587         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33588
33589 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33590
33591         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33592         Require >= 256.
33593         (FILENAME_MAX): Use macro-int-constant.
33594         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33595         (_IOFBF): Use macro-int-constant.
33596         (_IOLBF): Likewise.
33597         (_IONBF): Likewise.
33598         (SEEK_CUR): Likewise.
33599         (SEEK_END): Likewise.
33600         (SEEK_SET): Likewise.
33601         (TMP_MAX): Likewise.
33602         (EOF): Use macro-int-constant.  Require < 0.
33603         (NULL): Use macro-constant.  Require == 0.
33604         (stdin): Require type to be FILE *.
33605         (stdout): Likewise.
33606         (stderr): Likewise.
33607         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33608         macro-int-constant.
33609         (EXIT_SUCCESS): Likewise.
33610         (NULL): Use macro-constant.  Require == 0.
33611         (RAND_MAX): Use macro-int-constant.
33612         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33613         [C99-based standards] (strtof): Require function.
33614         [C99-based standards] (strtold): Likewise.
33615         [C99-based standards] (strtoll): Likewise.
33616         [C99-based standards] (strtoull): Likewise.
33617         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33618         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33619         [ISO || ISO99 || ISO11] (math.h): Likewise.
33620         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33621         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33622         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33623
33624 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33625
33626         [BZ #14132]
33627         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33628         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33629         * intl/dgettext.c (DCGETTEXT): Likewise.
33630         * intl/gettext.c (DCGETTEXT): Likewise.
33631         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33632         * posix/regex_internal.h (gettext): Likewise.
33633         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33634         Remove declaration.
33635         * include/argz.h (__argz_count_internal)
33636         (__argz_stringify_internal): Remove declaration.
33637         (__argz_count, __argz_stringify): Declare hidden proto.
33638         * intl/dcgettext.c: Remove use of INTDEF.
33639         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33640         * string/argz-stringify.c: Likewise.
33641         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33642         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33643         Declare hidden proto.
33644         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33645         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33646         Declare hidden proto.
33647         * include/stdio.h (__asprintf_internal): Don't declare.
33648         (__asprintf): Don't define as macro.  Declare hidden proto.
33649         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33650         (__fsetlocking): Declare hidden proto.
33651         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33652         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33653         hidden proto.
33654         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33655         (_IO_setlinebuf): Remove use of INTUSE.
33656         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33657         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33658         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33659         Remove declaration.
33660         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33661         (_IO_do_flush): Remove use of INTUSE.
33662         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33663         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33664         (_IO_adjust_column, _IO_least_wmarker)
33665         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33666         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33667         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33668         (_IO_default_doallocate, _IO_wdefault_doallocate)
33669         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33670         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33671         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33672         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33673         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33674         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33675         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33676         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33677         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33678         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33679         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33680         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33681         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33682         proto.
33683         (_IO_flush_all_internal, _IO_adjust_column_internal)
33684         (_IO_default_uflow_internal, _IO_default_finish_internal)
33685         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33686         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33687         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33688         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33689         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33690         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33691         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33692         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33693         (_IO_file_close_internal, _IO_file_close_it_internal)
33694         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33695         (_IO_file_init_internal, _IO_file_attach_internal)
33696         (_IO_file_fopen_internal, _IO_file_read_internal)
33697         (_IO_file_sync_internal, _IO_file_seek_internal)
33698         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33699         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33700         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33701         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33702         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33703         (_IO_list_all_internal, _IO_link_in_internal)
33704         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33705         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33706         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33707         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33708         (_IO_do_write_internal, _IO_padn_internal)
33709         (_IO_getline_info_internal, _IO_getline_internal)
33710         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33711         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33712         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33713         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33714         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33715         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33716         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33717         with libc_hidden_ver, remove use of INTUSE.
33718         * libio/genops.c: Likewise.
33719         * libio/freopen.c: Likewise.
33720         * libio/freopen64.c: Likewise.
33721         * libio/iofclose.c: Likewise.
33722         * libio/iofdopen.c: Likewise.
33723         * libio/iofflush.c: Likewise.
33724         * libio/iofflush_u.c: Likewise.
33725         * libio/iofgets.c: Likewise.
33726         * libio/iofgets_u.c: Likewise.
33727         * libio/iofopen.c: Likewise.
33728         * libio/iofopncook.c: Likewise.
33729         * libio/iofread.c: Likewise.
33730         * libio/iofread_u.c: Likewise.
33731         * libio/ioftell.c: Likewise.
33732         * libio/iofwrite.c: Likewise.
33733         * libio/iogetline.c: Likewise.
33734         * libio/iogets.c: Likewise.
33735         * libio/iogetwline.c: Likewise.
33736         * libio/iopadn.c: Likewise.
33737         * libio/iopopen.c: Likewise.
33738         * libio/ioseekoff.c: Likewise.
33739         * libio/ioseekpos.c: Likewise.
33740         * libio/iosetbuffer.c: Likewise.
33741         * libio/iosetvbuf.c: Likewise.
33742         * libio/ioungetc.c: Likewise.
33743         * libio/ioungetwc.c: Likewise.
33744         * libio/iovdprintf.c: Likewise.
33745         * libio/iovsprintf.c: Likewise.
33746         * libio/iovsscanf.c: Likewise.
33747         * libio/memstream.c: Likewise.
33748         * libio/obprintf.c: Likewise.
33749         * libio/oldfileops.c: Likewise.
33750         * libio/oldiofclose.c: Likewise.
33751         * libio/oldiofdopen.c: Likewise.
33752         * libio/oldiofopen.c: Likewise.
33753         * libio/oldiopopen.c: Likewise.
33754         * libio/oldstdfiles.c: Likewise.
33755         * libio/putc.c: Likewise.
33756         * libio/setbuf.c: Likewise.
33757         * libio/setlinebuf.c: Likewise.
33758         * libio/stdfiles.c: Likewise.
33759         * libio/strops.c: Likewise.
33760         * libio/vasprintf.c: Likewise.
33761         * libio/vscanf.c: Likewise.
33762         * libio/vsnprintf.c: Likewise.
33763         * libio/vswprintf.c: Likewise.
33764         * libio/wfiledoalloc.c: Likewise.
33765         * libio/wfileops.c: Likewise.
33766         * libio/wgenops.c: Likewise.
33767         * libio/wmemstream.c: Likewise.
33768         * libio/wstrops.c: Likewise.
33769         * libio/__fpurge.c: Likewise.
33770         * libio/__fsetlocking.c: Likewise.
33771         * assert/assert.c: Likewise.
33772         * debug/fgets_chk.c: Likewise.
33773         * debug/fgets_u_chk.c: Likewise.
33774         * debug/fread_chk.c: Likewise.
33775         * debug/fread_u_chk.c: Likewise.
33776         * debug/gets_chk.c: Likewise.
33777         * debug/obprintf_chk.c: Likewise.
33778         * debug/vasprintf_chk.c: Likewise.
33779         * debug/vdprintf_chk.c: Likewise.
33780         * debug/vsnprintf_chk.c: Likewise.
33781         * debug/vsprintf_chk.c: Likewise.
33782         * malloc/mtrace.c: Likewise.
33783         * misc/error.c: Likewise.
33784         * misc/syslog.c: Likewise.
33785         * stdio-common/asprintf.c: Likewise.
33786         * stdio-common/fxprintf.c: Likewise.
33787         * stdio-common/getw.c: Likewise.
33788         * stdio-common/isoc99_fscanf.c: Likewise.
33789         * stdio-common/isoc99_scanf.c: Likewise.
33790         * stdio-common/isoc99_vfscanf.c: Likewise.
33791         * stdio-common/isoc99_vscanf.c: Likewise.
33792         * stdio-common/isoc99_vsscanf.c: Likewise.
33793         * stdio-common/printf-prs.c: Likewise.
33794         * stdio-common/printf_fp.c: Likewise.
33795         * stdio-common/printf_fphex.c: Likewise.
33796         * stdio-common/printf_size.c: Likewise.
33797         * stdio-common/putw.c: Likewise.
33798         * stdio-common/scanf.c: Likewise.
33799         * stdio-common/sprintf.c: Likewise.
33800         * stdio-common/tmpfile.c: Likewise.
33801         * stdio-common/vfprintf.c: Likewise.
33802         * stdio-common/vfscanf.c: Likewise.
33803         * stdlib/strfmon_l.c: Likewise.
33804         * sunrpc/openchild.c: Likewise.
33805         * sunrpc/xdr_stdio.c: Likewise.
33806         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33807         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33808
33809 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33810
33811         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33812
33813         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33814         in the third column, to generate for the shared library an IFUNC
33815         that uses _dl_vdso_vsym.
33816         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33817         * Makeconfig (object-suffixes-noshared): New variable.
33818
33819         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33820         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33821         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33822         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33823
33824         [BZ #14132]
33825         * include/sys/time.h (__gettimeofday): Remove macro.
33826         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33827         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33828         Remove INTDEF.
33829         (__gettimeofday): Add libc_hidden_def.
33830         (gettimeofday): Add libc_hidden_weak.
33831         * sysdeps/mach/gettimeofday.c: Likewise.
33832         * sysdeps/posix/gettimeofday.c: Likewise.
33833         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33834         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33835         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33836         (__gettimeofday_internal): Remove strong_alias.
33837         (__gettimeofday): Add libc_hidden_def.
33838         (gettimeofday): Add libc_hidden_weak.
33839         * sysdeps/unix/syscalls.list (gettimeofday):
33840         Remove __gettimeofday_internal alias.
33841
33842 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33843             H.J. Lu  <hongjiu.lu@intel.com>
33844
33845         [BZ #12495]
33846         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33847         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33848         (largebin_index_32_big): New.
33849         (largebin_index): Use it for 16-byte alignment.
33850         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33851         correction with front_misalign.
33852
33853 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33854
33855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33857         Likewise.
33858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33859         Likewise.
33860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33861         Likewise.
33862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33863         Likewise.
33864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33865         Likewise.
33866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33867         Likewise.
33868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33869         Likewise.
33870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33871         Likewise.
33872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33873         Likewise.
33874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33875         Likewise.
33876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33877         Likewise.
33878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33879         Likewise.
33880
33881         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33882         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33883
33884 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33885
33886         [BZ #10846]
33887         [BZ #14036]
33888         * math/libm-test.inc (exp_test): Add test from bug 14036.
33889         (pow_test): Add test from bug 10846.
33890
33891         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33892         and other flags.
33893         (special_function): Do not include flags in test name.
33894         (parse_args): Likewise.
33895         * sysdeps/i386/fpu/libm-test-ulps: Update.
33896         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33897         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33898         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33900
33901         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33902         exceptions.
33903         * math/libm-test.inc ("Philosophy"): Update comment about
33904         exception testing.
33905         (UNDERFLOW_EXCEPTION): New macro.
33906         (UNDERFLOW_EXCEPTION_OK): Likewise.
33907         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33908         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33909         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33910         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33911         (INVALID_EXCEPTION_OK): Update value.
33912         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33913         (OVERFLOW_EXCEPTION_OK): Likewise.
33914         (IGNORE_ZERO_INF_SIGN): Likewise.
33915         (test_exceptions): Handle underflow exceptions.
33916         (acos_test): Update for underflow exception expectations.
33917         (cexp_test): Likewise.
33918         (clog_test): Likewise.
33919         (clog10_test): Likewise.
33920         (csqrt_test): Likewise.
33921         (ctan_test): Likewise.
33922         (ctanh_test): Likewise.
33923         (exp_test): Likewise.
33924         (exp10_test): Likewise.
33925         (exp2_test): Likewise.
33926         (expm1_test): Likewise.
33927         (fma_test): Likewise.
33928         (j0_test): Likewise.
33929         (jn_test): Likewise.
33930         (nexttoward_test): Likewise.
33931         (pow_test): Likewise.
33932         (scalbn_test): Likewise.
33933         (scalbln_test): Likewise.
33934         (tan_test): Likewise.
33935         (y1_test): Likewise.
33936         * sysdeps/i386/fpu/libm-test-ulps: Update.
33937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33938
33939 2012-05-23  David S. Miller  <davem@davemloft.net>
33940
33941         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33942         (__libc_sigaction): Remove unused local variables.
33943
33944 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33945
33946         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33947
33948 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33949
33950         mktime: avoid signed integer overflow
33951         * time/mktime.c (__mktime_internal): Do not mishandle the case
33952         where diff == INT_MIN.
33953
33954         mktime: simplify computation of average
33955         * time/mktime.c (ranged_convert): Use new time_t_avg function
33956         instead of rolling our own (probably-slower) code.
33957
33958         mktime: do not assume signed right shift propagates sign bit
33959         * time/mktime.c (isdst_differ): New static function.
33960         (__mktime_internal): No need to normalize tm_isdst now.
33961         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33962         tm_isdst values.
33963
33964         mktime: merge another wrapv change from gnulib
33965         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33966         from some compilers.
33967
33968         mktime: remove incorrect attempt at unusual arithmetics
33969         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33970         The code didn't really work on such machines anyway.
33971         (TYPE_MINIMUM): Assume two's complement.
33972         (twos_complement_arithmetic): Verify that long_int and time_t
33973         are two's complement (or unsigned, in the latter case).
33974
33975         mktime: check signed shifts on long_int and time_t, too
33976         * time/mktime.c (SHR): Check that shifts work as desired
33977         on the types long_int and time_t too, as SHR is used on
33978         such types.
33979
33980         mktime: do not assume 'long' is wide enough
33981         * time/mktime.c (verify): Move decl up.
33982         (long_int): New type.
33983         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33984         to remove assumption in the code that 'long' is wide enough to
33985         store year values.  This assumption is not true on x32 and on
33986         some non-glibc platforms.
33987
33988         mktime: merge wrapv change from gnulib
33989         * time/mktime.c (WRAPV): New macro.
33990         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33991         (guess_time_tm, __mktime_internal): Do not assume that signed
33992         integer overflow wraps around; modern compilers generate code
33993         where this assumption is no longer valid.
33994
33995 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33996
33997         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33998         Replace "jmp L(pseudo_end)" with "ret".
33999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34000         Likewise.
34001
34002 2012-05-23  Andreas Jaeger  <aj@suse.de>
34003
34004         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34005         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34006
34007 2012-05-23  Andreas Jaeger  <aj@suse.de>
34008             Maximilian Attems  <max@stro.at>
34009
34010         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34011         New macros.
34012
34013 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34014
34015         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34016         code so that pseudo_end is just ret and the stack pointer is
34017         correct also for static library in error case.
34018
34019 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34020
34021         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34022         move to syscalls.list.
34023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34027
34028         * manual/install.texi (Running make install): Do not mention Linux
34029         kernel version for which pt_chown is not needed.
34030         (Linux): Do not mention problems with nscd with 2.0 kernels.
34031         * INSTALL: Regenerated.
34032
34033 2012-05-23  Andreas Jaeger  <aj@suse.de>
34034
34035         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34036         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34037         macro.
34038         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34039         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34040         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34041         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34042         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34043         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34044         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34045         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34046         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34047         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34048         * sysdeps/unix/sysv/linux/bits/in.h
34049         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34050
34051 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34052
34053         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34054         (PREPARE_VERSION): Just use assert instead, it will be elided
34055         under [NDEBUG] anyway.
34056
34057 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34058
34059         * sysdeps/unix/sysv/linux/Makefile: Include
34060         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34061         (sysdep_routines): Remove sysctl.
34062         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34063         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34064         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34065         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34066         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34067
34068 2012-05-22  Andreas Jaeger  <aj@suse.de>
34069
34070         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34071         that pseudo_end is just ret and the stack pointer is correct also
34072         for static library in error case.
34073
34074 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34075
34076         [BZ #14122]
34077         * nss/nsswitch.c (defconfig_entries): New variable.
34078         (__nss_database_lookup): Don't leak defconfig entries.
34079         (nss_parse_service_list): Don't leak on error paths.
34080         (free_database_entries): New function.
34081         (free_defconfig): New function.
34082         (free_mem): Move common code to free_database_entries.
34083
34084 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34085
34086         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34087         Add arch_prctl.
34088         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34089
34090         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34091         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34093         New macro.
34094         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34095         (INTERNAL_SYSCALL_TYPES): Likewise.
34096         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34097         (LOAD_REGS_TYPES_[1-6]): Likewise.
34098         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34099         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34100
34101 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34102
34103         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34104         copysignl for GLIBC_2_0.
34105         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34106         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34107         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34108         logbl for GLIBC_2_0.
34109         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34110         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34111
34112 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34113
34114         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34115         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34116
34117         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34118         Use "neg %eax".
34119
34120         * time/mktime.c: Update copyright years.
34121
34122 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34123
34124         mktime: merge comment-quoting-style change from gnulib
34125         * time/mktime.c: Quote 'like this' in comments.
34126         The GNU coding standards suggest that we no longer quote `like this',
34127         as "`" and "'" are typically rendered asymmetrically nowadays.
34128         The typical gnulib style is to quote 'like this' when quoting
34129         code, and "like this" when quoting English.
34130
34131         * time/mktime.c (compile-command): Add "-I.".
34132
34133         mktime: merge mktime-internal.h change from gnulib
34134         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34135
34136         mktime: merge time_r change from gnulib
34137         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34138
34139         mktime: merge DEBUG change from gnulib
34140         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34141         case system <time.h> has a #define.
34142
34143         mktime: merge <sys/types.h> change from gnulib
34144         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34145         since <time.t> is now guaranteed to define time_t.
34146
34147         mktime: merge HAVE_CONFIG_H change from gnulib
34148         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34149
34150 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34151
34152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34153         Use "neg %eax".
34154
34155         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34156         __rlim_t cast.
34157         (struct rusage): Use anonymous union to pad each field to
34158         __syscall_slong_t.
34159
34160 2012-05-21  David S. Miller  <davem@davemloft.net>
34161
34162         * Makefules (o-iterator): Remove .s cases.
34163         (compile-command.s): Delete.
34164         (COMPILE.s): Delete.
34165         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34166
34167 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34168
34169         * configure.in (libc_cv_predef_stack_protector): Only consider
34170         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34171         * configure: Regenerated.
34172
34173 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34174
34175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34176         New macro.  Use R*LP on int and pointer.
34177         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34178         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34179         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34180         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34181
34182         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34183         [__WORDSIZE_TIME64_COMPAT32] instead of
34184         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34185         (struct utmp): Likewise.
34186         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34187         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34188         Renamed to ...
34189         (__WORDSIZE_TIME64_COMPAT32): This.
34190         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34191         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34192         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34193         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34194         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34195         (__WORDSIZE_TIME64_COMPAT32): New macro.
34196
34197 2012-05-21  Andreas Jaeger  <aj@suse.de>
34198
34199         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34200         only if [SHARED]. Add prototype for __wcschr_ia32.
34201
34202 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34203
34204         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34205         of %rbp unmolested in the jmp_buf while mangling the low bits.
34206         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34207         unmolested high bits of %rbp while demangling the low bits.
34208         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34209
34210 2012-05-21  Andreas Jaeger  <aj@suse.de>
34211
34212         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34213         * sunrpc/svc_simple.c: Use it for registerrpc.
34214         * sunrpc/xcrypt.c: Use it for passwd2des.
34215
34216         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34217
34218 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34219
34220         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34221         Don't define if [__SYSCALL_WORDSIZE != 32].
34222         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34223         New macro.
34224
34225 2012-05-21  Bruno Haible  <bruno@clisp.org>
34226             Andreas Jaeger  <aj@suse.de>
34227
34228         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34229         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34230         inptr and inend for must_buffer_ch.
34231         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34232         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34233         * stdio-common/Makefile (tests): Remove bug15.
34234         (bug15-ENV): Remove macro.
34235         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34236         anymore.
34237
34238 2012-05-19  Andreas Jaeger  <aj@suse.de>
34239             Roland McGrath  <roland@hack.frob.com>
34240
34241         * manual/contrib.texi: Completely rewritten. It contains now an
34242         alphabetical list of contributors and their contributions.
34243
34244 2012-05-21  Richard Henderson  <rth@twiddle.net>
34245
34246         * misc/getauxval.c (__getauxval): Use unsigned long int.
34247         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34248         (getauxval): Use unsigned long int.
34249
34250 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34251
34252         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34253
34254 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34255
34256         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34257         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34258         __alignof__ (long double).
34259
34260 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34261
34262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34263
34264 2012-05-20  Richard Henderson  <rth@twiddle.net>
34265
34266         * misc/getauxval.c: New file.
34267         * misc/sys/auxv.h: New file.
34268         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34269         (routines): Add getauxval.
34270         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34271         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34272         * elf/dl-sysdep.c (_dl_auxv): Remove.
34273         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34274         * elf/dl-support.c (_dl_auxv): New variable.
34275         (_dl_aux_init): Initialize it.
34276         * manual/startup.texi (Auxiliary Vector): New node.
34277         * sysdeps/generic/bits/hwcap.h: New file.
34278         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34279         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34280         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34281         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34282         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34283         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34285         Update.
34286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34289         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34294
34295 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34296
34297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34298
34299 2012-05-19  David S. Miller  <davem@davemloft.net>
34300
34301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34302
34303 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34304
34305         [BZ #14123]
34306         * math/s_ccosh.c: Include <float.h>
34307         (__ccosh): Avoid internal overflow calculating sinh and cosh
34308         values before multiplying by sin and cos values.
34309         * math/s_ccoshf.c: Likewise.
34310         * math/s_ccoshl.c: Likewise.
34311         * math/s_csin.c: Likewise.
34312         * math/s_csinf.c: Likewise.
34313         * math/s_csinl.c: Likewise.
34314         * math/s_csinh.c: Likewise.
34315         * math/s_csinhf.c: Likewise.
34316         * math/s_csinhl.c: Likewise.
34317         * math/libm-test.inc (ccos_test): Add more tests.
34318         (ccosh_test): Likewise.
34319         (csin_test): Likewise.
34320         (csinh_test): Likewise.
34321         * sysdeps/i386/fpu/libm-test-ulps: Update.
34322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34323
34324 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34325
34326         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34327         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34328
34329         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34330
34331 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34332
34333         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34334         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34335         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34336         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34337         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34338         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34339         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34340         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34341         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34342         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34343         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34344         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34345         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34346         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34347         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34348         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34349         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34350         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34351         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34352         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34353         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34354         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34355         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34356         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34357         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34358         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34359         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34360         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34361         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34362         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34363         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34364
34365 2012-05-18  Andreas Jaeger  <aj@suse.de>
34366
34367         * csu/.gitignore: Delete.
34368
34369 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34370
34371         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34372         (timex): Use __syscall_slong_t.
34373
34374 2012-05-18  Andreas Jaeger  <aj@suse.de>
34375             Carlos O'Donell  <carlos_odonell@mentor.com>
34376
34377         * manual/install.texi (Configuring and compiling): Update
34378         description about files modified in the source directory.
34379         * INSTALL: Regenerated.
34380
34381 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34382
34383         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34384         value.  Use "or" to set return value to -1.
34385         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34386         negate return value.
34387
34388 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34389
34390         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34391         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34392         failure if the compiler has Graphite support disabled.
34393         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34394         Likewise.
34395         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34396         (CFLAGS-memmove.c): Likewise.
34397         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34398         Likewise.
34399
34400 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34401
34402         * sysdeps/x86_64/x32/_itoa.h: New file.
34403
34404         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34405         getdents system call only if kernel and user dirents have the
34406         same d_ino and d_off.
34407
34408         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34409         LLONG_MAX != LONG_MAX.
34410         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34411         (_fitoa_word): Likewise.
34412
34413         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34414         years.
34415         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34416         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34417         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34418
34419         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34420         include <bits/wordsize.h>.  Check __x86_64__ instead of
34421         __WORDSIZE.
34422         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34423         if __x86_64__ is defined.  Use anonymous union on fpstate.
34424
34425         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34426         anonymous union.
34427
34428 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34429
34430         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34431         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34432         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34433         Refer to _rtld_local_ro instead of _rtld_global_ro.
34434         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34435         Likewise.
34436         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34437         Likewise.
34438         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34439         Likewise.
34440         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34441         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34442         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34443
34444         * sysdeps/powerpc/powerpc32/dl-machine.c
34445         (__elf_machine_runtime_setup) [PROF]: Don't reference
34446         _dl_prof_resolve.
34447
34448 2012-05-18  Andreas Jaeger  <aj@suse.de>
34449
34450         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34451         function only available for GCCs before 3.4 since GCC 3.4
34452         introduced a builtin.
34453         (lrint): Likewise.
34454         (llrintf): Likewise.
34455         (llrint): Likewise.
34456         (fmaxf): Likewise.
34457         (fmax): Likewise.
34458         (fminf): Likewise.
34459         (fmin): Likewise.
34460         (rint): Likewise.
34461         (rintf): Likewise.
34462         (nearbyint): Likewise.
34463         (nearbyintf): Likewise.
34464         (ceil): Likewise.
34465         (ceilf): Likewise.
34466         (floor): Likewise.
34467         (floorf): Likewise.
34468
34469 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34470
34471         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34472         on both fields and cast pointer to __syscall_ulong_t.
34473
34474         * bits/types.h (__fsword_t): New type.
34475         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34476         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34477         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34478         (__FSWORD_T_TYPE): Likewise.
34479         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34480         (__FSWORD_T_TYPE): Likewise.
34481         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34482         (__FSWORD_T_TYPE): Likewise.
34483         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34484         (__FSWORD_T_TYPE): Likewise.
34485         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34486         __SWORD_TYPE with __fsword_t.
34487         (statfs64): Likewise.
34488
34489 2012-05-17  David S. Miller  <davem@davemloft.net>
34490
34491         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34492
34493 2012-05-17  Andreas Jaeger  <aj@suse.de>
34494
34495         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34496         warning.
34497
34498 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34499
34500         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34501
34502 2012-05-17  Andreas Jaeger  <aj@suse.de>
34503
34504         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34505         when it is used.
34506
34507 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34508
34509         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34510
34511 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34512
34513         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34514         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34515
34516 2012-05-17  Andreas Jaeger  <aj@suse.de>
34517             Carlos O'Donell  <carlos_odonell@mentor.com>
34518
34519         [BZ #14059]
34520         * sysdeps/x86_64/multiarch/init-arch.h
34521         (bit_YMM_Usable): Rename to...
34522         (bit_AVX_Usable): ... this.
34523         (bit_FMA4_Usable): New macro.
34524         (bit_XMM_state): New macro.
34525         (bit_YMM_state): New macro.
34526         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34527         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34528         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34529         (CPUID_OSXSAVE): New macro.
34530         (CPUID_AVX): New macro.
34531         (CPUID_FMA4): New macro.
34532         (index_YMM_Usable): Rename to...
34533         (index_AVX_Usable): ... this.
34534         (HAS_AVX): Use HAS_ARCH_FEATURE.
34535         (HAS_FMA4): Likewise.
34536         (HAS_YMM_USABLE): Remove.
34537         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34538         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34539         are present.
34540         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34541         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34542         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34543         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34544         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34545
34546 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34547
34548         * math/libm-test.c: Support platforms without multiple rounding modes.
34549         * math/bug-nextafter.c: Support platforms without FP exceptions.
34550         * math/bug-nexttoward.c: Likewise.
34551         * math/test-fenv.c: Likewise.
34552         * math/test-misc.c: Likewise.
34553         * stdlib/bug-getcontext.c: Likewise.
34554
34555 2012-05-17  Andreas Jaeger  <aj@suse.de>
34556
34557         * manual/examples/search.c (critter_cmp): Change signature to
34558         avoid warnings.
34559         * manual/string.texi (Collation Functions): Likewise.
34560
34561 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34562
34563         * bits/types.h: Fold copyright years.
34564         * bits/typesizes.h: Likewise.
34565         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34569         * time/time.h: Likewise.
34570
34571 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34572
34573         [BZ #208]
34574         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34575         in instead of returning them.  Return void.
34576         (__libc_mallinfo): Accumulate over all arenas.
34577         (__malloc_stats): Adjust for change in int_mallinfo interface.
34578
34579 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34580
34581         [BZ #10375]
34582         * configure.in (NM): Add AC_CHECK_TOOL for it.
34583         (libc_extra_cflags): New substituted variable.
34584         Check for -fstack-protector being used implicitly.
34585         * configure: Regenerated.
34586         * config.make.in (config-extra-cflags): New variable,
34587         gets @libc_extra_cflags@.
34588         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34589
34590         [BZ #10375]
34591         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34592         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34593         * configure: Regenerated.
34594         * config.make.in (CPPUNDEFS): New substituted variable.
34595         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34596         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34597         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34598
34599 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34600
34601         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34602         (mq_attr): Use __syscall_slong_t.
34603
34604 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34605
34606         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34607         Check __x86_64__ instead of __WORDSIZE.
34608         (_STAT_VER_LINUX): Likewise.
34609         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34610         __syscall_ulong_t and __syscall_slong_t.
34611         (stat64): Likewise.
34612
34613 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34614
34615         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34616
34617 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34618
34619         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34620
34621 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34622
34623         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34624         __syscall_ulong_t.
34625
34626         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34627         include <bits/wordsize.h>.  Check __x86_64__ instead of
34628         __WORDSIZE.
34629         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34630         defined.
34631         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34632
34633         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34634         include <bits/wordsize.h>.  Check __x86_64__ instead of
34635         __WORDSIZE.
34636         (user_regs_struct): Use "__extension__ unsigned long long"
34637         instead of "unsigned long" if __x86_64__ is defined.
34638         (user): Likewise.  Pad after pointer field if __ILP32__ is
34639         defined.
34640
34641 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34642
34643         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34644         versions 5 to 9.
34645         * configure: Regenerated.
34646         * manual/install.texi (texinfo): Increase version requirement to
34647         4.5 or later.
34648         * INSTALL: Regenerated.
34649
34650         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34651
34652 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34653
34654         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34655
34656         * sysdeps/x86_64/x32/ffs.c: New file.
34657
34658         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34659         __syscall_ulong_t.
34660         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34661         defined.  Use __syscall_ulong_t.
34662         (shminfo): Use __syscall_ulong_t.
34663         (shm_info): Likewise.
34664
34665         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34666         __syscall_ulong_t.
34667
34668         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34669         <bits/wordsize.h>.
34670         (msgqnum_t): Use __syscall_ulong_t.
34671         (msglen_t): Likewise.
34672         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34673         __syscall_ulong_t.
34674
34675         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34676         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34677
34678         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34679
34680         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34681         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34682
34683         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34684         __syscall_slong_t.
34685
34686         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34687         include <bits/wordsize.h>.  Check __x86_64__ instead of
34688         __WORDSIZE.
34689
34690         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34691         "unsigned long long int" if __x86_64__ is defined.
34692         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34693
34694         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34695         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34696         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34697
34698         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34699         <stdint.h>.
34700         (GET_PC): Cast to uintptr_t first.
34701         (GET_FRAME): Likewise.
34702         (GET_STACK): Likewise.
34703
34704         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34705         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34706         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34707         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34708         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34709         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34710         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34711         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34712         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34713         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34714         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34715         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34716         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34717         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34718         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34719         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34720         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34721         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34722         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34723         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34724         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34725         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34726         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34727         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34728         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34729         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34730         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34731         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34732         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34733
34734 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34735
34736         * Makerules (+depfiles): Also collect depfiles from .oS in
34737         $(extra-objs).
34738         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34739         .oS, $(libnldbl-routines)).
34740
34741         * Makerules (native-compile-mkdep-flags): Define.
34742         * sunrpc/Makefile (extra-objs): Add $(addprefix
34743         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34744         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34745         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34746         calling $(make-target-directory).
34747
34748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34749
34750         * bits/types.h (__snseconds_t): Removed.
34751         * time/time.h (struct timespec): Replace __snseconds_t with
34752         __syscall_slong_t.
34753         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34754         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34755         Likewise.
34756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34757         (__SNSECONDS_T_TYPE): Likewise.
34758         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34759         (__SNSECONDS_T_TYPE): Likewise.
34760         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34761         (__SNSECONDS_T_TYPE): Likewise.
34762
34763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34764
34765         * sysdeps/mach/hurd/bits/typesizes.h
34766         (__SYSCALL_SLONG_TYPE): New macro.
34767         (__SYSCALL_ULONG_TYPE): Likewise.
34768
34769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34770
34771         * bits/types.h (__syscall_slong_t): New type.
34772         (__syscall_ulong_t): Likewise.
34773
34774         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34775         (__SYSCALL_ULONG_TYPE): Likewise.
34776         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34777         (__SYSCALL_SLONG_TYPE): Likewise.
34778         (__SYSCALL_ULONG_TYPE): Likewise.
34779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34780         (__SYSCALL_SLONG_TYPE): Likewise.
34781         (__SYSCALL_ULONG_TYPE): Likewise.
34782         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34783         (__SYSCALL_SLONG_TYPE): Likewise.
34784         (__SYSCALL_ULONG_TYPE): Likewise.
34785
34786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34787
34788         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34789         Add sigaltstack-offsets.sym.
34790         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34791         <sigaltstack-offsets.h>.
34792         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34793         longjmp_msg pointer.
34794         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34795         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34796         signal stack.
34797         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34798
34799 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34800
34801         * elf/stackguard-macros.h: Remove file.
34802         * sysdeps/generic/stackguard-macros.h: New file.
34803         * sysdeps/i386/stackguard-macros.h: Likewise.
34804         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34805         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34806         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34807         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34808         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34809         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34810         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34811         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34812         <elf/stackguard-macros.h>.
34813
34814         [BZ #14109]
34815         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34816         __aligned__ in attribute.
34817         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34818         (gregset_t): Likewise.
34819
34820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34821
34822         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34823         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34824         * sysdeps/x86_64/x32/Implies-after: New file.
34825
34826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34827
34828         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34829         and access return value for _dl_profile_fixup.  Use R10_LP to
34830         load frame size.
34831
34832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34833
34834         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34835
34836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34837
34838         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34839         * sysdeps/x86_64/x32/sysdep.h: New file.
34840
34841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34842
34843         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34844         * sysdeps/x86_64/setjmp.S: Likewise.
34845
34846 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34847
34848         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34849         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34850         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34851         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34852         remove unused global constant.
34853
34854 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34855
34856         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34857         include of <not-cancel.h>.
34858
34859 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34860
34861         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34862
34863 2012-05-15  Jeff Law  <law@redhat.com>
34864             Andreas Jaeger  <aj@suse.de>
34865
34866         [BZ #13594]
34867         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34868         out from...
34869         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34870         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34871         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34872         code changing __hst_map_handle.map.
34873
34874 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34875
34876         * configure.in (sysnames): Look for Implies-before and Implies-after
34877         files.
34878         * configure: Regenerated.
34879
34880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34881
34882         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34883         8-byte data alignment with LP_SIZE alignment.
34884
34885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34886
34887         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34888         into R10_LP.
34889
34890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34891
34892         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34893
34894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34895
34896         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34897         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34898         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34899         Likewise.
34900         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34901
34902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34903
34904         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34905         (stackinfo_sub_sp): Likewise.
34906
34907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34908
34909         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34910         RAX_LP.
34911
34912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34913
34914         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34915         into R*_LP.
34916
34917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34918
34919         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34920         sizes into R*_LP.
34921
34922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34923
34924         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34925
34926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34927
34928         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34929         into R11_LP and load __x86_64_shared_cache_size_half into
34930         R8_LP.
34931
34932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34933
34934         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34935         R8_LP.
34936
34937 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34938
34939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34940         logb for POWER7.
34941         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34942         logbf for POWER7.
34943         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34944         logbl for POWER7.
34945         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34946         powerpc32/power7/fpu/s_logb.c via #include.
34947         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34948         powerpc32/power7/fpu/s_logbf.c via #include.
34949         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34950         powerpc32/power7/fpu/s_logbl.c via #include.
34951
34952 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34953
34954         * README.libm: Remove file.
34955
34956 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34957
34958         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34959         count for x32.  Use R*_LP and omit operand-size suffix.
34960
34961 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34962
34963         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34964         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34965         * sysdeps/x86_64/x32/shlib-versions: New file.
34966
34967 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34968
34969         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34970         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34971         Use _dl_fatal_printf instead.
34972
34973 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34974
34975         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34976         set if not set by the user.  Do not allow for being unset.
34977         * sysdeps/unix/sysv/linux/configure: Regenerated.
34978
34979 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34980
34981         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34982         the `q' suffix from lea and replace .quad with ASM_ADDR.
34983
34984 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34985
34986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34987         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34988         instead of $17.
34989         (PTR_DEMANGLE): Likewise.
34990
34991 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34992
34993         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34994         (LP_OP): Likewise.
34995         (ASM_ADDR): Likewise.
34996         (RAX_LP): Likewise.
34997         (RBP_LP): Likewise.
34998         (RBX_LP): Likewise.
34999         (RCX_LP): Likewise.
35000         (RDI_LP): Likewise.
35001         (RSI_LP): Likewise.
35002         (RSP_LP): Likewise.
35003         (R8_LP): Likewise.
35004         (R9_LP): Likewise.
35005         (R10_LP): Likewise.
35006         (R10_LP): Likewise.
35007         (R11_LP): Likewise.
35008         (R12_LP): Likewise.
35009         (R13_LP): Likewise.
35010         (R14_LP): Likewise.
35011         (R15_LP): Likewise.
35012
35013 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35014
35015         * sysdeps/x86_64/x32/dl-machine.h: New file.
35016
35017 2012-05-14  Andreas Jaeger  <aj@suse.de>
35018
35019         * manual/Makefile (subdir): Remove export of subdir.
35020         (all): Remove target.
35021         (.PHONY): Remove all from list.
35022         (mkinstalldirs): Remove.
35023         (.PHONY): Remove installdirs from list.
35024         ($(inst_infodir)/libc.info): Use make-target-directory.
35025         (installdirs): Remove.
35026         (subdir_%): Remove.
35027         (glibc-targets): Remove.
35028         (lib): Remove.
35029         (stubs): Remove.
35030         ($(objpfx)stubs ../po/manual.pot): Remove.
35031         ($(objpfx)stamp%): Remove.
35032         (make-target-directory): Remove.
35033         (subdir_install): Remove.
35034         (routines): Remove.
35035         (aux): Remove.
35036         (sources): Remove.
35037         (objects): Remove.
35038         (headers): Remove.
35039
35040         [BZ #13750]
35041         * manual/.gitignore: Remove, it's not needed anymore.
35042         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35043         all files in it.
35044         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35045         directory.
35046         (texis): Renamed to $(objpfx)texis.
35047         (texis-path): New, contains path to generated files.
35048         (chapters.%): Use texis-path for complete path, add extra argument
35049         libc-texinfo.sh.
35050         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35051         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35052         (summary,texi, stamp-summary): Use complete path of
35053         files. Generate files in build dir.
35054         (dir-add.texi): Build in build dir.
35055         (libm-err.texi,stamp-libm-err): Likewise.
35056         (version.texi, stamp-version): Likewise.
35057         (.%c.texi): Likewise.
35058         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35059         (mostlyclean): Remove target.
35060         (realclean): Remove target.
35061         (generated): Add new variable with contents from mostlyclean and
35062         realclean, remove entries duplicated in common-mostlyclean, add
35063         stamp-libm-err and stamp-version.
35064         (generated-dirs): Add libc directory.
35065         ($(inst_infodir)/libc.info): Install files from build dir.
35066
35067         * manual/install.texi (Configuring and compiling): Adjust since
35068         the info files are not part of the tar ball anymore.
35069
35070 2012-05-14  Andreas Jaeger  <aj@suse.de>
35071
35072         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35073         variable.
35074
35075 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35076
35077         [BZ #13717]
35078         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35079         to 2.2.0 where earlier.
35080         * sysdeps/unix/sysv/linux/configure: Regenerated.
35081         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35082         Remove conditional code.
35083         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35084         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35085         Remove conditional code.
35086         [!__NR_lchown]: Likewise.
35087         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35088         [__NR_lchown]: Likewise.
35089         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35090         comment referencing __ASSUME_LCHOWN_SYSCALL.
35091         * sysdeps/unix/sysv/linux/i386/sigaction.c
35092         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35093         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35094         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35095         Remove conditional code.
35096         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35097         (__protocol_available): Remove #if 0 code.
35098         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35099         conditional code.
35100         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35101         * sysdeps/unix/sysv/linux/kernel-features.h
35102         (__ASSUME_GETCWD_SYSCALL): Don't define.
35103         (__ASSUME_REALTIME_SIGNALS): Likewise.
35104         (__ASSUME_PREAD_SYSCALL): Likewise.
35105         (__ASSUME_PWRITE_SYSCALL): Likewise.
35106         (__ASSUME_POLL_SYSCALL): Likewise.
35107         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35108         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35109         non-SPARC.
35110         (__ASSUME_SIOCGIFNAME): Don't define.
35111         (__ASSUME_MSG_NOSIGNAL): Likewise.
35112         (__ASSUME_SENDFILE): Define unconditionally.
35113         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35114         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35115         conditional code.
35116         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35117         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35118         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35119         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35120         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35121         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35122         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35124         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35125         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35127         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35128         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35130         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35131         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35133         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35134         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35136         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35139         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35140         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35142         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35143         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35145         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35146         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35147         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35148         Remove conditional code.
35149         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35150         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35151         Remove conditional code.
35152         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35153         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35154         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35155         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35156         Remove conditional code.
35157         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35158         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35159         Remove conditional code.
35160         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35161         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35162         Remove conditional code.
35163         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35164         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35165         Remove conditional code.
35166         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35167         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35168         Remove conditional code.
35169         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35170         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35171         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35172         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35173         * sysdeps/unix/sysv/linux/sigaction.c
35174         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35175         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35176         * sysdeps/unix/sysv/linux/sigpending.c
35177         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35178         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35179         * sysdeps/unix/sysv/linux/sigprocmask.c
35180         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35181         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35182         * sysdeps/unix/sysv/linux/sigsuspend.c
35183         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35184         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35185         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35186         (__libc_missing_rt_sigs): Remove.
35187         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35188         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35189         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35190         Remove conditional code.
35191         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35192         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35193         return 1.
35194         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35195         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35196         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35197         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35198
35199 2012-05-14  Andreas Jaeger  <aj@suse.de>
35200
35201         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35202         it's not used in glibc.
35203         (__coshm1): Likewise.
35204         (__acosh1p): Likewise.
35205         (__sgn): Likewise.
35206
35207         * manual/string.texi (Copying and Concatenation): Add missing
35208         variable in concat example.
35209         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35210
35211 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35212
35213         [BZ #14103]
35214         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35215         __builtin_clzl with __builtin_clzll.
35216
35217 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35218
35219         [BZ #14104]
35220         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35221         libc_freeres_ptr.
35222
35223 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35224
35225         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35226         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35227         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35228         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35229
35230 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35231
35232         * NEWS: Update ia64 info.
35233
35234 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35235
35236         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35237         used as bcopy.
35238
35239 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35240
35241         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35242         * sysdeps/unix/syscalls.list (dup3): Likewise.
35243         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35244         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35245
35246 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35247
35248         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35249         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35250
35251 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35252
35253         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35254         thread pointer.
35255         (TLS_IE): Use mov/add instead of movq/addq to load thread
35256         pointer.
35257         (TLS_GD_PREFIX): New.
35258         (TLS_GD): Use it.
35259
35260 2012-05-11  David S. Miller  <davem@davemloft.net>
35261
35262         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35263         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35264         (_FPU_SETCW): Likewise.
35265
35266 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35267
35268         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35269         is 32-byte aligned.
35270
35271 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35272
35273         [BZ #11837]
35274         * iconvdata/gb18030.c: Update tables.
35275         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35276         characters specially.
35277         (BODY for TO_LOOP): Add encoding of missing ranges.
35278
35279 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35280
35281         [BZ #13673]
35282         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35283         * sysdeps/mach/hurd/dup3.c: Likewise.
35284         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35285         * sysdeps/powerpc/memmove.c:: Likewise.
35286
35287 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35288
35289         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35290         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35291
35292 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35293
35294         * elf/elf.h (R_X86_64_RELATIVE64): New.
35295         (R_X86_64_NUM): Updated.
35296         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35297         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35298         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35299         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35300         tst-quad1pie tst-quad2pie
35301         (modules-names): Add tst-quadmod1 tst-quadmod2.
35302         ($(objpfx)tst-quad1): New dependency.
35303         ($(objpfx)tst-quad2): Likewise.
35304         ($(objpfx)tst-quad1pie): Likewise.
35305         ($(objpfx)tst-quad2pie): Likewise.
35306         * sysdeps/x86_64/tst-quad1.c: New file.
35307         * sysdeps/x86_64/tst-quad1pie.c: New file.
35308         * sysdeps/x86_64/tst-quad2.c: Likewise.
35309         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35310         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35311         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35312         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35313         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35314
35315 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35316
35317         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35318         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35319         * streams/stropts.h (t_scalar_t): Define type.
35320
35321         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35322         (_PATH_PRESERVE): Set to "/var/lib".
35323         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35324
35325         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35326         instead of int.
35327
35328         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35329         if __dir_mkfile succeeded.
35330
35331         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35332         checking for _hurd_dtablesize.  Unlock it right after having
35333         finished _hurd_dtable allocation.
35334
35335 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35336
35337         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35338         * sysdeps/mach/hurd/configure: Regenerated.
35339         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35340         special-casing to...
35341         * sysdeps/gnu/configure.in: ... this new file.
35342         * sysdeps/unix/sysv/linux/configure: Regenerated.
35343         * sysdeps/gnu/configure: New generated file.
35344
35345         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35346         for Linux: use nsec instead of usec, as well as:
35347         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35348         members of type struct timespec.
35349         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35350         New macros.
35351         (struct stat64): Likewise.
35352         (_STATBUF_ST_NSEC): New macro.
35353         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35354
35355         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35356         __strtoul_internal rather than strtoul.
35357
35358 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35359
35360         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35361         and reject them.
35362
35363 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35364
35365         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35366         which preserves existing values.
35367         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35368
35369 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35370
35371         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35372         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35373         greater than FD_SETSIZE.
35374
35375 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35376
35377         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35378         allocated, call __vm_protect to finish enabling the existing space, and
35379         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35380         allocate the remainder.
35381
35382 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35383
35384         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35385         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35386
35387 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35388
35389         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35390         sysdeps/mach/hurd/readlink.c.
35391
35392         * posix/tst-sysconf.c (posix_options): Only use
35393         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35394         _POSIX_SYNCHRONIZED_IO when they are defined
35395         * sysdeps/mach/hurd/bits/posix_opt.h:
35396         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35397         (_XOPEN_REALTIME): Undefine macro.
35398         (_XOPEN_REALTIME_THREADS): Undefine macro.
35399         (_XOPEN_SHM): Undefine macro.
35400         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35401         macro to -1.
35402         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35403         macro to -1.
35404         (_POSIX_ASYNC_IO): Undefine macro.
35405         (_POSIX_PRIORITIZED_IO): Undefine macro.
35406         (_POSIX_SPIN_LOCKS): Define macro to -1.
35407
35408         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35409         SA_NODEFER, SA_RESETHAND.
35410         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35411         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35412         F_DUPFD_CLOEXEC.
35413
35414 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35415
35416         * elf/Makefile (pldd-modules): Define unconditionally.
35417
35418 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35419
35420         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35421
35422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35423
35424         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35425         Return ENOENT when name is empty.
35426         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35427
35428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35429
35430         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35431
35432         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35433
35434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35435
35436         Fix mlock in all cases except non-readable pages.
35437         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35438         instead of VM_PROT_ALL as parameter to __vm_wire function.
35439
35440         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35441         (__mkdir): When path is `/', just fail with EEXIST.
35442         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35443
35444 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35445
35446         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35447         <sys/uio.h> (for writev).
35448         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35449         and <sys/param.h> (for MIN).
35450
35451 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35452
35453         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35454         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35455         if interrupted.
35456
35457 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35458
35459         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35460         Depend on against $(link-rpcuserlibs).
35461
35462 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35463
35464         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35465         (__libc_stack_end): Do not use attribute_relro.
35466         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35467         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35468         to libthread-provided value.
35469         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35470         attribute_relro.
35471
35472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35473
35474         [BZ #3748]
35475         * bits/libc-lock.h (__libc_once_get): New macro.
35476         * sysdeps/mach/bits/libc-lock.h: Likewise.
35477         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35478         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35479         instead of using implementation details.
35480
35481         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35482         * libio/freopen.c: Likewise.
35483         * libio/freopen64.c: Likewise.
35484         * misc/syslog.c: Likewise.
35485         * nscd/connections.c: Likewise.
35486         * nscd/netgroupcache.c: Likewise.
35487         * sysdeps/posix/getcwd.c: Likewise.
35488
35489 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35490
35491         * math/w_ilogbf.c: Add #include <limits.h>.
35492
35493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35494
35495         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35496         path instead of returning without unlocking.
35497
35498         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35499         immediate-write ioctls.
35500         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35501
35502 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35503
35504         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35505         __builtin_frame_address instead of making assumptions about the
35506         location of the return address relative to DATA.  Force early load of
35507         the return address.
35508         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35509         __builtin_frame_address.
35510
35511         dup3 for GNU Hurd.
35512         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35513         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35514         implement dup3 and do some further code clean-ups.
35515         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35516         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35517
35518 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35519
35520         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35521
35522         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35523         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35524         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35525         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35526         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35527         d->port.lock.
35528
35529         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35530         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35531         when handler == SIG_ERR, not when handler != SIG_ERR.
35532
35533 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35534
35535         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35536         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35537         definitions.
35538
35539         accept4 for GNU Hurd.
35540         * include/sys/socket.h (__libc_accept4): New prototype.
35541         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35542         to implement __libc_accept4.
35543         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35544         __libc_accept4.
35545         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35546
35547         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35548         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35549         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35550         signal-defines.sym.
35551
35552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35553
35554         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35555
35556 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35557
35558         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35559         assertion on O_CLOEXEC flag.
35560         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35561         * hurd/intern-fd.c: Likewise.
35562         * hurd/port2fd.c: Likewise.
35563
35564 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35565
35566         [BZ #3906]
35567         * bits/in.h (IPV6_PKTINFO): Define new macro.
35568         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35569
35570 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35571
35572         [BZ #13954]
35573         [BZ #13955]
35574         [BZ #13956]
35575         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35576         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35577         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35578         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35579         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35580         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35581         * math/libm-test.inc (logb_test) : Additional logb tests.
35582
35583 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35584             Andreas Jaeger  <aj@suse.de>
35585
35586         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35587         * configure: Regenerated.
35588         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35589         * config.make.in (link-obsolete-rpc): New substituted variable.
35590         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35591         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35592         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35593         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35594         so that libc.a contains the symbols.
35595         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35596         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35597         * sunrpc/auth_none.c: Likewise.
35598         * sunrpc/auth_unix.c: Likewise.
35599         * sunrpc/authdes_prot.c: Likewise.
35600         * sunrpc/authuxprot.c: Likewise.
35601         * sunrpc/clnt_gen.c: Likewise.
35602         * sunrpc/clnt_perr.c: Likewise.
35603         * sunrpc/clnt_raw.c: Likewise.
35604         * sunrpc/clnt_simp.c: Likewise.
35605         * sunrpc/clnt_tcp.c: Likewise.
35606         * sunrpc/clnt_udp.c: Likewise.
35607         * sunrpc/clnt_unix.c: Likewise.
35608         * sunrpc/des_crypt.c: Likewise.
35609         * sunrpc/des_soft.c: Likewise.
35610         * sunrpc/get_myaddr.c: Likewise.
35611         * sunrpc/key_call.c: Likewise.
35612         * sunrpc/key_prot.c: Likewise.
35613         * sunrpc/netname.c: Likewise.
35614         * sunrpc/pm_getmaps.c: Likewise.
35615         * sunrpc/pm_getport.c: Likewise.
35616         * sunrpc/pmap_clnt.c: Likewise.
35617         * sunrpc/pmap_prot.c: Likewise.
35618         * sunrpc/pmap_prot2.c: Likewise.
35619         * sunrpc/pmap_rmt.c: Likewise.
35620         * sunrpc/publickey.c: Likewise.
35621         * sunrpc/rpc_cmsg.c: Likewise.
35622         * sunrpc/rpc_common.c: Likewise.
35623         * sunrpc/rpc_dtable.c: Likewise.
35624         * sunrpc/rpc_prot.c: Likewise.
35625         * sunrpc/rpc_thread.c: Likewise.
35626         * sunrpc/rtime.c: Likewise.
35627         * sunrpc/svc.c: Likewise.
35628         * sunrpc/svc_auth.c: Likewise.
35629         * sunrpc/svc_raw.c: Likewise.
35630         * sunrpc/svc_run.c: Likewise.
35631         * sunrpc/svc_tcp.c: Likewise.
35632         * sunrpc/svc_udp.c: Likewise.
35633         * sunrpc/svc_unix.c: Likewise.
35634         * sunrpc/svcauth_des.c: Likewise.
35635         * sunrpc/xcrypt.c: Likewise.
35636         * sunrpc/xdr.c: Likewise.
35637         * sunrpc/xdr_array.c: Likewise.
35638         * sunrpc/xdr_float.c: Likewise.
35639         * sunrpc/xdr_intXX_t.c: Likewise.
35640         * sunrpc/xdr_mem.c: Likewise.
35641         * sunrpc/xdr_rec.c: Likewise.
35642         * sunrpc/xdr_ref.c: Likewise.
35643         * sunrpc/xdr_sizeof.c: Likewise.
35644         * sunrpc/xdr_stdio.c: Likewise.
35645
35646 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35647
35648         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35649         change.  Update copyright years.
35650
35651 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35652
35653         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35654
35655 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35656             Joseph Myers  <joseph@codesourcery.com>
35657             Paul Pluzhnikov  <ppluzhnikov@google.com>
35658
35659         [BZ #14012]
35660         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35661         requiring rpcgen.
35662         [cross-compiling] (extra-libs): Likewise.
35663         [cross-compiling] (extra-libs-others): Likewise.
35664         [cross-compiling] (librpcsvc-routines): Likewise.
35665         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35666         [cross-compiling] (omit-deps): Likewise.
35667         (sunrpc-CPPFLAGS): New variable.
35668         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35669         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35670         (cross-rpcgen-objs): New variable.
35671         (extra-objs): Append $(cross-rpcgen-objs).
35672         ($(cross-rpcgen-objs)): New rule.
35673         ($(objpfx)cross-rpcgen): Likewise.
35674         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35675         comment.
35676         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35677         ($(objpfx)x%.stmp): Likewise.
35678         * sunrpc/proto.h [IS_IN_build] (_): Define.
35679         [IS_IN_build] (_libc_intl_domainname): Likewise.
35680
35681 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35682
35683         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35684         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35685         and R_X86_64_TPOFF64.
35686
35687 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35688
35689         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35690         sysdeps/unix/sysv/syscalls.list.
35691         (stime): Likewise.
35692         (utime): Likewise.
35693         * sysdeps/unix/sysv/syscalls.list: Remove file.
35694
35695 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35696
35697         [BZ #3440]
35698         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35699         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35700         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35701         (__LC_IDENTIFICATION): Make these macros useful in #if
35702         expressions, as required by C99.
35703
35704 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35705
35706         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35707         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35708         after this.
35709
35710 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35711
35712         * stdlib/longlong.h: Updated from GCC.
35713
35714 2012-05-09  Andreas Jaeger  <aj@suse.de>
35715
35716         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35717         default is first entry.
35718         (run_mode): Set type.
35719         (main): Remove informal message about syslog.
35720         (options): Fix typo.
35721
35722         [BZ #14053]
35723         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35724         to asm.
35725         (lrint): Likewise.
35726         (llrintf): Likewise.
35727         (llrint): Likewise.
35728         (rint): Likewise.
35729         (rintf): Likewise.
35730         (nearbyint): Likewise.
35731         (nearbyintf): Likewise.
35732
35733 2012-05-09  Andreas Jaeger  <aj@suse.de>
35734             Pedro Alves  <palves@redhat.com>
35735
35736         * nscd/nscd.c (run_mode): Use enum.
35737         (main): Cleanup coding style issue.
35738
35739 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35740             Andreas Jaeger  <aj@suse.de>
35741
35742         * nscd/nscd.c (go_background): Replaced with...
35743         (run_mode): ... this.
35744         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35745         (options): Add -F --foreground.
35746         (main): Implement it.
35747         (parse_opt): Parse it.
35748
35749 2012-05-09  Andreas Jaeger  <aj@suse.de>
35750
35751         [BZ #14083]
35752         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35753         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35754         -Wconversion warning.
35755         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35756         Likewise.
35757
35758 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35759
35760         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35761         == 0.
35762         (LC_ALL): Use macro-int-constant.
35763         (LC_COLLATE): Likewise.
35764         (LC_CTYPE): Likewise.
35765         (LC_MESSAGES): Likewise.
35766         (LC_MONETARY): Likewise.
35767         (LC_NUMERIC): Likewise.
35768         (LC_TIME): Likewise.
35769         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35770         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35771         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35772         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35773         Specify type.
35774         [C99-based standards] (float_t): Expect type.
35775         [C99-based standards] (double_t): Expect type.
35776         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35777         type.
35778         [C99-based standards] (HUGE_VALL): Likewise.
35779         [C99-based standards] (INFINITY): Likewise.
35780         [C99-based standards] (NAN): Likewise.
35781         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35782         [C99-based standards] (FP_NAN): Likewise.
35783         [C99-based standards] (FP_NORMAL): Likewise.
35784         [C99-based standards] (FP_SUBNORMAL): Likewise.
35785         [C99-based standards] (FP_ZERO): Likewise.
35786         [C99-based standards] (FP_FAST_FMA): Use
35787         optional-macro-int-constant.  Specify type.  Require == 1.
35788         [C99-based standards] (FP_FAST_FMAF): Likewise.
35789         [C99-based standards] (FP_FAST_FMAL): Likewise.
35790         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35791         [C99-based standards] (FP_ILOGBNAN): Likewise.
35792         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35793         Specify type.
35794         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35795         [C99-based standards] (math_errhandling): Specify type.
35796         [ISO99 || ISO11] (signgam): Do not allow.
35797         [non-C99-based standards] (copysignf): Do not allow.
35798         [non-C99-based standards] (exp2f): Likewise.
35799         [non-C99-based standards] (log2f): Likewise.
35800         [non-C99-based standards] (modff): Allow.
35801         [non-C99-based standards] (erff): Do not allow.
35802         [non-C99-based standards] (erfcf): Likewise.
35803         [non-C99-based standards] (gammaf): Likewise.
35804         [non-C99-based standards] (hypotf): Likewise.
35805         [non-C99-based standards] (j0f): Likewise.
35806         [non-C99-based standards] (j1f): Likewise.
35807         [non-C99-based standards] (jnf): Likewise.
35808         [non-C99-based standards] (lgammaf): Likewise.
35809         [non-C99-based standards] (tgammaf): Likewise.
35810         [non-C99-based standards] (y0f): Likewise.
35811         [non-C99-based standards] (y1f): Likewise.
35812         [non-C99-based standards] (ynf): Likewise.
35813         [non-C99-based standards] (isnanf): Likewise.
35814         [non-C99-based standards] (acoshf): Likewise.
35815         [non-C99-based standards] (asinhf): Likewise.
35816         [non-C99-based standards] (atanhf): Likewise.
35817         [non-C99-based standards] (cbrtf): Likewise.
35818         [non-C99-based standards] (expm1f): Likewise.
35819         [non-C99-based standards] (ilogbf): Likewise.
35820         [non-C99-based standards] (log1pf): Likewise.
35821         [non-C99-based standards] (logbf): Likewise.
35822         [non-C99-based standards] (nextafterf): Likewise.
35823         [non-C99-based standards] (remainderf): Likewise.
35824         [non-C99-based standards] (rintf): Likewise.
35825         [non-C99-based standards] (scalbf): Likewise.
35826         [non-C99-based standards] (copysignl): Likewise.
35827         [non-C99-based standards] (exp2l): Likewise.
35828         [non-C99-based standards] (log2l): Likewise.
35829         [non-C99-based standards] (modfl): Allow.
35830         [non-C99-based standards] (erfl): Do not allow.
35831         [non-C99-based standards] (erfcl): Likewise.
35832         [non-C99-based standards] (gammal): Likewise.
35833         [non-C99-based standards] (hypotl): Likewise.
35834         [non-C99-based standards] (j0l): Likewise.
35835         [non-C99-based standards] (j1l): Likewise.
35836         [non-C99-based standards] (jnl): Likewise.
35837         [non-C99-based standards] (lgammal): Likewise.
35838         [non-C99-based standards] (tgammal): Likewise.
35839         [non-C99-based standards] (y0l): Likewise.
35840         [non-C99-based standards] (y1l): Likewise.
35841         [non-C99-based standards] (ynl): Likewise.
35842         [non-C99-based standards] (isnanl): Likewise.
35843         [non-C99-based standards] (acoshl): Likewise.
35844         [non-C99-based standards] (asinhl): Likewise.
35845         [non-C99-based standards] (atanhl): Likewise.
35846         [non-C99-based standards] (cbrtl): Likewise.
35847         [non-C99-based standards] (expm1l): Likewise.
35848         [non-C99-based standards] (ilogbl): Likewise.
35849         [non-C99-based standards] (log1pl): Likewise.
35850         [non-C99-based standards] (logbl): Likewise.
35851         [non-C99-based standards] (nextafterl): Likewise.
35852         [non-C99-based standards] (remainderl): Likewise.
35853         [non-C99-based standards] (rintl): Likewise.
35854         [non-C99-based standards] (scalbl): Likewise.
35855         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35856         [non-C99-based standards] (FP_*): Do not allow.
35857         [C99-based standards] (FP_*): Change to
35858         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35859         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35860         allow.
35861         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35862         (SIG_ERR): Likewise.
35863         [X/Open-based standards] (SIG_HOLD): Likewise.
35864         (SIG_IGN): Likewise.
35865         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35866         positive value.
35867         (SIGFPE): Likewise.
35868         (SIGILL): Likewise.
35869         (SIGINT): Likewise.
35870         (SIGSEGV): Likewise.
35871         (SIGTER): Likewise.
35872         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35873         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35874         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35875         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35876         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35877         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35878         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35879         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35880         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35881         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35882         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35883         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35884         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35885         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35886         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35887         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35888         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35889         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35890         [X/Open-based standards] (SIGTRAP): Likewise.
35891         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35892         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35893         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35894         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35895         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35896         allow.
35897
35898 2012-05-08  Ian Wienand  <ianw@vmware.com>
35899
35900         [BZ #14080]
35901         * time/tzset.c (__tzset_parse_tz): Update default rules for
35902         daylight time changes in the Energy Policy Act of 2005.
35903
35904 2012-05-09  Andreas Jaeger  <aj@suse.de>
35905
35906         [BZ #13983]
35907         * elf/ldconfig.c (parse_conf): Change string to make clear that
35908         ldconfig only issued a warning if ld.so.conf does not exist.
35909
35910 2012-05-08  David S. Miller  <davem@davemloft.net>
35911
35912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35913         movxtod instead of popping the value on the stack.
35914
35915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35916
35917 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35918
35919         * config.h.in: Add HAVE_ARM_PCS_VFP.
35920
35921 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35922
35923         [BZ #13979]
35924         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35925         checking but the checks are disabled for any reason.
35926
35927 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35928
35929         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35930         and ELF64_R_TYPE with ELFW(R_TYPE).
35931
35932 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35933
35934         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35935         (ulimit): Likewise.
35936
35937         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35938         (settimeofday): Likewise.
35939
35940 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35941
35942         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35943         a struct th_u2 inside the union, and move tu_block/tu_code into
35944         a new th_u3 union of tu_block/tu_code inside of that.  Move
35945         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35946         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35947         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35948         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35949         (th_stuff): Change to th_u1.tu_stuff.
35950         (th_data): Define.
35951         (th_msg): Change to th_u1.th_u2.tu_data.
35952
35953 2012-05-07  David S. Miller  <davem@davemloft.net>
35954
35955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35956
35957         [BZ #14074]
35958         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35959         (SETUP_PIC_REG): Use it.
35960         (SETUP_PIC_REG_LEAF): Use it.
35961
35962 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35963
35964         [BZ #13885]
35965         [BZ #13923]
35966         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35967         USE_AS_EXPM1L.
35968         (EXPL_FINITE): Likewise.
35969         (FLDLOG): Likewise.
35970         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35971         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35972         e_expl.S.
35973         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35974         USE_AS_EXPM1L.
35975         (EXPL_FINITE): Likewise.
35976         (FLDLOG): Likewise.
35977         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35978         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35979         e_expl.S.
35980         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35981         test of -max_value argument for long double.
35982         * sysdeps/i386/fpu/libm-test-ulps: Update.
35983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35984
35985 2012-05-06  David S. Miller  <davem@davemloft.net>
35986
35987         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35988         quad soft-float symbols whose references which are compiler
35989         generated.
35990         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35991
35992 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35993
35994         [BZ #13884]
35995         [BZ #13914]
35996         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35997         USE_AS_EXP10L.
35998         (EXPL_FINITE): Likewise.
35999         (FLDLOG): Likewise.
36000         (c0): Likewise.
36001         (c1): Likewise.
36002         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36003         Adjust comments for base varying.
36004         (__expl_finite): Change alias to EXPL_FINITE.
36005         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36006         e_expl.S.
36007         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36008         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36009         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36010         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36011         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36012         USE_AS_EXP10L.
36013         (EXPL_FINITE): Likewise.
36014         (FLDLOG): Likewise.
36015         (c0): Likewise.
36016         (c1): Likewise.
36017         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36018         Adjust comments for base varying.
36019         (__expl_finite): Change alias to EXPL_FINITE.
36020         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36021         tests for bugs.
36022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36023
36024         [BZ #14064]
36025         * math/libm-test.inc (check_float_internal): Correct ulp
36026         calculation for subnormal expected results.
36027
36028 2012-05-06  Andreas Jaeger  <aj@suse.de>
36029
36030         * Makeconfig (+math-flags): New, set to -frounding-math.
36031         (+cflags): Add +math-flags so that all of glibc gets compiled with
36032         it.
36033
36034         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36035
36036 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36037
36038         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36039         Disable one test.
36040
36041         [BZ #13787]
36042         [BZ #13922]
36043         [BZ #14036]
36044         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36045         (__ieee754_expl): Allow for and saturate large arguments.
36046         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36047         (u_threshold): Likewise.
36048         (__exp): Call __ieee754_exp before checking for overflow and
36049         underflow.
36050         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36051         (u_threshold): Likewise.
36052         (__expf): Call __ieee754_expf before checking for overflow and
36053         underflow.
36054         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36055         (u_threshold): Likewise.
36056         (__expl): Call __ieee754_expl before checking for overflow and
36057         underflow.
36058         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36059         (__ieee754_expl): Allow for and saturate large arguments.
36060         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36061         missing overflow exception on overflow.
36062         (expm1_test): Do not allow missing overflow exception on overflow.
36063
36064         * sysdeps/i386/fpu/e_expl.c: Move to ...
36065         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36066         rather than using inline asm.
36067         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36068         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36069         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36070
36071         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36072         (nice): Likewise.
36073         (poll): Likewise.
36074         (signal): Likewise.
36075         (time): Likewise.
36076         (times): Likewise.
36077
36078 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36079
36080         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36081         sysdeps/unix/common/syscalls.list.
36082         (fchmod): Likewise.
36083         (fchown): Likewise.
36084         (ftruncate): Likewise.
36085         (getrusage): Likewise.
36086         (gettimeofday): Likewise.
36087         (setpgid): Likewise.
36088         (setregid): Likewise.
36089         (setreuid): Likewise.
36090         (sigaction): Likewise.
36091         (truncate): Likewise.
36092         (vhangup): Likewise.
36093         * sysdeps/unix/common/syscalls.list: Remove file.
36094         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36095         * sysdeps/unix/sysv/linux/Implies: Likewise.
36096
36097 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36098
36099         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36101         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36102         Moved to ...
36103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36104         Here.
36105         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36106         to ...
36107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36108         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36109         to ...
36110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36111         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36112         to ...
36113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36114         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36115         to ...
36116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36117         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36118         to ...
36119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36120         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36121         to ...
36122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36123         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36124         to ...
36125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36126         Here.
36127         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36128         to ...
36129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36130         Here.
36131         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36132         to ...
36133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36134         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36135         Moved to ...
36136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36137         Here.
36138         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36139         to ...
36140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36141
36142 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36143
36144         * sysdeps/unix/common/bits/dirent.h: Remove file.
36145         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36146
36147         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36148         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36149         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36150         * sysdeps/unix/bsd/isatty.c: Likewise.
36151         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36152         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36153         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36154
36155 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36156
36157         [BZ #13563]
36158         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36159         long double comparison inaccuracies.
36160         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36162
36163 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36164
36165         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36166         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36167
36168 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36169
36170         [BZ #14049]
36171         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36172         nonzero digits before rounding a hex value.
36173         * stdlib/tst-strtod.c (tests): Add another test.
36174
36175 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36176
36177         * sysdeps/s390/fpu/libm-test-ulps: Update.
36178
36179 2012-05-03  Andreas Jaeger  <aj@suse.de>
36180
36181         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36182         does not get optimized out.
36183         (malloc_opt_barrier): New.
36184
36185 2012-05-03  Andreas Jaeger  <aj@suse.de>
36186             Roland McGrath  <roland@hack.frob.com>
36187
36188         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36189         intermediate file deletion.
36190         (generated): Add .symlist files.
36191
36192 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36193
36194         [BZ #13775]
36195         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36196         Redirect under this condition.
36197         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36198         [__USE_GNU] (__dprintf_chk): Not under this condition.
36199         [__USE_GNU] (__vdprintf_chk): Likewise.
36200         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36201         under this condition.
36202         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36203         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36204         [__USE_XOPEN2K8] (vdprintf): Likewise.
36205         [__USE_GNU] (__dprintf_chk): Not under this condition.
36206         [__USE_GNU] (__vdprintf_chk): Likewise.
36207         [__USE_GNU] (dprintf): Likewise.
36208         [__USE_GNU] (vdprintf): Likewise.
36209
36210 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36211
36212         * elf/Makefile (common-generated): Set this instead of generated for
36213         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36214         $(all-built-dso)-derived lists.
36215
36216 2012-05-03  Andreas Jaeger  <aj@suse.de>
36217
36218         * sysdeps/i386/fpu/libm-test-ulps: Update.
36219
36220         * FAQ: Removed.
36221         * FAQ.in: Likewise.
36222         * scripts/gen-FAQ.pl: Likewise.
36223         * manual/install.texi (Installation): Point to online location of
36224         FAQ.
36225         * Makefile (files-for-dist): Remove FAQ.
36226         (FAQ): Remove.
36227
36228 2012-05-02  Allan McRae  <allan@archlinux.org>
36229
36230         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36231         (LDFLAGS-reldepmod5.so): Likewise.
36232         (LDFLAGS-reldep6mod1.so): Likewise.
36233         (LDFLAGS-reldep6mod4.so): Likewise.
36234         (LDFLAGS-reldep8mod3.so): Likewise.
36235         (LDFLAGS-unload4mod1.so): Likewise.
36236         (LDFLAGS-unload4mod2.so): Likewise.
36237         (LDFLAGS-tst-initorder): Likewise.
36238         (LDFLAGS-tst-initordera2.so): Likewise.
36239         (LDFLAGS-tst-initordera3.so): Likewise.
36240         (LDFLAGS-tst-initordera4.so): Likewise.
36241         (LDFLAGS-tst-initorderb2.so): Likewise.
36242         (LDFLAGS-noload): Likewise.
36243         (LDFLAGS-next): Likewise.
36244         (LDFLAGS-order2mod1.so): Likewise.
36245         (LDFLAGS-order2mod2.so): Likewise.
36246         (LDFLAGS-tst-initorder2): Likewise.
36247         (LDFLAGS-tst-initorder2a.so): Likewise.
36248         (LDFLAGS-tst-initorder2b.so): Likewise.
36249         (LDFLAGS-tst-initorder2c.so): Likewise.
36250         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36251
36252 2012-05-02  David S. Miller  <davem@davemloft.net>
36253
36254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36255
36256 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36257
36258         [BZ #14055]
36259         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36260
36261 2012-05-02  Andreas Jaeger  <aj@suse.de>
36262
36263         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36264         since we manipulate rounding mode.
36265         (CPPFLAGS-test-idouble.c): Likewise.
36266         (CPPFLAGS-test-ifloat.c): Likewise.
36267         (CFLAGS-test-ldouble.c): Likewise.
36268         (CFLAGS-test-double.c): Likewise.
36269         (CFLAGS-test-float.c): Likewise.
36270         (CFLAGS-test-misc.c): Likewise.
36271         (CFLAGS-test-test-fenv.c): Likewise.
36272
36273 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36274
36275         [BZ #2550]
36276         [BZ #2570]
36277         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36278         comparisons to determine direction to adjust input.
36279
36280 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36281
36282         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36283         output to the target.
36284
36285         * scripts/localplt.awk: New file.
36286         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36287         (check-localplt-CFLAGS): Variable removed.
36288         ($(all-built-dso:=.jmprel)): New static pattern rule.
36289         (generated): Add those targets.
36290         (localplt-built-dso): New variable.
36291         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36292
36293         * elf/check-localplt.c: File removed.
36294
36295         * scripts/check-execstack.awk: New file.
36296         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36297         (check-execstack-CFLAGS): Variable removed.
36298         ($(objpfx)check-execstack.h): Target removed.
36299         ($(objpfx)execstack-default): New target.
36300         (generated): Add that instead of check-execstack.h.
36301         ($(all-built-dso:=.phdr)): New static pattern rule.
36302         (generated): Add those targets.
36303         * elf/check-execstack.c: File removed.
36304
36305         * scripts/check-textrel.awk: New file.
36306         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36307         (check-textrel-CFLAGS): Variable removed.
36308         (all-built-dso): Use := to define.o
36309         ($(all-built-dso:=.dyn)): New static pattern rule.
36310         (generated): Add those targets.
36311         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36312         * config.make.in (READELF): New substituted variable.
36313         * elf/check-textrel.c: File removed.
36314
36315 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36316
36317         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36318         allow.
36319         * conform/data/ctype.h-data [C99-based standards] (isblank):
36320         Expect function.
36321         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36322         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36323         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36324         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36325         Specify type.  Require positive value.
36326         (EILSEQ): Likewise.
36327         (ERANGE): Likewise.
36328         [ISO || POSIX] (EILSEQ): Do not expect.
36329         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36330         Specify type.  Require positive value.
36331         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36332         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36333         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36334         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36335         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36336         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36337         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36338         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36339         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36340         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36341         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36342         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36343         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36344         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36345         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36346         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36347         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36348         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36349         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36350         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36351         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36352         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36353         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36354         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36355         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36356         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36357         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36358         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36359         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36360         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36361         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36362         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36363         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36364         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36365         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36366         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36367         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36368         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36369         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36370         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36371         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36372         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36373         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36374         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36375         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36376         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36377         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36378         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36379         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36380         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36381         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36382         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36383         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36384         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36385         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36386         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36387         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36388         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36389         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36390         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36391         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36392         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36393         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36394         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36395         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36396         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36397         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36398         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36399         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36400         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36401         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36402         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36403         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36404         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36405         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36406         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36407         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36408         Require >= 2.
36409         (FLT_ROUNDS): Expect as macro, not constant.
36410         (FLT_MANT_DIG): Use macro-int-constant.
36411         (DBL_MANT_DIG): Likewise.
36412         (LDBL_MANT_DIG): Likewise.
36413         (FLT_DIG): Likewise.
36414         (DBL_DIG): Likewise.
36415         (LDBL_DIG): Likewise.
36416         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36417         (DBL_MIN_EXP): Likewise.
36418         (LDBL_MIN_EXP): Likewise.
36419         (FLT_MAX_EXP): Use macro-int-constant.
36420         (DBL_MAX_EXP): Likewise.
36421         (LDBL_MAX_EXP): Likewise.
36422         (FLT_MAX_10_EXP): Likewise.
36423         (DBL_MAX_10_EXP): Likewise.
36424         (LDBL_MAX_10_EXP): Likewise.
36425         (FLT_MAX): Use macro-constant.
36426         (DBL_MAX): Likewise.
36427         (LDBL_MAX): Likewise.
36428         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36429         (DBL_EPSILON): Likewise.
36430         (LDBL_EPSILON): Likewise.
36431         (FLT_MIN): Likewise.
36432         (DBL_MIN): Likewise.
36433         (LDBL_MIN): Likewise.
36434         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36435         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36436         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36437         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36438         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36439         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36440         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36441         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36442         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36443         [ISO11] (FLT_TRUE_MIN): Likewise.
36444         [ISO11] (LDBL_TRUE_MIN): Likewise.
36445         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36446         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36447         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36448         (SCHAR_MAX): Likewise.
36449         (UCHAR_MAX): Likewise.
36450         (CHAR_MIN): Likewise.
36451         (CHAR_MAX): Likewise.
36452         (MB_LEN_MAX): Use macro-int-constant.
36453         (SHRT_MIN): Use macro-int-constant.  Specify type.
36454         (SHRT_MAX): Likewise.
36455         (USHRT_MAX): Likewise.
36456         (INT_MAX): Likewise.
36457         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36458         bound negative.
36459         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36460         bound with "U".
36461         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36462         bound with "L".
36463         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36464         bound negative.  Suffix upper bound with "L".
36465         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36466         bound with "UL".
36467         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36468         Specify type.
36469         [C99-based standards] (LLONG_MAX): Likewise.
36470         [C99-based standards] (ULLONG_MAX): Likewise.
36471         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36472         == 0.
36473         [ISO11] (max_align_t): Require type.
36474         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36475
36476         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36477         from $CFLAGS, without defining away __attribute__ calls.
36478         (checknamespace): Use $CFLAGS_namespace.
36479
36480         * conform/conformtest.pl (@keywords): Only include C99 keywords
36481         for standards based on C99 or C11.
36482
36483         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36484         Disable tests.
36485         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36486         UNIX98]: Likewise.
36487
36488         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36489         usability of symbols in #if.
36490
36491         * conform/conformtest.pl: If macro or constant types start
36492         "promoted:", expect the symbol to be of the following type
36493         promoted by the integer promotions.
36494
36495         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36496         in one place.  Also handle "macro-constant".
36497
36498         * conform/conformtest.pl: Only accept expected macro values with
36499         "==".  Parse all "macro" lines in one place.
36500         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36501
36502         * conform/conformtest.pl: Handle braced types on "constant" lines
36503         instead of handling "typed-constant".
36504         * conform/data/signal.h-data: Use "constant" instead of
36505         "typed-constant".
36506
36507         * conform/conformtest.pl: Handle "optional-" at start of lines in
36508         one place rather than duplicating several cases.  Handle each
36509         format of "macro" line with initial "optional-".
36510
36511         * conform/conformtest.pl: Only accept expected constant or
36512         optional-constant values with "==".  Parse all "constant" lines in
36513         one place.  Parse all "optional-constant" lines in one place.
36514         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36515         * conform/data/fmtmsg.h-data: Likewise.
36516         * conform/data/netinet/in.h-data: Likewise.
36517         * conform/data/tar.h-data: Likewise.
36518         * conform/data/limits.h-data: Use "==" form on "constant" and
36519         "optional-constant" lines.
36520
36521         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36522         Use -std=c99 for XOPEN2K.
36523         (@knownproblems): Remove.
36524         (newtoken): Don't check %isknown.
36525
36526         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36527         Do not expect macro.
36528         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36529         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36530         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36531         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36532         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36533         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36534         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36535         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36536         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36537         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36538         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36539         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36540         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36541         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36542         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36543         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36544         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36545         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36546         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36547         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36548         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36549         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36550         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36551         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36552         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36553         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36554         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36555         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36556         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36557         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36558         [XPG3] (acosh): Likewise.
36559         [XPG3] (asinh): Likewise.
36560         [XPG3] (atanh): Likewise.
36561         [XPG3] (cbrt): Likewise.
36562         [XPG3] (expm1): Likewise.
36563         [XPG3] (ilogb): Likewise.
36564         [XPG3] (log1p): Likewise.
36565         [XPG3] (logb): Likewise.
36566         [XPG3] (nextafter): Likewise.
36567         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36568         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36569         [XPG3] (remainder): Likewise.
36570         [XPG3] (rint): Likewise.
36571         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36572         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36573         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36574         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36575         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36576         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36577         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36578         [UNIX98 || XOPEN2K] (scalb): Expect.
36579         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36580         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36581         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36582         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36583         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36584         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36585         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36586         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36587         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36588         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36589         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36590         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36591         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36592         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36593         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36594         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36595         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36596         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36597         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36598         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36599         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36600         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36601         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36602         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36603         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36604         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36605         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36606         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36607         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36608         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36609         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36610         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36611         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36612         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36613         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36614         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36615         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36616         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36617         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36618         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36619         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36620         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36621         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36622         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36623         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36624         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36625         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36626         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36627         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36628         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36629         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36630         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36631         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36632         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36633         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36634         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36635         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36636         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36637         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36638         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36639         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36640         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36641         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36642         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36643         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36644         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36645         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36646         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36647         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36648         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36649         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36650         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36651         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36652         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36653         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36654         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36655         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36656         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36657         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36658         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36659         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36660         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36661         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36662         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36663         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36664         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36665         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36666         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36667         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36668         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36669         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36670         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36671         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36672         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36673         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36674         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36675         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36676         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36677         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36678         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36679         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36680         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36681         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36682         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36683         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36684         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36685         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36686         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36687         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36688         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36689         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36690         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36691         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36692         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36693         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36694         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36695         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36696         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36697         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36698         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36699         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36700         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36701         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36702         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36703         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36704         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36705         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36706         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36707         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36708         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36709         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36710         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36711         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36712         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36713         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36714         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36715         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36716
36717         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36718         _XOPEN_SOURCE_EXTENDED for XPG4.
36719
36720         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36721
36722         * Makeconfig (localtime): Remove variable.
36723         (inst_localtime-file): Likewise.
36724
36725 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36726
36727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36728         Update.
36729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36730         Update.
36731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36732         Update.
36733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36734         Update.
36735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36736         Update.
36737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36738         Update.
36739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36740         Update.
36741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36742         Update.
36743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36744         Update.
36745
36746 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36747
36748         [BZ #2550]
36749         [BZ #2570]
36750         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36751         comparisons to determine direction to adjust input.
36752         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36753         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36754         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36755         Likewise.
36756         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36757         Likewise.
36758         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36759         Likewise.
36760         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36761         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36762         Likewise.
36763         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36764         Likewise.
36765         * math/libm-test.inc (nexttoward_test): Add more tests.
36766
36767 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36768
36769         [BZ #14040]
36770         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36771         in version GLIBC_2.1, not GLIBC_2.0.
36772         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36773         Likewise.
36774
36775 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36776
36777         [BZ #13942]
36778         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36779         (1 - x) * (1 + x).
36780         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36781         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36782         * math/libm-test.inc (acos_test): Add more tests.
36783         (asin_test): Likewise.
36784         * sysdeps/i386/fpu/libm-test-ulps: Update.
36785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36786
36787         [BZ #14034]
36788         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36789         of square root.
36790         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36791         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36792         * math/libm-test.inc (acos_test_tonearest): New function.
36793         (acos_test_towardzero): Likewise.
36794         (acos_test_downward): Likewise.
36795         (acos_test_upward): Likewise.
36796         (asin_test_tonearest): Likewise.
36797         (asin_test_towardzero): Likewise.
36798         (asin_test_downward): Likewise.
36799         (asin_test_upward): Likewise.
36800         (main): Call the new functions.
36801         * sysdeps/i386/fpu/libm-test-ulps: Update.
36802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36803
36804         [BZ #13884]
36805         [BZ #13924]
36806         * math/e_exp10.c: Include <float.h>.
36807         (__ieee754_exp10): Handle underflow here rather than multiplying
36808         large negative argument by M_LN10.
36809         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36810         of __ieee754_expf.
36811         * math/e_exp10l.c: Include <float.h>.
36812         (__ieee754_exp10l): Handle underflow here rather than multiplying
36813         large negative argument by M_LN10l.
36814         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36815         spurious overflow exception on underflow.
36816
36817 2012-04-29  Marek Polacek  <polacek@redhat.com>
36818
36819         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36820         (__fortify_function): New macro.
36821         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36822         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36823         __extern_always_inline.
36824         * libio/bits/stdio2.h: Likewise.
36825         * libio/bits/stdio.h: Likewise.
36826         * string/string.h: Likewise.
36827         * string/bits/string3.h: Likewise.
36828         * include/stdio.h: Likewise.
36829         * stdlib/bits/stdlib.h: Likewise.
36830         * stdlib/stdlib.h: Likewise.
36831         * rt/bits/mqueue2.h: Likewise.
36832         * rt/mqueue.h: Likewise.
36833         * posix/bits/unistd.h: Likewise.
36834         * posix/unistd.h: Likewise.
36835         * io/bits/poll2.h: Likewise.
36836         * io/bits/fcntl2.h: Likewise.
36837         * io/fcntl.h: Likewise.
36838         * io/sys/poll.h: Likewise.
36839         * misc/bits/syslog.h: Likewise.
36840         * misc/bits/syslog-ldbl.h: Likewise.
36841         * misc/sys/syslog.h: Likewise.
36842         * socket/bits/socket2.h: Likewise.
36843         * socket/sys/socket.h: Likewise.
36844         * debug/tst-chk1.c: Likewise.
36845         * wcsmbs/bits/wchar2.h: Likewise.
36846         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36847         * wcsmbs/wchar.h: Likewise.
36848
36849 2012-04-29  Andreas Jaeger  <aj@suse.de>
36850
36851         * Makerules (tests): Remove enable-check-abi protection.
36852         (check-abi-warn): Remove.
36853         (check-abi-%): Remove check-abi-warn usage.
36854
36855         * configure.in: Remove check-abi configure option.
36856         * configure: Regenerated.
36857         * config.make.in (enable-check-abi): Remove.
36858
36859 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36860
36861         [BZ #14033]
36862         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36863         double functions to double *_finite functions.
36864
36865         [BZ #13941]
36866         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36867         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36868         LDBL_MIN_EXP.
36869         * stdio-common/Makefile (tests): Add tst-sprintf3.
36870         * stdio-common/tst-sprintf3.c: New file.
36871
36872         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36873         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36874
36875 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36876
36877         * conform/conformtest.pl: Remove duplicate typed-constant
36878         handling.
36879
36880 2012-04-28  David S. Miller  <davem@davemloft.net>
36881
36882         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36883         (check-abi-%): Remove AWK script prerequisite and explicit
36884         abilist directory.
36885         (check-abi): Rewrite to just diff the symlist with the abilist.
36886         (config-tls, config-abi-config): Delete, no longer used.
36887         (update-abi-%): Remove AWK script and explicit abilist directory.
36888         (update-abi): Rewrite to simply compare and conditionally copy the
36889         symlist and the sysdep abilist file.  Remove update-abi-config
36890         checks.
36891         * abilist/ld.abilist: Remove.
36892         * abilist/libBrokenLocale.abilist: Remove.
36893         * abilist/libanl.abilist: Remove.
36894         * abilist/libcrypt.abilist: Remove.
36895         * abilist/libdl.abilist: Remove.
36896         * abilist/librt.abilist: Remove.
36897         * abilist/libthread_db.abilist: Remove.
36898         * abilist/libutil.abilist: Remove.
36899         * scripts/extract-abilist.awk: Remove.
36900         * scripts/merge-abilist.awk: Remove.
36901         * sysdeps/generic/libcidn.abilist: New file.
36902         * sysdeps/generic/libnss_compat.abilist: New file.
36903         * sysdeps/generic/libnss_db.abilist: New file.
36904         * sysdeps/generic/libnss_dns.abilist: New file.
36905         * sysdeps/generic/libnss_files.abilist: New file.
36906         * sysdeps/generic/libnss_hesiod.abilist: New file.
36907         * sysdeps/generic/libnss_nis.abilist: New file.
36908         * sysdeps/generic/libnss_nisplus.abilist: New file.
36909         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36910         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36911         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36912         file.
36913         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36914         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36915         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36916         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36917         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36918         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36919         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36920         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36921         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36922         file.
36923         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36924         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36925         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36926         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36927         file.
36928         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36929         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36930         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36931         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36932         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36933         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36934         file.
36935         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36936         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36937         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36938         file.
36939         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36941         New file.
36942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36943         New file.
36944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36945         New file.
36946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36947         New file.
36948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36949         New file.
36950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36951         New file.
36952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36953         New file.
36954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36955         New file.
36956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36957         New file.
36958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36959         New file.
36960         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36961         New file.
36962         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36963         New file.
36964         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36965         New file.
36966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36967         file.
36968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36969         New file.
36970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36971         New file.
36972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36973         file.
36974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36975         New file.
36976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36977         New file.
36978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36979         file.
36980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36981         New file.
36982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36983         New file.
36984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36985         New file.
36986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36987         New file.
36988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36989         New file.
36990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36991         New file.
36992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36994         file.
36995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36996         New file.
36997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36998         file.
36999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37000         file.
37001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37002         file.
37003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37004         file.
37005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37006         file.
37007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37008         New file.
37009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37010         file.
37011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37012         file.
37013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37014         New file.
37015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37016         file.
37017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37019         file.
37020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37021         New file.
37022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37023         file.
37024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37025         file.
37026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37027         file.
37028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37029         file.
37030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37031         file.
37032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37033         New file.
37034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37035         file.
37036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37037         file.
37038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37039         New file.
37040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37041         file.
37042         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37043         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37044         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37045         file.
37046         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37047         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37048         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37049         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37050         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37051         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37052         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37053         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37054         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37055         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37058         file.
37059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37060         New file.
37061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37062         file.
37063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37064         file.
37065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37066         file.
37067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37068         file.
37069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37070         file.
37071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37072         New file.
37073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37074         New file.
37075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37076         file.
37077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37078         New file.
37079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37080         file.
37081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37083         file.
37084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37085         New file.
37086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37087         file.
37088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37089         file.
37090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37091         file.
37092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37093         file.
37094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37095         file.
37096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37097         New file.
37098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37099         New file.
37100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37101         file.
37102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37103         New file.
37104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37105         file.
37106
37107 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37108
37109         * conform/conformtest.pl: Fix typo in handling typed-constant from
37110         allow-header.
37111
37112 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37113
37114         * README: Cut down references to pre-2.6 Linux kernels and
37115         Linuxthreads.  Update lists of configurations in libc and ports
37116         and sort alphabetically.  Say "or newer" with Linux kernel version
37117         requirements.
37118
37119         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37120
37121 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37122
37123         [BZ #887]
37124         * math/libm-test.inc (logb_test_downward): New test to expose
37125         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37126         rounding mode.
37127
37128 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37129
37130         [BZ #14027]
37131         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37132         to be done.
37133         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37134         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37135
37136 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37137
37138         * sysdeps/unix/i386/brk.S: Remove file.
37139         * sysdeps/unix/i386/dl-brk.S: Likewise.
37140         * sysdeps/unix/i386/pipe.S: Likewise.
37141         * sysdeps/unix/i386/sigreturn.S: Likewise.
37142         * sysdeps/unix/i386/syscall.S: Likewise.
37143         * sysdeps/unix/i386/vfork.S: Likewise.
37144         * sysdeps/unix/i386/wait.S: Likewise.
37145
37146         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37147         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37148
37149         * configure.in (arm*-none*): Do not allow without
37150         --enable-hacker-mode.
37151         (netbsd*): Remove case setting base_os.
37152         (386bsd*): Likewise.
37153         (freebsd*): Likewise.
37154         (bsdi*): Likewise.
37155         (osf*): Likewise.
37156         (sunos*): Likewise.
37157         (ultrix*): Likewise.
37158         (newsos*): Likewise.
37159         (dynix*): Likewise.
37160         (*bsd*): Likewise.
37161         (sysv*): Likewise.
37162         (isc*): Likewise.
37163         (esix*): Likewise.
37164         (sco*): Likewise.
37165         (minix*): Likewise.
37166         (irix4*): Likewise.
37167         (irix6*): Likewise.
37168         (solaris[2-9]*): Likewise.
37169         (none): Likewise.
37170         * configure: Regenerated.
37171
37172 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37173
37174         [BZ #11521]
37175         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37176         overflow or cancellation in calculating denominator.
37177         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37178         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37179         down expression to avoid unexpected rounding in newer GCCs.
37180         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37181
37182 2012-04-26  David S. Miller  <davem@davemloft.net>
37183
37184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37185         long-double compat symbols.
37186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37199
37200 2012-04-25  David S. Miller  <davem@davemloft.net>
37201
37202         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37203         HWCAP_* values only after the memory barriers have been defined.
37204         (atomic_full_barrier): Define.
37205         (atomic_read_barrier): Define.
37206         (atomic_write_barrier): Define.
37207
37208 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37209
37210         * shlib-versions: Add libgcc_s version information.
37211         * sysdeps/generic/libgcc_s.h: Remove.
37212         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37213         libgcc_s.h.
37214         * sysdeps/gnu/unwind-resume.c: Likewise.
37215         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37216
37217 2012-04-25  David S. Miller  <davem@davemloft.net>
37218
37219         * sysdeps/unix/sparc/brk.S: Delete.
37220         * sysdeps/unix/sparc/dl-brk.S: Delete.
37221         * sysdeps/unix/sparc/pipe.S: Delete.
37222         * sysdeps/unix/sparc/sysdep.S: Delete.
37223         * sysdeps/unix/sparc/sysdep.h: Delete.
37224         * sysdeps/unix/sparc/vfork.S: Delete.
37225         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37226         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37227         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37228         (ret_ERRVAL, r0, r1, MOVE): Define.
37229         (JUMPTARGET): Remove.
37230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37231         sysdeps/unix/sparc/sysdep.h
37232         (ENTRY, END): Remove.
37233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37234
37235 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37236
37237         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37238         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37239         -DIS_IN_build.
37240
37241         * timezone/README: Update upstream location and email address for
37242         tzcode and tzdata.
37243         * timezone/zdump.c: Update from tzcode 2012b.
37244         * timezone/zic.c: Likewise.
37245
37246         * configure.in (libc_cv_as_needed): Remove test.
37247         * configure: Regenerated.
37248         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37249         conditional definition.
37250         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37251         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37252         * config.make.in (have-as-needed): Remove variable.
37253
37254 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37255             Paul Pluzhnikov  <ppluzhnikov@google.com>
37256
37257         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37258         strings correctly.
37259
37260 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37261
37262         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37263         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37264         * sysdeps/sh/strlen.S: Likewise.
37265
37266 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37267
37268         * sysdeps/unix/fork.S: Remove file.
37269         * sysdeps/unix/i386/fork.S: Likewise.
37270         * sysdeps/unix/sparc/fork.S: Likewise.
37271
37272         * sysdeps/unix/system.c: Remove file.
37273         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37274
37275         * sysdeps/unix/getegid.S: Remove file.
37276         * sysdeps/unix/geteuid.S: Likewise.
37277
37278 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37279
37280         * scripts/check-localplt.awk: New file.
37281         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37282         of diff.
37283         * scripts/data/localplt-generic.data: Add a comment.
37284
37285         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37286         NODE when __dir_mkfile failed.
37287         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37288         Reported by Ludovic Courtès <ludo@gnu.org>.
37289
37290 2012-04-24  Andreas Jaeger  <aj@suse.de>
37291
37292         * Makerules (common-clean): Also remove gen-as-const-headers
37293         files.
37294
37295 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37296
37297         * Makerules (native-compile): Do not change working directory for
37298         build.  Use $(OUTPUT_OPTION) in command.
37299         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37300
37301 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37302
37303         [BZ #13886]
37304         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37305         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37306         * math/libm-test.inc (floor_test): Add more tests.
37307         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37308
37309 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37310
37311         * sysdeps/unix/getdents.c: Remove file.
37312         * sysdeps/unix/sysv/getdents.c: Likewise.
37313         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37314
37315         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37316         sysdeps/unix/mman/syscalls.list.
37317         (mmap): Likewise.
37318         (mprotect): Likewise.
37319         (msync): Likewise.
37320         (munmap): Likewise.
37321         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37322         * sysdeps/unix/mman/syscalls.list: Remove.
37323         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37324
37325         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37326         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37327         * configure: Regenerated.
37328         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37329         $(libgcc_s_suffix).
37330         * config.make.in (libgcc_s_suffix): Remove variable.
37331
37332 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37333
37334         * sysdeps/unix/sysv/gethostname.c: Move to ...
37335         * sysdeps/posix/gethostname.c: ... here.
37336
37337         * sysdeps/unix/execve.S: Remove file.
37338
37339         * sysdeps/unix/_exit.S: Remove file.
37340
37341 2012-04-23  Andreas Jaeger  <aj@suse.de>
37342
37343         [BZ #13739]
37344         * manual/Makefile: Remove make dist support, there's no
37345         need for a stand-alone documentation tar ball.
37346         (TEXI2DVI): Define always, it's not in Makeconfig.
37347         (dist): Removed.
37348         (tar-it): Removed.
37349         (edition): Removed.
37350         (glibc-doc-$(edition).tar): Removed
37351         (%.Z): Removed.
37352         (%.gz): Removed.
37353         (%.uu): Removed.
37354         (ETAGS): Remove, it's in Makeconfig.
37355         (move-if-change): Remove, it's in Makeconfig.
37356
37357 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37358
37359         [BZ #13970]
37360         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37361         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37362         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37363         (strtod_l, strtof_l, strtold_l): Remove __wur.
37364         It is not necessarily an error to ignore strtol's return value.
37365         One can reliably look at the stored endptr to decide whether
37366         the number had valid syntax.
37367
37368 2012-04-21  Andreas Jaeger  <aj@suse.de>
37369
37370         [BZ #13739]
37371         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37372
37373 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37374
37375         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37376         * sysdeps/unix/sysv/Versions: Remove file.
37377
37378 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37379
37380         [BZ #13927]
37381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37382
37383 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37384
37385         [BZ #7064]
37386         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37387         version from __vm86.
37388
37389 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37390
37391         * sysdeps/unix/common/lxstat.c: Remove file.
37392         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37393
37394         * sysdeps/unix/sysv/Makefile: Remove file.
37395
37396         * sysdeps/unix/sysv/direct.h: Remove file.
37397
37398         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37399         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37400         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37401         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37402         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37403         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37404         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37405
37406         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37407
37408         * sysdeps/unix/xmknod.c: Remove file.
37409         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37410
37411         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37412
37413         * sysdeps/unix/sysv/i386/time.S: Remove file.
37414
37415         * sysdeps/unix/fxstat.c: Remove file.
37416         * sysdeps/unix/xstat.c: Likewise.
37417         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37418
37419         * sysdeps/unix/sysv/sigaction.c: Remove file.
37420
37421         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37422         (sysdep_headers): Remove variable.
37423         [termio.h not in sysdep_headers] (generated): Likewise.
37424         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37425         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37426         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37427         * sysdeps/unix/sysv/tcflow.c: Likewise.
37428         * sysdeps/unix/sysv/tcflush.c: Likewise.
37429         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37430         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37431         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37432         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37433         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37434
37435         * sysdeps/unix/siglist.c: Remove file.
37436
37437         * sysdeps/unix/getppid.S: Remove file.
37438
37439         * sysdeps/unix/mkdir.c: Remove file.
37440         * sysdeps/unix/rmdir.c: Likewise.
37441
37442 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37443
37444         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37445         ERR_MAX value.
37446         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37447         errlist-compat value.
37448
37449 2012-04-18  David S. Miller  <davem@davemloft.net>
37450
37451         * sysdeps/generic/memcopy.h (reg_char): Delete.
37452         * debug/strcat_chk.c: Use char, not reg_char.
37453         * debug/strcpy_chk.c: Likewise.
37454         * debug/strncat_chk.c: Likewise.
37455         * debug/strncpy_chk.c: Likewise.
37456         * string/memchr.c: Likewise.
37457         * string/memrchr.c: Likewise.
37458         * string/rawmemchr.c: Likewise.
37459         * string/strcat.c: Likewise.
37460         * string/strchr.c: Likewise.
37461         * string/strchrnul.c: Likewise.
37462         * string/strcmp.c: Likewise.
37463         * string/strcpy.c: Likewise.
37464         * string/strncat.c: Likewise.
37465         * string/strncmp.c: Likewise.
37466         * string/strncpy.c: Likewise.
37467
37468 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37469
37470         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37471         __builtin_memcopy is called when src and dest ranges are known to not
37472         overlap.
37473
37474 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37475
37476         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37477         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37478         fwd_align_merge macro call.
37479         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37480         bwd_align_merge macro call.
37481         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37482
37483 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37484
37485         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37486         bwd_align_merge macros.
37487         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37488         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37489         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37490
37491 2012-04-18  David S. Miller  <davem@davemloft.net>
37492
37493         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37494
37495 2012-04-18  Andreas Jaeger  <aj@suse.de>
37496
37497         [BZ# 6794]
37498         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37499         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37500         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37501
37502         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37503         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37504         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37505
37506         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37507         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37508         Adjust for changed ldbl-128 files.
37509
37510         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37511         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37512         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37513
37514 2012-04-17  David S. Miller  <davem@davemloft.net>
37515
37516         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37517
37518 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37519
37520         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37521         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37522         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37523         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37524         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37525         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37526
37527 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37528
37529         [BZ #6794]
37530         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37531         * math/libm-test.inc: Add ilogb errno and exception tests.
37532         * math/w_ilogb.c: New file: ilogb wrapper.
37533         * math/w_ilogbf.c: New file: ilogbf wrapper.
37534         * math/w_ilogbl.c: New file: ilogbl wrapper.
37535         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37536         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37537         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37538         exception being thrown with 0.0 as argument.
37539         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37540         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37541         exception being thrown with 0.0 as argument.
37542         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37543         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37544         exception being thrown with 0.0 as argument.
37545         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37546         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37547         exception being thrown with 0.0 as argument.
37548         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37549         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37550         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37551         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37552         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37553         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37554         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37555         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37556         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37557
37558 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37559
37560         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37561         with altivec.
37562
37563 2012-04-16  Marek Polacek  <polacek@redhat.com>
37564
37565         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37566
37567 2012-04-16  Marek Polacek  <polacek@redhat.com>
37568
37569         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37570         operands of fdivp instruction.
37571
37572 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37573
37574         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37575         * elf/tst-auditmod3b.c: Likewise.
37576         * elf/tst-auditmod4b.c: Likewise.
37577         * elf/tst-auditmod5b.c: Likewise.
37578         * elf/tst-auditmod6b.c: Likewise.
37579         * elf/tst-auditmod6c.c: Likewise.
37580         * elf/tst-auditmod7b.c: Likewise.
37581         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37582         * sysdeps/x86_64/preconfigure.in: Likewise.
37583         * sysdeps/x86_64/preconfigure: Regenerated.
37584
37585 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37586
37587         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37588         __ILP32__.
37589
37590 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37591
37592         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37593         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37594
37595 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37596
37597         [BZ #13973]
37598         * locale/iso-639.def: Fix gl language name. Spotted by
37599         Yaron Shahrabani.
37600
37601 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37602
37603         [BZ #2074]
37604         * libio/libio.h (__io_write_fn): Update comment.
37605
37606 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37607
37608         [BZ #2074]
37609         * stdio.texi (Hook Functions): The user provided writer function
37610         is not allowed to return -1.
37611
37612 2012-04-11  David S. Miller  <davem@davemloft.net>
37613
37614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37615
37616 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37617
37618         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37619         Add a leading slash to rtkaio.
37620
37621 2012-04-11  Jim Meyering  <meyering@redhat.com>
37622
37623         [BZ #11959]
37624         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37625         It is not necessarily an error to ignore fwrite's return
37626         value.  One can reliably use ferror to test for errors after
37627         the fact.
37628
37629 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37630
37631         * bits/types.h (__snseconds_t): New type.
37632         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37633
37634         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37635         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37636         (__SNSECONDS_T_TYPE): Likewise.
37637         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37638         (__SNSECONDS_T_TYPE): Likewise.
37639         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37640         (__SNSECONDS_T_TYPE): Likewise.
37641
37642 2012-04-10  Andreas Jaeger  <aj@suse.de>
37643
37644         [BZ #2636]
37645         * manual/time.texi (Processor Time): Return type of times is
37646         elapsed real time since an arbitrary point in the past.
37647         (CPU Time): Move CLK_TCK from here...
37648         (Processor Time): ...to here.  Correct description.
37649         * manual/conf.texi (Constants for Sysconf): Correct description of
37650         _SC_CLK_TCK.
37651
37652 2012-04-10  David S. Miller  <davem@davemloft.net>
37653
37654         [BZ #13967]
37655         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37656         where the is a gap between DT_REL(A) and DT_JMPREL.
37657
37658 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37659
37660         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37661         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37662         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37663
37664 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37665
37666         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37667         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37668         (dl_main): Handle --inhibit-cache.
37669         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37670         _dl_inhibit_cache.
37671         * elf/dl-load.c (_dl_map_object): Use it.
37672         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37673
37674 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37675
37676         [BZ #13872]
37677         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37678         (__ieee754_powl): Saturate large exponents rather than testing for
37679         overflow of y*log2(x).
37680         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37681         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37682         exceptions.
37683
37684         [BZ #11521]
37685         * math/s_ctan.c: Include <float.h>.
37686         (__ctan): Avoid internal overflow or cancellation in calculating
37687         denominator.
37688         * math/s_ctanf.c: Likewise.
37689         * math/s_ctanl.c: Likewise.
37690         * math/s_ctanh.c: Likewise.
37691         * math/s_ctanhf.c: Likewise.
37692         * math/s_ctanhl.c: Likewise.
37693         * math/libm-test.inc (ctan_test): Add more tests.
37694         (ctanh_test): Likewise.
37695         * sysdeps/i386/fpu/libm-test-ulps: Update.
37696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37697
37698 2012-04-09  Andreas Jaeger  <aj@suse.de>
37699
37700         [BZ #6894]
37701         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37702         is an optional BSD extension.
37703
37704         [BZ #10254]
37705         * manual/stdio.texi (Opening Streams): Document additional fopen
37706         parameters.
37707
37708 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37709
37710         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37711         %eax without telling the compiler.
37712
37713 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37714
37715         [BZ # 13963]
37716         * manual/install.texi: Use sourceware.org.
37717
37718 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37719
37720         [BZ #13873]
37721         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37722         (__ieee754_pow): Generate overflow and underflow using huge*huge
37723         and tiny*tiny rather than just returning constant infinity or zero
37724         for large exponents.
37725         * math/libm-test.inc (pow_test): Require overflow exceptions for
37726         applicable cases of large exponents.
37727
37728         [BZ #706]
37729         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37730         (__ieee754_pow): Use iterative multiplication algorithm only for
37731         integer exponents with absolute value below 1024.  Check for odd
37732         integer exponents when using algorithm for real exponents.
37733         * math/libm-test.inc (pow_test): Add more tests.
37734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37735
37736 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37737
37738         [BZ #13705]
37739         * math/libm-test.inc (exp_test): Do not allow overflow exception
37740         on underflow test.
37741
37742 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37743
37744         [BZ #13705]
37745         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37746         instead of __kernel_standard_f.
37747
37748 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37749
37750         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37751         * sysdeps/x86_64/memset_chk.S: Likewise.
37752
37753 2012-04-08  Andreas Jaeger  <aj@suse.de>
37754
37755         [BZ #10153]
37756         * manual/startup.texi (Environment Access): Describe return value
37757         for putenv and setenv.
37758
37759         [BZ #6895]
37760         * manual/filesys.texi (Directory Entries): Add description for
37761         DT_LNK.
37762
37763         [BZ #6890]
37764         * manual/filesys.texi (Directory Entries): Clarify that it's file
37765         system not operating system in the description of DT_UNKNOWN.
37766
37767         [BZ #6578]
37768         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37769
37770 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37771
37772         [BZ #6649]
37773         * manual/llio.texi (Opening and Closing Files): Add cross
37774         reference to explain mode argument.
37775
37776 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37777
37778         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37779         * sysdeps/x86_64/memset_chk.S: Likewise.
37780
37781 2012-04-07  David S. Miller  <davem@davemloft.net>
37782
37783         * elf/elf.h (R_SPARC_WDISP10): Define.
37784         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37785         R_SPARC_SIZE32.
37786         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37787         R_SPARC_SIZE64 and R_SPARC_H34.
37788
37789 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37790
37791         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37792         conditions and remove no longer applicable assertion.
37793
37794 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37795
37796         * bits/byteswap.h: Include <features.h>.
37797         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37798         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37799
37800 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37801
37802         * bits/byteswap.h (__bswap_16): Removed.
37803         Include <bits/byteswap-16.h> to get __bswap_16.
37804         * sysdeps/i386/bits/byteswap.h: Likewise.
37805         * sysdeps/s390/bits/byteswap.h: Likewise.
37806         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37807         * bits/byteswap-16.h: New file.
37808         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37809         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37810         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37811         * string/Makefile (headers): Add bits/byteswap-16.h.
37812
37813 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37814
37815         [BZ #13895]
37816         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37817         extra indirection.
37818         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37819         * nss/tst-nss-static.c: New.
37820
37821 2012-04-06  Robert Millan  <rmh@gnu.org>
37822
37823         [BZ #6486]
37824         * manual/llio.texi (File Position Primitive): lseek
37825         refers to WHENCE when it really means OFFSET.
37826
37827 2012-04-06  Andreas Jaeger  <aj@suse.de>
37828
37829         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37830         strncmp declarations.
37831
37832         * abilist/libc.abilist: Add __poll and __ppoll.
37833
37834 2012-04-05  David S. Miller  <davem@davemloft.net>
37835
37836         * scripts/check-local-headers.sh: Accept a host triplet in the
37837         path matched by the exclude regexp.
37838
37839         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37840         definition.
37841         * sysdeps/powerpc/powerpc32/dl-machine.h
37842         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37843         * sysdeps/s390/s390-32/dl-machine.h
37844         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37845         * sysdeps/sparc/sparc32/dl-machine.h
37846         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37847         * sysdeps/sparc/sparc64/dl-machine.h
37848         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37849
37850         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37851         lazy binding.
37852         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37853         undefined symbol errors.
37854
37855         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37856         DT_NEEDED entries.
37857
37858 2012-04-05  Michael Matz  <matz@suse.de>
37859
37860         [BZ #13592]
37861         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37862
37863 2012-04-05  Andreas Jaeger  <aj@suse.de>
37864
37865         [BZ #13908]
37866         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37867         comment.
37868
37869 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37870
37871         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37872         which ROUND is no valid rounding mode.
37873
37874 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37875
37876         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37877         read again.
37878         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37879
37880 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37881
37882         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37883         an exception using FPU order intentionally.
37884
37885 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37886
37887         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37888         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37889         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37890         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37891
37892 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37893
37894         [BZ #12340]
37895         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37896         EINVAL when BUFLEN is too smal.
37897
37898 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37899
37900         [BZ #13553]
37901         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37902         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37903
37904 2012-04-03  Andreas Jaeger  <aj@suse.de>
37905
37906         [BZ #13938]
37907         * manual/setjmp.texi (System V contexts): Fix sentence.
37908
37909         [BZ #13926]
37910         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37911         New macro for this case.
37912         [!__GNUC__] (__bswap_64): New inline function for this case.
37913         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37914         * bits/byteswap.h: Likewise.
37915         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37916         ull, guard with __GLIBC_HAVE_LONG_LONG.
37917
37918         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37919         __GLIBC_HAVE_LONG_LONG.
37920
37921         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37922         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37923
37924 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37925
37926         [BZ #13691]
37927         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37928         inptr and inend, rather than using last_ch.
37929
37930 2012-04-02  David S. Miller  <davem@davemloft.net>
37931
37932         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37933         * stdio-common/printf-parse.h (read_int): Change return type to
37934         'int', return -1 on INT_MAX overflow.
37935         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37936         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37937         overflows INT_MAX.  Check for overflow of in-format-string precision
37938         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37939         SIZE_MAX not INT_MAX for integer overflow test.
37940         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37941         skip the construct in the format string but do not record anything.
37942         * stdio-common/bug22.c: Adjust to test both width/prevision
37943         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37944         explicitly for proper errno values.
37945
37946 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37947
37948         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37949         CHAR_MAX.
37950         * string/test-strcmp.c [! WIDE]: Likewise.
37951         * time/tst-mktime2.c: Likewise for INT_MAX.
37952         * string/test-string.h: #include <sys/param.h> for MIN.
37953
37954         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37955         * sysdeps/i386/init-first.c (init): Likewise.
37956         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37957         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37958         * sysdeps/sh/init-first.c (init): Likewise.
37959
37960 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37961
37962         * po/ru.po: Update from translation team.
37963         * po/vi.po: Likewise.
37964
37965 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37966
37967         * resolv/nss_dns/dns-host.c: Merge copyright years.
37968
37969 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37970
37971         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37972         Optimize memcpy with prefetch if
37973         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37974         src, dst pointers have unequal 16 byte alignments.
37975
37976 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37977
37978         [BZ #13928]
37979         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37980         from a CNAME entry and return the minimum ttl for the query.
37981         (gaih_getanswer_slice): Likewise.
37982
37983 2012-03-30  Jeff Law  <law@redhat.com>
37984
37985         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37986         due to long keys.
37987         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37988         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37989
37990         * resolv/nss_dns/dns-host.c: Update copyright year.
37991
37992 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37993
37994         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37995         requests to save a system call.  Fix check that all bytes are sent.
37996
37997         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37998         comments for sendmmsg.
37999
38000 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38001
38002         [BZ #13691]
38003         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38004         with only 1 character between 0x0041 and 0x01b0.
38005         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38006         * wcsmbs/tst-mbsnrtowcs.c: New file.
38007
38008 2012-03-29  David S. Miller  <davem@davemloft.net>
38009
38010         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38011         small copies by hand.
38012
38013 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38014
38015         [BZ #13761]
38016         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38017         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38018         group memberships.
38019
38020 2012-03-28  David S. Miller  <davem@davemloft.net>
38021
38022         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38023         that branches into memcpy.
38024         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38025         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38026         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38027         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38028         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38029         bits.
38030         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38031         implementation too.
38032         * sysdeps/sparc/mempcpy.S: New file.
38033
38034         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38035         the IFUNC routine in the libc case.
38036         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38037
38038         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38039         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38040         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38041         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38042         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38043         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38044         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38045         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38046
38047         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38048         loop to 256 bytes instead of 64 bytes and fix test signedness.
38049
38050         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38051         * sysdeps/sparc/sparc32/Makefile: rather than here...
38052         * sysdeps/sparc/sparc64/Makefile: and here.
38053
38054 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38055
38056         * malloc/mallocbug.c: Avoid warnings about unused variables.
38057
38058 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38059
38060         [BZ #13760]
38061         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38062         in the right place. Discard and retry query if response is
38063         larger than input buffer size.
38064
38065 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38066
38067         [BZ #369]
38068         [BZ #2678]
38069         [BZ #3866]
38070         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38071         x for large integer exponent.
38072         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38073         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38074         sign of result as needed afterwards.
38075         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38076         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38077         result for underflowing pow the same as for overflow.
38078         (__kernel_standard_l): Handle powl overflow and underflow here
38079         rather than calling __kernel_standard.
38080         * math/libm-test.inc (pow_test): Add more tests.
38081
38082         [BZ #3868]
38083         [BZ #13879]
38084         [BZ #13910]
38085         [BZ #13911]
38086         [BZ #13912]
38087         [BZ #13913]
38088         [BZ #13915]
38089         [BZ #13916]
38090         [BZ #13917]
38091         [BZ #13918]
38092         [BZ #13919]
38093         [BZ #13920]
38094         [BZ #13921]
38095         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38096         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38097         (__kernel_standard_l): New function.
38098         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38099         __kernel_standard.
38100         * math/w_acosl.c (__acosl): Likewise.
38101         * math/w_asinl.c (__asinl): Likewise.
38102         * math/w_atan2l.c (__atan2l): Likewise.
38103         * math/w_atanhl.c (__atanhl): Likewise.
38104         * math/w_coshl.c (__coshl): Likewise.
38105         * math/w_exp10l.c (__exp10l): Likewise.
38106         * math/w_exp2l.c (__exp2l): Likewise.
38107         * math/w_fmodl.c (__fmodl): Likewise.
38108         * math/w_hypotl.c (__hypotl): Likewise.
38109         * math/w_j0l.c (__j0l, __y0l): Likewise.
38110         * math/w_j1l.c (__j1l, __y1l): Likewise.
38111         * math/w_jnl.c (__jnl, __ynl): Likewise.
38112         * math/w_lgammal.c (__lgammal): Likewise.
38113         * math/w_log10l.c (__log10l): Likewise.
38114         * math/w_log2l.c (__log2l): Likewise.
38115         * math/w_logl.c (__logl): Likewise.
38116         * math/w_powl.c (__powl): Likewise.
38117         * math/w_remainderl.c (__remainderl): Likewise.
38118         * math/w_scalbl.c (sysv_scalbl): Likewise.
38119         * math/w_sinhl.c (__sinhl): Likewise.
38120         * math/w_sqrtl.c (__sqrtl): Likewise.
38121         * math/w_tgammal.c (__tgammal): Likewise.
38122         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38123         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38124         * math/libm-test.inc (acos_test): Add more tests.
38125         (acosh_test): Likewise.
38126         (asin_test): Likewise.
38127         (atanh_test): Likewise.
38128         (exp_test): Likewise.
38129         (exp10_test): Likewise.
38130         (exp2_test): Likewise.
38131         (expm1_test): Likewise.
38132         (lgamma_test): Likewise.
38133         (log_test): Likewise.
38134         (log10_test): Likewise.
38135         (log1p_test): Likewise.
38136         (log2_test): Likewise.
38137         (pow_test): Do not allow some spurious overflow exceptions.
38138         (sqrt_test): Add more tests.
38139         (tgamma_test): Likewise.
38140         (y0_test): Likewise.
38141         (y1_test): Likewise.
38142         (yn_test): Likewise.
38143
38144 2012-03-27  Anton Blanchard  <anton@samba.org>
38145
38146         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38147         MAP_HUGETLB.
38148         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38149         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38150         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38151
38152 2012-03-27  David S. Miller  <davem@davemloft.net>
38153
38154         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38155
38156         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38157         have-as-vis3 check.
38158
38159 2012-03-27  Andreas Jaeger  <aj@suse.de>
38160
38161         * sysdeps/x86_64/elf/configure.in: Moved to ...
38162         * sysdeps/x86_64/configure.in: ... here.
38163         * sysdeps/x86_64/elf/start.S: Moved to ...
38164         * sysdeps/x86_64/start.S: ... here.
38165         * sysdeps/x86_64/elf/configure: Delete.
38166
38167         * sysdeps/x86_64/configure.in: Merge contents from
38168         sysdeps/i386/configure.in (without i686 check).
38169
38170         * sysdeps/i386/elf/Versions: Merge into ...
38171         * sysdeps/i386/Versions: ... this.
38172         * sysdeps/i386/elf/Versions: Delete file.
38173         * sysdeps/i386/elf/start.S: Moved to ...
38174         * sysdeps/i386/start.S: ...here.
38175         * sysdeps/i386/elf/configure.in: Merge into...
38176         * sysdeps/i386/configure.in: ...here.
38177         * sysdeps/i386/elf/configure.in: Delete file.
38178         * sysdeps/i386/elf/configure: Delete file.
38179
38180         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38181         * debug/backtracesyms.c: ... here.
38182         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38183         * debug/backtracesymsfd.c: ... here.
38184         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38185         * sysdeps/generic/ifunc-sel.h: ... here.
38186
38187         * sysdeps/unix/i386/start.c: Delete file.
38188         * sysdeps/unix/sparc/start.c: Delete file.
38189         * sysdeps/unix/start.c: Delete file.
38190
38191         * sysdeps/sh/elf/configure.in: Moved to ...
38192         * sysdeps/sh/configure.in: ... here.
38193         * sysdeps/sh/elf/start.S: Moved to ...
38194         * sysdeps/sh/start.S: ... here.
38195         * sysdeps/sh/elf/configure: Delete file.
38196
38197         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38198         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38199         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38200         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38201         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38202         * sysdeps/powerpc/powerpc64/start.S: here.
38203         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38204         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38205         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38206         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38207         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38208
38209         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38210         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38211         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38212         * sysdeps/powerpc/powerpc32/start.S: ... here.
38213         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38214         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38215         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38216
38217         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38218         * sysdeps/powerpc/ifunc-sel.h: ... here.
38219         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38220         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38221
38222         * sysdeps/sparc/elf/configure.in: Moved to ...
38223         * sysdeps/sparc/configure.in: ... here.
38224         * sysdeps/sparc/elf/configure: Delete file.
38225         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38226         * sysdeps/sparc/sparc32/start.S: ... here.
38227         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38228         * sysdeps/sparc/sparc64/start.S: ... here.
38229         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38230         * sysdeps/sparc/sparc32/Makefile: ... this.
38231         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38232         * sysdeps/sparc/sparc64/Makefile: ... this.
38233
38234         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38235         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38236         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38237         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38238         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38239         * sysdeps/s390/s390-32/setjmp.S: ... here.
38240         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38241         * sysdeps/s390/s390-32/configure.in: ... here.
38242         * sysdeps/s390/s390-32/elf/configure: Delete file.
38243         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38244         * sysdeps/s390/s390-32/start.S: ... here.
38245
38246         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38247         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38248         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38249         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38250         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38251         * sysdeps/s390/s390-64/setjmp.S: ... here.
38252         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38253         * sysdeps/s390/s390-64/configure.in: ... here
38254         * sysdeps/s390/s390-64/elf/configure: Delete file.
38255         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38256         * sysdeps/s390/s390-64/start.S: ... here.
38257         * sysdeps/s390/s390-64/elf/configure: Delete.
38258
38259         * configure.in: Remove support for elf directories in sysdeps.
38260
38261         * configure: Regenerated.
38262         * sysdeps/i386/configure: Regenerated.
38263         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38264         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38265         * sysdeps/s390/s390-32/configure: Regenerated.
38266         * sysdeps/s390/s390-64/configure: Regenerated.
38267         * sysdeps/sh/configure: Regenerated.
38268         * sysdeps/sparc/configure: Regenerated.
38269         * sysdeps/x86_64/configure: Regenerated.
38270
38271 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38272
38273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38274
38275         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38276         denormal result into account.
38277
38278 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38279
38280         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38281         Reported by Allan McRae <allan@archlinux.org>.
38282
38283 2012-03-23  Jeff Law  <law@redhat.com>
38284
38285         * nss/getnssent.c (__nss_getent): Fix typo.
38286
38287 2012-03-23  David S. Miller  <davem@davemloft.net>
38288
38289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38290
38291 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38292
38293         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38294         to pad to uint64_t for each field.
38295         (dl_tls_index): Replace unsigned long with uint64_t.
38296
38297 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38298         Paul Pluzhnikov  <ppluzhnikov@google.com>
38299
38300         [BZ #6528]
38301         * grp/Makefile (otherlibs): Don't set it.
38302         * inet/Makefile (otherlibs): Likewise.
38303         * login/Makefile (otherlibs): Likewise.
38304         * nscd/Makefile (otherlibs): Likewise.
38305         * posix/Makefile (otherlibs): Likewise.
38306         * pwd/Makefile (otherlibs): Likewise.
38307         * rt/Makefile (otherlibs): Likewise.
38308         * sunrpc/Makefile (otherlibs): Likewise.
38309         * nss/Makefile (otherlibs): Likewise.
38310         Add libnss_files to routines and static-only-routines.
38311         ($(objpfx)getent): Remove rule.
38312         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38313         static-only-routines.
38314
38315 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38316
38317         [BZ #13892]
38318         * math/s_cexp.c: Include <float.h>.
38319         (__cexp): Handle exp result overflowing not necessarily
38320         overflowing both real and imaginary parts of result.
38321         * math/s_cexpf.c: Likewise.
38322         * math/s_cexpl.c: Likewise.
38323         * math/libm-test.inc (cexp_test): Add more tests.
38324         * sysdeps/i386/fpu/libm-test-ulps: Update.
38325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38326
38327 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38328
38329         * include/link.h (ELFW): New macro.
38330         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38331         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38332
38333 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38334
38335         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38336         with uint64_t.
38337
38338 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38339
38340         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38341         declaration.
38342         (struct La_x32_retval): Likewise.
38343
38344 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38345
38346         * sysdeps/x86_64/preconfigure.in: New file.
38347         * sysdeps/x86_64/preconfigure: New generated file.
38348
38349 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38350
38351         [BZ #13824]
38352         * math/e_exp2l.c: Include <float.h>.
38353         (__ieee754_exp2l): Handle overflow and underflow cases
38354         separately.  Only pass fractional part of argument to
38355         __ieee754_expl.
38356         * math/libm-test.inc (exp2_test): Add more tests.
38357
38358         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38359         negating x to take absolute value.
38360         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38361         Likewise.
38362         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38363         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38364         Likewise.
38365         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38366         computing low part if x was negated.
38367         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38368
38369 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38370
38371         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38372         la_x32_gnu_pltexit.
38373         (pltexit): Cast int_retval to ptrdiff_t.
38374         * elf/tst-auditmod3b.c: Likewise.
38375         * elf/tst-auditmod4b.c: Likewise.
38376         * elf/tst-auditmod5b.c: Likewise.
38377         * elf/tst-auditmod6b.c: Likewise.
38378         * elf/tst-auditmod6c.c: Likewise.
38379         * elf/tst-auditmod7b.c: Likewise.
38380
38381         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38382         and x32_gnu_pltexit.
38383
38384         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38385         __ELF_NATIVE_CLASS.
38386         (La_x32_regs): New macro.
38387         (La_x32_retval): Likewise.
38388         (la_x32_gnu_pltenter): New function prototype.
38389         (la_x32_gnu_pltexit): Likewise.
38390
38391 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38392
38393         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38394         exponent.
38395
38396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38397
38398         * configure.in (libc_cv_cc_nofma): Check for option to disable
38399         generation of FMA instructions.
38400         * configure: Regenerate.
38401         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38402         * sysdeps/ieee754/dbl-64/Makefile: New file.
38403         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38404         Remove brandred-fma4.
38405         (CFLAGS-brandred-fma4.c): Remove.
38406         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38407         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38408         define.
38409         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38410         define.
38411
38412 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38413
38414         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38415         LLONG_MAX != LONG_MAX.
38416         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38417         (_fitoa_word): Likewise.
38418         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38419         LLONG_MAX != LONG_MAX.
38420         * stdio-common/_itowa.h: Include <_itoa.h>.
38421         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38422         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38423         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38424         only if not defined.
38425         (_ITOA_WORD_TYPE): Likewise.
38426         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38427         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38428
38429 2012-03-21  David S. Miller  <davem@davemloft.net>
38430
38431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38432
38433 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38434
38435         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38436         of x86_64 when setting libc_cv_slibdir, libdir and
38437         libc_cv_localedir.
38438         * sysdeps/unix/sysv/linux/configure: Regenerated.
38439
38440 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38441
38442         * manual/lang.texi (Old Varargs): Remove section.
38443         (How Variadic): Update menu.
38444         (va_start): Do not mention varargs.h.
38445
38446 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38447             Joseph Myers  <joseph@codesourcery.com>
38448
38449         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38450         link test.
38451         * configure: Regenerated.
38452
38453 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38454
38455         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38456         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38457         conformtest.pl
38458
38459 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38460
38461         * NOTES: Remove.
38462         * Makefile (files-for-dist): Remove NOTES.
38463         (NOTES): Remove rule.
38464         * README: Don't refer to NOTES.
38465         * manual/creature.texi: Don't include macros.texi.
38466         * manual/intro.texi (creature.texi): Remove comment referring to
38467         NOTES.
38468
38469         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38470         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38471         * configure: Regenerated.
38472         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38473         LIBC_TRY_CC_OPTION.
38474         (libc_cv_as_i686): Likewise.
38475         (libc_cv_cc_avx): Likewise.
38476         (libc_cv_cc_sse2avx): Likewise.
38477         (libc_cv_cc_fma4): Likewise.
38478         (libc_cv_cc_novzeroupper): Likewise.
38479         * sysdeps/i386/configure: Regenerated.
38480
38481         [BZ #13883]
38482         * sysdeps/i386/fpu/s_cexp.S: Remove.
38483         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38484         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38485         * math/libm-test.inc (cexp_test): Add more tests.
38486         * sysdeps/i386/fpu/libm-test-ulps: Update.
38487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38488
38489 2012-03-21  Allan McRae  <allan@archlinux.org>
38490
38491         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38492
38493 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38494
38495         [BZ #13871]
38496         * math/w_exp2.c: Do not include <float.h>.
38497         (o_threshold, u_threshold): Remove.
38498         (__exp2): Calculate result before checking finiteness and calling
38499         __kernel_standard.
38500         * math/w_exp2f.c: Likewise.
38501         * math/w_exp2l.c: Likewise.
38502         * math/libm-test.inc (exp2_test): Require overflow exception for
38503         1e6 input.
38504
38505         [BZ #3866]
38506         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38507         range of signed 64-bit integers before using fistpll.  Remove
38508         checks for whether integers fit in mantissa bits.
38509         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38510         the range of signed 32-bit integers before using fistpl.  Remove
38511         checks for whether integers fit in mantissa bits.
38512         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38513         (__ieee754_powl): Test for y outside the range of signed 64-bit
38514         integers before using fistpll.  Reduce 64-bit values to 63-bit
38515         ones as needed.
38516         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38517         divide-by-zero is raised for zero to large negative powers.
38518         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38519         (__ieee754_powl): Test for y outside the range of signed 64-bit
38520         integers before using fistpll.  Reduce 64-bit values to 63-bit
38521         ones as needed.
38522         * math/libm-test.inc (pow_test): Add more tests.
38523
38524 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38525
38526         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38527         <stdio-common/_itoa.h>.
38528         * debug/segfault.c: Likewise.
38529         * elf/dl-cache.c: Likewise.
38530         * elf/dl-minimal.c: Likewise.
38531         * elf/dl-misc.c: Likewise.
38532         * elf/dl-sysdep.c: Likewise.
38533         * elf/dl-version.c: Likewise.
38534         * elf/rtld.c: Likewise.
38535         * hurd/hurdsock.c: Likewise.
38536         * hurd/lookup-retry.c: Likewise.
38537         * malloc/malloc.c: Likewise.
38538         * malloc/mtrace.c: Likewise.
38539         * nscd/nscd_getgr_r.c: Likewise.
38540         * nscd/nscd_getpw_r.c: Likewise.
38541         * nscd/nscd_getserv_r.c: Likewise.
38542         * posix/getopt_init.c: Likewise.
38543         * posix/wordexp.c: Likewise.
38544         * stdio-common/_itoa.c: Likewise.
38545         * stdio-common/printf_fphex.c: Likewise.
38546         * stdio-common/vfprintf.c: Likewise.
38547         * string/_strerror.c: Likewise.
38548         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38549         * sysdeps/i386/i686/hp-timing.h: Likewise.
38550         * sysdeps/mach/_strerror.c: Likewise.
38551         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38552         * sysdeps/mach/hurd/sethostid.c: Likewise.
38553         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38554         * sysdeps/mach/xpg-strerror.c: Likewise.
38555         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38556         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38557         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38558         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38559         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38560         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38561         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38562         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38563         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38564         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38565         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38566         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38567         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38568         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38569         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38570         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38571         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38572         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38573         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38574         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38575         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38576
38577         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38578
38579         * stdio-common/_itoa.h: Moved to ...
38580         * sysdeps/generic/_itoa.h: Here.
38581
38582         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38583
38584         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38585         instead of "_itoa.h" and "_itowa.h".
38586         * stdio-common/vfprintf.: Likewise.
38587
38588 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38589
38590         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38591         <bits/wordsize.h>.
38592         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38593         (__signbit): Likwise.
38594         (llrintf): Likwise.
38595         (llrint): Likwise.
38596
38597 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38598
38599         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38600         __WORDSIZE != 64.
38601
38602 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38603
38604         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38605         OVERFLOW_EXCEPTION_OK.
38606         * math/libm-test.inc ("Philosophy"): Update comment about
38607         exception testing.
38608         (OVERFLOW_EXCEPTION): Define.
38609         (OVERFLOW_EXCEPTION_OK): Likewise.
38610         (INVALID_EXCEPTION_OK): Renumber.
38611         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38612         (IGNORE_ZERO_INF_SIGN): Likewise.
38613         (test_exceptions): Handle FE_OVERFLOW.
38614         (exp10_test): Expect overflow exceptions.
38615         (exp2_test): Likewise.
38616         (expm1_test): Likewise.
38617         (nextafter_test): Likewise.
38618         (pow_test): Likewise.
38619         (scalbn_test): Likewise.
38620         (scalbln_test): Likewise.
38621
38622 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38623
38624         * sysdeps/x86_64/bits/atomic.h
38625         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38626         64bit integer.
38627         (atomic_exchange_acq): Likewise.
38628         (__arch_exchange_and_add_body): Likewise.
38629         (__arch_add_body): Likewise.
38630         (atomic_add_negative): Likewise.
38631         (atomic_add_zero): Likewise.
38632
38633 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38634
38635         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38636         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38637
38638 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38639
38640         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38641         Check __x86_64__ instead of __WORDSIZE.
38642
38643 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38644
38645         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38646
38647 2012-03-19  David S. Miller  <davem@davemloft.net>
38648
38649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38650
38651         * sysdeps/sparc/fpu/fenv_private.h: New file.
38652         * sysdeps/sparc/fpu/math_private.h: Use it.
38653         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38654         Remove.
38655         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38656         (libc_feholdexcept_setroundl): Remove.
38657         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38658         Remove.
38659         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38660         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38661
38662 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38663
38664         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38665         int64_t instead of long int.
38666         (INSERT_WORDS64): Likwise.
38667
38668 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38669
38670         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38671         _Unwind_GetCFA return to _Unwind_Ptr first.
38672
38673 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38674
38675         [BZ #13629]
38676         * math/s_clog.c: Include <float.h>.
38677         (__clog): Scale large or subnormal inputs.
38678         * math/s_clogf.c: Likewise.
38679         * math/s_clogl.c: Likewise.
38680         * math/s_clog10.c: Include <float.h>.
38681         (M_LOG10_2): Define.
38682         (__clog10): Scale large or subnormal inputs.
38683         * math/s_clog10f.c: Likewise.
38684         * math/s_clog10l.c: Likewise.
38685         * math/libm-test.inc (clog_test): Add more tests.
38686         (clog10_test): Likewise.
38687         * sysdeps/i386/fpu/libm-test-ulps: Update.
38688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38689
38690         [BZ #11451]
38691         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38692         x and y.
38693         * math/libm-test.inc (atan2_test): Add another test.
38694
38695         * Makerules (common-objdir-compile): Remove.
38696         * sysdeps/unix/Makefile (config-generated): Do not add
38697         $(unix-generated) to variable.
38698         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38699         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38700         Remove rule.
38701         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38702         Likewise.
38703         [generic bits/local_lim.h] (before-compile): Do not append to
38704         variable.
38705         [generic bits/local_lim.h] (common-generated): Likewise.
38706         [generic sys/param.h] (before-compile): Do not append to variable.
38707         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38708         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38709         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38710         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38711         include.
38712         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38713         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38714         [generic sys/param.h] ($(addprefix
38715         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38716         [generic sys/param.h] (common-generated): Do not append to
38717         variable.
38718         [generic sys/param.h] (sysdep_headers): Likewise.
38719         [generic bits/errno.h] (before-compile): Do not append to
38720         variable.
38721         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38722         rule.
38723         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38724         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38725         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38726         [generic bits/errno.h] (common-generated): Do not append to
38727         variable.
38728         [generic bits/ioctls.h] (before-compile): Do not append to
38729         variable.
38730         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38731         rule.
38732         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38733         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38734         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38735         rule.
38736         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38737         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38738         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38739         [generic bits/ioctls.h] (common-generated): Do not append to
38740         variable.
38741         [generic sys/syscall.h] (syscall.h): Remove variable.
38742         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38743         rule.
38744         [generic sys/syscall.h] (before-compile): Do not append to
38745         variable.
38746         [generic sys/syscall.h] (common-generated): Likewise.
38747         * sysdeps/unix/errnos-tmpl.c: Remove file.
38748         * sysdeps/unix/errnos.awk: Likewise.
38749         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38750         * sysdeps/unix/ioctls.awk: Likewise.
38751         * sysdeps/unix/mk-local_lim.c: Likewise.
38752         * sysdeps/unix/snarf-ioctls: Likewise.
38753
38754 2012-03-19  Richard Henderson  <rth@twiddle.net>
38755
38756         * sysdeps/i386/fpu/fenv_private.h: New file.
38757         * sysdeps/i386/fpu/math_private.h: Use it.
38758         (math_opt_barrier, math_force_eval): Remove.
38759         (libc_feholdexcept_setround_53bit): Remove.
38760         (libc_feupdateenv_53bit): Remove.
38761         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38762         (math_opt_barrier, math_force_eval): Remove.
38763         (libc_feholdexcept): Remove.
38764         (libc_feholdexcept_setround): Remove.
38765         (libc_fetestexcept, libc_fesetenv): Remove.
38766         (libc_feupdateenv_test): Remove.
38767         (libc_feupdateenv, libc_feholdsetround): Remove.
38768         (libc_feresetround): Remove.
38769
38770         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38771         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38772
38773         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38774         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38775         (libc_feupdateenv_testl): New.
38776         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38777         (libc_feupdateenv_testf): New.
38778         (libc_feupdateenv): Use libc_feupdateenv_test.
38779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38780         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38781
38782         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38783         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38784         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38785         (libc_feresetround_noex): New.
38786         (libc_feresetround_noexf): New.
38787         (libc_feresetround_noexl): New.
38788         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38789         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38790         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38791         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38792         SET_RESTORE_ROUND.
38793         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38794         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38795         (__cos): Likewise.
38796         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38797         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38798         SET_RESTORE_ROUND_NOEX.
38799         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38800         SET_RESTORE_ROUND_NOEXF.
38801         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38802         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38803         (libc_feholdsetroundf): New.
38804         (libc_feresetround, libc_feresetroundf): New.
38805
38806         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38807         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38808         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38809
38810         * sysdeps/generic/math_private.h: Include <fenv.h>.
38811         (default_libc_feholdexcept): New.
38812         (default_libc_feholdexcept_setround): New.
38813         (default_libc_fesetenv, default_libc_feupdateenv): New.
38814         (libc_feholdexcept): Only define if undefined.
38815         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38816         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38817         (libc_feholdexcept_setroundl): Likewise.
38818         (libc_feholdexcept_setround_53bit): Likewise.
38819         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38820         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38821         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38822         (libc_feupdateenv_53bit): Likewise.
38823         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38824         (libc_feholdexcept): Convert from macro to inline function.
38825         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38826         (libc_fesetenv, libc_feupdateenv): Likewise.
38827
38828         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38829         not previously defined.
38830         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38831         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38832         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38833         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38834         * sysdeps/ieee754/flt-32/math_private.h: New file.
38835         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38836         math_private.h below SET_FLOAT_WORD.
38837         (__isnan, __isinf_ns, __finite): Remove.
38838         (__isnanf, __isinf_nsf, __finitef): Remove.
38839
38840 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38841
38842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38843
38844 2012-03-17  David S. Miller  <davem@davemloft.net>
38845
38846         [BZ #6471]
38847         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38848         for 2.16.
38849
38850 2012-03-16  David S. Miller  <davem@davemloft.net>
38851
38852         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38853         warnings.
38854
38855         [BZ #6471]
38856         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38857         properly.
38858         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38859         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38860         sysdep_routines when subdir is sysvipc.
38861         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38862         __getshmlba helper.
38863
38864         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38865
38866 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38867
38868         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38869         [__LP64__].
38870
38871 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38872
38873         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38874         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38875         (__lround): Renamed to ...
38876         (__llround): This.  Replace long int with long long int.
38877         Define lround functions as aliases of llround functions.
38878         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38879
38880 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38881
38882         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38883         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38884         adresses to uintptr_t.  Replace "long int" and "unsigned long
38885         int" with "greg_t" on va_arg.
38886
38887 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38888
38889         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38890         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38891
38892         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38893         Move e_machine check before EI_CLASS check.  Handle x32
38894         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38895         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38896         SKIP_EM_IA_64 and include
38897         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38898
38899         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38900         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38901         (add_system_dir): New macro.
38902
38903         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38904         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38905
38906 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38907
38908         [BZ #2551]
38909         [BZ #2552]
38910         [BZ #2553]
38911         [BZ #2554]
38912         [BZ #2562]
38913         [BZ #2563]
38914         [BZ #2565]
38915         [BZ #2566]
38916         [BZ #2576]
38917         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38918         (y0): Likewise.
38919         * math/w_j0f.c (j0f): Likewise.
38920         (y0f): Likewise.
38921         * math/w_j0l.c (__j0l): Likewise.
38922         (__y0l): Likewise.
38923         * math/w_j1.c (j1): Likewise.
38924         (y1): Likewise.
38925         * math/w_j1f.c (j1f): Likewise.
38926         (y1f): Likewise.
38927         * math/w_j1l.c (__j1l): Likewise.
38928         (__y1l): Likewise.
38929         * math/w_jn.c (jn): Likewise.
38930         (yn): Likewise.
38931         * math/w_jnf.c (jnf): Likewise.
38932         (ynf): Likewise.
38933         * math/w_jnl.c (__jnl): Likewise.
38934         (__ynl): Likewise.
38935         * math/libm-test.inc (j0_test): Add more tests.
38936         (j1_test): Likewise.
38937         (jn_test): Likewise.  Add trailing semicolon to existing test.
38938         (y0_test): Likewise.
38939         (y1_test): Likewise.
38940         * sysdeps/i386/fpu/libm-test-ulps: Update.
38941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38942
38943         [BZ #13851]
38944         [BZ #13854]
38945         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38946         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38947         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38948         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38949         (__tanl): Set errno for infinite argument.
38950         * sysdeps/i386/fpu/mptan.c: Remove.
38951         * sysdeps/i386/fpu/s_tan.S: Likewise.
38952         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38953         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38954         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38955         * math/libm-test.inc (tan_test): Add more tests and enable more
38956         tests for double and long double.
38957         * sysdeps/i386/fpu/libm-test-ulps: Update.
38958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38959
38960 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38961
38962         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38963         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38964
38965 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38966
38967         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38968         * configure.in: Use it for both main tree and add-ons.
38969         * configure: Regenerated.
38970
38971 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38972
38973         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38974
38975 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38976
38977         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38978         in comment.
38979
38980         [BZ #13851]
38981         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38982         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38983         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38984         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38985         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38986         infinite argument.
38987         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38988         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38989         != 0 for prec == 2.
38990         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38991         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38992         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38993         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38994         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38995         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38996         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38997         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38998         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38999         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39000         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39001         * math/libm-test.inc (cos_test): Add more tests and enable more
39002         tests for long double.
39003         (sin_test): Likewise.
39004         (sincos_test): Likewise.
39005         * sysdeps/i386/fpu/libm-test-ulps: Update.
39006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39007
39008 2012-03-16  David S. Miller  <davem@davemloft.net>
39009
39010         * sysdeps/sparc/fpu/math_private.h: New file.
39011
39012 2012-03-15  David S. Miller  <davem@davemloft.net>
39013
39014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39015         file.
39016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39018         file.
39019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39024         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39025         sysdep routines.
39026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39027
39028         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39029         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39030
39031         * sysdeps/sparc/sparc-ifunc.h: New file.
39032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39033         sparc-ifunc.h
39034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39036         Likewise.
39037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39038         Likewise.
39039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39043         Likewise.
39044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39049         Likewise.
39050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39051         Likewise.
39052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39056         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39057         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39058         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39059         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39067         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39068         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39069         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39070         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39071         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39072         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39073         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39074         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39075         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39076
39077 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39078
39079         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39080         scaling.
39081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39082
39083 2012-03-15  Andreas Jaeger  <aj@suse.de>
39084
39085         [BZ #13852]
39086         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39087         ieee754/flt-32 implementation for sin, cos and sincos.
39088         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39089         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39090         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39091         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39092         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39093         ieee754/flt-32 implementation for tan.
39094
39095         * math/libm-test.inc (cos_test): Enable some large input tests for
39096         float as well
39097         (sin_test): Likewise.
39098         (sincos_test): Likewise.
39099         (tan_test): Add tests for large input.
39100
39101         * sysdeps/i386/fpu/libm-test-ulps: Update.
39102
39103 2012-03-15  Andreas Jaeger  <aj@suse.de>
39104
39105         [BZ #13658]
39106         * math/libm-test.inc (cos_test): Add more test cases.
39107         (sin_test): Likewise.
39108         (sincos_test): Likewise.
39109
39110 2012-03-15  Andreas Jaeger  <aj@suse.de>
39111
39112         [BZ #13837]
39113         * math/libm-test.inc (cos_test): Add a test case for large input
39114         value.
39115         (sin_test): Likewise.
39116         (sincos_test): Likewise.
39117
39118 2012-03-15  Andreas Jaeger  <aj@suse.de>
39119             Joseph Myers  <joseph@codesourcery.com>
39120
39121         [BZ #13658]
39122         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39123         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39124         * sysdeps/i386/fpu/branred.c: Likewise.
39125         * sysdeps/i386/fpu/dosincos.c: Likewise.
39126         * sysdeps/i386/fpu/mpa.c: Likewise.
39127         * sysdeps/i386/fpu/s_cos.S: Likewise.
39128         * sysdeps/i386/fpu/s_sin.S: Likewise.
39129         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39130         * sysdeps/i386/fpu/sincos32.c: Likewise.
39131
39132         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39133         Define.
39134         (libc_feupdateenv_53bit): Define.
39135         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39136         Define.
39137         (libc_feupdateenv_53bit): Define.
39138
39139         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39140         53 bit (without extend i386 double precision).
39141
39142         * math/libm-test.inc (sincos_test): Add tests for large input.
39143         (sin): Likewise.
39144         (cos): Likewise.
39145
39146         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39147
39148 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39149
39150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39151
39152 2012-03-15  David S. Miller  <davem@davemloft.net>
39153
39154         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39155         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39156         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39157         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39167         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39170         file.
39171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39173         file.
39174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39176         file.
39177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39179         file.
39180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39181         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39182         fmin/fmax sysdep routines.
39183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39184
39185 2012-03-14  David S. Miller  <davem@davemloft.net>
39186
39187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39190         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39191         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39192         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39193         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39194         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39197         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39198         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39202         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39204         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39205         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39206         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39207         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39208         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39209         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39210         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39211         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39212         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39213         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39214         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39215         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39216         routines.
39217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39218         file.
39219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39221         file.
39222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39224         file.
39225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39227         file.
39228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39230         file.
39231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39233         file.
39234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39235         file.
39236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39237         file.
39238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39239         file.
39240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39241         New file.
39242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39243         file.
39244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39245         file.
39246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39248         file.
39249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39251         file.
39252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39254         file.
39255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39257         VIS3 routines.
39258
39259         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39260         New file.
39261
39262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39263
39264         * sysdeps/sparc/configure.in: New file.
39265         * sysdeps/sparc/configure: Generate.
39266         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39267         * configure: Regenerate.
39268         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39269         * config.make.in (have-as-vis3): New.
39270         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39271         available use -Av9d instead of -Av9a.
39272         * sysdeps/sparc/sparc64/Makefile: Likewise.
39273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39275         New file.
39276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39277         file.
39278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39279         New file.
39280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39281         file.
39282         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39283         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39284         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39285         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39286         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39287
39288         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39289         fzeros/fnegs to load 0x80000000 into a float register instead of
39290         using the stack.
39291         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39292
39293 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39294
39295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39296         bits/syscall.h.
39297         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39298         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39299         ($(inst_includedir)/bits/syscall.h): Remove rule.
39300         ($(objpfx)bits/syscall.d): Include instead of
39301         $(objpfx)syscall-list.d.
39302         (generated): Change syscall-list.h and syscall-list.d to
39303         bits/syscall.h and bits/syscall.d.
39304
39305 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39306
39307         [BZ #13846]
39308         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39309
39310 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39311
39312         [BZ #13841]
39313         * math/s_csqrt.c: Include <float.h>.
39314         (__csqrt): Scale large or subnormal inputs.
39315         * math/s_csqrtf.c: Likewise.
39316         * math/s_csqrtl.c: Likewise.
39317         * math/libm-test.inc (csqrt_test): Add more tests.
39318         * sysdeps/i386/fpu/libm-test-ulps: Update.
39319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39320
39321         [BZ #13840]
39322         * math/libm-test.inc (hypot_test): Add more tests.
39323
39324 2012-03-13  David S. Miller  <davem@davemloft.net>
39325
39326         [BZ #13840]
39327         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39328         double-precision for the calculation instead of scaling.
39329
39330 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39331
39332         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39333         manipulate bits before adding and subtracting TWO52[sx].
39334         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39335         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39336         Likewise.
39337         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39338
39339 2012-03-13  David S. Miller  <davem@davemloft.net>
39340
39341         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39342         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39343         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39344         rtld-global-offsets.h
39345         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39346
39347         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39348         large parameters.
39349
39350         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39351
39352         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39353         'err' in the ifdef scope in which it is actually used.
39354
39355         * nss/nss_db/db-init.c: Include string.h
39356
39357 2012-03-12  David S. Miller  <davem@davemloft.net>
39358
39359         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39360         masking out of the most significant byte of random value used.
39361         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39362         Fix coding style in previous change.
39363
39364         * sysdeps/unix/sysv/linux/kernel-features.h
39365         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39366         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39367         expression.
39368         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39369         later.
39370
39371 2012-03-11  David S. Miller  <davem@davemloft.net>
39372
39373         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39374         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39375         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39376         for 'resultvar' otherwise things get truncated on 64-bit.
39377
39378         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39379         Fix masking out of the most significant byte of random value used.
39380
39381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39382
39383 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39384
39385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39386
39387 2012-03-09  David S. Miller  <davem@davemloft.net>
39388
39389         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39390         variables with appropriate CPP guards.
39391         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39392         from the frame pointer, not the stack pointer.  Correct layout
39393         comments.  Fix test on resulting framesize and the management of
39394         the outregs buffer for pltexit.  Preserve floating point return
39395         values across _dl_call_pltexit call.
39396         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39397         framesize and the management of the outregs buffer for pltexit.
39398         Preserve floating point return values across _dl_call_pltexit
39399         call.
39400         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39401         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39402         (la_sparc64_gnu_pltexit): New functions.
39403         (print_exit): Fix format string for return register value.
39404
39405 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39406
39407         * sunrpc/Makefile (others): Add rpcgen.
39408         ($(objpfx)rpcgen): Remove special build rule and dependency on
39409         libc.
39410         * sunrpc/rpcgen.c: New file.
39411
39412 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39413
39414         [BZ #13673]
39415         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39416         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39417         * sysdeps/i386/crti.S: Likewise.
39418         * sysdeps/i386/crtn.S: Likewise.
39419         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39420         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39421         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39422         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39423         * sysdeps/sh/crti.S: Likewise.
39424         * sysdeps/sh/crtn.S: Likewise.
39425         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39426
39427         [BZ #13673]
39428         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39429         with URL.
39430         * locale/programs/locfile-kw.gperf: Likewise.
39431         * locale/programs/charmap-kw.h: Regenerated.
39432         * locale/programs/locfile-kw.h: Likewise.
39433
39434         [BZ #13673]
39435         * intl/plural.y: Replace FSF snail mail address with URL.
39436         * intl/plural.c: Regenerated.
39437
39438 2012-03-09  Richard Henderson  <rth@twiddle.net>
39439
39440         * include/math_private.h: Remove file.
39441         * math/math_private.h: Move file ...
39442         * sysdeps/generic/math_private.h: ... here.
39443
39444         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39445         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39446         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39447
39448         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39449         and <math_private.h>.
39450         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39451         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39452         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39453         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39454         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39455         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39456         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39457         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39458         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39459         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39461         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39462         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39463         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39464         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39465         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39466         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39467         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39468         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39469         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39471         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39472         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39474         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39475         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39476         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39477         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39478         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39479         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39480         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39481         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39482         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39483         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39484         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39485         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39486         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39487         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39488         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39489         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39490         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39491         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39492         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39493         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39494         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39495         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39496         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39497         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39498         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39499         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39500         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39501         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39502         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39503         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39504         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39505         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39506         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39507         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39508         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39509         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39510         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39511         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39512         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39513         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39514         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39515         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39516         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39517         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39518         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39519         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39520         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39521         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39522         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39523         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39524         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39525         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39526         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39527         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39528         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39529         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39530         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39531         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39532         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39533         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39534         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39535         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39536         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39537         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39538         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39539         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39540         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39541         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39542         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39543         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39544         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39545         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39546         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39547         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39548         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39549         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39550         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39551         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39552         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39553         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39554         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39555         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39556         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39557         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39558         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39559         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39560         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39561         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39562         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39563         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39564         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39565         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39566         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39567         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39568         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39569         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39570         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39571         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39572         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39573         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39574         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39575         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39576         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39577         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39578         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39579         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39580         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39581         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39582         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39583         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39584         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39585         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39586         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39587         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39588         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39589         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39590         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39591         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39592         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39593         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39594         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39595         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39596         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39597         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39598         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39599         * sysdeps/ieee754/k_standard.c: Likewise.
39600         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39601         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39602         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39603         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39604         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39605         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39606         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39607         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39608         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39609         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39610         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39611         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39612         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39613         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39614         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39615         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39616         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39617         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39618         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39619         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39620         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39621         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39622         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39623         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39624         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39625         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39626         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39627         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39628         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39629         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39630         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39631         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39632         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39633         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39634         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39635         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39636         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39637         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39638         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39639         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39640         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39641         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39642         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39643         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39644         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39645         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39646         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39647         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39648         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39649         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39650         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39651         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39652         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39653         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39654         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39655         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39656         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39657         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39658         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39659         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39660         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39661         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39662         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39663         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39664         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39665         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39666         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39667         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39668         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39669         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39670         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39671         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39672         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39673         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39674         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39675         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39676         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39677         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39678         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39679         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39680         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39681         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39682         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39683         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39684         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39685         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39686         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39687         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39688         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39690         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39691         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39692         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39693         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39694         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39695         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39696         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39697         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39698         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39699         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39700         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39701         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39702         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39703         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39704         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39705         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39706         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39707         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39708         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39709         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39710         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39711         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39712         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39713         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39714         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39715         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39716         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39717         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39718         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39719         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39720         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39721         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39722         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39723         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39724         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39725         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39726         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39727         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39728         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39729         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39730         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39731         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39732         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39733         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39734         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39735         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39736         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39737         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39738         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39739         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39740         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39741         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39742         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39743         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39744         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39745         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39746         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39747         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39748         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39749         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39750         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39751         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39752         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39753         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39754         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39755         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39756         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39757         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39758         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39759         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39760         * sysdeps/ieee754/s_lib_version.c: Likewise.
39761         * sysdeps/ieee754/s_matherr.c: Likewise.
39762         * sysdeps/ieee754/s_signgam.c: Likewise.
39763         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39764         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39765         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39766         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39767         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39768         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39769         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39770         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39771         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39772         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39773         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39774         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39775         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39776         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39777         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39778         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39779         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39780         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39781         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39782         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39783         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39784
39785 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39786
39787         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39788         * sunrpc/rpc_main.c: Likewise.
39789         * sunrpc/rpc_svcout.c: Likewise.
39790
39791 2012-03-09  David S. Miller  <davem@davemloft.net>
39792
39793         * include/math_private.h: New file.
39794
39795 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39796
39797         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39798         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39799         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39800         from <bits/socket_type.h>.
39801         (enum __socket_type): Don't define here.
39802         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39803         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39804         bits/socket_type.h.
39805
39806         [BZ #13566]
39807         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39808         checking __USE_GNU.
39809
39810         * Makerules ($(inst_includedir)/%.h): New rule.
39811         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39812         (install-others): Remove variable setting.
39813         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39814
39815 2012-03-08  Richard Henderson  <rth@twiddle.net>
39816
39817         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39818         from macro to inline function; merge with the
39819         !__LIBC_INTERNAL_MATH_INLINES version.
39820         (__ieee754_sqrtf): Likewise.
39821
39822         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39823         to inline function.
39824         (__rintf, __floor, __floorf): Likewise.
39825
39826         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39827         macro to inline function.
39828         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39829
39830         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39831         not <math/math_private.h>.
39832
39833 2012-03-08  David S. Miller  <davem@davemloft.net>
39834
39835         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39836         copyright year.
39837         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39838
39839 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39840
39841         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39842         normalization.
39843         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39844         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39845
39846 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39847
39848         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39849         be defined individually, they must be defined as a block.  Define
39850         S for printing a string instead of hidint the different by using a
39851         macro for adding the 'l'.
39852         * stdio-common/tst-fphex-wide.c: Adjust.
39853
39854 2012-03-07  Marek Polacek  <polacek@redhat.com>
39855
39856         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39857
39858 2012-03-08  Marek Polacek  <polacek@redhat.com>
39859
39860         [BZ #13806]
39861         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39862         * stdio-common/tst-fphex.c: Define a few macros to make the
39863         test reusable.  Use them.
39864         * stdio-common/tst-fphex-wide.c: New file.
39865
39866 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39867
39868         [BZ #6911]
39869         * manual/macros.texi (gnusystems): New macro.
39870         (nongnusystems): Likewise.
39871         (gnulinuxhurdsystems): Likewise.
39872         (gnuhurdsystems): Likewise..
39873         (gnulinuxsystems): Likewise.
39874         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39875         variants of the GNU system, not "GNU system".
39876         * manual/conf.texi: Likewise.
39877         * manual/errno.texi: Likewise.  Update example of errno macro
39878         expansion.
39879         * manual/filesys.texi: Likewise.
39880         (getumask): Document as specific to GNU/Hurd.
39881         * manual/install.texi: Likewise.  Reword some references to
39882         GNU/Linux.
39883         * manual/intro.texi: Likewise.
39884         * manual/io.texi: Likewise.
39885         (File Name Portability): Detail which constraints are inapplicable
39886         to all GNU systems and which are only inapplicable to GNU/Hurd.
39887         * manual/job.texi: Likewise.
39888         * manual/llio.texi: Likewise.
39889         (O_NOCTTY): Document as present on GNU/Linux.
39890         * manual/maint.texi: Likewise.
39891         * manual/memory.texi: Likewise.
39892         * manual/pattern.texi: Likewise.
39893         * manual/pipe.texi: Likewise.
39894         * manual/process.texi: Likewise.
39895         * manual/resource.texi: Likewise.
39896         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39897         child on GNU/Hurd.
39898         * manual/setjmp.texi: Likewise.
39899         * manual/signal.texi: Likewise.
39900         * manual/startup.texi: Likewise.
39901         * manual/stdio.texi: Likewise.
39902         * manual/terminal.texi: Likewise.
39903         (ONLCR): Document as POSIX.
39904         (OXTABS): Document availability on GNU/Linux as XTABS.
39905         (ONOEOT): Document availability separately from other bits.
39906         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39907         * manual/time.texi: Likewise.
39908         * manual/users.texi: Likewise.
39909         * INSTALL: Regenerated.
39910         * sysdeps/gnu/errlist.c: Regenerated.
39911
39912         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39913         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39914         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39915         puts.
39916         * configure: Regenerated.
39917
39918 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39919
39920         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39921         default includes instead of AC_HEADER_CHECK.
39922         * sysdeps/i386/configure: Regenerated.
39923
39924         [BZ #10716]
39925         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39926         * math/s_cacoshf.c (__cacoshf): Likewise.
39927         * math/s_cacoshl.c (__cacoshl): Likewise.
39928         * math/s_casinh.c (__casinh): Set signs of result from argument.
39929         * math/s_casinhf.c (__casinhf): Likewise.
39930         * math/s_casinhl.c (__casinhl): Likewise.
39931         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39932         (casinh_test): Add more tests.
39933         * sysdeps/i386/fpu/libm-test-ulps: Update.
39934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39935
39936 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39937
39938         * po/zh_TW.po: Update from translation team.
39939
39940         * login/Makefile (distribute): Remove variable.
39941         * catgets/Makefile: Likewise.
39942         * mach/Makefile: Likewise.
39943         * malloc/Makefile: Likewise.
39944         * misc/Makefile: Likewise.
39945         * iconv/Makefile: Likewise.
39946         * nscd/Makefile: Likewise.
39947         * hurd/Makefile: Likewise.
39948         * manual/Makefile: Likewise.
39949         * locale/Makefile: Likewise.
39950         * intl/Makefile: Likewise.
39951         * conform/Makefile: Likewise.
39952         * nss/Makefile: Likewise.
39953         * time/Makefile: Likewise.
39954         * soft-fp/Makefile: Likewise.
39955         * dirent/Makefile: Likewise.
39956         * gmon/Makefile: Likewise.
39957         * po/Makefile: Likewise.
39958         * rt/Makefile: Likewise.
39959         * socket/Makefile: Likewise.
39960         * math/Makefile: Likewise.
39961         * signal/Makefile: Likewise.
39962         * debug/Makefile: Likewise.
39963         * elf/Makefile: Likewise.
39964         * timezone/Makefile: Likewise.
39965         * stdlib/Makefile: Likewise.
39966         * iconvdata/Makefile: Likewise.
39967         * sunrpc/Makefile: Likewise.
39968         * io/Makefile: Likewise.
39969         * argp/Makefile: Likewise.
39970         * inet/Makefile: Likewise.
39971         * hesiod/Makefile: Likewise.
39972         * grp/Makefile: Likewise.
39973         * csu/Makefile: Likewise.
39974         * wctype/Makefile: Likewise.
39975         * crypt/Makefile: Likewise.
39976         * libio/Makefile: Likewise.
39977         * string/Makefile: Likewise.
39978         * nis/Makefile: Likewise.
39979         * resolv/Makefile: Likewise.
39980         * stdio-common/Makefile: Likewise.
39981         * wcsmbs/Makefile: Likewise.
39982         * dlfcn/Makefile: Likewise.
39983         * posix/Makefile: Likewise.
39984
39985         [BZ #6959]
39986         * timezone/Makefile: Don't install timezone files, just the programs
39987         and scripts.
39988
39989 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39990
39991         * nss/databases.def: Add missing gshadow entry.
39992
39993         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39994
39995 2012-03-06  Marek Polacek  <polacek@redhat.com>
39996
39997         [BZ #13726]
39998         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39999         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40000         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40001         * stdio-common/tst-long-dbl-fphex.c: New file.
40002
40003 2012-03-06  David S. Miller  <davem@davemloft.net>
40004
40005         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40006         (set_obp_int): New function.
40007         (get_obp_int): New function.
40008         (__get_clockfreq_via_dev_openprom): Likewise.
40009         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40010         Avoid unused variable warnings on 'val' and use builtin_expect.
40011         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40012         __builtin_expect.
40013         (INLINE_CLONE_SYSCALL): Likewise.
40014
40015 2012-03-05  David S. Miller  <davem@davemloft.net>
40016
40017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40018
40019 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40020
40021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40022
40023         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40024         only for |x| >= 40.
40025         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40026
40027 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40028
40029         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40030         Replace gettimeofday with __vdso_gettimeofday.
40031
40032         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40033         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40034         __vdso_clock_gettime and __vdso_getcpu.
40035
40036         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40037         time with __vdso_time.
40038
40039 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40040
40041         * manual/lang.texi (size_t): Note types to which size_t may be
40042         equivalent with the GNU C Library, but do not describe when
40043         differences between them are significant.
40044
40045 2012-03-05  Andreas Jaeger  <aj@suse.de>
40046
40047         * sysdeps/i386/fpu/libm-test-ulps: Update.
40048
40049 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40050
40051         [BZ #3976]
40052         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40053         (__ieee754_pow): Save and restore rounding mode and use
40054         round-to-nearest for main computations.
40055         * math/libm-test.inc (pow_test_tonearest): New function.
40056         (pow_test_towardzero): Likewise.
40057         (pow_test_downward): Likewise.
40058         (pow_test_upward): Likewise.
40059         (main): Call the new functions.
40060         * sysdeps/i386/fpu/libm-test-ulps: Update.
40061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40062
40063         [BZ #3976]
40064         * math/libm-test.inc (cosh_test_tonearest): New function.
40065         (cosh_test_towardzero): Likewise.
40066         (cosh_test_downward): Likewise.
40067         (cosh_test_upward): Likewise.
40068         (sinh_test_tonearest): Likewise.
40069         (sinh_test_towardzero): Likewise.
40070         (sinh_test_downward): Likewise.
40071         (sinh_test_upward): Likewise.
40072         (main): Call the new functions.
40073         * sysdeps/i386/fpu/libm-test-ulps: Update.
40074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40075
40076 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40077
40078         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40079         default stack guard is set in last bytes.
40080         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40081
40082 2012-03-05  Kees Cook  <keescook@chromium.org>
40083
40084         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40085
40086         [BZ #13656]
40087         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40088         possibly allocate from heap instead of stack.
40089         * stdio-common/bug-vfprintf-nargs.c: New file.
40090         * stdio-common/Makefile (tests): Add nargs overflow test.
40091
40092 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40093
40094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40095
40096 2012-03-03  Marek Polacek  <polacek@redhat.com>
40097
40098         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40099         * math/math_private.h: Likewise.
40100         * stdlib/tst-strtod.c: Likewise.
40101         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40102         * sysdeps/x86_64/bits/atomic.h: Likewise.
40103
40104 2012-03-02  David S. Miller  <davem@davemloft.net>
40105
40106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40110         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40111         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40112         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40113         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40114
40115 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40116
40117         [BZ #13792]
40118         * manual/examples/README: New file, says the example source files
40119         can be used under GPL>=2.
40120         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40121         line containing just "*/".
40122         * manual/examples/add.c: Add copyright header (GPL>=2).
40123         * manual/examples/argp-ex1.c: Likewise.
40124         * manual/examples/argp-ex2.c: Likewise.
40125         * manual/examples/argp-ex3.c: Likewise.
40126         * manual/examples/argp-ex4.c: Likewise.
40127         * manual/examples/atexit.c: Likewise.
40128         * manual/examples/db.c: Likewise.
40129         * manual/examples/dir.c: Likewise.
40130         * manual/examples/dir2.c: Likewise.
40131         * manual/examples/execinfo.c: Likewise.
40132         * manual/examples/filecli.c: Likewise.
40133         * manual/examples/filesrv.c: Likewise.
40134         * manual/examples/fmtmsgexpl.c: Likewise.
40135         * manual/examples/genpass.c: Likewise.
40136         * manual/examples/inetcli.c: Likewise.
40137         * manual/examples/inetsrv.c: Likewise.
40138         * manual/examples/isockad.c: Likewise.
40139         * manual/examples/longopt.c: Likewise.
40140         * manual/examples/memopen.c: Likewise.
40141         * manual/examples/memstrm.c: Likewise.
40142         * manual/examples/mkfsock.c: Likewise.
40143         * manual/examples/mkisock.c: Likewise.
40144         * manual/examples/mygetpass.c: Likewise.
40145         * manual/examples/pipe.c: Likewise.
40146         * manual/examples/popen.c: Likewise.
40147         * manual/examples/rprintf.c: Likewise.
40148         * manual/examples/search.c: Likewise.
40149         * manual/examples/select.c: Likewise.
40150         * manual/examples/setjmp.c: Likewise.
40151         * manual/examples/sigh1.c: Likewise.
40152         * manual/examples/sigusr.c: Likewise.
40153         * manual/examples/stpcpy.c: Likewise.
40154         * manual/examples/strdupa.c: Likewise.
40155         * manual/examples/strftim.c: Likewise.
40156         * manual/examples/strncat.c: Likewise.
40157         * manual/examples/subopt.c: Likewise.
40158         * manual/examples/swapcontext.c: Likewise.
40159         * manual/examples/termios.c: Likewise.
40160         * manual/examples/testopt.c: Likewise.
40161         * manual/examples/testpass.c: Likewise.
40162         * manual/examples/timeval_subtract.c: Likewise.
40163
40164         [BZ #13792]
40165         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40166         function to ...
40167         * manual/timeval_subtract.c.texi: ... here, new file.
40168
40169 2012-03-02  David S. Miller  <davem@davemloft.net>
40170
40171         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40172
40173 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40174
40175         [BZ #3976]
40176         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40177         (__sin): Save and restore rounding mode and use round-to-nearest
40178         for all computations.
40179         (__cos): Save and restore rounding mode and use round-to-nearest
40180         for all computations.
40181         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40182         <fenv.h>.
40183         (tan): Save and restore rounding mode and use round-to-nearest for
40184         all computations.
40185         * math/libm-test.inc (cos_test_tonearest): New function.
40186         (cos_test_towardzero): Likewise.
40187         (cos_test_downward): Likewise.
40188         (cos_test_upward): Likewise.
40189         (sin_test_tonearest): Likewise.
40190         (sin_test_towardzero): Likewise.
40191         (sin_test_downward): Likewise.
40192         (sin_test_upward): Likewise.
40193         (tan_test_tonearest): Likewise.
40194         (tan_test_towardzero): Likewise.
40195         (tan_test_downward): Likewise.
40196         (tan_test_upward): Likewise.
40197         (main): Call the new functions.
40198         * sysdeps/i386/fpu/libm-test-ulps: Update.
40199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40200
40201         [BZ #10135]
40202         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40203         small n, then large n, before computing and testing k+n.
40204         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40205         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40206         Likewise.
40207         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40208         Likewise.
40209         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40210         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40211         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40212         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40213         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40214         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40215         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40216         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40217         * math/libm-test.inc (scalbn_test): Add more tests.
40218         (scalbln_test): Likewise.
40219
40220         * manual/filesys.texi (mode_t): Describe constraints on size and
40221         signedness, not exact equivalence to a particular type.
40222         (ino_t): Likewise.
40223         (ino64_t): Likewise.
40224         (dev_t): Likewise.
40225         (nlink_t): Likewise.
40226         (blkcnt_t): Likewise.
40227         (blkcnt64_t): Likewise.
40228         * manual/llio.texi (off_t): Likewise.
40229
40230         [BZ #3976]
40231         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40232         (__ieee754_exp): Save and restore rounding mode and use
40233         round-to-nearest for all computations.
40234         * math/libm-test.inc (exp_test_tonearest): New function.
40235         (exp_test_towardzero): Likewise.
40236         (exp_test_downward): Likewise.
40237         (exp_test_upward): Likewise.
40238         (main): Call the new functions.
40239         * sysdeps/i386/fpu/libm-test-ulps: Update.
40240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40241
40242 2012-03-01  Chris Demetriou  <cgd@google.com>
40243
40244         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40245         have predictable order.
40246
40247 2012-03-01  David S. Miller  <davem@davemloft.net>
40248
40249         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40250
40251         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40252         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40253         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40254         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40255
40256         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40257         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40258         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40260         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40261         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40262         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40263         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40264         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40265
40266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40267
40268         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40269         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40270         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40271
40272         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40273         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40274         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40275         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40276         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40277         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40278         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40279         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40280         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40281         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40282         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40283         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40285         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40286         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40287         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40288         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40289         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40290         * sysdeps/sparc/elf/configure: Regenerated.
40291
40292 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40293
40294         * configure.in (AS, LD): Require binutils 2.20 or later.
40295         * configure: Regenerated.
40296         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40297         as required minimum version.
40298         * INSTALL: Regenerated.
40299
40300         [BZ #2541]
40301         [BZ #4108]
40302         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40303         before squaring exponent.
40304         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40305         bottom long double and 27 bits of top long double before squaring
40306         exponent.
40307         * math/libm-test.inc (erfc_test): Add more tests.
40308         * sysdeps/i386/fpu/libm-test-ulps: Update.
40309         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40311
40312 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40313
40314         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40315         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40316         containing bit-fields.
40317         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40318         * soft-fp/single.h (_FP_UNION_S): Likewise.
40319         * soft-fp/double.h (_FP_UNION_D): Likewise.
40320
40321 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40322
40323         [BZ #13786]
40324         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40325         not include ../strcmp.S.
40326         [USE_AS_STRNCASECMP_L]: Likewise.
40327         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40328         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40329         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40330         (__strncasecmp_l_ia32): Define as alias to
40331         __strncasecmp_l_nonascii.
40332
40333         [BZ #5794]
40334         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40335         * sysdeps/i386/fpu/libm-test-ulps: Update.
40336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40337
40338         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40340
40341 2012-02-29  Jeff Law  <law@redhat.com>
40342
40343         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40344         out of bounds read.
40345
40346 2012-02-29  Marek Polacek  <polacek@redhat.com>
40347
40348         [BZ #13706]
40349         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40350         * elf/Makefile: Add rules to run tst-unused-dep.out.
40351
40352 2012-02-28  David S. Miller  <davem@davemloft.net>
40353
40354         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40355         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40356         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40357         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40358         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40359         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40360
40361 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40362
40363         * math/libm-test.inc (llround_test): Move one test from
40364         lround_test.  Use TEST_f_L in moved test.
40365         (lround_test): Move misplaced test to llround_test.  Add testcase
40366         from bug 2561.
40367
40368 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40369
40370         * sysdeps/x86_64/fpu/e_expf.S: New file.
40371         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40372
40373 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40374
40375         [BZ #13637]
40376         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40377         of remain_len that may cause incomplete multi-byte character and
40378         false match.
40379         * posix/bug-regex33.c: New file.
40380         * posix/Makefile (tests): Add bug-regex33.
40381
40382 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40383
40384         * manual/macros.texi: New file.
40385         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40386         * manual/libc.texinfo: Include macros.texi.
40387         * manual/creatute.texi: Likewise.
40388         * manual/install.texi: Likewise.
40389         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40390         @glibcadj{} in references to the GNU C Library.
40391         * manual/charset.texi: Likewise.
40392         * manual/conf.texi: Likewise.
40393         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40394         when not using those macros.
40395         * manual/creature.texi: Likewise.
40396         * manual/crypt.texi: Likewise.
40397         * manual/errno.texi: Likewise.
40398         * manual/filesys.texi: Likewise.
40399         * manual/header.texi: Likewise.
40400         * manual/install.texi: Likewise.
40401         * manual/intro.texi: Likewise.
40402         * manual/io.texi: Likewise.
40403         * manual/job.texi: Likewise.
40404         * manual/lang.texi: Likewise.
40405         * manual/libc.texiinfo: Likewise.
40406         * manual/llio.texi: Likewise.
40407         * manual/locale.texi: Likewise.
40408         * manual/maint.texi: Likewise.
40409         * manual/math.texi: Likewise.
40410         * manual/memory.texi: Likewise.
40411         * manual/message.texi: Likewise.
40412         * manual/nss.texi: Likewise.
40413         * manual/pattern.texi: Likewise.
40414         * manual/process.texi: Likewise.
40415         * manual/resource.texi: Likewise.
40416         * manual/search.texi: Likewise.
40417         * manual/setjmp.texi: Likewise.
40418         * manual/signal.texi: Likewise.
40419         * manual/socket.texi: Likewise.
40420         * manual/startup.texi: Likewise.
40421         * manual/stdio.texi: Likewise.
40422         * manual/string.texi: Likewise.
40423         * manual/sysinfo.texi: Likewise.
40424         * manual/syslog.texi: Likewise.
40425         * manual/terminal.texi: Likewise.
40426         * manual/time.texi: Likewise.
40427         * manual/users.texi: Likewise.
40428         * INSTALL: Regenerated.
40429         * NOTES: Regenerated.
40430         * sysdeps/gnu/errlist.c: Regenerated.
40431
40432 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40433
40434         * include/dirent.h: Include <dirstream.h> before
40435         <dirent/dirent.h>.
40436
40437 2012-02-28  David S. Miller  <davem@davemloft.net>
40438
40439         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40440         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40441         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40442         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40443
40444 2012-02-27  David S. Miller  <davem@davemloft.net>
40445
40446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40448         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40449         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40450
40451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40452         frame pointer instead of stack pointer relative arg slot.
40453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40454         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40455         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40456
40457 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40458
40459         [BZ #3992]
40460         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40461
40462 2012-02-27  David S. Miller  <davem@davemloft.net>
40463
40464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40468         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40469         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40470         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40471         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40472
40473 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40474
40475         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40476         later.  Allow versions 5-9.
40477         * configure: Regenerated.
40478         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40479         required minimum version and 4.6 as recommended version.  Do not
40480         mention bugs in GCC 2.7 and 2.8.
40481         * INSTALL: Regenerated.
40482
40483 2012-02-27  David S. Miller  <davem@davemloft.net>
40484
40485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40489         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40490         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40491         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40492         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40493
40494         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40495         manipulate bits before adding and subtracting TWO112[sx].
40496         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40497
40498 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40499
40500         [BZ #13775]
40501         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40502         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40503         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40504         being in POSIX, because they are in 1003.1-2008.
40505
40506         * rt/tst-aio.c: Include <fcntl.h>.
40507         * rt/tst-aio7.c: Likewise.
40508         * rt/tst-aio64.c: Likewise.
40509
40510         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40511
40512 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40513
40514         * manual/install.texi (--with-headers): Describe headers as
40515         interface headers, not private headers.
40516         (Specific advice for GNU/Linux systems): Describe use of headers
40517         from "make headers_install", not private headers from older
40518         kernels.
40519         * INSTALL: Regenerated.
40520         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40521         Change to 2.6.19.
40522         * sysdeps/unix/sysv/linux/configure: Regenerated.
40523
40524         * manual/llio.texi (fclean): Remove documentation.
40525
40526         * manual/Makefile (libc-texi-generated): New variable.  Include
40527         version.texi.
40528         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40529         $(libc-texi-generated), not duplicated list of files.
40530         (version.texi, stamp-version): New rules.
40531         (realclean): Remove $(libc-texi-generated), not individual files
40532         from that list.  Do not remove dir-add.texinfo.
40533         * manual/libc.texinfo: Comment out uses of edition numbers and
40534         references to printed manual.  Remove last-updated dates.
40535         (EDITION): Comment out.
40536         (ISBN): Likewise.
40537         (VERSION, UPDATED): Remove.
40538         (version.texi): Include.
40539
40540 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40541
40542         * sysdeps/posix/spawni.c: Include <signal.h>.
40543         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40544         * sysdeps/pthread/aio_fsync.c: Likewise.
40545
40546 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40547
40548         * conform/Makefile (tests): Run only when not cross-compiling and
40549         when fast-check is not defined.
40550
40551         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40552         * conform/data/limits.h-data: Fixes for POSIX2008.
40553         * conform/run-conformtest.sh: Run all tests.
40554         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40555         headers.
40556         * include/bits/dlfcn.h: Likewise.
40557         * include/langinfo.h: Likewise.
40558         * include/monetary.h: Likewise.
40559         * include/sys/poll.h: Likewise.
40560
40561         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40562         for __USE_GNU.
40563         * posix/spawn.h: Define __need_sigset_t.
40564         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40565         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40566         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40567         to get sigevent_t only.
40568         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40569         only for __USE_GNU.
40570         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40571         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40572         process_vm_writev only for __USE_GNU.
40573         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40574
40575         * conform/Makefile: For now ignore errors from run-conformtest.
40576         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40577         POSIX to avoid namespace pollution.  Don't prepend headers.
40578         * conform/data/aio.h-data: Fixes for POSIX testing.
40579         * conform/data/fcntl.h-data: Likewise.
40580         * conform/data/glob.h-data: Likewise.
40581         * conform/data/grp.h-data: Likewise.
40582         * conform/data/pthread.h-data: Likewise.
40583         * conform/data/pwd.h-data: Likewise.
40584         * conform/data/signal.h-data: Likewise.
40585         * conform/data/spawn.h-data: Likewise.
40586         * conform/data/stdio.h-data: Likewise.
40587         * conform/data/stdlib.h-data: Likewise.
40588         * conform/data/stropts.h-data: Likewise.
40589         * conform/data/sys/mman.h-data: Likewise.
40590         * conform/data/sys/stat.h-data: Likewise.
40591         * conform/data/sys/types.h-data: Likewise.
40592         * conform/data/sys/wait.h-data: Likewise.
40593         * conform/data/time.h-data: Likewise.
40594         * conform/data/unistd.h-data: Likewise.
40595         * conform/data/utime.h-data: Likewise.
40596
40597         * io/sys/stat.h: fchmod was always in POSIX.
40598         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40599         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40600         * rt/aio.h: Define __need_timespec before including <time.h>.
40601         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40602         struct.  Add forward declaration of pthread_attr_t and use it in
40603         sigevent.
40604         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40605         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40606         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40607         always remove CLK_TCK definition.
40608
40609 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40610
40611         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40612
40613 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40614
40615         * conform/run-conformtest.sh: New file.
40616         * conform/Makefile: Run run-conformtest for tests.
40617         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40618         support.
40619
40620         * conform/data/uchar.h-data: New file.
40621         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40622         * conform/data/arpa/inet.h-data: Likewise.
40623         * conform/data/assert.h-data: Likewise.
40624         * conform/data/complex.h-data: Likewise.
40625         * conform/data/cpio.h-data: Likewise.
40626         * conform/data/ctype.h-data: Likewise.
40627         * conform/data/dirent.h-data: Likewise.
40628         * conform/data/dlfcn.h-data: Likewise.
40629         * conform/data/errno.h-data: Likewise.
40630         * conform/data/fcntl.h-data: Likewise.
40631         * conform/data/float.h-data: Likewise.
40632         * conform/data/fmtmsg.h-data: Likewise.
40633         * conform/data/fnmatch.h-data: Likewise.
40634         * conform/data/ftw.h-data: Likewise.
40635         * conform/data/glob.h-data: Likewise.
40636         * conform/data/grp.h-data: Likewise.
40637         * conform/data/iconv.h-data: Likewise.
40638         * conform/data/inttypes.h-data: Likewise.
40639         * conform/data/langinfo.h-data: Likewise.
40640         * conform/data/libgen.h-data: Likewise.
40641         * conform/data/limits.h-data: Likewise.
40642         * conform/data/locale.h-data: Likewise.
40643         * conform/data/math.h-data: Likewise.
40644         * conform/data/monetary.h-data: Likewise.
40645         * conform/data/mqueue.h-data: Likewise.
40646         * conform/data/ndbm.h-data: Likewise.
40647         * conform/data/net/if.h-data: Likewise.
40648         * conform/data/netdb.h-data: Likewise.
40649         * conform/data/netinet/in.h-data: Likewise.
40650         * conform/data/nl_types.h-data: Likewise.
40651         * conform/data/poll.h-data: Likewise.
40652         * conform/data/pthread.h-data: Likewise.
40653         * conform/data/pwd.h-data: Likewise.
40654         * conform/data/regex.h-data: Likewise.
40655         * conform/data/sched.h-data: Likewise.
40656         * conform/data/search.h-data: Likewise.
40657         * conform/data/semaphore.h-data: Likewise.
40658         * conform/data/setjmp.h-data: Likewise.
40659         * conform/data/signal.h-data: Likewise.
40660         * conform/data/spawn.h-data: Likewise.
40661         * conform/data/stdarg.h-data: Likewise.
40662         * conform/data/stdio.h-data: Likewise.
40663         * conform/data/stdlib.h-data: Likewise.
40664         * conform/data/string.h-data: Likewise.
40665         * conform/data/strings.h-data: Likewise.
40666         * conform/data/stropts.h-data: Likewise.
40667         * conform/data/sys/ipc.h-data: Likewise.
40668         * conform/data/sys/mman.h-data: Likewise.
40669         * conform/data/sys/msg.h-data: Likewise.
40670         * conform/data/sys/resource.h-data: Likewise.
40671         * conform/data/sys/select.h-data: Likewise.
40672         * conform/data/sys/sem.h-data: Likewise.
40673         * conform/data/sys/shm.h-data: Likewise.
40674         * conform/data/sys/socket.h-data: Likewise.
40675         * conform/data/sys/stat.h-data: Likewise.
40676         * conform/data/sys/statvfs.h-data: Likewise.
40677         * conform/data/sys/time.h-data: Likewise.
40678         * conform/data/sys/timeb.h-data: Likewise.
40679         * conform/data/sys/times.h-data: Likewise.
40680         * conform/data/sys/types.h-data: Likewise.
40681         * conform/data/sys/uio.h-data: Likewise.
40682         * conform/data/sys/un.h-data: Likewise.
40683         * conform/data/sys/utsname.h-data: Likewise.
40684         * conform/data/sys/wait.h-data: Likewise.
40685         * conform/data/syslog.h-data: Likewise.
40686         * conform/data/tar.h-data: Likewise.
40687         * conform/data/termios.h-data: Likewise.
40688         * conform/data/utime.h-data: Likewise.
40689         * conform/data/utmpx.h-data: Likewise.
40690         * conform/data/varargs.h-data: Likewise.
40691         * conform/data/wchar.h-data: Likewise.
40692         * conform/data/wctype.h-data: Likewise.
40693         * conform/data/wordexp.h-data: Likewise.
40694
40695         * include/stropts.h: New file.
40696         * include/uchar.h: New file.
40697         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40698         * include/assert.h: Likewise.
40699         * include/ctype.h: Likewise.
40700         * include/dirent.h: Likewise.
40701         * include/dlfcn.h: Likewise.
40702         * include/fcntl.h: Likewise.
40703         * include/fnmatch.h: Likewise.
40704         * include/glob.h: Likewise.
40705         * include/grp.h: Likewise.
40706         * include/libio.h: Likewise.
40707         * include/locale.h: Likewise.
40708         * include/math.h: Likewise.
40709         * include/net/if.h: Likewise.
40710         * include/netdb.h: Likewise.
40711         * include/netinet/in.h: Likewise.
40712         * include/pthread.h: Likewise.
40713         * include/pwd.h: Likewise.
40714         * include/regex.h: Likewise.
40715         * include/sched.h: Likewise.
40716         * include/search.h: Likewise.
40717         * include/setjmp.h: Likewise.
40718         * include/signal.h: Likewise.
40719         * include/stdio.h: Likewise.
40720         * include/stdlib.h: Likewise.
40721         * include/string.h: Likewise.
40722         * include/sys/cdefs.h: Likewise.
40723         * include/sys/mman.h: Likewise.
40724         * include/sys/msg.h: Likewise.
40725         * include/sys/resource.h: Likewise.
40726         * include/sys/select.h: Likewise.
40727         * include/sys/socket.h: Likewise.
40728         * include/sys/stat.h: Likewise.
40729         * include/sys/statvfs.h: Likewise.
40730         * include/sys/time.h: Likewise.
40731         * include/sys/times.h: Likewise.
40732         * include/sys/uio.h: Likewise.
40733         * include/sys/utsname.h: Likewise.
40734         * include/sys/wait.h: Likewise.
40735         * include/termios.h: Likewise.
40736         * include/time.h: Likewise.
40737         * include/ulimit.h: Likewise.
40738         * include/unistd.h: Likewise.
40739         * include/utime.h: Likewise.
40740         * include/wchar.h: Likewise.
40741         * include/wctype.h: Likewise.
40742         * include/wordexp.h: Likewise.
40743
40744         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40745
40746         * time/time.h: TIME_UTC must be a macro.
40747         Make timespec_get available for ISO C11 only as well.
40748
40749 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40750
40751         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40752         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40753
40754 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40755
40756         * configure.in: Use -o not -a in test for unsupported multi-arch.
40757
40758 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40759
40760         * manual/texinfo.tex: Update to version 2012-01-19.16.
40761
40762 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40763
40764         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40765
40766 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40767
40768         [BZ #13738]
40769         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40770         * manual/fdl-1.3.texi: New file.
40771         * manual/fdl-1.1.texi: File removed.
40772
40773         [BZ #13738]
40774         * manual/libc.texinfo (FDL_VERSION): New @set.
40775         Use it for mention of FDL in cover text.
40776         (Documentation License): Use it in @include file name.
40777
40778 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40779             Roland McGrath  <roland@hack.frob.com>
40780
40781         [BZ #5461]
40782         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40783         (not LONG_LONG_MAX and LONG_LONG_MIN.
40784         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40785         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40786         name.
40787         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40788
40789 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40790
40791         [BZ #2547]
40792         [BZ #11365]
40793         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40794         manipulate bits before adding and subtracting TWO23[sx].
40795         * math/libm-test.inc (nearbyint_test): Add more tests.
40796
40797 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40798
40799         [BZ #2548]
40800         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40801         bits before adding and subtracting TWO23[sx].
40802         * math/libm-test.inc (rint_test): Add more tests.
40803         (rint_test_tonearest): Likewise.
40804         (rint_test_towardzero): Likewise.
40805         (rint_test_downward): Likewise.
40806         (rint_test_upward: Likewise.
40807
40808 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40809
40810         [BZ #10110]
40811         * include/stdc-predef.h: New file.  Extracted from features.h.
40812         * include/features.h: Include stdc-predef.h.
40813         * Makefile (headers): Add stdc-predef.h.
40814         * CONFORMANCE (Compiler limitations): Update.
40815
40816 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40817
40818         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40819
40820 2012-02-21  David S. Miller  <davem@davemloft.net>
40821
40822         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40823         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40824
40825 2012-02-20  David S. Miller  <davem@davemloft.net>
40826
40827         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40828         using a normal save/restore sequence, rather than allocating a
40829         dummy stack frame just to store a frame pointer and restore.
40830         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40831
40832 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40833
40834         * manual/install.texi: Fix stray word in line-wrapped comment.
40835
40836 2012-02-20  David S. Miller  <davem@davemloft.net>
40837
40838         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40839         both binutils and gcc support GOTDATA.
40840
40841         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40842         "rd %pc" in the PIC register setup sequences.
40843
40844         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40845         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40846         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40847         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40848         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40849         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40850         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40851         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40852         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40853         (SYSCALL_ERROR_HANDLER): Likewise.
40854         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40855         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40856         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40857         (SYSCALL_ERROR_HANDLER): Likewise.
40858
40859         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40860         (HAVE_GCC_GOTDATA): New.
40861         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40862         relocation support in both binutils and gcc.
40863         * sysdeps/sparc/elf/configure: Regenerate.
40864
40865         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40866         * sysdeps/sparc/sparc32/elf/configure: Delete.
40867         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40868         * sysdeps/sparc/sparc64/elf/configure: Delete.
40869         * sysdeps/sparc/elf/configure.in: New file.
40870         * sysdeps/sparc/elf/configure: Generate.
40871
40872         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40873         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40874         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40875         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40876         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40877
40878 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40879
40880         * manual/install.texi: Do not mention specific glibc version
40881         numbers.
40882         * manual/libc.texinfo (VERSION, UPDATED): Update.
40883         (@copying): Use @copyright{} and range of years.
40884
40885 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40886
40887         [BZ #13695]
40888         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40889         [crti.S not in sysdirs] (generated): Do not append.
40890         [crti.S not in sysdirs] (omit-deps): Likewise.
40891         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40892         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40893         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40894         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40895         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40896         Likewise.
40897         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40898         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40899         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40900         * csu/defs.awk: Remove file.
40901         * sysdeps/generic/initfini.c: Likewise.
40902         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40903         variable.
40904         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40905         Likewise.
40906
40907 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40908
40909         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40910         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40911         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40912         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40913         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40914         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40915         <bits/epoll.h>.
40916         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40917         (__EPOLL_PACKED): Define to empty if not defined by
40918         <bits/epoll.h>.
40919         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40920         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40921         bits/epoll.h.
40922
40923 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40924
40925         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40926         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40927         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40928         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40929         <bits/timerfd.h>.
40930         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40931         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40932         bits/timerfd.h.
40933
40934 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40935
40936         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40937         in C locale.
40938         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40939         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40940         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40942
40943 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40944
40945         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40946         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40947
40948 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40949
40950         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40951         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40952         defined.
40953         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40954         Likewise.
40955         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40956         entry for 2.16.
40957
40958 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40959
40960         * math/w_acos.c: Use non-signaling floating-point comparisons.
40961         * math/w_acosf.c: Likewise.
40962         * math/w_acosh.c: Likewise.
40963         * math/w_acoshf.c: Likewise.
40964         * math/w_acoshl.c: Likewise.
40965         * math/w_acosl.c: Likewise.
40966         * math/w_asin.c: Likewise.
40967         * math/w_asinf.c: Likewise.
40968         * math/w_asinl.c: Likewise.
40969         * math/w_atanh.c: Likewise.
40970         * math/w_atanhf.c: Likewise.
40971         * math/w_atanhl.c: Likewise.
40972         * math/w_exp2.c: Likewise.
40973         * math/w_exp2f.c: Likewise.
40974         * math/w_exp2l.c: Likewise.
40975         * math/w_j0.c: Likewise.
40976         * math/w_j0f.c: Likewise.
40977         * math/w_j0l.c: Likewise.
40978         * math/w_j1.c: Likewise.
40979         * math/w_j1f.c: Likewise.
40980         * math/w_j1l.c: Likewise.
40981         * math/w_jn.c: Likewise.
40982         * math/w_jnf.c: Likewise.
40983         * math/w_log.c: Likewise.
40984         * math/w_log10.c: Likewise.
40985         * math/w_log10f.c: Likewise.
40986         * math/w_log10l.c: Likewise.
40987         * math/w_log2.c: Likewise.
40988         * math/w_log2f.c: Likewise.
40989         * math/w_log2l.c: Likewise.
40990         * math/w_logf.c: Likewise.
40991         * math/w_logl.c: Likewise.
40992         * math/w_sqrt.c: Likewise.
40993         * math/w_sqrtf.c: Likewise.
40994         * math/w_sqrtl.c: Likewise.
40995         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40996         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40997         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40998         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40999         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41000
41001 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41002
41003         [BZ #9739]
41004         * manual/string.texi (strnlen): Use correct parameter name in
41005         equivalent expression.
41006
41007 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41008
41009         [BZ #11174]
41010         * manual/users.texi (seteuid): Consistently use neweuid for
41011         argument name.
41012
41013 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41014
41015         [BZ #13704]
41016         * manual/nss.texi (Services in the NSS configuration): Correct
41017         list of services in example configuration file.
41018
41019 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41020
41021         [BZ #11322]
41022         * manual/arith.texi: Remove statements about negative zero
41023         behaving identically to zero.
41024
41025 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41026
41027         [BZ #5993]
41028         * manual/install.texi: Do not document upgrading from libc5.
41029
41030 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41031
41032         [BZ #4596]
41033         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41034
41035 2012-02-18  David S. Miller  <davem@davemloft.net>
41036
41037         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41038         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41039         %o7 across the call.
41040         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41041         instead.
41042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41043         SETUP_PIC_REG_LEAF.
41044         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41045         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41046         * sysdeps/sparc/crtn.S: Likewise.
41047
41048 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41049
41050         * aout/Makefile: Remove.
41051
41052 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41053
41054         [BZ #13058]
41055         * manual/examples/argp-ex1.c (main): Format definition in GNU
41056         style.
41057         * manual/examples/argp-ex2.c (main): Likewise.
41058         * manual/examples/argp-ex3.c (main): Likewise.
41059         * manual/examples/argp-ex4.c (main): Likewise.
41060         * manual/examples/longopt.c (main): Use new-style prototype
41061         definition.
41062         * manual/examples/strncat.c (main): Specify return type and use
41063         (void) for arguments.
41064         * manual/examples/subopt.c (main): Use char **argv argument.
41065
41066 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41067
41068         [BZ #5077]
41069         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41070         rounding modes.
41071
41072 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41073
41074         [BZ #6907]
41075         * manual/string.texi (strchr): Change when strchrnul is
41076         recommended.
41077
41078 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41079
41080         [BZ #174]
41081         * manual/locale.texi (setlocale): Document LOCPATH.
41082
41083 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41084
41085         [BZ #10210]
41086         * manual/process.texi (execle): Move @dots{} before last argument.
41087
41088 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41089
41090         [BZ #12047]
41091         * manual/charset.texi (Generic Charset Conversion): Fix typo
41092         (LC_TYPE -> LC_CTYPE).
41093
41094 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41095
41096         [BZ #5805]
41097         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41098         (scalbnf): Likewise.
41099         (scalbnl): Likewise.
41100         (scalbln): Likewise.
41101         (scalblnf): Likewise.
41102         (scalblnl): Likewise.
41103         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41104         (vwarnx): Likewise.
41105         (verr): Likewise.
41106         (verrx): Likewise.
41107         * manual/filesys.texi (telldir): Use braces around return type.
41108         * manual/llio.texi (mmap): Add space after comma.
41109         (mmap64): Likewise.
41110         * manual/math.texi (jn): Use @var{} on parameter names.
41111         (jnf): Likewise.
41112         (jnl): Likewise.
41113         (yn): Likewise.
41114         (ynf): Likewise.
41115         (ynl): Likewise.
41116         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41117         line.
41118         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41119         "...".
41120         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41121         (sched_get_priority_max): Likewise.
41122         * manual/signal.texi (sigvec): Add space after comma.
41123         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41124         names.
41125         (if_indextoname): Likewise.
41126         (if_freenameindex): Likewise.
41127         (sendto): Use ',' instead of '.' in prototype.
41128         * manual/startup.texi (syscall): Use @dots{} instead of literal
41129         "...".
41130         * manual/stdio.texi (__fpending): Separate initial words of
41131         paragraph from @deftypefun line.
41132         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41133         "...".
41134         (vsyslog): Use @var{} on parameter names.
41135         * manual/terminal.texi (stty): Use @var{} on parameter names.
41136         * manual/users.texi (getutmp): Use @var{} on parameter names.
41137         (getutmpx): Likewise.
41138
41139 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41140
41141         [BZ #6884]
41142         * manual/stdio.texi (fopen): Fix typos in description of
41143         ",ccs=STRING".
41144
41145 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41146
41147         [BZ #4026]
41148         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41149         get clock_id definition.
41150
41151 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41152
41153         [BZ #4822]
41154         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41155         (madvise): Cast every argument to void on its own.
41156
41157 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41158
41159         [BZ #9902]
41160         * manual/startup.texi (Exit Status): Fix typo.
41161
41162 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41163
41164         [BZ #10140]
41165         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41166         * manual/examples/argp-ex2.c: Likewise.
41167         * manual/examples/argp-ex3.c: Likewise.
41168
41169 2012-02-16  Richard Henderson  <rth@redhat.com>
41170
41171         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41172         * sysdeps/s390/s390-32/initfini.c: Remove.
41173         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41174         * sysdeps/s390/s390-64/initfini.c: Remove.
41175
41176 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41177
41178         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41179         compiler output for sysdeps/generic/initfini.c.
41180         * sysdeps/sh/elf/initfini.c: Remove file.
41181
41182 2012-02-16  David S. Miller  <davem@davemloft.net>
41183
41184         [BZ #11494]
41185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41186
41187         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41188         * sysdeps/sparc/crti.S: New file.
41189         * sysdeps/sparc/crtn.S: New file.
41190         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41191         * sysdeps/sparc/sparc64/Makefile: Likewise.
41192
41193 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41194
41195         [BZ #3335]
41196         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41197
41198 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41199
41200         [BZ #4822]
41201         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41202
41203         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41204         (write, read, close): Likewise.
41205         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41206
41207 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41208
41209         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41210         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41211         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41212         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41213         <bits/signalfd.h>.
41214         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41216         bits/signalfd.h.
41217
41218 2012-02-14  Marek Polacek  <polacek@redhat.com>
41219
41220         * sysdeps/x86_64/crti.S: New file.
41221         * sysdeps/x86_64/crtn.S: New file.
41222         * sysdeps/x86_64/elf/initfini.c: Remove file.
41223
41224 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41225
41226         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41227         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41228         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41229         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41230         <bits/inotify.h>.
41231         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41233         bits/inotify.h.
41234
41235 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41236
41237         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41238         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41239         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41240         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41241         <bits/eventfd.h>.
41242         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41244         bits/eventfd.h.
41245
41246 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41247
41248         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41249         __feraiseexcept instead of feraiseexcept.
41250
41251         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41252         nanosleep invocations.
41253         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41254         strings, and add error checking for a nanosleep invocations.
41255
41256 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41257
41258         Replace FSF snail mail address with URLs, as per GNU coding standards.
41259         Most of the snail mail addresses were wrong anyway, and omitting
41260         them makes the source code easier to maintain.  Almost all of the
41261         changes are to license notices and to locale LC_IDENTIFICATION
41262         addresses, except for this one:
41263         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41264         not its snail mail address.
41265
41266 2012-02-09  Richard Henderson  <rth@twiddle.net>
41267
41268         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41269         of kernel-features.h.
41270
41271         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41272
41273 2012-02-08  Marek Polacek  <polacek@redhat.com>
41274
41275         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41276         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41277         * sysdeps/gnu/_G_config.h: Likewise.
41278         * sysdeps/generic/_G_config.h: Likewise.
41279
41280 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41281
41282         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41283         tests.
41284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41285
41286         * sysdeps/powerpc/powerpc32/crti.S: New file.
41287         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41288         * sysdeps/powerpc/powerpc64/crti.S: New file.
41289         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41290
41291         * Makeconfig (have-initfini): Don't set.
41292         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41293         * configure.in (nopic_initfini): Don't substitute.
41294         * config.h.in (HAVE_INITFINI): Don't #undef.
41295         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41296         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41297
41298 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41299
41300         Support crti.S and crtn.S provided directly by architectures.
41301         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41302         [crti.S in sysdirs] (omit-deps): Likewise.
41303         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41304         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41305         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41306         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41307         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41308         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41309         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41310         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41311         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41312         compiler output for sysdeps/generic/initfini.c.
41313         * sysdeps/i386/elf/Makefile: Remove file.
41314         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41315
41316 2012-02-07  Marek Polacek  <polacek@redhat.com>
41317
41318         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41319         * sysdeps/gnu/_G_config.h: Likewise.
41320         * sysdeps/mach/hurd/_G_config.h: Likewise.
41321
41322 2012-02-07  Marek Polacek  <polacek@redhat.com>
41323
41324         * math/Makefile (tests): Add tst-CMPLX2.
41325         * math/tst-CMPLX2.c: New file.
41326
41327 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41328
41329         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41330
41331         * math/libm-test.inc (jn_test): Add missing L suffix.
41332
41333 2012-02-06  Marek Polacek  <polacek@redhat.com>
41334
41335         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41336         * sysdeps/i386/fpu/e_powf.S: Likewise.
41337         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41338         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41339         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41340         * sysdeps/i386/fpu/e_pow.S: Likewise.
41341         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41342         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41343         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41344         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41345         * sysdeps/i386/fpu/e_log2.S: Likewise.
41346         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41347         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41348         * sysdeps/i386/fpu/e_powl.S: Likewise.
41349         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41350         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41351         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41352         * sysdeps/i386/fpu/e_logl.S: Likewise.
41353         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41354         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41355         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41356         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41357         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41358         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41359         * sysdeps/i386/fpu/e_log.S: Likewise.
41360         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41361         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41362         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41363         * sysdeps/i386/fpu/e_logf.S: Likewise.
41364         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41365         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41366         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41367         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41368         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41369         * sysdeps/i386/fpu/e_log10.S: Likewise.
41370         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41371         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41372         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41373         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41374         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41375         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41376         * sysdeps/i386/asm-syntax.h: Likewise.
41377         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41378         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41379         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41380         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41381         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41382         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41383         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41384         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41385         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41386         * sysdeps/powerpc/sysdep.h: Likewise.
41387         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41388         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41389
41390 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41391
41392         [BZ #411]
41393         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41394
41395 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41396
41397         * sysdeps/i386/sysdep.h: Include <features.h>.
41398         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41399         version.
41400
41401 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41402
41403         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41404         Define.
41405         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41406         LOAD_PIC_REG_STR.
41407
41408 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41409
41410         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41411         (SETUP_PIC_REG): Use GET_PC_THUNK.
41412         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41413         macro.
41414
41415 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41416
41417         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41418         for non-PIC compilation.
41419         (SETUP_PIC_REG): Add .p2align directive.
41420         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41421         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41422         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41423         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41424         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41425         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41426         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41427         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41428         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41429         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41430         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41431         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41432         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41433         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41434         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41435         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41436         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41437         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41438         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41439         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41440         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41441         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41442         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41443         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41444         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41445         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41446         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41447         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41448         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41449         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41450         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41451         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41452         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41453         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41454         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41455         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41456         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41457         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41458         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41459         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41460         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41461
41462 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41463
41464         * math/tst-CMPLX.c: Include <stdio.h>.
41465
41466 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41467
41468         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41469         float.
41470         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41471         * sysdeps/sparc/bits/mathdef.h: Likewise.
41472
41473 2012-01-31  Marek Polacek  <polacek@redhat.com>
41474
41475         * libio/libio.h: Don't define _PARAMS.
41476         * locale/programs/config.h: Don't define PARAMS.
41477         * stdlib/strtol_l.c: Likewise.
41478         (__strtol_l): Remove PARAMS from the prototype.
41479
41480 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41481
41482         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41483         names.  Just use the correct names.  Remove unnecessary wrapper
41484         functions.
41485         * malloc/arena.c: Likewise.
41486         * malloc/hooks.c: Likewise.
41487
41488         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41489         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41490         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41491
41492 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41493
41494         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41495         into tail calls.
41496         (update_get_addr): New function.
41497         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41498         GET_ADDR_MODULE parameter.
41499
41500 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41501
41502         * crypt/cert.c: Remove __STDC__ conditionals.
41503         * crypt/crypt-entry.c: Likewise.
41504         * crypt/crypt_util.c: Likewise.
41505         * libio/filedoalloc.c: Likewise.
41506         * libio/fileops.c: Likewise.
41507         * libio/genops.c: Likewise.
41508         * libio/iofclose.c: Likewise.
41509         * libio/iofdopen.c: Likewise.
41510         * libio/iofopen.c: Likewise.
41511         * libio/iofopen64.c: Likewise.
41512         * libio/iogetdelim.c: Likewise.
41513         * libio/iopopen.c: Likewise.
41514         * libio/obprintf.c: Likewise.
41515         * libio/oldfileops.c: Likewise.
41516         * libio/oldiofclose.c: Likewise.
41517         * libio/oldiofdopen.c: Likewise.
41518         * libio/oldiofopen.c: Likewise.
41519         * libio/oldiopopen.c: Likewise.
41520         * libio/wfiledoalloc.c: Likewise.
41521         * libio/wgenops.c: Likewise.
41522         * locale/programs/xmalloc.c: Likewise.
41523         * misc/syslog.c: Likewise.
41524         * stdio-common/xbug.c: Likewise.
41525         * string/memchr.c: Likewise.
41526         * string/memcmp.c: Likewise.
41527         * string/memrchr.c: Likewise.
41528         * string/rawmemchr.c: Likewise.
41529         * sysdeps/posix/getcwd.c: Likewise.
41530         * time/strftime_l.c: Likewise.
41531
41532 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41533
41534         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41535         * config.make.in (config-cflags-sse2avx): Define.
41536         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41537         Fix typo.
41538
41539 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41540
41541         * scripts/config.guess: Update from upstream config git repository.
41542         * scripts/config.sub: Likewise.
41543
41544 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41545
41546         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41547         (EM_NUM): Update.
41548         (R_TILEPRO_*, R_TILEGX_*): New macros.
41549
41550         * scripts/firstversions.awk: Fix bug in version range handling.
41551
41552         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41553
41554         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41555
41556         * include/sys/epoll.h: New file.
41557         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41558         libc_hidden_def.
41559
41560 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41561
41562         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41563         Avoid unnecessary __WORDSIZE == 64 test.
41564         (fmaxf): Use VEX format if possible.
41565         (fmax): Likewise.
41566         (fminf): Likewise.
41567         (fmin): Likewise.
41568
41569         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41570         * math/math_private.h: Remove libc_fegetround* and
41571         libc_fesetround*.
41572         * sysdeps/i386/configure.in: Check for -msse2avx.
41573         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41574         also if SSE2AVX is defined.
41575         Remove libc_fegetround* and libc_fesetround*.
41576         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41577         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41578         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41579         of HAS_YMM_USABLE.
41580         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41581         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41582         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41583         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41584         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41585
41586         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41587
41588 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41589
41590         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41591         size is not set.
41592         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41593
41594 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41595
41596         [BZ #13618]
41597         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41598         relocation.
41599         * Makeconfig (libm): Define.
41600         * elf/Makefile: Add rules to build and run tst-relsort1.
41601         * elf/tst-relsort1.c: New file.
41602         * elf/tst-relsort1mod1.c: New file.
41603         * elf/tst-relsort1mod2.c: New file.
41604
41605 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41606
41607         * math/s_ldexp.c: Remove __STDC__ conditionals.
41608         * math/s_ldexpf.c: Likewise.
41609         * math/s_ldexpl.c: Likewise.
41610         * math/s_nextafter.c: Likewise.
41611         * math/s_nexttowardf.c: Likewise.
41612         * math/s_significand.c: Likewise.
41613         * math/s_significandf.c: Likewise.
41614         * math/s_significandl.c: Likewise.
41615         * math/w_jnl.c: Likewise.
41616         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41617         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41618         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41619         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41620         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41621         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41622         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41623         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41624         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41625         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41626         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41627         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41628         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41629         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41630         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41631         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41632         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41633         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41634         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41635         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41636         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41637         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41638         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41639         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41640         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41641         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41642         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41643         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41644         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41645         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41646         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41647         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41648         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41649         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41650         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41651         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41652         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41653         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41654         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41655         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41656         * sysdeps/ieee754/k_standard.c: Likewise.
41657         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41658         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41659         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41660         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41661         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41662         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41663         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41664         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41665         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41666         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41667         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41668         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41669         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41670         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41671         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41672         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41673         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41674         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41675         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41676         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41677         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41678         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41679         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41680         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41681         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41682         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41683         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41684         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41685         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41686         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41687         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41688         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41689         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41690         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41691         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41692         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41693         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41694         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41695         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41696         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41697         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41698         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41699         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41700         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41701         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41702         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41703         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41704         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41705         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41706         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41707         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41708         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41709         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41710         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41711         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41712         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41713         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41714         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41715         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41716         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41717         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41718         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41719         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41720         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41721         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41722         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41723         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41724         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41725         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41726         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41727         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41728         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41729         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41730         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41731         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41732         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41733         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41734         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41735         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41736         * sysdeps/ieee754/s_matherr.c: Likewise.
41737         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41738         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41739         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41740         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41741
41742 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41743
41744         * crypt/md5.h: Remove __STDC__ conditionals.
41745         * libio/libioP.h: Likewise.
41746         * locale/programs/config.h: Likewise.
41747         * sysdeps/generic/sysdep.h: Likewise.
41748         * sysdeps/i386/asm-syntax.h: Likewise.
41749         * sysdeps/s390/asm-syntax.h: Likewise.
41750         * sysdeps/unix/sysdep.h: Likewise.
41751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41753
41754 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41755
41756         * libio/libio.h: Remove __STDC__ conditionals.
41757         * malloc/obstack.h: Likewise.
41758         * math/complex.h: Likewise.
41759         * math/math.h: Likewise.
41760         * sysdeps/generic/_G_config.h: Likewise.
41761         * sysdeps/gnu/_G_config.h: Likewise.
41762         * sysdeps/mach/hurd/_G_config.h: Likewise.
41763         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41764         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41765         * sysdeps/sparc/bits/mathdef.h: Likewise.
41766
41767 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41768
41769         [BZ #13583]
41770         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41771         Clean up HAS_* macros.
41772         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41773         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41774         possible.
41775         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41776         HAS_AVX.
41777         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41778         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41779         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41780         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41781         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41782
41783 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41784
41785         * elf/tst-unique3.cc (gets): Remove declaration.
41786         * elf/tst-unique3lib.cc (gets): Likewise.
41787         * elf/tst-unique3lib2.cc (gets): Likewise.
41788         * elf/tst-unique4.cc (gets): Likewise.
41789
41790 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41791
41792         * include/stdio.h: Add C++ protection.  Add gets declarations and
41793         definitions.
41794         * debug/tst-chk1.c: Don't declare gets here.
41795         * stdio-common/tst-gets.c: Likewise.
41796
41797 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41798
41799         * posix/glob: Remove directory.
41800
41801 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41802
41803         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41804
41805 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41806
41807         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41808         of the non-standard EPFNOSUPPORT.
41809
41810 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41811
41812         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41813         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41814         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41815
41816 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41817
41818         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41819
41820 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41821
41822         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41823         transient errors.
41824         * nscd/grpcache.c (cache_addgr): Likewise.
41825         * nscd/hstcache.c (cache_addhst): Likewise.
41826         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41827         * nscd/pwdcache.c (cache_addpw): Likewise.
41828         * nscd/servicescache.c (cache_addserv): Likewise.
41829
41830 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41831
41832         * malloc/malloc.c: Various cleanups.
41833         * malloc/hooks.c: Likewise.
41834
41835         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41836         * stdlib/bug-fmtmsg1.c: New file.
41837
41838         * stdlib/fmtmsg.c (init): Add missing unlock.
41839         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41840
41841 2012-01-12  Marek Polacek  <polacek@redhat.com>
41842
41843         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41844         and _GNU_SOURCE.
41845
41846 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41847
41848         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41849         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41850         macro to ensure uniqueness of label name.
41851         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41852         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41853
41854 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41855
41856         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41857
41858         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41859         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41860         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41861         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41862
41863 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41864
41865         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41866
41867         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41868         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41869         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41870
41871         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41872
41873         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41874         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41875         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41876         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41877
41878         * math/bits/math-finite.h: Add ldexp support.
41879
41880 2012-01-10  Marek Polacek  <polacek@redhat.com>
41881
41882         * locale/programs/localedef.h (show_archive_content): Add noreturn
41883         attribute.
41884
41885 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41886
41887         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41888
41889 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41890
41891         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41892
41893         * io/Makefile (headers): Add bits/poll2.h.
41894
41895 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41896
41897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41898         typo #include statement.
41899
41900 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41901
41902         * include/sys/cdefs.h: Define __attribute_alloc_size.
41903         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41904         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41905         * elf/pldd.c: Likewise.
41906         * iconv/iconv_charmap.c: Likewise.
41907         * iconv/iconvconfig.c: Likewise.
41908         * iconv/strtab.c: Likewise.
41909         * locale/programs/locale.c: Likewise.
41910         * locale/programs/localedef.h: Likewise.
41911         * locale/programs/simple-hash.c: Likewise.
41912         * nscd/nscd.h: Likewise.
41913         * nss/makedb.c: Likewise.
41914         * sysdeps/generic/ldconfig.h: Likewise.
41915         * locale/programs/localedef.c: Remove xmalloc prototype.
41916         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41917
41918 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41919
41920         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41921         appropriate.
41922
41923 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41924
41925         * math/Makefile (tests): Add tst-CMPLX.
41926         * math/tst-CMPLX.c: New file.
41927
41928         * math/complex.h (CMPLXL): Fix typo.
41929
41930         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41931         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41932         GLIBC_2.16.
41933         * debug/tst-chk1.c: Add poll and ppoll tests.
41934         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41935         * include/sys/poll.h: Add hidden proto for ppoll.
41936         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41937         * sysdeps/mach/hurd/ppoll.c: Likewise.
41938         * io/ppoll.c: Likewise.
41939         * debug/poll_chk.c: New file.
41940         * debug/ppoll_chk.c: New file.
41941         * include/bits/poll2.h: New file.
41942         * io/bits/poll2.h: New file.
41943
41944         [BZ #1350]
41945         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41946
41947         * configure.in: static is always set to yes.  Remove.
41948         * config.make.in: Don't set build-static.
41949         * Makeconfig: Remove use of build-static.
41950         * dlfcn/Makefile: Likewise.
41951         * elf/Makefile: Likewise.
41952         * math/Makefile: Likewise.
41953         * misc/Makefile: Likewise.
41954         * nptl/Makefile: Likewise.
41955         * sysdeps/mach/hurd/Makefile: Likewise.
41956
41957         * configure.in: PWD_P is not used anymore.
41958         * config.make.in: Remove PWD_P entry.
41959
41960         * configure.in: Remove last remnants of RANLIB.
41961         No need to check for signed size_t anymore.
41962         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41963         and IA-64.
41964         Remove __builtin_expect test because we require at least gcc 3.4.
41965         * aclocal.m4: Likewise.
41966
41967         * wcsmbs/mbrtoc16.c: Implement using towc function.
41968         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41969         * wcsmbs/wcsmbsload.c: Likewise.
41970         * iconv/gconv_simple.c: Likewise.
41971         * iconv/gconv_int.h: Likewise.
41972         * iconv/gconv_builtin.h: Likewise.
41973         * iconv/iconv_prog.c: Remove CHAR16 handling.
41974
41975         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41976
41977         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41978
41979         * configure.in: Remove --with-elf and --enable-bounded options.
41980         Dont set base_machine for ia64.  More non-ELF conditions removed.
41981         Remove testing and setting of leading underscore information.
41982         * config.make.in (build-bounded): Set to no.
41983         * config.h.in: Remove NO_UNDERSCORES entry.
41984         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41985         them.
41986         * csu/start.c: Remove !NO_UNDERSCORE code.
41987         * locale/localeinfo.h: Likewise.
41988         * sysdeps/generic/machine-gmon.h: Likewise.
41989         * sysdeps/generic/sysdep.h: Likewise.
41990         * sysdeps/i386/sysdep.h: Likewise.
41991         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41992         * sysdeps/mach/sysdep.h: Likewise.
41993         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41994         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41995         * sysdeps/sh/sysdep.h: Likewise.
41996         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41997         * sysdeps/unix/i386/sysdep.S: Likewise.
41998         * sysdeps/unix/sparc/start.c: Likewise.
41999         * sysdeps/unix/sparc/sysdep.S: Likewise.
42000         * sysdeps/unix/sparc/sysdep.h: Likewise.
42001         * sysdeps/unix/start.c: Likewise.
42002         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42003         * sysdeps/x86_64/sysdep.h: Likewise.
42004
42005 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42006
42007         [BZ #13553]
42008         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42009         for non-gcc.
42010         * argp/argp-fmtstream.h: Use const instead __const.
42011         * argp/argp.h: Likewise.
42012         * assert/assert.h: Likewise.
42013         * bits/fenv.h: Likewise.
42014         * bits/sched.h: Likewise.
42015         * bits/sigset.h: Likewise.
42016         * bits/sigthread.h: Likewise.
42017         * catgets/nl_types.h: Likewise.
42018         * conform/data/pthread.h-data: Likewise.
42019         * crypt/crypt-private.h: Likewise.
42020         * crypt/crypt.h: Likewise.
42021         * crypt/crypt_util.c: Likewise.
42022         * ctype/ctype.h: Likewise.
42023         * debug/execinfo.h: Likewise.
42024         * debug/mbsnrtowcs_chk.c: Likewise.
42025         * debug/mbsrtowcs_chk.c: Likewise.
42026         * debug/wcsnrtombs_chk.c: Likewise.
42027         * debug/wcsrtombs_chk.c: Likewise.
42028         * debug/wcstombs_chk.c: Likewise.
42029         * dirent/dirent.h: Likewise.
42030         * dlfcn/dlfcn.h: Likewise.
42031         * elf/neededtest4.c: Likewise.
42032         * grp/grp.h: Likewise.
42033         * gshadow/gshadow.h: Likewise.
42034         * iconv/gconv.h: Likewise.
42035         * iconv/gconv_int.h: Likewise.
42036         * iconv/gconv_simple.c: Likewise.
42037         * iconv/iconv.h: Likewise.
42038         * iconv/loop.c: Likewise.
42039         * iconv/skeleton.c: Likewise.
42040         * include/aio.h: Likewise.
42041         * include/aliases.h: Likewise.
42042         * include/argz.h: Likewise.
42043         * include/arpa/inet.h: Likewise.
42044         * include/assert.h: Likewise.
42045         * include/dirent.h: Likewise.
42046         * include/dlfcn.h: Likewise.
42047         * include/execinfo.h: Likewise.
42048         * include/fcntl.h: Likewise.
42049         * include/fenv.h: Likewise.
42050         * include/glob.h: Likewise.
42051         * include/grp.h: Likewise.
42052         * include/libintl.h: Likewise.
42053         * include/mntent.h: Likewise.
42054         * include/netdb.h: Likewise.
42055         * include/pwd.h: Likewise.
42056         * include/rpc/netdb.h: Likewise.
42057         * include/sched.h: Likewise.
42058         * include/search.h: Likewise.
42059         * include/shadow.h: Likewise.
42060         * include/signal.h: Likewise.
42061         * include/stdio.h: Likewise.
42062         * include/stdlib.h: Likewise.
42063         * include/string.h: Likewise.
42064         * include/sys/socket.h: Likewise.
42065         * include/sys/stat.h: Likewise.
42066         * include/sys/statfs.h: Likewise.
42067         * include/sys/statvfs.h: Likewise.
42068         * include/sys/syslog.h: Likewise.
42069         * include/sys/time.h: Likewise.
42070         * include/sys/uio.h: Likewise.
42071         * include/time.h: Likewise.
42072         * include/unistd.h: Likewise.
42073         * include/utmp.h: Likewise.
42074         * include/wchar.h: Likewise.
42075         * include/wctype.h: Likewise.
42076         * inet/aliases.h: Likewise.
42077         * inet/arpa/inet.h: Likewise.
42078         * inet/netinet/ether.h: Likewise.
42079         * inet/netinet/in.h: Likewise.
42080         * intl/libintl.h: Likewise.
42081         * io/bits/fcntl2.h: Likewise.
42082         * io/fcntl.h: Likewise.
42083         * io/ftw.h: Likewise.
42084         * io/sys/poll.h: Likewise.
42085         * io/sys/stat.h: Likewise.
42086         * io/sys/statfs.h: Likewise.
42087         * io/sys/statvfs.h: Likewise.
42088         * io/utime.h: Likewise.
42089         * libio/bits/stdio.h: Likewise.
42090         * libio/bits/stdio2.h: Likewise.
42091         * libio/libio.h: Likewise.
42092         * libio/libioP.h: Likewise.
42093         * libio/stdio.h: Likewise.
42094         * locale/lc-ctype.c: Likewise.
42095         * locale/locale.h: Likewise.
42096         * login/utmp.h: Likewise.
42097         * malloc/arena.c: Likewise.
42098         * malloc/malloc.c: Likewise.
42099         * malloc/malloc.h: Likewise.
42100         * malloc/mcheck.c: Likewise.
42101         * malloc/mtrace.c: Likewise.
42102         * math/bits/mathcalls.h: Likewise.
42103         * math/fenv.h: Likewise.
42104         * math/math_private.h: Likewise.
42105         * misc/bits/error.h: Likewise.
42106         * misc/bits/syslog.h: Likewise.
42107         * misc/err.h: Likewise.
42108         * misc/error.h: Likewise.
42109         * misc/fstab.h: Likewise.
42110         * misc/mntent.h: Likewise.
42111         * misc/regexp.h: Likewise.
42112         * misc/search.h: Likewise.
42113         * misc/sgtty.h: Likewise.
42114         * misc/sys/mman.h: Likewise.
42115         * misc/sys/syslog.h: Likewise.
42116         * misc/sys/uio.h: Likewise.
42117         * misc/sys/xattr.h: Likewise.
42118         * misc/ttyent.h: Likewise.
42119         * nis/rpcsvc/ypclnt.h: Likewise.
42120         * nss/nss.h: Likewise.
42121         * posix/bits/unistd.h: Likewise.
42122         * posix/fnmatch.h: Likewise.
42123         * posix/glob.h: Likewise.
42124         * posix/sched.h: Likewise.
42125         * posix/spawn.h: Likewise.
42126         * posix/sys/wait.h: Likewise.
42127         * posix/unistd.h: Likewise.
42128         * posix/wordexp.h: Likewise.
42129         * pwd/pwd.h: Likewise.
42130         * resolv/netdb.h: Likewise.
42131         * resource/sys/resource.h: Likewise.
42132         * rt/aio.h: Likewise.
42133         * rt/bits/mqueue2.h: Likewise.
42134         * rt/mqueue.h: Likewise.
42135         * shadow/shadow.h: Likewise.
42136         * signal/signal.h: Likewise.
42137         * socket/send.c: Likewise.
42138         * socket/sendto.c: Likewise.
42139         * socket/sys/socket.h: Likewise.
42140         * stdio-common/printf.h: Likewise.
42141         * stdlib/bits/stdlib.h: Likewise.
42142         * stdlib/fmtmsg.h: Likewise.
42143         * stdlib/monetary.h: Likewise.
42144         * stdlib/stdlib.h: Likewise.
42145         * stdlib/ucontext.h: Likewise.
42146         * streams/stropts.h: Likewise.
42147         * string/argz.h: Likewise.
42148         * string/bits/string2.h: Likewise.
42149         * string/string.h: Likewise.
42150         * string/strings.h: Likewise.
42151         * sunrpc/rpc/auth.h: Likewise.
42152         * sunrpc/rpc/auth_des.h: Likewise.
42153         * sunrpc/rpc/clnt.h: Likewise.
42154         * sunrpc/rpc/netdb.h: Likewise.
42155         * sunrpc/rpc/pmap_clnt.h: Likewise.
42156         * sunrpc/rpc/xdr.h: Likewise.
42157         * sysdeps/generic/inttypes.h: Likewise.
42158         * sysdeps/generic/net/if.h: Likewise.
42159         * sysdeps/generic/sys/swap.h: Likewise.
42160         * sysdeps/gnu/net/if.h: Likewise.
42161         * sysdeps/gnu/utmpx.h: Likewise.
42162         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42163         * sysdeps/i386/i486/bits/string.h: Likewise.
42164         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42165         * sysdeps/s390/bits/string.h: Likewise.
42166         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42167         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42168         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42169         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42170         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42171         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42172         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42173         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42174         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42175         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42176         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42177         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42178         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42179         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42180         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42181         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42182         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42183         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42184         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42185         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42186         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42187         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42188         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42189         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42190         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42191         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42192         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42193         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42194         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42195         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42196         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42197         * sysvipc/sys/ipc.h: Likewise.
42198         * sysvipc/sys/msg.h: Likewise.
42199         * sysvipc/sys/sem.h: Likewise.
42200         * sysvipc/sys/shm.h: Likewise.
42201         * termios/termios.h: Likewise.
42202         * time/sys/time.h: Likewise.
42203         * time/time.h: Likewise.
42204         * wcsmbs/bits/wchar2.h: Likewise.
42205         * wcsmbs/uchar.h: Likewise.
42206         * wcsmbs/wchar.h: Likewise.
42207         * wctype/wctype.h: Likewise.
42208
42209         [BZ #13551]
42210         * Makeconfig: Remove all but ELF support including AIX support.
42211         * Makerules: Likewise.
42212         * config.h.in: Likewise.
42213         * config.make.in: Likewise.
42214         * configure: Likewise.
42215         * configure.in: Likewise.
42216         * csu/Makefile: Likewise.
42217         * csu/version.c: Likewise.
42218         * debug/Makefile: Likewise.
42219         * dlfcn/Makefile: Likewise.
42220         * elf/Makefile: Likewise.
42221         * extra-lib.mk: Likewise.
42222         * iconv/Makefile: Likewise.
42223         * include/libc-symbols.h: Likewise.
42224         * include/shlib-compat.h: Likewise.
42225         * resolv/Makefile: Likewise.
42226         * resolv/res_libc.c: Likewise.
42227         * rt/Makefile: Likewise.
42228         * sysdeps/i386/asm-syntax.h: Likewise.
42229         * sysdeps/i386/sysdep.h: Likewise.
42230         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42231         * sysdeps/mach/sysdep.h: Likewise.
42232         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42233         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42234         * sysdeps/s390/asm-syntax.h: Likewise.
42235         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42236         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42237         * sysdeps/sh/sysdep.h: Likewise.
42238         * sysdeps/unix/sparc/sysdep.h: Likewise.
42239         * sysdeps/wordsize-32/divdi3.c: Likewise.
42240         * sysdeps/x86_64/sysdep.h: Likewise.
42241
42242         * argp/Versions: Remove _argp_unlock_xxx.
42243
42244         [BZ #13559]
42245         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42246         * abilist/libBrokenLocale.abilist: Likewise.
42247         * abilist/libanl.abilist: Likewise.
42248         * abilist/libc.abilist: Likewise.
42249         * abilist/libcrypt.abilist: Likewise.
42250         * abilist/libdl.abilist: Likewise.
42251         * abilist/libm.abilist: Likewise.
42252         * abilist/libnsl.abilist: Likewise.
42253         * abilist/libpthread.abilist: Likewise.
42254         * abilist/libresolv.abilist: Likewise.
42255         * abilist/librt.abilist: Likewise.
42256         * abilist/libthread_db.abilist: Likewise.
42257         * abilist/libutil.abilist: Likewise.
42258         * abilist/libnss_db.abilist: New file.
42259
42260         * scripts/abilist.awk: Add support for indirect functions.
42261
42262         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42263
42264         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42265
42266         * shlib-versions: Remove entries for ports architectures.
42267
42268         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42269         files in ports.
42270         * elf/stackguard-macros.h: Remove support for IA-64.
42271         * elf/tst-auditmod1.c: Likewise.
42272         * sysdeps/generic/ldsodefs.h: Likewise.
42273
42274         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42275         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42276         configure files.
42277
42278         [BZ #13552]
42279         * configure.in: Remove --enable-omitfp support.
42280         * FAQ.in: Adjust.
42281         * config.make.in: Likewise.
42282         * Makeconfig: Likewise.
42283         * manual/install.texi: Likewise.
42284
42285         In case anyone cares, the IA-64 architecture could move to ports.
42286         * sysdeps/ia64/*: Removed.
42287         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42288         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42289
42290         [BZ #13555]
42291         * configure.in: Remove entries for unsupported architectures.
42292
42293         [BZ #13533]
42294         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42295         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42296         routines.
42297         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42298         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42299         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42300         fall back to using wcrtomb.
42301         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42302         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42303         renaming.
42304         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42305         * wcsmbs/tst-c16c32-1.c: New file.
42306
42307         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42308         local variable.
42309
42310         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42311
42312         * elf/tst-unique3.cc: Add explicit declaration of gets.
42313         * elf/tst-unique3lib.cc: Likewise.
42314         * elf/tst-unique3lib2.cc: Likewise.
42315         * elf/tst-unique4.cc: Likewise.
42316
42317         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42318
42319 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42320
42321         [BZ #13566]
42322         * assert/assert.h (static_assert): Don't define for C++.
42323         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42324         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42325
42326 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42327
42328         * iconv/loop.c (single loop): Fix assertion in storing of
42329         remaining bytes.
42330
42331         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42332
42333 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42334
42335         * posix/getconf.c: Update copyright year.
42336         * nss/getent.c: Likewise.
42337         * nss/makedb.c: Likewise.
42338         * iconv/iconvconfig.c: Likewise.
42339         * iconv/iconv_prog.c: Likewise.
42340         * elf/ldconfig.c: Likewise.
42341         * elf/pldd.c: Likewise.
42342         * elf/sotruss.ksh: Likewise.
42343         * catgets/gencat.c: Likewise.
42344         * csu/version.c: Likewise.
42345         * elf/ldd.bash.in: Likewise.
42346         * elf/sprof.c (print_version): Likewise.
42347         * locale/programs/locale.c: Likewise.
42348         * locale/programs/localedef.c: Likewise.
42349         * login/programs/pt_chown.c: Likewise.
42350         * nscd/nscd.c (print_version): Likewise.
42351         * debug/xtrace.sh: Likewise.
42352         * malloc/memusage.sh: Likewise.
42353         * malloc/mtrace.pl: Likewise.
42354         * debug/catchsegv.sh: Likewise.
42355
42356 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42357
42358         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42359         pure attribute.
42360
42361 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42362
42363         [BZ #13533]
42364         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42365         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42366         transformations.
42367         * iconv/gconv_int.h: Likewise.
42368         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42369         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42370         from libc for GLIBC_2.16.
42371         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42372         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42373         * wcsmbs/uchar.h: Really define mbstate_t.
42374         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42375         * wcsmbs/c16rtomb.c: New file.
42376         * wcsmbs/mbrtoc16.c: New file.
42377         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42378         for C/POSIX locale.
42379         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42380         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42381
42382         * wcsmbs/wchar.h: Add missing __restrict.
42383
42384 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42385
42386         [BZ #13532]
42387         * time/Makefile (routines): Add timespec_get.
42388         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42389         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42390         timespec for ISO C11.
42391         * time/timespec_get.c: New file.
42392         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42393         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42394
42395         [BZ #13531]
42396         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42397         * stdlib/stdlib.h: Declare aligned_alloc.
42398         * Versions.def: Add GLIBC_2.16 for libc.
42399         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42400
42401         [BZ 13527]
42402         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42403         ISO C11.
42404
42405         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42406         code.
42407
42408         [BZ #13528]
42409         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42410
42411         [BZ #13529]
42412         * assert/assert.h (static_assert): Define.
42413
42414         * version.h: Update for 2.16 development version.
42415
42416         [BZ #13526]
42417         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42418         _ISOC11_SOURCE.
42419
42420         * version.h (RELEASE): Bump for 2.15 release.
42421         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42422
42423         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42424         Patch by Marek Polacek <mpolacek@redhat.com>.
42425
42426         * bits/byteswap.h: Protect long long constants with __extension__.
42427         * sysdeps/i386/bits/byteswap.h: Likewise.
42428         * sysdeps/ia64/bits/byteswap.h: Likewise.
42429         * sysdeps/s390/bits/byteswap.h: Likewise.
42430         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42431
42432 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42433
42434         [BZ #13540]
42435         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42436         destination buffer.
42437         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42438
42439 2011-12-23  Marek Polacek  <polacek@redhat.com>
42440
42441         * elf/dl-addr.c (determine_info): Add inline keyword.
42442         * elf/tst-auditmod4b.c (check_avx): Likewise.
42443         * elf/tst-auditmod6b.c (check_avx): Likewise.
42444         * elf/tst-auditmod6c.c (check_avx): Likewise.
42445         * elf/tst-auditmod7b.c (check_avx): Likewise.
42446
42447 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42448
42449         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42450         !__SSE_MATH__.
42451
42452 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42453
42454         [BZ #13540]
42455         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42456         processing for last bytes.
42457
42458 2011-08-06  Bruno Haible  <bruno@clisp.org>
42459
42460         [BZ #13061]
42461         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42462         U+0385, not to U+1FEE.
42463
42464         [BZ #13062]
42465         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42466         entry for U+00A5 U+0301.
42467
42468 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42469
42470         [BZ #13166]
42471         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42472         buffer for the output is too small.
42473
42474         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42475         optimization.
42476
42477         [BZ #13185]
42478         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42479         SSE flags if possible.
42480
42481 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42482
42483         [BZ #13540]
42484         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42485         processing for last bytes.
42486
42487 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42488
42489         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42490         (syscall-list-default-options, syscall-list-default-condition)
42491         (syscall-list-includes): Define.
42492         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42493         list of ABIs and options and #if conditions for each ABI.  Do not
42494         handle common syscalls between ABIs specially.
42495         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42496         Remove.
42497         (syscall-list-variants, syscall-list-32bit-options)
42498         (syscall-list-32bit-condition, syscall-list-64bit-options)
42499         (syscall-list-64bit-condition): Define.
42500         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42501         (syscall-list-variants, syscall-list-32bit-options)
42502         (syscall-list-32bit-condition, syscall-list-64bit-options)
42503         (syscall-list-64bit-condition): Define.
42504         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42505         Remove.
42506         (syscall-list-variants, syscall-list-32bit-options)
42507         (syscall-list-32bit-condition, syscall-list-64bit-options)
42508         (syscall-list-64bit-condition): Define.
42509         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42510         Remove.
42511         (syscall-list-variants, syscall-list-32bit-options)
42512         (syscall-list-32bit-condition, syscall-list-64bit-options)
42513         (syscall-list-64bit-condition): Define.
42514
42515 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42516
42517         * locale/iso-639.def: Add brx entry.
42518
42519         [BZ #13328]
42520         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42521         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42522
42523         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42524         __feraiseexcept_renamed.
42525
42526 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42527
42528         [BZ #13538]
42529         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42530         EPOLLET with unsigned values.
42531         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42532         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42533
42534         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42535         to large cancellation.
42536         * math/s_cacoshf.c: Likewise.
42537         * math/s_cacoshl.c: Likewise.
42538
42539 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42540
42541         [BZ #13305]
42542         [BZ #12786]
42543         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42544         * math/s_cacoshf.c: Likewise.
42545         * math/s_cacoshl.c: Likewise.
42546
42547 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42548
42549         [BZ #13439]
42550         * iconv/gconv.h: Define __GCONV_SWAP.
42551         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42552         * iconvdata/utf-16.c: Likewise.
42553         * iconvdata/utf-32.c: Likewise.
42554
42555 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42556
42557         [BZ #13524]
42558         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42559         numerator after shifting it by one limb.
42560
42561 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42562
42563         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42564         under [__USE_EXTERN_INLINES].
42565
42566 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42567
42568         [BZ #13446]
42569         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42570
42571 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42572
42573         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42574         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42575         optimized code.
42576         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42577         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42578         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42579         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42580         for strncasecmp/strncasecmp_l compilation.
42581         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42582         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42583
42584 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42585
42586         [BZ #13484]
42587         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42588         of __asm__.
42589
42590 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42591
42592         [BZ #13506]
42593         * time/tzfile.c (__tzfile_read): Check values from file header.
42594
42595 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42596
42597         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42598         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42599         * powerpc/powerpc32/dl-start.S: Likewise.
42600         * powerpc/powerpc32/elf/start.S: Likewise.
42601         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42602         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42603         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42604         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42605         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42606         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42607         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42608         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42609         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42610         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42611         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42612         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42613         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42614         * powerpc/powerpc32/memset.S: Likewise.
42615         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42616         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42617         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42618         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42619         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42620         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42621         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42622         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42623         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42624         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42625         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42626         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42627         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42628
42629 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42630
42631         * math/libm-test.inc: Added more nearbyint tests.
42632         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42633         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42634         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42635         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42636
42637 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42638
42639         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42640         FD_CLOEXEC.
42641
42642 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42643
42644         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42645         Add wcscpy-ssse3 wcscpy-c.
42646         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42647         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42648         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42649         * sysdeps/x86_64/wcschr.S: New file.
42650         * sysdeps/x86_64/wcsrchr.S: New file.
42651         * string/test-strcmp.c: Remove checking of wcscmp function for
42652         wrong alignments.
42653         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42654         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42655         wcsrchr-sse2 wcsrchr-c.
42656         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42657         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42658         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42659         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42660         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42661         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42662         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42663         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42664         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42665         * wcsmbc/wcschr.c (WCSCHR): New macro.
42666
42667 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42668
42669         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42670         * wcsmbs/test-wcsrchr.c: New file.
42671         * string/test-strrchr.c: Add wcsrchr support.
42672         (WIDE): New macro.
42673         * wcsmbs/test-wcscpy.c: New file.
42674         * string/test-strcpy.c: Add wcscpy support.
42675         (WIDE): New macro.
42676
42677 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42678
42679         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42680         the inner loop.
42681
42682 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42683
42684         [BZ #13472]
42685         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42686
42687 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42688
42689         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42690         Minor optimizations.
42691
42692         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42693         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42694         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42695
42696 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42697
42698         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42699         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42700         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42701         for gcc to avoid warnings.
42702         * inet/Makefile (tests): Add tst-checks.
42703         * inet/tst-checks.c: New file.
42704
42705         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42706         warning.
42707
42708         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42709         __wmemcmp_sse2.
42710
42711         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42712         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42713
42714         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42715
42716 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42717
42718         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42719         problem.
42720
42721         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42722
42723 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42724
42725         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42726         conditional on GCC version.
42727         (__arch_compare_and_exchange_val_8_acq)
42728         (__arch_compare_and_exchange_val_16_acq)
42729         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42730         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42731         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42732
42733 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42734
42735         * sysdeps/sh/backtrace.c: New file.
42736
42737 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42738
42739         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42740         parenthesis.
42741
42742 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42743
42744         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42745         falling back to utime.
42746
42747 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42748
42749         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42750         expectations for float.
42751
42752 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42753
42754         * locale/weight.h (findidx): Add parameter len.
42755         * locale/weightwc.h (findidx): Likewise.
42756         * posix/fnmatch_loop.c (FCT): Adjust caller.
42757         * posix/regcomp.c (build_equiv_class): Likewise.
42758         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42759         * posix/regexec.c (check_node_accept_bytes): Likewise.
42760         * string/strcoll_l.c (STRCOLL): Likewise.
42761         * string/strxfrm_l.c (STRXFRM): Likewise.
42762
42763 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42764
42765         * Makefile.in: Remove CVSOPT handling.
42766         * configure.in: Remove use of AC_REVISION.
42767         * iconvdata/Makefile (distribute): No need to filter out CVS.
42768         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42769         handling.
42770
42771 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42772
42773         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42774         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42775         [USE_AS_STRNCASECMP_L]: Likewise.
42776         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42777         NO_TLS_DIRECT_SEG_REFS.
42778         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42779         Fix argument offsets for non-PIC.
42780         [USE_AS_STRNCASECMP_L]: Likewise.
42781         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42782         NO_TLS_DIRECT_SEG_REFS.
42783
42784 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42785
42786         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42787         O_CLOEXEC.
42788         * locale/loadlocale.c (_nl_load_locale): Likewise.
42789
42790 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42791
42792         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42793         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42794         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42795         (SYSCALL_GETTIME): Set errno on error.
42796
42797         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42798         count references to noai6ai_cached.
42799
42800 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42801
42802         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42803
42804         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42805         FD_CLOEXEC for /proc/self/maps.
42806
42807         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42808         FD_CLOEXEC for /proc/meminfo.
42809
42810         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42811         gai.conf.
42812
42813         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42814         FD_CLOEXEC for given file.
42815
42816         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42817
42818         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42819         FD_CLOEXEC for /etc/hosts.
42820         (_gethtent): Likewise.
42821
42822         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42823
42824         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42825         cancellation and set FD_CLOEXEC for /etc/netgroup.
42826
42827         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42828         reading /etc/publickey.
42829
42830         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42831         allow cancellation when reading /etc/group.
42832
42833         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42834         cancellation.
42835         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42836
42837         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42838         when using data file.
42839
42840         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42841
42842         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42843         (write_nis_obj): Use "c" and "e" in fopen.
42844
42845         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42846
42847         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42848
42849         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42850
42851         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42852
42853         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42854         locale.alias.
42855
42856         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42857
42858         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42859
42860         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42861
42862         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42863         file parsing and set FD_CLOEXEC.
42864
42865 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42866
42867         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42868
42869 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42870
42871         * malloc/arena.c (arena_get2): Don't call reused_arena when
42872         _int_new_arena failed.
42873
42874 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42875
42876         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42877         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42878         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42879         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42880         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42881         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42882         to compile strcasecmp and strncasecmp.
42883         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42884         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42885
42886         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42887
42888 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42889
42890         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42891         locale-defines.sym to gen-as-const-headers.
42892         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42893         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42894         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42895         to compile strcasecmp and strncasecmp.
42896         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42897         strcasecmp_l and strncasecmp_l.
42898         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42899         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42900         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42901         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42902         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42903         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42904         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42905         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42906         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42907         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42908         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42909
42910 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42911
42912         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42913         result of SYSDEP_GETTIME_CPU to retval.
42914         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42915         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42916
42917         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42918         variable.
42919
42920         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42921         mantissa words.
42922         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42923
42924         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42925         from unused variable.
42926
42927         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42928         DWARF definitions.
42929         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42930         for assembling.
42931
42932         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42933         over namespaces.
42934
42935         * sunrpc/rpc_prot.c (rejected): Fix case value.
42936
42937         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42938         unsigned long long int to avoid warnings in shift.
42939
42940         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42941         of use of trans.
42942         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42943         variable tmp.
42944
42945         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42946         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42947         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42948
42949         * nis/nis_table.c (nis_list): Use variable of correct type for
42950         result of __follow_path call.
42951
42952 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42953
42954         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42955         of math functions ceil, trunc, floor, round, and sqrt, when
42956         avaliable on the platform.
42957         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42958         name clash.
42959         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42960         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42961         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42962
42963 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42964
42965         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42966         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42967
42968 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42969
42970         * include/unistd.h: Fix __readlink return type.
42971         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42972
42973 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42974
42975         * stdlib/ucontext.h: Undo last change for makecontext.
42976
42977 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42978
42979         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42980
42981         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42982         * setjmp/setjmp.h: Mark functions as non-leaf.
42983         * setjmp/bits/setjmp2.h: Likewise.
42984         * stdlib/ucontext.h: Likewise.
42985
42986 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42987
42988         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42989         (reused_arena): Don't check arena limit.
42990         (arena_get2): Atomically check arena limit.
42991
42992 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42993
42994         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42995         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42996
42997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42998         instructions.
42999
43000 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43001
43002         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43003         handler when locking.
43004
43005         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43006         Fix size of allocated buffer.
43007
43008 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43009
43010         [BZ #10103]
43011         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43012         declarations for long double functions.
43013         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43014
43015         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43016
43017 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43018
43019         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43020         installed.
43021
43022         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43023         is disabled.
43024
43025 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43026
43027         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43028
43029 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43030
43031         * include/alloca.h (stackinfo_alloca_round): Define.
43032         (extend_alloca): Use it.
43033         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43034         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43035         here.
43036
43037         * scripts/check-local-headers.sh: Ignore libaudit.h.
43038
43039         * nscd/Makefile (extra-objs): Make recursively expanded.
43040
43041 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43042
43043         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43044         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43045
43046         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43047         * posix/tst-rfc3484-2.c: Likewise.
43048         * posix/tst-rfc3484-3.c: Likewise.
43049
43050         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43051         process_vm_writev.
43052         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43053         process_vm_writev.
43054         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43055         process_vm_writev from libc using GLIBC_2.15 version.
43056
43057         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43058
43059 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43060
43061         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43062         stack usage.
43063
43064 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43065
43066         [BZ #13367]
43067         * nss/getent.c (initgroups_keys): Show error message in case no group
43068         names are given.
43069
43070         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43071         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43072         __bump_nl_timestamp.
43073         * nscd/connections (nscd_init): When host database is served open
43074         netlink socket and request notification about configuration changes.
43075         (main_loop_poll): Track netlink file descriptor and bump timestamp
43076         in case data becomes available.
43077         (main_loop_epoll): Likewise.
43078         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43079         (database_pers_head): Add extra_data fileds.
43080         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43081         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43082         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43083         Adjust caller.
43084         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43085         in6ai data, call __free_in6ai.
43086         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43087         Add -DHAVE_NETLINK.
43088         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43089         interface information.  Reuse previous data if netlink timestamp
43090         is not changed.
43091         (__bump_nl_timestamp): New function.
43092         (__free_in6ai): New function.
43093
43094 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43095
43096         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43097         close_not_cancel_no_status here.
43098         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43099
43100 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43101
43102         [BZ #13276]
43103         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43104         return value.
43105
43106         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43107         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43108         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43109
43110 2011-07-03  Andreas Jaeger  <aj@suse.de>
43111
43112         [BZ #10709]
43113         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43114         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43115         * math/libm-test.inc (sin_test): Add test case.
43116
43117 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43118
43119         [BZ #13337]
43120         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43121         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43122
43123         * elf/chroot_canon.c (chroot_canon): Cleanups.
43124
43125         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43126
43127         [BZ #13335]
43128         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43129         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43130
43131         * string/test-strchr.c: Make usable for strchrnul testing.
43132         * string/test-strchrnul.c: New file.
43133         * string/Makefile (strop-tests): Add strchrnul.
43134
43135         * po/it.po: Update from translation team.
43136         * po/es.po: Likewise.
43137
43138 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43139
43140         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43141         the three constants needed as parameters.  Drop the others.
43142         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43143         __m128i_strloadu_tolower.
43144         Create and initialize variable zero and use it in all the places
43145         where _mm_setzero_si128 was used.
43146
43147         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43148         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43149         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43150         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43151         anymore.
43152         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43153         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43154         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43155         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43156         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43157         __mpranred, __mptan.
43158         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43159         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43160         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43161         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43162         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43163         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43164         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43165         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43166         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43167
43168 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43169
43170         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43171         redefine if SHARED.
43172         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43173
43174         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43175         wide char related routines to wcsmbs subdir.
43176
43177 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43178
43179         [BZ #13344]
43180         * misc/sys/cdefs.h (__THROWNL): Define.
43181         * posix/unistd.h: Use __THREADNL instead of __THREAD
43182         for memory synchronization functions.
43183
43184 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43185
43186         [BZ #13349]
43187         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43188         doesn't exist.
43189         * manual/stdio.texi (Obstack Streams): Node removed.
43190
43191 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43192
43193         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43194         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43195         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43196
43197         * math/math_private.h (math_force_eval): Allow non-addressable
43198         arguments.
43199         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43200
43201 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43202
43203         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43204         file is not needed.
43205
43206         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43207         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43208         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43209         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43210         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43211         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43212         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43213         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43214         Add AVX variants.
43215         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43216         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43217         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43218         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43219         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43220         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43221         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43222         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43223         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43224         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43225         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43226         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43227         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43228         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43229         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43230         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43231         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43232         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43233         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43234
43235         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43236         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43237
43238         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43239         place.  Use VEX encoding when compiling for AVX.
43240
43241 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43242
43243         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43244         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43245
43246         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43247
43248 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43249
43250         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43251         useless if() expression.
43252         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43253         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43254         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43255         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43256         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43257         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43258         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43259         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43260         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43261         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43262         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43263         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43264         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43265         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43266         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43267         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43268         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43269         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43270         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43271
43272         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43273
43274 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43275
43276         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43277         condition.
43278         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43279
43280 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43281
43282         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43283         .text section.  Avoid duplicate constants.
43284         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43285         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43286         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43287         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43288         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43289         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43290         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43291         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43292         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43293         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43294         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43295         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43296         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43297         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43298         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43299         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43300         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43301         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43302         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43303         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43304         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43305         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43306         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43307         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43308         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43309         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43310         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43311         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43312         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43313         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43314         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43315         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43316         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43317         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43318         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43319         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43320         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43321         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43322         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43323         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43324         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43325         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43326         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43327         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43328         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43329
43330 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43331
43332         * sysdeps/x86_64/dla.h: Move to ...
43333         * sysdeps/x86_64/fpu/dla.h: ...here.
43334         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43335         situations.  Use __builtin_fma only for gcc 4.6 and up.
43336
43337         * config.make.in: Add have-mfma4 entry.
43338         * configure.in: Substitute libc_cv_cc_fma4.
43339         * math/Makefile (dbl-only-routines): Add sincostab.
43340         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43341         Use __sincostab not sincos.
43342         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43343         name is a macro.
43344         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43345         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43347         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43348         using __copysign.
43349         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43350         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43351         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43352         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43353         and __inv.
43354         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43355         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43356         __copysign.
43357         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43358         define aliases when function name is a macro.
43359         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43360         sysdeps/ieee754/dbl-64/sincos.tbl.
43361         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43362         fma4-enabled routines.
43363         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43364         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43365         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43366         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43367         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43368         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43369         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43370         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43371         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43372         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43373         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43374         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43375         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43376         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43377         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43378         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43379         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43380         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43381         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43382         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43383         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43384         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43385         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43386         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43387         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43388         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43389         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43390         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43391         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43392         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43393
43394         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43395         rename.
43396         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43397         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43398         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43402         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43403         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43404
43405 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43406
43407         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43408
43409 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43410
43411         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43412
43413         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43414         prediction.
43415         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43416
43417         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43418         Remove unused variable magic_bits.
43419         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43420
43421         * string/strnlen.c: Define and use STRNLEN macro.
43422         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43423         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43424         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43425         * wcsmbs/wcslen.c: Define and use WCSLEN.
43426         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43427         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43428         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43429         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43430         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43431         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43432         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43433
43434 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43435
43436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43437         strnlen-sse2-no-bsf.
43438         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43439         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43440         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43441         Add strnlen support.
43442         (USE_AS_STRNLEN): New macro.
43443         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43444         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43445         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43446         * sysdeps/x86_64/wcslen.S: New file.
43447
43448 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43449
43450         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43451         XMM-moves are used for copying on small sizes.
43452
43453 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43454
43455         * wcsmbs/Makefile (strop-tests): Add wcschr.
43456         * wcsmbs/test-wcschr.c: New file.
43457         * string/test-strchr.c: Update.
43458         Add wcschr support.
43459         (WIDE): New macro.
43460
43461 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43462
43463         * wcsmbs/Makefile (strop-tests): Add wcslen.
43464         * wcsmbs/test-wcslen.c: New file.
43465         * string/test-strlen.c: Update.
43466         Add wcslen support.
43467         (WIDE): New macro.
43468
43469 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43470
43471         * po/it.po: Update from translation team.
43472
43473 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43474
43475         * sysdeps/x86_64/wcscmp.S: Update.
43476         Fix wrong comparison semantics.
43477         wcscmp shall use signed comparison not unsigned.
43478         Don't use substraction to avoid overflow bug.
43479         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43480         * wcsmbc/wcscmp.c: Likewise.
43481         * string/test-strcmp.c: Likewise.
43482         Add new tests to check cases with negative values.
43483
43484 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43485
43486         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43487         * sysdeps/x86_64/dla.h: ...here.  New file.
43488         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43489         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43490         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43491         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43492         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43493         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43494         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43495         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43496         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43497
43498 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43499
43500         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43501         __ynl_finite aliases.
43502
43503 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43504
43505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43506
43507         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43508         define DLA_FMA.
43509         [DLA_FMA] (EMULV): Use DLA_FMA.
43510         [DLA_FMA] (MUL12): Use EMULV.
43511         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43512         that are not needed.
43513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43515         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43516         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43517         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43518         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43519         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43520
43521 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43522
43523         * math/s_nan.c: Undef __nan.
43524         * math/s_nanf.c: Undef __nanf.
43525         * math/s_nanl.c: Undef __nanl.
43526         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43527         "math_private.h".
43528
43529 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43530
43531         * math/s_catan.c: Add branch predictions.
43532         * math/s_catanf.c: Likewise.
43533         * math/s_catanh.c: Likewise.
43534         * math/s_catanhf.c: Likewise.
43535         * math/s_catanhl.c: Likewise.
43536         * math/s_catanl.c: Likewise.
43537         * math/s_cexp.c: Likewise.
43538         * math/s_cexpf.c: Likewise.
43539         * math/s_cexpl.c: Likewise.
43540         * math/s_clog.c: Likewise.
43541         * math/s_clog10.c: Likewise.
43542         * math/s_clog10f.c: Likewise.
43543         * math/s_clog10l.c: Likewise.
43544         * math/s_clogf.c: Likewise.
43545         * math/s_clogl.c: Likewise.
43546         * math/s_csqrt.c: Likewise.
43547         * math/s_csqrtf.c: Likewise.
43548         * math/s_csqrtl.c: Likewise.
43549         * math/s_ctanf.c: Likewise.
43550         * math/s_ctanh.c: Likewise.
43551         * math/s_ctanhf.c: Likewise.
43552         * math/s_ctanhl.c: Likewise.
43553         * math/s_ctanl.c: Likewise.
43554
43555         * math/math_private.h: Define __nan, __nanf, __nanl.
43556         * math/s_cacosh.c: Include <math_private.h>.
43557         * math/s_cacoshl.c: Likewise.
43558         * math/s_casinh.c: Likewise.
43559         * math/s_casinhf.c: Likewise.
43560         * math/s_casinhl.c: Likewise.
43561         * math/s_ccos.c: Rely entire on ccosh.
43562         * math/s_ccosf.c: Rely entire on ccoshf.
43563         * math/s_ccosl.c: Rely entirely on ccoshl.
43564         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43565         Remove tests for FE_INVALID.
43566         * math/s_ccoshf.c: Likewise.
43567         * math/s_ccoshl.c: Likewise.
43568         * math/s_csin.c: Likewise.
43569         * math/s_csinf.c: Likewise.
43570         * math/s_csinh.c Likewise.
43571         * math/s_csinhf.c: Likewise.
43572         * math/s_csinhl.c: Likewise.
43573         * math/s_csinl.c: Likewise.
43574         * math/s_ctan.c: Likewise.
43575         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43576         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43577         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43578
43579 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43580
43581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43582         compilation problems.
43583
43584         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43585         __builtin_expect.
43586
43587 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43588
43589         * sysdeps/i386/configure.in: Test for -mfma4 option.
43590         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43591         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43592         COMMON_CPUID_INDEX_80000001.
43593         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43594         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43595         use it if FMA3 is not supported.
43596         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43597
43598         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43599         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43600
43601 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43602
43603         [BZ #12892]
43604         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43605         it would create a cycle with a link time dependency.
43606
43607 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43608
43609         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43610         instruction.
43611         * string/Makefile (strop-tests): Add rawmemchr.
43612         * string/test-rawmemchr.c: New file.
43613
43614         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43615         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43616         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43617         when compiling str{,n}casecmp and when AVX is available.  Hook up
43618         new optimized code in initializers.
43619
43620 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43621
43622         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43623         __feraiseexcept instead of feraiseexcept.
43624
43625 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43626
43627         * math/math_private.h: Define defaults for libc_fetestexcept and
43628         libc_feupdateenv.
43629         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43630         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43631         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43632         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43633         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43634         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43635         libc_fetestexcept and libc_feupdateenv.
43636
43637         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43638         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43639         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43640         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43641         libc_feholdexcept_setround.
43642
43643         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43644         Add s_nearbyint-c and s_nearbyintf-c.
43645         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43646         nearbyintf inlines.
43647         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43648         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43649         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43650         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43651
43652         * math/math_private.h: Define defaults for libc_fegetround,
43653         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43654         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43655         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43656         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43657         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43658         standard functions.
43659         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43660         Remove comments and hacks for old compiler versions.
43661         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43662         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43663         libc_feholdexceptl.
43664
43665 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43666
43667         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43668         (__feraiseexcept_renamed): Add __NTH.
43669         (feraiseexcept): Add __NTH.  Rename local variables to fix
43670         namespace violations.
43671
43672 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43673
43674         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43675
43676         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43677
43678         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43679         recently added interfaces.
43680         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43681
43682         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43683         about macro parameter expansion.
43684
43685         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43686         __NO_MATH_INLINES is defined.  Cleanups.
43687
43688         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43689         and __floorf is target has SSE4.1.
43690         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43691         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43692         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43693         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43694
43695         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43696         name.
43697         (floorf): Likewise.
43698
43699         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43700
43701 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43702
43703         * misc/sys/cdefs.h: Fix last change.
43704
43705         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43706         database lookup.
43707
43708 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43709
43710         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43711
43712         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43713         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43714         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43715         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43716         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43717         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43718         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43719         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43720         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43721         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43722         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43723         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43724         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43725         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43726         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43727         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43728         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43729         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43730         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43731         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43732         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43733         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43734
43735         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43736         ceil, ceilf, floor, floorf.
43737
43738         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43739         Perform IRELATIVE relocations last.
43740
43741         * elf/do-rel.h: Add another parameter nrelative, replacing the
43742         local variable with the same name.  Change name of the function
43743         to end in Rel or Rela (uppercase).
43744         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43745         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43746         elf_dynamic_do_##reloc function.
43747
43748 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43749
43750         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43751         is sufficient, at least on modern CPUs.
43752
43753         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43754
43755         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43756         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43757
43758         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43759         __expl_finite.
43760         * math/bits/math-finite.h: Add entries for exp.
43761         * math/e_expl.c: Add __*_finite alias.
43762         * sysdeps/i386/fpu/e_exp.S: Likewise.
43763         * sysdeps/i386/fpu/e_expf.S: Likewise.
43764         * sysdeps/i386/fpu/e_expl.c: Likewise.
43765         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43766         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43767         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43768         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43769         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43770         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43771         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43772
43773         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43774         is sufficient, at least on modern CPUs.
43775
43776         * ctype/ctype-info.c (__ctype_init): Define.
43777         * include/ctype.h (__ctype_init): Declare.
43778         (__ctype_b_loc): The variable is always initialized.
43779         (__ctype_toupper_loc): Likewise.
43780         (__ctype_tolower_loc): Likewise.
43781         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43782         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43783
43784 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43785
43786         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43787
43788         * configure.in: Also look in $cxxmachine/include for C++ system
43789         headers.
43790
43791 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43792
43793         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43794         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43795         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43796         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43797         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43798         (USE_AS_WMEMCMP): New macro.
43799         Fixing indents.
43800         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43801         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43802         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43803         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43804         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43805         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43806         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43807         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43808         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43809         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43810         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43811         (USE_AS_WMEMCMP): New macro.
43812         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43813         * sysdeps/string/test-memcmp.c: Update.
43814         Fix simple_wmemcmp.
43815         Add new tests.
43816         * wcsmbs/wmemcmp.c: Update.
43817         (WMEMCMP): New macro.
43818         Fix overflow bug.
43819
43820 2011-10-12  Andreas Jaeger  <aj@suse.de>
43821
43822         [BZ #13268]
43823         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43824
43825 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43826
43827         * libio/iofwide.c (do_length): Avoid warning.
43828
43829         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43830
43831 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43832
43833         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43834
43835         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43836         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43837         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43838         * sysdeps/i386/i686/fpu/e_log.S: New file.
43839         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43840         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43841
43842         * ctype/ctype.h: Add support for inlined isXXX functions when
43843         compiling C++ code.
43844
43845 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43846
43847         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43848
43849         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43850
43851 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43852
43853         [BZ #13291]
43854         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43855
43856 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43857
43858         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43859         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43860         feraiseexcept.
43861
43862         * sysdeps/x86_64/memrchr.S: Check for zero size.
43863
43864         * string/stratcliff.c: Add memrchr tests.
43865
43866 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43867
43868         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43869         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43870         rawmemchr-sse2 rawmemchr-sse2-bsf.
43871         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43872         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43873         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43874         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43875         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43876         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43877         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43878         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43879         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43880         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43881         * string/memrchr.c (MEMRCHR): New macro.
43882
43883 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43884
43885         Add integration with gcc's -ffinite-math-only and optimize wrapper
43886         functions in libm.
43887         * Versions.def: Define GLIBC_2.15 version for libm.
43888         * math/Makefile (headers): Add bits/math-finite.h.
43889         * math/bits/math-finite.h: New file.
43890         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43891         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43892         * math/e_acoshl.c: Add __*_finite alias.
43893         * math/e_acosl.c: Likewise.
43894         * math/e_asinl.c: Likewise.
43895         * math/e_atan2l.c: Likewise.
43896         * math/e_atanhl.c: Likewise.
43897         * math/e_coshl.c: Likewise.
43898         * math/e_exp10.c: Likewise.
43899         * math/e_exp10f.c: Likewise.
43900         * math/e_exp10l.c: Likewise.
43901         * math/e_exp2l.c: Likewise.
43902         * math/e_fmodl.c: Likewise.
43903         * math/e_gammal_r.c: Likewise.
43904         * math/e_hypotl.c: Likewise.
43905         * math/e_j0l.c: Likewise.
43906         * math/e_j1l.c: Likewise.
43907         * math/e_jnl.c: Likewise.
43908         * math/e_lgammal_r.c: Likewise.
43909         * math/e_log10l.c: Likewise.
43910         * math/e_log2l.c: Likewise.
43911         * math/e_logl.c: Likewise.
43912         * math/e_powl.c: Likewise.
43913         * math/e_sinhl.c: Likewise.
43914         * math/e_sqrtl.c: Likewise.
43915         * math/e_scalb.c: Completely rewritten and optimized.
43916         * math/e_scalbf.c: Likewise.
43917         * math/e_scalbl.c: Likewise.
43918         * math/w_acos.c: Likewise.
43919         * math/w_acosf.c: Likewise.
43920         * math/w_acosl.c: Likewise.
43921         * math/w_acosh.c: Likewise.
43922         * math/w_acoshf.c: Likewise.
43923         * math/w_acoshl.c: Likewise.
43924         * math/w_asin.c: Likewise.
43925         * math/w_asinf.c: Likewise.
43926         * math/w_asinl.c: Likewise.
43927         * math/w_atan2.c: Likewise.
43928         * math/w_atan2f.c: Likewise.
43929         * math/w_atan2l.c: Likewise.
43930         * math/w_atanh.c: Likewise.
43931         * math/w_atanhf.c: Likewise.
43932         * math/w_atanhl.c: Likewise.
43933         * math/w_exp10.c: Likewise.
43934         * math/w_exp10f.c: Likewise.
43935         * math/w_exp10l.c: Likewise.
43936         * math/w_fmod.c: Likewise.
43937         * math/w_fmodf.c: Likewise.
43938         * math/w_fmodl.c: Likewise.
43939         * math/w_j0.c: Likewise.
43940         * math/w_j0f.c: Likewise.
43941         * math/w_j0l.c: Likewise.
43942         * math/w_j1.c: Likewise.
43943         * math/w_j1f.c: Likewise.
43944         * math/w_j1l.c: Likewise.
43945         * math/w_jn.c: Likewise.
43946         * math/w_jnf.c: Likewise.
43947         * math/w_log.c: Likewise.
43948         * math/w_logf.c: Likewise.
43949         * math/w_logl.c: Likewise.
43950         * math/w_log10.c: Likewise.
43951         * math/w_log10f.c: Likewise.
43952         * math/w_log10l.c: Likewise.
43953         * math/w_log2.c: Likewise.
43954         * math/w_log2f.c: Likewise.
43955         * math/w_log2l.c: Likewise.
43956         * math/w_pow.c: Likewise.
43957         * math/w_powf.c: Likewise.
43958         * math/w_powl.c: Likewise.
43959         * math/w_remainder.c: Likewise.
43960         * math/w_remainderf.c: Likewise.
43961         * math/w_remainderl.c: Likewise.
43962         * math/w_scalb.c: Likewise.
43963         * math/w_scalbf.c: Likewise.
43964         * math/w_scalbl.c: Likewise.
43965         * math/w_sqrt.c: Likewise.
43966         * math/w_sqrtf.c: Likewise.
43967         * math/w_sqrtl.c: Likewise.
43968         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43969         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43970         used.
43971         * math/math_private.h: Declare __kernel_standard_f.
43972         * math/w_cosh.c: Remove cruft and optimize a bit.
43973         * math/w_coshf.c: Likewise.
43974         * math/w_coshl.c: Likewise.
43975         * math/w_exp2.c: Likewise.
43976         * math/w_exp2f.c: Likewise.
43977         * math/w_exp2l.c: Likewise.
43978         * math/w_hypot.c: Likewise.
43979         * math/w_hypotf.c: Likewise.
43980         * math/w_hypotl.c: Likewise.
43981         * math/w_lgamma.c: Likewise.
43982         * math/w_lgamma_r.c: Likewise.
43983         * math/w_lgammaf.c: Likewise.
43984         * math/w_lgammaf_r.c: Likewise.
43985         * math/w_lgammal.c: Likewise.
43986         * math/w_lgammal_r.c: Likewise.
43987         * math/w_sinh.c: Likewise.
43988         * math/w_sinhf.c: Likewise.
43989         * math/w_sinhl.c: Likewise.
43990         * math/w_tgamma.c: Likewise.
43991         * math/w_tgammaf.c: Likewise.
43992         * math/w_tgammal.c: Likewise.
43993         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43994         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43995         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43996         Minor optimizations.  Pretty printing.  Remove cruft.
43997         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43998         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43999         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44000         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44001         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44002         * sysdeps/i386/fpu/e_asin.S: Likewise.
44003         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44004         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44005         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44006         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44007         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44008         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44009         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44010         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44011         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44012         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44013         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44014         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44015         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44016         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44017         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44018         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44019         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44020         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44021         * sysdeps/i386/fpu/e_log.S: Likewise.
44022         * sysdeps/i386/fpu/e_log10.S: Likewise.
44023         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44024         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44025         * sysdeps/i386/fpu/e_log2.S: Likewise.
44026         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44027         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44028         * sysdeps/i386/fpu/e_logf.S: Likewise.
44029         * sysdeps/i386/fpu/e_logl.S: Likewise.
44030         * sysdeps/i386/fpu/e_pow.S: Likewise.
44031         * sysdeps/i386/fpu/e_powf.S: Likewise.
44032         * sysdeps/i386/fpu/e_powl.S: Likewise.
44033         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44034         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44035         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44036         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44037         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44038         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44039         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44040         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44041         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44042         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44043         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44044         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44045         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44046         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44047         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44048         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44049         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44050         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44051         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44052         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44053         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44054         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44055         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44056         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44057         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44058         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44059         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44060         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44061         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44062         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44063         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44064         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44065         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44066         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44067         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44068         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44069         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44070         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44071         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44072         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44073         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44074         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44075         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44076         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44077         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44078         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44079         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44080         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44081         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44082         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44083         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44084         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44085         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44086         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44087         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44088         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44089         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44090         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44091         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44092         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44093         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44094         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44095         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44096         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44097         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44098         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44099         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44100         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44101         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44102         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44103         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44105         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44106         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44107         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44108         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44109         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44110         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44111         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44112         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44113         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44114         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44115         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44116         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44117         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44118         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44119         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44120         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44121         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44122         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44123         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44124         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44125         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44126         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44127         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44128         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44129         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44130         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44131         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44132         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44133         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44134         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44135         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44136         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44137         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44138         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44139         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44140         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44141         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44142         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44143         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44144         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44145         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44146         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44147         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44148         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44149         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44150         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44151         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44152         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44153         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44154         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44155         (__isnanf): Likewise.
44156         (__isinf_ns): Likewise.
44157         (__isinf_nsf): Likewise.
44158         (__finite): Likewise.
44159         (__finitef): Likewise.
44160         (__ieee754_sqrt): Define as macro.
44161         (__ieee754_sqrtf): Define as macro.
44162         (__ieee754_sqrtl): Define as macro.
44163         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44164         inlined copy.
44165         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44166         __FINITE_MATH_ONLY__ consistent.
44167         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44168
44169 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44170
44171         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44172         of rawmemchr.
44173
44174         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44175
44176 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44177
44178         * po/ja.po: Update from translation team.
44179
44180 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44181
44182         * locale/programs/locarchive.c (prepare_address_space): New function.
44183         (create_archive, enlarge_archive, open_archive): Use it.
44184
44185         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44186         inside [SHARED], where it is used.
44187
44188         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44189
44190         * nss/getent.c (netgroup_keys): Remove unused variable.
44191         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44192
44193 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44194
44195         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44196         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44197         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44198         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44199         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44200         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44201         * math/Makefile (libm-calls): Add s_isinf_ns.
44202         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44203         * math/multc3.c: Likewise.
44204         * math/s_casin.c: Likewise.
44205         * math/s_casinf.c: Likewise.
44206         * math/s_casinl.c: Likewise.
44207         * math/s_ccos.c: Likewise.
44208         * math/s_ccosf.c: Likewise.
44209         * math/s_ccosl.c: Likewise.
44210         * math/s_ctan.c: Likewise.
44211         * math/s_ctanf.c: Likewise.
44212         * math/s_ctanh.c: Likewise.
44213         * math/s_ctanhf.c: Likewise.
44214         * math/s_ctanhl.c: Likewise.
44215         * math/s_ctanl.c: Likewise.
44216         * math/w_fmod.c: Likewise.
44217         * math/w_fmodf.c: Likewise.
44218         * math/w_fmodl.c: Likewise.
44219         * math/w_remainder.c: Likewise.
44220         * math/w_remainderf.c: Likewise.
44221         * math/w_remainderl.c: Likewise.
44222         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44223         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44224         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44226         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44227         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44228         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44229         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44230
44231         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44232         of the number.
44233         * stdio-common/printf_fphex.c: Likewise.
44234         * stdio-common/printf_size.c: Likewise.
44235
44236         * math/e_exp10.c: Include math_private.h using <...> not "...".
44237         * math/e_exp10f.c: Likewise.
44238         * math/e_exp10l.c: Likewise.
44239         * math/e_exp2l.c: Likewise.
44240         * math/e_j0l.c: Likewise.
44241         * math/e_j1l.c: Likewise.
44242         * math/e_jnl.c: Likewise.
44243         * math/e_lgammal_r.c: Likewise.
44244         * math/e_rem_pio2l.c: Likewise.
44245         * math/e_scalb.c: Likewise.
44246         * math/e_scalbf.c: Likewise.
44247         * math/e_scalbl.c: Likewise.
44248         * math/k_cosl.c: Likewise.
44249         * math/k_sinl.c: Likewise.
44250         * math/k_tanl.c: Likewise.
44251         * math/s_cacoshf.c: Likewise.
44252         * math/s_catan.c: Likewise.
44253         * math/s_catanf.c: Likewise.
44254         * math/s_catanh.c: Likewise.
44255         * math/s_catanhf.c: Likewise.
44256         * math/s_catanhl.c: Likewise.
44257         * math/s_catanl.c: Likewise.
44258         * math/s_ccosh.c: Likewise.
44259         * math/s_ccoshf.c: Likewise.
44260         * math/s_ccoshl.c: Likewise.
44261         * math/s_cexp.c: Likewise.
44262         * math/s_cexpf.c: Likewise.
44263         * math/s_cexpl.c: Likewise.
44264         * math/s_clog.c: Likewise.
44265         * math/s_clog10.c: Likewise.
44266         * math/s_clog10f.c: Likewise.
44267         * math/s_clog10l.c: Likewise.
44268         * math/s_clogf.c: Likewise.
44269         * math/s_clogl.c: Likewise.
44270         * math/s_csin.c: Likewise.
44271         * math/s_csinf.c: Likewise.
44272         * math/s_csinh.c: Likewise.
44273         * math/s_csinhf.c: Likewise.
44274         * math/s_csinhl.c: Likewise.
44275         * math/s_csinl.c: Likewise.
44276         * math/s_csqrt.c: Likewise.
44277         * math/s_csqrtf.c: Likewise.
44278         * math/s_csqrtl.c: Likewise.
44279         * math/s_ctan.c: Likewise.
44280         * math/s_ctanf.c: Likewise.
44281         * math/s_ctanh.c: Likewise.
44282         * math/s_ctanhf.c: Likewise.
44283         * math/s_ctanhl.c: Likewise.
44284         * math/s_ctanl.c: Likewise.
44285         * math/s_ldexp.c: Likewise.
44286         * math/s_ldexpf.c: Likewise.
44287         * math/s_ldexpl.c: Likewise.
44288         * math/s_significand.c: Likewise.
44289         * math/s_significandf.c: Likewise.
44290         * math/s_significandl.c: Likewise.
44291         * math/w_acos.c: Likewise.
44292         * math/w_acosf.c: Likewise.
44293         * math/w_acosh.c: Likewise.
44294         * math/w_acoshf.c: Likewise.
44295         * math/w_acoshl.c: Likewise.
44296         * math/w_acosl.c: Likewise.
44297         * math/w_asin.c: Likewise.
44298         * math/w_asinf.c: Likewise.
44299         * math/w_asinl.c: Likewise.
44300         * math/w_atan2.c: Likewise.
44301         * math/w_atan2f.c: Likewise.
44302         * math/w_atan2l.c: Likewise.
44303         * math/w_atanh.c: Likewise.
44304         * math/w_atanhf.c: Likewise.
44305         * math/w_atanhl.c: Likewise.
44306         * math/w_cosh.c: Likewise.
44307         * math/w_coshf.c: Likewise.
44308         * math/w_coshl.c: Likewise.
44309         * math/w_dremf.c: Likewise.
44310         * math/w_exp10.c: Likewise.
44311         * math/w_exp10f.c: Likewise.
44312         * math/w_exp10l.c: Likewise.
44313         * math/w_exp2.c: Likewise.
44314         * math/w_exp2f.c: Likewise.
44315         * math/w_fmod.c: Likewise.
44316         * math/w_fmodf.c: Likewise.
44317         * math/w_fmodl.c: Likewise.
44318         * math/w_hypot.c: Likewise.
44319         * math/w_hypotf.c: Likewise.
44320         * math/w_hypotl.c: Likewise.
44321         * math/w_j0.c: Likewise.
44322         * math/w_j0f.c: Likewise.
44323         * math/w_j0l.c: Likewise.
44324         * math/w_j1.c: Likewise.
44325         * math/w_j1f.c: Likewise.
44326         * math/w_j1l.c: Likewise.
44327         * math/w_jn.c: Likewise.
44328         * math/w_jnf.c: Likewise.
44329         * math/w_jnl.c: Likewise.
44330         * math/w_lgamma.c: Likewise.
44331         * math/w_lgamma_r.c: Likewise.
44332         * math/w_lgammaf.c: Likewise.
44333         * math/w_lgammaf_r.c: Likewise.
44334         * math/w_lgammal.c: Likewise.
44335         * math/w_lgammal_r.c: Likewise.
44336         * math/w_log.c: Likewise.
44337         * math/w_log10.c: Likewise.
44338         * math/w_log10f.c: Likewise.
44339         * math/w_log10l.c: Likewise.
44340         * math/w_log2.c: Likewise.
44341         * math/w_log2f.c: Likewise.
44342         * math/w_log2l.c: Likewise.
44343         * math/w_logf.c: Likewise.
44344         * math/w_logl.c: Likewise.
44345         * math/w_pow.c: Likewise.
44346         * math/w_powf.c: Likewise.
44347         * math/w_powl.c: Likewise.
44348         * math/w_remainder.c: Likewise.
44349         * math/w_remainderf.c: Likewise.
44350         * math/w_remainderl.c: Likewise.
44351         * math/w_scalb.c: Likewise.
44352         * math/w_scalbf.c: Likewise.
44353         * math/w_scalbl.c: Likewise.
44354         * math/w_sinh.c: Likewise.
44355         * math/w_sinhf.c: Likewise.
44356         * math/w_sinhl.c: Likewise.
44357         * math/w_sqrt.c: Likewise.
44358         * math/w_sqrtf.c: Likewise.
44359         * math/w_sqrtl.c: Likewise.
44360         * math/w_tgamma.c: Likewise.
44361         * math/w_tgammaf.c: Likewise.
44362         * math/w_tgammal.c: Likewise.
44363
44364         * po/ja.po: Update from translation team.
44365
44366 2011-09-29  Andreas Jaeger  <aj@suse.de>
44367
44368         [BZ #13179]
44369         * sunrpc/netname.c (netname2host): Fix logic.
44370
44371         [BZ #6779]
44372         [BZ #6783]
44373         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44374         correctly.
44375         * math/w_remainder.c (__remainder): Likewise.
44376         * math/w_remainderf.c (__remainderf): Likewise.
44377         * math/libm-test.inc (remainder_test): Add test cases.
44378
44379 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44380
44381         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44382         sdiv_qrnnd.
44383
44384 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44385
44386         * string/test-memcmp.c: Avoid unncessary #defines.
44387         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44388
44389 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44390
44391         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44392         Use new sse2 version for core i3 - i7 as it's faster
44393         than sse42 version.
44394         (bit_Prefer_PMINUB_for_stringop): New.
44395         * sysdeps/x86_64/rawmemchr.S: Update.
44396         Replace with faster SSE2 version.
44397         * sysdeps/x86_64/memrchr.S: New file.
44398         * sysdeps/x86_64/memchr.S: Update.
44399         Replace with faster SSE2 version.
44400
44401 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44402
44403         * elf/dl-load.c (lose): Add cast to avoid warning.
44404
44405 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44406
44407         * po/ca.po: Update from translation team.
44408
44409         * inet/getnetgrent_r.c: Hook up nscd.
44410         * nscd/Makefile (routines): Add nscd_netgroup.
44411         (nscd-modules): Add netgroupcache.
44412         (CFLAGS-netgroupcache.c): Define.
44413         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44414         (cache_search): Add const to second parameter.
44415         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44416         INNETGR.
44417         (dbs): Add netgrdb entry.
44418         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44419         (verify_persistent_db): Handle netgrdb.
44420         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44421         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44422         GETFDNETGR.
44423         (netgroup_response_header): Define.
44424         (innetgroup_response_header): Define.
44425         (datahead): Add netgroup_response_header and innetgroup_response_header
44426         elements.
44427         * nscd/nscd.conf: Add entries for netgroup cache.
44428         * nscd/nscd.h (dbtype): Add netgrdb.
44429         (_PATH_NSCD_NETGROUP_DB): Define.
44430         (netgroup_iov_disabled): Declare.
44431         (xmalloc, xcalloc, xrealloc): Move declarations here.
44432         (cache_search): Adjust prototype.
44433         Add netgroup-related prototypes.
44434         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44435         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44436         (__nscd_innetgr): Declare.
44437         * nscd/selinux.c (perms): Use access_vector_t as element type and
44438         add netgroup-related initializers.
44439         * nscd/netgroupcache.c: New file.
44440         * nscd/nscd_netgroup.c: New file.
44441         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44442         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44443         For four parameters use innetgr.
44444         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44445         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44446         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44447         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44448
44449         * nscd/connections.c (register_traced_file): Don't register file
44450         for disabled databases.
44451
44452 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44453
44454         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44455
44456         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44457         from tree and freeing node.
44458
44459 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44460
44461         * nss/nsswitch.c (__nss_database_lookup): Handle
44462         nss_parse_service_list out of memory case.
44463
44464 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44465
44466         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44467         out of memory case.
44468
44469 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44470
44471         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44472         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44473         pass it down.
44474         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44475         elf_machine_rela, elf_machine_lazy_rel.
44476         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44477         (ELF_DYNAMIC_DO_REL): Likewise.
44478         (ELF_DYNAMIC_DO_RELA): Likewise.
44479         (ELF_DYNAMIC_RELOCATE): Likewise.
44480         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44481         to ELF_DYNAMIC_DO_REL.
44482         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44483         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44484         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44485         elf_machine_rela.
44486         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44487         skip_ifunc, don't call ifunc function if non-zero.
44488         (elf_machine_rela): Likewise.
44489         (elf_machine_lazy_rel): Likewise.
44490         (elf_machine_lazy_rela): Likewise.
44491         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44492         (elf_machine_lazy_rel): Likewise.
44493         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44494         Likewise.
44495         (elf_machine_lazy_rel): Likewise.
44496         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44497         Likewise.
44498         (elf_machine_lazy_rel): Likewise.
44499         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44500         (elf_machine_lazy_rel): Likewise.
44501         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44502         (elf_machine_lazy_rel): Likewise.
44503         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44504         (elf_machine_lazy_rel): Likewise.
44505         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44506         (elf_machine_lazy_rel): Likewise.
44507         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44508         (elf_machine_lazy_rel): Likewise.
44509         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44510         (elf_machine_lazy_rel): Likewise.
44511
44512 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44513
44514         * nss/nss_files/files-init.c (_nss_files_init): Use static
44515         initialization for all the *_traced_file variables.
44516
44517 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44518
44519         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44520
44521 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44522
44523         [BZ #13226]
44524         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44525
44526 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44527
44528         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44529         Reread the line before reparsing it.
44530
44531 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44532
44533         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44534
44535 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44536             Maxim Kuvyrkov  <maxim@codesourcery.com>
44537             Joseph Myers  <joseph@codesourcery.com>
44538
44539         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44540         if needed for __stack_chk_guard.
44541
44542 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44543
44544         * sysdeps/posix/spawni.c (script_execute): Always define it.
44545         It will be optimized away if unused.
44546         (maybe_script_execute): New function.
44547         (__spawni): Call it.
44548
44549         * Makerules: Don't include tls.make.
44550         (config-tls): Always set to thread.
44551         * tls.make.c: File removed.
44552
44553 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44554
44555         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44556         * config.make.in (CPPFLAGS-config): New substituted variable.
44557
44558 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44559
44560         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44561
44562         [BZ #13192]
44563         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44564         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44565
44566 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44567
44568         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44569         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44570         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44571         (CALL_FAIL): Likewise.
44572         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44573         (CALL_FAIL): Macro removed.
44574         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44575
44576 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44577
44578         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44579         for __FINITE_MATH_ONLY__ == 1.
44580
44581 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44582
44583         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44584         __ieee754_sqrt instead of sqrt.
44585         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44586         __ieee754_sqrtf instead of sqrtf.
44587         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44588         __floorf instead of floorf.
44589         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44590         __floorf, __truncf instead of floorf, truncf.
44591
44592 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44593
44594         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44595
44596         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44597         __extern_always_inline.
44598         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44599         32-bit.
44600
44601 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44602
44603         * elf/rtld.c (dl_main): Also relocate in dependency order when
44604         doing symbol dependency testing.
44605
44606 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44607
44608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44609         Always define `refsym'.
44610
44611 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44612
44613         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44614         (__FD_ELT): Renamed from __FDELT.
44615         * misc/bits/select2.h (__FD_ELT): Likewise.
44616         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44617         __FD_MASK instead of __FDELT, __FDMASK.
44618         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44619         Likewise.
44620         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44621         Likewise.
44622
44623         * elf/Makefile (gen-ldd): Fix pattern.
44624
44625         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44626         (init_tls): Likewise.
44627
44628 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44629
44630         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44631
44632 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44633
44634         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44635         `struct cmsghdr *' instead of `void *'.
44636         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44637         Likewise.
44638
44639 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44640
44641         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44642         if non-absolute.
44643         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44644         ldd_rewrite_script.
44645
44646 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44647
44648         * configure.in: Remove --with-tls option.
44649         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44650         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44651         out in case it is missing.
44652         * sysdeps/ia64/elf/configure.in: Likewise.
44653         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44654         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44655         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44656         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44657         * sysdeps/sh/elf/configure.in: Likewise.
44658         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44659         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44660         * sysdeps/x86_64/elf/configure.in: Likewise.
44661         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44662         * sysdeps/mach/hurd/tls.h: Likewise.
44663
44664         [BZ #13067]
44665         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44666
44667         [BZ #13090]
44668         * configure.in: Fix use of AC_INIT.
44669
44670         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44671
44672 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44673
44674         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44675         __set_errno.
44676         * malloc/hooks.c: Likewise.
44677
44678         [BZ #11929]
44679         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44680         variables statically.
44681         (narenas): Initialize.
44682         (list_lock): Initialize.
44683         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44684         initializtion of main_arena and list_lock.  Small cleanups.
44685         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44686         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44687         Add initializers to main_arena and mp_.
44688         (malloc_state): Remove pagesize member.  Change all users to use
44689         GLRO(dl_pagesize).
44690
44691         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44692         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44693         is always initialized.
44694
44695         * malloc/malloc.c: Removed unused configurations and dead code.
44696         * malloc/arena.c: Likewise.
44697         * malloc/hooks.c: Likewise.
44698         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44699
44700         * include/tls.h: Removed.  USE___THREAD must always be defined.
44701         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44702         * elf/dl-libc.c: Likewise.
44703         * elf/dl-tsd.c: Likewise.
44704         * include/errno.h: Likewise.
44705         * include/netdb.h: Likewise.
44706         * include/resolv.h: Likewise.
44707         * inet/herrno-loc.c: Likewise.
44708         * inet/herrno.c: Likewise.
44709         * malloc/arena.c: Likewise.
44710         * malloc/hooks.c: Likewise.
44711         * malloc/malloc.c: Likewise.
44712         * resolv/res-state.c: Likewise.
44713         * resolv/res_libc.c: Likewise.
44714         * sysdeps/i386/dl-machine.h: Likewise.
44715         * sysdeps/ia64/dl-machine.h: Likewise.
44716         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44717         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44718         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44719         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44720         * sysdeps/sh/dl-machine.h: Likewise.
44721         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44722         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44723         * sysdeps/unix/i386/sysdep.S: Likewise.
44724         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44725         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44726         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44728         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44729         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44730         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44731         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44732         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44734         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44735         * sysdeps/x86_64/dl-machine.h: Likewise.
44736         * tls.make.c: Likewise.
44737
44738         * configure.in: Remove --with-__thread option.  Make tests for
44739         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44740         tls_model attribute fail if no support is available.  Remove
44741         USE_IN_LIBIO.
44742         * Makeconfig: Adjust for dropped configure option.  All features are
44743         now mandatory.
44744         * Makerules: Likewise.
44745         * Versions.def: Likewise.
44746         * argp/argp-fmtstream.c: Likewise.
44747         * argp/argp-fmtstream.h: Likewise.
44748         * argp/argp-help.c: Likewise.
44749         * assert/assert.c: Likewise.
44750         * config.h.in: Likewise.
44751         * config.make.in: Likewise.
44752         * configure: Likewise.
44753         * configure.in: Likewise.
44754         * csu/Versions: Likewise.
44755         * csu/init.c: Likewise.
44756         * elf/tst-audit2.c: Likewise.
44757         * elf/tst-tls10.c: Likewise.
44758         * elf/tst-tls10.h: Likewise.
44759         * elf/tst-tls11.c: Likewise.
44760         * elf/tst-tls12.c: Likewise.
44761         * elf/tst-tls14.c: Likewise.
44762         * elf/tst-tlsmod11.c: Likewise.
44763         * elf/tst-tlsmod12.c: Likewise.
44764         * elf/tst-tlsmod13.c: Likewise.
44765         * elf/tst-tlsmod13a.c: Likewise.
44766         * elf/tst-tlsmod14a.c: Likewise.
44767         * elf/tst-tlsmod15b.c: Likewise.
44768         * elf/tst-tlsmod16a.c: Likewise.
44769         * elf/tst-tlsmod16b.c: Likewise.
44770         * elf/tst-tlsmod7.c: Likewise.
44771         * elf/tst-tlsmod8.c: Likewise.
44772         * elf/tst-tlsmod9.c: Likewise.
44773         * gmon/gmon.c: Likewise.
44774         * grp/fgetgrent_r.c: Likewise.
44775         * grp/putgrent.c: Likewise.
44776         * hurd/fopenport.c: Likewise.
44777         * include/libc-symbols.h: Likewise.
44778         * include/tls.h: Likewise.
44779         * intl/gettextP.h: Likewise.
44780         * intl/loadinfo.h: Likewise.
44781         * locale/global-locale.c: Likewise.
44782         * locale/localeinfo.h: Likewise.
44783         * mach/devstream.c: Likewise.
44784         * malloc/arena.c: Likewise.
44785         * malloc/set-freeres.c: Likewise.
44786         * misc/err.c: Likewise.
44787         * misc/getttyent.c: Likewise.
44788         * misc/mntent_r.c: Likewise.
44789         * posix/getopt.c: Likewise.
44790         * posix/wordexp.c: Likewise.
44791         * pwd/fgetpwent_r.c: Likewise.
44792         * resolv/Versions: Likewise.
44793         * resolv/res_hconf.c: Likewise.
44794         * shadow/fgetspent_r.c: Likewise.
44795         * shadow/putspent.c: Likewise.
44796         * stdio-common/printf_fphex.c: Likewise.
44797         * stdio-common/tmpfile.c: Likewise.
44798         * stdlib/abort.c: Likewise.
44799         * stdlib/fmtmsg.c: Likewise.
44800         * sunrpc/auth_unix.c: Likewise.
44801         * sunrpc/clnt_perr.c: Likewise.
44802         * sunrpc/clnt_tcp.c: Likewise.
44803         * sunrpc/clnt_udp.c: Likewise.
44804         * sunrpc/clnt_unix.c: Likewise.
44805         * sunrpc/openchild.c: Likewise.
44806         * sunrpc/svc_simple.c: Likewise.
44807         * sunrpc/svc_tcp.c: Likewise.
44808         * sunrpc/svc_udp.c: Likewise.
44809         * sunrpc/svc_unix.c: Likewise.
44810         * sunrpc/xdr.c: Likewise.
44811         * sunrpc/xdr_array.c: Likewise.
44812         * sunrpc/xdr_rec.c: Likewise.
44813         * sunrpc/xdr_ref.c: Likewise.
44814         * sunrpc/xdr_stdio.c: Likewise.
44815
44816 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44817
44818         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44819
44820 2011-07-03  Andreas Jaeger  <aj@suse.de>
44821
44822         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44823         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44824         regenerate with gen-libm-tests.pl.
44825
44826 2010-05-12  Petr Baudis  <pasky@suse.cz>
44827
44828         [BZ #11589]
44829         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44830         around j0() zero points by switching to j1().
44831         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44832         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44834         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44835
44836 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44837
44838         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44839         instead of 0.
44840         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44841         instead of 0.
44842         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44843         Patch in part by Pavel Roskin <proski@gnu.org>.
44844
44845         [BZ #13138]
44846         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44847         realloc.
44848         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44849         Free memory block if necessary.
44850
44851         [BZ #12847]
44852         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44853         be NULL.  Don't lock in this case.
44854
44855 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44856
44857         * elf/elf.h (ELFOSABI_GNU): New macro.
44858         (ELFOSABI_LINUX): Define to that.
44859
44860 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44861
44862         * string/strncat.c (strncat): Undef the symbol in case it has been
44863         defined in bits/string.h.
44864
44865 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44866
44867         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44868
44869         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44870         link map.
44871
44872 2011-08-17  Andreas Jaeger  <aj@suse.de>
44873
44874         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44875
44876 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44877             Ian Lance Taylor  <iant@google.com>
44878
44879         * math/libm-test.inc (lround_test): New testcase.
44880         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44881
44882 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44883
44884         * Makefile: Remove support for automatic cvs check-ins.
44885         * Makerules: Likewise.
44886         * config.make.in: Likewise.
44887         * configure.in: Likewise.
44888         * intl/Makefile: Likewise.
44889         * locale/Makefile: Likewise.
44890         * po/Makefile: Likewise.
44891         * posix/Makefile: Likewise.
44892         * sysdeps/gnu/Makefile: Likewise.
44893         * sysdeps/mach/hurd/Makefile: Likewise.
44894         * sysdeps/sparc/sparc32/Makefile: Likewise.
44895
44896         [BZ #13118]
44897         * posix/Makefile (bug-regex32-ENV): Define.
44898         Patch by John Stanley <jpsinthemix@verizon.net>.
44899
44900         * misc/Makefile (headers): Add bits/select2.h.
44901         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44902         * misc/bits/select2.h: New file.
44903         * include/bits/select2.h: New file.
44904         * debug/Makefile (routines): Add fdelt_chk.
44905         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44906         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44907         FD_ISSET.
44908         * debug/fdelt_chk.c: New file.
44909
44910         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44911         * wcsmbs/test-wmemcmp.c: Likewise.
44912         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44913         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44914
44915 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44916
44917         * string/Makefile (strop-tests): Add memcmp.
44918         * string/test-wmemcmp.c: New file.
44919         * string/test-memcmp.c: Add wmemcmp support.
44920
44921 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44922
44923         [BZ #13153]
44924         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44925         2011-07-19 change.
44926
44927         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44928         garbage value in a __mach_port_mod_refs call in the cases of the
44929         task-self and thread-self ports.
44930
44931 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44932
44933         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44934
44935 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44936
44937         * elf/dl-load.c (lose): Check for non-null L.
44938
44939 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44940
44941         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44942
44943         * elf/dl-libc.c (dlerror_run): Pass back error code from
44944         dl_catch_error.
44945
44946         [BZ #13123]
44947         * elf/dl-load.c (lose): Free l_origin if it is valid.
44948
44949         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44950         names.
44951         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44952         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44953         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44954         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44955         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44956         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44957
44958 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44959
44960         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44961         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44962         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44963         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44964         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44965         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44966         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44967         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44968         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44969         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44970
44971 2011-08-15  Alan Modra  <amodra@gmail.com>
44972
44973         [BZ #13092]
44974         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44975         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44976         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44977         ppc_mcount to static-only-routines.
44978         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44979         __mcount_internal.
44980         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44981         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44982
44983 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44984
44985         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44986         for finite and infinity parameters.
44987
44988 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44989
44990         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44991         and add nop instructions for throughput optimization.
44992         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44993
44994 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44995
44996         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44997         aligned copy for power7 with vector-scalar instructions.
44998         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44999
45000 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45001
45002         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45003         AVX check.
45004
45005 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45006
45007         [BZ #13144]
45008         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45009         last change.
45010
45011 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45012
45013         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45014         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45015         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45016         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45017         clock_gettime.
45018
45019 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45020
45021         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45022         Forgot to demangle the pointer.
45023
45024         * sysdeps/i386/sysdep.h: Define atom_text_section.
45025         * sysdeps/x86_64/sysdep.h: Likewise.
45026         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45027         section with atom_text_section.
45028         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45029         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45030         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45031         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45032         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45033
45034         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45035         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45036         already be defined.  Change to take two parameters and don't assign
45037         result to variable.  Adjust all users.
45038         Define INTERNAL_GETTIME if not already defined.
45039         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45040         call.
45041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45042         HAVE_CLOCK_GETTIME_VSYSCALL.
45043         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45044
45045         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45046         gettimeofday vsyscall, just use time.
45047
45048 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45049
45050         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45051         <errno.h>.
45052
45053 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45054
45055         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45056         syscall on x86-64.
45057         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45058         syscall.
45059         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45060         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45061         syscall if possible.
45062
45063 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45064
45065         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45066         e_ident.  Don't pass to find_mapsXX.
45067         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45068
45069 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45070
45071         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45072         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45073         * sysdeps/x86_64/multiarch/strchr.S: Update.
45074         Check bit_slow_BSF bit.
45075         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45076         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45077         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45078
45079 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45080
45081         [BZ #13134]
45082         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45083         before glibc 2.15.
45084         (tryshell): Define.
45085         (__spawni): Change last parameter to be flag.  Test
45086         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45087         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45088         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45089         * posix/spawni.c: Likewise.
45090         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45091         * posix/spawnp.c: Likewise.  Change normal version to use
45092         SPAWN_XFLAGS_USE_PATH.
45093         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45094         SPAWN_XFLAGS_TRY_SHELL.
45095
45096         [BZ #13150]
45097         * posix/glob.h: Remove gcc 1.x support.
45098
45099         [BZ #13068]
45100         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45101
45102 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45103
45104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45105         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45106         strrchr-sse2-bsf
45107         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45108         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45109         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45110         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45111         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45112         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45113
45114 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45115
45116         * sysdeps/x86_64/wcscmp.S: New file.
45117
45118         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45119         wcscmp-c wcscmp-sse2
45120         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45121         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45122         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45123         * wcsmbs/wcscmp.c: Allow renaming.
45124
45125 2011-09-05  David S. Miller  <davem@davemloft.net>
45126
45127         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45128         stack slot, rather than the struct return pointer slot.
45129         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45130         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45132         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45133
45134 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45135
45136         * po/ja.po: Update from translation team.
45137
45138         [BZ #13144]
45139         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45140         kernel in 64-bit binaries.
45141
45142 2011-09-01  David S. Miller  <davem@davemloft.net>
45143
45144         * elf/elf.h (HWCAP_SPARC_*): Move to..
45145         * sysdeps/sparc/sysdep.h: this new file and add new values.
45146         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45147         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45148         _DL_HWCAP_COUNT to 24.
45149         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45150         entries.
45151         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45152         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45153         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45155         instead of magic constants.
45156         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45157
45158 2011-08-31  David S. Miller  <davem@davemloft.net>
45159
45160         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45161         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45162         Reimplement to do errno handling inline.
45163         (SYSCALL_ERROR_HANDLER): New macro.
45164         (__SYSCALL_STRING): Do not do errno handling in asm.
45165         (__CLONE_SYSCALL_STRING): Delete.
45166         (__INTERNAL_SYSCALL_STRING): Delete.
45167         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45168         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45169         (PSEUDO): Reimplement to do errno handling inline.
45170         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45171         (SYSCALL_ERROR_HANDLER): New macro.
45172         (__SYSCALL_STRING): Do not do errno handling in asm.
45173         (__CLONE_SYSCALL_STRING): Delete.
45174         (__INTERNAL_SYSCALL_STRING): Delete.
45175         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45176         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45177         i386.
45178         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45179         (inline_syscall*): Add 'err' argument.
45180         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45181         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45182         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45183         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45184
45185         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45186         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45187
45188 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45189
45190         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45191
45192 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45193
45194         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45195         directive.
45196
45197 2011-08-24  David S. Miller  <davem@davemloft.net>
45198
45199         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45200
45201 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45202
45203         * elf/Makefile: Add rules to build and run unload8 test.
45204         * elf/unload8.c: New file.
45205         * elf/unload8mod1.c: New file.
45206         * elf/unload8mod1x.c: New file.
45207         * elf/unload8mod2.c: New file.
45208         * elf/unload8mod3.c: New file.
45209
45210         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45211         it wasn't used.
45212
45213 2011-08-23  David S. Miller  <davem@davemloft.net>
45214
45215         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45216         subtract stack bias.
45217         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45218         %sp not %fp in calculations.
45219         (_JMPBUF_UNWINDS_ADJ): Likewise.
45220
45221         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45222         (aio_suspend): Call it to force an exception region around the
45223         AIO_MISC_WAIT() invocation.
45224
45225 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45226
45227         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45228         backslash.
45229
45230 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45231
45232         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45233         protection macro.
45234         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45235         and <dl-machine.h>.
45236         (Elf64_FuncDesc): Remove.
45237
45238 2011-08-22  David S. Miller  <davem@davemloft.net>
45239
45240         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45241         sigaltstack check, add missing cfi directives.
45242         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45243         missing cfi directives, and sigaltstack handling.
45244
45245 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45246
45247         [BZ #11724]
45248         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45249         object is seen twice.
45250         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45251
45252         * elf/Makefile (distribute): Add tst-initorder2.c.
45253         (tests): Add tst-initorder2.
45254         (modules-names): Add tst-initorder2a tst-initorder2b
45255         tst-initorder2c tst-initorder2d.  Add rules to build them.
45256         ($(objpfx)tst-initorder2.out): New rule.
45257         * elf/tst-initorder2.c: New file.
45258         * elf/tst-initorder2.exp: New file.
45259
45260 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45261
45262         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45263
45264         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45265         dependencies back to end of function.
45266
45267         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45268         $(elfobjdir)/ld.so.
45269
45270 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45271
45272         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45273         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45275         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45276         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45277         of __vdso_gettimeofday.
45278         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45279         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45280         attribute_hidden.
45281         (_libc_vdso_platform_setup): Remove initialization of
45282         __vdso_gettimeofday and __vdso_time.
45283
45284 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45285
45286         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45287         and fgetc_unlocked.
45288         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45289         getc_unlocked.
45290
45291         * elf/dl-open.c (add_to_global): Report additions to the global scope
45292         for LD_DEBUG=scopes.
45293         (dl_open_worker): Also print scope of newly loaded dependencies.
45294         (_dl_show_scope): Indicate if there is no scope.
45295
45296         [BZ #13114]
45297         * stdio-common/Makefile (tests): Add bug24.
45298         * stdio-common/bug24.c: New file.
45299
45300 2011-08-19  Andreas Jaeger  <aj@suse.de>
45301
45302         [BZ #13114]
45303         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45304         non-existant file when using close-on-exec mode.
45305
45306 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45307
45308         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45309         the very first instruction.
45310
45311         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45312         the CFI state in the end.
45313         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45314         inclusion of dl-trampoline.h.
45315         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45316
45317 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45318
45319         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45320         expectations for long double.
45321
45322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45323         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45324
45325 2011-08-14  David S. Miller  <davem@davemloft.net>
45326
45327         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45328         artificual limit depends upon the system page size.
45329
45330 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45331
45332         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45333         * resolv/Makefile: Define CFLAGS-libresolv.
45334
45335 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45336
45337         * nss/makedb.c (compute_tables): Make variables used in nested
45338         function static.
45339
45340 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45341
45342         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45343         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45344         if buffer was too small.
45345
45346         * elf/pldd.c (main): Attach to all threads in the process.
45347         Rewrite /proc handling to use *at functions.
45348
45349 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45350
45351         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45352         specifies first scope to show.
45353         (dl_open_worker): Update callers.  Move printing scope of new
45354         object to before the relocation.
45355         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45356         * sysdeps/generic/ldsodefs.h: Update declaration.
45357
45358         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45359         string for the scope number.
45360
45361 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45362
45363         * nscd/servicescache.c (cache_addserv): Make sure written is always
45364         initialized.
45365
45366 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45367
45368         * sysdeps/i386/i486/bits/atomic.h
45369         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45370         statement expression, so as to suppress "set but not used" warning.
45371         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45372
45373         * string/strncat.c (STRNCAT): Use prototype definition.
45374
45375         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45376         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45377         -Iprograms here.
45378         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45379         (localedef-modules): Add localedef.
45380         (locale-modules): Add locale.
45381
45382         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45383         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45384         to avoid a warning.
45385
45386 2011-08-14  David S. Miller  <davem@davemloft.net>
45387
45388         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45389         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45390
45391 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45392
45393         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45394         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45395         * elf/rtld.c (dl_main): Set l_name of vDSO.
45396         Call _dl_show_scope when DL_DEBUG_SCOPES.
45397         (process_dl_debug): Recognize scopes flag and also set it for all.
45398         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45399         Declare _dl_show_scope.
45400
45401         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45402         (do_dlopen): Pass caller_dlopen to dl_open.
45403         (__libc_dlopen_mode): Initialize caller_dlopen.
45404
45405         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45406         of libc.  Make tolower call locale-independent.  Optimize a bit by
45407         using isdigit instead of isalnum.
45408         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45409
45410 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45411
45412         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45413         was a dependency or dynamically loaded.
45414
45415 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45416
45417         * intl/l10nflist.c: Allow architecture-specific pop function.
45418         * sysdeps/x86_64/l10nflist.c: New file.
45419
45420         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45421         classification.
45422
45423 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45424
45425         * include/dirent.h: Add libc_hidden_proto for scandirat and
45426         scandirat64.  Don't declare __scandirat64.
45427         * dirent/scandirat.c: Add libc_hidden_def.
45428         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45429         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45430
45431 2011-08-10  David S. Miller  <davem@davemloft.net>
45432
45433         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45434         enum.
45435         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45436         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45437         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45438
45439 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45440
45441         * Versions.def [libc]: Add GLIBC_2.15.
45442         * dirent/Makefile (routines): Add scandirat and scandirat64.
45443         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45444         GLIBC_2.15.
45445         * dirent/dirent.h: Declare scandirat and scandirat64.
45446         * dirent/scandirat.c: New file.
45447         * dirent/scandirat64.c: New file.
45448         * sysdeps/wordsize-64/scandirat.c: New file.
45449         * sysdeps/wordsize-64/scandirat64.c: New file.
45450         * dirent/opendir.c: Define opendirat.
45451         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45452         using scandirat.
45453         * dirent/scandir64.c: Adjust for scandir.c change.
45454         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45455         __scandirat64, and __scandir_cancel_handler.
45456         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45457         additional parameter and use openat instead of open (outside of ld.so).
45458         Add new __opendir as wrapper around __opendirat.
45459         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45460         here without requiring old scandirat implementation.
45461
45462 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45463
45464         * dirent/scandir.c (cancel_handler): Renamed to
45465         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45466         defined.  Adjust users.
45467         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45468         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45469
45470 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45471
45472         * string/test-string.h (IMPL): Use __STRING to expand name and then
45473         stringify it.
45474
45475         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45476         of cleanups.
45477
45478 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45479
45480         * string/Makefile: Update.
45481         (strop-tests): Append strncat.
45482         * string/test-wcscmp.c: New file.
45483         New comprehensive test for wcscmp.
45484         * string/test-strcmp.c: Update.
45485         (WIDE): New define.
45486
45487 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45488
45489         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45490         line.
45491
45492 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45493
45494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45495         encoding to ACE if AI_IDN.
45496
45497 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45498
45499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45500         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45501
45502 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45503
45504         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45505         Fix overflow bug in strncat.
45506         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45507
45508         * string/test-strncat.c: Update.
45509         Add new tests for checking overflow bugs.
45510
45511 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45512
45513         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45514         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45515         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45516         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45517         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45518         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45519         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45520         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45521         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45522
45523         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45524         (USE_AS_STRCAT): Define.
45525         Add strcat and strncat support.
45526         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45527
45528 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45529
45530         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45531         __n bigger than INT_MAX+1.
45532         (__strncmp_g): Likewise.
45533
45534 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45535
45536         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45537         * libio/stido.h: Likewise.
45538
45539         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45540         (AF_NFC): Define.
45541         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45542         (AF_NFC): Define.
45543
45544         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45545         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45546         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45547         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45548         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45549
45550         [BZ #13021]
45551         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45552         installed.
45553
45554         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45555         typo.
45556         (_dl_x86_64_save_sse): Likewise.
45557
45558 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45559
45560         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45561         OSXSAVE.
45562         (_dl_x86_64_save_sse): Likewise.
45563
45564         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45565
45566         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45567
45568 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45569
45570         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45571         change.
45572         (_dl_x86_64_save_sse): Use correct AVX check.
45573
45574 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45575
45576         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45577         bug in strncpy/strncat.
45578         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45579
45580 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45581
45582         * string/tester.c (test_strcat): Add tests for different alignments
45583         of source and destination.
45584         (test_strncat): Likewise.
45585
45586 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45587
45588         [BZ #12852]
45589         * posix/glob.c (glob): Check passed in values before using them in
45590         expressions to avoid some overflows.
45591         (glob_in_dir): Likewise.
45592
45593         [BZ #13007]
45594         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45595         check for AVX enablement so that we don't crash with old kernels and
45596         new hardware.
45597         * elf/tst-audit4.c: Add same checks here.
45598         * elf/tst-audit6.c: Likewise.
45599
45600         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45601
45602 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45603
45604         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45605
45606 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45607
45608         * po/cs.po: Update from translation team.
45609         * po/bg.po: Likewise.
45610
45611 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45612
45613         * misc/sys/cdefs.h: Add support for const attribute.
45614         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45615         to gnu_dev_{major,minor,makedev} functions.
45616
45617 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45618
45619         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45620
45621 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45622
45623         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45624         strlen results.
45625
45626 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45627
45628         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45629         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45630         register in order to avoid conflicts with the soft frame pointer
45631         being held in r11 when necessary.
45632         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45633         (INTERNAL_VSYSCALL_NCS): Likewise.
45634
45635 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45636
45637         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45638         * elf/dl-fini.c (_dl_fini): Adjust caller.
45639         * elf/dl-close.c (_dl_close_worker): Likewise.
45640         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45641
45642 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45643
45644         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45645         "aux_cache->nlibs < 0".
45646
45647         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45648         in the reload-count case.
45649
45650 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45651
45652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45653         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45654         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45655         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45656         * sysdeps/x86_64/multiarch/strcat.S: New file.
45657         * sysdeps/x86_64/multiarch/strncat.S: New file.
45658         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45659         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45660         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45661         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45662         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45663         (USE_AS_STRCAT): Define.
45664         Add strcat and strncat support.
45665         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45666         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45667         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45668         * string/strncat.c: Update.
45669         (USE_AS_STRNCAT): Define.
45670         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45671         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45672         and i7.
45673         * sysdeps/x86_64/multiarch/init-arch.h
45674         (bit_Prefer_PMINUB_for_stringop): New.
45675         (index_Prefer_PMINUB_for_stringop): Likewise.
45676         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45677         bit_Prefer_PMINUB_for_stringop.
45678
45679 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45680
45681         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45682         buffer64.
45683         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45684         of casting of buffer.
45685         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45686         buffer32 and buffer64.
45687         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45688         writes instead of casting of buffer.
45689         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45690         buffer32.
45691         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45692         casting of buffer.
45693
45694 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45695
45696         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45697
45698 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45699
45700         * nscd/nscd.c (termination_handler): Don't do anything for a database
45701         if it has not yet been initialized.
45702
45703 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45704
45705         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45706
45707 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45708
45709         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45710
45711 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45712
45713         * po/nl.po: Update from translation team.
45714         * po/sv.po: Likewise.
45715
45716 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45717
45718         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45719         now disallowed by GCC.
45720
45721         * configure.in (use-default-link): Default to yes if a test -shared
45722         link meets our qualifications.
45723         * configure: Regenerated.
45724
45725         * config.make.in (output-format): New variable.
45726         * configure.in: Check for ld --print-output-format support.
45727         * configure: Regenerated.
45728         * Makerules ($(common-objpfx)format.lds)
45729         [$(output-format) != unknown]: Just use $(output-format),
45730         instead of the linker-script munging.
45731
45732 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45733
45734         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45735         of $(common-objpfx)shlib.lds.
45736         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45737
45738         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45739         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45740
45741         * configure.in (-z relro check): Adjust test code to add a large
45742         writable data section after it.
45743         * configure: Regenerated.
45744
45745 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45746
45747         * configure.in (-z relro check): Fix test code to make the variable
45748         truly const.
45749         * configure: Regenerated.
45750
45751 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45752
45753         * nscd/nscd.h (struct traced_file): Define.
45754         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45755         elements.  Add traced_files.
45756         (inotify_fd): Declare.
45757         (register_traced_file): Declare.
45758         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45759         (inotify_fd): Export.
45760         (resolv_conf_descr): Remove.
45761         (nscd_init): Move inotify descriptor creation to main.
45762         Don't register files for notification here.
45763         (register_traced_file): New function.
45764         (invalidate_cache): Don't use reset_res to determine whether to call
45765         res_init, go through the list of registered files.
45766         (main_loop_poll): The inotify descriptors are now stored in the
45767         structures for the traced files.
45768         (main_loop_epoll): Likewise
45769         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45770         to __nss_disable_nscd.
45771         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45772         for a database anymore.  Check the records for all the registered
45773         files instead.
45774         * nss/Makefile (libnss_files-routines): Add files-init.
45775         (libnss_db-routines): Add db-init.
45776         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45777         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45778         * nss/nss_db/db-init.c: New file.
45779         * nss/nss_files/files-init.c: New file.
45780         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45781         __nss_lookup_function.
45782         (__nss_lookup_function): Call nss_load_library.
45783         (nss_load_all_libraries): New function.
45784         (__nss_disable_nscd): Take parameter with callback function for files
45785         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45786         used for the cached services.
45787         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45788         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45789         options for features to all the files in nscd.
45790
45791         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45792
45793 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45794
45795         * csu/elf-init.c (__libc_csu_init): Comment typo.
45796
45797 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45798
45799         * po/pl.po: Update from translation team.
45800         * po/ja.po: Likewise.
45801         * po/ru.po: Likewise.
45802         * po/ko.po: Likewise.
45803         * po/fr.po: Likewise.
45804
45805 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45806
45807         * configure.in (.ctors/.dtors header and trailer check):
45808         Use an empirical test on a built program.
45809         * configure: Regenerated.
45810
45811         * configure.in (-z relro check): Use an empirical test on a built DSO.
45812         Detect, but do not require, on ia64.
45813         * configure: Regenerated.
45814
45815         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45816         Update tests that use readelf to use $READELF instead.
45817         * configure: Regenerated.
45818
45819 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45820
45821         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45822         if the result is not used.
45823
45824 2011-07-05  Andreas Jaeger  <aj@suse.de>
45825
45826         [BZ#9696]
45827         * stdlib/tst-strtod.c: Add testcase.
45828
45829 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45830
45831         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45832         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45833         The latter has a higher limit.  Take additional parameter to pass to
45834         the new function.
45835         (__pathconf): Pass file to __statfs_link_max.
45836         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45837         __statfs_link_max.
45838         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45839         __statfs_link_max.
45840
45841         [BZ #12868]
45842         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45843         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45844         Handle Lustre.
45845         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45846         (__statfs_filesize_max): Likewise.
45847         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45848
45849 2011-07-05  Andreas Jaeger  <aj@suse.de>
45850
45851         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45852
45853 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45854
45855         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45856         `status' variable.
45857         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45858         Likewise.
45859
45860 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45861
45862         * Makefile (strop-tests): Add strncat.
45863         * string/test-strncat.c: New file.
45864
45865 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45866
45867         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45868
45869 2011-06-21  Andreas Jaeger  <aj@suse.de>
45870
45871         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45872         Copy rule from iconvdata/Makefile.
45873
45874 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45875
45876         [BZ #12922]
45877         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45878         but no long options are defined, just return 'W'.
45879
45880 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45881
45882         [BZ #9696]
45883         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45884
45885 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45886
45887         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45888         netgroups to read.
45889         (innetgr): Likewise.
45890
45891 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45892
45893         * config.make.in (install_root): Default to $(DESTDIR).
45894
45895 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45896
45897         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45898
45899 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45900
45901         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45902
45903         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45904         containing directory rather than embedding absolute directory names.
45905
45906         * scripts/check-local-headers.sh: Rewritten using awk.
45907         Match by word, not by line.  Print error messages for matches.
45908         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45909
45910         * Makerules [shlib-lds-flags empty]:
45911         ($(common-objpfx)libc_pic.opts): New target.
45912         ($(common-objpfx)libc_pic.os.clean): New target.
45913         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45914
45915         * config.make.in (OBJCOPY): New variable.
45916         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45917         * configure: Regenerated.
45918
45919         * config.make.in (use-default-link): New variable.
45920         * configure.in (use_default_link): Grok --with-default-link to set it.
45921         * configure: Regenerated.
45922         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45923         (shlib-lds, shlib-lds-flags): Define to empty.
45924
45925         * Makerules (shlib-lds): New variable.
45926         (shlib-lds-flags): New variable.
45927         (build-shlib, build-moduile, build-module-asneeded): Use it.
45928         ($(common-objpfx)libc.so): Use $(shlib-lds).
45929         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45930         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45931
45932         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45933         DT_FLAGS/DT_FLAGS_1 with zero flags.
45934
45935         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45936         linker script munging.
45937
45938 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45939
45940         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45941         as 128-bit value.
45942         * crypt/sha512.c (sha512_process_block): Perform total addition using
45943         128-bit if possible.
45944         (__sha512_finish_ctx): Likewise.
45945         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45946         as 64-bit value.
45947         * crypt/sha256.c (SWAP64): Define.
45948         (sha256_process_block): Perform total addition using 64-bit if
45949         possible.
45950         (__sha256_finish_ctx): Likewise.
45951
45952 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45953
45954         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45955         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45956         * nscd/hstcache.c (cache_addhst): Likewise.
45957         * nscd/grpcache.c (cache_addgr): Likewise.
45958         * nscd/aicache.c (addhstaiX): Likewise
45959         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45960
45961 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45962
45963         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45964         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45965         * nscd/hstcache.c (cache_addhst): Likewise.
45966         * nscd/grpcache.c (cache_addgr): Likewise.
45967         * nscd/aicache.c (addhstaiX): Likewise
45968
45969 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45970
45971         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45972         domain only when needed.
45973
45974 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45975
45976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45977         is always restored.
45978
45979 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45980
45981         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45982         are re-adding the entry.
45983         * nscd/servicescache.c (cache_addserv): Likewise.
45984
45985 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45986
45987         * sysdeps/generic/dl-irel.h: fix protection against multiple
45988         inclusions.
45989         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45990
45991 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45992
45993         [BZ #12935]
45994         * malloc/memusage.sh: Fix quoting in message.
45995         * debug/xtrace.sh: Likewise.
45996
45997         * configure.in: Remove support for --experimental-malloc option, make
45998         it the default.
45999         * config.make.in: Likewise.
46000         * malloc/Makefile: Likewise.
46001
46002 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46003
46004         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46005         two-byte characters.
46006
46007 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46008
46009         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46010         AC_CACHE_CHECK invocation.
46011         * configure: Regenerated.
46012
46013         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46014
46015 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46016
46017         [BZ #12350]
46018         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46019         bit from old_res_options.
46020
46021         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46022
46023         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46024         value type for setfct.
46025
46026 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46027
46028         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46029         __gettimeofday instead of gettimeofday.
46030
46031 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46032
46033         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46034
46035 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46036
46037         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46038
46039         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46040         info.
46041
46042 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46043
46044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46045         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46046         strcpy-sse2-unaligned strncpy-sse2-unaligned
46047         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46048         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46049         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46050         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46051         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46052         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46053         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46054         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46055         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46056         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46057         (STRCPY): Support SSE2 and SSSE3 versions.
46058
46059 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46060
46061         [BZ #12874]
46062         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46063         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46064         kernels which artificially limit size of requests.
46065
46066 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46067
46068         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46069         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46070         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46071         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46072         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46073         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46074         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46075         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46076         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46077         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46078         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46079         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46080         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46081         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46082         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46084         Enable unaligned load optimization for Intel Core i3, i5 and i7
46085         processors.
46086         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46087         Define.
46088         (index_Fast_Unaligned_Load): Define.
46089         (HAS_FAST_UNALIGNED_LOAD): Define.
46090
46091 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46092
46093         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46094
46095 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46096
46097         [BZ #12907]
46098         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46099         until it is clear that the information is realy needed.
46100         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46101
46102 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46103
46104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46105
46106 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46107
46108         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46109         /sys/devices/system/cpu/online if it is usable.
46110
46111         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46112         reading the information from the /proc filesystem to once a second.
46113
46114 2011-06-21  Andreas Jaeger  <aj@suse.de>
46115
46116         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46117         NULL after inclusion of kernel headers.
46118
46119 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46120
46121         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46122         calls to internal_setent.
46123
46124         [BZ #12885]
46125         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46126         addresses using gethostbyname4_r ignore IPv4 addresses.
46127
46128         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46129         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46130
46131         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46132
46133 2011-06-20  David S. Miller  <davem@davemloft.net>
46134
46135         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46136         inclusions.
46137         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46138
46139         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46140         (elf_irel): Use it.
46141         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46142         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46143         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46144         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46145         * sysdeps/x86_64/dl-irel.h: Likewise.
46146
46147         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46148         * elf/dl-sym.c: Likewise.
46149
46150 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46151
46152         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46153         need to dereference resplen2.
46154
46155 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46156
46157         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46158
46159 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46160
46161         * Makeconfig: Define vardbdir and inst_vardbdir.
46162         * nss/Makefile: Add rules to install db-Makefile.
46163
46164         * nss/nss_db/db-XXX.c: Cleanup.
46165
46166         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46167         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46168         GLIBC_PRIVATE.
46169         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46170         * nss/makedb.c: Implement -g option to specify that value strings
46171         are generated and should not be added to table iterated over for
46172         get*ent calls.
46173         * nss/nss_db/db-initgroups.c: New file.
46174
46175         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46176         interface.
46177
46178         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46179         (internal_getgrouplist): Adjust to name change.
46180         Update use_initgroups_entry if this is not the first call.
46181         * nss/databases.def: Add initgroups entry.
46182
46183         * nss/makedb.c (compute_tables): Check result of multiple hash table
46184         sizes to minimize maximum chain length.
46185
46186 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46187
46188         * Versions.def: Add entry for libnss_db.
46189         * shlib-versions: Likewise.
46190         * nss/Makefile: Add rules to build libnss_db.
46191         * nss/Versions: Add libnss_db information.  Organize libnss_files
46192         entries better.
46193         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46194         makedb progra.  Some minor improvements to generate smaller files.
46195         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46196         here from...
46197         * nss/makedb.c: ...here.
46198         Improve database format to be smaller and require less memory at
46199         runtime.
46200         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46201         db anymore.
46202         * nss/nss_db/db-netgrp.c: Likewise.
46203         * nss/nss_db/db-open.c: Likewise.
46204         * nss/nss_files/flies-XXX.x: Adjust comments.
46205         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46206         * nss/nss_files/files-grp.c: Likewise.
46207         * nss/nss_files/files-hosts.c: Likewise.
46208         * nss/nss_files/files-network.c: Likewise.
46209         * nss/nss_files/files-proto.c: Likewise.
46210         * nss/nss_files/files-pwd.c: Likewise.
46211         * nss/nss_files/files-rpc.c: Likewise.
46212         * nss/nss_files/files-service.c: Likewise.
46213         * nss/nss_files/files-sgrp.c: Likewise.
46214         * nss/nss_files/files-spwd.c: Likewise.
46215         * nss/nss_db/db-alias.c: Removed.
46216         * nss/nss_db/dummy-db.h: Removed.
46217
46218 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46219
46220         * nss/makedb.c: Rewritten to not use database library.
46221         * nss/Makefile: Update to build new makedb program.
46222
46223 2011-06-14  Andreas Jaeger  <aj@suse.de>
46224
46225         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46226         memset declaration.
46227
46228 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46229
46230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46231         tmpbuf.
46232
46233 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46234
46235         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46236         * elf/Makefile ($(objpfx)ld.so): Likewise.
46237
46238         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46239         Don't list ld.so twice in dependencies.
46240
46241         * posix/bug-regex31.c: Include <stdlib.h>.
46242
46243         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46244
46245         * nis/nss_compat/compat-spwd.c
46246         (getspent_next_nss_netgr): Remove unused variable.
46247         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46248
46249         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46250         nonmembers" output to use the right array.
46251
46252         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46253
46254         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46255
46256         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46257         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46258         * catgets/gencat.c (read_input_file): Likewise.
46259         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46260
46261         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46262         variable definition inside #if's controlling its use.
46263
46264         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46265
46266         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46267
46268         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46269
46270         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46271         unreachable code.
46272
46273         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46274
46275         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46276         * configure: Regenerated.
46277
46278         * Makerules: Revert last change.
46279         * elf/Makefile: Likewise.
46280
46281 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46282
46283         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46284         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46285         (reloc-link): Likewise.
46286
46287 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46288
46289         * elf/Makefile: Add rules to build pldd.
46290         * elf/pldd.c: New file.
46291         * elf/pldd-xx.c: New file.
46292
46293 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46294
46295         * version.h: Update for 2.15 development version.
46296
46297 2011-06-07  David S. Miller  <davem@davemloft.net>
46298
46299         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46300         ifuncs.
46301         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46302         elf_machine_lazy_rel): Likewise.
46303         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46304         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46305         elf_machine_lazy_rel): Likewise.
46306         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46307         dl_hwcap via passed in argument.
46308         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46309         Likewise.
46310
46311 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46312
46313         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46314
46315 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46316
46317         [BZ #12849]
46318         * manual/fdl-1.1.texi: New file, verbatim from:
46319         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46320         * manual/lgpl-2.1.texi: New file, verbatim from:
46321         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46322         * manual/Makefile (licenses): New variable, list those new file names.
46323         (texis): Use it.
46324         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46325
46326         * manual/fdl.texi: File removed.
46327         * manual/lesser.texi: File removed.
46328         * manual/libc.texinfo (Copying, Documentation License):
46329         Use new @include file names, put @appendix directive before @include.
46330
46331 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46332
46333         [BZ #12841]
46334         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46335         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46336         (mq_open): Add __NTH.
46337
46338 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46339
46340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46341         Assume Intel Core i3/i5/i7 processor if AVX is available.
46342
46343 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46344
46345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46346         typo.
46347
46348 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46349
46350         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46351         memory.  Use alloca_account.  Fix memory leak when retrying.
46352
46353 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46354
46355         * version.h (RELEASE): Bump for 2.14 release.
46356         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46357
46358         * config.make.in (RANLIB): Remove entry.
46359
46360 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46361
46362         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46363         (libc.pot): Work around missing support for .ksh extension in xgettext.
46364
46365         [BZ #12684]
46366         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46367         if both request failed.
46368         (send_dg): In case of server errors clear resplen or *resplen2.
46369
46370         [BZ #12454]
46371         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46372         when there are multiple maps.
46373         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46374         (_dl_fini): Remove test here.
46375
46376         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46377
46378 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46379
46380         [BZ #12350]
46381         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46382         bit from old_res_options.
46383         (gaih_inet): Likewise.
46384
46385         [BZ #11099]
46386         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46387         as signed.
46388
46389         * resolv/res_init.c (res_setoptions): Make the code more compact.
46390
46391         [BZ #11558]
46392         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46393         set RES_USEVC.
46394
46395         [BZ #11634]
46396         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46397
46398         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46399
46400         [BZ #11781]
46401         * malloc/malloc.h: Declare malloc hook variables as volatile.
46402
46403         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46404         in last patch.
46405
46406         [BZ #11799]
46407         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46408         raise in the comment.
46409         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46410         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46411         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46412
46413 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46414
46415         [BZ #12811]
46416         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46417         grow the buffers more if it already has to be sufficient.
46418         (build_wcs_upper_buffer): Likewise.
46419         * posix/regexec.c (check_matching): Likewise.
46420         (clean_state_log_if_needed): Likewise.
46421         (extend_buffers): Don't enlarge buffers beyond size of the input
46422         buffer.
46423         Patches mostly by Emil Wojak <emil@wojak.eu>.
46424         * posix/bug-regex32.c: New file.
46425         * posix/Makefile (tests): Add bug-regex32.
46426
46427         * locale/findlocale.c (_nl_find_locale): Return right away if
46428         _nl_explode_name failed.
46429         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46430
46431         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46432
46433         * debug/xtrace.sh: Unify messages.
46434         * malloc/memusage.sh: Likewise.
46435
46436         [BZ #12813]
46437         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46438         time symbol from vDSO.  Substitute with vsyscall if not available.
46439         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46440         __vdso_time.
46441
46442         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46443         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46444         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46445         Add sendmmsg and internal_sendmmsg.
46446         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46447         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46448         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46449
46450         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46451         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46452         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46453
46454 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46455
46456         [BZ #12813]
46457         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46458         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46459         available.
46460         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46461         __vdso_getcpu.
46462
46463         [BZ #12814]
46464         * iconvdata/Makefile (tests): Add bug-iconv9.
46465         * iconvdata/bug-iconv9.c: New file.
46466
46467 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46468
46469         [BZ #12814]
46470         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46471
46472 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46473
46474         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46475         (struct user_regs_struct): Change intcs field back to cs.
46476
46477 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46478
46479         * po/ja.po: Update from translation team.
46480
46481 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46482
46483         [BZ #12795]
46484         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46485         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46486
46487 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46488
46489         * stdlib/longlong.h: Update from GCC.
46490
46491 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46492
46493         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46494         parameter name.
46495         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46496         Add parameter name.
46497         (__sysconf): Pass it down.
46498
46499 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46500
46501         [BZ #12671]
46502         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46503         some situations.
46504         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46505         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46506         add in in __libc_use_alloca calls.  Adjust callers.
46507         (glob): Use malloc in some situations.
46508
46509         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46510         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46511         pltexit.
46512
46513 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46514
46515         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46516         and CLOCK_BOOTTIME_ALARM.
46517
46518         [BZ #12782]
46519         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46520         is returned.
46521
46522         * string/_strerror.c (__strerror_r): Print negative errors as signed
46523         numbers.
46524
46525         [BZ #12777]
46526         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46527         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46528         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46529
46530         * configure.in: Fix typo in redirection and correct removal of test
46531         files in two cases.
46532
46533         [BZ #12788]
46534         * locale/setlocale.c (new_composite_name): Fix test to check for
46535         identical name of all categories.
46536
46537         [BZ #12792]
46538         * libio/filedoalloc.c (local_isatty): New function.
46539         (_IO_file_doallocate): Use local_isatty.
46540         * stdio-common/perror.c (perror): In case a new stream is used
46541         forward the stream error.
46542         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46543         error flag.
46544
46545 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46546
46547         [BZ #11869]
46548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46549         alloca.
46550         * include/alloca.h (extend_alloca_account): Define.
46551
46552         [BZ #11857]
46553         * posix/regex.h: Fix comments with documentation of user-accessible
46554         fields after compilation and describe correct free'ing of pattern
46555         after re_compile_pattern.
46556         Patch by Reuben Thomas <rrt@sc3d.org>.
46557
46558 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46559
46560         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46561         and -mno-altivec to prevent the compiler from using Altivec and/or
46562         VSX instructions when the corresponding registers are not available.
46563
46564 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46565
46566         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46567
46568 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46569
46570         * libio/freopen.c (freopen): Use __dup2, not dup2.
46571         * libio/freopen64.c (freopen64): Likewise.
46572
46573 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46574
46575         [BZ #12775]
46576         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46577         * math/Makefile (tests): Add test-powl.
46578         (CFLAGS-test-powl.c): Define.
46579         * math/test-powl.c: New file.
46580
46581 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46582
46583         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46584
46585 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46586
46587         [BZ #11837]
46588         * iconvdata/gb18030.c: Update to GB18020-2005.
46589
46590 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46591
46592         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46593         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46594         Patch by Aharon Robbins <arnold@skeeve.com>.
46595
46596         [BZ #11892]
46597         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46598         on the stack.
46599
46600         [BZ #11895]
46601         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46602         through underflows.
46603
46604         [BZ #12766]
46605         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46606         point to strings before performing equality test for error_one_per_line
46607         mode.
46608
46609         [BZ #11697]
46610         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46611
46612         [BZ #11820]
46613         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46614         (struct user_fpregs_struct): Avoid __uint*_t types.
46615
46616         [BZ #6420]
46617         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46618         symbol info.  Use it instead of calling _dl_addr locally.
46619         (lock_and_info): New function.
46620         (tr_freehook): Call lock_and_info and pass symbol info as additional
46621         parameter to tr_where.
46622         (tr_mallochook): Likewise.
46623         (tr_reallochook): Likewise.
46624         (tr_memalignhook): Likewise.
46625
46626         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46627         used and couldn't be at all thread-safe.
46628
46629 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46630
46631         * libio/freopen.c (freopen): Don't close old file descriptor
46632         before the new one is opened.  Instead dup the new file descriptor
46633         to the old one after the new stream is created.
46634         * libio/freopen64.c (freopen64): Likewise.
46635         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46636         * libio/fileops.c (_IO_new_file_close_it): Handle new
46637         _IO_FLAGS2_NOCLOSE flag.
46638         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46639         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46640         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46641         _IO_FLAGS2_NOCLOSE flag.
46642         * include/unistd.h: Add hidden_proto for dup3.
46643         Define __have_dup3.
46644         * io/dup3.c: Define hidden symbol.
46645         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46646
46647         [BZ #7101]
46648         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46649         when an incomplete long option is used.
46650         * posix/tst-getopt_long1.c: New file.
46651         * posix/Makefile (tests): Add tst-getopt_long1.
46652
46653         [BZ #10138]
46654         * scripts/config.guess: Update from autoconf-2.68.
46655         * scripts/config.sub: Likewise.
46656
46657         [BZ #10157]
46658         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46659         tests into ...
46660         (has_cpuclock): ...this.  New function.
46661         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46662         macro here based on has_cpuclock code.
46663
46664         [BZ #10149]
46665         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46666         First byte (not low byte) is now always NUL.
46667         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46668
46669         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46670         Use non-cancelable interfaces.
46671
46672         [BZ #9809]
46673         * locale/iso-639.def: Add entry for Sorani.
46674
46675         [BZ #11901]
46676         * include/stdlib.h: Move include protection to the right place.
46677         Define abort_msg_s.  Declare __abort_msg with it.
46678         * stdlib/abort.c (__abort_msg): Adjust type.
46679         * assert/assert.c (__assert_fail_base): New function.  Majority
46680         of code from __assert_fail.  Allocate memory for __abort_msg with
46681         mmap.
46682         (__assert_fail): Now call __assert_fail_base.
46683         * assert/assert-perr.c: Remove bulk of implementation.  Use
46684         __assert_fail_base.
46685         * include/assert.hL Declare __assert_fail_base.
46686         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46687         mmap.
46688         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46689
46690 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46691
46692         [BZ #11952]
46693         [BZ #12453]
46694         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46695         until all modules are registered in the DTV.
46696         * elf/Makefile: Add rules to build and run tst-tls19.
46697         * elf/tst-tls19.c: New file.
46698         * elf/tst-tls19mod1.c: New file.
46699         * elf/tst-tls19mod2.c: New file.
46700         * elf/tst-tls19mod3.c: New file.
46701         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46702
46703         [BZ #12083]
46704         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46705         correctly.
46706
46707         [BZ #12601]
46708         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46709         two-byte sequence errors.
46710         * iconvdata/Makefile (tests): Add bug-iconv8.
46711         * iconvdata/bug-iconv8.c: New file.
46712
46713         [BZ #12626]
46714         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46715         buf2 definition.
46716
46717         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46718
46719         [BZ #12432]
46720         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46721         (dummy_getcfa): New function.
46722         (init): Get _Unwind_GetCFA address, use dummy if not found.
46723         (backtrace_helper): In recursion check, also check whether CFA changes.
46724         (__backtrace): Completely initialize arg.
46725
46726         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46727         storing incomplete byte sequence in state object.  Avoid testing for
46728         guaranteed too small input if we know there is enough data available.
46729
46730 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46731
46732         * Makeconfig (+link-pie): Indent.
46733         * Rules (binaries-pie): Define if $(have-fpie) and
46734         $(build-shared).
46735         (binaries-shared): Also filter out $(binaries-pie).
46736         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46737         * nscd/Makefile (others-pie): Add nscd.
46738         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46739         ($(objpfx)nscd): Remove command override.
46740         * login/Makefile (others-pie): Add pt_chown.
46741         ($(objpfx)pt_chown): Remove command override.
46742         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46743         remove command overrides.
46744
46745 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46746
46747         * libio/tst_putwc.c: Fix error messages.
46748
46749         [BZ #12724]
46750         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46751         currently writing and seek to current position when not.
46752         * libio/Makefile (tests): Add bug-fclose1.
46753         * libio/bug-fclose1.c: New file.
46754
46755 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46756
46757         [BZ #12511]
46758         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46759         don't set DF_1_NODELETE here.
46760         (do_lookup_x): When entering new entry test for copy relocation
46761         and if necessary set DF_1_NODELETE flag.
46762         * elf/tst-unique4.cc: New file.
46763         * elf/tst-unique4.h: New file.
46764         * elf/tst-unique4lib.cc: New file.
46765         * elf/Makefile: Add rules to build and run tst-unique4.
46766         Patch by Piotr Bury <pbury@goahead.com>.
46767
46768 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46769
46770         [BZ #12052]
46771         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46772
46773         [BZ #12625]
46774         * misc/mntent_r.c (addmntent): Flush the stream after the output
46775
46776         [BZ #12393]
46777         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46778         (is_trusted_path_normalize): Skip initial colon.  Append slash
46779         to empty buffer.  Duplicate is_trusted_path code but allow
46780         constructed patch to be prefix.
46781         (is_dst): Allow $ORIGIN followed by /.
46782         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46783         Correct testing of result of is_trusted_path_normalize
46784         (decompose_rpath): Fix warning.
46785
46786 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46787
46788         [BZ #11257]
46789         * grp/initgroups.c (internal_getgrouplist): When we found the service
46790         list through the initgroups entry in nsswitch.conf do not always
46791         continue on a successful lookup.  Don't always use the
46792         __nss_group_database value if it is set.
46793         * nss/nsswitch.conf (initgroups): Change action for successful db
46794         lookup to continue for compatibility.
46795
46796 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46797
46798         [BZ #11532]
46799         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46800         and CP774 modules.
46801         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46802         and CP774 modules.
46803         * iconvdata/tst-tables.sh: Likewise.
46804         * iconvdata/cp770.c: New file.
46805         * iconvdata/cp771.c: New file.
46806         * iconvdata/cp772.c: New file.
46807         * iconvdata/cp773.c: New file.
46808         * iconvdata/cp774.c: New file.
46809         * iconvdata/testdata/CP770: New file.
46810         * iconvdata/testdata/CP770..UTF8: New file.
46811         * iconvdata/testdata/CP771: New file.
46812         * iconvdata/testdata/CP771..UTF8: New file.
46813         * iconvdata/testdata/CP772: New file.
46814         * iconvdata/testdata/CP772..UTF8: New file.
46815         * iconvdata/testdata/CP773: New file.
46816         * iconvdata/testdata/CP773..UTF8: New file.
46817         * iconvdata/testdata/CP774: New file.
46818         * iconvdata/testdata/CP774..UTF8: New file.
46819
46820         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46821         END CHARMAP line.
46822         * iconvdata/gen-8bit-gap.sh: Likewise.
46823         * iconvdata/gen-8bit.sh: Likewise.
46824
46825         * locale/iso-639.def: Add ary entry.
46826
46827         [BZ #11258]
46828         * locale/C-translit.h.in: Add U20A1 transliteration.
46829
46830         [BZ #12178]
46831         * locale/iso-639.def: Add wae entry.
46832         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46833
46834         [BZ #12545]
46835         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46836         for n.
46837
46838         [BZ #12711]
46839         * locale/C-translit.h.in: Add entry for U20B9.
46840         Patch by pravin.d.s@gmail.com.
46841
46842 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46843
46844         [BZ #12713]
46845         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46846         ENAMETOOLONG use generic getcwd.
46847         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46848         in rtld.  Use *stat64.
46849         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46850         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46851         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46852         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46853         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46854         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46855         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46856         __fstatat64 macros.
46857         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46858         * dirent/rewinddir.c: Add libc_hidden_def.
46859         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46860         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46861
46862         * include/dirent.h (__alloc_dir): Add flags parameter.
46863         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46864         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46865         __alloc_dir.
46866         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46867         from fdopendir if O_CLOEXEC is already set.
46868
46869 2011-03-15  Alan Modra  <amodra@gmail.com>
46870
46871         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46872         l_tls_firstbyte_offset non-zero.  Save padding offset in
46873         l_tls_firstbyte_offset for later use.
46874         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46875         freeing static tls block.
46876
46877 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46878
46879         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46880         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46881         being defined by the kernel headers.
46882
46883 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46884
46885         [BZ #12734]
46886         * resolv/resolv.h: Define RES_NOTLDQUERY.
46887         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46888         no-tld-query and set RES_NOTLDQUERY.
46889         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46890         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46891         modern BIND to search name as TLD unless forbidden.
46892
46893 2011-05-07  Petr Baudis  <pasky@suse.cz>
46894             Ulrich Drepper  <drepper@gmail.com>
46895
46896         [BZ #12393]
46897         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46898         (is_trusted_path): ...to here.
46899         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46900         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46901         using is_trusted_path_normalize() in setuid scripts.
46902
46903 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46904
46905         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46906         __BEGIN/__END_DECLS.
46907
46908 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46909
46910         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46911         NSS_STATUS_NOTFOUND if no record was found.
46912
46913 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46914
46915         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46916         (headers-not-in-tirpc): Remove rpc/netdb.h
46917         * resolv/netdb.h: Revert last change.
46918
46919 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46920
46921         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46922         circular dependency between libgcc.a and libc.a.
46923
46924 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46925
46926         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46927         * nis/Makefile: Don't install rpcsvc/*.
46928         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46929         instead of <rpc/types.h>.
46930         (MAXHOSTNAMELEN): Define.
46931
46932 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46933
46934         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46935
46936 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46937
46938         [BZ #12714]
46939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46940         gethostbyname4_r when IPv6 results are possible.
46941
46942 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46943
46944         [BZ #12723]
46945         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46946         _PC_PIPE_BUF handling.
46947
46948 2011-04-30  Bruno Haible  <bruno@clisp.org>
46949
46950         [BZ #12717]
46951         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46952         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46953         to 'int'.
46954         * inet/getnameinfo.c (getnameinfo): Likewise.
46955
46956 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46957
46958         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46959         to groups setting in database lookup.
46960         * nss/nsswitch.conf: Add initgroups entry.
46961
46962 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46963
46964         [BZ #12685]
46965         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46966         mode string.
46967         Patch by Eric Blake <eblake@redhat.com>.
46968
46969 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46970
46971         * sunrpc/Makefile (need-export-routines): Add svc_run.
46972         (routines): Remove svc_run.
46973         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46974         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46975         * sunrpc/svc_run.c (svc_run): Likewise.
46976         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46977
46978 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46979
46980         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46981         problem in reallocation in last patch.
46982
46983 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46984
46985         * sunrpc/Makefile: Move inclusion of Rules.
46986
46987 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46988
46989         * nss/nss_files/files-initgroups.c: New file.
46990         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46991         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46992         _nss_files_initgroups_dyn.
46993
46994 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46995
46996         * elf/elf.h (R_ARM_IRELATIVE): Define.
46997
46998 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46999
47000         * po/ru.po: Update from translation team.
47001
47002 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47003
47004         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47005         dependencies.
47006
47007 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47008
47009         [BZ #12653]
47010         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47011         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47012         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47013         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47014         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47015
47016 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47017
47018         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47019         differing bytes.
47020         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47021         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47022         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47023
47024 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47025
47026         [BZ #12420]
47027         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47028         storing it.
47029         * stdlib/bug-getcontext.c: New file.
47030         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47031
47032 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47033
47034         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47035         instructions into .machine "z9-109".
47036         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47037         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47038
47039 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47040
47041         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47042         between environment variables and auxiliary vector.
47043
47044 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47045
47046         * Makefile: Add rules to build linkobj/libc.so.
47047         * include/libc-symbols.h: Define libc_hidden_nolink.
47048         * include/rpc/auth.h: Mark functions which are to be hidden.
47049         * include/rpc/auth_des.h: Likewise.
47050         * include/rpc/auth_unix.h: Likewise.
47051         * include/rpc/clnt.h: Likewise.
47052         * include/rpc/des_crypt.h: Likewise.
47053         * include/rpc/key_prot.h: Likewise.
47054         * include/rpc/pmap_clnt.h: Likewise.
47055         * include/rpc/pmap_prot.h: Likewise.
47056         * include/rpc/pmap_rmt.h: Likewise.
47057         * include/rpc/rpc_msg.h: Likewise.
47058         * include/rpc/svc.h: Likewise.
47059         * include/rpc/svc_auth.h: Likewise.
47060         * include/rpc/xdr.h: Likewise.
47061         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47062         * nss/Makefile: Likewise.
47063         * sunrpc/Makefile: Don't install headers.  Build library with normal
47064         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47065         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47066         for the compat linking library.  Remove use of INTDEF/INTUSE.
47067         * sunrpc/auth_none.c: Likewise.
47068         * sunrpc/auth_unix.c: Likewise.
47069         * sunrpc/authdes_prot.c: Likewise.
47070         * sunrpc/authuxprot.c: Likewise.
47071         * sunrpc/clnt_gen.c: Likewise.
47072         * sunrpc/clnt_perr.c: Likewise.
47073         * sunrpc/clnt_raw.c: Likewise.
47074         * sunrpc/clnt_simp.c: Likewise.
47075         * sunrpc/clnt_tcp.c: Likewise.
47076         * sunrpc/clnt_udp.c: Likewise.
47077         * sunrpc/clnt_unix.c: Likewise.
47078         * sunrpc/des_crypt.c: Likewise.
47079         * sunrpc/des_soft.c: Likewise.
47080         * sunrpc/get_myaddr.c: Likewise.
47081         * sunrpc/key_call.c: Likewise.
47082         * sunrpc/key_prot.c: Likewise.
47083         * sunrpc/netname.c: Likewise.
47084         * sunrpc/pm_getmaps.c: Likewise.
47085         * sunrpc/pm_getport.c: Likewise.
47086         * sunrpc/pmap_clnt.c: Likewise.
47087         * sunrpc/pmap_prot.c: Likewise.
47088         * sunrpc/pmap_prot2.c: Likewise.
47089         * sunrpc/pmap_rmt.c: Likewise.
47090         * sunrpc/publickey.c: Likewise.
47091         * sunrpc/rpc_cmsg.c: Likewise.
47092         * sunrpc/rpc_common.c: Likewise.
47093         * sunrpc/rpc_dtable.c: Likewise.
47094         * sunrpc/rpc_prot.c: Likewise.
47095         * sunrpc/rpc_thread.c: Likewise.
47096         * sunrpc/rtime.c: Likewise.
47097         * sunrpc/svc.c: Likewise.
47098         * sunrpc/svc_auth.c: Likewise.
47099         * sunrpc/svc_authux.c: Likewise.
47100         * sunrpc/svc_raw.c: Likewise.
47101         * sunrpc/svc_run.c: Likewise.
47102         * sunrpc/svc_simple.c: Likewise.
47103         * sunrpc/svc_tcp.c: Likewise.
47104         * sunrpc/svc_udp.c: Likewise.
47105         * sunrpc/svc_unix.c: Likewise.
47106         * sunrpc/svcauth_des.c: Likewise.
47107         * sunrpc/xcrypt.c: Likewise.
47108         * sunrpc/xdr.c: Likewise.
47109         * sunrpc/xdr_array.c: Likewise.
47110         * sunrpc/xdr_float.c: Likewise.
47111         * sunrpc/xdr_intXX_t.c: Likewise.
47112         * sunrpc/xdr_mem.c: Likewise.
47113         * sunrpc/xdr_rec.c: Likewise.
47114         * sunrpc/xdr_ref.c: Likewise.
47115         * sunrpc/xdr_sizeof.c: Likewise.
47116         * sunrpc/xdr_stdio.c: Likewise.
47117
47118 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47119
47120         [BZ #12650]
47121         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47122         * sysdeps/ia64/dl-tls.h: Likewise.
47123         * sysdeps/powerpc/dl-tls.h: Likewise.
47124         * sysdeps/s390/dl-tls.h: Likewise.
47125         * sysdeps/sh/dl-tls.h: Likewise.
47126         * sysdeps/sparc/dl-tls.h: Likewise.
47127         * sysdeps/x86_64/dl-tls.h: Likewise.
47128         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47129
47130 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47131
47132         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47133         rpath element also skip the following colon.
47134         (expand_dynamic_string_token): Add is_path parameter and pass
47135         down to DL_DST_REQUIRED and _dl_dst_substitute.
47136         (decompose_rpath): Call expand_dynamic_string_token with
47137         non-zero is_path.  Ignore empty rpaths.
47138         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47139         with zero is_path.
47140
47141 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47142
47143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47144         Make cancelable.
47145
47146 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47147
47148         [BZ #12655]
47149         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47150         Patch by Filipe David Manana <fdmanana@apache.org>.
47151
47152 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47153
47154         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47155         Maintain aligned stack.
47156         (CHECK_RSP): Remove unused macro.
47157
47158 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47159
47160         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47161         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47162
47163 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47164
47165         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47166
47167         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47168
47169 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47170
47171         [BZ #12518]
47172         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47173         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47174         * sysdeps/x86_64/memmove.c: New file.
47175         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47176         (memcpy): Renamed to ...
47177         (__new_memcpy): This.
47178         (memcpy): Provide GLIBC_2_14 memcpy.
47179         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47180         (memcpy): Provide GLIBC_2_2_5 memcpy.
47181
47182 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47183
47184         [BZ #12631]
47185         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47186
47187 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47188
47189         * misc/syncfs.c: New file.
47190         * misc/Makefile (routines): Add syncfs.
47191         * posix/unistd.h: Declare syncfs.
47192         * sysdeps/unix/syscalls.list: Add syncfs.
47193
47194 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47195
47196         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47197         open_by_handle_at.
47198         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47199         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47200         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47201         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47202         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47203         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47204         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47205
47206 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47207
47208         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47209         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47210         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47211         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47212         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47214         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47215
47216         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47217         sync_file_range.c with -fexceptions.
47218         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47219         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47220         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47221         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47222         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47223         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47224         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47225         sync_file_range as cancellation point
47226         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47227         now a wrapper around __call_sync_file_range with cancellation handling.
47228         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47229         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47230         function name to __call_sync_file_range.
47231         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47232         Add call_sync_file_range.
47233
47234 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47235
47236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47237         bits/timex.h.
47238
47239 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47240
47241         * iconv/iconv.h: Fix typo in comment.
47242         * io/fcntl.h: Likewise.
47243         * libio/stdio.h: Likewise.
47244         * posix/spawn.h: Likewise.
47245         * posix/unistd.h: Likewise.
47246         * stdlib/stdlib.h: Likewise.
47247         * time/time.h: Likewise.
47248         * wcsmbs/wchar.h: Likewise.
47249
47250         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47251         open_by_handle): Add.
47252         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47253         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47254         Augment a few comments.
47255         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47256         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47257         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47258         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47259         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47260         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47261         open_by_handle.
47262
47263         * io/fcntl.h (AT_EMPTY_PATH): Define.
47264
47265 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47266
47267         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47268         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47269         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47270         to...
47271         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47272         * Versions.def: Add GLIBC_2.14.
47273         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47274         Export.
47275
47276 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47277
47278         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47279         round counter.
47280         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47281
47282 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47283
47284         [BZ #12597]
47285         * string/test-strncmp.c (do_page_test): New function.
47286         (check2): Likewise.
47287         (test_main): Call check2.
47288         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47289
47290 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47291
47292         [BZ #12587]
47293         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47294         Handle cache information in CPU leaf 4.
47295         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47296
47297 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47298
47299         [BZ #12583]
47300         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47301         character representation.
47302         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47303
47304 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47305
47306         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47307         END(__isnan) to END(__isnanf) to match function entry point/label
47308         EALIGN(__isnanf,...).
47309
47310 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47311
47312         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47313
47314 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47315
47316         [BZ #12510]
47317         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47318         copy from the symbol referenced in the relocation to initialize the
47319         used variable.
47320         Patch by Piotr Bury <pbury@goahead.com>.
47321         * elf/Makefile: Add rules to build and tst-unique3.
47322         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47323         * elf/tst-unique3.cc: New file.
47324         * elf/tst-unique3.h: New file.
47325         * elf/tst-unique3lib.cc: New file.
47326         * elf/tst-unique3lib2.cc: New file.
47327
47328         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47329
47330 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47331
47332         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47333         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47334         to _start.
47335
47336 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47337
47338         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47339         to-be-loaded object along a path to loader is ld.so.
47340
47341 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47342             Ulrich Drepper  <drepper@gmail.com>
47343
47344         * sysdeps/x86_64/memset.S: After aligning destination, code
47345         branches to different locations depending on the value of
47346         misalignment, when multiarch is enabled. Fix this.
47347
47348 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47349
47350         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47351         Set _x86_64_preferred_memory_instruction for AMD processsors.
47352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47353         Set bit_Prefer_SSE_for_memop for AMD processors.
47354
47355 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47356
47357         * libio/fmemopen.c (fmemopen): Optimize a bit.
47358
47359 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47360
47361         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47362
47363 2011-03-03  Roland McGrath  <roland@redhat.com>
47364
47365         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47366
47367 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47368
47369         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47370         __bzero_ultra1 instead of __memset_ultra1.
47371
47372 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47373             Ulrich Drepper  <drepper@gmail.com>
47374
47375         [BZ #12509]
47376         * include/link.h (struct link_map): Add l_orig_initfini.
47377         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47378         returning unsuccessfully.
47379         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47380         close of a file loaded at startup, restore the original l_initfini
47381         list.
47382         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47383         list, store the pointer.
47384         * elf/Makefile ($(objpfx)noload-mem): New rule.
47385         (noload-ENV): Define.
47386         (tests): Add $(objpfx)noload-mem.
47387         * elf/noload.c: Include <memcheck.h>.
47388         (main): Call mtrace.  Close all opened handles.
47389
47390 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47391
47392         [BZ #12454]
47393         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47394         dependencies are missing.
47395
47396 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47397
47398         Fix __if_freereq crash: Unlike the generic version which uses free,
47399         Hurd needs munmap.
47400         * sysdeps/mach/hurd/ifreq.h: New file.
47401
47402 2011-01-27  Petr Baudis  <pasky@suse.cz>
47403             Ulrich Drepper  <drepper@gmail.com>
47404
47405         [BZ 12445]#
47406         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47407         to extend_alloca().
47408         * stdio-common/bug23.c: New file.
47409         * stdio-common/Makefile (tests): Add bug23.
47410
47411 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47412             Ulrich Drepper  <drepper@gmail.com>
47413
47414         [BZ #12489]
47415         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47416         before performing relro protection.  At old place add assertion
47417         to make sure nothing changed.
47418
47419 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47420             Glauber de Oliveira Costa  <glommer@gmail.com>
47421
47422         * elf/elf.h: Add new ARM TLS relocs.
47423
47424 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47425
47426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47427         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47428         cast from r3.
47429         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47430         'tests' variable.
47431         * sysdeps/wordsize-64/tst-writev.c: New file.
47432
47433 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47434
47435         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47436         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47437         insns in _dl_start to prevent a TOC reference before relocs are
47438         resolved.
47439
47440 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47441
47442         [BZ #12469]
47443         * Makeconfig: Remove RANLIB definition.
47444         * Makerules: Don't use RANLIB.
47445         * aclocal.m4: Remove ranlib test.
47446         * configure.in: No need to check for ranlib.
47447         * elf/rtld-Rules: Don't use RANLIB.
47448
47449 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47450
47451         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47452         protection macro.
47453         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47454         inclusion protection macro.
47455
47456         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47457         SIGRTMIN and SIGRTMAX and print information in that case only when
47458         SIGRTMIN is defined.
47459
47460 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47461
47462         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47463         arginfo fn returning -1.
47464
47465         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47466         and thousands string is zero terminated.
47467
47468 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47469
47470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47471         sysdeps/unix/sysv/linux/bits/socket.h.
47472
47473 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47474
47475         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47476         (__CPU_COUNT): Remove old macros.
47477         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47478         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47479         (__CPU_ALLOC, __CPU_FREE): Add macros.
47480         (__sched_cpualloc, __sched_cpufree): Add declarations.
47481
47482 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47483
47484         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47485         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47486         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47487         (readdhstai): Return value of addhstaiX call.
47488         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47489         (addgrbyX): Return value returned by cache_addgr.
47490         (readdgrbyname): Return value returned by addgrbyX.
47491         (readdgrbygid): Likewise.
47492         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47493         (addpwbyX): Return value returned by cache_addpw.
47494         (readdpwbyname): Return value returned by addhstbyX.
47495         (readdpwbyuid): Likewise.
47496         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47497         (addservbyX): Return value returned by cache_addserv.
47498         (readdservbyname): Return value returned by addservbyX:
47499         (readdservbyport): Likewise.
47500         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47501         (addhstbyX): Return value returned by cache_addhst.
47502         (readdhstbyname): Return value returned by addhstbyX.
47503         (readdhstbyaddr): Likewise.
47504         (readdhstbynamev6): Likewise.
47505         (readdhstbyaddrv6): Likewise.
47506         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47507         (readdinitgroups): Return value returned by addinitgroupsX.
47508         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47509         (prune_cache): Keep track of timeout value of re-added entries.
47510         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47511         * nscd/nscd.h: Adjust prototypes of readd* functions.
47512
47513 2011-02-04  Roland McGrath  <roland@redhat.com>
47514
47515         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47516         (nis_stats): Likewise.
47517         * nis/nis_modify.c (nis_modify): Likewise.
47518         * nis/nis_remove.c (nis_remove): Likewise.
47519         * nis/nis_add.c (nis_add): Likewise.
47520
47521         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47522
47523         * posix/fnmatch_loop.c: Add some consts.
47524
47525         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47526
47527 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47528
47529         [BZ #12460]
47530         * config.make.in (config-cflags-novzeroupper): Define.
47531         * configure.in: Substitute libc_cv_cc_novzeroupper.
47532         * elf/Makefile (AVX-CFLAGS): Define.
47533         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47534         (CFLAGS-tst-auditmod4a.c): Likewise.
47535         (CFLAGS-tst-auditmod4b.c): Likewise.
47536         (CFLAGS-tst-auditmod6b.c): Likewise.
47537         (CFLAGS-tst-auditmod6c.c): Likewise.
47538         (CFLAGS-tst-auditmod7b.c): Likewise.
47539         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47540
47541 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47542
47543         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47544         function to the callback.
47545         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47546
47547 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47548
47549         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47550         of errno.
47551
47552 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47553
47554         [BZ #11724]
47555         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47556         of constructors.
47557         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47558         of destructors.
47559         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47560
47561         [BZ #11724]
47562         * elf/Makefile: Add rules to build and run new test.
47563         * elf/tst-initorder.c: New file.
47564         * elf/tst-initorder.exp: New file.
47565         * elf/tst-initordera1.c: New file.
47566         * elf/tst-initordera2.c: New file.
47567         * elf/tst-initordera3.c: New file.
47568         * elf/tst-initordera4.c: New file.
47569         * elf/tst-initorderb1.c: New file.
47570         * elf/tst-initorderb2.c: New file.
47571         * elf/tst-order-a1.c: New file.
47572         * elf/tst-order-a2.c: New file.
47573         * elf/tst-order-a3.c: New file.
47574         * elf/tst-order-a4.c: New file.
47575         * elf/tst-order-b1.c: New file.
47576         * elf/tst-order-b2.c: New file.
47577         * elf/tst-order-main.c: New file.
47578         New test case by George Gensure <werkt0@gmail.com>.
47579
47580 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47581
47582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47583         decoding ACE if AI_CANONIDN.
47584
47585 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47586
47587         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47588
47589 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47590
47591         * version.h (RELEASE): Bump for 2.13 release.
47592         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47593
47594         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47595
47596         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47597         MADV_NOHUGEPAGE.
47598         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47599         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47600         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47601         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47602         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47603         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47604
47605         * posix/getconf.c: Update copyright year.
47606         * catgets/gencat.c: Likewise.
47607         * csu/version.c: Likewise.
47608         * debug/catchsegv.sh: Likewise.
47609         * debug/xtrace.sh: Likewise.
47610         * elf/ldconfig.c: Likewise.
47611         * elf/ldd.bash.in: Likewise.
47612         * elf/sprof.c (print_version): Likewise.
47613         * iconv/iconv_prog.c: Likewise.
47614         * iconv/iconvconfig.c: Likewise.
47615         * locale/programs/locale.c: Likewise.
47616         * locale/programs/localedef.c: Likewise.
47617         * malloc/memusage.sh: Likewise.
47618         * malloc/mtrace.pl: Likewise.
47619         * nscd/nscd.c (print_version): Likewise.
47620         * nss/getent.c: Likewise.
47621
47622         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47623         PF_CAIF, and PF_ALG.
47624         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47625
47626 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47627
47628         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47629         (modules-names): Use them.
47630         (ifunc-test-modules, ifunc-pie-tests): Define.
47631         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47632         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47633         (test-extras): Likewise.
47634         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47635         $(compile-command.c).
47636         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47637         (all-built-dso): Define.
47638         (check-textrel.out, check-execstack.out): Depend on it.
47639
47640         * configure.in: Don't override --enable-multi-arch.
47641
47642 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47643
47644         [BZ #6812]
47645         * nscd/hstcache.c (tryagain): Define.
47646         (cache_addhst): Return tryagain not notfound for temporary errors.
47647         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47648         failed.
47649
47650 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47651
47652         [BZ #10563]
47653         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47654         to make the syscall.
47655         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47656
47657         [BZ #12378]
47658         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47659         and fall back to matching as normal character if the string ends before
47660         the matching ']' is found.  This is what POSIX requires.
47661         * posix/testfnm.c: Adjust test result.
47662         * posix/globtest.sh: Adjust test result.  Add new test.
47663         * posix/tst-fnmatch.input: Likewise.
47664         * posix/tst-fnmatch2.c: Add new test.
47665
47666 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47667
47668         * elf/Makefile (check-execstack): Revert last change.  Depend on
47669         check-execstack.h.
47670         (check-execstack.h): New target.
47671         (generated): Add check-execstack.h.
47672         * elf/check-execstack.c: Include "check-execstack.h".
47673         (main): Revert last change.
47674         (handle_file): Return zero if GNU_STACK is absent and
47675         DEFAULT_STACK_PERMS doesn't include PF_X.
47676
47677 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47678
47679         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47680         in child fails because the descriptor is already closed.
47681         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47682         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47683         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47684
47685         [BZ #12397]
47686         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47687         syscall.
47688
47689         [BZ #10484]
47690         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47691         temporary buffer used to handle multi lookups locally.
47692         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47693
47694 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47695
47696         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47697         loader is ld.so.
47698
47699 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47700
47701         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47702         alignment for SSE2.
47703
47704 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47705
47706         [BZ #12394]
47707         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47708         characters.  When rounding increased number of integer digits recompute
47709         number of groups.
47710         * stdio-common/tst-grouping.c: New file.
47711         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47712
47713 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47714
47715         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47716         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47717
47718         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47719         void.
47720         * bits/select.h: Likewise.
47721
47722 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47723
47724         * po/ja.po: Update from translation team.
47725
47726 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47727
47728         [BZ #11155]
47729         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47730         implementation just like for lxstat, fxstatat, et al.
47731
47732 2010-12-27  Jim Meyering  <meyering@redhat.com>
47733
47734         [BZ #12348]
47735         * posix/regexec.c (build_trtable): Return failure indication upon
47736         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47737
47738 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47739
47740         [BZ #12201]
47741         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47742         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47743         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47744         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47745
47746         [BZ #12207]
47747         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47748
47749         [BZ #12204]
47750         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47751         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47752
47753 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47754
47755         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47756         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47757         script has SORT_BY_INIT_PRIORITY.
47758         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47759         NO_CTORS_DTORS_SECTIONS is defined.
47760         * elf/soinit.c: Likewise.
47761         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47762         NO_CTORS_DTORS_SECTIONS is defined.
47763         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47764         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47765         * sysdeps/sh/init-first.c: Likewise.
47766         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47767
47768 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47769
47770         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47771         always use the slow path.
47772
47773 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47774
47775         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47776         similar rule which adds the sysdep directories to the header search in
47777         order to pick up the correct platform stackinfo.h.
47778         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47779         perform test if it is, otherwise return successfully without testing.
47780         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47781         DEFAULT_STACK_PERMS define in stackinfo.h.
47782         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47783         defined in stackinfo.h.
47784         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47785         DEFAULT_STACK_PERMS defined in stackinfo.h.
47786         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47787         * sysdeps/ia64/stackinfo.h: Likewise.
47788         * sysdeps/s390/stackinfo.h: Likewise.
47789         * sysdeps/sh/stackinfo.h: Likewise.
47790         * sysdeps/sparc/stackinfo.h: Likewise.
47791         * sysdeps/x86_64/stackinfo.h: Likewise.
47792         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47793         PF_X for powerpc64.  Retain PF_X for powerpc32.
47794
47795 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47796
47797         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47798         accurately.
47799         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47800         GETDENTS_64BIT_ALIGNED.
47801
47802 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47803
47804         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47805
47806 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47807
47808         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47809         _GNU_SOURCE.
47810
47811         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47812         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47813         Remove __restrict.
47814         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47815         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47816
47817 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47818
47819         [BZ #11655]
47820         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47821         are initialized.
47822
47823 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47824
47825         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47826
47827 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47828
47829         * po/it.po: Update from translation team.
47830
47831 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47832
47833         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47834         unused codes.
47835
47836 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47837
47838         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47839
47840 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47841
47842         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47843         specially.
47844         (gaih_getanswer_slice): Likewise.
47845
47846 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47847
47848         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47849
47850 2010-05-31  Petr Baudis  <pasky@suse.cz>
47851
47852         [BZ #11149]
47853         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47854         silently even in the chroot mode.
47855
47856 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47857
47858         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47859         last patch a bit.  Pretty printing
47860
47861 2010-05-31  Petr Baudis <pasky@suse.cz>
47862
47863         [BZ #10085]
47864         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47865         initialization of skip_initgroups_dyn.
47866
47867 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47868
47869         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47870         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47871
47872 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47873
47874         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47875
47876 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47877
47878         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47879         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47880         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47881         ($(objpfx)tst-fnmatch-mem): New rule.
47882         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47883         * posix/tst-fnmatch.c (main): Call mtrace.
47884
47885 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47886
47887         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47888         Support Intel processor model 6 and model 0x2c.
47889
47890 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47891
47892         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47893           signed comparison.
47894
47895 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47896
47897         [BZ #12205]
47898         * string/test-strncasecmp.c (check_result): New function.
47899         (do_one_test): Use it.
47900         (check1): New function.
47901         (test_main): Use it.
47902         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47903         Support strcasecmp and strncasecmp.
47904
47905 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47906
47907         [BZ #12194]
47908         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47909         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47910
47911 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47912
47913         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47914         IFUNC support.
47915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47916         memset-x86-64.
47917         * sysdeps/x86_64/multiarch/bzero.S: New file.
47918         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47919         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47920         * sysdeps/x86_64/multiarch/memset.S: New file.
47921         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47923         Set bit_Prefer_SSE_for_memop for Intel processors.
47924         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47925         Define.
47926         (index_Prefer_SSE_for_memop): Define.
47927         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47928
47929 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47930
47931         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47932         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47933
47934 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47935
47936         [BZ #12191]
47937         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47938         (__x86_64_raw_data_cache_size_half): Likewise.
47939         (__x86_64_raw_shared_cache_size): Likewise.
47940         (__x86_64_raw_shared_cache_size_half): Likewise.
47941
47942         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47943         (__x86_64_raw_data_cache_size_half): Likewise.
47944         (__x86_64_raw_shared_cache_size): Likewise.
47945         (__x86_64_raw_shared_cache_size_half): Likewise.
47946         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47947         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47948         and __x86_64_raw_shared_cache_size_half.  Round
47949         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47950         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47951         to multiple of 256 bytes.
47952
47953 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47954
47955         [BZ #12167]
47956         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47957         of inacessible symlinks.  Verify result of symlink before returning it.
47958         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47959         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47960
47961 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47962
47963         * math/math.h (isinf): Fix typo in comment.
47964
47965 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47966
47967         * po/da.po: Update from translation team.
47968
47969 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47970
47971         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47972         is added to the list.
47973
47974 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47975             Ulrich Drepper  <drepper@gmail.com>
47976
47977         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47978         the global list here.  Move code to...
47979         (_dl_add_to_namespace_list): ...here.  New function.
47980         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47981         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47982         * elf/dl-load.c (lose): Don't remove the element from the list.
47983         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47984         (_dl_map_object): Likewise.
47985
47986 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47987
47988         [BZ #12159]
47989         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47990         into all bytes of SSE register.
47991         Patch by Richard Li <richardpku@gmail.com>.
47992
47993 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47994
47995         [BZ #12140]
47996         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47997         perturbing.
47998
47999 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48000
48001         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48002         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48003         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48004         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48006         submachine.
48007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48008
48009 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48010
48011         * include/dlfcn.h (__RTLD_SECURE): Define.
48012         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48013         mode & __RTLD_SECURE instead.
48014         (open_path): Rename preloaded parameter to secure.
48015         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48016         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48017         * elf/dl-deps.c (openaux): Likewise.
48018         * elf/rtld.c (struct map_args): Remove is_preloaded.
48019         (map_doit): Don't use it.
48020         (dl_main): Likewise.
48021         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48022         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48023
48024 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48025
48026         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48027         (sysd-rules-targets): Remove duplicates.
48028         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48029         rtld-%.$o dependency.
48030
48031 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48032
48033         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48034         _dl_map_object do it.
48035
48036 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48037
48038         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48039         fast fma builtins, define the macros in the C99 standard.
48040         (FP_FAST_FMAF): Likewise.
48041         (FP_FAST_FMAL): Likewise.
48042         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48043
48044         * bits/mathdef.h: Update copyright year.
48045         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48046
48047 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48048
48049         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48050         builtins, define the macros in the C99 standard.
48051         (FP_FAST_FMAF): Likewise.
48052         (FP_FAST_FMAL): Likewise.
48053         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48054         multiply/add.
48055         (FP_FAST_FMAF): Likewise.
48056
48057 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48058
48059         [BZ #3268]
48060         * math/libm-test.inc (fma_test): Some new testcases.
48061         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48062         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48063         y and infinite z.  Do multiplication by C already in long double.
48064         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48065         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48066         y and infinite z.  Do bitwise or of inexact bit into u.d.
48067         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48068         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48069         * sysdeps/i386/fpu/s_fma.S: Removed.
48070         * sysdeps/i386/fpu/s_fmal.S: Removed.
48071
48072 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48073
48074         [BZ #3268]
48075         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48076         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48077         computation is not scheduled after fetestexcept.  Fix value
48078         of minimum denormal long double.
48079
48080 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48081
48082         [BZ #3268]
48083         * math/libm-test.inc (fma_test): Add some more tests.
48084         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48085         correctly.
48086
48087 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48088
48089         * scripts/data/localplt-s390-linux-gnu.data: New file.
48090         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48091
48092 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48093
48094         [BZ #3268]
48095         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48096         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48097         instead of dbl-64.
48098         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48099         inlines.
48100         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48102         if one of x and y is very large and the other is subnormal.
48103         * sysdeps/s390/fpu/s_fmaf.c: New file.
48104         * sysdeps/s390/fpu/s_fma.c: New file.
48105         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48106         * sysdeps/powerpc/fpu/s_fma.S: New file.
48107         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48108         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48109         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48110
48111 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48112
48113         [BZ #3268]
48114         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48115         fma tests.
48116         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48117         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48118         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48119         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48120         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48121         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48122         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48123
48124 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48125
48126         [BZ #12078]
48127         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48128         * posix/bug-regex31.input: Add test case.
48129
48130 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48131
48132         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48133         * posix/bug-regex31.input: New file.
48134
48135         [BZ #12078]
48136         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48137         (parse_sub_exp): Fix last change, use postorder.
48138
48139         * posix/bug-regex31.c: New file.
48140         * posix/Makefile: Add rules to build and run bug-regex31.
48141
48142         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48143
48144         [BZ #12078]
48145         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48146
48147         [BZ #12108]
48148         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48149         to have entries in sys_siglist.
48150
48151         [BZ #12093]
48152         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48153         be NULL.
48154
48155 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48156
48157         [BZ #3268]
48158         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48159         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48160         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48161         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48162         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48163         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48164         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48165         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48166         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48167         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48168         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48169         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48170         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48171         * math/ftestexcept.c (fetestexcept): Likewise.
48172         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48173         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48174         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48175         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48176         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48177         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48178         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48179
48180 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48181
48182         [BZ #12107]
48183         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48184         newline.
48185
48186 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48187
48188         * string/bug-strstr1.c: New file.
48189         * string/Makefile: Add rules to build and run bug-strstr1.
48190
48191 2010-10-05  Eric Blake  <eblake@redhat.com>
48192
48193         [BZ #12092]
48194         * string/str-two-way.h (two_way_long_needle): Always clear memory
48195         when skipping input due to the shift table.
48196
48197 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48198
48199         [BZ #12005]
48200         * malloc/mcheck.c: Handle large requests.
48201
48202         [BZ #12077]
48203         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48204         for strncmp and strncasecmp.
48205         * string/stratcliff.c: Add tests for strcmp and strncmp.
48206         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48207
48208 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48209
48210         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48211         __set_fpscr.
48212
48213 2010-09-30  Andreas Jaeger  <aj@suse.de>
48214
48215         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48216         (CGROUP_SUPER_MAGIC): Define.
48217         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48218         Handle btrfs and cgroup file systems.
48219         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48220         Likewise.
48221
48222 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48223
48224         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48225         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48226
48227 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48228
48229         [BZ #12067]
48230         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48231         trying to locate the ELF header.
48232
48233 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48234
48235         [BZ #11611]
48236         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48237         Mask out sign-bit copies when constructing f_fsid.
48238
48239 2010-09-24  Petr Baudis <pasky@suse.cz>
48240
48241         * debug/stack_chk_fail_local.c: Add missing licence exception.
48242         * debug/warning-nop.c: Likewise.
48243
48244 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48245
48246         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48247         implementing getdents64 using getdents syscall, set d_type if
48248         __ASSUME_GETDENTS32_D_TYPE.
48249
48250 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48251
48252         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48253         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48254
48255 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48256
48257         [BZ #12037]
48258         * posix/unistd.h: Undo change of feature selection for ftruncate from
48259         2010-01-11.
48260
48261 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48262
48263         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48264         detection.
48265
48266 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48267
48268         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48269         fanotify_mark.
48270         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48271
48272 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48273
48274         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48275         variables after CHECK_SP call.
48276         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48277
48278 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48279             Ulrich Drepper  <drepper@redhat.com>
48280
48281         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48282         re-relocationg ld.so.
48283         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48284         _dl_init_paths call.
48285         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48286         here anymore.
48287
48288 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48289
48290         * resolv/res_init.c (__res_vinit): Count the default server we added.
48291
48292 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48293             Ulrich Drepper  <drepper@redhat.com>
48294
48295         [BZ #11968]
48296         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48297         (____longjmp_chk): Use %ebx for saving value across system call.
48298         Add unwind info.
48299
48300 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48301
48302         * manual/Makefile: Don't mix pattern rules with normal rules.
48303
48304 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48305
48306         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48307         operation.
48308         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48309         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48310         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48311         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48312         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48313         Likewise.
48314
48315 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48316
48317         [BZ #11979]
48318         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48319         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48320
48321 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48322
48323         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48324         * sysdeps/x86_64/addmul_1.S: Likewise.
48325         * sysdeps/x86_64/lshift.S: Likewise.
48326         * sysdeps/x86_64/mul_1.S: Likewise.
48327         * sysdeps/x86_64/rshift.S: Likewise.
48328         * sysdeps/x86_64/sub_n.S: Likewise.
48329         * sysdeps/x86_64/submul_1.S: Likewise.
48330
48331 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48332
48333         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48334         Define __sched_param instead of SCHED_* and sched_param when
48335         <bits/sched.h> is included with __need_schedparam defined.
48336         * bits/sched.h [__need_schedparam]
48337         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48338         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48339         (__defined_schedparam): Define to 1.
48340         (__sched_param): New structure, identical to sched_param.
48341         (__need_schedparam): Undefine.
48342
48343 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48344
48345         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48346         (epoll_create1): Declare.
48347
48348         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48349
48350 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48351
48352         [BZ #7066]
48353         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48354         shifting retval into place.
48355
48356 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48357
48358         * nis/rpcsvc/nis.h: Update copyright notice.
48359         * nis/rpcsvc/nis.x: Likewise.
48360         * nis/rpcsvc/nis_callback.h: Likewise.
48361         * nis/rpcsvc/nis_callback.x: Likewise.
48362         * nis/rpcsvc/nis_object.x: Likewise.
48363         * nis/rpcsvc/nis_tags.h: Likewise.
48364         * nis/rpcsvc/yp.h: Likewise.
48365         * nis/rpcsvc/yp.x: Likewise.
48366         * nis/rpcsvc/ypupd.h: Likewise.
48367         * nis/yp_xdr.c: Likewise.
48368         * nis/ypupdate_xdr.c: Likewise.
48369
48370         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48371         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48372         (pmap_getport): Use __libc_rpc_getport.
48373         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48374         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48375         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48376
48377 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48378
48379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48380         fanotify_mark.
48381
48382 2010-08-27  Roland McGrath  <roland@redhat.com>
48383
48384         * sysdeps/i386/i686/multiarch/Makefile
48385         (CFLAGS-varshift.c): New variable.
48386
48387 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48388
48389         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48390         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48391
48392         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48393
48394         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48395
48396 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48397
48398         * sysdeps/x86_64/strlen.S: Unroll the loop.
48399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48400         strlen-sse2 strlen-sse2-bsf.
48401         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48402         __strlen_no_bsf if bit_Slow_BSF is set.
48403         (__strlen_sse42): Removed.
48404         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48405         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48406
48407 2010-08-25  Roland McGrath  <roland@redhat.com>
48408
48409         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48410         * sysdeps/x86_64/multiarch/varshift.c: New file.
48411         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48412         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48413         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48414         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48415
48416 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48417
48418         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48419         strlen-sse2 strlen-sse2-bsf.
48420         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48421         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48422         (__strlen_sse2): Removed.
48423         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48424         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48426         bit_Slow_BSF for Atom.
48427         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48428         (index_Slow_BSF): Define.
48429         (HAS_SLOW_BSF): Define.
48430
48431 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48432
48433         [BZ #10851]
48434         * resolv/res_init.c (__res_vinit): When no server address at all
48435         is given default to loopback.
48436
48437 2010-08-24  Roland McGrath  <roland@redhat.com>
48438
48439         * configure.in: Remove config-name.h generation.
48440         * configure: Regenerated.
48441         * config-name.in: File removed.
48442         * scripts/config-uname.sh: New file.
48443         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48444         ($(objdir)config-name.h): New target.
48445
48446         * sunrpc/rpc_parse.h: Avoid nested comment.
48447
48448 2010-08-24  Richard Henderson  <rth@redhat.com>
48449             Ulrich Drepper  <drepper@redhat.com>
48450             H.J. Lu  <hongjiu.lu@intel.com>
48451
48452         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48454         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48455         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48456         _mm_alignr_epi8 with _mm_loadu_si128.
48457         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48458         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48459         (__m128i_shift_right): Removed.
48460         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48461         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48462         * sysdeps/x86_64/multiarch/varshift.h: New file.
48463         * sysdeps/x86_64/multiarch/varshift.S: New file.
48464
48465 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48466
48467         * configure.in: Move assembler checks to before sysdep dir checking.
48468
48469 2010-08-20  Petr Baudis  <pasky@suse.cz>
48470
48471         * LICENSES: Sync the sunrpc license.
48472
48473 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48474
48475         * sunrpc/auth_des.c: Update copyright notice once again.
48476         * sunrpc/auth_none.c: Likewise.
48477         * sunrpc/auth_unix.c: Likewise.
48478         * sunrpc/authdes_prot.c: Likewise.
48479         * sunrpc/authuxprot.c: Likewise.
48480         * sunrpc/bindrsvprt.c: Likewise.
48481         * sunrpc/clnt_gen.c: Likewise.
48482         * sunrpc/clnt_perr.c: Likewise.
48483         * sunrpc/clnt_raw.c: Likewise.
48484         * sunrpc/clnt_simp.c: Likewise.
48485         * sunrpc/clnt_tcp.c: Likewise.
48486         * sunrpc/clnt_udp.c: Likewise.
48487         * sunrpc/clnt_unix.c: Likewise.
48488         * sunrpc/des_crypt.c: Likewise.
48489         * sunrpc/des_soft.c: Likewise.
48490         * sunrpc/get_myaddr.c: Likewise.
48491         * sunrpc/getrpcport.c: Likewise.
48492         * sunrpc/key_call.c: Likewise.
48493         * sunrpc/key_prot.c: Likewise.
48494         * sunrpc/openchild.c: Likewise.
48495         * sunrpc/pm_getmaps.c: Likewise.
48496         * sunrpc/pm_getport.c: Likewise.
48497         * sunrpc/pmap_clnt.c: Likewise.
48498         * sunrpc/pmap_prot.c: Likewise.
48499         * sunrpc/pmap_prot2.c: Likewise.
48500         * sunrpc/pmap_rmt.c: Likewise.
48501         * sunrpc/rpc/auth.h: Likewise.
48502         * sunrpc/rpc/auth_unix.h: Likewise.
48503         * sunrpc/rpc/clnt.h: Likewise.
48504         * sunrpc/rpc/des_crypt.h: Likewise.
48505         * sunrpc/rpc/key_prot.h: Likewise.
48506         * sunrpc/rpc/netdb.h: Likewise.
48507         * sunrpc/rpc/pmap_clnt.h: Likewise.
48508         * sunrpc/rpc/pmap_prot.h: Likewise.
48509         * sunrpc/rpc/pmap_rmt.h: Likewise.
48510         * sunrpc/rpc/rpc.h: Likewise.
48511         * sunrpc/rpc/rpc_des.h: Likewise.
48512         * sunrpc/rpc/rpc_msg.h: Likewise.
48513         * sunrpc/rpc/svc.h: Likewise.
48514         * sunrpc/rpc/svc_auth.h: Likewise.
48515         * sunrpc/rpc/types.h: Likewise.
48516         * sunrpc/rpc/xdr.h: Likewise.
48517         * sunrpc/rpc_clntout.c: Likewise.
48518         * sunrpc/rpc_cmsg.c: Likewise.
48519         * sunrpc/rpc_common.c: Likewise.
48520         * sunrpc/rpc_cout.c: Likewise.
48521         * sunrpc/rpc_dtable.c: Likewise.
48522         * sunrpc/rpc_hout.c: Likewise.
48523         * sunrpc/rpc_main.c: Likewise.
48524         * sunrpc/rpc_parse.c: Likewise.
48525         * sunrpc/rpc_parse.h: Likewise.
48526         * sunrpc/rpc_prot.c: Likewise.
48527         * sunrpc/rpc_sample.c: Likewise.
48528         * sunrpc/rpc_scan.c: Likewise.
48529         * sunrpc/rpc_scan.h: Likewise.
48530         * sunrpc/rpc_svcout.c: Likewise.
48531         * sunrpc/rpc_tblout.c: Likewise.
48532         * sunrpc/rpc_util.c: Likewise.
48533         * sunrpc/rpc_util.h: Likewise.
48534         * sunrpc/rpcinfo.c: Likewise.
48535         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48536         * sunrpc/rpcsvc/key_prot.x: Likewise.
48537         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48538         * sunrpc/rpcsvc/mount.x: Likewise.
48539         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48540         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48541         * sunrpc/rpcsvc/rex.x: Likewise.
48542         * sunrpc/rpcsvc/rstat.x: Likewise.
48543         * sunrpc/rpcsvc/rusers.x: Likewise.
48544         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48545         * sunrpc/rpcsvc/spray.x: Likewise.
48546         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48547         * sunrpc/rtime.c: Likewise.
48548         * sunrpc/svc.c: Likewise.
48549         * sunrpc/svc_auth.c: Likewise.
48550         * sunrpc/svc_authux.c: Likewise.
48551         * sunrpc/svc_raw.c: Likewise.
48552         * sunrpc/svc_run.c: Likewise.
48553         * sunrpc/svc_simple.c: Likewise.
48554         * sunrpc/svc_tcp.c: Likewise.
48555         * sunrpc/svc_udp.c: Likewise.
48556         * sunrpc/svc_unix.c: Likewise.
48557         * sunrpc/svcauth_des.c: Likewise.
48558         * sunrpc/xcrypt.c: Likewise.
48559         * sunrpc/xdr.c: Likewise.
48560         * sunrpc/xdr_array.c: Likewise.
48561         * sunrpc/xdr_float.c: Likewise.
48562         * sunrpc/xdr_mem.c: Likewise.
48563         * sunrpc/xdr_rec.c: Likewise.
48564         * sunrpc/xdr_ref.c: Likewise.
48565         * sunrpc/xdr_sizeof.c: Likewise.
48566         * sunrpc/xdr_stdio.c: Likewise.
48567
48568         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48569         handling.
48570
48571 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48572
48573         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48574
48575 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48576
48577         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48578         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48579         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48580         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48581         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48582         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48583         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48584         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48585         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48586         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48587         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48588         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48589         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48590         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48591
48592 2010-07-26  Anton Blanchard  <anton@samba.org>
48593
48594         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48595         * malloc/arena.c (heap_trim): Likewise.
48596
48597 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48598
48599         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48600         here.  Not...
48601         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48602         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48603
48604 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48605
48606         * sysdeps/i386/elf/Makefile: New file.
48607
48608 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48609
48610         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48611         from fanotify_init.
48612         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48613         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48614
48615 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48616
48617         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48618         of strncasecmp_l.
48619         * sysdeps/multiarch/strcmp.S: Likewise.
48620
48621 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48622
48623         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48624         strncase_l-nonascii.
48625         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48626         Add strncase_l-ssse3.
48627         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48628         * sysdeps/x86_64/strcmp.S: Likewise.
48629         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48630         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48631         * sysdeps/x86_64/strncase.S: New file.
48632         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48633         * sysdeps/x86_64/strncase_l.S: New file.
48634         * string/Makefile (strop-tests): Add strncasecmp.
48635         * string/test-strncasecmp.c: New file.
48636
48637         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48638         warning.
48639
48640         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48641         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48642
48643 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48644
48645         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48646
48647 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48648
48649         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48650         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48651         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48652
48653 2010-05-01  Alan Modra  <amodra@gmail.com>
48654
48655         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48656         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48657         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48658         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48659         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48660         tidying.  Don't tail-call __sigjmp_save for static lib.
48661         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48662         save location.
48663         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48664         (CALL_MCOUNT): Add eh info, and nop after bl.
48665         (TAIL_CALL_SYSCALL_ERROR): New macro.
48666         (PSEUDO_RET): Use it.
48667         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48668         Correct save location of integer regs and cr.
48669         (_dl_profile_resolve): Correct cr save location.  Delete nops
48670         after bl when SHARED.  Reduce cfi size a little by better
48671         placement of cfi directives.
48672         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48673         make a stack frame.  Instead use parm save area as a temp.
48674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48675         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48677         Don't make a stack frame for parent, use parm save area.
48678         Increase child stack frame to 112 bytes.  Don't save unused reg,
48679         and adjust reg usage.  Set up cfi on error recovery and
48680         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48682         (__makecontext): Add dummy nop after jump to exit.
48683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48684         Use correct parm save area and cr save, reduce stack frame.
48685         Correct cfi for possible PSEUDO_RET frame setup.
48686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48687         Branch to local label emitted by PSEUDO_RET rather than
48688         __syscall_error.
48689
48690 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48691
48692         [BZ #11904]
48693         * locale/programs/locale.c (print_assignment): New function.
48694         (show_locale_vars): Use it.
48695
48696 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48697
48698         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48699         field.
48700         (struct statfs64): Likewise.
48701         (_STATFS_F_FLAGS): Define.
48702         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48703         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48704         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48705         (ST_VALID): Define locally.
48706         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48707         __statvfs_getflags, use the provided value.
48708         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48709         __ASSUME_STATFS_F_FLAGS.
48710
48711         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48712
48713         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48714         Add sys/fanotify.h.
48715         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48716         fanotify_mask for GLIBC_2.13.
48717         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48718         fanotify_init and fanotify_mark.
48719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48720         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48721
48722         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48723         Add prlimit.
48724         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48725         prlimit64 for GLIBC_2.13.
48726         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48727         prlimit64.
48728         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48729         syscall.
48730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48731         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48732         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48733         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48734         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48735         add prlimit alias.
48736         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48737
48738         [BZ #11903]
48739         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48740         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48741
48742         * nss/Makefile: Add rules to build and run tst-nss-test1.
48743         * shlib-versions: Add entry for libnss_test1.
48744         * nss/nss_test1.c: New file.
48745         * nss/tst-nss-test1.c: New file.
48746
48747         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48748         (__nss_configure_lookup): Set appropriate entry in
48749         __nss_configure_lookup to true.
48750         * nss/nsswitch.h: Define enum with indeces of databases in
48751         databases and __nss_database_custom arrays.  Declare
48752         __nss_database_custom.
48753         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48754         to avoid using nscd when custom rules are installed.
48755         * nss/getXXbyYY_r.c: Likewise.
48756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48757
48758         * nss/nss_files/files-parse.c: Whitespace fixes.
48759
48760 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48761
48762         [BZ #11883]
48763         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48764         * posix/fnmatch_loop.c: Likewise.
48765
48766 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48767
48768         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48769         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48770         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48771         * Versions.def [GLIBC_2.13]: Add.
48772
48773 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48774
48775         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48776         Also fail if tpwd after pwuid call is NULL.
48777
48778 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48779
48780         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48781         when converting to ms.
48782
48783 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48784
48785         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48786         EOPNOTSUPP errors with ENOTTY.
48787         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48788         EOPNOTSUPP errors with ENOTTY.
48789
48790 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48791
48792         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48793         Add strcasecmp_l-ssse3.
48794         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48795         strcasecmp.
48796         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48797         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48798         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48799
48800 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48801
48802         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48803
48804         * string/Makefile (strop-tests): Add strcasecmp.
48805         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48806         strcasecmp_l-nonascii.
48807         (gen-as-const-headers): Add locale-defines.sym.
48808         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48809         * sysdeps/x86_64/strcasecmp.S: New file.
48810         * sysdeps/x86_64/strcasecmp_l.S: New file.
48811         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48812         * sysdeps/x86_64/locale-defines.sym: New file.
48813         * string/test-strcasecmp.c: New file.
48814
48815         * string/test-strcasestr.c: Test both ends of the range of characters.
48816         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48817
48818 2010-07-29  Roland McGrath  <roland@redhat.com>
48819
48820         [BZ #11856]
48821         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48822
48823 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48824
48825         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48826         for ld.so.
48827
48828 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48829
48830         * manual/memory.texi (Malloc Tunable Parameters): Document
48831         M_PERTURB.
48832
48833 2010-07-26  Roland McGrath  <roland@redhat.com>
48834
48835         [BZ #11840]
48836         * configure.in (-fgnu89-inline check): Set and substitute
48837         gnu89_inline, not libc_cv_gnu89_inline.
48838         * configure: Regenerated.
48839         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48840
48841 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48842
48843         * string/test-strnlen.c: New file.
48844         * string/Makefile (strop-tests): Add strnlen.
48845         * string/tester.c (test_strnlen): Add a few more test cases.
48846         * string/tst-strlen.c: Better error reporting.
48847
48848         * sysdeps/x86_64/strnlen.S: New file.
48849
48850 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48851
48852         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48853         lower-latency instructions.
48854
48855 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48856
48857         * string/test-strcasestr.c: New file.
48858         * string/test-strstr.c: New file.
48859         * string/Makefile (strop-tests): Add strstr and strcasestr.
48860         * string/str-two-way.h: Don't undefine MAX.
48861         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48862
48863 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48864
48865         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48866         strcasestr-nonascii.
48867         (CFLAGS-strcasestr-nonascii.c): Define.
48868         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48869         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48870         Remove unused attribute.
48871
48872 2010-07-20  Roland McGrath  <roland@redhat.com>
48873
48874         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48875         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48876         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48877         like LD_HWCAP_MASK can disable hwcaps.
48878
48879 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48880
48881         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48882
48883 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48884
48885         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48886         call in strcasestr.
48887         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48888         __strcasestr_sse42_nonascii.
48889         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48890         strcasestr-nonascii.c.
48891         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48892
48893 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48894
48895         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48896         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48897         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48898         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48899
48900 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48901
48902         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48903         fcntl.
48904
48905 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48906
48907         [BZ #11577]
48908         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48909         dl_signal_cerror.
48910
48911 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48912
48913         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48914         _PC_PIPE_BUF using F_GETPIPE_SZ.
48915
48916 2010-07-05  Roland McGrath  <roland@redhat.com>
48917
48918         * manual/arith.texi (Rounding Functions): Fix rint description
48919         implicit in round description.
48920
48921 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48922
48923         * elf/Makefile: Fix linking for a few tests to make recent linker
48924         happy.
48925
48926 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48927
48928         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48929         $(common-objpfx)libc_nonshared.a.
48930
48931 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48932
48933         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48934         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48935         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48936         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48937         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48938         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48939         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48940         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48955         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48956         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48957         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48958         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48959         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48960         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48961         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48962         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48963         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48964         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48965         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48966         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48981
48982 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48983
48984         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48985         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48986         * string/memmove.c (memmove): Renamed to ...
48987         (MEMMOVE): ...this.  Default to memmove.
48988         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48989         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48990         (END_CHK): Define.
48991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48992         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48993         mempcpy-ssse3-back memmove-ssse3-back.
48994         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48995         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48996         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48997         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48998         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48999         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49000         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49001         * sysdeps/x86_64/multiarch/memmove.c: New file.
49002         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49003         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49004         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49005         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49006         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49007         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49008         Define.
49009         (index_Fast_Copy_Backward): Define.
49010         (HAS_ARCH_FEATURE): Define.
49011         (HAS_FAST_REP_STRING): Define.
49012         (HAS_FAST_COPY_BACKWARD): Define.
49013
49014 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49015
49016         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49017         Restore proper fallback handling.
49018
49019 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49020
49021         [BZ #11701]
49022         * posix/group_member.c (__group_member): Correct checking loop.
49023
49024         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49025         OOM in getpwuid_r correctly.  Return error number when the caller
49026         should return, otherwise -1.
49027         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49028         call returning > 0 value.
49029         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49030
49031 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49032
49033         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49034         libc_nonshared.a from targets in modules-names.
49035
49036 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49037
49038         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49039         requires it.
49040
49041 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49042
49043         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49044         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49045         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49046         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49047
49048 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49049
49050         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49051
49052 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49053
49054         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49055         and F_GETPIPE_SZ.
49056         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49057         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49058         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49060         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49061         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49062
49063 2010-06-14  Roland McGrath  <roland@redhat.com>
49064
49065         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49066
49067 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49068
49069         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49070         __REDIRECT followed by __THROW.
49071         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49072         * posix/getopt.h (getopt): Likewise.
49073
49074 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49075
49076         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49077         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49078         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49079         in AT_FLAGS.
49080         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49081         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49082
49083 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49084
49085         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49086
49087 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49088
49089         [BZ #11640]
49090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49091         Properly check family and model.
49092
49093 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49094
49095         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49096
49097 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49098
49099         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49100
49101 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49102
49103         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49104         symbol reference.
49105
49106 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49107
49108         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49109         symbol reference.
49110
49111 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49112
49113         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49114         and internal_recvmmsg.
49115         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49116         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49117         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49118         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49119
49120         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49121         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49122         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49123
49124 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49125
49126         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49127
49128 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49129
49130         POWER7 optimizations.
49131         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49132         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49133
49134 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49135
49136         * version.h: Update for 2.13 development version.
49137
49138 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49139
49140         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49141         exceptions.  Return 0.
49142
49143 2010-05-07  Roland McGrath  <roland@redhat.com>
49144
49145         * elf/ldconfig.c (main): Add a const.
49146
49147 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49148
49149         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49150         (args_options): Add no-idn option.
49151         (ahosts_keys_int): Add idn_flags to ai_flags.
49152         (parse_option): Handle 'i' option to clear idn_flags.
49153
49154         * malloc/malloc.c (_int_free): Possible race in the most recently
49155         added check.  Only act on the data if no current modification
49156         happened.
49157
49158 See ChangeLog.17 for earlier changes.