Sync up loadmsgcat.c with gettext
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         Sync up with gettext.
4         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5         [_MSC_VER]: Include malloc.h
6         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9         TEMP_FAILURE_RETRY.  Cast return of alloca.
10         [!_LIBC] Call gl_rwlock_init.
11         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12
13 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14
15         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16         before checking its value.
17
18 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19
20         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
21
22         * debug/memcpy_chk.c: Don't include pagecopy.h.
23         * debug/mempcpy_chk.c: Likewise.
24         * string/memcpy.c: Likewise.
25         * string/memmove.c: Likewise.
26         * sysdeps/powerpc/memmove.c: Likewise.
27         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28         definition of PAGE_COPY_FWD_MAYBE here...
29         * sysdeps/generic/pagecopy.h: ... from here.
30         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31
32 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34
35         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37         optimizations.
38         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39         (__libc_ifunc_impl_list): Likewise.
40         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41         multiarch strcat for PPC64.
42         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
43         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
44
45 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46
47         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48
49 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50
51         * intl/loadmsgcat.c: Remove declaration of
52         get_sysdep_segment_value.
53         (get_sysdep_segment_value): Use ISO C style.
54         (_nl_load_domain): Use ISO C style.  Get rid of redundant
55         semicolon.  Fix typo and formatting in comment.
56         (_nl_unload_domain): Use ISO C style.
57
58         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
59
60 2014-07-02  Will Newton  <will.newton@linaro.org>
61
62         * malloc/obstack.c: Merge from gnulib master.
63         [HAVE_CONFIG_H]: Remove conditional code.
64         [!_LIBC]: Include config.h.
65         [!ELIDE_CODE]: Don't include inttypes.h, include
66         stdint.h unconditionally.
67         (print_and_abort): Mark as _Noreturn.
68         (_obstack_allocated_p): Mark as __attribute_pure__.
69         (obstack_free): Rename to __obstack_free.
70         [!__attribute__]: Remove conditional code.
71         * malloc/obstack.h: Merge from gnulib master.
72         [__cplusplus]: Move conditional down.
73         [!__attribute_pure__]: Define __attribute_pure__ here
74         if it is not already defined.
75         (_obstack_memory_used): Mark as __attribute_pure__.
76         [!__obstack_free]: Define as obstack_free.
77         [__GNUC__]: Remove check for ancient NeXT gcc.
78
79 2014-07-02  Will Newton  <will.newton@linaro.org>
80             Paul Eggert  <eggert@cs.ucla.edu>
81
82         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
83
84 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
85
86         * resolv/gethnamaddr.c: Add comment warning that the file is
87         not maintained.
88
89 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
90
91         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
92         entries.
93
94         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
95         entry for aio_cancel and aio_cancel64.
96         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
97         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
98         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
99         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
100         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
101         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
102         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
103         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
104         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
105         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
106         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
107         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
108         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
109
110 2014-07-01  Roland McGrath  <roland@hack.frob.com>
111
112         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
113         * nptl/pthread_mutex_lock.c: Likewise.
114         * nptl/pthread_mutex_timedlock.c: Likewise.
115         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
116
117 2014-07-01  Richard henderson  <rth@redhat.com>
118
119         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
120         (__isnan, __isnanl): Remove.
121         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
122
123         * sysdeps/alpha/fpu/libm-test-ulps: Update.
124
125 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
126
127         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
128
129 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
130
131         * resolv/nss_dns/dns-host.c (getanswer_r)
132         [MULTI_PTRS_ARE_ALIASES]: Remove code.
133
134 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
135
136         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
137         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
138         undefine.
139         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
140         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
141
142 2014-07-01  Roland McGrath <roland@hack.frob.com>
143
144         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
145         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
146
147         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
148         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
149
150         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
151         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
152         ... here.
153         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
154         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
155
156         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
157         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
158         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
159         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
160
161         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
162         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
163         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
164         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
165         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
166         Moved ...
167         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
168         ... here.
169         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
170         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
171         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
172         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
173         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
174         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
175         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
176         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
177         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
178         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
179         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
180         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
181         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
182         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
183         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
184         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
185         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
186         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
187         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
188         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
189         ... here.
190         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
191         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
192         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
193         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
194         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
195         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
196         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
197         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
198
199 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
200
201         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
202         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
203         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
204         Add sysdep.
205
206 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
207
208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
209
210 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
211
212         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
213         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
214
215         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
216
217         * sysdeps/arm/libm-test-ulps: Regenerated.
218
219 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
220             Roland McGrath <roland@hack.frob.com>
221
222         * test-skeleton.c (signal_handler): Kill the whole process group
223         before killing the child individually.
224         (main): Report any failure on `setpgid'.
225
226 2014-06-30  Roland McGrath  <roland@hack.frob.com>
227
228         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
229         from _TLS_H to _ARM_NPTL_TLS_H.
230         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
231         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
232
233 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
234
235         [BZ #16539]
236         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
237         (__expm1l): Return argument unchanged when small but not
238         subnormal.
239
240         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
241         include macro name.
242         (_FP_UNPACK_RAW_1_P): Likewise.
243         (_FP_PACK_RAW_1): Likewise.
244         (_FP_PACK_RAW_1_P): Likewise.
245         (_FP_MUL_MEAT_1_wide): Likewise.
246         (_FP_MUL_MEAT_DW_1_hard): Likewise.
247         (_FP_MUL_MEAT_1_hard): Likewise.
248         (_FP_DIV_MEAT_1_imm): Likewise.
249         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
250         (_FP_DIV_MEAT_1_udiv): Likewise.
251         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
252         (_FP_UNPACK_RAW_2): Likewise.
253         (_FP_UNPACK_RAW_2_P): Likewise.
254         (_FP_PACK_RAW_2): Likewise.
255         (_FP_PACK_RAW_2_P): Likewise.
256         (_FP_MUL_MEAT_DW_2_wide): Likewise.
257         (_FP_MUL_MEAT_2_wide): Likewise.
258         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
259         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
260         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
261         (_FP_MUL_MEAT_2_gmp): Likewise.
262         (_FP_DIV_MEAT_2_udiv): Likewise.
263         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
264         (_FP_FRAC_SRL_4): Likewise.
265         (_FP_FRAC_SRST_4): Likewise.
266         (_FP_FRAC_SRS_4): Likewise.
267         (_FP_UNPACK_RAW_4): Likewise.
268         (_FP_UNPACK_RAW_4_P): Likewise.
269         (_FP_PACK_RAW_4): Likewise.
270         (_FP_PACK_RAW_4_P): Likewise.
271         (_FP_MUL_MEAT_DW_4_wide): Likewise.
272         (_FP_MUL_MEAT_4_wide): Likewise.
273         (_FP_MUL_MEAT_4_gmp): Likewise.
274         (umul_ppppmnnn): Likewise.
275         (_FP_DIV_MEAT_4_udiv): Likewise.
276         (__FP_FRAC_ADD_4): Likewise.
277         (__FP_FRAC_SUB_3): Likewise.
278         (__FP_FRAC_SUB_4): Likewise.
279         (__FP_FRAC_DEC_3): Likewise.
280         (__FP_FRAC_DEC_4): Likewise.
281         (__FP_FRAC_ADDI_4): Likewise.
282         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
283         (_FP_FRAC_SRL_8): Likewise.
284         (_FP_FRAC_SRS_8): Likewise.
285
286         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
287         include macro name.
288         (FP_UNPACK_RAW_EP): Likewise.
289         (FP_PACK_RAW_E): Likewise.
290         (FP_PACK_RAW_EP): Likewise.
291         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
292         (_FP_ISSIGNAN): Likewise.
293         (_FP_ADD_INTERNAL): Likewise.
294         (_FP_FMA): Likewise.
295         (_FP_CMP): Likewise.
296         (_FP_SQRT): Likewise.
297         (_FP_TO_INT): Likewise.
298         (_FP_FROM_INT): Likewise.
299         (FP_EXTEND): Likewise.
300         (_FP_DIV_MEAT_N_loop): Likewise.
301
302 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
303
304         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
305         throughout.
306
307 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
308
309         [BZ #17097]
310         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
311         result with correct sign in case of exponents that produce
312         overflow except for X very close to 1.
313
314 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
315
316         mktime: merge #if/#ifdef usage from glibc
317         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
318         as that works with both Glibc's and Gnulib's style.
319         See thread starting at Siddhesh Poyarekar's bug report at:
320         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
321
322 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
323
324         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
325         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
326         * sysdeps/tile/tilegx/memmove.c: Remove file.
327
328 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
329
330         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
331         abi-name definition.
332         * scripts/soversions.awk: Do not handle or generate ABI lines.
333         * shlib-versions: Remove ABI entries.
334         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
335         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
336
337 2014-06-27  Roland McGrath  <roland@hack.frob.com>
338
339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
340         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
341         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
342         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
344         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
346         Moved ...
347         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
348         ... here.
349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
350         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
352         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
354         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
356         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
358         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
360         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
362         Moved ...
363         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
365         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
367         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
369         Moved ...
370         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
371         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
372         Moved ...
373         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
375         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
377         Moved ...
378         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
380         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
382         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
384         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
385         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
386         Moved ...
387         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
388         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
389         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
390         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
391         Moved ...
392         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
393         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
394         Moved ...
395         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
396         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
397         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
398         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
399         Moved ...
400         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
401         ... here.
402         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
403         Identical file removed.
404         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
405         Moved ...
406         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
408         Identical file removed.
409         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
410         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
411         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
412         Moved ...
413         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
414         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
415         Identical file removed.
416         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
417         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
419         Identical file removed.
420         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
421         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
422         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
423         Identical file removed.
424         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
425         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
426         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
427         Identical file removed.
428         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
429         Moved ...
430         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
432         Identical file removed.
433         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
434         Moved ...
435         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
436         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
437         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
438         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
439         Identical file removed.
440         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
441         Moved ...
442         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
443         ... here.
444         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
445         Identical file removed.
446         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
447         Moved ...
448         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
449         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
450         Identical file removed.
451         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
452         Moved ...
453         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
455         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
456         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
457         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
458         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
459         Moved ...
460         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
461         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
462         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
463
464         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
465         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
466         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
467         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
468         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
469
470 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
471
472         [BZ #17092]
473         * nscd/nscd.c (monitor_child): Return exit status of child
474         instead of return value from wait syscall.
475
476 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
477
478         * configure.ac (libc_commonpagesize): Remove variable.
479         (libc_relro_required): Likewise.
480         (libc_cv_z_relro): Remove configure test.
481         * configure: Regenerated.
482         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
483         variable.
484         (libc_relro_required): Likewise.
485         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
486         (libc_relro_required): Likewise.
487         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
488         (libc_relro_required): Likewise.
489         * sysdeps/arm/preconfigure: Regenerated.
490         * sysdeps/ia64/preconfigure: Remove file.
491         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
492         variable.
493         (libc_relro_required): Likewise.
494
495         [BZ #16561]
496         [BZ #16562]
497         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
498         (__ieee754_yn): Set FE_TONEAREST mode internally and then
499         recompute overflowing results in original rounding mode.
500         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
501         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
502         recompute overflowing results in original rounding mode.
503         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
504         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
505         recompute overflowing results in original rounding mode.
506         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
507         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
508         recompute overflowing results in original rounding mode.
509         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
510         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
511         recompute overflowing results in original rounding mode.
512         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
513         (libc_feholdsetround_ctx): New macro.
514         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
515         * sysdeps/i386/fpu/libm-test-ulps: Update.
516         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
517
518 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
519
520         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
521         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
522         corresponding .cpsetup call.
523
524 2014-06-26  Roland McGrath  <roland@hack.frob.com>
525
526         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
527         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
528         * sysdeps/arm/Makefile [$(subdir) = csu]
529         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
530         (static-only-routines): Add aeabi_read_tp here.
531         (shared-only-routines): Add libc-aeabi_read_tp here.
532         (CFLAGS-libc-start.c): Add -fexceptions here.
533         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
534         (sysdep_routines, static-only-routines, shared-only-routines):
535         Don't add to these here.
536         (CFLAGS-libc-start.c): Likewise.
537
538         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
539         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
540         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
541         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
542         * sysdeps/arm/Makefile [$(subdir) = rt]
543         (librt-sysdep_routines, librt-shared-only-routines):
544         Append rt-aeabi_unwind_cpp_pr1 here.
545         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
546         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
547         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
548         (libpthread-sysdep_routines, libpthread-shared-only-routines):
549         Append nptl-aeabi_unwind_cpp_pr1 here.
550         (tests): Filter out tst-cleanupx4 here.
551         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
552         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
553         Don't do those here.
554
555 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
556
557         * scripts/list-sources.sh: Do not handle ports specially.
558
559 2014-06-26  Roland McGrath  <roland@hack.frob.com>
560
561         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
562         * sysdeps/arm/feupdateenv.c: Likewise.
563
564         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
565
566 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
567
568         * manual/texinfo.tex: Update to version 2014-05-05.10 with
569         trailing whitespace removed.
570         * scripts/config.guess: Update to version 2014-03-23.
571         * scripts/config.sub: Update to version 2014-05-01
572         * scripts/install-sh: Update to version 2013-12-25.23.
573         * scripts/move-if-change: Update from gnulib.
574
575 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
576
577         * debug/memmove_chk.c: Remove pagecopy.h include.
578
579 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
580
581         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
582         identical to gnulib mktime.
583
584 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
585
586         * configure.ac: Do not test for machine being rs6000.  Do not test
587         for powerpc*-*soft.
588         * configure: Regenerated.
589
590         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
591         test.
592         * configure: Regenerated.
593         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
594         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
595         Remove configure test.
596         * sysdeps/arm/configure: Regenerated.
597         * sysdeps/nptl/configure.ac: Do not check
598         libc_cv_asm_cfi_directives.
599         * sysdeps/nptl/configure: Regenerated.
600         * sysdeps/x86_64/nptl/configure.ac: Remove file.
601         * sysdeps/x86_64/nptl/configure: Remove generated file.
602         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
603         unconditional.
604         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
605
606 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
607
608         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
609         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
610         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
611         it is defined.
612
613         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
614         instead of whether it is defined.
615         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
616         * sysdeps/hppa/dl-machine.h: Likewise.
617         * sysdeps/ia64/dl-machine.h: Likewise.
618         * sysdeps/m68k/dl-machine.h: Likewise.
619         * sysdeps/microblaze/dl-machine.h: Likewise.
620         * sysdeps/mips/dl-machine.: Likewise.
621         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
622         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
623         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
624         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
625         * sysdeps/sh/dl-machine.h: Likewise.
626         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
627         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
628         * sysdeps/tile/dl-machine.h: Likewise.
629         * sysdeps/x86_64/dl-machine.h: Likewise.
630
631         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
632         code.
633         (verify_persistent_db): Likewise.
634
635 2014-06-26  Roland McGrath  <roland@hack.frob.com>
636
637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
638         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
640         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
642         Moved ...
643         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
644         ... here.
645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
646         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
648         Identical file removed.
649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
650         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
652         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
654         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
656         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
658         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
660         Moved ...
661         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
663         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
665         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
667         Moved ...
668         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
670         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
672         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
674         Identical file removed.
675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
676         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
678         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
680         Moved ...
681         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
682         ... here.
683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
684         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
686         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
688         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
690         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
692         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
694         Moved ...
695         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
697         Moved ...
698         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
700         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
702         Moved ...
703         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
705         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
706
707         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
708         folded into ...
709         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
710         * sysdeps/unix/sysv/linux/s390/Versions
711         (libpthread: GLIBC_2.19): New version set.
712         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
713         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
714         (librt: GLIBC_2.3.3): New version set.
715         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
716         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
717         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
718         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
719         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
720         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
721         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
722         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
723         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
724         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
725         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
726         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
727         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
728         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
729         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
730         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
731         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
732         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
733         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
734         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
735         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
736         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
737         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
738         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
739         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
740         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
741         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
742         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
743         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
744         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
745         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
746         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
747         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
748         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
751         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
753         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
755         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
757         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
759         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
760
761         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
762         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
763         (__libc_vfork): Define the function under this name.
764         [!NOT_IN_libc] (__vfork): Make this an alias.
765         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
767         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
768         (__libc_vfork): Define the function under this name.
769         [!NOT_IN_libc] (__vfork): Make this an alias.
770         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
771         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
772         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
773         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
774         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
775         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
776
777         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
778         code that was previously under [RESET_PID].
779         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
780         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
781         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
782
783         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
784         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
785         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
786         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
787         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
788         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
789         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
790         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
791         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
792         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
793         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
794         Moved ...
795         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
796         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
797         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
798         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
799         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
800         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
801         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
802         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
803         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
804         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
805         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
806         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
807         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
808         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
809         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
810         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
811         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
812         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
813         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
814         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
815         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
816         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
817         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
818         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
819         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
820         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
821         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
822         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
823         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
824
825 2014-06-25  Roland McGrath  <roland@hack.frob.com>
826
827         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
828         that was previously under [RESET_PID].
829         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
830
831 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
832
833         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
834         not undefine and redefine.
835         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
836         [O_CLOEXEC]: Make code unconditional.
837         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
838         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
839         <kernel-features.h>.
840         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
841         conditional variable definition.
842         (shm_open) [O_CLOEXEC]: Make code unconditional.
843         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
844         code.
845
846         * configure.ac (USE_REGPARMS): Don't define here.
847         * configure: Regenerated.
848         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
849         * sysdeps/i386/configure: Regenerated.
850
851         * nptl/createthread.c: Don't include kernel-features.h.
852         * nptl/pthread_cancel.c: Likewise.
853         * nptl/pthread_condattr_setclock.c: Likewise.
854         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
855         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
856         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
857         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
858         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
859         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
860         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
861         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
862         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
863         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
864         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
865         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
866         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
867         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
868         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
869         * nscd/gai.c: Likewise.
870         * nss/nss_db/db-open.c: Likewise.
871         * sysdeps/generic/ldsodefs.h: Likewise.
872         * sysdeps/sh/nptl/tls.h: Likewise.
873         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
874         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
875         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
876         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
877         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
878         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
879         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
880         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
881         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
882         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
883         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
884         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
885         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
886         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
887         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
888         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
889         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
890         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
891         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
892         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
893         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
895         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
896         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
901         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
902         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
903         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
904         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
905         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
906         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
907         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
908         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
909         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
910         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
911         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
912         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
913         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
914         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
915         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
916         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
917         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
918         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
919         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
920         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
921         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
922         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
923         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
924         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
925         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
926         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
927         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
928         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
929         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
930         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
953         * sysdeps/unix/sysv/linux/pread.c: Likewise.
954         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
955         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
956         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
957         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
958         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
959         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
960         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
961         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
962         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
963         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
964         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
965         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
966         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
967         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
968         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
969         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
970         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
971         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
972         * sysdeps/unix/sysv/linux/system.c: Likewise.
973         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
974         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
975         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
976         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
977         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
978         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
979         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
980
981         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
982         * configure: Regenerated.
983         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
984
985         * configure.ac (base_machine): Do not set specially for particular
986         machines here.
987         * configure: Regenerated.
988         * sysdeps/powerpc/preconfigure: Move machine and base_machine
989         settings from configure.ac.
990         * sysdeps/i386/preconfigure: New file.
991         * sysdeps/s390/preconfigure: Likewise.
992         * sysdeps/sh/preconfigure: Likewise.
993         * sysdeps/sparc/preconfigure: Likewise.
994
995 2014-06-25  Roland McGrath  <roland@hack.frob.com>
996
997         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
998         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
999         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1000         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1001         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1002         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1003         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1004         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1005         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1006         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1007         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1008         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1009         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1010         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1011         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1012         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1013         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1014         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1015         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1016
1017         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1018         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1019         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1020         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1021         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1022         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1023         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1024         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1025         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1026         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1027         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1028         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1029         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1030         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1031         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1032         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1033         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1034         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1035         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1036         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1037         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1038         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1039         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1040         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1041         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1042         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1043         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1044         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1045         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1046         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1047         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1048         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1049         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1050         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1051         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1052         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1053         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1054         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1055
1056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1057         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1059         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1061         Moved ...
1062         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1063         ... here.
1064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1065         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1067         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1069         Moved ...
1070         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1072         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1074         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1076         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1078         Moved ...
1079         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1081         Moved ...
1082         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1084         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1086         Moved ...
1087         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1089         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1091         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1093         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1095         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1097         Moved ...
1098         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1099         ... here.
1100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1101         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1103         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1105         Moved ...
1106         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1108         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1110         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1112         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1114         Moved ...
1115         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1117         Moved ...
1118         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1120         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1122         Moved ...
1123         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1125         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1127         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1128
1129 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1130
1131         * timezone/checktab.awk: Update from tzcode 2014e.
1132         * timezone/private.h: Likewise.
1133         * timezone/tzfile.h: Likewise.
1134         * timezone/zdump.c: Likewise.
1135         * timezone/zic.c: Likewise.
1136
1137         * sysdeps/unix/sysv/linux/kernel-features.h
1138         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1139         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1140         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1141         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1142         Remove conditional code.
1143
1144 2014-06-25  Will Newton  <will.newton@linaro.org>
1145
1146         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1147         (_dl_arm_cap_flags): Add HWCAP2 values.
1148         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1149         (_DL_HWCAP_COUNT): Increase to 37.
1150         (_DL_HWCAP_LAST): New define.
1151         (_DL_HWCAP2_LAST): New define.
1152         (_dl_procinfo): Add support for printing
1153         AT_HWCAP2 entries.
1154         (_dl_string_hwcap): Use _dl_hwcap_string.
1155
1156 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1157
1158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1159
1160 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1161
1162         * README: Do not mention ports directory.
1163
1164         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1165         Remove macro.
1166         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1167         <kernel-features.h>.
1168         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1169         conditional variable definition.
1170         (__futimes): Update comment.
1171         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1172         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1173
1174         [BZ #16560]
1175         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1176         arguments close to 0.
1177         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1178         Likewise.
1179         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1180         Likewise.
1181         * math/auto-libm-test-in: Add more tests of exp10.
1182         * math/auto-libm-test-out: Regenerated.
1183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1184
1185         * sysdeps/unix/sysv/linux/kernel-features.h
1186         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1187         * sysdeps/unix/sysv/linux/readv.c: Do not include
1188         <kernel-features.h>.
1189         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1190         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1191         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1192         unconditional.
1193         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1194         conditional code.
1195         * sysdeps/unix/sysv/linux/writev.c: Do not include
1196         <kernel-features.h>.
1197         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1198         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1199         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1200         unconditional.
1201         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1202         conditional code.
1203
1204 2014-06-25  Will Newton  <will.newton@linaro.org>
1205
1206         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1207         comment changes throughout the file.  Remove checks
1208         for HAVE_*_H definitions that are not required.
1209         (__gen_tempname): Call abort if an unknown kind value is
1210         passed.
1211
1212 2014-06-25  Andreas Schwab  <schwab@suse.de>
1213
1214         [BZ #17086]
1215         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1216         scalbln, scalblnf, scalblnl in libc.
1217
1218 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1219
1220         [BZ #17086]
1221         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1222         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1223         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1224
1225 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1226
1227         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1228         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1229         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1230         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1231         Update #include.
1232         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1233         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1234         Update #include.
1235         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1236         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1237         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1238         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1239         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1240         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1241         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1242         * sysdeps/x86/bits/semaphore.h: ... here.
1243         * sysdeps/x86/nptl/elide.h: Moved ...
1244         * sysdeps/x86/elide.h: ... here.
1245         * sysdeps/x86_64/nptl/Implies: File removed.
1246         * sysdeps/i386/nptl/Implies: File removed.
1247
1248 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1249
1250         [BZ #16539]
1251         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1252         return the argument for normal arguments with exponent below -64.
1253         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1254         Likewise.
1255         * math/auto-libm-test-in: Add another test of expm1.
1256         * math/auto-libm-test-out: Regenerated.
1257
1258         [BZ #16287]
1259         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1260         calling __erfcl for arguments at least 16.
1261         * math/auto-libm-test-in: Add more tests of erf.
1262         * math/auto-libm-test-out: Regenerated.
1263
1264         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1265         individual architectures.
1266         * sysdeps/unix/sysv/linux/configure: Regenerated.
1267         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1268         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1269         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1270         (ldd_rewrite_script): Define variable.
1271         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1273         file.
1274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1275         generated file.
1276         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1277         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1278         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1279         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1280         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1281         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1282         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1283         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1284
1285 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1286
1287         [BZ #17084]
1288         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1289         Rename member __data.d to __data.__elision_data.
1290
1291 2014-06-24  Wilco  <wdijkstr@arm.com>
1292
1293         * NEWS: Add 16918 to fixed bug list.
1294
1295 2014-06-24  Wilco  <wdijkstr@arm.com>
1296
1297         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1298
1299 2014-06-24  Wilco  <wdijkstr@arm.com>
1300
1301         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1302         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1303         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1304         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1305         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1306         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1307         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1308         Use _FPU_MASK_RM.
1309
1310 2014-06-24  Wilco  <wdijkstr@arm.com>
1311
1312         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1313
1314 2014-06-24  Wilco  <wdijkstr@arm.com>
1315
1316         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1317         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1318         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1319         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1320
1321 2014-06-24  Wilco  <wdijkstr@arm.com>
1322
1323         [BZ #16918]
1324         * sysdeps/arm/feupdateenv.c (feupdateenv):
1325         Rewrite to reduce FPSCR accesses and fix return value.
1326
1327 2014-06-24  Wilco  <wdijkstr@arm.com>
1328
1329         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1330         Optimize to avoid unnecessary FPSCR writes.
1331         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1332         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1333         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1334         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1335
1336 2014-06-24  Wilco  <wdijkstr@arm.com>
1337
1338         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1339         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1340         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1341         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1342         Call libc_fetestexcept_vfp.
1343         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1344         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1345         __SOFTFP__ ifdef so that they can be built for softfp.
1346
1347 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1348
1349         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1350         argument type signed char.
1351
1352         * Makerules (check-abi): Dump diff of symlist if the test
1353         fails.
1354
1355 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1356
1357         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1358         using abort.
1359
1360         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1361         Remove unused variable ST.
1362
1363 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1364
1365         [BZ #16354]
1366         [BZ #17061]
1367         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1368         small arguments before calling __expm1.
1369         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1370         small arguments before calling __expm1f.
1371         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1372         small arguments before calling __expm1l.
1373         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1374         Likewise.
1375         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1376         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1377         spurious underflow for some cosh tests.
1378         * math/auto-libm-test-out: Regenerated.
1379         * sysdeps/i386/fpu/libm-test-ulps: Update.
1380
1381         [BZ #17050]
1382         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1383         (__ieee754_y1): Set errno if return value overflows.
1384         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1385         (__ieee754_y1f): Set errno if return value overflows.
1386         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1387         (__ieee754_y1l): Set errno if return value overflows.
1388         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1389         (__ieee754_y1l): Set errno if return value overflows.
1390         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1391         * math/auto-libm-test-out: Regenerated.
1392
1393         * math/gen-auto-libm-tests.c: Document use of
1394         ignore-zero-inf-sign.
1395         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1396         (input_flags): Add ignore-zero-inf-sign.
1397         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1398         * math/gen-libm-test.pl (generate_testfile): Handle
1399         ignore-zero-inf-sign.
1400         * math/auto-libm-test-in: Mark some cpow tests with
1401         ignore-zero-inf-sign and some with xfail-rounding.
1402         * math/auto-libm-test-out: Regenerated.
1403         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1404         * sysdeps/i386/fpu/libm-test-ulps: Update.
1405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1406
1407         [BZ #16315]
1408         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1409         overflowing or underflowing operations take place with sign of
1410         result.
1411         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1412         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1413         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1414         (__ieee754_pow): Recompute overflowing and underflowing results in
1415         original rounding mode.
1416         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1417         (__powl_helper): Allow negative argument X and scale negated value
1418         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1419         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1420         overflowing or underflowing operations take place with sign of
1421         result.
1422         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1423         Include <math.h>.
1424         * math/auto-libm-test-in: Add more tests of pow.
1425         * math/auto-libm-test-out: Regenerated.
1426         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1427         (pow_tonearest_test_data): Remove.
1428         (pow_test_tonearest): Likewise.
1429         (pow_towardzero_test_data): Likewise.
1430         (pow_test_towardzero): Likewise.
1431         (pow_downward_test_data): Likewise.
1432         (pow_test_downward): Likewise.
1433         (pow_upward_test_data): Likewise.
1434         (pow_test_upward): Likewise.
1435         (main): Don't call removed functions.
1436         * sysdeps/i386/fpu/libm-test-ulps: Update.
1437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1438
1439 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1440
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1442         Moved ...
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1445         Moved ...
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1448         Moved ...
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1451         Moved ...
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1454         File removed.
1455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1456         File removed.
1457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1458         File removed.
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1460         File removed.
1461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1462         File removed.
1463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1464         File removed.
1465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1466         File removed.
1467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1468         File removed.
1469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1470         File removed.
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1472         File removed.
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1474         File removed.
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1476         File removed.
1477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1478         Moved ...
1479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1481         Moved ...
1482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1483         ... here.
1484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1485         Moved ...
1486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1488         Moved ...
1489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1491         Moved ...
1492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1494         Moved ...
1495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1497         Moved ...
1498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1500         Moved ...
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1503         Moved ...
1504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1507         ... here.
1508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1509         Moved ...
1510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1512         Moved ...
1513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1514         ... here.
1515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1516         Moved ...
1517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1518         ... here.
1519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1520         Moved ...
1521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1522         ... here.
1523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1524         Moved ...
1525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1527         Moved ...
1528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1532         Moved ...
1533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1534         ... here.
1535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1536         Moved ...
1537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1538         ... here.
1539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1540         Moved ...
1541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1543         Moved ...
1544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1546         Moved ...
1547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1549         Moved ...
1550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1552         Moved ...
1553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1554         ... here.
1555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1556         Moved ...
1557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1559         Moved ...
1560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1562         Moved ...
1563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1565         Moved ...
1566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1570         Moved ...
1571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1573         Moved ...
1574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1576         Moved ...
1577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1578         ... here.
1579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1580         Moved ...
1581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1582         ... here.
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1584         Moved ...
1585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1586         ... here.
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1588         Moved ...
1589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1591         Moved ...
1592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1594         Moved ...
1595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1597         Moved ...
1598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1599         ... here.
1600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1601         Moved ...
1602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1603         ... here.
1604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1605         Moved ...
1606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1607         ... here.
1608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1609         Moved ...
1610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1612         Moved ...
1613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1614
1615 2014-06-23  Will Newton  <will.newton@linaro.org>
1616             Wilco  <wdijkstr@arm.com>
1617
1618         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1619         implementation.  Include get-rounding-mode.h.
1620         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1621         [!libc_feholdsetround_noex_ctx]: Define
1622         libc_feholdsetround_noex_ctx.
1623         [!libc_feholdsetround_noexf_ctx]: Define
1624         libc_feholdsetround_noexf_ctx.
1625         [!libc_feholdsetround_noexl_ctx]: Define
1626         libc_feholdsetround_noexl_ctx.
1627         (libc_feholdsetround_ctx): New function.
1628         (libc_feresetround_ctx): New function.
1629         (libc_feholdsetround_noex_ctx): New function.
1630         (libc_feresetround_noex_ctx): New function.
1631
1632 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1633
1634         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1635         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1636         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1637         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1638         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1639         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1640
1641         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1642         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1643         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1644         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1645         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1646         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1648         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1650         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1652         Moved ...
1653         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1654         ... here.
1655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1656         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1657         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1658         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1660         Moved ...
1661         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1662         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1663         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1665         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1667         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1669         Moved ...
1670         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1671         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1672         Moved ...
1673         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1674         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1675         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1676         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1677         Moved ...
1678         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1679         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1680         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1681         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1682         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1683         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1684         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1685         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1686         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1687         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1688         Moved ...
1689         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1690         ... here.
1691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1692         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1694         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1696         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1697         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1698         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1699         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1700         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1701         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1702         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1703         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1704         Moved ...
1705         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1706         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1707         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1708         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1709         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1711         Moved ...
1712         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1713         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1714         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1715         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1716         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1717
1718         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1719         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1720         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1721         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1722         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1723         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1724         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1725         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1726         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1727         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1728         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1729         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1730         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1731         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1732         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1733         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1734         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1735         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1736         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1737         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1738         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1739         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1740         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1741         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1742         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1743         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1744         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1745         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1746
1747 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1748
1749         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1750         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1751         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1752         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1753         (IPV6_PMTUDISC_INTERFACE): Likewise.
1754         (IPV6_PMTUDISC_OMIT): Likewise.
1755
1756 2014-06-23  Andreas Schwab  <schwab@suse.de>
1757
1758         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1759         Remove unused errout label.
1760
1761 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1762
1763         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1764         macro: hardware supports Vector Crypto instructions.
1765
1766 2014-06-23  Will Newton  <will.newton@linaro.org>
1767
1768         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1769         rather than __builtin_expect.
1770
1771         * elf/dl-lookup.c (undefined_msg): Remove variable.
1772         (_dl_lookup_symbol_x): Replace undefined_msg with string
1773         literal.
1774
1775         * elf/dl-lookup.c (do_lookup_unique): New function.
1776         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1777         to a separate function.
1778
1779 2014-06-23  Andreas Schwab  <schwab@suse.de>
1780
1781         [BZ #17079]
1782         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1783         before reading the next line.
1784
1785 2014-06-23  Will Newton  <will.newton@linaro.org>
1786
1787         * test-skeleton.c (signal_handler): Use printf and %m
1788         rather than perror.  Use printf rather than fprintf to
1789         stderr.  Use puts rather than fputs to stderr.
1790         (main): Likewise.
1791
1792 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1793
1794         * nscd/nscd.c (thread_info_t): Remove typedef.
1795         (thread_info): Remove variable.
1796
1797 2014-06-21  Allan McRae  <allan@archlinux.org>
1798
1799         * NEWS: Mention CVE-2014-4043.
1800
1801 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1802
1803         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1804         * nptl/smp.h: ... here.
1805
1806         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1807
1808         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1809         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1810         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1811         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1812
1813         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1814         * nptl/stack-aliasing.h: New file.
1815         * sysdeps/i386/i686/stack-aliasing.h: New file.
1816         * sysdeps/i386/i686/nptl/Makefile: File removed.
1817         * sysdeps/x86_64/stack-aliasing.h: New file.
1818         * sysdeps/x86_64/nptl/Makefile
1819         (CFLAGS-pthread_create.c): Variable removed.
1820
1821         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1822         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1823         old file.
1824         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1825         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1826         old file.
1827
1828 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1829
1830         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1831         (__ASSUME_SIGFRAME_V2): Remove macro.
1832         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1833         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1834         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1835         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1836         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1837         Declare as function.  Remove conditional macro definitions.
1838         (__default_rt_sa_restorer): Likewise.
1839         (__default_sa_restorer_v1): Remove declaration.
1840         (__default_sa_restorer_v2): Likewise.
1841         (__default_rt_sa_restorer_v1): Likewise.
1842         (__default_rt_sa_restorer_v2): Likewise.
1843         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1844         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1845         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1846
1847 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1848
1849         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1850         (libpthread-routines): Add sysdep.
1851         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1852         * sysdeps/unix/sysv/linux/sparc/Versions
1853         (libpthread: GLIBC_2.3.3): New version set.
1854         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1855         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1856         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1857         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1858         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1859         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1860         Moved ...
1861         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1862         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1863         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1864         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1865         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1866         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1867         * sysdeps/sparc/nptl/sem_init.c: ... here.
1868         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1869         * sysdeps/sparc/nptl/sem_post.c: ... here.
1870         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1871         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1872         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1873         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1874         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1875         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1876         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1877         (libpthread-routines): Add cpu_relax.
1878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1879         File removed.
1880         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1881         (librt: GLIBC_2.3.3): New version set.
1882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1883         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1884         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1885         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1888         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1890         Moved ...
1891         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1893         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1895         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1897         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1899         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1901         Moved ...
1902         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1903         Update #include.
1904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1905         Moved ...
1906         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1907         Update #include.
1908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1909         Moved ...
1910         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1911         Update #include.
1912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1913         Moved ...
1914         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1915         Update #include.
1916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1917         Moved ...
1918         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1919         Update #include.
1920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1921         Moved ...
1922         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1923         Update #include.
1924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1925         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1927         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1929         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1931         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1933         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1935         Moved ...
1936         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1938         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1940         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1941
1942 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1943
1944         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1945         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1946         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1947         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1948         * nscd/nscd.c: Likewise.
1949         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1950         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1951         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1952         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1953
1954         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1955         <kernel-features.h>.
1956         (init_mq_netlink): Remove conditional have_sock_cloexec
1957         definitions.  Remove code conditional on have_sock_cloexec < 0.
1958         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1959         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1960         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1961         <kernel-features.h>.
1962         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1963         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1964
1965 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1966
1967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1968         Add tests for memset_chk and memset.
1969
1970         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1971         with AVX2_Usable.
1972
1973 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1974
1975         [BZ #16046]
1976         * elf/tst-dl-iter-static.c: New file.
1977         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1978
1979         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1980         error.
1981
1982 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1983
1984         * sysdeps/unix/sysv/linux/kernel-features.h
1985         (__ASSUME_F_GETOWN_EX): Remove macro.
1986         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1987         <kernel-features.h>.
1988         (miss_F_GETOWN_EX): Remove variable or macro.
1989         (do_fcntl): Do not check miss_F_GETOWN_EX.
1990         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1991
1992         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1993         Remove macro.
1994         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1995         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1996         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1997
1998         * sysdeps/unix/sysv/linux/kernel-features.h
1999         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2000         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2001         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2002         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2003
2004 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2005
2006         [BZ #17075]
2007         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2008         Fix calculation of the symbol's value.
2009         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2010         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2011         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2012         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2013         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2014         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2015         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2016         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2017         (modules-names): Add `tst-armtlsdescmod',
2018         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2019         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2020         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2021         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2022         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2023         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2024         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2025         ($(objpfx)tst-armtlsdescloc): New dependency.
2026         ($(objpfx)tst-armtlsdescextnow): Likewise.
2027         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2028         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2029         TLS scheme support.
2030         * sysdeps/arm/configure: Regenerate.
2031
2032 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2033
2034         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2035         (__atfct_seterrno_2): Likewise.
2036         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2037         <kernel-features.h>.
2038         (__ASSUME_ATFCTS): Do not undefine and redefine.
2039         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2040         (__have_atfcts): Remove conditional definition.
2041         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2042         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2043         unreachable if [__ASSUME_ATFCTS].
2044         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2045         not undefine and redefine.
2046         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2047         <kernel-features.h>.
2048         (faccessat) [__NR_faccessat]: Make code unconditional.
2049         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2050         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2051         <kernel-features.h>.
2052         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2053         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2054         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2055         <kernel-features.h>.
2056         (fchownat) [__NR_fchownat]: Make code unconditional.
2057         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2058         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2059         <kernel-features.h>.
2060         (futimesat) [__NR_futimesat]: Make code unconditional.
2061         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2062         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2063         <kernel-features.h>.
2064         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2065         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2066         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2067         <kernel-features.h>.
2068         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2069         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2070         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2071         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2072         <kernel-features.h>.
2073         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2074         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2075         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2076         <kernel-features.h>.
2077         (linkat) [__NR_linkat]: Make code unconditional.
2078         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2079         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2080         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2081         <kernel-features.h>.
2082         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2083         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2084         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2085         <kernel-features.h>.
2086         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2087         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2088         * sysdeps/unix/sysv/linux/openat.c: Do not include
2089         <kernel-features.h>.
2090         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2091         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2092         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2093         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2094         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2095         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2096         <kernel-features.h>.
2097         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2098         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2099         result of INLINE_SYSCALL directly, not via int variable.
2100         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2101         <kernel-features.h>.
2102         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2103         (renameat) [__NR_renameat]: Make code unconditional.
2104         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2105         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2106         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2107         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2108         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2109         (__ASSUME_ATFCTS): Do not undefine and redefine.
2110         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2111         <kernel-features.h>.
2112         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2113         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2114         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2115         <kernel-features.h>.
2116         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2117         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2118         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2119         (__ASSUME_ATFCTS): Do not undefine and redefine.
2120         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2121         <kernel-features.h>.
2122         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2123         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2124         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2125         <kernel-features.h>.
2126         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2127         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2128
2129 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2130
2131         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2132
2133 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2134
2135         [BZ #17069]
2136         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2137         constructed tree before returning error.
2138         * posix/bug-regexp36.c: Expand test case.
2139
2140 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2141
2142         [BZ #6803]
2143         * math/libm-test.inc (scalbln_test_date):
2144         Add errno expectations.
2145         * math/w_scalblnf.c: New File.
2146         Add wrapper which checks for setting errno to ERANGE.
2147         Add weak_alias for corresponding scalbln function.
2148         * math/w_scalbln.c: Likewise.
2149         * math/w_scalblnl.c: Likewise.
2150         * math/Makefile (libm-calls): Add w_scalbln.
2151         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2152         Remove weak_alias for corresponding scalbln function.
2153         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2154         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2155         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2156         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2157         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2158         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2159         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2160         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2161         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2162         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2163         Remove long_double_symbol for scalblnl function in libm, libc.
2164         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2165         Add wrapper which checks for setting errno to ERANGE.
2166         Add long_double_symbol for scalblnl function in libm, libc.
2167         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2168         Remove long_double_symbol for scalblnl in libm.
2169         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2170         Add wrapper which checks for setting errno to ERANGE.
2171         Add long_double_symbol for scalblnl function in libm.
2172         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2173         Do not use wrapper because of own implementation.
2174
2175 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2176
2177         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2178         3 bytes for __pad1 for x32.
2179         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2180
2181 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2182             H.J. Lu  <hongjiu.lu@intel.com>
2183
2184         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2185         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2186         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2187         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2188         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2189
2190 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2191
2192         [BZ #17069]
2193         * posix/regcomp.c (parse_expression): Deallocate partially
2194         constructed tree before returning error.
2195         * posix/Makefile.c (tests): Add bug-regex36.
2196         (generated): Add bug-regex36.mtrace.
2197         (tests-special): Add $(objpfx)bug-regex36-mem.out
2198         (bug-regex36-ENV): New variable.
2199         ($(objpfx)bug-regex36-mem.out): New rule.
2200         * posix/bug-regex36.c: New file.
2201
2202 2014-06-19  Will Newton  <will.newton@linaro.org>
2203
2204         * malloc/malloc.c (systrim): If extra is zero then return
2205         early.
2206
2207 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2208
2209         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2210
2211 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2212
2213         * sysdeps/aarch64/strchr.S: New file.
2214
2215 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2216
2217         [BZ #17022]
2218         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2219         from arguments -2 or below.
2220         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2221         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2222
2223 2014-06-18  Andreas Schwab  <schwab@suse.de>
2224
2225         [BZ #17062]
2226         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2227         of a bracket expr not to run off the end of the string.
2228         * posix/Makefile (tests): Add tst-fnmatch3.
2229         * posix/tst-fnmatch3.c: New file.
2230
2231 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2232
2233         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2234         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2235         [$(cross-compiling) = no]: Likewise.
2236         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2237         [$(cross-compiling) = no]: Likewise.
2238
2239 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2240
2241         [BZ #17031]
2242         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2243         double, adjusted for any remainder from the high double.
2244         * math/libm-test.inc (nearbyint): Add tests.
2245         (rint): Likewise.
2246
2247 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2248
2249         * nptl/sysdeps/powerpc/Makefile: Moved ...
2250         * sysdeps/powerpc/nptl/Makefile: ... here.
2251         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2252         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2253         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2254         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2255         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2256         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2257         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2258         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2259         * nptl/sysdeps/powerpc/tls.h: Moved ...
2260         * sysdeps/powerpc/nptl/tls.h: ... here.
2261
2262 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2263
2264         [BZ #16681]
2265         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2266         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2267         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2268         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2269         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2270         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2271         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2272         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2273         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2274
2275 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2276
2277         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2278
2279 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2280
2281         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2282         defined operator.
2283
2284         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2285         $TIMEOUTFACTOR.
2286
2287 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2288
2289         [BZ #17058]
2290         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2291         non-executed part of the test.
2292
2293 2014-06-16  Andreas Schwab  <schwab@suse.de>
2294
2295         * string/bits/string2.h (strdup, strndup): Update feature guard.
2296
2297 2014-06-14  David S. Miller  <davem@davemloft.net>
2298
2299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2300
2301 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2302
2303         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2304         that was previously under [RESET_PID].
2305         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2306
2307         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2308         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2309         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2310         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2311         (__libc_vfork): New strong alias.
2312         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2313
2314 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2315
2316         * sysdeps/generic/elide.h: New file.
2317
2318 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2319
2320         * Makefile (installed-headers): Adjust path of pthread.h header.
2321
2322 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2323
2324         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2325         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2326         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2327         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2328
2329         * nptl/sysdeps/s390/Makefile: Moved ...
2330         * sysdeps/s390/nptl/Makefile: ... here.
2331         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2332         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2333         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2334         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2335         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2336         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2337         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2338         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2339         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2340         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2341         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2342         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2343         * nptl/sysdeps/s390/tls.h: Moved ...
2344         * sysdeps/s390/nptl/tls.h: ... here.
2345
2346         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2347         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2348
2349 2014-06-13  David S. Miller  <davem@davemloft.net>
2350
2351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2354         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2358         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2359         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2360         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2361         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2362         Remove RESET_PID cpp guards.
2363         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2364         Remove RESET_PID cpp guards.
2365         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2366
2367 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2368
2369         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2370         __sp to uintptr_t.
2371
2372 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2373
2374         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2375         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2376         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2377         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2378         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2379         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2380         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2381         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2382         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2383         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2384         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2385         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2386         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2387         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2388         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2389         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2390         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2391         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2392         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2393         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2394
2395         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2396         (pthread_rwlock_rdlock): Add elision.
2397         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2398         (pthread_rwlock_wrlock): Add elision.
2399         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2400         (pthread_rwlock_trywrlock): Add elision.
2401         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2402         (pthread_rwlock_tryrdlock): Add elision.
2403         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2404         (pthread_rwlock_tryrdlock): Add elision unlock.
2405         * nptl/sysdeps/pthread/pthread.h:
2406         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2407         (PTHREAD_RWLOCK_INITIALIZER,
2408         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2409         Handle new elision field.
2410         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2411         * sysdeps/arm/nptl/bits/pthreadtypes.h
2412         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2413         * sysdeps/sh/nptl/bits/pthreadtypes.h
2414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2415         * sysdeps/tile/nptl/bits/pthreadtypes.h
2416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2417         * sysdeps/a/nptl/bits/pthreadtypes.h
2418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2419         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2421         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2423         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2425         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2427         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2429         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2430         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2431         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2432         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2433         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2434         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2435         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2436         (elision_init): Set try_xbegin to zero when no RTM.
2437         * sysdeps/x86/nptl/bits/pthreadtypes.h
2438         (pthread_rwlock_t): Change __pad1 to __rwelision.
2439         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2440
2441 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2442
2443         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2444         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2445         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2446         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2447
2448 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2449
2450         [BZ #16996]
2451         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2452         that the cached result has been set before returning it.
2453
2454 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2455
2456         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2457         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2458         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2459         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2460         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2461         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2462
2463         * nptl/sysdeps/sparc/Makefile: Moved ...
2464         * sysdeps/sparc/nptl/Makefile: ... here.
2465         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2466         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2467         * nptl/sysdeps/sparc/tls.h: Moved ...
2468         * sysdeps/sparc/nptl/tls.h: ... here.
2469         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2470         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2471         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2472         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2473         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2474         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2475         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2476         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2477         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2478         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2479         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2480         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2481         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2482         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2483         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2484         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2485         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2486         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2487         Update #include.
2488         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2489         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2490         Update #include.
2491         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2492         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2493         Update #include.
2494         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2495         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2496         Update #include.
2497
2498         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2499
2500         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2501         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2502
2503         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2504         (struct list_links): Type removed.
2505         (struct thread_node, struct timer_node): Replace struct list_links
2506         with struct list_head.
2507         (list_unlink_ip): Likewise.
2508         * sysdeps/pthread/timer_routines.c
2509         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2510         (list_append, list_insbefore): Likewise.
2511         (list_init): Function removed.
2512         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2513         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2514         * sysdeps/pthread/Makefile: ... here, new file.
2515
2516         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2517         * sysdeps/nptl/Implies: ... here.
2518         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2519         * nptl/sysdeps/pthread/list.h: Moved ...
2520         * include/list.h: ... here.
2521         * nptl/sysdeps/pthread/createthread.c: Moved ...
2522         * nptl/createthread.c: ... here.
2523         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2524         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2525         * nptl/pt-longjmp.c: ... here.
2526         * nptl/sysdeps/pthread/Makefile: Moved ...
2527         * sysdeps/nptl/Makefile: ... here.
2528         * nptl/sysdeps/pthread/Subdirs: Moved ...
2529         * sysdeps/nptl/Subdirs: ... here.
2530         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2531         * sysdeps/nptl/aio_misc.h: ... here.
2532         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2533         * sysdeps/nptl/bits/libc-lock.h: ... here.
2534         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2535         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2536         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2537         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2538         * nptl/sysdeps/pthread/configure: Moved ...
2539         * sysdeps/nptl/configure: ... here.
2540         * nptl/sysdeps/pthread/configure.ac: Moved ...
2541         * sysdeps/nptl/configure.ac: ... here.
2542         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2543         * sysdeps/nptl/gai_misc.h: ... here.
2544         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2545         * sysdeps/nptl/librt-cancellation.c: ... here.
2546         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2547         * sysdeps/nptl/malloc-machine.h: ... here.
2548         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2549         * sysdeps/nptl/pthread-functions.h: ... here.
2550         * nptl/sysdeps/pthread/pthread.h: Moved ...
2551         * sysdeps/nptl/pthread.h: ... here.
2552         * nptl/sysdeps/pthread/setxid.h: Moved ...
2553         * sysdeps/nptl/setxid.h: ... here.
2554         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2555         * sysdeps/nptl/sigfillset.c: ... here.
2556         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2557         * sysdeps/nptl/tcb-offsets.h: ... here.
2558         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2559         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2560         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2561         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2562         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2563         * sysdeps/pthread/allocalim.h: ... here.
2564         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2565         * sysdeps/pthread/bits/sigthread.h: ... here.
2566         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2567         * sysdeps/pthread/flockfile.c: ... here.
2568         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2569         * sysdeps/pthread/ftrylockfile.c: ... here.
2570         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2571         * sysdeps/pthread/funlockfile.c: ... here.
2572         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2573         * sysdeps/pthread/posix-timer.h: ... here.
2574         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2575         * sysdeps/pthread/timer_create.c: ... here.
2576         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2577         * sysdeps/pthread/timer_delete.c: ... here.
2578         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2579         * sysdeps/pthread/timer_getoverr.c: ... here.
2580         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2581         * sysdeps/pthread/timer_gettime.c: ... here.
2582         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2583         * sysdeps/pthread/timer_routines.c: ... here.
2584         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2585         * sysdeps/pthread/timer_settime.c: ... here.
2586         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2587         * sysdeps/pthread/tst-timer.c: ... here.
2588         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2589         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2590
2591         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2592         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2593
2594         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2595         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2596         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2597         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2598         Update #include target.
2599         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2600         * sysdeps/i386/i686/nptl/Makefile: ... here.
2601         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2602         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2603         Update #include target.
2604         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2605         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2606         * nptl/sysdeps/i386/Makefile: Moved ...
2607         * sysdeps/i386/nptl/Makefile: ... here.
2608         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2609         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2610         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2611         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2612         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2613         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2614         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2615         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2616         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2617         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2618         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2619         * nptl/sysdeps/i386/tls.h: Moved ...
2620         * sysdeps/i386/nptl/tls.h: ... here.
2621
2622         * sysdeps/sh/Makefile [$(subdir) = csu]
2623         (gen-as-const-headers): Add tcb-offsets.sym.
2624         * nptl/sysdeps/sh/Makefile: File removed.
2625         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2626         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2627         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2628         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2629         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2630         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2631         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2632         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2633         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2634         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2635         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2636         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2637         * nptl/sysdeps/sh/tls.h: Moved ...
2638         * sysdeps/sh/nptl/tls.h: ... here.
2639         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2640         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2641         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2642         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2643         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2644         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2645         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2646         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2647         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2648         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2649         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2650         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2651         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2652         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2653         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2654         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2655         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2656         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2657         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2658         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2659         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2660         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2661         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2662         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2663         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2664         Moved ...
2665         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2666         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2667         Moved ...
2668         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2669         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2670         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2671         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2673         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2674         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2675         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2676         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2677         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2678         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2679         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2680         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2681         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2682         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2683         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2684         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2685         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2686         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2687
2688 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2689
2690         * posix/spawn_faction_addopen.c: Include string.h.
2691
2692 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2693
2694         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2695         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2696         * nptl/sysdeps/x86_64/Makefile: Moved ...
2697         * sysdeps/x86_64/nptl/Makefile: ... here.
2698         * nptl/sysdeps/x86_64/configure: Moved ...
2699         * sysdeps/x86_64/nptl/configure: ... here.
2700         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2701         * sysdeps/x86_64/nptl/configure.ac: ... here.
2702         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2703         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2704         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2705         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2706         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2707         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2708         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2709         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2710         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2711         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2712         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2713         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2714         * nptl/sysdeps/x86_64/tls.h: Moved ...
2715         * sysdeps/x86_64/nptl/tls.h: ... here.
2716         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2717         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2718         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2719         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2720
2721         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2722
2723 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2724
2725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2726
2727 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2728
2729         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2730         type.
2731         [POSIX] (off_t): Likewise.
2732         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2733         [POSIX] (S_ISBLK): Require macro.
2734         [POSIX] (S_ISCHR): Likewise.
2735         [POSIX] (S_ISDIR): Likewise.
2736         [POSIX] (S_ISFIFO): Likewise.
2737         [POSIX] (S_ISREG): Likewise.
2738         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2739         optional-macro.
2740         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2741         type.
2742         [POSIX] (time_t): Likewise.
2743         [POSIX] (timer_t): Likewise.
2744
2745 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2746
2747         [BZ #17048]
2748         * posix/spawn_int.h (struct __spawn_action): Make the path string
2749         non-const to support deallocation.
2750         * posix/spawn_faction_addopen.c
2751         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2752         * posix/spawn_faction_destroy.c
2753         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2754         path in all spawn_do_open actions.
2755         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2756         posix_spawn_file_actions_addopen.
2757
2758 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2759
2760         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2761         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2762         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2763         conditional code always true.
2764         (__libc_vfork): New alias.
2765
2766 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2767
2768         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2769         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2770
2771         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2772
2773         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2774         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2775
2776         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2777         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2778
2779         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2780         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2781
2782 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2783
2784         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2785         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2786         multiarch strcmp for PPC64.
2787         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2788         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2790         multiarch optimizations.
2791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2792         (__libc_ifunc_impl_list): Likewise.
2793
2794 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2795
2796         * benchtests/scripts/validate_benchout.py: New script.
2797         * benchtests/Makefile (bench-func): Call it.
2798         * benchtests/scripts/benchout.schema.json: New file.
2799
2800 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2801
2802         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2803         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2804         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2805         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2806         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2807         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2808         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2809         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2810         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2811         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2812         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2813         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2814         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2815         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2816         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2817         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2819         Moved ...
2820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2821         ... here.
2822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2823         Moved ...
2824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2826         Moved ...
2827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2828         ... here.
2829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2830         Moved ...
2831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2832         ... here.
2833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2834         Moved ...
2835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2837         Moved ...
2838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2839         ... here.
2840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2841         Moved ...
2842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2843         ... here.
2844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2845         Moved ...
2846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2848         Moved ...
2849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2850         ... here.
2851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2852         Moved ...
2853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2854         ... here.
2855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2856         Moved ...
2857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2858         ... here.
2859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2860         Moved ...
2861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2863         Moved ...
2864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2865         ... here.
2866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2867         Moved ...
2868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2869         ... here.
2870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2871         Moved ...
2872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2873         ... here.
2874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2875         Moved ...
2876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2878         Moved ...
2879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2880         ... here.
2881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2882         Moved ...
2883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2884         ... here.
2885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2886         Moved ...
2887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2889         Moved ...
2890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2891         ... here.
2892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2893         Moved ...
2894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2896         Moved ...
2897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2899         Moved ...
2900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2901         ... here.
2902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2903         Moved ...
2904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2905         ... here.
2906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2907         Moved ...
2908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2909         ... here.
2910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2911         Moved ...
2912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2914         Moved ...
2915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2916         ... here.
2917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2918         Moved ...
2919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2920         ... here.
2921         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2922         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2923         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2924         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2926         Moved ...
2927         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2928         ... here.
2929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2930         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2931         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2932         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2934         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2936         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2938         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2939         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2940         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2941         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2942         Moved ...
2943         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2944         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2945         Moved ...
2946         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2947         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2948         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2949         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2950         Moved ...
2951         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2952         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2953         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2954         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2955         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2956         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2957         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2958
2959 2014-06-10  Wilco  <wdijkstr@arm.com>
2960
2961         * math/test-fenv-return.c: New file.
2962         * math/Makefile: Add new test test-fenv-return.
2963
2964 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2965
2966         [BZ #17042]
2967         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2968         when x - 1 is zero.
2969         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2970         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2971         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2972         0.0L for an argument of 1.0L.
2973         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2974         Likewise.
2975         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2976         value when x - 1 is zero.
2977         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2978         * sysdeps/i386/fpu/libm-test-ulps: Update.
2979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2980
2981 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2982
2983         [BZ #15119]
2984         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2985
2986 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2987
2988         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2989         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2990
2991 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2992
2993         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2994         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2995
2996         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2997         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2998
2999         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3000         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3001
3002         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3003         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3004
3005         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3006         if not already defined.
3007         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3008         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3009         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3010         (TLS_INIT_TP): Use it.
3011         (TLS_DEFINE_INIT_TP): New macro.
3012         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3013
3014 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3015
3016         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3017         constant.
3018         [POSIX] (IXANY): Likewise.
3019         [POSIX] (OLCUC): Likewise.
3020         [POSIX || POSIX2008] (CBAUD): Do not allow.
3021         [POSIX || POSIX2008] (DEFECHO): Likewise.
3022         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3023         [POSIX || POSIX2008] (ECHOKE): Likewise.
3024         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3025         [POSIX || POSIX2008] (EXTA): Likewise.
3026         [POSIX || POSIX2008] (EXTB): Likewise.
3027         [POSIX || POSIX2008] (FLUSHO): Likewise.
3028         [POSIX || POSIX2008] (LOBLK): Likewise.
3029         [POSIX || POSIX2008] (PENDIN): Likewise.
3030         [POSIX || POSIX2008] (SWTCH): Likewise.
3031         [POSIX || POSIX2008] (VDISCARD): Likewise.
3032         [POSIX || POSIX2008] (VDSUSP): Likewise.
3033         [POSIX || POSIX2008] (VLNEXT): Likewise.
3034         [POSIX || POSIX2008] (VREPRINT): Likewise.
3035         [POSIX || POSIX2008] (VSTATUS): Likewise.
3036         [POSIX || POSIX2008] (VWERASE): Likewise.
3037         (B*): Change to B[0123456789]*.
3038         * conform/data/time.h-data [POSIX || UNIX98]
3039         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3040         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3041         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3042         [POSIX] (tm_*): Do not allow.
3043
3044 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3045
3046         * Makefile (install): Don't set LANGUAGE.
3047         * Makefile.in (install): Likewise.
3048         * assert/Makefile (test-assert-ENV): Remove variable.
3049         (test-assert-perr-ENV): Likewise.
3050         * elf/Makefile (neededtest4-ENV): Likewise.
3051         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3052         [$(cross-compiling) = no]: Don't set LANGUAGE.
3053         * io/ftwtest-sh (LANG): Remove variable.
3054         * libio/Makefile (tst-widetext-ENV): Likewise.
3055         * manual/install.texi (Running make install): Don't refer to
3056         environment settings for make install.
3057         * INSTALL: Regenerated.
3058         * nptl/tst-tls6.sh: Don't set LANG.
3059         * posix/globtest.sh (LANG): Remove variable.
3060         * string/Makefile (tester-ENV): Likewise.
3061         (inl-tester-ENV): Likewise.
3062         (noinl-tester-ENV): Likewise.
3063         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3064         [$(cross-compiling) = no]: Don't set LANGUAGE.
3065         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3066         without explicit environment settings.
3067
3068 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3069
3070         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3071         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3072         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3073         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3074
3075 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3076
3077         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3078         other files in the crypt directory.
3079         * crypt/crypt.c: Remove duplicate includes.
3080         * crypt/crypt-entry.c: Likewise.
3081         * crypt/crypt_util.c: Likewise.
3082
3083 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3084
3085         * Makeconfig (run-program-env): New variable.
3086         (run-program-prefix-before-env): Likewise.
3087         (run-program-prefix-after-env): Likewise.
3088         (run-program-prefix): Define in terms of new variables.
3089         (built-program-cmd-before-env): New variable.
3090         (built-program-cmd-after-env): Likewise.
3091         (built-program-cmd): Define in terms of new variables.
3092         (test-program-prefix-before-env): New variable.
3093         (test-program-prefix-after-env): Likewise.
3094         (test-program-prefix): Define in terms of new variables.
3095         (test-program-cmd-before-env): New variable.
3096         (test-program-cmd-after-env): Likewise.
3097         (test-program-cmd): Define in terms of new variables.
3098         * Rules (make-test-out): Use $(run-program-env).
3099         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3100         (help): Do not mention environment variables.  Mention
3101         --timeoutfactor option.
3102         (timeoutfactor): New variable.
3103         (blacklist_exports): Remove function.
3104         (exports): Remove variable.
3105         (command): Do not include ${exports}.
3106         * manual/install.texi (Configuring and compiling): Do not mention
3107         test wrappers preserving environment variables.  Mention that last
3108         assignment to a variable must take precedence.
3109         * INSTALL: Regenerated.
3110         * benchtests/Makefile (run-bench): Use $(run-program-env).
3111         * catgets/Makefile ($(objpfx)test1.cat): Use
3112         $(built-program-cmd-before-env), $(run-program-env) and
3113         $(built-program-cmd-after-env).
3114         ($(objpfx)test2.cat): Do not specify environment variables
3115         explicitly.
3116         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3117         $(run-program-env) and $(built-program-cmd-after-env).
3118         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3119         $(run-program-env) and $(test-program-cmd-after-env).
3120         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3121         explicitly.
3122         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3123         run_program_env and test_program_cmd_after_env arguments.
3124         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3125         * elf/tst-pathopt.sh: Use run_program_env argument.
3126         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3127         $(test-wrapper-env) and $(run-program-env).
3128         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3129         run_program_env arguments.
3130         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3131         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3132         $(test-program-prefix-before-env), $(run-program-env) and
3133         $(test-program-prefix-after-env).
3134         ($(objpfx)tst-gettext2.out): Likewise.
3135         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3136         run_program_env and test_program_prefix_after_env arguments.
3137         * intl/tst-gettext2.sh: Likewise.
3138         * intl/tst-gettext4.sh: Do not set environment variables
3139         explicitly.
3140         * intl/tst-gettext6.sh: Likewise.
3141         * intl/tst-translit.sh: Likewise.
3142         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3143         $(test-program-prefix-before-env), $(run-program-env) and
3144         $(test-program-prefix-after-env).
3145         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3146         run_program_env and test_program_prefix_after_env arguments.
3147         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3148         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3149         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3150         explicitly with each use of ${test_wrapper_env}.
3151         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3152         $(test-program-prefix-before-env), $(run-program-env) and
3153         $(test-program-prefix-after-env).
3154         * posix/tst-getconf.sh: Do not set environment variables
3155         explicitly.
3156         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3157         run_program_env and test_program_prefix_after_env arguments.
3158         * stdio-common/tst-printf.sh: Do not set environment variables
3159         explicitly.
3160         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3161         $(test-program-prefix-before-env), $(run-program-env) and
3162         $(test-program-prefix-after-env).
3163         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3164         run_program_env and test_program_prefix_after_env arguments.
3165         Split $test calls into $test_pre and $test.
3166         * timezone/Makefile (build-testdata): Use
3167         $(built-program-cmd-before-env), $(run-program-env) and
3168         $(built-program-cmd-after-env).
3169
3170 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3171
3172         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3173         strlen for non SHARED builds.
3174
3175 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3176
3177         * nptl/allocatestack.c (check_list): Inlined function...
3178         (__reclaim_stacks): ... here.
3179
3180 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3181
3182         [BZ #15698]
3183         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3184         memory overrun.
3185
3186 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3187
3188         * Rules (make-test-out): Include
3189         LOCPATH=$(common-objpfx)localedata in default environment.
3190         * debug/Makefile (tst-chk1-ENV): Remove variable.
3191         (tst-chk2-ENV): Likewise.
3192         (tst-chk3-ENV): Likewise.
3193         (tst-chk4-ENV): Likewise.
3194         (tst-chk5-ENV): Likewise.
3195         (tst-chk6-ENV): Likewise.
3196         (tst-lfschk1-ENV): Likewise.
3197         (tst-lfschk2-ENV): Likewise.
3198         (tst-lfschk3-ENV): Likewise.
3199         (tst-lfschk4-ENV): Likewise.
3200         (tst-lfschk5-ENV): Likewise.
3201         (tst-lfschk6-ENV): Likewise.
3202         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3203         (tst-iconv7-ENV): Likewise.
3204         * intl/Makefile (LOCPATH-ENV): Likewise.
3205         (tst-codeset-ENV): Likewise.
3206         (tst-gettext3-ENV): Likewise.
3207         (tst-gettext5-ENV): Likewise.
3208         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3209         (tst-fopenloc-ENV): Likewise.
3210         (tst-fgetws-ENV): Remove variable.
3211         (tst-ungetwc1-ENV): Likewise.
3212         (tst-ungetwc2-ENV): Likewise.
3213         (bug-ungetwc2-ENV): Likewise.
3214         (tst-swscanf-ENV): Likewise.
3215         (bug-ftell-ENV): Likewise.
3216         (tst-fgetwc-ENV): Likewise.
3217         (tst-fseek-ENV): Likewise.
3218         (tst-ftell-partial-wide-ENV): Likewise.
3219         (tst-ftell-active-handler-ENV): Likewise.
3220         (tst-ftell-append-ENV): Likewise.
3221         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3222         (tst-regexloc-ENV): Likewise.
3223         (bug-regex1-ENV): Likewise.
3224         (tst-regex-ENV): Likewise.
3225         (tst-regex2-ENV): Likewise.
3226         (bug-regex5-ENV): Likewise.
3227         (bug-regex6-ENV): Likewise.
3228         (bug-regex17-ENV): Likewise.
3229         (bug-regex18-ENV): Likewise.
3230         (bug-regex19-ENV): Likewise.
3231         (bug-regex20-ENV): Likewise.
3232         (bug-regex22-ENV): Likewise.
3233         (bug-regex23-ENV): Likewise.
3234         (bug-regex25-ENV): Likewise.
3235         (bug-regex26-ENV): Likewise.
3236         (bug-regex30-ENV): Likewise.
3237         (bug-regex32-ENV): Likewise.
3238         (bug-regex33-ENV): Likewise.
3239         (bug-regex34-ENV): Likewise.
3240         (bug-regex35-ENV): Likewise.
3241         (tst-rxspencer-ENV): Likewise.
3242         (tst-rxspencer-no-utf8-ENV): Likewise.
3243         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3244         (tst-sscanf-ENV): Likewise.
3245         (tst-swprintf-ENV): Likewise.
3246         (tst-swscanf-ENV): Likewise.
3247         (test-vfprintf-ENV): Likewise.
3248         (scanf13-ENV): Likewise.
3249         (bug14-ENV): Likewise.
3250         (tst-grouping-ENV): Likewise.
3251         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3252         (tst-strtod3-ENV): Likewise.
3253         (tst-strtod4-ENV): Likewise.
3254         (tst-strtod5-ENV): Likewise.
3255         (testmb2-ENV): Likewise./
3256         * string/Makefile (tst-strxfrm-ENV): Likewise.
3257         (tst-strxfrm2-ENV): Likewise.
3258         (bug-strcoll1-ENV): Likewise.
3259         (test-strcasecmp-ENV): Likewise.
3260         (test-strncasecmp-ENV): Likewise.
3261         * time/Makefile (tst-strptime-ENV): Likewise.
3262         (tst-ftime_l-ENV): Likewise.
3263         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3264         (tst-mbrtowc-ENV): Likewise.
3265         (tst-wcrtomb-ENV): Likewise.
3266         (tst-mbrtowc2-ENV): Likewise.
3267         (tst-c16c32-1-ENV): Likewise.
3268         (tst-mbsnrtowcs-ENV): Likewise.
3269
3270 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3271
3272         * manual/resource.texi (How to get information about the memory
3273         subsystem?): Fix typo.
3274         Reported by Peon de la Parra Ivan <peon@keba.com>
3275
3276 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3277
3278         [BZ #16882]
3279         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3280         (pthread_spin_lock): Branch out of spin loop to proper location.
3281         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3282         (pthread_spin_lock): Likewise.
3283
3284         * nptl/tst-spin4.c: New test.
3285         * nptl/Makefile (tests): Add tst-spin4.
3286
3287 2014-06-03  Andreas Schwab  <schwab@suse.de>
3288
3289         [BZ #15946]
3290         * resolv/res_send.c (send_dg): Reload file descriptor after
3291         calling reopen.
3292
3293 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3294
3295         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3296
3297 2014-06-03  Richard Henderson  <rth@redhat.com>
3298
3299         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3300         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3301         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3302         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3303         in the SAVE_PID block.
3304         (__libc_vfork): New alias.
3305         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3306
3307         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3308         child in registers, not on the stack.  Remove RESET_PID conditionals.
3309         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3310
3311 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3312
3313         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3314
3315 2014-06-03  Wilco  <wdijkstr@arm.com>
3316
3317         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3318         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3319         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3320         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3321         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3322         Likewise.
3323
3324 2014-06-03  Wilco  <wdijkstr@arm.com>
3325
3326         * sysdeps/aarch64/fpu/math_private.h
3327         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3328         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3329         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3330         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3331         Fix declarations.
3332
3333 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3334
3335         * crypt/crypt-private.h: Include ufc-crypt.h.
3336         (__b64_from_24bit): Declare extern.
3337         * crypt/crypt_util.c(__b64_from_24bit): New function.
3338         (b64t): New static const variable.
3339         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3340         (b64t): Remove variable.
3341         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3342         * crypt/sha256-crypt.c: Include crypt-private.h.
3343         (b64t): Remove variable.
3344         (__sha256_crypt_r): Remove b64_from_24bit and replace
3345         with __b64_from_24bit.
3346         * crypt/sha512-crypt.c: Likewise.
3347
3348 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3349
3350         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3351         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3352         Label the code __libc_vfork rather than __vfork.
3353         [!NOT_IN_libc] (vfork): Define as weak alias.
3354         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3355         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3356         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3357
3358 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3359
3360         * malloc/malloc.c (malloc_info): Fix format specifier for
3361         n_mmaps.
3362
3363 2014-06-02  Wilco  <wdijkstr@arm.com>
3364
3365         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3366         FPCR write.
3367
3368 2014-06-02  Wilco  <wdijkstr@arm.com>
3369
3370         [BZ #17009]
3371         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3372         Rewrite to reduce FPCR/FPSR accesses.
3373
3374 2014-06-01  David S. Miller  <davem@davemloft.net>
3375
3376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3377
3378 2014-05-31  David S. Miller  <davem@davemloft.net>
3379
3380         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3381         to occur in round to nearest mode when |x| >= 2.0
3382
3383 2014-05-30  Richard Henderson  <rth@twiddle.net>
3384
3385         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3386         (PSEUDO_RET_NOERRNO): Remove.
3387         (ret): Don't redefine.
3388         (ret_NOERRNO): Define in terms of ret.
3389         (ret_ERRVAL): Likewise.
3390
3391         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3392         use of PSEUDO_RET; perform the error check directly.
3393
3394 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3395
3396         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3397         with __int128_t.
3398
3399 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3400
3401         * malloc/malloc (malloc_info): Fix formatting.
3402
3403 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3404             Roland McGrath  <roland@hack.frob.com>
3405
3406         * malloc/malloc (malloc_info): Also print mmapped statistics.
3407
3408 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3409
3410         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3411         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3412
3413 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3414
3415         * malloc/malloc.c (malloc_info): Inline mi_arena.
3416
3417 2014-05-29  Richard Henderson  <rth@twiddle.net>
3418
3419         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3420         Remove comma before expanding ASM_ARGS_##nr.
3421         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3422         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3423         of ASM_ARGS_##nr.
3424         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3425         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3426         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3427         (ASM_ARGS_1): Add leading comma.
3428
3429         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3430         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3431         to __errno_location.
3432         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3433         Remove the expected plt for __errno_location.
3434
3435         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3436         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3437         call to __read_tp.
3438
3439         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3440         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3441         it and break it down.
3442         (DOCARGS_0, DOCARGS_1): Do nothing.
3443         (DOCARGS_2): Update to store into the new stack frame.
3444         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3445         (UNDOCARGS_1): Update to restore from the new stack frame.
3446         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3447         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3448
3449         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3450         (SINGLE_THREAD_P): New parameter for result regno.
3451         (PSEUDO): Update to match; use cbz instead of beq.
3452
3453         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3454         Use ENTRY to define the _nocancel entry point.  Share the syscall
3455         and syscall error check paths with the cancel path.
3456         (PSEUDO_END): New.
3457
3458         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3459         whitespace; tabs before and after asm mnemonics.
3460
3461 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3462
3463         [BZ #15132]
3464         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3465         Call fstat64 or stat64 internally, depending on arguments passed.
3466         Replace stat buffer argument with file descriptor argument.
3467         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3468         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3469         Pass fd to __internal_statvfs instead of calling fstat64.
3470         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3471         Pass fd to __internal_statvfs64 instead of calling fstat64.
3472         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3473         Pass -1 to __internal_statvfs instead of calling stat64.
3474         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3475         Pass -1 to __internal_statvfs64 instead of calling stat64.
3476
3477 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3478
3479         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3480         that was previously under [RESET_PID].
3481         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3482
3483         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3484         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3485
3486 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3487
3488         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3489
3490         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3491         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3492
3493 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3494
3495         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3496
3497 2014-05-27  Andreas Schwab  <schwab@suse.de>
3498
3499         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3500         TLS_INIT_TP macro.
3501         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3502         * elf/rtld.c (init_tls, dl_main): Likewise.
3503         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3504         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3505         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3506         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3507         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3508         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3509         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3510         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3511         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3512         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3513         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3514         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3515         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3516         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3517         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3518         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3519         * sysdeps/generic/tls.h: Update description.
3520
3521 2014-05-27  Will Newton  <will.newton@linaro.org>
3522
3523         [BZ #16990]
3524         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3525         and restore r2 rather than just restoring.
3526
3527 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3528
3529         [BZ #16724]
3530         * libio/tst-ftell-append.c: New test case.
3531         * libio/Makefile (tests): Add test case.
3532         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3533         append mode.
3534         * libio/wfileops.c (do_ftell_wide): Likewise.
3535
3536 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3537
3538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3539
3540         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3541         ...
3542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3544         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3545         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3546         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3547         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3548         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3549         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3551         Moved ...
3552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3553         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3554         Moved ...
3555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3556         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3557         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3558         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3559         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3560         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3561         ...
3562         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3563         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3564         Moved ...
3565         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3566         here.
3567         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3568         ...
3569         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3570         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3571         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3572
3573         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3574         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3575         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3576         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3577
3578         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3579         merge into ...
3580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3582         ...
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3584         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3585         ...
3586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3587         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3588         Moved ...
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3590         here.
3591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3592         Moved ...
3593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3595         Moved ...
3596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3597
3598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3599         conditional [RESET_PID].
3600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3602         removed.
3603         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3604         removed.
3605
3606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3607         <tcb-offsets.h>.
3608         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3609         (__libc_vfork): New strong alias.
3610         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3611         removed.
3612         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3613         Removed.
3614
3615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3616         <tcb-offsets.h>.
3617         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3618         (__libc_vfork): New strong alias.
3619         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3620         removed.
3621         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3622         removed.
3623
3624 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3625
3626         * malloc/malloc.c (mi_arena): New function.
3627         (malloc_info): Remove nested function mi_arena. Call non-nosted
3628         function mi_arena.
3629
3630 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3631
3632         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3633         by insrwi.
3634         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3635         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3636         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3637         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3638         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3639         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3640         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3641
3642 2014-05-26  Andreas Schwab  <schwab@suse.de>
3643
3644         [BZ #16984]
3645         * locale/programs/repertoire.c (repertoire_read): Add slash
3646         between I18NPATH element and file name.
3647         * locale/programs/locfile.c (locfile_read): Likewise.
3648
3649 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3650
3651         * nptl/pthread_mutexattr_settype.c
3652         (__pthread_mutexattr_settype):
3653         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3654
3655 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3656
3657         * nptl/tst-mutex5 (do_test):
3658         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3659
3660 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3661
3662         * benchtests/README: Document 'init' directive.
3663         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3664         BENCH_INIT.
3665         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3666         (parse_file): Recognize 'init' directive.
3667
3668 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3669
3670         [BZ #16796]
3671         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3672         alignment of struct pthread.
3673
3674 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3675
3676         [BZ #16878]
3677         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3678         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3679         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3680         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3681
3682 2014-05-25  Richard Henderson  <rth@twiddle.net>
3683
3684         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3685         (SINGLE_THREAD_P_PIC): Remove.
3686         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3687         (SINGLE_THREAD_P_PIC): Remove.
3688
3689         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3690         branch to syscall error ...
3691         (PSEUDO): ... here.
3692         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3693         from __local_syscall_error to .Lsyscall_error.
3694         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3695         (SYSCALL_ERROR): Update label name.
3696
3697         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3698         Do not use DOARGS/UNDOARGS.
3699         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3700         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3701         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3702         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3703         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3704
3705         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3706         block comment.
3707
3708         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3709         define if !NOT_IN_libc.
3710         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3711         define with non-default symbol versions.
3712
3713 2014-05-23  Richard Henderson  <rth@twiddle.net>
3714
3715         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3716         (vfork, __vfork): Define via compat_symbol.
3717
3718         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3719         [!HAVE_IFUNC] (vfork_compat): Remove.
3720         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3721
3722 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3723
3724         [BZ #16978]
3725         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3726         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3727         variable.
3728
3729 2014-05-23  Richard Henderson  <rth@twiddle.net>
3730
3731         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3732         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3733         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3734         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3735
3736         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3737         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3738         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3739         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3740         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3741         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3742         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3743         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3744         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3745         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3746         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3747         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3748         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3749         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3750         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3751         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3752         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3753         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3754         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3755         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3756         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3757         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3758         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3759         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3760         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3761         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3762         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3763         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3764         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3765         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3766         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3767         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3768         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3769         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3770         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3771         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3772         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3773         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3774         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3775         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3776         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3777         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3778         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3779         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3780         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3781         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3782         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3783         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3784         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3785         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3787         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3788         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3789         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3790         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3791         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3792
3793         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3794         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3795         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3796         before exiting on error.
3797         (__libc_vfork): New strong alias.
3798         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3799         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3800
3801         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3802         that was previously under [RESET_PID].
3803         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3804
3805         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3806
3807 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3808
3809         [BZ #16977]
3810         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3811         value when x - 1 is zero.
3812         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3813         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3814         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3815         0.0L for an argument of 1.0L.
3816         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3817         Likewise.
3818         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3819         value when x - 1 is zero.
3820         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3821         * sysdeps/i386/fpu/libm-test-ulps: Update.
3822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3823
3824 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3825
3826         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3827         alphasort and versionsort.
3828
3829 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3830
3831         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3832         macro.
3833         [copysignf]: Likewise.
3834
3835 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3836
3837         * crypt/md5-crypt.c: Fix formatting.
3838
3839 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3840
3841         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3842         (b64_from_24bit): New function.
3843
3844 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3845
3846         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3847         libc_hidden_builtin_def to ifunc.
3848         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3849         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3850
3851 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3852
3853         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3854         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3855
3856 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3857
3858         * nscd/Depend (linuxthreads): Remove.
3859         (nptl): Add.
3860         * resolv/Depend (linuxthreads): Remove.
3861         * rt/Depend (linuxthreads): Remove.
3862
3863         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3864         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3865         $(common-objpfx)elf/.
3866         (link-libc-before-gnulib): Likewise.
3867         (elfobjdir): Remove variable.
3868         * Makefile (install): Use $(elf-objpfx) instead of
3869         $(common-objpfx)elf/.
3870         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3871         $(elfobjdir)/.
3872         (link-libc-deps): Likewise.
3873         ($(common-objpfx)libc.so): Likewise.
3874         ($(common-objpfx)linkobj/libc.so): Likewise.
3875         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3876         instead of $(common-objpfx)elf/.
3877         (symbolic-link-list): Likewise.
3878         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3879         [$(cross-compiling) = no]: Likewise.
3880         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3881         $(elfobjdir)/.
3882         (static-gnulib-arch): Likewise.
3883         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3884         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3885         $(common-objpfx)elf/.
3886
3887 2014-05-21  Richard Henderson  <rth@redhat.com>
3888
3889         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3890         (SINGLE_THREAD_P): Use the correct width load.  Fold
3891         into the ldr offset.
3892
3893         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3894         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3895
3896 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3897
3898         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3899         (libgcc_s_resume): Use __attribute_used__.
3900         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3901         Likewise.
3902
3903 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3904
3905         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3906         optimization when used with float constants.
3907
3908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3909
3910 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3911
3912         [BZ #16915]
3913         * locale/nl_langinfo_l.c: Make direct reference to every
3914         _nl_current_CATEGORY symbol.
3915         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3916         (tests-static): Add tst-langinfo-static.
3917         (tests-special): Add tst-langinfo-static.out.
3918         ($(objpfx)tst-langinfo.out): Redirect output.
3919         ($(objpfx)tst-langinfo-static.out): New.
3920         * localedata/tst-langinfo.sh: Send output to stdout.
3921         * localedata/tst-langinfo-static.c: New file.
3922
3923         [BZ #16965]
3924         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3925         when the shift amount is modulo the limb size.
3926
3927 2014-05-20  Richard Henderson  <rth@redhat.com>
3928
3929         [BZ #16967]
3930         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3931         Change type of sa_flags from unsigned int to int.
3932
3933         [BZ #16966]
3934         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3935
3936         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3937
3938 2014-05-20  Will Newton  <will.newton@linaro.org>
3939
3940         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3941         Test the return value of the system call in the nocancel case.
3942
3943 2014-05-20  Will Newton  <will.newton@linaro.org>
3944             Yvan Roux  <yvan.roux@linaro.org>
3945
3946         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3947         #include of asm/ptrace.h.
3948         (PTRACE_GET_THREAD_AREA): Remove #undef.
3949         (PTRACE_GETHBPREGS): Likewise.
3950         (PTRACE_SETHBPREGS): Likewise.
3951         (struct user_regs_struct): New structure.
3952         (struct user_fpsimd_struct): New structure.
3953         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3954         #include of asm/ptrace.h and second #include of sys/user.h.
3955         (PTRACE_GET_THREAD_AREA): Remove #undef.
3956         (PTRACE_GETHBPREGS): Likewise.
3957         (PTRACE_SETHBPREGS): Likewise.
3958         (ELF_NGREG): Use new struct user_regs_struct.
3959         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3960
3961 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3962
3963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3965
3966 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3967
3968         [BZ #16958]
3969         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3970         membar to avoid block loads/stores to overlap previous stores.
3971
3972 2014-05-17  Richard Henderson  <rth@redhat.com>
3973
3974         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3975         Create the __##syscall_name##_nocancel entry point.
3976         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3977         Remove; let the sysdep-cancel.h code create it.
3978
3979 2014-05-17  David S. Miller  <davem@davemloft.net>
3980
3981         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3982         Protect with __USE_GNU.
3983         (TIOCSET_TEMPT): Likewise.
3984         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3985         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3986         these are already provided in bits/ioctl-types.h
3987
3988 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3989
3990         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3991         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3992
3993         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3994         Use wait4 regardless of [__NR_waitpid].
3995
3996 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3997
3998         PR libgcc/60166
3999         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4000         (_FP_NANSIGN_Q): Set the quiet bit.
4001
4002 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4003
4004         * benchtests/Makefile
4005         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4006         not $(common-objpfx)math/libm.so.
4007         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4008         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4009         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4010         $(common-objpfx)dlfcn/libdl.so.
4011         ($(objpfx)tst-audit8): Depend on $(libm), not
4012         $(common-objpfx)math/libm.so.
4013         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4014         not $(common-objpfx)dlfcn/libdl.so.
4015         * math/Makefile
4016         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4017         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4018         [$(build-shared) = yes].
4019         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4020         $(common-objpfx)nptl/libpthread.so.
4021         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4022         $(common-objpfx)math/libm.so$(libm.so-version) or
4023         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4024         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4025         $(common-objpfx)dlfcn/libdl.so.
4026         * setjmp/Makefile (link-libm): Remove variable.
4027         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4028         * stdio-common/Makefile (link-libm): Remove variable.
4029         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4030         * stdlib/Makefile (link-libm): Remove variable.
4031         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4032         ($(objpfx)tst-strtod-round): Likewise.
4033         ($(objpfx)tst-tininess): Likewise.
4034         ($(objpfx)tst-strtod-underflow): Likewise.
4035         ($(objpfx)tst-strtod6): Likewise.
4036         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4037         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4038         $(common-objpfx)dlfcn/libdl.so.
4039
4040 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4041
4042         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4043         BSD terminal modes definitions.
4044
4045 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4046
4047         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4048         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4049
4050         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4051         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4052         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4053         Don't do #include_next.
4054         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4055         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4056         Don't do #include_next.
4057         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4058         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4059         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4060         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4061
4062 2014-05-16  Allan McRae  <allan@archlinux.org>
4063
4064         * po/sv.po: Update Swedish translation from translation project.
4065
4066         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4067         in sed expression.
4068
4069 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4070
4071         [BZ #16917]
4072         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4073         errno if the TIOCGPTN ioctl fails with an error different than
4074         EINVAL.
4075         * login/tst-ptsname.c: New file.
4076         * login/Makefile (tests): Add tst-ptsname.
4077
4078         [BZ #16943]
4079         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4080         and prlimit64.
4081
4082 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4083
4084         [BZ #16849]
4085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4086         herrno to return EAI_AGAIN.
4087
4088 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4089
4090         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4091         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4092         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4093         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4094         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4095         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4096         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4097         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4098         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4099         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4100         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4101         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4102         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4103         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4104         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4105         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4106         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4107         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4108         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4109         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4110         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4111         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4112         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4113         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4114         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4115         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4116         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4117         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4118         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4119         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4121         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4123         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4125         Moved ...
4126         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4128         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4130         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4132         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4134         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4136         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4138         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4140         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4142         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4144         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4146         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4148         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4150         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4152         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4154         Moved ...
4155         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4157         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4159         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4161         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4163         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4165         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4167         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4169         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4171         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4173         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4175         Moved ...
4176         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4178         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4179
4180         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4181         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4182         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4183         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4184         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4185         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4186         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4187         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4188         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4189         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4190         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4191         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4192         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4193         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4194         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4195         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4196         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4197         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4198         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4199         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4200         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4201         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4202         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4203         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4204         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4205         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4206         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4207         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4208         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4209         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4210         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4211
4212         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4213         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4214
4215         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4216         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4217         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4218         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4219         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4220         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4221         Moved ...
4222         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4223         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4224         Moved ...
4225         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4226         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4227         Moved ...
4228         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4229         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4230         Moved ...
4231         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4232         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4233         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4234         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4235         Moved ...
4236         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4237         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4238         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4239         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4240         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4241         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4242         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4243         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4244         Moved ...
4245         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4246         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4247         Moved ...
4248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4249         ... here.
4250         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4251         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4252         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4253         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4254         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4255         Moved ...
4256         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4257         ... here.
4258         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4259         Moved ...
4260         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4261         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4262         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4263         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4264         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4265         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4266         Moved ...
4267         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4268         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4269         Moved ...
4270         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4271         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4272         Moved ...
4273         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4274         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4275         Moved ...
4276         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4277         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4278         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4279         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4280         Moved ...
4281         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4282         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4283         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4284         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4285         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4286         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4287         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4288         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4289         Moved ...
4290         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4291         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4292         Moved ...
4293         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4294         ... here.
4295         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4296         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4297         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4298         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4299         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4300         Moved ...
4301         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4302         ... here.
4303         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4304         Moved ...
4305         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4306         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4307         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4308         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4309         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4310         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4311         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4312         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4313         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4314         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4315         Moved ...
4316         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4317         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4318         Moved ...
4319         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4320         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4321         Moved ...
4322         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4323         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4324         Moved ...
4325         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4326         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4327         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4328         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4329         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4330         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4331         Moved ...
4332         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4333         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4334         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4335         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4336         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4337         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4338         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4339         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4340         Moved ...
4341         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4342         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4343         Moved ...
4344         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4345         ... here.
4346         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4347         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4348         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4349         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4350         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4351         Moved ...
4352         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4353         ... here.
4354         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4355         Moved ...
4356         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4357         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4358         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4359         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4360         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4361         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4362         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4363         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4364         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4365         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4366         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4367
4368         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4369         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4370
4371         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4372         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4373
4374         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4375         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4376         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4377         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4378         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4379         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4380         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4381         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4382         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4383         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4384         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4385         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4386         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4387         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4388         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4389         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4390         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4392         Moved ...
4393         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4394         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4395         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4397         Moved ...
4398         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4399         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4400         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4401         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4402         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4404         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4405         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4406         Moved ...
4407         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4408         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4409         Moved ...
4410         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4411         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4412         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4413         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4414         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4416         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4417         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4418         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4419         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4420         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4421         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4422         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4423         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4424         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4425         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4426         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4427
4428         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4429         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4430         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4431         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4432         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4433
4434         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4435         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4436         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4437         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4438         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4439         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4440         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4441         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4442         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4443         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4444
4445         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4446         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4447
4448         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4449         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4450         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4451         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4452         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4453         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4454         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4455         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4456         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4457         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4458         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4459         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4460         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4461         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4463         Update #include.
4464         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4465         Likewise.
4466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4467         Likewise.
4468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4469         Likewise.
4470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4471         Likewise.
4472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4473         Likewise.
4474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4475         Likewise.
4476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4477         Likewise.
4478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4479         Likewise.
4480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4481         Likewise.
4482         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4483         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4485         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4487         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4488         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4489         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4490         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4491         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4492         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4493         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4494         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4495         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4496         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4497
4498         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4499         that was previously under [RESET_PID].
4500         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4501         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4502         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4503
4504         * sysdeps/i386/nptl/Implies: New file.
4505         * sysdeps/x86_64/nptl/Implies: New file.
4506         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4507         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4508         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4509         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4510
4511         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4512         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4513         (__libc_vfork): New strong alias.
4514         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4515         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4516
4517         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4518         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4519         (__libc_vfork): New strong alias.
4520         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4521         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4522
4523         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4524         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4525         (__libc_vfork): New strong alias.
4526         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4527         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4528         * nptl/pt-vfork.c: New file.
4529         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4530         (libpthread: GLIBC_2.20): New version set (empty).
4531
4532 2014-05-14  Will Newton  <will.newton@linaro.org>
4533
4534         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4535         rather than #if.
4536
4537 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4538
4539         [BZ #16564]
4540         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4541         arguments with exponent 65 or above.
4542         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4543         arguments 0x1p113L or above.
4544         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4545         to arguments 0x1p107L or above.
4546         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4547         positive arguments with exponent 65 or above.
4548         * math/auto-libm-test-in: Add more tests of log1p.
4549         * math/auto-libm-test-out: Regenerated.
4550
4551         [BZ #16928]
4552         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4553         non-finite arguments is +0.
4554         * math/s_cacosf.c (__cacosf): Likewise.
4555         * math/s_cacosl.c (__cacosl): Likewise.
4556         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4557         * sysdeps/i386/fpu/libm-test-ulps: Update.
4558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4559
4560         [BZ #16927]
4561         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4562         value.
4563         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4564         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4565         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4566         for explicit high bit of mantissa when testing for argument equal
4567         to 1.
4568         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4569         * sysdeps/i386/fpu/libm-test-ulps: Update.
4570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4571
4572         [BZ #16516]
4573         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4574         (__erf): Scale by 16 instead of 8 in potentially underflowing
4575         case.  Ensure exception if result actually underflows.
4576         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4577         (__erff): Scale by 16 instead of 8 in potentially underflowing
4578         case.  Ensure exception if result actually underflows.
4579         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4580         (efx8): Remove variable.
4581         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4582         case.  Ensure exception if result actually underflows.
4583         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4584         (efx8): Remove variable.
4585         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4586         case.  Ensure exception if result actually underflows.
4587         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4588         (efx8): Remove variable.
4589         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4590         case.  Ensure exception if result actually underflows.
4591         * math/auto-libm-test-in: Add more tests of erf.
4592         * math/auto-libm-test-out: Regenerated.
4593
4594 2014-05-14  Andreas Schwab  <schwab@suse.de>
4595
4596         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4597         Remove code conditionalized on USE___THREAD.
4598
4599         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4600         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4601         not definedness.
4602
4603 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4604
4605         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4606         Define unconditionally.
4607         (__ASSUME_O_CLOEXEC): Likewise.
4608         (__ASSUME_SOCK_CLOEXEC): Likewise.
4609         (__ASSUME_IN_NONBLOCK): Likewise.
4610         (__ASSUME_PIPE2): Likewise.
4611         (__ASSUME_EVENTFD2): Likewise.
4612         (__ASSUME_SIGNALFD4): Likewise.
4613         (__ASSUME_DUP3): Likewise.
4614         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4615         (__ASSUME_DUP3): Do not define.
4616         (__ASSUME_EVENTFD2): Likewise.
4617         (__ASSUME_IN_NONBLOCK): Likewise.
4618         (__ASSUME_O_CLOEXEC): Likewise.
4619         (__ASSUME_PIPE2): Likewise.
4620         (__ASSUME_SIGNALFD4): Likewise.
4621         (__ASSUME_SOCK_CLOEXEC): Likewise.
4622         (__ASSUME_UTIMES): Undefine.
4623         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4624         (__ASSUME_UTIMES): Do not define.
4625         (__ASSUME_O_CLOEXEC): Likewise.
4626         (__ASSUME_SOCK_CLOEXEC): Likewise.
4627         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4628         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4629         0x020621].
4630         (__ASSUME_PIPE2): Likewise.
4631         (__ASSUME_EVENTFD2): Likewise.
4632         (__ASSUME_SIGNALFD4): Likewise.
4633         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4634         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4635         Do not define.
4636         (__ASSUME_EVENTFD2): Likewise.
4637         (__ASSUME_SIGNALFD4): Likewise.
4638         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4639         (__ASSUME_32BITUIDS): Likewise.
4640         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4641         (__ASSUME_IPC64): Likewise.
4642         (__ASSUME_ST_INO_64_BIT): Likewise.
4643         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4644         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4645         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4646         (__ASSUME_UTIMES): Do not define.
4647         (__ASSUME_PSELECT): Likewise.
4648         (__ASSUME_PPOLL): Likewise.
4649         (__ASSUME_O_CLOEXEC): Likewise.
4650         (__ASSUME_SOCK_CLOEXEC): Likewise.
4651         (__ASSUME_IN_NONBLOCK): Likewise.
4652         (__ASSUME_PIPE2): Likewise.
4653         (__ASSUME_EVENTFD2): Likewise.
4654         (__ASSUME_SIGNALFD4): Likewise.
4655         (__ASSUME_DUP3): Likewise.
4656         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4657         (__ASSUME_UTIMES): Likewise.
4658         (__ASSUME_O_CLOEXEC): Likewise.
4659         (__ASSUME_SOCK_CLOEXEC): Likewise.
4660         (__ASSUME_IN_NONBLOCK): Likewise.
4661         (__ASSUME_PIPE2): Likewise.
4662         (__ASSUME_EVENTFD2): Likewise.
4663         (__ASSUME_SIGNALFD4): Likewise.
4664         (__ASSUME_DUP3): Likewise.
4665         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4666         (__ASSUME_UTIMES): Likewise.
4667         (__ASSUME_O_CLOEXEC): Likewise.
4668         (__ASSUME_SOCK_CLOEXEC): Likewise.
4669         (__ASSUME_IN_NONBLOCK): Likewise.
4670         (__ASSUME_PIPE2): Likewise.
4671         (__ASSUME_EVENTFD2): Likewise.
4672         (__ASSUME_SIGNALFD4): Likewise.
4673         (__ASSUME_DUP3): Likewise.
4674         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4675         Likewise.
4676         (__ASSUME_UTIMES): Likewise.
4677         (__ASSUME_EVENTFD2): Likewise.
4678         (__ASSUME_SIGNALFD4): Likewise.
4679         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4680         (__ASSUME_O_CLOEXEC): Likewise.
4681         (__ASSUME_SOCK_CLOEXEC): Likewise.
4682         (__ASSUME_IN_NONBLOCK): Likewise.
4683         (__ASSUME_PIPE2): Likewise.
4684         (__ASSUME_EVENTFD2): Likewise.
4685         (__ASSUME_SIGNALFD4): Likewise.
4686         (__ASSUME_DUP3): Likewise.
4687         (__ASSUME_UTIMES): Undefine.
4688
4689         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4690         feclearexcept.  Remove symbol versioning code.
4691         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4692         symbol versioning code.
4693         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4694         symbol versioning code.
4695         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4696         feupdateenv.  Remove symbol versioning code.
4697         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4698         fegetexceptflag.  Remove symbol versioning code.
4699         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4700         fesetexceptflag.  Remove symbol versioning code.
4701         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4702         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4703         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4704         (__posix_fadvise64_l32): Remove prototype.
4705         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4706         code.
4707
4708 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4709
4710         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4711         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4712         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4713         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4714
4715 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4716
4717         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4718         current working directory
4719
4720 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4721
4722         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4723         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4724         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4725         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4726         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4727         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4728         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4729         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4730         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4731         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4732         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4733         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4734         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4735         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4736         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4737         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4738         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4739         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4740         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4741         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4742         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4743         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4744         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4745         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4746         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4747         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4748         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4749         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4750         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4751         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4752         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4753         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4754         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4755         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4756         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4757         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4758         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4759         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4760         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4761         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4762         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4763         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4764
4765         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4766         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4767
4768         * sysdeps/unix/sysv/linux/arm/Makefile
4769         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4770         Add rt-aeabi_unwind_cpp_pr1.
4771         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4772         Add nptl-aeabi_unwind_cpp_pr1.
4773         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4774         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4775         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4776         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4777         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4778         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4779
4780         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4781         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4782         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4783         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4784
4785         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4786         Deconditionalize the code that was previously under [RESET_PID].
4787         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4788
4789         * sysdeps/generic/exit-thread.h: New file.
4790         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4791         * include/unistd.h (__exit_thread): Remove declaration.
4792         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4793         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4794         * csu/libc-start.c: Include <exit-thread.h>.
4795         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4796         * nptl/pthread_create.c: Include <exit-thread.h>.
4797         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4798         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4799         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4800         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4801         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4802         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4803         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4804         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4805         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4806         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4807         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4808         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4809         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4810         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4811         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4812         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4813         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4814
4815 2014-05-13  Andreas Schwab  <schwab@suse.de>
4816
4817         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4818
4819 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4820
4821         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4822         (__ASSUME_UTIMES): Do not condition on kernel version.
4823         (__ASSUME_PSELECT): Define unconditionally.
4824         (__ASSUME_PPOLL): Likewise.
4825         (__ASSUME_ATFCTS): Likewise.
4826         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4827         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4828         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4829         (__ASSUME_UTIMENSAT): Define unconditionally.
4830         (__ASSUME_PRIVATE_FUTEX): Likewise.
4831         (__ASSUME_FALLOCATE): Likewise.
4832         (__ASSUME_O_CLOEXEC): Likewise.
4833         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4834         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4835         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4836         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4837         (__ASSUME_IN_NONBLOCK): Likewise.
4838         (__ASSUME_PIPE2): Likewise.
4839         (__ASSUME_EVENTFD2): Likewise.
4840         (__ASSUME_SIGNALFD4): Likewise.
4841         (__ASSUME_DUP3): Likewise.
4842         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4843         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4844         (__ASSUME_AT_RANDOM): Likewise.
4845         (__ASSUME_PREADV): Likewise.
4846         (__ASSUME_PWRITEV): Likewise.
4847         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4848         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4849         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4850         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4851         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4852         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4853         (__ASSUME_O_CLOEXEC): Define unconditionally.
4854         (__ASSUME_PSELECT): Do not undefine conditionally.
4855         (__ASSUME_PPOLL): Likewise.
4856         (__ASSUME_ATFCTS): Likewise.
4857         (__ASSUME_SET_ROBUST_LIST): Likewise.
4858         (__ASSUME_UTIMENSAT): Likewise.
4859         (__ASSUME_FDATASYNC): Define unconditionally.
4860         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4861         (__ASSUME_SIGFRAME_V2): Likewise.
4862         )__ASSUME_EVENTFD2): Likewise.
4863         (__ASSUME_SIGNALFD4): Likewise.
4864         (__ASSUME_PSELECT): Do not undefine conditionally.
4865         (__ASSUME_PPOLL): Likewise.
4866         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4867         (__ASSUME_PSELECT): Define unconditionally.
4868         (__ASSUME_PPOLL): Likewise.
4869         (__ASSUME_O_CLOEXEC): Likewise.
4870         (__ASSUME_SOCK_CLOEXEC): Likewise.
4871         (__ASSUME_IN_NONBLOCK): Likewise.
4872         (__ASSUME_PIPE2): Likewise.
4873         (__ASSUME_EVENTFD2): Likewise.
4874         (__ASSUME_SIGNALFD4): Likewise.
4875         (__ASSUME_DUP3): Likewise.
4876         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4877         (__ASSUME_O_CLOEXEC): Likewise.
4878         (__ASSUME_SOCK_CLOEXEC): Likewise.
4879         (__ASSUME_IN_NONBLOCK): Likewise.
4880         (__ASSUME_PIPE2): Likewise.
4881         (__ASSUME_EVENTFD2): Likewise.
4882         (__ASSUME_SIGNALFD4): Likewise.
4883         (__ASSUME_DUP3): Likewise.
4884         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4885         (__ASSUME_EVENTFD2): Likewise.
4886         (__ASSUME_SIGNALFD4): Likewise.
4887         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4888
4889 2014-05-12  Andreas Schwab  <schwab@suse.de>
4890
4891         [BZ #16932]
4892         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4893         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4894         than maximum RPC packet size.
4895         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4896         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4897         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4898         (_nss_nis_getservbyport_r): Likewise.
4899
4900 2014-05-12  Will Newton  <will.newton@linaro.org>
4901
4902         * malloc/Makefile (tests): Add tst-mallopt.
4903         * malloc/tst-mallopt.c: New file.
4904
4905 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4906
4907         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4908         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4909
4910 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4911
4912         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4913         (tst-tlsmod6.so): Likewise.
4914
4915 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4916
4917         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4918
4919 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4920
4921         [BZ #16064]
4922         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4923         and <dl-procinfo.h>.
4924         (__fegetenv): Save SSE state in envp->__eip if supported.
4925         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4926         envp->__eip if supported.
4927         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4928         and <dl-procinfo.h>.
4929         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4930         __data_offset and __data_selector in environment to 0.  Set SSE
4931         state if supported.
4932         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4933         test-fenv-sse.
4934         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4935         -mfpmath=sse.
4936         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4937
4938 2014-05-09  Will Newton  <will.newton@linaro.org>
4939
4940         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4941         and libc_relro_required for ARM.
4942         * sysdeps/arm/preconfigure: Regenerate.
4943
4944 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4945             Stefan Liebler  <stli@linux.vnet.ibm.com>
4946
4947         * config.make.in (enable-lock-elision): New Makefile variable.
4948         * configure.ac: Likewise.
4949         * configure: Regenerate.
4950         * sysdeps/s390/configure.ac:
4951         Add check for gcc transactions support.
4952         * sysdeps/s390/configure: Regenerate.
4953         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4954         Build elision files if enabled.
4955         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4956         Add lock elision support for s390.
4957         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4958         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4959         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4960         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4961         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4962         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4963         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4964         Likewise.
4965         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4966         Likewise.
4967         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4968         Likewise.
4969         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4970         Likewise.
4971         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4972         (__lll_timedlock_elision, __lll_lock_elision)
4973         (__lll_unlock_elision, __lll_trylock_elision)
4974         (lll_timedlock_elision, lll_lock_elision)
4975         (lll_unlock_elision, lll_trylock_elision): Add.
4976         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4977         (pthread_mutex_t): Add lock elision support for s390.
4978
4979 2014-05-14  Wilco  <wdijkstr@arm.com>
4980
4981         * sysdeps/arm/fclrexcpt.c: Cleanup.
4982         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4983         * sysdeps/arm/feenablxcpt.c: Cleanup.
4984         * sysdeps/arm/fegetenv.c: Cleanup.
4985         * sysdeps/arm/fegetexcept.c: Cleanup.
4986         * sysdeps/arm/fegetround.c: Cleanup.
4987         * sysdeps/arm/feholdexcpt.c: Cleanup.
4988         * sysdeps/arm/fesetenv.c: Cleanup.
4989         * sysdeps/arm/fesetround.c: Cleanup.
4990         * sysdeps/arm/feupdateenv.c: Cleanup.
4991         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4992         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4993         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4994         * sysdeps/arm/ftestexcept.c: Cleanup.
4995         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4996         * sysdeps/arm/setfpucw.c: Cleanup.
4997
4998 2014-05-09  Will Newton  <will.newton@linaro.org>
4999
5000         * sysdeps/arm/armv7/strcmp.S: New file.
5001         * NEWS: Mention addition of ARMv7 optimized strcmp.
5002
5003 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5004
5005         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5006         look for %.ac rather than %.in.
5007
5008         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5009         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5010         * sysdeps/mach/hurd/configure: Regenerated.
5011         * sysdeps/unix/sysv/linux/configure: Regenerated.
5012
5013         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5014
5015 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5016
5017         [BZ# 16922]
5018         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5019         (LONG_SUB): Ditto.
5020         (PTR_SUB): Ditto.
5021
5022 2014-05-07  Andreas Schwab  <schwab@suse.de>
5023
5024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5025         when skipping over non-matching result from nscd.
5026
5027 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5028
5029         [BZ #16876]
5030         * nptl/sockperf.c (client): Check socket return value.
5031
5032         [BZ #16877]
5033         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5034         nscd security class.
5035
5036 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5037
5038         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5039         * sysdeps/arm/unwind.h: ... here.
5040
5041 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5042
5043         [BZ# 16916]
5044         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5045         Define.
5046
5047 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5048
5049         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5050         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5051         multiarch strncpy for PPC64.
5052         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5053         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5055         multiarch optimizations.
5056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5057         (__libc_ifunc_impl_list): Likewise.
5058         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5059         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5060         multiarch stpncpy for PPC64.
5061         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5062         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5063
5064 2014-05-06  Andreas Schwab  <schwab@suse.de>
5065
5066         [BZ #16912]
5067         * gmon/mcount.c (_MCOUNT_DECL): Use
5068         atomic_compare_and_exchange_bool_acq instead of
5069         catomic_compare_and_exchange_bool_acq.
5070
5071 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5072
5073         * elf/Makefile (others, install-bin): Remove pldd.
5074         (pldd-modules): Variable removed.
5075         ($(objpfx)pldd): Target removed.
5076         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5077         (others, install-bin): Append pldd here.
5078         ($(objpfx)pldd): New target.
5079
5080         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5081         to 0, so the first #if test emitted later doesn't see it undefined.
5082         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5083         * sysdeps/gnu/errlist.c: Regenerated.
5084
5085 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5086
5087         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5088         [libc_hidden_builtin_def]: Define to empty value.
5089         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5090         [libc_hidden_builtin_def]: Likewise.
5091         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5092         [libc_hidden_builtin_def]: Likewise.
5093         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5094         [libc_hidden_builtin_def]: Likewise.
5095         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5096         __redirect_memcpy and define ifunc as default hidden symbol.
5097         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5098         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5099
5100 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5101
5102         * locale/iso-4217.def: Reintroduce XDR currency.
5103
5104 2014-05-04  Allan McRae  <allan@archlinux.org>
5105
5106         * po/eo.po: Update Esperanto translation from translation project.
5107
5108 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5109
5110         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5111         and FEATURE_INDEX_MAX to 1.
5112         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5113
5114 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5115
5116         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5117         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5118         * iconvdata/big5.c (ONE_DIRECTION): Define.
5119         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5120         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5121         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5122         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5123         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5124         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5125         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5126         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5127         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5128         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5129         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5130         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5131         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5132         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5133         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5134         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5135         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5136         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5137         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5138         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5139         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5140         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5141         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5142         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5143         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5144         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5145         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5146         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5147         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5148         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5149         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5150         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5151         * iconvdata/johab.c (ONE_DIRECTION): Define.
5152         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5153         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5154         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5155         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5156         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5157         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5158         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5159         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5160         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5161         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5162
5163 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5164
5165         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5166         (_IO_JUMPS_OFFSET): Define to 0.
5167
5168         * nptl/sysdeps/pthread/bits/libc-lock.h
5169         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5170         (__libc_lock_define_initialized_recursive): Always define using
5171         initializer.  Modern compilers treat uninitialized (implicit zero) and
5172         explicit zero initializers the same (i.e. put the datum in bss).
5173
5174 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5175
5176         * nscd/nscd-client.h: Include <string.h>.
5177
5178 2014-05-01  David S. Miller  <davem@davemloft.net>
5179
5180         [BZ #16885]
5181         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5182         multiple zero bytes exist at the end of a string.
5183         Reported by Aurelien Jarno <aurelien@aurel32.net>
5184
5185         * string/test-strcmp.c (check): Add explicit test for situations where
5186         there are multiple zero bytes after the first.
5187
5188 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5189
5190         [BZ #16890]
5191         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5192         when compiling wprintf.
5193         * stdio-common/tstdiomisc.c (t3): New function.
5194         (main): Call it.
5195
5196 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5197
5198         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5199         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5200         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5201         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5202
5203 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5204
5205         * stdlib/longlong.h: Updated from GCC.
5206
5207 2014-05-01  Will Newton  <will.newton@linaro.org>
5208             Bernard Ogden  <bernie.ogden@linaro.org>
5209
5210         * NEWS: Update fixed bug list.
5211
5212         [BZ #15119]
5213         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5214
5215 2014-04-30  David S. Miller  <davem@davemloft.net>
5216
5217         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5218         (libc_feholdexcept_setround_sparc_ctx): New function.
5219         (libc_fesetenv_sparc_ctx): Likewise.
5220         (libc_feupdateenv_sparc_ctx): Likewise.
5221         (libc_feholdsetround_sparc_ctx): Likewise.
5222         (libc_feholdexcept_setround_ctx): Define.
5223         (libc_feholdexcept_setroundf_ctx): Likewise.
5224         (libc_feholdexcept_setroundl_ctx): Likewise.
5225         (libc_fesetenv_ctx): Likewise.
5226         (libc_fesetenvf_ctx): Likewise.
5227         (libc_fesetenvl_ctx): Likewise.
5228         (libc_feupdateenv_ctx): Likewise.
5229         (libc_feupdateenvf_ctx): Likewise.
5230         (libc_feupdateenvl_ctx): Likewise.
5231         (libc_feresetround_ctx): Likewise.
5232         (libc_feresetroundf_ctx): Likewise.
5233         (libc_feresetroundl_ctx): Likewise.
5234         (libc_feholdsetround_ctx): Likewise.
5235         (libc_feholdsetroundf_ctx): Likewise.
5236         (libc_feholdsetroundl_ctx): Likewise.
5237
5238         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5239         with __USE_GNU instead of XOPEN cpp guards.
5240
5241         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5242         0.
5243
5244         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5245         with XOPEN cpp guards.
5246
5247 2014-04-30  Julian Brown  <julian@codesourcery.com>
5248
5249         [BZ #16888]
5250         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5251         handling.
5252
5253 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5254
5255         [BZ #9894]
5256         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5257         Change to 2.6.32.
5258         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5259         * sysdeps/unix/sysv/linux/configure: Regenerated.
5260         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5261         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5262         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5263         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5264         * README: Update reference to required Linux kernel version.
5265         * manual/install.texi (Linux): Update reference to required Linux
5266         kernel headers version.
5267         * INSTALL: Regenerated.
5268
5269         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5270         header inclusion.
5271         [POSIX] (limits.h): Likewise.
5272         [POSIX] (math.h): Likewise.
5273         [POSIX] (sys/wait.h): Likewise.
5274         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5275         function.
5276         [POSIX] (stddef.h): Do not allow header inclusion.
5277
5278 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5279
5280         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5281
5282 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5283
5284         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5285         Return immediately after lll_futex_wake.
5286
5287 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5288
5289         [BZ #16791]
5290         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5291         structure.
5292         (datahead_init_pos): Call datahead_init_common early.
5293         (datahead_init_neg): Likewise.
5294
5295         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5296         datahead_init_neg): New functions.
5297         * nscd/aicache.c (addhstaiX): Use them.
5298         * nscd/grpcache.c (cache_addgr): Likewise.
5299         * nscd/hstcache.c (cache_addhst): Likewise.
5300         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5301         * nscd/netgroupcache.c (do_notfound): Likewise.
5302         (addgetnetgrentX): Likewise.
5303         (addinnetgrX): Likewise.
5304         * nscd/pwdcache.c (cache_addpw): Likewise.
5305         * nscd/servicescache.c (cache_addserv): Likewise.
5306
5307 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5308             Atsushi Onoe  <atsushi@onoe.org>
5309
5310         [BZ #14308]
5311         [BZ #12994]
5312         [BZ #13651]
5313         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5314         one response is valid.
5315         * resolv/res_send.c (send_dg): Check for validity of other
5316         response if the current response is a referral.
5317
5318 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5319
5320         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5321
5322 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5323
5324         [BZ #16823]
5325         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5326         Always divide by positive zero when computing -Inf result.
5327         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5328         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5329
5330 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5331
5332         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5333         FPSCR if value do not change.
5334         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5335         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5336         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5337         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5338         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5339         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5340         function.
5341
5342 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5343
5344         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5345         * sysdeps/unix/sysv/linux/hppa: Move directory from
5346         ports/systeps/unix/sysv/linux/hppa.
5347         * README: Update listing for hppa-*-linux-gnu.
5348
5349 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5350
5351         [BZ #16754]
5352         * manual/stdio.texi (Hook functions): Fix types of stream hook
5353         functions.
5354         [BZ #16854]
5355         * socket/sys/socket.h: Fix typo in comment.
5356
5357 2014-04-28  Wilco  <wdijkstr@arm.com>
5358
5359         * sysdeps/arm/fenv_private.h: New file.
5360         * sysdeps/arm/math_private.h: New file.
5361         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5362
5363 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5364
5365         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5366         with __int128_t.
5367         (La_x86_64_retval): Likewise.
5368
5369 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5370
5371         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5372         fpsr if value didn't change.
5373         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5374         to fpcr if value didn't change.
5375         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5376         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5377         fpsr or fpcr if value didn't change.
5378         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5379         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5380         fpcr if value didn't change.
5381         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5382         to fpsr if value didn't change.
5383
5384 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5385
5386         * nptl/tst-sem3.c: Use test-skeleton.c
5387         (main): Rename to do_test.  Use return instead of
5388         exit.
5389         * nptl/tst-sem4.c: Use test-skeleton.c
5390         (main): Rename to do_test.
5391
5392 2014-04-22  David S. Miller  <davem@davemloft.net>
5393
5394         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5395         (struct sigaction): New struct member __glibc_reserved0, change
5396         type of sa_flags to int.
5397
5398 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5399
5400         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5401         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5402
5403 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5404
5405         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5406         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5407
5408 2014-04-22  Will Newton  <will.newton@linaro.org>
5409             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5410
5411         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5412         (__longjmp): Add longjmp and longjmp_target SystemTap
5413         probes.
5414         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5415         (__sigsetjmp): Add setjmp SystemTap probe.
5416
5417 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5418
5419         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5420         match manual order.
5421
5422 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5423
5424         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5425
5426         * sysdeps/powerpc/fpu/fenv_private.h
5427         (libc_feholdexcept_setroundl_ctx): Define to
5428         libc_feholdexcept_setround_ppc_ctx.
5429         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5430         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5431         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5432         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5433
5434 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5435
5436         * sysdeps/aarch64/math-tests.h: New file.
5437
5438 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5439
5440         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5441         New.
5442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5443         Check and set bit_AVX2_Usable.
5444         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5445         macro.
5446         (bit_AVX2): Likewise.
5447         (index_AVX2_Usable): Likewise.
5448         (CPUID_AVX2): Likewise.
5449         (HAS_AVX2): Likewise.
5450
5451 2014-04-17  Will Newton  <will.newton@linaro.org>
5452
5453         * manual/setjmp.texi (System V contexts): Add note that
5454         calling setcontext on a context created by a call to a
5455         signal handler is undefined.  Update text to note that
5456         setcontext from a signal handler is possible but not
5457         recommended.
5458
5459         [BZ #16629]
5460         * stdlib/tst-setcontext.c: Include signal.h.
5461         (main): Check that the signal stack before and
5462         after swapcontext is the same.
5463
5464         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5465         Re-implement to restore registers in user code and avoid
5466         rt_sigreturn system call.
5467
5468 2014-04-17  Wilco  <wdijkstr@arm.com>
5469
5470         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5471         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5472         * math/test-fenv.c: Skip exception trap tests on targets which only
5473         support non-stop mode.
5474
5475 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5476             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5477
5478         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5479         (libc_feholdsetround_aarch64_ctx)
5480         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5481         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5482         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5483         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5484         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5485         (libc_feresetround_noexl_ctx): Define.
5486
5487 2014-04-16  Richard Henderson  <rth@redhat.com>
5488
5489         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5490
5491         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5492         unwind tables.
5493
5494         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5495         const from the non-libc, non-ldso copy.
5496
5497         * sysdeps/alpha/libm-test-ulps: Regenerate.
5498
5499 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5500             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5501
5502         * sysdeps/aarch64/fpu/math_private.h: New file.
5503
5504 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5505
5506         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5507
5508 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5509
5510         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5511         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5513         Intel MPX bound registers before _dl_profile_fixup.
5514         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5515         registers after _dl_profile_fixup.  Save and restore bound
5516         registers bnd0/bnd1 when calling _dl_call_pltexit.
5517         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5518         (LR_BND_OFFSET): Likewise.
5519         (LRV_BND0_OFFSET): Likewise.
5520         (LRV_BND1_OFFSET): Likewise.
5521
5522 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5523
5524         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5525         to...
5526         * sysdeps/mach/hurd/i386/tls.h: ... here.
5527         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5528         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5529         fields.
5530
5531 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5532
5533         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5534
5535 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5536
5537         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5538
5539 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5540
5541         [BZ #14770]
5542         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5543         * sysdeps/s390/configure: Regenerate.
5544
5545         [BZ #16824]
5546         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5547         Set round-to-nearest internally to reduce error accumulation.
5548
5549 2014-04-16  Alan Modra  <amodra@gmail.com>
5550
5551         [BZ #16740]
5552         [BZ #16619]
5553         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5554         * math/libm-test.inc (frexp_test_data): Add tests.
5555         * NEWS: Update fixed bug list.
5556
5557 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5558
5559         * benchtests/Makefile: Depend on libraries in build directory.
5560         (bench-math): Separate out math tests.
5561         (bench-pthread): Separate out pthread tests.
5562         (bench): Include math and pthread tests.
5563
5564 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5565
5566         [BZ #16831]
5567         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5568         _dl_debug_initialize.
5569
5570         * configure.ac: Remove SELinux header check.
5571         * configure: Regenerate.
5572         * nscd/selinux.c (perms): Array of const char* to permission names.
5573         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5574         default policy. Call string_to_security_class and string_to_av_perm to
5575         translate strings. Enforce default policy and call avs_has_perm with
5576         results of translated strings.
5577
5578 2014-04-13  David S. Miller  <davem@davemloft.net>
5579
5580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5581
5582 2014-04-12  Allan McRae  <allan@archlinux.org>
5583
5584         [BZ #16838]
5585         * manual/string.texi (Collation Functions): Fix qsort argument
5586         order in example.
5587         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5588
5589 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5590
5591         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5592         Make the test a no-op if there are no exceptions defined.
5593
5594 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5595
5596         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5597         enable-hardcoded-path-in-tests
5598
5599 2014-04-11  Will Newton  <will.newton@linaro.org>
5600
5601         * benchtests/Makefile (extra-objs): Add json-lib.o.
5602         (bench-func): Tidy up JSON output.
5603         * benchtests/bench-skeleton.c: Include json-lib.h.
5604         (main): Use JSON library functions to do output of
5605         benchmark results.
5606         * benchtests/bench-timing-type.c (main): Output the
5607         timing type simply, leaving formatting to the user.
5608         * benchtests/json-lib.c: New file.
5609         * benchtests/json-lib.h: Likewise.
5610
5611 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5612
5613         [BZ #15215]
5614         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5615         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5616         memory barriers.  Add comments.
5617         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5618         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5619         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5620         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5621         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5622         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5623
5624 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5625
5626         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5627         * sysdeps/s390/s390-64/configure.ac: ... this ...
5628         * sysdeps/s390/configure.ac: ... to here.
5629         * sysdeps/s390/s390-32/configure: Delete file.
5630         * sysdeps/s390/s390-64/configure: Delete file.
5631         * sysdeps/s390/configure: Regenerate.
5632
5633 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5634
5635         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5636
5637 2014-04-11  Will Newton  <will.newton@linaro.org>
5638
5639         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5640         to zero if it is not defined elsewhere.  (mtrim): Test
5641         the value of MALLOC_DEBUG with #if rather than #ifdef.
5642
5643 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5644
5645         * benchtests/pthread_once-inputs: New file.
5646         * benchtests/pthread_once-source.c: New file.
5647         * benchtests/README: Update documentation.
5648
5649 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5650             H.J. Lu  <hongjiu.lu@intel.com>
5651
5652         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5653         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5654         * sysdeps/x86_64/configure: Regenerated.
5655         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5656         macro.
5657         (REGISTER_SAVE_RAX): Likewise.
5658         (REGISTER_SAVE_RCX): Likewise.
5659         (REGISTER_SAVE_RDX): Likewise.
5660         (REGISTER_SAVE_RSI): Likewise.
5661         (REGISTER_SAVE_RDI): Likewise.
5662         (REGISTER_SAVE_R8): Likewise.
5663         (REGISTER_SAVE_R9): Likewise.
5664         (REGISTER_SAVE_BND0): Likewise.
5665         (REGISTER_SAVE_BND1): Likewise.
5666         (REGISTER_SAVE_BND2): Likewise.
5667         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5668         bound registers when calling _dl_fixup.
5669
5670 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5671
5672         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5673         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5674         of its definition.
5675         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5676         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5677         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5678         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5679         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5680         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5681         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5682
5683 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5684
5685         [BZ #15514]
5686         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5687         pathconf(_PC_NAME_MAX).
5688
5689 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5690
5691         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5692         Remove macro usage.
5693         (__PTHREAD_SPINS): Move definition to ...
5694         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5695         (__PTHREAD_SPINS): ... here.
5696         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5697         (__PTHREAD_SPIN): Likewise.
5698         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5699         (__PTHREAD_SPIN): Likewise.
5700         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5701         (__PTHREAD_SPIN): Likewise.
5702         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5703         (__PTHREAD_SPIN): Likewise.
5704         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5705         (__PTHREAD_SPIN): Likewise.
5706         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5707         (__PTHREAD_SPIN): Likewise.
5708         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5709         (__PTHREAD_SPIN): Likewise.
5710         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5711         (__PTHREAD_SPIN): Likewise.
5712         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5713         (__PTHREAD_SPIN): Likewise.
5714         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5715         (__PTHREAD_SPIN): Likewise.
5716         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5717         (__PTHREAD_SPIN): Likewise.
5718         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5719         (__PTHREAD_SPIN): Likewise.
5720
5721         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5722         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5723         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5724         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5725         imply folder.
5726         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5727         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5728         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5729         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5730         correct imply path.
5731         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5732         strlen symbol for non multi-arch builds.
5733         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5734         missing hidden_def and weak_alias.
5735
5736 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5737
5738         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5739
5740 2014-04-07  Will Newton  <will.newton@linaro.org>
5741
5742         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5743         and contents.  [!_LIBC] Remove #ifndef and contents.
5744         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5745         * string/memccpy.c (__memccpy): Use ANSI prototype.
5746         * string/memfrob.c (memfrob): Likewise.
5747         * string/strcoll.c (STRCOLL): Likewise.
5748         * string/strlen.c (strlen): Likewise.
5749         * string/strtok.c (STRTOK): Likewise.
5750         * string/strcat.c: Remove unused #include of memcopy.h.
5751         (strcat): Use ANSI prototype.
5752         * string/strchr.c: Remove unused #include of memcopy.h.
5753         (strchr): Use ANSI prototype.
5754         * string/strcmp.c: Remove unused #include of memcopy.h.
5755         (strcmp): Use ANSI prototype.
5756         * string/strcpy.c: Remove unused #include of memcopy.h.
5757         (strcpy): Use ANSI prototype.
5758
5759 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5760
5761         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5762         * config.make.in (config-extra-cppflags): Set it from
5763         libc_extra_cppflags.
5764         * configure.ac (libc_extra_cflags): Make it accumulate over
5765         configure fragments.
5766         (libc_extra_cppflags): New flag.
5767         * configure. Regenerate.
5768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5769         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5770         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5772
5773         [BZ #16815]
5774         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5775         result for FE_DOWNWARD rounding mode.
5776         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5777         Likewise.
5778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5779
5780 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5781
5782         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5783         in function argument name.
5784
5785 2014-04-03  David Svoboda  <svoboda@cert.org>
5786
5787         [BZ #5666]
5788         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5789         explicitly.
5790
5791 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5792
5793         * elf/dl-unmap-segments.h: New file.
5794         * sysdeps/generic/ldsodefs.h
5795         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5796         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5797         * elf/dl-fptr.c: Likewise.
5798         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5799         * sysdeps/aarch64/tlsdesc.c: Likewise.
5800         * sysdeps/arm/tlsdesc.c: Likewise.
5801         * sysdeps/i386/tlsdesc.c: Likewise.
5802         * sysdeps/tile/dl-runtime.c: Likewise.
5803         * sysdeps/x86_64/tlsdesc.c: Likewise.
5804         * elf/dl-load.h: New file.
5805         * elf/dl-load.c: Include it.
5806         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5807         Macros moved to dl-load.h.
5808         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5809         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5810         Use _dl_unmap_segments in place of __munmap.
5811         Break out segment-mapping loop into ...
5812         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5813
5814 2014-04-03  Will Newton  <will.newton@linaro.org>
5815
5816         * elf/dl-lookup.c (do_lookup_x): Remove comment
5817         referring to nested function and move variable
5818         declarations down to before first use.
5819
5820 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5821
5822         [BZ #16799]
5823         [BZ #16800]
5824         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5825         with 0 numerator.
5826         * math/s_catanf.c (__catanf): Likewise.
5827         * math/s_catanh.c (__catanh): Likewise.
5828         * math/s_catanhf.c (__catanhf): Likewise.
5829         * math/s_catanhl.c (__catanhl): Likewise.
5830         * math/s_catanl.c (__catanl): Likewise.
5831         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5832         by positive zero when computing -Inf result.
5833         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5834         (catanh_test): Likewise.
5835         * sysdeps/i386/fpu/libm-test-ulps: Update.
5836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5837
5838         [BZ #16789]
5839         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5840         instead of using underflowing value in computing result.
5841         * math/s_clog10.c (__clog10): Likewise.
5842         * math/s_clog10f.c (__clog10f): Likewise.
5843         * math/s_clog10l.c (__clog10l): Likewise.
5844         * math/s_clogf.c (__clogf): Likewise.
5845         * math/s_clogl.c (__clogl): Likewise.
5846         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5847         (clog10_test): Likewise.
5848         * sysdeps/i386/fpu/libm-test-ulps: Update.
5849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5850
5851 2014-04-02  Alan Modra  <amodra@gmail.com>
5852
5853         [BZ #16739]
5854         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5855         output when value is near a power of two.  Use int64_t for lx and
5856         remove casts.  Use decimal rather than hex exponent constants.
5857         Don't use long double multiplication when double will suffice.
5858         * math/libm-test.inc (nextafter_test_data): Add tests.
5859         * NEWS: Add 16739 and 16786 to bug list.
5860
5861         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5862
5863         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5864
5865 2014-04-01  Will Newton  <will.newton@linaro.org>
5866
5867         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5868         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5869
5870 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5871
5872         [BZ #13347]
5873         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5874         * nptl/tst-setuid2.c: New file.
5875         * nptl/Makefile (xtests): Add tst-setuid2.
5876
5877 2014-04-01  Alan Modra  <amodra@gmail.com>
5878
5879         [BZ #16786]
5880         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5881
5882 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5883
5884         [BZ #6803]
5885         [BZ #6804]
5886         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5887         set errno as appropriate.
5888         * math/w_scalbf.c (__scalbf): Likewise.
5889         * math/w_scalbl.c (__scalbl): Likewise.
5890         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5891         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5892         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5893         Add more NaN tests.
5894
5895         [BZ #16349]
5896         * math/w_atan2.c: Include <errno.h>.
5897         (__atan2): Set errno for result underflowing to zero.
5898         * math/w_atan2f.c: Include <errno.h>.
5899         (__atan2f): Set errno for result underflowing to zero.
5900         * math/w_atan2l.c: Include <errno.h>.
5901         (__atan2l): Set errno for result underflowing to zero.
5902         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5903         tests.
5904         * math/auto-libm-test-out: Regenerated.
5905
5906 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5907
5908         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5909         Encode instruction correctly in little endian.
5910         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5911         Likewise.
5912         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5913         Likewise.
5914         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5915         Likewise.
5916         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5917         Likewise.
5918
5919 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5920
5921         [BZ #9894]
5922         * sysdeps/unix/sysv/linux/kernel-features.h
5923         [__sparc__ && !__arch64__ && !__sparc_v9__]
5924         (__ASSUME_SET_ROBUST_LIST): Do not define.
5925         [__sparc__ && !__arch64__ && !__sparc_v9__]
5926         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5927         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5928         Likewise.
5929         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5930         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5931         (__ASSUME_REQUEUE_PI): Likewise.
5932         (__ASSUME_SET_ROBUST_LIST): Likewise.
5933         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5934         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5935         Undefine.
5936         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5937         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5938         Likewise.
5939         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5940         Likewise.
5941         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5942         Likewise.
5943         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5944         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5945         Undefine.
5946         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5947         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5948         Likewise.
5949
5950         [BZ #16648]
5951         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5952         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5953         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5954
5955 2014-03-31  Will Newton  <will.newton@linaro.org>
5956
5957         * benchtests/Makefile (bench): Add ffs and ffsll to list
5958         of tests.
5959         * benchtests/ffs-inputs: New file.
5960         * benchtests/ffsll-inputs: Likewise.
5961
5962 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5963
5964         [BZ #16770]
5965         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5966         too large before casting to int.
5967         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5968         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5969         * math/libm-test.inc (scalb_test_data): Add more tests.
5970
5971 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5972
5973         * benchtests/Makefile (DETAILED_OPT): New make option.
5974         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5975         set.
5976         * benchtests/bench-skeleton.c: Include stdbool.h.
5977         (main): Store and print timings per input.
5978         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5979         member to each argument value.
5980         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5981         (_print_arg_data): Initialize per-input timing to 0.
5982
5983         * benchtests/Makefile (timing-type): New binary.
5984         (bench-clean): Also remove bench-timing-type.
5985         (bench): New target for timing-type.
5986         (bench-func): Print output in JSON format.
5987         * benchtests/bench-skeleton.c (main): Print output in JSON
5988         format.
5989         * benchtests/bench-timing-type.c: New file.
5990         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5991         (TIMING_PRINT_STATS): Remove.
5992         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5993         name separately.
5994
5995         * benchtests/bench-modf.c: Remove.
5996         * benchtests/modf-inputs: New inputs file.
5997
5998 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5999
6000         [BZ #16362]
6001         * math/s_clog10.c (M_PI_LOG10E): New macro.
6002         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6003         imaginary parts are 0.
6004         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6005         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6006         imaginary parts are 0.
6007         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6008         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6009         imaginary parts are 0.
6010         * math/libm-test.inc (clog10_test_data): Update expected results
6011         for when real and imaginary parts are 0.
6012
6013 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6014
6015         * elf/dl-load.c: Finish conversion of __builtin_expect into
6016         __glibc_{un}likely.
6017
6018 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6019
6020         [BZ #16348]
6021         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6022         1+x for argument with exponent below -67.
6023         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6024         Likewise.
6025         * math/auto-libm-test-in: Add more tests of exp.
6026         * math/auto-libm-test-out: Regenerated.
6027
6028 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6029
6030         [BZ #16759]
6031         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6032         (nscd_getnetgrent): Use it.
6033
6034         [BZ #16760]
6035         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6036         of stpcpy.
6037
6038 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6039
6040         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6041         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6042         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6043         (lll_robust_unlock): Remove out of line section. Use cfi
6044         intrinsics.
6045         (LLL_STUB_UNWIND_INFO*): Remove.
6046         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6047         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6048         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6049         (lll_robust_unlock): Remove out of line section. Use cfi
6050         intrinsics.
6051         (LLL_STUB_UNWIND_INFO*): Remove.
6052
6053 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6054
6055         [BZ #16758]
6056         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6057         blank values.
6058
6059 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6060
6061         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6062
6063 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6064
6065         [BZ #16198]
6066         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6067         fnstenv.
6068         * math/test-fenv-preserve.c: New file.
6069         * math/Makefile (tests): Add test-fenv-preserve.
6070
6071 2014-03-26  Will Newton <will.newton@linaro.org>
6072
6073         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6074
6075 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6076
6077         * scripts/versionlist.awk: Partition the version sets and emit all
6078         GLIBC_* (sorted) before all others (sorted).
6079
6080 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6081
6082         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6083         GLIBC_2.2.5 version.
6084
6085 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6086
6087         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6088         calls.
6089
6090         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6091         previous change.
6092
6093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6094
6095 2014-03-25  Andreas Schwab  <schwab@suse.de>
6096
6097         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6098         label to be used after in6ailist is initialized.
6099
6100 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6101
6102         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6103         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6104
6105 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6106
6107         [BZ #16357]
6108         [BZ #16599]
6109         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6110         min_plus_half.
6111         (fp_formats): Update initializers.
6112         (init_fp_formats): Initialize new field.
6113         (output_for_one_input_case): Allow underflow for results up to
6114         min_plus_half.
6115         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6116         * math/auto-libm-test-in: Don't mark some underflows from asin and
6117         atanh as spurious.
6118         * math/auto-libm-test-out: Regenerated.
6119         * sysdeps/i386/fpu/libm-test-ulps: Update.
6120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6121
6122 2014-03-25  Andreas Schwab  <schwab@suse.de>
6123
6124         * libio/Makefile (tst-ftell-partial-wide-ENV)
6125         (tst-ftell-active-handler-ENV): Define.
6126
6127 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6128
6129         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6130
6131 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6132
6133         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6134
6135 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6136
6137         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6138         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6139         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6140
6141 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6142
6143         [BZ #16634]
6144         * elf/dl-load.c (open_verify): Add mode parameter.
6145         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6146         (open_path): Change from boolean 'secure' to complete flag 'mode'
6147         (_dl_map_object): Adjust.
6148         * elf/Makefile (tests): Add tst-dlopen-aout.
6149         * elf/tst-dlopen-aout.c: New test.
6150
6151 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6152
6153         [BZ #16714]
6154         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6155         (struct stat): Rename member pad0 to __glibc_reserved0.
6156
6157         [BZ #16712]
6158         * sysdeps/s390/s390-32/bits/wordsize.h
6159         (__WORDSIZE32_SIZE_ULONG): New define.
6160         * sysdeps/s390/s390-64/bits/wordsize.h
6161         (__WORDSIZE32_SIZE_ULONG): Likewise.
6162         * sysdeps/generic/stdint.h (SIZE_MAX):
6163         Define as UL if __WORDSIZE32_SIZE_ULONG.
6164
6165         [BZ #16713]
6166         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6167         (__glibc_reserved0): New variable.
6168         (sa_flags): Change type to int.
6169
6170         * posix/Makefile (before-compile): Use += before-compile instead
6171         of a :=.
6172
6173         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6174         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6175
6176 2014-03-20  Andreas Schwab  <schwab@suse.de>
6177
6178         [BZ #16743]
6179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6180         non-matching result from nscd.
6181
6182 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6183
6184         * scripts/bench.py: Moved to ...
6185         * benchtests/scripts/bench.py: ... here.
6186         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6187
6188 2014-03-24  Andreas Schwab  <schwab@suse.de>
6189
6190         [BZ #16002]
6191         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6192         alloca_account and account alloca use for struct in6ailist.
6193
6194 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6195
6196         [BZ #16284]
6197         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6198         rounding mode to recompute results that overflow to infinity or
6199         underflow to zero.
6200         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6201         bug 16284.
6202         * math/auto-libm-test-out: Regenerated.
6203         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6204         (ccosh_test): Likewise.
6205         (csin_test_data): Use plus_oflow.
6206         (csin_test): Use ALL_RM_TEST.
6207         (csinh_test_data): Use plus_oflow.
6208         (csinh_test): Use ALL_RM_TEST.
6209         * sysdeps/i386/fpu/libm-test-ulps: Update.
6210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6211
6212 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6213
6214         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6215         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6216         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6217
6218         [BZ #16731]
6219         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6220         when x - 1 is zero.
6221         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6222         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6223         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6224         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6225         argument is 1.
6226         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6227         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6228         zero.
6229         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6230         * sysdeps/i386/fpu/libm-test-ulps: Update.
6231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6232
6233 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6234
6235         * scripts/bench.pl: Remove file.
6236         * scripts/bench.py: New benchmark script.
6237         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6238         * benchtests/README: Mention python dependency.
6239         * scripts/pylintrc: New file.
6240         * scripts/pylint: New file.
6241
6242         * bits/mathdef.h: Use #ifdef instead of #if.
6243         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6244         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6245         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6246         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6247         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6248         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6249
6250 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6251             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6252
6253         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6255         and strpbrk-ppc64 objects.
6256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6257         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6258         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6259         multiarch strpbrk for POWER7.
6260         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6261         multiarch strpbrk for PPC64.
6262         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6263         ifunc selector.
6264         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6265         strpbrk for POWER7.
6266
6267 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6268
6269         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6270         (atan_test): Likewise.
6271         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6272         (atanh_test): Use ALL_RM_TEST.
6273         (atan2_test_data): Likewise.
6274         (cabs_test): Likewise.
6275         (cacosh_test): Likewise.
6276         (carg_test): Likewise.
6277         (casin_test): Likewise.
6278         (casinh_test): Likewise.
6279         (cbrt_test): Likewise.
6280         (csqrt_test): Likewise.
6281         (erf_test): Likewise.
6282         (erfc_test): Likewise.
6283         (pow10_test): Likewise.
6284         (exp2_test): Likewise.
6285         (hypot_test): Likewise.
6286         (j0_test): Likewise.
6287         (j1_test): Likewise.
6288         (lgamma_test): Likewise.
6289         (gamma_test): Likewise.
6290         (sincos_test): Likewise.
6291         (tanh_test): Likewise.
6292         (y0_test): Likewise.
6293         (y1_test): Likewise.
6294         * sysdeps/i386/fpu/libm-test-ulps: Update.
6295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6296
6297 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6298
6299         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6301         and strcspn-ppc64 objects.
6302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6303         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6304         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6305         multiarch strcspn for POWER7.
6306         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6307         multiarch strcspn for PPC64.
6308         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6309         ifunc selector.
6310         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6311         strcspn for POWER7.
6312
6313 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6314
6315         * math/gen-libm-test.pl (generate_testfile): Expect only function
6316         name as argument to AUTO_TESTS_* and pass results for all rounding
6317         modes to parse_args.
6318         (parse_auto_input): Separate inputs of automatic tests from
6319         outputs before storing in %auto_tests.
6320         * math/libm-test.inc (acos_test_data): Update call to
6321         AUTO_TESTS_f_f.
6322         (acos_test): Use ALL_RM_TEST.
6323         (acos_tonearest_test_data): Remove.
6324         (acos_test_tonearest): Likewise.
6325         (acos_towardzero_test_data): Likewise.
6326         (acos_test_towardzero): Likewise.
6327         (acos_downward_test_data): Likewise.
6328         (acos_test_downward): Likewise.
6329         (acos_upward_test_data): Likewise.
6330         (acos_test_upward): Likewise.
6331         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6332         (asin_test_data): Likewise.
6333         (asin_test): Use ALL_RM_TEST.
6334         (asin_tonearest_test_data): Remove.
6335         (asin_test_tonearest): Likewise.
6336         (asin_towardzero_test_data): Likewise.
6337         (asin_test_towardzero): Likewise.
6338         (asin_downward_test_data): Likewise.
6339         (asin_test_downward): Likewise.
6340         (asin_upward_test_data): Likewise.
6341         (asin_test_upward): Likewise.
6342         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6343         (atan_test_data): Likewise.
6344         (atanh_test_data): Likewise.
6345         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6346         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6347         (carg_test_data): Likewise.
6348         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6349         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6350         (ccosh_test_data): Likewise.
6351         (cexp_test_data): Likewise.
6352         (clog_test_data): Likewise.
6353         (clog10_test_data): Likewise.
6354         (cos_test_data): Update call to AUTO_TESTS_f_f.
6355         (cos_test): Use ALL_RM_TEST.
6356         (cos_tonearest_test_data): Remove.
6357         (cos_test_tonearest): Likewise.
6358         (cos_towardzero_test_data): Likewise.
6359         (cos_test_towardzero): Likewise.
6360         (cos_downward_test_data): Likewise.
6361         (cos_test_downward): Likewise.
6362         (cos_upward_test_data): Likewise.
6363         (cos_test_upward): Likewise.
6364         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6365         (cosh_test): Use ALL_RM_TEST.
6366         (cosh_tonearest_test_data): Remove.
6367         (cosh_test_tonearest): Likewise.
6368         (cosh_towardzero_test_data): Likewise.
6369         (cosh_test_towardzero): Likewise.
6370         (cosh_downward_test_data): Likewise.
6371         (cosh_test_downward): Likewise.
6372         (cosh_upward_test_data): Likewise.
6373         (cosh_test_upward): Likewise.
6374         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6375         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6376         (ctan_test_data): Likewise.
6377         (ctan_test): Use ALL_RM_TEST.
6378         (ctan_tonearest_test_data): Remove.
6379         (ctan_test_tonearest): Likewise.
6380         (ctan_towardzero_test_data): Likewise.
6381         (ctan_test_towardzero): Likewise.
6382         (ctan_downward_test_data): Likewise.
6383         (ctan_test_downward): Likewise.
6384         (ctan_upward_test_data): Likewise.
6385         (ctan_test_upward): Likewise.
6386         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6387         (ctanh_test): Use ALL_RM_TEST.
6388         (ctanh_tonearest_test_data): Remove.
6389         (ctanh_test_tonearest): Likewise.
6390         (ctanh_towardzero_test_data): Likewise.
6391         (ctanh_test_towardzero): Likewise.
6392         (ctanh_downward_test_data): Likewise.
6393         (ctanh_test_downward): Likewise.
6394         (ctanh_upward_test_data): Likewise.
6395         (ctanh_test_upward): Likewise.
6396         (erf_test_data): Update call to AUTO_TESTS_f_f.
6397         (erfc_test_data): Likewise.
6398         (exp_test_data): Likewise.
6399         (exp_test): Use ALL_RM_TEST.
6400         (exp_tonearest_test_data): Remove.
6401         (exp_test_tonearest): Likewise.
6402         (exp_towardzero_test_data): Likewise.
6403         (exp_test_towardzero): Likewise.
6404         (exp_downward_test_data): Likewise.
6405         (exp_test_downward): Likewise.
6406         (exp_upward_test_data): Likewise.
6407         (exp_test_upward): Likewise.
6408         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6409         (exp10_test): Use ALL_RM_TEST.
6410         (exp10_tonearest_test_data): Remove.
6411         (exp10_test_tonearest): Likewise.
6412         (exp10_towardzero_test_data): Likewise.
6413         (exp10_test_towardzero): Likewise.
6414         (exp10_downward_test_data): Likewise.
6415         (exp10_test_downward): Likewise.
6416         (exp10_upward_test_data): Likewise.
6417         (exp10_test_upward): Likewise.
6418         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6419         (expm1_test_data): Likewise.
6420         (expm1_test): Use ALL_RM_TEST.
6421         (expm1_tonearest_test_data): Remove.
6422         (expm1_test_tonearest): Likewise.
6423         (expm1_towardzero_test_data): Likewise.
6424         (expm1_test_towardzero): Likewise.
6425         (expm1_downward_test_data): Likewise.
6426         (expm1_test_downward): Likewise.
6427         (expm1_upward_test_data): Likewise.
6428         (expm1_test_upward): Likewise.
6429         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6430         (fma_test): Use ALL_RM_TEST.
6431         (fma_towardzero_test_data): Remove.
6432         (fma_test_towardzero): Likewise.
6433         (fma_downward_test_data): Likewise.
6434         (fma_test_downward): Likewise.
6435         (fma_upward_test_data): Likewise.
6436         (fma_test_upward): Likewise.
6437         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6438         (j0_test_data): Update call to AUTO_TESTS_f_f.
6439         (j1_test_data): Likewise.
6440         (jn_test_data): Update call to AUTO_TESTS_if_f.
6441         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6442         (log_test_data): Update call to AUTO_TESTS_f_f.
6443         (log10_test_data): Likewise.
6444         (log1p_test_data): Likewise.
6445         (log2_test_data): Likewise.
6446         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6447         (pow_tonearest_test_data): Likewise.
6448         (sin_test_data): Update call to AUTO_TESTS_f_f.
6449         (sin_test): Use ALL_RM_TEST.
6450         (sin_tonearest_test_data): Remove.
6451         (sin_test_tonearest): Likewise.
6452         (sin_towardzero_test_data): Likewise.
6453         (sin_test_towardzero): Likewise.
6454         (sin_downward_test_data): Likewise.
6455         (sin_test_downward): Likewise.
6456         (sin_upward_test_data): Likewise.
6457         (sin_test_upward): Likewise.
6458         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6459         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6460         (sinh_test): Use ALL_RM_TEST.
6461         (sinh_tonearest_test_data): Remove.
6462         (sinh_test_tonearest): Likewise.
6463         (sinh_towardzero_test_data): Likewise.
6464         (sinh_test_towardzero): Likewise.
6465         (sinh_downward_test_data): Likewise.
6466         (sinh_test_downward): Likewise.
6467         (sinh_upward_test_data): Likewise.
6468         (sinh_test_upward): Likewise.
6469         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6470         (sqrt_test): Use ALL_RM_TEST.
6471         (sqrt_tonearest_test_data): Remove.
6472         (sqrt_test_tonearest): Likewise.
6473         (sqrt_towardzero_test_data): Likewise.
6474         (sqrt_test_towardzero): Likewise.
6475         (sqrt_downward_test_data): Likewise.
6476         (sqrt_test_downward): Likewise.
6477         (sqrt_upward_test_data): Likewise.
6478         (sqrt_test_upward): Likewise.
6479         (tan_test_data): Update call to AUTO_TESTS_f_f.
6480         (tan_test): Use ALL_RM_TEST.
6481         (tan_tonearest_test_data): Remove.
6482         (tan_test_tonearest): Likewise.
6483         (tan_towardzero_test_data): Likewise.
6484         (tan_test_towardzero): Likewise.
6485         (tan_downward_test_data): Likewise.
6486         (tan_test_downward): Likewise.
6487         (tan_upward_test_data): Likewise.
6488         (tan_test_upward): Likewise.
6489         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6490         (tgamma_test_data): Likewise.
6491         (y0_test_data): Likewise.
6492         (y1_test_data): Likewise.
6493         (yn_test_data): Update call to AUTO_TESTS_if_f.
6494         (main): Do not call removed functions.
6495
6496 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6497
6498         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6499         (ldexp_test_data): Remove.
6500         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6501         scalbn_test_data.
6502         (scalb_test): Use ALL_RM_TEST.
6503
6504 2014-03-19  Andreas Schwab  <schwab@suse.de>
6505
6506         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6507
6508 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6509
6510         [BZ #16649]
6511         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6512         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6513         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6514         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6515         (__ASSUME_PREADV): Undefine.
6516         (__ASSUME_PWRITEV): Likewise.
6517
6518 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6519
6520         * bits/mman-linux.h: Add comment about non-Linux use.
6521         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6522         bits/mman-linux.h resting place.
6523
6524         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6525         * bits/mman-linux.h: ... here.
6526
6527 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6528
6529         * conform/conformtest.pl: Add standard definition when calling C
6530         preprocessor on data files.
6531         (checknamespace): Remove unused variable.
6532
6533 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6534
6535         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6536         minus_oflow, plus_uflow and minus_uflow in expected results.
6537         * math/libm-test.inc (scalbn_test_data): Add more tests of
6538         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6539         minus_uflow.
6540         (scalbn_test): Use ALL_RM_TEST.
6541         (scalbln_test_data): Add more tests of negative arguments.  Use
6542         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6543         (scalbln_test): Use ALL_RM_TEST.
6544
6545 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6546
6547         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6548
6549 2014-03-18  Will Newton  <will.newton@linaro.org>
6550
6551         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6552         inaccurate comment.
6553
6554 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6555
6556         * Makerules [!subdir] (check-abi): Exit with error status if a
6557         test failed.
6558
6559 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6560
6561         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6562         for rint.  Include results for all rounding modes.
6563         (nearbyint_test): Use ALL_RM_TEST.
6564         (rint_test_data): Include all tests used for nearbyint.
6565
6566 2014-03-17  Will Newton  <will.newton@linaro.org>
6567
6568         * nptl/sysdeps/pthread/pthread.h: Revert previous
6569         change.
6570
6571         * sysdeps/generic/ldsodefs.h: Revert previous
6572         change.
6573
6574         * libio/genops.c: Revert previous change.
6575         * libio/libioP.h: Likewise.
6576         * stdio-common/vfprintf.c: Likewise.
6577
6578         * sysdeps/generic/math_private.h: Revert previous
6579         change.
6580
6581         * sysdeps/generic/math_private.h: Check whether
6582         HAVE_RM_CTX is defined with #ifdef rather
6583         than #if.
6584
6585         * argp/argp-fmtstream.h: Check whether
6586         __STRICT_ANSI__ is defined with #ifdef rather
6587         than #if.
6588         * argp/argp.h: Likewise.
6589
6590         * libio/genops.c: Check whether
6591         _IO_JUMPS_OFFSET is defined with #ifdef rather
6592         than #if.
6593         * libio/libioP.h: Likewise.
6594         * stdio-common/vfprintf.c: Likewise.
6595
6596         * sysdeps/generic/ldsodefs.h: Check whether
6597         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6598         than #if.
6599
6600         * nptl/sysdeps/pthread/pthread.h: Check
6601         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6602         its value.
6603
6604 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6605
6606         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6607         setting O_APPEND.
6608         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6609         test case.
6610
6611         [BZ #16680]
6612         * libio/fileops.c (_IO_file_open): Seek to end of file but
6613         don't cache the offset.
6614         (get_file_offset): Remove function.
6615         (do_ftell): Use cached offset when available.
6616         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6617         don't cache the offset.
6618         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6619         case.
6620         (do_one_test): Call it.
6621         (do_ftell_test): Fix up expected old offset for a+ mode.
6622         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6623         available.
6624
6625         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6626         up test status with function return status.
6627         (do_write_test): Likewise.
6628         (do_append_test): Likewise.
6629
6630         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6631         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6632         Remove.
6633
6634 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6635
6636         * math/gen-libm-test.pl (parse_args): Handle results specified for
6637         each rounding mode separately.
6638         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6639         tests and results from lrint_tonearest_test_data,
6640         lrint_towardzero_test_data, lrint_downward_test_data and
6641         lrint_upward_test_data.
6642         (lrint_test): Use ALL_RM_TEST.
6643         (lrint_tonearest_test_data): Remove.
6644         (lrint_test_tonearest): Likewise.
6645         (lrint_towardzero_test_data): Likewise.
6646         (lrint_test_towardzero): Likewise.
6647         (lrint_downward_test_data): Likewise.
6648         (lrint_test_downward): Likewise.
6649         (lrint_upward_test_data): Likewise.
6650         (lrint_test_upward): Likewise.
6651         (llrint_test_data): Merge in per-rounding-mode tests and results
6652         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6653         llrint_downward_test_data and llrint_upward_test_data.
6654         (llrint_test): Use ALL_RM_TEST.
6655         (llrint_tonearest_test_data): Remove.
6656         (llrint_test_tonearest): Likewise.
6657         (llrint_towardzero_test_data): Likewise.
6658         (llrint_test_towardzero): Likewise.
6659         (llrint_downward_test_data): Likewise.
6660         (llrint_test_downward): Likewise.
6661         (llrint_upward_test_data): Likewise.
6662         (llrint_test_upward): Likewise.
6663         (rint_test_data): Merge in per-rounding-mode tests and results
6664         from rint_tonearest_test_data, rint_towardzero_test_data,
6665         rint_downward_test_data and rint_upward_test_data.  Add
6666         per-rounding-mode results for tests not in those arrays.
6667         (rint_test): Use ALL_RM_TEST.
6668         (rint_tonearest_test_data): Remove.
6669         (rint_test_tonearest): Likewise.
6670         (rint_towardzero_test_data): Likewise.
6671         (rint_test_towardzero): Likewise.
6672         (rint_downward_test_data): Likewise.
6673         (rint_test_downward): Likewise.
6674         (rint_upward_test_data): Likewise.
6675         (rint_test_upward): Likewise.
6676         (main): Don't call removed functions.
6677
6678 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6679
6680         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6681         "Compiled on ..." crapola.  It is anti-useful.
6682
6683 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6684
6685         * scripts/evaluate-test.sh: Handle fourth argument to determine
6686         whether test run should stop on failure.
6687         * Makeconfig (stop-on-test-failure): New variable.
6688         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6689         $(stop-on-test-failure).
6690         * Makefile (tests): Give a summary of results from testing and
6691         exit with failure status if they include an ERROR or FAIL.
6692         (xtests): Likewise.
6693         * manual/install.texi (Configuring and compiling): Mention
6694         stop-on-test-failure=y.
6695         * INSTALL: Regenerated.
6696
6697 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6698
6699         * scripts/versionlist.awk: New file.
6700         * Makerules [$(build-shared) = yes]
6701         (postclean-generated): Add Versions.def, not Versions.def.v and
6702         Versions.def.v.i.
6703         ($(common-objpfx)Versions.def.v.i): Target removed.
6704         ($(common-objpfx)Versions.def): New target.
6705         ($(common-objpfx)Versions.all): Depend on that rather that
6706         $(common-objpfx)Versions.def.v.
6707         * Versions.def: File removed.
6708
6709         * Makeconfig (+gccwarn): Add -Wundef.
6710         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6711         a dl-sysdep.h breaking its contract.
6712         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6713         * include/stackinfo.h: New file.
6714         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6715         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6716         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6717         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6718         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6719         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6720         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6721         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6722         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6723         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6724         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6725         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6726         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6727         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6728         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6729
6730 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6731
6732         [BZ #16707]
6733         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6734         implementation.
6735         * math/libm-test.inc (round_test_data): Add more tests.
6736
6737         [BZ #16706]
6738         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6739         implementation.
6740         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6741
6742         [BZ #16701]
6743         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6744         implementation.
6745         * math/libm-test.inc (ceil_test_data): Add more tests.
6746
6747         * math/libm-test.inc (trunc_test_data): Add more tests related to
6748         BZ#16414.
6749
6750 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6751
6752         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6753         with #if rather than #ifdef.
6754         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6755
6756 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6757
6758         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6759         first.  Disable AVX-512 GCC support if assembler doesn't support
6760         it.
6761         * sysdeps/x86_64/configure: Regenerated.
6762
6763 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6764
6765         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6766         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6767         (__old_pthread_attr_setstack): Likewise.
6768         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6769         [!_STACK_GROWS_DOWN]: Likewise.
6770
6771 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6772
6773         * config.make.in (have-bash2): Delete.
6774         * configure.ac (libc_cv_have_bash2): Delete.
6775         * configure: Regenerate.
6776         * elf/Makefile (common-ldd-rewrite): Rename to ...
6777         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6778         (sh-ldd-rewrite): Delete.
6779         (bash-ldd-rewrite): Delete.
6780         (have-bash2): Delete checks.
6781         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6782         ldd-rewrite.
6783
6784         * config.make.in (have-ksh): Delete.
6785         (KSH): Delete.
6786         * configure.ac (libc_cv_have_ksh): Delete.
6787         * configure: Regenerate.
6788
6789         * elf/Makefile: Delete $(have-ksh) check.
6790         ($(objpfx)sotruss): Change KSH to BASH.
6791         * elf/sotruss.ksh: Rename to ...
6792         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6793         function style to match POSIX.  Drop ksh vim mode setting.
6794
6795         * manual/time.texi (Specifying the Time Zone with TZ): Change
6796         Tuesday to Thursday.
6797
6798         * debug/tst-longjmp_chk2.c: Update header comment.
6799         (stackoverflow_handler): Add comment.  Call assert on pass value.
6800
6801 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6802
6803         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6804         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6805         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6806         (La_x86_64_vector): Add zmm.
6807         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6808         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6809         ($(objpfx)tst-audit10): New target.
6810         ($(objpfx)tst-audit10.out): Likewise.
6811         (tst-audit10-ENV): New.
6812         (AVX512-CFLAGS): Likewise.
6813         (CFLAGS-tst-audit10.c): Likewise.
6814         (CFLAGS-tst-auditmod10a.c): Likewise.
6815         (CFLAGS-tst-auditmod10b.c): Likewise.
6816         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6817         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6818         * sysdeps/x86_64/configure: Regenerated.
6819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6820         AVX-512 zmm register support.
6821         (_dl_x86_64_save_sse): Likewise.
6822         (_dl_x86_64_restore_sse): Likewise.
6823         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6824         size vector registers.
6825         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6826         (ZMM_SIZE): Likewise.
6827         * sysdeps/x86_64/tst-audit10.c: New file.
6828         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6829         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6830
6831 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6832
6833         * configure.ac (HAVE_EHDR_START): New check.
6834         * configure: Regenerated.
6835         * config.h.in (HAVE_EHDR_START): New #undef.
6836         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6837         assuming the lowest-addressed segment maps the start of the file.
6838
6839 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6840
6841         * INSTALL: Regenerated.
6842
6843 2014-03-13  Will Newton  <will.newton@linaro.org>
6844
6845         * manual/setjmp.texi (System V contexts): Improve
6846         clarity and grammar of documentation.
6847
6848 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6849
6850         [BZ #16381]
6851         * elf/Makefile (tests): Add tst-pie2.
6852         (tests-pie): Add tst-pie2.
6853         * elf/tst-pie2.c: New file.
6854         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6855         for ET_EXEC.
6856         * elf/rtld.c (map_doit): Load executable as lt_executable.
6857         (dl_main): Likewise.
6858
6859 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6860
6861         [BZ #16642]
6862         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6863         (__ASSUME_PSELECT): Undefine.
6864
6865 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6866
6867         [BZ #16689]
6868         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6869         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6870         static build.
6871         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6872         selector for static builds.
6873
6874 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6875
6876         [BZ #16695]
6877         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6878         key in the buffer.
6879
6880 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6881
6882         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6883         IFUNC selector for static builds.
6884
6885 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6886
6887         * sysdeps/mips/math_private.h [__mips_hard_float]
6888         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6889         libc_feresetround_mips_ctx.
6890         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6891         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6892         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6893
6894         [BZ #16677]
6895         * math/s_nextafter.c (__nextafter): Do not return value from
6896         overflowing computation.
6897         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6898         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6899         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6900         Likewise.
6901         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6902         Likewise.
6903         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6904         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6905
6906 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6907
6908         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6909         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6910         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6911         the new mov targetting sp.
6912
6913 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6914
6915         [BZ #16683]
6916         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6917         Define it for static builds as well.
6918         (NO_BZERO_IMPL): Likewise.
6919
6920 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6921
6922         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6923         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6924         multiarch strspn for PPC64.
6925         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6926         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6928         (__libc_ifunc_impl_list): Likewise.
6929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6930         multiarch optimizations
6931         * string/strspn.c (strspn): Using macro to redefine symbol name.
6932
6933 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6934             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6935
6936         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6937         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6938         multiarch strncat for PPC64.
6939         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6940         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6942         (__libc_ifunc_impl_list): Likewise.
6943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6944         multiarch optimizations
6945
6946 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6947
6948         [BZ #16639]
6949         * nscd/nscd.service: Make service type forking.
6950
6951 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6952
6953         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6954         sign in non default rounding modes.
6955         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6956
6957 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6958
6959         * math/libm-test.inc (ALL_RM_TEST): New macro.
6960         (ceil_test): Use ALL_RM_TEST.
6961         (cimag_test): Likewise.
6962         (conj_test): Likewise.
6963         (copysign_test): Likewise.
6964         (cproj_test): Likewise.
6965         (creal_test): Likewise.
6966         (fabs_test): Likewise.
6967         (floor_test): Likewise.
6968         (fmax_test): Likewise.
6969         (fmin_test): Likewise.
6970         (fmod_test): Likewise.
6971         (fpclassify_test): Likewise.
6972         (frexp_test): Likewise.
6973         (ilogb_test): Likewise.
6974         (isfinite_test): Likewise.
6975         (finite_test): Likewise.
6976         (isgreater_test): Likewise.
6977         (isgreaterequal_test): Likewise.
6978         (isinf_test): Likewise.
6979         (isless_test): Likewise.
6980         (islessequal_test): Likewise.
6981         (islessgreater_test): Likewise.
6982         (isnan_test): Likewise.
6983         (isnormal_test): Likewise.
6984         (issignaling_test): Likewise.
6985         (isunordered_test): Likewise.
6986         (logb_test): Likewise.
6987         (logb_downward_test_data): Remove.
6988         (logb_test_downward): Likewise.
6989         (lround_test): Use ALL_RM_TEST.
6990         (llround_test): Likewise.
6991         (modf_test): Likewise.
6992         (nexttoward_test): Likewise.
6993         (remainder_test): Likewise.
6994         (drem_test): Likewise.
6995         (remainder_tonearest_test_data): Likewise.
6996         (remainder_test_tonearest): Likewise.
6997         (drem_test_tonearest): Likewise.
6998         (remainder_towardzero_test_data): Likewise.
6999         (remainder_test_towardzero): Likewise.
7000         (drem_test_towardzero): Likewise.
7001         (remainder_downward_test_data): Likewise.
7002         (remainder_test_downward): Likewise.
7003         (drem_test_downward): Likewise.
7004         (remainder_upward_test_data): Likewise.
7005         (remainder_test_upward): Likewise.
7006         (drem_test_upward): Likewise.
7007         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7008         (round_test): Use ALL_RM_TEST.
7009         (signbit_test): Likewise.
7010         (trunc_test): Likewise.
7011         (significand_test): Likewise.
7012         (main): Don't call removed functions.
7013
7014 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7015
7016         [BZ #16674]
7017         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7018         || __USE_XOPEN2K8].
7019         (ILL_ILLOPN): Likewise.
7020         (ILL_ILLADR): Likewise.
7021         (ILL_ILLTRP): Likewise.
7022         (ILL_PRVOPC): Likewise.
7023         (ILL_PRVREG): Likewise.
7024         (ILL_COPROC): Likewise.
7025         (ILL_BADSTK): Likewise.
7026         (FPE_INTDIV): Likewise.
7027         (FPE_INTOVF): Likewise.
7028         (FPE_FLTDIV): Likewise.
7029         (FPE_FLTOVF): Likewise.
7030         (FPE_FLTUND): Likewise.
7031         (FPE_FLTRES): Likewise.
7032         (FPE_FLTINV): Likewise.
7033         (FPE_FLTSUB): Likewise.
7034         (SEGV_MAPERR): Likewise.
7035         (SEGV_ACCERR): Likewise.
7036         (BUS_ADRALN): Likewise.
7037         (BUS_ADRERR): Likewise.
7038         (BUS_OBJERR): Likewise.
7039         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7040         (TRAP_TRACE): Likewise.
7041         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7042         __USE_XOPEN2K8].
7043         (CLD_KILLED): Likewise.
7044         (CLD_DUMPED): Likewise.
7045         (CLD_TRAPPED): Likewise.
7046         (CLD_STOPPED): Likewise.
7047         (CLD_CONTINUED): Likewise.
7048         (POLL_IN): Likewise.
7049         (POLL_OUT): Likewise.
7050         (POLL_MSG): Likewise.
7051         (POLL_ERR): Likewise.
7052         (POLL_PRI): Likewise.
7053         (POLL_HUP): Likewise.
7054         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7055         Likewise.
7056         (ILL_ILLOPN): Likewise.
7057         (ILL_ILLADR): Likewise.
7058         (ILL_ILLTRP): Likewise.
7059         (ILL_PRVOPC): Likewise.
7060         (ILL_PRVREG): Likewise.
7061         (ILL_COPROC): Likewise.
7062         (ILL_BADSTK): Likewise.
7063         (FPE_INTDIV): Likewise.
7064         (FPE_INTOVF): Likewise.
7065         (FPE_FLTDIV): Likewise.
7066         (FPE_FLTOVF): Likewise.
7067         (FPE_FLTUND): Likewise.
7068         (FPE_FLTRES): Likewise.
7069         (FPE_FLTINV): Likewise.
7070         (FPE_FLTSUB): Likewise.
7071         (SEGV_MAPERR): Likewise.
7072         (SEGV_ACCERR): Likewise.
7073         (BUS_ADRALN): Likewise.
7074         (BUS_ADRERR): Likewise.
7075         (BUS_OBJERR): Likewise.
7076         (BUS_MCEERR_AR): Likewise.
7077         (BUS_MCEERR_AO): Likewise.
7078         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7079         (TRAP_TRACE): Likewise.
7080         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7081         __USE_XOPEN2K8].
7082         (CLD_KILLED): Likewise.
7083         (CLD_DUMPED): Likewise.
7084         (CLD_TRAPPED): Likewise.
7085         (CLD_STOPPED): Likewise.
7086         (CLD_CONTINUED): Likewise.
7087         (POLL_IN): Likewise.
7088         (POLL_OUT): Likewise.
7089         (POLL_MSG): Likewise.
7090         (POLL_ERR): Likewise.
7091         (POLL_PRI): Likewise.
7092         (POLL_HUP): Likewise.
7093         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7094         (ILL_ILLOPN): Likewise.
7095         (ILL_ILLADR): Likewise.
7096         (ILL_ILLTRP): Likewise.
7097         (ILL_PRVOPC): Likewise.
7098         (ILL_PRVREG): Likewise.
7099         (ILL_COPROC): Likewise.
7100         (ILL_BADSTK): Likewise.
7101         (FPE_INTDIV): Likewise.
7102         (FPE_INTOVF): Likewise.
7103         (FPE_FLTDIV): Likewise.
7104         (FPE_FLTOVF): Likewise.
7105         (FPE_FLTUND): Likewise.
7106         (FPE_FLTRES): Likewise.
7107         (FPE_FLTINV): Likewise.
7108         (FPE_FLTSUB): Likewise.
7109         (SEGV_MAPERR): Likewise.
7110         (SEGV_ACCERR): Likewise.
7111         (BUS_ADRALN): Likewise.
7112         (BUS_ADRERR): Likewise.
7113         (BUS_OBJERR): Likewise.
7114         (BUS_MCEERR_AR): Likewise.
7115         (BUS_MCEERR_AO): Likewise.
7116         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7117         (TRAP_TRACE): Likewise.
7118         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7119         __USE_XOPEN2K8].
7120         (CLD_KILLED): Likewise.
7121         (CLD_DUMPED): Likewise.
7122         (CLD_TRAPPED): Likewise.
7123         (CLD_STOPPED): Likewise.
7124         (CLD_CONTINUED): Likewise.
7125         (POLL_IN): Likewise.
7126         (POLL_OUT): Likewise.
7127         (POLL_MSG): Likewise.
7128         (POLL_ERR): Likewise.
7129         (POLL_PRI): Likewise.
7130         (POLL_HUP): Likewise.
7131         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7132         Likewise.
7133         (ILL_ILLOPN): Likewise.
7134         (ILL_ILLADR): Likewise.
7135         (ILL_ILLTRP): Likewise.
7136         (ILL_PRVOPC): Likewise.
7137         (ILL_PRVREG): Likewise.
7138         (ILL_COPROC): Likewise.
7139         (ILL_BADSTK): Likewise.
7140         (ILL_BADIADDR): Likewise.
7141         (ILL_BREAK): Likewise.
7142         (FPE_INTDIV): Likewise.
7143         (FPE_INTOVF): Likewise.
7144         (FPE_FLTDIV): Likewise.
7145         (FPE_FLTOVF): Likewise.
7146         (FPE_FLTUND): Likewise.
7147         (FPE_FLTRES): Likewise.
7148         (FPE_FLTINV): Likewise.
7149         (FPE_FLTSUB): Likewise.
7150         (FPE_DECOVF): Likewise.
7151         (FPE_DECDIV): Likewise.
7152         (FPE_DECERR): Likewise.
7153         (FPE_INVASC): Likewise.
7154         (FPE_INVDEC): Likewise.
7155         (SEGV_MAPERR): Likewise.
7156         (SEGV_ACCERR): Likewise.
7157         (SEGV_PSTKOVF): Likewise.
7158         (BUS_ADRALN): Likewise.
7159         (BUS_ADRERR): Likewise.
7160         (BUS_OBJERR): Likewise.
7161         (BUS_MCEERR_AR): Likewise.
7162         (BUS_MCEERR_AO): Likewise.
7163         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7164         (TRAP_TRACE): Likewise.
7165         (TRAP_BRANCH): Likewise.
7166         (TRAP_HWBKPT): Likewise.
7167         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7168         __USE_XOPEN2K8].
7169         (CLD_KILLED): Likewise.
7170         (CLD_DUMPED): Likewise.
7171         (CLD_TRAPPED): Likewise.
7172         (CLD_STOPPED): Likewise.
7173         (CLD_CONTINUED): Likewise.
7174         (POLL_IN): Likewise.
7175         (POLL_OUT): Likewise.
7176         (POLL_MSG): Likewise.
7177         (POLL_ERR): Likewise.
7178         (POLL_PRI): Likewise.
7179         (POLL_HUP): Likewise.
7180         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7181         (ILL_ILLOPN): Likewise.
7182         (ILL_ILLADR): Likewise.
7183         (ILL_ILLTRP): Likewise.
7184         (ILL_PRVOPC): Likewise.
7185         (ILL_PRVREG): Likewise.
7186         (ILL_COPROC): Likewise.
7187         (ILL_BADSTK): Likewise.
7188         (FPE_INTDIV): Likewise.
7189         (FPE_INTOVF): Likewise.
7190         (FPE_FLTDIV): Likewise.
7191         (FPE_FLTOVF): Likewise.
7192         (FPE_FLTUND): Likewise.
7193         (FPE_FLTRES): Likewise.
7194         (FPE_FLTINV): Likewise.
7195         (FPE_FLTSUB): Likewise.
7196         (SEGV_MAPERR): Likewise.
7197         (SEGV_ACCERR): Likewise.
7198         (BUS_ADRALN): Likewise.
7199         (BUS_ADRERR): Likewise.
7200         (BUS_OBJERR): Likewise.
7201         (BUS_MCEERR_AR): Likewise.
7202         (BUS_MCEERR_AO): Likewise.
7203         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7204         (TRAP_TRACE): Likewise.
7205         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7206         __USE_XOPEN2K8].
7207         (CLD_KILLED): Likewise.
7208         (CLD_DUMPED): Likewise.
7209         (CLD_TRAPPED): Likewise.
7210         (CLD_STOPPED): Likewise.
7211         (CLD_CONTINUED): Likewise.
7212         (POLL_IN): Likewise.
7213         (POLL_OUT): Likewise.
7214         (POLL_MSG): Likewise.
7215         (POLL_ERR): Likewise.
7216         (POLL_PRI): Likewise.
7217         (POLL_HUP): Likewise.
7218         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7219         (ILL_ILLOPN): Likewise.
7220         (ILL_ILLADR): Likewise.
7221         (ILL_ILLTRP): Likewise.
7222         (ILL_PRVOPC): Likewise.
7223         (ILL_PRVREG): Likewise.
7224         (ILL_COPROC): Likewise.
7225         (ILL_BADSTK): Likewise.
7226         (FPE_INTDIV): Likewise.
7227         (FPE_INTOVF): Likewise.
7228         (FPE_FLTDIV): Likewise.
7229         (FPE_FLTOVF): Likewise.
7230         (FPE_FLTUND): Likewise.
7231         (FPE_FLTRES): Likewise.
7232         (FPE_FLTINV): Likewise.
7233         (FPE_FLTSUB): Likewise.
7234         (SEGV_MAPERR): Likewise.
7235         (SEGV_ACCERR): Likewise.
7236         (BUS_ADRALN): Likewise.
7237         (BUS_ADRERR): Likewise.
7238         (BUS_OBJERR): Likewise.
7239         (BUS_MCEERR_AR): Likewise.
7240         (BUS_MCEERR_AO): Likewise.
7241         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7242         (TRAP_TRACE): Likewise.
7243         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7244         __USE_XOPEN2K8].
7245         (CLD_KILLED): Likewise.
7246         (CLD_DUMPED): Likewise.
7247         (CLD_TRAPPED): Likewise.
7248         (CLD_STOPPED): Likewise.
7249         (CLD_CONTINUED): Likewise.
7250         (POLL_IN): Likewise.
7251         (POLL_OUT): Likewise.
7252         (POLL_MSG): Likewise.
7253         (POLL_ERR): Likewise.
7254         (POLL_PRI): Likewise.
7255         (POLL_HUP): Likewise.
7256         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7257         (ILL_ILLOPN): Likewise.
7258         (ILL_ILLADR): Likewise.
7259         (ILL_ILLTRP): Likewise.
7260         (ILL_PRVOPC): Likewise.
7261         (ILL_PRVREG): Likewise.
7262         (ILL_COPROC): Likewise.
7263         (ILL_BADSTK): Likewise.
7264         (FPE_INTDIV): Likewise.
7265         (FPE_INTOVF): Likewise.
7266         (FPE_FLTDIV): Likewise.
7267         (FPE_FLTOVF): Likewise.
7268         (FPE_FLTUND): Likewise.
7269         (FPE_FLTRES): Likewise.
7270         (FPE_FLTINV): Likewise.
7271         (FPE_FLTSUB): Likewise.
7272         (SEGV_MAPERR): Likewise.
7273         (SEGV_ACCERR): Likewise.
7274         (BUS_ADRALN): Likewise.
7275         (BUS_ADRERR): Likewise.
7276         (BUS_OBJERR): Likewise.
7277         (BUS_MCEERR_AR): Likewise.
7278         (BUS_MCEERR_AO): Likewise.
7279         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7280         (TRAP_TRACE): Likewise.
7281         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7282         __USE_XOPEN2K8].
7283         (CLD_KILLED): Likewise.
7284         (CLD_DUMPED): Likewise.
7285         (CLD_TRAPPED): Likewise.
7286         (CLD_STOPPED): Likewise.
7287         (CLD_CONTINUED): Likewise.
7288         (POLL_IN): Likewise.
7289         (POLL_OUT): Likewise.
7290         (POLL_MSG): Likewise.
7291         (POLL_ERR): Likewise.
7292         (POLL_PRI): Likewise.
7293         (POLL_HUP): Likewise.
7294         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7295         (ILL_ILLOPN): Likewise.
7296         (ILL_ILLADR): Likewise.
7297         (ILL_ILLTRP): Likewise.
7298         (ILL_PRVOPC): Likewise.
7299         (ILL_PRVREG): Likewise.
7300         (ILL_COPROC): Likewise.
7301         (ILL_BADSTK): Likewise.
7302         (ILL_DBLFLT): Likewise.
7303         (ILL_HARDWALL): Likewise.
7304         (FPE_INTDIV): Likewise.
7305         (FPE_INTOVF): Likewise.
7306         (FPE_FLTDIV): Likewise.
7307         (FPE_FLTOVF): Likewise.
7308         (FPE_FLTUND): Likewise.
7309         (FPE_FLTRES): Likewise.
7310         (FPE_FLTINV): Likewise.
7311         (FPE_FLTSUB): Likewise.
7312         (SEGV_MAPERR): Likewise.
7313         (SEGV_ACCERR): Likewise.
7314         (BUS_ADRALN): Likewise.
7315         (BUS_ADRERR): Likewise.
7316         (BUS_OBJERR): Likewise.
7317         (BUS_MCEERR_AR): Likewise.
7318         (BUS_MCEERR_AO): Likewise.
7319         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7320         (TRAP_TRACE): Likewise.
7321         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7322         __USE_XOPEN2K8].
7323         (CLD_KILLED): Likewise.
7324         (CLD_DUMPED): Likewise.
7325         (CLD_TRAPPED): Likewise.
7326         (CLD_STOPPED): Likewise.
7327         (CLD_CONTINUED): Likewise.
7328         (POLL_IN): Likewise.
7329         (POLL_OUT): Likewise.
7330         (POLL_MSG): Likewise.
7331         (POLL_ERR): Likewise.
7332         (POLL_PRI): Likewise.
7333         (POLL_HUP): Likewise.
7334         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7335         (ILL_ILLOPN): Likewise.
7336         (ILL_ILLADR): Likewise.
7337         (ILL_ILLTRP): Likewise.
7338         (ILL_PRVOPC): Likewise.
7339         (ILL_PRVREG): Likewise.
7340         (ILL_COPROC): Likewise.
7341         (ILL_BADSTK): Likewise.
7342         (FPE_INTDIV): Likewise.
7343         (FPE_INTOVF): Likewise.
7344         (FPE_FLTDIV): Likewise.
7345         (FPE_FLTOVF): Likewise.
7346         (FPE_FLTUND): Likewise.
7347         (FPE_FLTRES): Likewise.
7348         (FPE_FLTINV): Likewise.
7349         (FPE_FLTSUB): Likewise.
7350         (SEGV_MAPERR): Likewise.
7351         (SEGV_ACCERR): Likewise.
7352         (BUS_ADRALN): Likewise.
7353         (BUS_ADRERR): Likewise.
7354         (BUS_OBJERR): Likewise.
7355         (BUS_MCEERR_AR): Likewise.
7356         (BUS_MCEERR_AO): Likewise.
7357         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7358         (TRAP_TRACE): Likewise.
7359         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7360         __USE_XOPEN2K8].
7361         (CLD_KILLED): Likewise.
7362         (CLD_DUMPED): Likewise.
7363         (CLD_TRAPPED): Likewise.
7364         (CLD_STOPPED): Likewise.
7365         (CLD_CONTINUED): Likewise.
7366         (POLL_IN): Likewise.
7367         (POLL_OUT): Likewise.
7368         (POLL_MSG): Likewise.
7369         (POLL_ERR): Likewise.
7370         (POLL_PRI): Likewise.
7371         (POLL_HUP): Likewise.
7372         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7373         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7374
7375         [BZ #16670]
7376         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7377         before #include of <time.h>.
7378         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7379         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7380         (test-xfail-UNIX98/sched.h/conform): Likewise.
7381
7382 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7383
7384         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7385         error absence of trapping exception support.
7386         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7387
7388 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7389
7390         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7391         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7392         * timezone/Makefile (testdata): Move definition above include of
7393         Rules.
7394         (test-zones): New variable.
7395         (tests-special): Add zone files.
7396         (build-testdata): Use $(evaluate-test).
7397
7398         * elf/Makefile (tests-special): Rename tests to end with .out.
7399         ($(objpfx)noload-mem): Likewise.
7400         ($(objpfx)tst-leaks1-mem): Likewise.
7401         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7402         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7403         $(objpfx)test-iconvconfig.out.
7404         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7405         set -e inside subshell and redirect output to file.
7406         * iconvdata/Makefile (generated): Rename tests to end with .out.
7407         Correct type.
7408         (tests-special): Rename tests to end with .out.
7409         ($(objpfx)mtrace-tst-loading): Likewise.
7410         * intl/Makefile (generated): Likewise.
7411         (tests-special): Likewise.
7412         ($(objpfx)mtrace-tst-gettext): Likewise.
7413         * misc/Makefile (generated): Likewise.
7414         (tests-special): Likewise.
7415         ($(objpfx)tst-error1-mem): Likewise.
7416         * nptl/Makefile (tests-special): Likewise.
7417         ($(objpfx)tst-stack3-mem): Likewise.
7418         (generated): Likewise.
7419         * posix/Makefile (generated): Likewise.
7420         (tests-special): Likewise.
7421         (xtests-special): Likewise.
7422         ($(objpfx)tst-fnmatch-mem): Likewise.
7423         ($(objpfx)bug-regex2-mem): Likewise.
7424         ($(objpfx)bug-regex14-mem): Likewise.
7425         ($(objpfx)bug-regex21-mem): Likewise.
7426         ($(objpfx)bug-regex31-mem): Likewise.
7427         ($(objpfx)tst-vfork3-mem): Likewise.
7428         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7429         ($(objpfx)tst-pcre-mem): Likewise.
7430         ($(objpfx)tst-boost-mem): Likewise.
7431         ($(objpfx)bug-ga2-mem): Likewise.
7432         ($(objpfx)bug-glob2-mem): Likewise.
7433         * resolv/Makefile (generate): Likewise.
7434         (tests-special): Likewise.
7435         (xtests-special): Likewise.
7436         (generated): Likewise.
7437         ($(objpfx)mtrace-tst-leaks): Likewise.
7438         ($(objpfx)mtrace-tst-leaks2): Likewise.
7439
7440         * scripts/merge-test-results.sh: New file.
7441         * Makefile (tests-special-notdir): New variable.
7442         (tests): Run merge-test-results.sh.
7443         (xtests): Likewise.
7444         * Rules (tests-special-notdir): New variable.
7445         (xtests-special-notdir): Likewise.
7446         (tests): Run merge-test-results.sh
7447         (xtests): Likewise.
7448
7449         * Makeconfig (test-xfail-name): New variable.
7450         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7451         compute variable name for expected failures.
7452         * conform/Makefile (conformtest-headers-data): New variable.
7453         (conformtest-standards): Likewise.
7454         (conformtest-headers-ISO): Likewise.
7455         (conformtest-headers-ISO99): Likewise.
7456         (conformtest-headers-ISO11): Likewise.
7457         (conformtest-headers-POSIX): Likewise.
7458         (conformtest-headers-XPG3): Likewise.
7459         (conformtest-headers-XPG4): Likewise.
7460         (conformtest-headers-UNIX98): Likewise.
7461         (conformtest-headers-XOPEN2K): Likewise.
7462         (conformtest-headers-POSIX2008): Likewise.
7463         (conformtest-headers-XOPEN2K8): Likewise.
7464         (conformtest-header-list-base): Likewise.
7465         (conformtest-header-list-tests): Likewise.
7466         (conformtest-header-base): Likewise.
7467         (conformtest-header-tests): Likewise.
7468         (tests-special): Add $(conformtest-header-list-tests).  If
7469         [$(fast-check) && !$(cross-compiling)], add
7470         $(conformtest-header-tests) instead of
7471         $(objpfx)run-conformtest.out.
7472         (generated): Add $(conformtest-header-list-base).  If
7473         [$(fast-check) && !$(cross-compiling)], add
7474         $(conformtest-header-base).  Remove previous setting.
7475         ($(conformtest-header-list-tests)): New target.
7476         (test-xfail-run-conformtest): Remove variable.
7477         ($(objpfx)run-conformtest.out): Remove target.
7478         (test-xfail-ISO11/complex.h/conform): New variable.
7479         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7480         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7481         (test-xfail-XPG3/varargs.h/conform): Likewise.
7482         (test-xfail-XPG4/varargs.h/conform): Likewise.
7483         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7484         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7485         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7486         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7487         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7488         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7489         (test-xfail-XPG3/ftw.h/conform): Likewise.
7490         (test-xfail-XPG3/grp.h/conform): Likewise.
7491         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7492         (test-xfail-XPG3/limits.h/conform): Likewise.
7493         (test-xfail-XPG3/pwd.h/conform): Likewise.
7494         (test-xfail-XPG3/search.h/conform): Likewise.
7495         (test-xfail-XPG3/signal.h/conform): Likewise.
7496         (test-xfail-XPG3/stdio.h/conform): Likewise.
7497         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7498         (test-xfail-XPG3/string.h/conform): Likewise.
7499         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7500         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7501         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7502         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7503         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7504         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7505         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7506         (test-xfail-XPG3/termios.h/conform): Likewise.
7507         (test-xfail-XPG3/time.h/conform): Likewise.
7508         (test-xfail-XPG3/unistd.h/conform): Likewise.
7509         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7510         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7511         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7512         (test-xfail-XPG4/netdb.h/conform): Likewise.
7513         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7514         (test-xfail-XPG4/signal.h/conform): Likewise.
7515         (test-xfail-XPG4/stdio.h/conform): Likewise.
7516         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7517         (test-xfail-XPG4/stropts.h/conform): Likewise.
7518         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7519         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7520         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7521         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7522         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7523         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7524         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7525         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7526         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7527         (test-xfail-XPG4/termios.h/conform): Likewise.
7528         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7529         (test-xfail-XPG4/unistd.h/conform): Likewise.
7530         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7531         (test-xfail-POSIX/sched.h/conform): Likewise.
7532         (test-xfail-POSIX/signal.h/conform): Likewise.
7533         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7534         (test-xfail-POSIX/tar.h/conform): Likewise.
7535         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7536         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7537         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7538         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7539         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7540         (test-xfail-UNIX98/sched.h/conform): Likewise.
7541         (test-xfail-UNIX98/signal.h/conform): Likewise.
7542         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7543         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7544         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7545         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7546         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7547         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7548         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7549         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7550         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7551         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7552         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7553         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7554         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7555         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7556         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7557         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7558         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7559         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7560         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7561         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7562         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7563         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7564         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7565         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7566         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7567         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7568         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7569         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7570         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7571         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7572         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7573         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7574         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7575         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7576         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7577         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7578         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7579         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7580         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7581         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7582         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7583         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7584         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7585         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7586         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7587         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7588         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7589         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7590         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7591         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7592         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7593         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7594         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7595         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7596         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7597         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7598         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7599         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7600         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7601         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7602         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7603         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7604         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7605         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7606         (conformtest-cc-flags): Likewise.
7607         ($(conformtest-header-tests): New target.
7608         * conform/check-header-lists.sh: New file.
7609         * conform/run-conformtest.sh: Remove.
7610
7611         * conform/conformtest.pl: Allow ' and \ in values given for
7612         constants.
7613         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7614         inclusion.
7615         [POSIX] (sys/types.h): Likewise.
7616         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7617         inclusion.
7618         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7619         inclusion.
7620         * conform/data/signal.h-data (SIGIO): Remove expectation.
7621         [XPG3] (SIGBUS): Do not expect.
7622         [POSIX || XPG3] (SIGPOLL): Likewise.
7623         [POSIX || XPG3] (SIGPROF): Likewise.
7624         [POSIX || XPG3] (SIGSYS): Likewise.
7625         [XPG3] (SIGTRAP): Likewise.
7626         [POSIX || XPG3] (SIGURG): Likewise.
7627         [POSIX || XPG3] (SIGVTALRM): Likewise.
7628         [POSIX || XPG3] (SIGXCPU): Likewise.
7629         [POSIX || XPG3] (SIGXFSZ): Likewise.
7630         [POSIX] (SA_SIGINFO): Expect.
7631         [XPG3] (siginfo_t): Do not expect type or contents.
7632         [POSIX] (si_pid): Do not expect element.
7633         [POSIX] (si_uid): Likewise.
7634         [POSIX] (si_addr): Likewise.
7635         [POSIX] (si_status): Likewise.
7636         [POSIX] (si_band): Likewise.
7637         [XPG4] (si_value): Likewise.
7638         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7639         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7640         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7641         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7642         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7643         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7644         [POSIX || XPG3] (ILL_COPROC): Likewise.
7645         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7646         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7647         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7648         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7649         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7650         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7651         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7652         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7653         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7654         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7655         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7656         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7657         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7658         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7659         [POSIX || XPG3] (CLD_EXITED): Likewise.
7660         [POSIX || XPG3] (CLD_KILLED): Likewise.
7661         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7662         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7663         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7664         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7665         [POSIX || XPG3] (POLL_IN): Likewise.
7666         [POSIX || XPG3] (POLL_OUT): Likewise.
7667         [POSIX || XPG3] (POLL_MSG): Likewise.
7668         [POSIX || XPG3] (POLL_ERR): Likewise.
7669         [POSIX || XPG3] (POLL_PRI): Likewise.
7670         [POSIX || XPG3] (POLL_HUP): Likewise.
7671         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7672         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7673         (SIG*): Do not allow.
7674         [XPG3] (si_*): Likewise.
7675         [XPG3] (SI_*): Likewise.
7676         [XPG3 || XPG4] (sigev_*): Likewise.
7677         [XPG3 || XPG4] (SIGEV_*): Likewise.
7678         [XPG3 || XPG4] (sival_*): Likewise.
7679         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7680         [POSIX || XPG3] (BUS_*): Likewise.
7681         [POSIX || XPG3] (CLD_*): Likewise.
7682         [POSIX || XPG3] (FPE_*): Likewise.
7683         [POSIX || XPG3] (ILL_*): Likewise.
7684         [POSIX || XPG3] (POLL_*): Likewise.
7685         [POSIX || XPG3] (SEGV_*): Likewise.
7686         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7687         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7688         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7689         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7690         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7691         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7692         Specify type and value.
7693         (TVERSLEN): Likewise.
7694         (REGTYPE): Likewise.
7695         (AREGTYPE): Likewise.
7696         (LNKTYPE): Likewise.
7697         (SYMTYPE): Likewise.
7698         (CHRTYPE): Likewise.
7699         (BLKTYPE): Likewise.
7700         (DIRTYPE): Likewise.
7701         (FIFOTYPE): Likewise.
7702         (CONTTYPE): Likewise.
7703         (TSUID): Likewise.
7704         (TSGID): Likewise.
7705         (TSVTX): Likewise.
7706         (TUREAD): Likewise.
7707         (TUWRITE): Likewise.
7708         (TUEXEC): Likewise.
7709         (TGREAD): Likewise.
7710         (TGWRITE): Likewise.
7711         (TGEXEC): Likewise.
7712         (TOREAD): Likewise.
7713         (TOWRITE): Likewise.
7714         (TOEXEC): Likewise.
7715         [POSIX] (TSVTX): Expect constant.
7716
7717 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7718
7719         * Makefile (tests): Change dependencies to ....
7720         (tests-special): ... additions to this variable.
7721         (tests): Depend on $(tests-special).
7722         * Makerules (check-abi-list): New variable.
7723         (check-abi): Depend on $(check-abi-list).
7724         [$(subdir) = elf] (tests-special): Add
7725         $(objpfx)check-abi-libc.out.
7726         [$(build-shared) = yes && subdir] (tests-special): Add
7727         $(check-abi-list).
7728         [$(build-shared) = yes && subdir] (tests): Do not depend on
7729         check-abi.
7730         * Rules (tests): Depend on $(tests-special).
7731         (xtests): Depend on $(xtests-special).
7732         * catgets/Makefile (tests): Change dependencies to ....
7733         (tests-special): ... additions to this variable.
7734         * conform/Makefile (tests): Change dependencies to ....
7735         (tests-special): ... additions to this variable.
7736         * elf/Makefile (tests): Change dependencies to ....
7737         (tests-special): ... additions to this variable.
7738         * grp/Makefile (tests): Change dependencies to ....
7739         (tests-special): ... additions to this variable.
7740         * iconv/Makefile (xtests): Change dependencies to ....
7741         (xtests-special): ... additions to this variable.
7742         * iconvdata/Makefile (tests): Change dependencies to ....
7743         (tests-special): ... additions to this variable.
7744         * intl/Makefile (tests): Change dependencies to ....
7745         (tests-special): ... additions to this variable.  Also add
7746         $(objpfx)tst-gettext.out.
7747         * io/Makefile (tests): Change dependencies to ....
7748         (tests-special): ... additions to this variable.
7749         * libio/Makefile (tests): Change dependencies to ....
7750         (tests-special): ... additions to this variable.
7751         * malloc/Makefile (tests): Change dependencies to ....
7752         (tests-special): ... additions to this variable.
7753         * misc/Makefile (tests): Change dependencies to ....
7754         (tests-special): ... additions to this variable.
7755         * nptl/Makefile (tests): Change dependencies to ....
7756         (tests-special): ... additions to this variable.
7757         * nptl_db/Makefile (tests): Change dependencies to ....
7758         (tests-special): ... additions to this variable.
7759         * posix/Makefile (tests): Change dependencies to ....
7760         (tests-special): ... additions to this variable.
7761         (xtests): Change dependencies to ....
7762         (xtests-special): ... additions to this variable.
7763         * resolv/Makefile (tests): Change dependencies to ....
7764         (tests-special): ... additions to this variable.
7765         (xtests): Change dependencies to ....
7766         (xtests-special): ... additions to this variable.
7767         * stdio-common/Makefile (tests): Change dependencies to ....
7768         (tests-special): ... additions to this variable.
7769         (do-tst-unbputc): Remove target.
7770         (do-tst-printf): Likewise.
7771         * stdlib/Makefile (tests): Change dependencies to ....
7772         (tests-special): ... additions to this variable.
7773         * string/Makefile (tests): Change dependencies to ....
7774         (tests-special): ... additions to this variable.
7775         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7776         (tests-special): ... additions to this variable.
7777
7778         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7779         whole file.
7780         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7781         whole file.
7782         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7783         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7784
7785         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7786         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7787         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7788         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7789         * conform/data/libgen.h-data [XPG3]: Likewise.
7790         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7791         * conform/data/ndbm.h-data [XPG3]: Likewise.
7792         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7793         * conform/data/netdb.h-data [XPG3]: Likewise.
7794         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7795         * conform/data/poll.h-data [XPG3]: Likewise.
7796         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7797         * conform/data/strings.h-data [XPG3]: Likewise.
7798         * conform/data/stropts.h-data [XPG3]: Likewise.
7799         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7800         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7801         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7802         Likewise.
7803         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7804         * conform/data/sys/time.h-data [XPG3]: Likewise.
7805         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7806         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7807         * conform/data/sys/un.h-data [XPG3]: Likewise.
7808         * conform/data/syslog.h-data [XPG3]: Likewise.
7809         * conform/data/ucontext.h-data [XPG3]: Likewise.
7810         * conform/data/utmpx.h-data [XPG3]: Likewise.
7811         * conform/data/varargs.h-data [UNIX98]: Enable file.
7812
7813         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7814
7815         * math/libm-test.inc (struct test_f_f_data): Move expected results
7816         into structure for each rounding mode.
7817         (struct test_ff_f_data): Likewise.
7818         (struct test_ff_f_data_nexttoward): Likewise.
7819         (struct test_fi_f_data): Likewise.
7820         (struct test_fl_f_data): Likewise.
7821         (struct test_if_f_data): Likewise.
7822         (struct test_fff_f_data): Likewise.
7823         (struct test_c_f_data): Likewise.
7824         (struct test_f_f1_data): Likewise.
7825         (struct test_fF_f1_data): Likewise.
7826         (struct test_ffI_f1_data): Likewise.
7827         (struct test_c_c_data): Likewise.
7828         (struct test_cc_c_data): Likewise.
7829         (struct test_f_i_data): Likewise.
7830         (struct test_ff_i_data): Likewise.
7831         (struct test_f_l_data): Likewise.
7832         (struct test_f_L_data): Likewise.
7833         (struct test_fFF_11_data): Likewise.
7834         (RM_): New macro.
7835         (RM_FE_DOWNWARD): Likewise.
7836         (RM_FE_TONEAREST): Likewise.
7837         (RM_FE_TOWARDZERO): Likewise.
7838         (RM_FE_UPWARD): Likewise.
7839         (RUN_TEST_LOOP_f_f): Update references to expected results.
7840         (RUN_TEST_LOOP_2_f): Likewise.
7841         (RUN_TEST_LOOP_fff_f): Likewise.
7842         (RUN_TEST_LOOP_c_f): Likewise.
7843         (RUN_TEST_LOOP_f_f1): Likewise.
7844         (RUN_TEST_LOOP_fF_f1): Likewise.
7845         (RUN_TEST_LOOP_fI_f1): Likewise.
7846         (RUN_TEST_LOOP_ffI_f1): Likewise.
7847         (RUN_TEST_LOOP_c_c): Likewise.
7848         (RUN_TEST_LOOP_cc_c): Likewise.
7849         (RUN_TEST_LOOP_f_i): Likewise.
7850         (RUN_TEST_LOOP_f_i_tg): Likewise.
7851         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7852         (RUN_TEST_LOOP_f_b): Likewise.
7853         (RUN_TEST_LOOP_f_b_tg): Likewise.
7854         (RUN_TEST_LOOP_f_l): Likewise.
7855         (RUN_TEST_LOOP_f_L): Likewise.
7856         (RUN_TEST_LOOP_fFF_11): Likewise.
7857         * math/gen-libm-test.pl (parse_args): Output four copies of
7858         expected results for each test.
7859
7860         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7861         (__ASSUME_UTIMES): Remove.
7862         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7863         (__ASSUME_UTIMES): Likewise.
7864
7865         * math/gen-auto-libm-tests.c: Update comment on output format.
7866         (output_for_one_input_case): Generate before-rounding and
7867         after-rounding information as conditions on output flags not
7868         floating-point format.
7869         * math/auto-libm-test-out: Regenerated.
7870         * math/gen-libm-test.pl (cond_value): New function.
7871         (or_cond_value): Use cond_value.
7872         (generate_testfile): Handle conditional exceptions.
7873
7874 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7875
7876         * math/libm-test.inc (max_valid_error): New variable.
7877         (init_max_error): Take new argument specifying whether function
7878         results are exactly determined.  Set max_valid_error and bound
7879         other variables for errors based on this argument.
7880         (set_max_error): Do not record results above max_valid_error.
7881         (check_float_internal): Only accept errors of up to 0.5ulps if
7882         also at most max_valid_error.
7883         (START): Take new argument EXACT and pass it to init_max_error.
7884         (acos_test): Update call to START.
7885         (acos_test_tonearest): Likewise.
7886         (acos_test_towardzero): Likewise.
7887         (acos_test_downward): Likewise.
7888         (acos_test_upward): Likewise.
7889         (acosh_test): Likewise.
7890         (asin_test): Likewise.
7891         (asin_test_tonearest): Likewise.
7892         (asin_test_towardzero): Likewise.
7893         (asin_test_downward): Likewise.
7894         (asin_test_upward): Likewise.
7895         (asinh_test): Likewise.
7896         (atan_test): Likewise.
7897         (atanh_test): Likewise.
7898         (atan2_test): Likewise.
7899         (cabs_test): Likewise.
7900         (cacos_test): Likewise.
7901         (cacosh_test): Likewise.
7902         (carg_test): Likewise.
7903         (casin_test): Likewise.
7904         (casinh_test): Likewise.
7905         (catan_test): Likewise.
7906         (catanh_test): Likewise.
7907         (cbrt_test): Likewise.
7908         (ccos_test): Likewise.
7909         (ccosh_test): Likewise.
7910         (ceil_test): Likewise.
7911         (cexp_test): Likewise.
7912         (cimag_test): Likewise.
7913         (clog_test): Likewise.
7914         (clog10_test): Likewise.
7915         (conj_test): Likewise.
7916         (copysign_test): Likewise.
7917         (cos_test): Likewise.
7918         (cos_test_tonearest): Likewise.
7919         (cos_test_towardzero): Likewise.
7920         (cos_test_downward): Likewise.
7921         (cos_test_upward): Likewise.
7922         (cosh_test): Likewise.
7923         (cosh_test_tonearest): Likewise.
7924         (cosh_test_towardzero): Likewise.
7925         (cosh_test_downward): Likewise.
7926         (cosh_test_upward): Likewise.
7927         (cpow_test): Likewise.
7928         (cproj_test): Likewise.
7929         (creal_test): Likewise.
7930         (csin_test): Likewise.
7931         (csinh_test): Likewise.
7932         (csqrt_test): Likewise.
7933         (ctan_test): Likewise.
7934         (ctan_test_tonearest): Likewise.
7935         (ctan_test_towardzero): Likewise.
7936         (ctan_test_downward): Likewise.
7937         (ctan_test_upward): Likewise.
7938         (ctanh_test): Likewise.
7939         (ctanh_test_tonearest): Likewise.
7940         (ctanh_test_towardzero): Likewise.
7941         (ctanh_test_downward): Likewise.
7942         (ctanh_test_upward): Likewise.
7943         (erf_test): Likewise.
7944         (erfc_test): Likewise.
7945         (exp_test): Likewise.
7946         (exp_test_tonearest): Likewise.
7947         (exp_test_towardzero): Likewise.
7948         (exp_test_downward): Likewise.
7949         (exp_test_upward): Likewise.
7950         (exp10_test): Likewise.
7951         (exp10_test_tonearest): Likewise.
7952         (exp10_test_towardzero): Likewise.
7953         (exp10_test_downward): Likewise.
7954         (exp10_test_upward): Likewise.
7955         (pow10_test): Likewise.
7956         (exp2_test): Likewise.
7957         (expm1_test): Likewise.
7958         (expm1_test_tonearest): Likewise.
7959         (expm1_test_towardzero): Likewise.
7960         (expm1_test_downward): Likewise.
7961         (expm1_test_upward): Likewise.
7962         (fabs_test): Likewise.
7963         (fdim_test): Likewise.
7964         (floor_test): Likewise.
7965         (fma_test): Likewise.
7966         (fma_test_towardzero): Likewise.
7967         (fma_test_downward): Likewise.
7968         (fma_test_upward): Likewise.
7969         (fmax_test): Likewise.
7970         (fmin_test): Likewise.
7971         (fmod_test): Likewise.
7972         (fpclassify_test): Likewise.
7973         (frexp_test): Likewise.
7974         (hypot_test): Likewise.
7975         (ilogb_test): Likewise.
7976         (isfinite_test): Likewise.
7977         (finite_test): Likewise.
7978         (isgreater_test): Likewise.
7979         (isgreaterequal_test): Likewise.
7980         (isinf_test): Likewise.
7981         (isless_test): Likewise.
7982         (islessequal_test): Likewise.
7983         (islessgreater_test): Likewise.
7984         (isnan_test): Likewise.
7985         (isnormal_test): Likewise.
7986         (issignaling_test): Likewise.
7987         (isunordered_test): Likewise.
7988         (j0_test): Likewise.
7989         (j1_test): Likewise.
7990         (jn_test): Likewise.
7991         (ldexp_test): Likewise.
7992         (lgamma_test): Likewise.
7993         (gamma_test): Likewise.
7994         (lrint_test): Likewise.
7995         (lrint_test_tonearest): Likewise.
7996         (lrint_test_towardzero): Likewise.
7997         (lrint_test_downward): Likewise.
7998         (lrint_test_upward): Likewise.
7999         (llrint_test): Likewise.
8000         (llrint_test_tonearest): Likewise.
8001         (llrint_test_towardzero): Likewise.
8002         (llrint_test_downward): Likewise.
8003         (llrint_test_upward): Likewise.
8004         (log_test): Likewise.
8005         (log10_test): Likewise.
8006         (log1p_test): Likewise.
8007         (log2_test): Likewise.
8008         (logb_test): Likewise.
8009         (logb_test_downward): Likewise.
8010         (lround_test): Likewise.
8011         (llround_test): Likewise.
8012         (modf_test): Likewise.
8013         (nearbyint_test): Likewise.
8014         (nextafter_test): Likewise.
8015         (nexttoward_test): Likewise.
8016         (pow_test): Likewise.
8017         (pow_test_tonearest): Likewise.
8018         (pow_test_towardzero): Likewise.
8019         (pow_test_downward): Likewise.
8020         (pow_test_upward): Likewise.
8021         (remainder_test): Likewise.
8022         (drem_test): Likewise.
8023         (remainder_test_tonearest): Likewise.
8024         (drem_test_tonearest): Likewise.
8025         (remainder_test_towardzero): Likewise.
8026         (drem_test_towardzero): Likewise.
8027         (remainder_test_downward): Likewise.
8028         (drem_test_downward): Likewise.
8029         (remainder_test_upward): Likewise.
8030         (drem_test_upward): Likewise.
8031         (remquo_test): Likewise.
8032         (rint_test): Likewise.
8033         (rint_test_tonearest): Likewise.
8034         (rint_test_towardzero): Likewise.
8035         (rint_test_downward): Likewise.
8036         (rint_test_upward): Likewise.
8037         (round_test): Likewise.
8038         (scalb_test): Likewise.
8039         (scalbn_test): Likewise.
8040         (scalbln_test): Likewise.
8041         (signbit_test): Likewise.
8042         (sin_test): Likewise.
8043         (sin_test_tonearest): Likewise.
8044         (sin_test_towardzero): Likewise.
8045         (sin_test_downward): Likewise.
8046         (sin_test_upward): Likewise.
8047         (sincos_test): Likewise.
8048         (sinh_test): Likewise.
8049         (sinh_test_tonearest): Likewise.
8050         (sinh_test_towardzero): Likewise.
8051         (sinh_test_downward): Likewise.
8052         (sinh_test_upward): Likewise.
8053         (sqrt_test): Likewise.
8054         (sqrt_test_tonearest): Likewise.
8055         (sqrt_test_towardzero): Likewise.
8056         (sqrt_test_downward): Likewise.
8057         (sqrt_test_upward): Likewise.
8058         (tan_test): Likewise.
8059         (tan_test_tonearest): Likewise.
8060         (tan_test_towardzero): Likewise.
8061         (tan_test_downward): Likewise.
8062         (tan_test_upward): Likewise.
8063         (tanh_test): Likewise.
8064         (tgamma_test): Likewise.
8065         (trunc_test): Likewise.
8066         (y0_test): Likewise.
8067         (y1_test): Likewise.
8068         (yn_test): Likewise.
8069         (significand_test): Likewise.
8070
8071         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8072         individual tests in comment.
8073         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8074         (prev_max_error): New variable.
8075         (prev_real_max_error): Likewise.
8076         (prev_imag_max_error): Likewise.
8077         (compare_ulp_data): Don't refer to test names in comment.
8078         (find_test_ulps): Remove function.
8079         (find_function_ulps): Likewise.
8080         (find_complex_function_ulps): Likewise.
8081         (init_max_error): Take function name as argument.  Look up ulps
8082         for that function.
8083         (print_ulps): Remove function.
8084         (print_max_error): Use prev_max_error instead of calling
8085         find_function_ulps.
8086         (print_complex_max_error): Use prev_real_max_error and
8087         prev_imag_max_error instead of calling find_complex_function_ulps.
8088         (check_float_internal): Take max_ulp parameter instead of calling
8089         find_test_ulps.  Don't call print_ulps.
8090         (check_float): Update call to check_float_internal.
8091         (check_complex): Update calls to check_float_internal.
8092         (START): Pass argument to init_max_error.
8093         * math/gen-libm-test.pl (%results): Don't include "kind"
8094         information.
8095         (parse_ulps): Don't handle ulps of individual tests.
8096         (print_ulps_file): Likewise.
8097         (output_ulps): Likewise.
8098         * math/README.libm-test: Update.
8099         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8100         individual tests.
8101         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8102         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8103         * sysdeps/arm/libm-test-ulps: Likewise.
8104         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8105         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8106         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8107         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8108         * sysdeps/microblaze/libm-test-ulps: Likewise.
8109         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8110         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8111         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8112         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8113         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8114         * sysdeps/sh/libm-test-ulps: Likewise.
8115         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8116         * sysdeps/tile/libm-test-ulps: Likewise.
8117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8118
8119 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8120
8121         * math/libm-test.inc (print_complex_max_error): Check separately
8122         whether real and imaginary errors are within allowed range and
8123         pass 0 to print_complex_function_ulps instead of value within
8124         allowed range.
8125
8126 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8127
8128         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8129         formatting.
8130         (get_handles_fopen): Likewise.
8131         (do_write_test): Likewise.
8132
8133         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8134
8135         * libio/fileops.c (do_ftell): Use cached offset when
8136         available.
8137         * libio/iofwide.c (do_ftell_wide): Likewise.
8138         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8139         _IO_file_attach.
8140         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8141
8142         [BZ #16532]
8143         * libio/libioP.h (get_file_offset): New function.
8144         * libio/fileops.c (get_file_offset): Likewise.
8145         (do_ftell): Likewise.
8146         (_IO_new_file_seekoff): Split out ftell logic.
8147         * libio/wfileops.c (do_ftell_wide): Likewise.
8148         (_IO_wfile_seekoff): Split out ftell logic.
8149         * libio/tst-ftell-active-handler.c: New test case.
8150         * libio/Makefile (tests): Add it.
8151
8152 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8153
8154         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8155         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8156
8157 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8158
8159         [BZ #16639]
8160         * nscd/connections.c (nscd_init): Call do_exit.
8161         (start_threads): Call do_exit and notify_parent.
8162         (begin_drop_privileges): Call do_exit.
8163         (finish_drop_privileges): Likewise.
8164         * nscd/selinux.c (preserve_capabilities): Likewise.
8165         (install_real_capabilities): Likewise.
8166         (nscd_selinux_enabled): Likewise.
8167         (avc_create_thread): Likewise.
8168         (avc_alloc_lock): Likewise.
8169         (nscd_avc_init): Likewise.
8170         * nscd/nscd.c (parent_fd): New static variable.
8171         (main): Create a pipe between parent and child processes.
8172         Skip closing parent_fd.
8173         (monitor_child): New function.
8174         (do_exit): Likewise.
8175         (notify_parent): Likewise.
8176         * nscd/nscd.h (notify_parent): Likewise.
8177         (do_exit): Likewise.
8178
8179 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8180
8181         * malloc/malloc.c (__libc_calloc): Revert last change.
8182
8183 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8184
8185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8186
8187 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8188
8189         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8191         implementation.
8192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8193         (__libc_ifunc_impl_list): Likewise.
8194         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8195         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8196         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8197         * string/strrchr.c: Define STRRCHR.
8198
8199 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8200
8201         * benchtest/bench-strtok.c (simple_strtok): Delete.
8202         (strtok_string): Use as benchmark.
8203         * string/strtok (STRTOK): New macro.
8204
8205 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8206
8207         * manual/threads.texi: Add header and standard comments to all
8208         functions.
8209
8210         * elf/dl-lookup.c (check_match): New function.
8211         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8212         (do_lookup_x): Remove nested function check_match. Use non-nested
8213         function check_match.
8214
8215 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8216
8217         * csu/Makefile (generated, before-compile): Use += rather than =.
8218         * catgets/Makefile (generated, generated-dirs): Likewise.
8219         * debug/Makefile (generated): Likewise.
8220         * dlfcn/Makefile (generated): Likewise.
8221         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8222         * iconvdata/Makefile (before-compile, generated): Likewise.
8223         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8224         * libio/Makefile (generated): Likewise.
8225         * malloc/Makefile (generated): Likewise.
8226         * manual/Makefile (generated, generated-dirs): Likewise.
8227         * misc/Makefile (generated): Likewise.
8228         * posix/Makefile (generated): Likewise.
8229         * resolv/Makefile (generated): Likewise.
8230         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8231         * timezone/Makefile (generated, generated-dirs): Likewise.
8232
8233         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8234
8235 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8236
8237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8238         power8 implementation.
8239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8240         file: POWER8 llround ifunc implementation.
8241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8242         (__lllround): Add POWER8 implementation.
8243         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8244         POWER8 llround implementation.
8245
8246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8247         power8 implementation.
8248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8249         file: POWER8 llrint ifunc implementation.
8250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8251         Add POWER8 implementation.
8252         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8253         POWER8 llrint implementation.
8254
8255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8256         power8 implementation.
8257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8258         file: POWER8 finite ifunc implementation.
8259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8260         Add POWER8 implementation.
8261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8262         Likewise.
8263         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8264         POWER8 finite implementation.
8265         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8266
8267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8268         power8 implementation.
8269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8270         file: POWER8 isinf ifunc implementation.
8271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8272         POWER8 implementation.
8273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8274         Likewise.
8275         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8276         isinf implementation.
8277         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8278
8279         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8280         (INIT_ARCH): Add hwcap2 initialization.
8281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8282         power8 implementation.
8283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8284         file: POWER8 isnan ifunc implementation.
8285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8286         POWER8 implementation.
8287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8288         Likewise.
8289         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8290         isnan implementation.
8291         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8292
8293 2014-02-27  Joey Ye  <joey.ye@arm.com>
8294
8295         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8296         (_FP_NANFRAC_Q): Set to zero.
8297
8298 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8299
8300         [BZ #16623]
8301         * math/auto-libm-test-in: New test inputs.
8302         * math/auto-libm-test-out: Regenerate.
8303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8304         and DA.
8305         (__cos): Likewise.
8306         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8307
8308 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8309
8310         * scripts/evaluate-test.sh: Take new argument indicating whether
8311         failure is expected.
8312         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8313         indicating whether failure is expected.
8314         * conform/Makefile (test-xfail-run-conformtest): New variable.
8315         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8316         level.
8317         * posix/Makefile (test-xfail-annexc): New variable.
8318         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8319
8320 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8321
8322         * argp/Makefile: Include Makeconfig immediately after defining
8323         subdir.
8324         * assert/Makefile: Likewise.
8325         * benchtests/Makefile: Likewise.
8326         * catgets/Makefile: Likewise.
8327         * conform/Makefile: Likewise.
8328         * crypt/Makefile: Likewise.
8329         * csu/Makefile: Likewise.
8330         (all): Remove target.
8331         * ctype/Makefile: Include Makeconfig immediately after defining
8332         subdir.
8333         * debug/Makefile: Likewise.
8334         * dirent/Makefile: Likewise.
8335         * dlfcn/Makefile: Likewise.
8336         * gmon/Makefile: Likewise.
8337         * gnulib/Makefile: Likewise.
8338         * grp/Makefile: Likewise.
8339         * gshadow/Makefile: Likewise.
8340         * hesiod/Makefile: Likewise.
8341         * hurd/Makefile: Likewise.
8342         (all): Remove target.
8343         * iconvdata/Makefile: Include Makeconfig immediately after
8344         defining subdir.
8345         * inet/Makefile: Likewise.
8346         * intl/Makefile: Likewise.
8347         * io/Makefile: Likewise.
8348         * libio/Makefile: Likewise.
8349         (all): Remove target.
8350         * locale/Makefile: Include Makeconfig immediately after defining
8351         subdir.
8352         * login/Makefile: Likewise.
8353         * mach/Makefile: Likewise.
8354         (all): Remove target.
8355         * malloc/Makefile: Include Makeconfig immediately after defining
8356         subdir.
8357         (all): Remove target.
8358         * manual/Makefile: Include Makeconfig immediately after defining
8359         subdir.
8360         * math/Makefile: Likewise.
8361         * misc/Makefile: Likewise.
8362         * nis/Makefile: Likewise.
8363         * nss/Makefile: Likewise.
8364         * po/Makefile: Likewise.
8365         (all): Remove target.
8366         * posix/Makefile: Include Makeconfig immediately after defining
8367         subdir.
8368         * pwd/Makefile: Likewise.
8369         * resolv/Makefile: Likewise.
8370         * resource/Makefile: Likewise.
8371         * rt/Makefile: Likewise.
8372         * setjmp/Makefile: Likewise.
8373         * shadow/Makefile: Likewise.
8374         * signal/Makefile: Likewise.
8375         * socket/Makefile: Likewise.
8376         * soft-fp/Makefile: Likewise.
8377         * stdio-common/Makefile: Likewise.
8378         * stdlib/Makefile: Likewise.
8379         * streams/Makefile: Likewise.
8380         * string/Makefile: Likewise.
8381         * sunrpc/Makefile: Likewise.
8382         (all): Remove target.
8383         * sysvipc/Makefile: Include Makeconfig immediately after defining
8384         subdir.
8385         * termios/Makefile: Likewise.
8386         * time/Makefile: Likewise.
8387         * timezone/Makefile: Likewise.
8388         (all): Remove target.
8389         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8390         subdir.
8391         * wctype/Makefile: Likewise.
8392
8393 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8394
8395         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8396         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8397         (libc_feholdexcept_setround_mips): Ditto.
8398         (libc_feholdsetround): New.
8399         (libc_feholdsetroundf): New.
8400         (libc_feholdsetroundl): New.
8401         (libc_feupdateenv_test_mips): New.
8402         (libc_feupdateenv_test): New.
8403         (libc_feupdateenv_testf): New.
8404         (libc_feupdateenv_testl): New.
8405         (libc_feresetround): New.
8406         (libc_feresetroundf): New.
8407         (libc_feresetroundl): New.
8408         (libc_fetestexcept_mips): New.
8409         (libc_fetestexcept): New.
8410         (libc_fetestexceptf): New.
8411         (libc_fetestexceptl): New.
8412         (HAVE_RM_CTX): New.
8413         (libc_feholdexcept_setround_mips_ctx): New.
8414         (libc_feholdexcept_setround_ctx): New.
8415         (libc_feholdexcept_setroundf_ctx): New.
8416         (libc_feholdexcept_setroundl_ctx): New.
8417         (libc_fesetenv_mips_ctx): New.
8418         (libc_fesetenv_ctx): New.
8419         (libc_fesetenv_ctxf): New.
8420         (libc_fesetenv_ctxl): New.
8421         (libc_feupdateenv_mips_ctx): New.
8422         (libc_feupdateenv_ctx): New.
8423         (libc_feupdateenvf_ctx): New.
8424         (libc_feupdateenvl_ctx): New.
8425         (libc_feholdsetround_mips_ctx): New.
8426         (libc_feholdsetround_ctx): New.
8427         (libc_feholdsetroundf_ctx): New.
8428         (libc_feholdsetroundl_ctx): New.
8429         (libc_feresetround_mips_ctx): New.
8430         (libc_feresetround_ctx): New.
8431         (libc_feresetroundf_ctx): New.
8432         (libc_feresetroundl_ctx): New.
8433
8434 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8435
8436         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8437
8438         * manual/ipc.texi: New file.
8439         * manual/Makefile (chapters): Add ipc.
8440         * manual/job.texi: Add "Inter-Process Communication" to next.
8441         * manual/process.texi: Add "Inter-Process Communication" to prev.
8442
8443 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8444
8445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8446
8447 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8448
8449         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8450
8451         * manual/arith.texi: Fix spaces after sentences.
8452         * manual/charset.texi: Likewise.
8453         * manual/errno.texi: Likewise.
8454         * manual/install.texi: Likewise.
8455         * manual/llio.texi: Likewise.
8456         * manual/locale.texi: Likewise.
8457         * manual/maint.texi: Likewise.
8458         * manual/math.texi: Likewise.
8459         * manual/memory.texi: Likewise.
8460         * manual/message.texi: Likewise.
8461         * manual/probes.texi: Likewise.
8462         * manual/resource.texi: Likewise.
8463         * manual/signal.texi: Likewise.
8464         * manual/socket.texi: Likewise.
8465         * manual/stdio.texi: Likewise.
8466         * manual/string.texi: Likewise.
8467         * manual/time.texi: Likewise.
8468         * manual/users.texi: Likewise.
8469
8470 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8471
8472         [BZ #16632]
8473         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8474         _DEFAULT_SOURCE is defined.
8475
8476 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8477             Carlos O'Donell  <carlos@redhat.com>
8478
8479         [BZ #16613]
8480         * elf/dl-tls.c (_dl_count_modids): New function.
8481         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8482         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8483         audit library and increment generation counter.
8484         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8485         * elf/tst-audit9.c: New file.
8486         * elf/tst-auditmod9a.c: New file.
8487         * elf/tst-auditmod9b.c: New file.
8488         * elf/Makefile: Add rules to build and run tst-audit9.
8489
8490 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8491
8492         [BZ #15347]
8493         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8494
8495 2014-02-25  Will Newton  <will.newton@linaro.org>
8496
8497         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8498         (__longjmp): Restore sp and lr before restoring callee
8499         saved registers.  Add longjmp and longjmp_target
8500         SystemTap probe point.
8501         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8502         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8503         Define to zero to match jmpbuf layout.
8504         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8505         (__sigsetjmp): Save sp and lr before saving callee
8506         saved registers.  Add setjmp SystemTap probe point.
8507
8508 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8509
8510         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8511
8512 2014-02-24  Andreas Schwab  <schwab@suse.de>
8513
8514         [BZ #15804]
8515         * elf/pldd.c (wait_for_ptrace_stop): New function.
8516         (main): Call it after attaching.
8517
8518 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8519
8520         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8521         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8522         Versions files is now verboten.
8523         * hurd/Versions (libc: GLIBC_2.0):
8524         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8525         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8526         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8527         * mach/Versions: Likewise.
8528
8529         * csu/Versions: Remove unused %include.
8530         * resolv/Versions: Likewise.
8531
8532 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8533
8534         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8535         ($(objpfx)check-local-headers.out): Likewise.
8536         ($(objpfx)begin-end-check.out): Likewise.
8537         * Makerules (check-abi-%.out): Likewise.
8538         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8539         ($(objpfx)test2.cat): Likewise.
8540         ($(objpfx)de/libc.cat): Likewise.
8541         ($(objpfx)test-gencat.out): Likewise.
8542         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8543         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8544         ($(objpfx)noload-mem): Likewise.
8545         ($(objpfx)tst-pathopt.out): Likewise.
8546         ($(objpfx)tst-rtld-load-self.out): Likewise.
8547         ($(objpfx)tst-array1-cmp.out): Likewise.
8548         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8549         ($(objpfx)tst-array2-cmp.out): Likewise.
8550         ($(objpfx)tst-array3-cmp.out): Likewise.
8551         ($(objpfx)tst-array4-cmp.out): Likewise.
8552         ($(objpfx)tst-array5-cmp.out): Likewise.
8553         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8554         ($(objpfx)check-textrel.out): Likewise.
8555         ($(objpfx)check-execstack.out): Likewise.
8556         ($(objpfx)check-localplt.out): Likewise.
8557         ($(objpfx)order2-cmp.out): Likewise.
8558         ($(objpfx)tst-leaks1-mem): Likewise.
8559         ($(objpfx)tst-leaks1-static-mem): Likewise.
8560         ($(objpfx)tst-initorder-cmp.out): Likewise.
8561         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8562         ($(objpfx)tst-unused-dep.out): Likewise.
8563         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8564         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8565         * iconv/Makefile (test-iconvconfig): Likewise.
8566         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8567         ($(objpfx)iconv-test.out): Likewise.
8568         ($(objpfx)tst-tables.out): Likewise.
8569         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8570         ($(objpfx)tst-gettext.out): Likewise.
8571         ($(objpfx)tst-translit.out): Likewise.
8572         ($(objpfx)tst-gettext2.out): Likewise.
8573         ($(objpfx)tst-gettext4.out): Likewise.
8574         ($(objpfx)tst-gettext6.out): Likewise.
8575         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8576         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8577         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8578         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8579         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8580         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8581         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8582         ($(objpfx)wordexp-tst.out): Likewise.
8583         ($(objpfx)annexc.out): Likewise.
8584         ($(objpfx)tst-fnmatch-mem): Likewise.
8585         ($(objpfx)bug-regex2-mem): Likewise.
8586         ($(objpfx)bug-regex14-mem): Likewise.
8587         ($(objpfx)bug-regex21-mem): Likewise.
8588         ($(objpfx)bug-regex31-mem): Likewise.
8589         ($(objpfx)tst-vfork3-mem): Likewise.
8590         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8591         ($(objpfx)tst-pcre-mem): Likewise.
8592         ($(objpfx)tst-boost-mem): Likewise.
8593         ($(objpfx)tst-getconf.out): Likewise.
8594         ($(objpfx)bug-ga2-mem): Likewise.
8595         ($(objpfx)bug-glob2-mem): Likewise.
8596         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8597         ($(objpfx)mtrace-tst-leaks2): Likewise.
8598         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8599         ($(objpfx)tst-printf.out): Likewise.
8600         ($(objpfx)tst-setvbuf1.out): Likewise.
8601         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8602         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8603         ($(objpfx)tst-fmtmsg.out): Likewise.
8604         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8605         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8606
8607         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8608         * bits/sigaction.h [__USE_MISC]: Likewise.
8609         * bits/waitstatus.h: Update #endif comments.
8610         * ctype/ctype.h: Likewise.
8611         * dirent/dirent.h: Likewise.
8612         [__USE_MISC]: Remove redundant conditionals.
8613         * grp/grp.h: Update #endif comments.
8614         [__USE_GNU]: Remove redundant conditionals.
8615         [__USE_MISC]: Likewise.
8616         * inet/netinet/in.h [__USE_GNU]: Likewise.
8617         * io/sys/stat.h [__USE_MISC]: Likewise.
8618         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8619         * libio/bits/stdio.h: Update #endif comments.
8620         [__USE_MISC]: Remove redundant conditionals.
8621         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8622         * libio/stdio.h: Update #endif comments.
8623         [__USE_MISC]: Remove redundant conditionals.
8624         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8625         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8626         * math/math.h: Update #else and #endif comments.
8627         [__USE_MISC]: Remove redundant conditionals.
8628         * misc/sys/uio.h: Update #endif comments.
8629         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8630         * posix/glob.h [__USE_MISC]: Likewise.
8631         * posix/sys/types.h: Update #endif comments.
8632         [__USE_MISC]: Remove redundant conditionals.
8633         * posix/sys/wait.h: Update #endif comments.
8634         [__USE_MISC]: Remove redundant conditionals.
8635         * posix/unistd.h: Update #endif comments.
8636         [__USE_MISC]: Remove redundant conditionals.
8637         * pwd/pwd.h [__USE_GNU]: Likewise.
8638         [__USE_MISC]: Likewise.
8639         * resolv/netdb.h [__USE_GNU]: Likewise.
8640         * signal/signal.h: Update #endif comments.
8641         [__USE_MISC]: Remove redundant conditionals.
8642         * stdlib/stdlib.h: Update #else and #endif comments.
8643         [__USE_MISC]: Remove redundant conditionals.
8644         [__USE_GNU]: Likewise.
8645         * string/bits/string2.h [__USE_MISC]: Likewise.
8646         * string/string.h: Update #endif comments.
8647         [__USE_MISC]: Remove redundant conditionals.
8648         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8649         Likewise.
8650         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8651         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8652         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8653         Likewise.
8654         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8655         Likewise.
8656         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8657         comments.
8658         [__USE_MISC]: Remove redundant conditionals.
8659         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8660         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8661         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8662         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8663         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8664         Likewise.
8665         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8666         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8667         Likewise.
8668         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8669         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8670         Likewise.
8671         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8672         Likewise.
8673         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8674         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8675         Likewise.
8676         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8677         Likewise.
8678         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8679         * sysdeps/x86/bits/string.h: Update #endif comments.
8680         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8681         conditionals.
8682         * time/sys/time.h: Update #endif comments.
8683         * time/time.h: Likewise.
8684         [__USE_MISC]: Remove redundant conditionals.
8685
8686 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8687
8688         [BZ #16600]
8689         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8690
8691 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8692
8693         * Versions.def (librt): Add GLIBC_2.17.
8694
8695 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8696
8697         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8698         synonym for _SYS_AUXV_H to allow direct inclusion.
8699         * sysdeps/sparc/bits/hwcap.h: Likewise.
8700         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8701         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8702         * sysdeps/sparc/sysdep.h: Likewise.
8703
8704 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8705
8706         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8707
8708 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8709
8710         * benchtests/bench-strrchr.c: Print length instead of position.
8711
8712 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8713
8714         [BZ #16611]
8715         * sysdeps/unix/sysv/linux/kernel-features.h
8716         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8717         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8718         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8719         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8720         Likewise.
8721         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8722         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8723         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8724         (__ASSUME_SENDMMSG): Define instead of using previous
8725         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8726         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8727         (__ASSUME_SENDMMSG_SYSCALL): Define.
8728         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8729         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8730         Likewise.
8731         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8732         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8733         Likewise.
8734         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8735         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8736         Likewise.
8737         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8738         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8739         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8740         [__ASSUME_SENDMMSG]: Change conditionals to
8741         [__ASSUME_SENDMMSG_SOCKETCALL].
8742         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8743         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8744         Define.
8745         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8746         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8747         Likewise.
8748         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8749         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8750         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8751         [!__ASSUME_SENDMMSG]: Change conditional to
8752         [!__ASSUME_SENDMMSG_SOCKETCALL].
8753         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8754         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8755         Define.
8756
8757         [BZ #16610]
8758         * sysdeps/unix/sysv/linux/kernel-features.h
8759         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8760         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8761         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8762         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8763         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8764         [__i386__ || __sparc__]
8765         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8766         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8767         (__ASSUME_RECVMMSG): Define instead of using previous
8768         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8769         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8770         (__ASSUME_RECVMMSG_SYSCALL): Define.
8771         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8772         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8773         Likewise.
8774         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8775         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8776         Likewise.
8777         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8778         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8779         Likewise.
8780         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8781         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8782         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8783         [__ASSUME_RECVMMSG]: Change condition to
8784         [__ASSUME_RECVMMSG_SOCKETCALL].
8785         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8786         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8787         Define.
8788         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8789         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8790         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8791         Likewise.
8792         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8793         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8794         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8795         [!__ASSUME_RECVMMSG]: Change condition to
8796         [!__ASSUME_RECVMMSG_SOCKETCALL].
8797         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8798         (__ASSUME_RECVMMSG_SYSCALL): Define.
8799
8800         [BZ #16609]
8801         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8802         __powerpc__ || __s390__ || __sh__ || __sparc__]
8803         (__ASSUME_SOCKETCALL): Define.
8804         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8805         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8806         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8807         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8808         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8809         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8810         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8811         (__ASSUME_ACCEPT4): Define instead of using previous
8812         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8813         __powerpc__ || __sparc__ || __s390__)] condition.
8814         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8815         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8816         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8817         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8818         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8819         [!__ASSUME_ACCEPT4]: Change condition to
8820         [!__ASSUME_ACCEPT4_SOCKETCALL].
8821         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8822         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8823         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8824         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8825         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8826         __ASSUME_ACCEPT4_SYSCALL.
8827         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8828         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8829         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8830         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8831         __ASSUME_ACCEPT4_SYSCALL.
8832         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8833         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8834         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8835         [__ASSUME_ACCEPT4]: Change condition to
8836         [__ASSUME_ACCEPT4_SOCKETCALL].
8837         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8838         (__ASSUME_SOCKETCALL): Define.
8839         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8840         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8841         (__ASSUME_SOCKETCALL): Define.
8842         (__ASSUME_ACCEPT4): Remove.
8843         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8844         Define.
8845         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8846         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8847         Likewise.
8848         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8849         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8850
8851         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8852         macro.
8853         (HWCAP_ARM_LPAE): Likewise.
8854         (HWCAP_ARM_EVTSTRM): Likewise.
8855         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8856         Add vpfd32, lpae and evtstrm.
8857         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8858         Increase to 22.
8859
8860 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8861
8862         * math/auto-libm-test-in: Add tests of clog10.
8863         * math/auto-libm-test-out: Regenerated.
8864         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8865         * sysdeps/i386/fpu/libm-test-ulps: Update.
8866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8867
8868 2014-02-18  Andreas Schwab  <schwab@suse.de>
8869
8870         [BZ #16574]
8871         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8872         Store non-zero if the second buffer was newly allocated.
8873         (send_dg): Likewise.
8874         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8875         to send_vc and send_dg.
8876         (res_nsend): Pass NULL for ansp2_malloced.
8877         * resolv/res_query.c (__libc_res_nquery): Add parameter
8878         answerp2_malloced and pass it down to __libc_res_nsend.
8879         (res_nquery): Pass additional NULL to __libc_res_nquery.
8880         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8881         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8882         second answer buffer if answerp2_malloced was set.
8883         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8884         (__libc_res_nquerydomain): Add parameter
8885         answerp2_malloced and pass it down to __libc_res_nquery.
8886         (res_nquerydomain): Pass additional NULL to
8887         __libc_res_nquerydomain.
8888         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8889         additional NULL to __libc_res_nsend and __libc_res_nquery.
8890         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8891         additional NULL to __libc_res_nsearch.
8892         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8893         parameter of __libc_res_nsearch to check for separately allocated
8894         second buffer.
8895         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8896         __libc_res_nquery.
8897         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8898         additional NULL to __libc_res_nquery.
8899         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8900         __libc_res_nsearch.
8901         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8902         * include/resolv.h: Update prototypes of __libc_res_nquery,
8903         __libc_res_nsearch, __libc_res_nsend.
8904
8905 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8906
8907         * math/auto-libm-test-in: Add tests of fma.
8908         * math/auto-libm-test-out: Regenerated.
8909         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8910         (fma_towardzero_test_data): Likewise.
8911         (fma_downward_test_data): Likewise.
8912         (fma_upward_test_data): Likewise.
8913         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8914         mpc_mode.
8915         (rounding_modes): Add values for new field.
8916         (func_calc_method): Add value mpfr_fff_f.
8917         (func_calc_desc): Add mpfr_fff_f union field.
8918         (test_function): Add field exact_args.
8919         (FUNC): Add macro argument EXACT_ARGS.
8920         (FUNC_mpfr_f_f): Update call to FUNC.
8921         (FUNC_mpfr_f_f): Likewise.
8922         (FUNC_mpfr_ff_f): Likewise.
8923         (FUNC_mpfr_if_f): Likewise.
8924         (FUNC_mpc_c_f): Likewise.
8925         (FUNC_mpc_c_c): Likewise.
8926         (test_functions): Add fma.  Update calls to FUNC.
8927         (handle_input_arg): Add argument exact_args.
8928         (add_test): Update call to handle_input_arg.
8929         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8930         (output_for_one_input_case): Update call to calc_generic_results.
8931         Recalculate exact zero results in each rounding mode.
8932
8933         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8934         non-negative before setting low bit.
8935         * math/auto-libm-test-in: Mark one asin test possibly having
8936         spurious underflow.
8937         * math/auto-libm-test-out: Regenerated.
8938         * sysdeps/i386/fpu/libm-test-ulps: Update.
8939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8940
8941 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8942
8943         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8944         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8945         ports/sysdeps/unix/sysv/linux/microblaze.
8946         * README: Add missing listing for microblaze*-*-linux-gnu.
8947
8948 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8949
8950         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8951         * sysdeps/unix/sysv/linux/ia64: Move directory from
8952         ports/sysdeps/unix/sysv/linux/ia64.
8953         * README: Update listing for ia64-*-linux-gnu.
8954
8955 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8956             Joseph Myers  <joseph@codesourcery.com>
8957
8958         * Makeconfig (test-name): New variable.
8959         (evaluate-test): Likewise.
8960         * Makerules (do-test-clean): Remove .test-result files.
8961         (common-mostlyclean): Likewise.
8962         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8963         * scripts/evaluate-test.sh: New file.
8964
8965 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8966
8967         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8968         separate $(objpfx)tst-fopenloc-cmp.out and
8969         $(objpfx)tst-fopenloc-mem.out targets.
8970         (tests): Update dependencies.
8971         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8972         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8973         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8974         (tst-rxspencer-no-utf8-ARGS): New variable.
8975         (tst-rxspencer-no-utf8-ENV): Likewise.
8976         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8977         instead of $(objpfx)tst-rxspencer-mem.
8978         ($(objpfx)tst-rxspencer-mem): Change target to
8979         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8980         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8981         * posix/tst-rxspencer-no-utf8.c: New file.
8982
8983         * elf/Makefile ($(objpfx)order.out): Remove rule.
8984         [$(run-built-tests) = yes] (tests): Depend on
8985         $(objpfx)order-cmp.out.
8986         ($(objpfx)order-cmp.out): New rule.
8987         [$(run-built-tests) = yes] (tests): Depend on
8988         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8989         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8990         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8991         $(objpfx)tst-array5-static-cmp.out.
8992         ($(objpfx)tst-array1.out): Remove rule.
8993         ($(objpfx)tst-array1-cmp.out): New rule.
8994         ($(objpfx)tst-array1-static.out): Remove rule.
8995         ($(objpfx)tst-array1-static-cmp.out): New rule.
8996         ($(objpfx)tst-array2.out): Remove rule.
8997         ($(objpfx)tst-array2-cmp.out): New rule.
8998         ($(objpfx)tst-array3.out): Remove rule.
8999         ($(objpfx)tst-array3-cmp.out): New rule.
9000         ($(objpfx)tst-array4.out): Remove rule.
9001         ($(objpfx)tst-array4-cmp.out): New rule.
9002         ($(objpfx)tst-array5.out): Remove rule.
9003         ($(objpfx)tst-array5-cmp.out): New rule.
9004         ($(objpfx)tst-array5-static.out): Remove rule.
9005         ($(objpfx)tst-array5-static-cmp.out): New rule.
9006         [$(run-built-tests) = yes] (tests): Depend on
9007         $(objpfx)order2-cmp.out.
9008         ($(objpfx)order2.out): Remove rule.
9009         ($(objpfx)order2-cmp.out): New rule.
9010         ($(objpfx)tst-initorder.out): Remove rule.
9011         [$(run-built-tests) = yes] (tests): Depend on
9012         $(objpfx)tst-initorder-cmp.out.
9013         ($(objpfx)tst-initorder-cmp.out): New rule.
9014         ($(objpfx)tst-initorder2.out): Remove rule.
9015         [$(run-built-tests) = yes] (tests): Depend on
9016         $(objpfx)tst-initorder2-cmp.out.
9017         ($(objpfx)tst-initorder2-cmp.out): New rule.
9018         [$(run-built-tests) = yes] (tests): Depend on
9019         $(objpfx)tst-unused-dep-cmp.out.
9020         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9021         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9022         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9023         on $(objpfx)tst-setvbuf1-cmp.out.
9024         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9025         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9026         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9027         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9028         ($(objpfx)tst-svc.out): Remove rule.
9029         ($(objpfx)tst-svc-cmp.out): New rule.
9030
9031 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9032
9033         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9034         * ctype/ctype.h [__USE_MISC]: Likewise.
9035         * dirent/dirent.h [__USE_MISC]: Likewise.
9036         * grp/grp.h [__USE_MISC]: Likewise.
9037         * io/fcntl.h [__USE_MISC]: Likewise.
9038         * io/sys/stat.h [__USE_MISC]: Likewise.
9039         * libio/stdio.h [__USE_MISC]: Likewise.
9040         * posix/unistd.h [__USE_MISC]: Likewise.
9041         * pwd/pwd.h [__USE_MISC]: Likewise.
9042         * stdlib.h [__USE_MISC]: Likewise.
9043         * string/bits/string2.h [__USE_MISC]: Likewise.
9044         * string/string.h [__USE_MISC]: Likewise.
9045         * time/time.h [__USE_MISC]: Likewise.
9046
9047 2014-02-13  Andreas Schwab  <schwab@suse.de>
9048
9049         [BZ #16574]
9050         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9051         second answer buffer if it was separately allocated.
9052
9053 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9054
9055         * sysdeps/mips/math-tests.h: Include <features.h>.
9056         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9057         (ROUNDING_TESTS_long_double): Do not define.
9058         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9059         (EXCEPTION_TESTS_long_double): Likewise.
9060         * sysdeps/mips/mips64/libm-test-ulps: Update.
9061
9062         * include/features.h (__USE_BSD): Remove macro definitions.
9063         (__USE_SVID): Likewise.
9064         (_BSD_SOURCE): Likewise.
9065         (_SVID_SOURCE): Likewise.
9066         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9067         from definition of _DEFAULT_SOURCE.
9068         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9069         [_DEFAULT_SOURCE].
9070         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9071         * bits/mman.h [__USE_BSD]: Likewise.
9072         * bits/termios.h [__USE_BSD]: Likewise.
9073         * bits/waitstatus.h [__USE_BSD]: Likewise.
9074         * ctype/ctype.h [__USE_SVID]: Likewise.
9075         * dirent/dirent.h [__USE_BSD]: Likewise.
9076         * grp/grp.h [__USE_SVID]: Likewise.
9077         [__USE_BSD]: Likewise.
9078         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9079         * io/fcntl.h [__USE_BSD]: Likewise.
9080         * io/ftw.h [__USE_BSD]: Likewise.
9081         * io/sys/stat.h [__USE_BSD]: Likewise.
9082         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9083         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9084         * libio/stdio.h [__USE_SVID]: Likewise.
9085         [__USE_BSD]: Likewise.
9086         * math/math.h [__USE_SVID]: Likewise.
9087         [__USE_BSD]: Likewise.
9088         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9089         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9090         * misc/search.h [__USE_SVID]: Likewise.
9091         * misc/sys/mman.h [__USE_BSD]: Likewise.
9092         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9093         * misc/sys/uio.h [__USE_BSD]: Likewise.
9094         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9095         * posix/glob.h [__USE_BSD]: Likewise.
9096         * posix/regex.h [__USE_BSD]: Likewise.
9097         * posix/sys/types.h [__USE_BSD]: Likewise.
9098         [__USE_SVID]: Likewise.
9099         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9100         * posix/sys/wait.h [__USE_BSD]: Likewise.
9101         [__USE_SVID]: Likewise.
9102         * posix/unistd.h [__USE_BSD]: Likewise.
9103         [__USE_SVID]: Likewise.
9104         * pwd/pwd.h [__USE_SVID]: Likewise.
9105         * resolv/netdb.h [__USE_BSD]: Likewise.
9106         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9107         * signal/signal.h [__USE_BSD]: Likewise.
9108         [__USE_SVID]: Likewise.
9109         * socket/sys/socket.h [__USE_BSD]: Likewise.
9110         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9111         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9112         [__USE_SVID]: Likewise.
9113         * string/bits/string2.h [__USE_BSD]: Likewise.
9114         [__USE_SVID]: Likewise.
9115         * string/bits/string3.h [__USE_BSD]: Likewise.
9116         * string/endian.h [__USE_BSD]: Likewise.
9117         * string/string.h [__USE_SVID]: Likewise.
9118         [__USE_BSD]: Likewise.
9119         * string/strings.h [__USE_BSD]: Likewise.
9120         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9121         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9122         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9123         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9124         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9125         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9126         Likewise.
9127         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9128         Likewise.
9129         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9130         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9131         Likewise.
9132         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9133         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9134         Likewise.
9135         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9136         Likewise.
9137         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9138         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9139         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9140         Likewise.
9141         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9142         Likewise.
9143         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9144         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9145         * termios/termios.h [__USE_BSD]: Likewise.
9146         * time/sys/time.h [__USE_BSD]: Likewise.
9147         * time/time.h [__USE_BSD]: Likewise.
9148         [__USE_SVID]: Likewise.
9149
9150         * Makefile (subdir_targets): Remove subdir_lint.out.
9151
9152         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9153         (do-tst-printf): Likewise.
9154         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9155         $(objpfx)tst-printf.out.
9156
9157         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9158
9159         * Makerules (check-abi-%): Change target to
9160         $(objpfx)check-abi-%.out.
9161         (check-abi target): Update dependencies.
9162         (check-abi-pattern variable): Redirect output of diff to $@.
9163         (check-abi variable): Likewise.
9164         * elf/Makefile (check-abi): Update dependencies.
9165
9166         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9167         unused.
9168         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9169         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9170         subnormal range.
9171         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9172         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9173         value has largest subnormal exponent.
9174         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9175         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9176         * sysdeps/aarch64/soft-fp/sfp-machine.h
9177         (_FP_TININESS_AFTER_ROUNDING): New macro.
9178         * sysdeps/alpha/soft-fp/sfp-machine.h
9179         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9180         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9181         Likewise.
9182         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9183         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9184         * sysdeps/mips/soft-fp/sfp-machine.h
9185         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9186         * sysdeps/powerpc/soft-fp/sfp-machine.h
9187         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9188         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9189         Likewise.
9190         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9191         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9192         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9193         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9194         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9195         Likewise.
9196
9197 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9198
9199         [BZ #16545]
9200         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9201         model 1.
9202
9203 2014-02-12  Richard Henderson  <rth@redhat.com>
9204
9205         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9206         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9207         * sysdeps/unix/sysv/linux/alpha: Move directory from
9208         ports/sysdeps/unix/sysv/linux/alpha.
9209         * README: Update listing for alpha-*-linux-gnu.
9210
9211 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9212
9213         * include/features.h: Update comment documenting feature test
9214         macros.
9215         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9216         _DEFAULT_SOURCE.
9217         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9218         (_SVID_SOURCE): Likewise.
9219         (_DEFAULT_SOURCE): Update description of default features.
9220         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9221         with _GNU_SOURCE.
9222         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9223         (S_ISVTX): Likewise.
9224         * manual/math.texi (Mathematical Constants): Likewise.
9225         * manual/signal.texi (Interrupted Primitives): Likewise.
9226         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9227         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9228         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9229         Don't refer to _SVID_SOURCE in warning text.
9230
9231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9232
9233         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9234         already defined.
9235         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9236         * sysdeps/mips/dl-lookup.c: Remove.
9237         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9238
9239 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9240
9241         [BZ #16447]
9242         * math/auto-libm-test-in: Add testcase for expl.
9243         * math/auto-libm-test-out: Regenerate.
9244         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9245         calculation of unsafe.
9246         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9247
9248 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9249
9250         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9251         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9252         ports/sysdeps/unix/sysv/linux/aarch64.
9253         * README: Update listing for aarch64*-*-linux-gnu.
9254
9255 2014-02-11  Will Newton  <will.newton@linaro.org>
9256
9257         * manual/probes.texi (Mathematical Function Probes): Use
9258         "triggered" instead of "hit".
9259
9260         * manual/probes.texi (Internal Probes): Add documentation
9261         of setjmp, longjmp and longjmp_target probes.
9262
9263         * include/stap-probe.h: Add comment about probe argument
9264         format.
9265
9266         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9267         definition.  (tr_where, tr_freehook, tr_mallochook,
9268         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9269
9270 2014-02-11  David S. Miller  <davem@davemloft.net>
9271
9272         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9273         processing int_tests.
9274
9275 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9276
9277         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9278         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9279         * sysdeps/unix/sysv/linux/mips: Move directory from
9280         ports/sysdeps/unix/sysv/linux/mips.
9281         * README: Update listing for mips-*-linux-gnu and
9282         mips64-*-linux-gnu.
9283
9284 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9285
9286         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9287         * sysdeps/unix/sysv/linux/m68k: Move directory from
9288         ports/sysdeps/unix/sysv/linux/m68k.
9289         * README: Update listing for m68k-*-linux-gnu.
9290
9291 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9292
9293         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9294         * sysdeps/unix/sysv/linux/generic: Move directory from
9295         ports/sysdeps/unix/sysv/linux/generic.
9296         * sysdeps/unix/sysv/linux/tile: Move directory from
9297         ports/sysdeps/unix/sysv/linux/tile.
9298         * README: Update listing for tile*-*-linux-gnu.
9299
9300 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9301
9302         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9303         __builtin_expect.
9304         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9305         * catgets/open_catalog.c (__open_catalog): Likewise.
9306         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9307         * debug/confstr_chk.c: Likewise.
9308         * debug/fread_chk.c (__fread_chk): Likewise.
9309         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9310         * debug/getgroups_chk.c: Likewise.
9311         * debug/mbsnrtowcs_chk.c: Likewise.
9312         * debug/mbsrtowcs_chk.c: Likewise.
9313         * debug/mbstowcs_chk.c: Likewise.
9314         * debug/memcpy_chk.c: Likewise.
9315         * debug/memmove_chk.c: Likewise.
9316         * debug/mempcpy_chk.c: Likewise.
9317         * debug/memset_chk.c: Likewise.
9318         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9319         * debug/strcat_chk.c (__strcat_chk): Likewise.
9320         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9321         * debug/strncat_chk.c (__strncat_chk): Likewise.
9322         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9323         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9324         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9325         * debug/wcpncpy_chk.c: Likewise.
9326         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9327         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9328         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9329         * debug/wcsncpy_chk.c: Likewise.
9330         * debug/wcsnrtombs_chk.c: Likewise.
9331         * debug/wcsrtombs_chk.c: Likewise.
9332         * debug/wcstombs_chk.c: Likewise.
9333         * debug/wmemcpy_chk.c: Likewise.
9334         * debug/wmemmove_chk.c: Likewise.
9335         * debug/wmempcpy_chk.c: Likewise.
9336         * debug/wmemset_chk.c: Likewise.
9337         * dirent/scandirat.c (SCANDIRAT): Likewise.
9338         * dlfcn/dladdr1.c (dladdr1): Likewise.
9339         * dlfcn/dladdr.c (dladdr): Likewise.
9340         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9341         * dlfcn/dlerror.c (__dlerror): Likewise.
9342         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9343         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9344         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9345         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9346         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9347         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9348         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9349         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9350         Likewise.
9351         * elf/dl-conflict.c: Likewise.
9352         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9353         * elf/dl-dst.h: Likewise.
9354         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9355         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9356         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9357         * elf/dl-init.c (call_init, _dl_init): Likewise.
9358         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9359         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9360         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9361         Likewise.
9362         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9363         Likewise.
9364         * elf/dl-minimal.c (__libc_memalign): Likewise.
9365         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9366         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9367         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9368         * elf/dl-sym.c (do_sym): Likewise.
9369         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9370         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9371         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9372         * elf/dl-writev.h (_dl_writev): Likewise.
9373         * elf/ldconfig.c (search_dir): Likewise.
9374         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9375         (dl_main): Likewise.
9376         * elf/setup-vdso.h (setup_vdso): Likewise.
9377         * grp/compat-initgroups.c (compat_call): Likewise.
9378         * grp/fgetgrent.c (fgetgrent): Likewise.
9379         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9380         * grp/putgrent.c (putgrent): Likewise.
9381         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9382         Likewise.
9383         * hurd/hurdinit.c: Likewise.
9384         * iconvdata/8bit-gap.c (struct): Likewise.
9385         * iconvdata/ansi_x3.110.c : Likewise.
9386         * iconvdata/big5.c : Likewise.
9387         * iconvdata/big5hkscs.c : Likewise.
9388         * iconvdata/cp1255.c: Likewise.
9389         * iconvdata/cp1258.c : Likewise.
9390         * iconvdata/cp932.c : Likewise.
9391         * iconvdata/euc-cn.c: Likewise.
9392         * iconvdata/euc-jisx0213.c : Likewise.
9393         * iconvdata/euc-jp.c: Likewise.
9394         * iconvdata/euc-jp-ms.c : Likewise.
9395         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9396         * iconvdata/gb18030.c : Likewise.
9397         * iconvdata/gbbig5.c (const): Likewise.
9398         * iconvdata/gbgbk.c: Likewise.
9399         * iconvdata/gbk.c : Likewise.
9400         * iconvdata/ibm1364.c : Likewise.
9401         * iconvdata/ibm930.c : Likewise.
9402         * iconvdata/ibm932.c: Likewise.
9403         * iconvdata/ibm933.c : Likewise.
9404         * iconvdata/ibm935.c : Likewise.
9405         * iconvdata/ibm937.c : Likewise.
9406         * iconvdata/ibm939.c : Likewise.
9407         * iconvdata/ibm943.c: Likewise.
9408         * iconvdata/iso_11548-1.c: Likewise.
9409         * iconvdata/iso-2022-cn.c : Likewise.
9410         * iconvdata/iso-2022-cn-ext.c : Likewise.
9411         * iconvdata/iso-2022-jp-3.c: Likewise.
9412         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9413         * iconvdata/iso-2022-kr.c : Likewise.
9414         * iconvdata/iso646.c (gconv_end): Likewise.
9415         * iconvdata/iso_6937-2.c : Likewise.
9416         * iconvdata/iso_6937.c : Likewise.
9417         * iconvdata/iso8859-1.c: Likewise.
9418         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9419         * iconvdata/shift_jisx0213.c : Likewise.
9420         * iconvdata/sjis.c : Likewise.
9421         * iconvdata/t.61.c : Likewise.
9422         * iconvdata/tcvn5712-1.c : Likewise.
9423         * iconvdata/tscii.c: Likewise.
9424         * iconvdata/uhc.c : Likewise.
9425         * iconvdata/unicode.c (gconv_end): Likewise.
9426         * iconvdata/utf-16.c (gconv_end): Likewise.
9427         * iconvdata/utf-32.c (gconv_end): Likewise.
9428         * iconvdata/utf-7.c (base64): Likewise.
9429         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9430         * iconv/gconv_close.c (__gconv_close): Likewise.
9431         * iconv/gconv_open.c (__gconv_open): Likewise.
9432         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9433         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9434         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9435         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9436         (ucs4le_internal_loop_single): Likewise.
9437         * iconv/iconv.c (iconv): Likewise.
9438         * iconv/iconv_close.c: Likewise.
9439         * iconv/loop.c (SINGLE): Likewise.
9440         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9441         * include/atomic.h: Likewise.
9442         * inet/inet6_option.c (option_alloc): Likewise.
9443         * intl/bindtextdom.c (set_binding_values): Likewise.
9444         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9445         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9446         * intl/localealias.c (read_alias_file): Likewise.
9447         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9448         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9449         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9450         * libio/fmemopen.c (fmemopen): Likewise.
9451         * libio/iofgets.c (_IO_fgets): Likewise.
9452         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9453         * libio/iofgetws.c (fgetws): Likewise.
9454         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9455         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9456         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9457         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9458         * locale/findlocale.c (_nl_find_locale): Likewise.
9459         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9460         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9461         Likewise.
9462         * locale/setlocale.c (setlocale): Likewise.
9463         * login/programs/pt_chown.c (main): Likewise.
9464         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9465         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9466         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9467         (mmap, mmap64, mremap, munmap): Likewise.
9468         * math/e_exp2l.c: Likewise.
9469         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9470         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9471         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9472         * math/s_catan.c (__catan): Likewise.
9473         * math/s_catanf.c (__catanf): Likewise.
9474         * math/s_catanh.c (__catanh): Likewise.
9475         * math/s_catanhf.c (__catanhf): Likewise.
9476         * math/s_catanhl.c (__catanhl): Likewise.
9477         * math/s_catanl.c (__catanl): Likewise.
9478         * math/s_ccosh.c (__ccosh): Likewise.
9479         * math/s_ccoshf.c (__ccoshf): Likewise.
9480         * math/s_ccoshl.c (__ccoshl): Likewise.
9481         * math/s_cexp.c (__cexp): Likewise.
9482         * math/s_cexpf.c (__cexpf): Likewise.
9483         * math/s_cexpl.c (__cexpl): Likewise.
9484         * math/s_clog10.c (__clog10): Likewise.
9485         * math/s_clog10f.c (__clog10f): Likewise.
9486         * math/s_clog10l.c (__clog10l): Likewise.
9487         * math/s_clog.c (__clog): Likewise.
9488         * math/s_clogf.c (__clogf): Likewise.
9489         * math/s_clogl.c (__clogl): Likewise.
9490         * math/s_csin.c (__csin): Likewise.
9491         * math/s_csinf.c (__csinf): Likewise.
9492         * math/s_csinh.c (__csinh): Likewise.
9493         * math/s_csinhf.c (__csinhf): Likewise.
9494         * math/s_csinhl.c (__csinhl): Likewise.
9495         * math/s_csinl.c (__csinl): Likewise.
9496         * math/s_csqrt.c (__csqrt): Likewise.
9497         * math/s_csqrtf.c (__csqrtf): Likewise.
9498         * math/s_csqrtl.c (__csqrtl): Likewise.
9499         * math/s_ctan.c (__ctan): Likewise.
9500         * math/s_ctanf.c (__ctanf): Likewise.
9501         * math/s_ctanh.c (__ctanh): Likewise.
9502         * math/s_ctanhf.c (__ctanhf): Likewise.
9503         * math/s_ctanhl.c (__ctanhl): Likewise.
9504         * math/s_ctanl.c (__ctanl): Likewise.
9505         * math/w_pow.c: Likewise.
9506         * math/w_powf.c: Likewise.
9507         * math/w_powl.c: Likewise.
9508         * math/w_scalb.c (sysv_scalb): Likewise.
9509         * math/w_scalbf.c (sysv_scalbf): Likewise.
9510         * math/w_scalbl.c (sysv_scalbl): Likewise.
9511         * misc/error.c (error_tail): Likewise.
9512         * misc/pselect.c (__pselect): Likewise.
9513         * nis/nis_callback.c (__nis_create_callback): Likewise.
9514         * nis/nis_call.c (__nisfind_server): Likewise.
9515         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9516         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9517         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9518         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9519         * nis/nis_lookup.c (nis_lookup): Likewise.
9520         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9521         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9522         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9523         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9524         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9525         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9526         * nis/nss_compat/compat-initgroups.c (add_group)
9527         (internal_getgrent_r): Likewise.
9528         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9529         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9530         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9531         (internal_getspnam_r): Likewise.
9532         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9533         (_nss_nis_getaliasbyname_r): Likewise.
9534         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9535         (_nss_nis_getntohost_r): Likewise.
9536         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9537         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9538         (_nss_nis_getgrgid_r): Likewise.
9539         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9540         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9541         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9542         (_nss_nis_gethostbyname4_r): Likewise.
9543         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9544         (initgroups_netid): Likewise.
9545         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9546         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9547         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9548         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9549         (_nss_nis_getprotobynumber_r): Likewise.
9550         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9551         (_nss_nis_getsecretkey): Likewise.
9552         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9553         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9554         (_nss_nis_getpwuid_r): Likewise.
9555         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9556         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9557         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9558         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9559         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9560         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9561         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9562         Likewise.
9563         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9564         (_nss_nisplus_getntohost_r): Likewise.
9565         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9566         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9567         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9568         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9569         Likewise.
9570         * nis/nss_nisplus/nisplus-initgroups.c
9571         (_nss_nisplus_initgroups_dyn): Likewise.
9572         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9573         (_nss_nisplus_getnetbyaddr_r): Likewise.
9574         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9575         (_nss_nisplus_getprotobynumber_r): Likewise.
9576         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9577         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9578         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9579         Likewise.
9580         * nis/nss_nisplus/nisplus-service.c
9581         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9582         (_nss_nisplus_getservbyport_r): Likewise.
9583         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9584         (_nss_nisplus_getspnam_r): Likewise.
9585         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9586         Likewise.
9587         * nscd/aicache.c (addhstaiX): Likewise.
9588         * nscd/cache.c (cache_search, prune_cache): Likewise.
9589         * nscd/connections.c (register_traced_file, send_ro_fd)
9590         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9591         (main_loop_epoll): Likewise.
9592         * nscd/grpcache.c (addgrbyX): Likewise.
9593         * nscd/hstcache.c (addhstbyX): Likewise.
9594         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9595         * nscd/mem.c (gc, mempool_alloc): Likewise.
9596         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9597         (addinnetgrX): Likewise.
9598         * nscd/nscd-client.h (__nscd_acquire_maplock)
9599         (__nscd_drop_map_ref): Likewise.
9600         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9601         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9602         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9603         Likewise.
9604         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9605         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9606         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9607         (__nscd_get_map_ref): Likewise.
9608         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9609         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9610         Likewise.
9611         * nscd/pwdcache.c (addpwbyX): Likewise.
9612         * nscd/selinux.c (preserve_capabilities): Likewise.
9613         * nscd/servicescache.c (addservbyX): Likewise.
9614         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9615         * posix/fnmatch.c (fnmatch): Likewise.
9616         * posix/getopt.c (_getopt_internal_r): Likewise.
9617         * posix/glob.c (glob, glob_in_dir): Likewise.
9618         * posix/wordexp.c (exec_comm_child): Likewise.
9619         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9620         (getanswer_r, gaih_getanswer_slice): Likewise.
9621         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9622         * resolv/res_init.c: Likewise.
9623         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9624         * resolv/res_query.c (__libc_res_nquery): Likewise.
9625         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9626         Likewise.
9627         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9628         * stdio-common/perror.c (perror): Likewise.
9629         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9630         * stdio-common/tmpnam.c (tmpnam): Likewise.
9631         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9632         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9633         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9634         Likewise.
9635         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9636         * stdlib/putenv.c (putenv): Likewise.
9637         * stdlib/setenv.c (__add_to_environ): Likewise.
9638         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9639         * stdlib/strtol_l.c (INTERNAL): Likewise.
9640         * string/memmem.c (memmem): Likewise.
9641         * string/strerror.c (strerror): Likewise.
9642         * string/strnlen.c (__strnlen): Likewise.
9643         * string/test-memmem.c (simple_memmem): Likewise.
9644         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9645         * sunrpc/pm_getport.c (__get_socket): Likewise.
9646         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9647         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9648         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9649         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9650         Likewise.
9651         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9652         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9653         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9654         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9655         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9656         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9657         Likewise.
9658         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9659         Likewise.
9660         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9661         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9662         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9663         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9664         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9666         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9667         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9668         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9669         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9670         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9671         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9672         Likewise.
9673         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9674         Likewise.
9675         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9676         Likewise.
9677         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9678         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9679         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9680         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9681         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9682         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9683         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9684         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9686         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9687         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9688         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9689         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9690         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9692         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9693         Likewise.
9694         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9695         Likewise.
9696         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9697         Likewise.
9698         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9699         Likewise.
9700         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9701         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9702         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9703         Likewise.
9704         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9705         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9706         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9707         * sysdeps/posix/sleep.c: Likewise.
9708         * sysdeps/posix/tempname.c: Likewise.
9709         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9710         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9711         Likewise.
9712         * sysdeps/powerpc/powerpc32/dl-machine.h
9713         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9714         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9716         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9717         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9718         Likewise.
9719         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9720         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9721         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9722         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9723         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9724         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9725         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9726         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9727         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9728         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9729         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9730         (elf_machine_lazy_rel): Likewise.
9731         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9732         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9733         (elf_machine_lazy_rel): Likewise.
9734         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9735         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9736         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9737         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9738         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9739         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9740         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9741         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9742         Likewise.
9743         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9744         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9745         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9746         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9747         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9748         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9749         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9750         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9751         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9752         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9753         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9754         Likewise.
9755         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9756         (__posix_fallocate64_l64): Likewise.
9757         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9758         (posix_fallocate): Likewise.
9759         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9760         Likewise.
9761         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9762         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9763         (getifaddrs_internal): Likewise.
9764         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9765         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9766         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9767         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9768         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9769         (__posix_fallocate64_l64): Likewise.
9770         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9771         Likewise.
9772         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9773         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9774         (__get_clockfreq): Likewise.
9775         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9776         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9777         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9778         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9779         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9780         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9781         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9782         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9783         Likewise.
9784         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9785         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9786         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9787         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9788         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9789         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9790         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9791         Likewise.
9792         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9793         (posix_fallocate): Likewise.
9794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9795         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9796         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9797         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9798         (elf_machine_rela, elf_machine_rela_relative)
9799         (elf_machine_lazy_rel): Likewise.
9800         * time/asctime.c (asctime_internal): Likewise.
9801         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9802         * time/tzset.c (__tzset_parse_tz): Likewise.
9803         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9804         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9805         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9806         * wcsmbs/wcsmbsload.h: Likewise.
9807
9808         [BZ #15894]
9809         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9810
9811         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9812         (arena_get2): Remove THREAD_STATS conditionals.
9813         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9814         (__malloc_stats, int): Likewise.
9815
9816 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9817
9818         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9819         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9820
9821         * manual/setjmp.texi: Fix typos/grammar errors.
9822
9823         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9824         Only return early when n is <= 0.  Delete unused return statement.
9825
9826         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9827         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9828         * debug/tst-longjmp_chk3.c: New file.
9829
9830         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9831         (test_main): Replace code with set_fortify_handler call.
9832         * debug/test-strcpy_chk.c: Likewise.
9833         * debug/tst-chk1.c: Likewise.
9834         * debug/tst-longjmp_chk.c: Likewise.
9835         * test-skeleton.c: Include fcntl.h & paths.h
9836         (set_fortify_handler): Define.
9837
9838         * debug/tst-longjmp_chk.c: Add header comment and include
9839         ../test-skeleton.c.
9840         (do_test): Mark static.
9841         (TEST_FUNCTION): Define.
9842
9843         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9844         (IP_PMTUDISC_INTERFACE): Likewise.
9845         (IP_MULTICAST_IF): Likewise.
9846         (IP_MULTICAST_TTL): Likewise.
9847         (IP_MULTICAST_LOOP): Likewise.
9848         (IP_ADD_MEMBERSHIP): Likewise.
9849         (IP_DROP_MEMBERSHIP): Likewise.
9850         (IP_UNBLOCK_SOURCE): Likewise.
9851         (IP_BLOCK_SOURCE): Likewise.
9852         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9853         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9854         (IP_MSFILTER): Likewise.
9855         (MCAST_JOIN_GROUP): Likewise.
9856         (MCAST_BLOCK_SOURCE): Likewise.
9857         (MCAST_UNBLOCK_SOURCE): Likewise.
9858         (MCAST_LEAVE_GROUP): Likewise.
9859         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9860         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9861         (MCAST_MSFILTER): Likewise.
9862         (IP_MULTICAST_ALL): Likewise.
9863         (IP_UNICAST_IF): Likewise.
9864
9865         * timezone/Makefile: Delete $(have-ksh) check.
9866         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9867         * timezone/tzselect.ksh: Add +x mode bits.
9868
9869         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9870         (ANON_INODE_FS_MAGIC): Likewise.
9871         (BDEVFS_MAGIC): Likewise.
9872         (BINFMTFS_MAGIC): Likewise.
9873         (BTRFS_TEST_MAGIC): Likewise.
9874         (CRAMFS_MAGIC_WEND): Likewise.
9875         (DEBUGFS_MAGIC): Likewise.
9876         (ECRYPTFS_SUPER_MAGIC): Likewise.
9877         (EXT3_SUPER_MAGIC): Likewise.
9878         (EXT4_SUPER_MAGIC): Likewise.
9879         (FUTEXFS_SUPER_MAGIC): Likewise.
9880         (HOSTFS_SUPER_MAGIC): Likewise.
9881         (HUGETLBFS_MAGIC): Likewise.
9882         (MINIX3_SUPER_MAGIC): Likewise.
9883         (MTD_INODE_FS_MAGIC): Likewise.
9884         (NILFS_SUPER_MAGIC): Likewise.
9885         (OPENPROM_SUPER_MAGIC): Likewise.
9886         (PIPEFS_MAGIC): Likewise.
9887         (PSTOREFS_MAGIC): Likewise.
9888         (QNX6_SUPER_MAGIC): Likewise.
9889         (RAMFS_MAGIC): Likewise.
9890         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9891         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9892         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9893         (SECURITYFS_MAGIC): Likewise.
9894         (SELINUX_MAGIC): Likewise.
9895         (SMACK_MAGIC): Likewise.
9896         (SOCKFS_MAGIC): Likewise.
9897         (SQUASHFS_MAGIC): Likewise.
9898         (STACK_END_MAGIC): Likewise.
9899         (TMPFS_MAGIC): Likewise.
9900         (USBDEVICE_SUPER_MAGIC): Likewise.
9901         (V9FS_MAGIC): Likewise.
9902         (XENFS_SUPER_MAGIC): Likewise.
9903         (CRAMFS_MAGIC): Fix typo in comment.
9904         (EXT2_SUPER_MAGIC): Update comment.
9905         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9906
9907 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9908
9909         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9910         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9911         * sysdeps/unix/sysv/linux/arm: Move directory from
9912         ports/sysdeps/unix/sysv/linux/arm.
9913         * README: Update listing for arm-*-linux-gnueabi.
9914
9915         * README: Remove mention of am33.
9916
9917 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9918
9919         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9920         than the comma operator, to avoid "rhs of comma has no effect"
9921         compiler warnings.
9922         (__sigfillset, __sigandset, __sigorset): Likewise.
9923         * include/signal.h (__sigemptyset): Likewise.
9924         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9925
9926 2014-02-07  Allan McRae  <allan@archlinux.org>
9927
9928         * version.h (RELEASE): Set to "development".
9929         (VERSION): Set to "2.19.90"
9930         * NEWS: Add 2.20 section.
9931
9932 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9933
9934         [BZ #16529]
9935         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9936
9937 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9938
9939         * manual/contrib.texi: Update entry for Carlos O'Donell,
9940         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9941
9942 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9943
9944         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9945
9946         * sysdeps/unix/sysv/linux/kernel-features.h
9947         [__LINUX_KERNEL_VERSION >= 0x020621]
9948         (__ASSUME_PROC_PID_TASK_COMM): Define.
9949
9950 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9951
9952         [BZ #16398]
9953         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9954         conversion when destination buffer does not have enough space.
9955         * libio/tst-ftell-partial-wide.c: New test case.
9956         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9957
9958         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9959         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9960         Leonard and Allan McRae.
9961
9962 2014-02-04  David S. Miller  <davem@davemloft.net>
9963
9964         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9965         32-bit.
9966
9967 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9968
9969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9970         New file
9971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9972         New file
9973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9974         New file.
9975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9976         New file.
9977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9978         New file.
9979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9980         New file.
9981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9982         New file.
9983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9984         New file.
9985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9986         New file.
9987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9988         New file.
9989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9990         New file.
9991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9992         New file.
9993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9994         New file.
9995
9996 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9997
9998         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9999         * shlib-versions: Likewise.
10000
10001 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10002             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10003
10004         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10005         (abilist-pattern): New variable, set to %-le.abilist.
10006
10007         * Makerules (abilist-pattern): New variable.
10008         (vpath): Use $(abilist-pattern) in place of %.abilist.
10009         (check-abi-% pattern rule): Likewise.
10010         (check-abi, update-abi): Likewise.
10011
10012 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10013
10014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10015
10016 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10017
10018         * manual/startup.texi: Add next, previous, and top entries for
10019         the `Program Arguments' and `Environment Variables' nodes.
10020
10021 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10022
10023         * manual/macros.texi: Add comments before MTASC-safety macros.
10024
10025         * manual/users.texi: Document MTASC-safety properties.
10026
10027         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10028         (pthread_getspecific, pthread_setspecific): Format with
10029         @deftypefun, and add @safety note.
10030         * manual/signal.texi: Move comments that analyze the above
10031         functions to their home place.
10032
10033 2014-02-03  Allan McRae  <allan@archlinux.org>
10034
10035         * po/sl.po: Update Slovenian translation from translation project.
10036
10037 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10038
10039         * manual/time.texi (timegm): Add missing blank after @c.
10040         Reported by Joseph Myers <joseph@codesourcery.com>.
10041
10042 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10043
10044         * manual/check-safety.sh: New.
10045         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10046
10047         * manual/terminal.texi: Document MTASC-safety properties.
10048
10049         * manual/filesys.texi: Document MTASC-safety properties.
10050
10051         * manual/errno.texi: Document MTASC-safety properties.
10052
10053         * manual/intro.texi: Document safety identifiers and
10054         conditionals.
10055
10056         * manual/string.texi (wcstok): Fix prototype.
10057         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10058
10059         * manual/time.texi: Document MTASC-safety properties.
10060
10061         * manual/string.texi: Document MTASC-safety properties.
10062
10063         * manual/threads.texi: Document MTASC-safety properties.
10064
10065         * manual/stdio.texi: Document MTASC-safety properties.
10066
10067         * manual/syslog.texi: Document MTASC-safety properties.
10068
10069         * manual/sysinfo.texi: Document MTASC-safety properties.
10070
10071         * manual/startup.texi: Document MTASC-safety properties.
10072
10073         * manual/socket.texi: Document MTASC-safety properties.
10074
10075         * manual/signal.texi: Document MTASC-safety properties.
10076
10077 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10078
10079         * manual/setjmp.texi: Document MTASC-safety properties.
10080
10081         * manual/search.texi: Document MTASC-safety properties.
10082
10083         * manual/resource.texi: Document MTASC-safety properties.
10084
10085         * manual/process.texi: Document MTASC-safety properties.
10086
10087         * manual/platform.texi: Document MTASC-safety properties.
10088
10089         * manual/pipe.texi: Document MTASC-safety properties.
10090
10091         * manual/pattern.texi: Document MTASC-safety properties.
10092
10093         * manual/message.texi: Document MTASC-safety properties.
10094
10095         [BZ #12751]
10096         * manual/memory.texi: Document MTASC-safety properties.
10097
10098         * manual/math.texi: Document MTASC-safety properties.
10099
10100         * manual/locale.texi: Document MTASC-safety properties.
10101
10102         * manual/llio.texi: Document MTASC-safety properties.
10103
10104         * manual/libdl.texi: New.
10105
10106         * manual/lang.texi: Document MTASC-safety properties.
10107
10108         * manual/job.texi: Document MTASC-safety properties.
10109
10110         * manual/getopt.texi: Document MTASC-safety properties.
10111
10112         * manual/ctype.texi: Document MTASC-safety properties.
10113
10114 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10115
10116         [BZ #16046]
10117         * csu/libc-tls.c (static_map): Remove variable.
10118         (__libc_setup_tls): Use main executable's link map for TLS data.
10119         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10120         casing for LM_ID_BASE and GL(dl_nns).
10121         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10122         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10123         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10124         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10125         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10126         member.
10127         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10128         l_phnum members.
10129
10130 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10131
10132         * manual/debug.texi: Document MTASC-safety properties.
10133
10134 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10135
10136         [BZ #16510]
10137         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10138         of __x86_64__ when disabling x87 inline functions.
10139
10140 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10141
10142         * manual/charset.texi: Document MTASC-safety properties.
10143
10144         * manual/crypt.texi: Document MTASC-safety properties.
10145
10146         * manual/conf.texi: Document MTASC-safety properties.
10147
10148         * manual/arith.texi: Document MTASC-safety properties.
10149
10150         * manual/argp.texi: Document MTASC-safety properties.
10151
10152         * manual/macros.texi: Introduce macros to document multi
10153         thread, asynchronous signal and asynchronous cancellation
10154         safety properties.
10155         * manual/intro.texi: Introduce the properties themselves.
10156
10157 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10158
10159         * sysdeps/sh/sh4/Makefile: New file.
10160
10161 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10162
10163         * math/gen-libm-test.pl ($srcdir): New variable.
10164         ($auto_input): Use it.
10165
10166 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10167
10168         [BZ #16506]
10169         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10170         access beyond array bounds when parsing netgroups file.
10171
10172         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10173         the old buffer before realloc.
10174
10175 2014-01-27  Allan McRae  <allan@archlinux.org>
10176
10177         * po/fr.po: Update French translation from translation project.
10178
10179 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10180
10181         * sysdeps/sh/libm-test-ulps: Regenerate.
10182
10183 2014-01-24  David S. Miller  <davem@davemloft.net>
10184
10185         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10186
10187 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10188
10189         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10190         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10191
10192 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10193
10194         [BZ #16474]
10195         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10196         string pointers after reallocation.
10197
10198 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10199
10200         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10201         __SH4A__ instead of __SH_FPU_ANY__.
10202
10203 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10204
10205         * sysdeps/sh/fpu_control.h: New file.
10206         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10207         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10208         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10209         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10210         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10211         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10212         * sysdeps/sh/sys/ucontext.h: Remove.
10213         * sysdeps/sh/sys: Remove directory.
10214
10215 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10216
10217         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10218         s390/sys/ucontext.h.
10219         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10220         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10221
10222 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10223
10224         [BZ #15605]
10225         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10226
10227 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10228
10229         [BZ#16431]
10230         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10231         Adjust the vDSO correctly for internal calls.
10232         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10233
10234 2014-01-20  Allan McRae  <allan@archlinux.org>
10235
10236         * po/ca.po: Update Catalan translation from translation project.
10237
10238 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10239
10240         * sysdeps/s390/sotruss-lib.c: New file.
10241
10242 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10243
10244         [BZ#16430]
10245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10246         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10247         local calls issues by not having a PLT stub required for IFUNC calls.
10248         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10249
10250 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10251
10252         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10253         * math/test-fpucw-static.c: Likewise.
10254
10255 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10256
10257         [BZ #16453]
10258         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10259
10260 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10261
10262         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10263         implementation for powerpc.
10264
10265 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10266
10267         [BZ #14782]
10268         * sysdeps/posix/system.c (__libc_system): Do not enable
10269         asynchronous cancellation.
10270
10271 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10272
10273         [BZ #16427]
10274         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10275         handling only for numbers special also in the IEEE case.
10276
10277 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10278
10279         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10280
10281 2014-01-11  Allan McRae  <allan@archlinux.org>
10282
10283         * po/bg.po: Update Bulgarian translation from translation project.
10284
10285         * po/de.po: Update German translation from translation project.
10286
10287 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10288
10289         * sysdeps/generic/gcc-compat.h: New file.
10290
10291 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10292
10293         * benchtests/asin-inputs: Correct slow inputs.
10294         * benchtests/acos-inputs: Likewise.
10295
10296 2014-01-10  Allan McRae  <allan@archlinux.org>
10297
10298         * po:sv.po: Update Swedish translation from translation project.
10299
10300         * po/vi.po: Update Vietnamese translation from translation project.
10301
10302         * po/eo.po: Update Esperanto translation from translation project.
10303
10304         * po/cs.po: Update Czech translation from translation project.
10305
10306         * po/nl.po: Update Dutch translation from translation project.
10307
10308         * po/pl.po: Update Polish translation from translation project.
10309
10310         * po/ru.po: Update Russian translation from translation project.
10311
10312         * po/uk.po: Update Ukrainian translation from translation project.
10313
10314 2014-01-08  Brooks Moses  <bmoses@google.com>
10315
10316         * elf/dl-load.c: Fix comment typo.
10317
10318 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10319
10320         * po/header.pot: Rename to...
10321         * po/pot.header: ... this.
10322         * po/Makefile: Use pot.header.
10323
10324 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10325             Maxim Kuvyrkov  <maxim@kugelworks.com>
10326
10327         [BZ #16394]
10328         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10329         SRC and DEST against LEN.
10330
10331 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10332
10333         [BZ #16414]
10334         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10335         implementation.
10336         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10337
10338 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10339
10340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10341
10342 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10343
10344         [BZ #16408]
10345         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10346         for large positive arguments.
10347
10348 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10349
10350         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10351
10352         * math/auto-libm-test-in: Mark various tests with
10353         xfail-rounding:ldbl-128ibm.
10354         * math/auto-libm-test-out: Regenerated.
10355
10356         [BZ #16407]
10357         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10358         Increase overflow threshold.
10359
10360 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10361
10362         [BZ #14286]
10363         * stdio-common/vfprintf.c: Check for integer overflow.
10364
10365 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10366
10367         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10368         the first argument and return value of __tls_get_addr_internal.
10369
10370 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10371
10372         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10373         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10374
10375 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10376
10377         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10378         * sysdeps/s390/rtld-global-offsets.sym: New file.
10379         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10380         GLIBC_2.19 symbol.
10381         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10382         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10383         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10384         ... this.
10385         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10386         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10387         ... this.
10388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10389         Regenerate.
10390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10391         Regenerate.
10392         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10393         halfs of GPRs for high_gprs contexts.
10394         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10395         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10396         field.
10397         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10398         uc_flags field.
10399         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10400         64 bit versions:
10401         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10402         for high GPRs (uc_high_gprs) and for future extensions
10403         (__reserved).
10404         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10405         for future extensions (__reserved).
10406         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10407         64 bit versions:
10408         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10409         SC_HIGHGPRS offset definition.
10410         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10411         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10412
10413         * Versions.def: Add GLIBC_2.19 for libpthread.
10414         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10415         siglongjmp for libpthread with GLIBC_2.19 symver.
10416         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10417         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10418         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10419         * sysdeps/s390/__longjmp.c: New file.
10420         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10421         * sysdeps/s390/longjmp.c: New file.
10422         * sysdeps/s390/setjmp.S: New file.
10423         * sysdeps/s390/sigjmp.S: New file.
10424         * sysdeps/s390/v1-longjmp.c: New file.
10425         * sysdeps/s390/v1-setjmp.h: New file.
10426         * sysdeps/s390/v1-sigjmp.c: New file.
10427         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10428         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10429         GLIBC_2.19 version.
10430         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10431         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10432         versioned symbols for ____longjmp_chk.
10433         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10434         Likewise.
10435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10436         Regenerate.
10437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10438         Regenerate.
10439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10440         Regenerate.
10441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10442         Regenerate.
10443         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10444         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10445         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10446         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10447         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10448         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10449         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10450         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10451         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10452         * sysdeps/s390/rtld-__longjmp.c: New file.
10453         * sysdeps/s390/rtld-setjmp.S: New file.
10454
10455 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10456
10457         [BZ #16400]
10458         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10459         Return -__logl (x) for small positive arguments without evaluating
10460         a polynomial.
10461
10462 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10463
10464         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10465         Rename to ...
10466         (__ptrace_peeksiginfo_args): ... this.
10467         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10468         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10469         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10470
10471 2014-01-06  Allan McRae  <allan@archlinux.org>
10472
10473         * inet/netinet/in.h: Fix typo in comment.
10474
10475 2014-01-05  Andreas Jaeger  <aj@suse.de>
10476
10477         * sysdeps/i386/fpu/libm-test-ulps: Update.
10478
10479 2014-01-05  Allan McRae  <allan@archlinux.org>
10480
10481         * po/libc.pot: Regenerated.
10482
10483         * malloc/memusagestat.c: Fix gettext call formatting.
10484
10485 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10486
10487         * nscd/nscd.c: Improve usage() output.
10488
10489 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10490
10491         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10492         * sysdeps/unix/sysv/linux/configure: Regenerated.
10493         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10494         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10495
10496 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10497
10498         [BZ #16390]
10499         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10500         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10501
10502 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10503
10504         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10505         extra tokens at end of #undef directive.
10506         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10507         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10508         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10509
10510 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10511
10512         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10513
10514         * math/auto-libm-test-in: Mark various tests with
10515         xfail-rounding:ldbl-128ibm.
10516         * math/auto-libm-test-out: Regenerated.
10517
10518 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10519
10520         [BZ #16386]
10521         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10522         numbers with subnormal high part when calculating exponent.
10523
10524         [BZ #16385]
10525         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10526         fabs.
10527
10528         [BZ #16384]
10529         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10530         M_LN2l.
10531         (__ieee754_acoshl): Use __log1pl not __log1p.
10532
10533 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10534
10535         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10536         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10537         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10538         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10539         (reused_arena, arena_get2): Convert to GNU style.
10540         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10541         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10542         (memalign_check, __malloc_set_state): Likewise.
10543         * malloc/mallocbug.c (main): Likewise.
10544         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10545         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10546         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10547         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10548         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10549         (__posix_memalign, malloc_info): Likewise.
10550         * malloc/malloc.h: Likewise.
10551         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10552         (mallochook, memalignhook, reallochook, mabort): Likewise.
10553         * malloc/mcheck.h: Likewise.
10554         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10555         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10556         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10557         * malloc/morecore.c (__default_morecore): Likewise.
10558         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10559         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10560         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10561         (print_and_abort): Likewise.
10562         * malloc/obstack.h: Likewise.
10563         * malloc/set-freeres.c (__libc_freeres): Likewise.
10564         * malloc/tst-mallocstate.c (main): Likewise.
10565         * malloc/tst-mtrace.c (main): Likewise.
10566         * malloc/tst-realloc.c (do_test): Likewise.
10567
10568 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10569
10570         [BZ #16366]
10571         * nscd/netgroupcache.c (do_notfound): New function.
10572         (addgetnetgrentX): Use it.
10573
10574         [BZ # 16365]
10575         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10576         NSS_STATUS_NOTFOUND.
10577
10578 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10579
10580         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10582
10583 2014-01-01  Allan McRae  <allan@archlinux.org>
10584
10585         * scripts/update-copyrights: Update configure input file suffix.
10586
10587         * NEWS: Update copyright year.
10588         * catgets/gencat.c: Likewise.
10589         * csu/version.c: Likewise.
10590         * debug/catchsegv.sh: Likewise.
10591         * debug/pcprofiledump.c: Likewise.
10592         * debug/xtrace.sh: Likewise.
10593         * elf/ldconfig.c: Likewise.
10594         * elf/ldd.bash.in: Likewise.
10595         * elf/pldd.c: Likewise.
10596         * elf/sotruss.ksh: Likewise.
10597         * elf/sprof.c: Likewise.
10598         * iconv/iconv_prog.c: Likewise.
10599         * iconv/iconvconfig.c: Likewise.
10600         * locale/programs/locale.c: Likewise.
10601         * locale/programs/localedef.c: Likewise.
10602         * login/programs/pt_chown.c: Likewise.
10603         * malloc/memusage.sh: Likewise.
10604         * malloc/memusagestat.c: Likewise.
10605         * malloc/mtrace.pl: Likewise.
10606         * manual/libc.texinfo: Likewise.
10607         * nscd/nscd.c: Likewise.
10608         * nss/getent.c: Likewise.
10609         * nss/makedb.c: Likewise.
10610         * posix/getconf.c: Likewise.
10611         * scripts/test-installation.pl: Likewise.
10612
10613         * All files with FSF copyright notices: Update copyright dates
10614         using scripts/update-copyrights.
10615         * intl/plural.c: Regenerated.
10616         * locale/programs/charmap-kw.h: Likewise.
10617         * locale/programs/locfile-kw.h: Likewise.
10618
10619 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10620
10621         * sysdeps/unix/sysv/linux/configure: Regenerated.
10622         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10623         the linux/fanotify.h header.
10624         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10625         HAVE_LINUX_FANOTIFY_H is defined.
10626
10627 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10628
10629         * benchtests/cos-inputs: New inputs.
10630         * benchtests/sin-inputs: Likewise.
10631
10632         * benchtests/atan-inputs: New inputs. Fix name of multiple
10633         precision fallback inputs.
10634
10635         * benchtests/atanh-inputs: New inputs.
10636         * benchtests/tanh-inputs: Likewise.
10637
10638         * benchtests/acosh-inputs: New inputs.
10639         * benchtests/asinh-inputs: Likewise.
10640
10641         * benchtests/cosh-inputs: New inputs.
10642         * benchtests/sinh-inputs: Likewise.
10643
10644         * benchtests/acos-inputs: Add more inputs.
10645         * benchtests/asin-inputs: Likewise.
10646
10647 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10648
10649         [BZ #16375]
10650         * manual/arith.texi: Fix spelling.
10651         * manual/charset.texi: Likewise.
10652         * manual/errno.texi: Likewise.
10653         * manual/filesys.texi: Likewise.
10654         * manual/lang.texi: Likewise.
10655         * manual/llio.texi: Likewise.
10656         * manual/locale.texi: Likewise.
10657         * manual/message.texi: Likewise.
10658         * manual/resource.texi: Likewise.
10659         * manual/search.texi: Likewise.
10660         * manual/setjmp.texi: Likewise.
10661         * manual/stdio.texi: Likewise.
10662         * manual/string.texi: Likewise.
10663         * manual/sysinfo.texi: Likewise.
10664         * manual/time.texi: Likewise.
10665
10666 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10667
10668         * po/sl.po: New file.
10669
10670 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10671
10672         * .gitignore: Add core/.gdbinit/.gdb_history.
10673
10674 2013-12-27  Allan McRae  <allan@archlinux.org>
10675
10676         [BZ #16369]
10677         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10678         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10679
10680 2013-12-24  Brooks Moses  <bmoses@google.com>
10681
10682         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10683         all compilers that claim C++98 compliance, not just GCC.
10684         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10685         Likewise.
10686
10687 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10688
10689         * NEWS: Restore accidentally deleted bug-fix entries.
10690
10691 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10692             Ondřej Bílka  <neleai@seznam.cz>
10693
10694         [BZ #15073]
10695         * malloc/malloc.c (_int_free): Perform sanity check only if we
10696         have_lock.
10697
10698 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10699
10700         [BZ #12986]
10701         * manual/stdio.texi (String Input Conversions): Clarify that character
10702         classes are not supported.
10703
10704 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10705
10706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10707
10708 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10709
10710         [BZ #16337]
10711         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10712         Calculate results for small negative arguments directly rather
10713         than using reflection formula with special underflow handling.
10714
10715         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10716         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10717         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10718         (fchflags): Likewise.
10719         (revoke): Likewise.
10720         (setlogin): Likewise.
10721         (sigaltstack): Likewise.
10722         (wait4): Likewise.
10723         (sigblock): Remove.
10724         (sigsetmask): Likewise.
10725         (wait3): Likewise.
10726         (waitpid): Likewise.
10727         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10728         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10729         file.
10730         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10731         * sysdeps/unix/bsd/Makefile: ... here.
10732         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10733         * sysdeps/unix/bsd/Versions: ... here.
10734         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10735         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10736         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10737         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10738         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10739         * sysdeps/unix/bsd/sigblock.c: ... here.
10740         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10741         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10742         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10743         * sysdeps/unix/bsd/sigvec.c: ... here.
10744         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10745         * sysdeps/unix/bsd/tcdrain.c: ... here.
10746         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10747         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10748         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10749         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10750         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10751         * sysdeps/unix/bsd/wait.c: ... here.
10752         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10753         * sysdeps/unix/bsd/wait3.c: ... here.
10754         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10755         * sysdeps/unix/bsd/waitpid.c: ... here.
10756
10757 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10758
10759         [BZ #16356]
10760         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10761         round-to-nearest for [!USE_AS_EXPM1L].
10762         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10763         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10764         more tests of exp and exp10.  Expect some exp10 tests to miss
10765         exceptions or fail in directed rounding modes.
10766         * math/auto-libm-test-out: Regenerated.
10767         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10768         (exp10_test_tonearest): New function.
10769         (exp10_towardzero_test_data): New array.
10770         (exp10_test_towardzero): New function.
10771         (exp10_downward_test_data): New array.
10772         (exp10_test_downward): New function.
10773         (exp10_upward_test_data): New array.
10774         (exp10_test_upward): New function.
10775         (main): Call the new functions.
10776         * sysdeps/i386/fpu/libm-test-ulps: Update.
10777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10778
10779 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10780
10781         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10782         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10783         * math/auto-libm-test-out: Regenerated.
10784         * math/libm-test.inc (acosh_test_data): Add more tests.
10785         (atanh_test_data): Likewise.
10786         (ceil_test_data): Likewise.
10787         (copysign_test_data): Likewise.
10788         * sysdeps/i386/fpu/libm-test-ulps: Update.
10789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10790
10791         * timezone/checktab.awk: Update from tzcode 2013i.
10792         * timezone/private.h: Likewise.
10793         * timezone/scheck.c: Likewise.
10794         * timezone/tzfile.h: Likewise.
10795         * timezone/tzselect.ksh: Likewise.
10796         * timezone/zdump.c: Likewise.
10797         * timezone/zic.c: Likewise.
10798
10799         * math/auto-libm-test-in: Add tests of cpow.
10800         * math/auto-libm-test-out: Regenerated.
10801         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10802         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10803         mpc_cc_c.
10804         (func_calc_desc): Add mpc_cc_c union field.
10805         (test_functions): Add cpow.
10806         (special_fill_2pi): New function.
10807         (special_real_inputs): Add 2pi.
10808         (calc_generic_results): Handle mpc_cc_c.
10809         * sysdeps/i386/fpu/libm-test-ulps: Update.
10810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10811
10812         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10813         csqrt, ctan and ctanh.
10814         * math/auto-libm-test-out: Regenerated.
10815         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10816         (TEST_COND_x86): Likewise.
10817         (ccos_test_data): Use AUTO_TESTS_c_c.
10818         (ccosh_test_data): Likewise.
10819         (cexp_test_data): Likewise.
10820         (clog_test_data): Likewise.
10821         (csqrt_test_data): Likewise.
10822         (ctan_test_data): Likewise.
10823         (ctan_tonearest_test_data): Likewise.
10824         (ctan_towardzero_test_data): Likewise.
10825         (ctan_downward_test_data): Likewise.
10826         (ctan_upward_test_data): Likewise.
10827         (ctanh_test_data): Likewise.
10828         (ctanh_tonearest_test_data): Likewise.
10829         (ctanh_towardzero_test_data): Likewise.
10830         (ctanh_downward_test_data): Likewise.
10831         (ctanh_upward_test_data): Likewise.
10832         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10833         mpc_c_c.
10834         (func_calc_desc): Add mpc_c_c union field.
10835         (FUNC_mpc_c_c): New macro.
10836         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10837         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10838         ctanh.
10839         (special_fill_min_subnorm_p120): New function.
10840         (special_real_inputs): Add min_subnorm_p120.
10841         (calc_generic_results): Handle mpc_c_c.
10842         * sysdeps/i386/fpu/libm-test-ulps: Update.
10843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10844
10845 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10846
10847         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10848         (do_sin_slow): New functions.
10849         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10850         (cslow2, csloww1, csloww2): Use the new functions.
10851
10852         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10853         Use M to change sign of result instead of X.  Assume X is
10854         positive.
10855         (csloww1): Likewise.
10856         (__sin): Adjust.
10857         (__cos): Adjust.
10858
10859         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10860         arguments A and DA.
10861         (__sin): Adjust.
10862         (__cos): Likewise.
10863
10864         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10865         (__cos): Likewise.
10866         (sloww1): Don't adjust sign of DX.
10867         (csloww1): Likewise.
10868         (sloww2): Use X directly and don't adjust sign of DX.
10869         (csloww2): Likewise.
10870
10871 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10872
10873         * math/auto-libm-test-in: Add tests of cabs and carg.
10874         * math/auto-libm-test-out: Regenerated.
10875         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10876         (carg_test_data): Likewise.
10877         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10878         mpc_c_f.
10879         (func_calc_desc): Add mpc_c_f union field.
10880         (test_functions): Add cabs and carg.
10881         (calc_generic_results): Handle mpc_c_f.
10882
10883         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10884         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10885         as a macro and a compat symbol.
10886         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10887         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10888         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10889         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10890         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10891         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10892         not use .hidden.
10893         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10894         Likewise.
10895         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10896         Likewise.
10897         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10898         Likewise.
10899         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10900         Likewise.
10901         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10902         Likewise.
10903         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10904         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10905         from GLIBC_2.3.2.
10906
10907 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10908
10909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10910
10911 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10912
10913         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10914         trailing whitespace removed.
10915         * scripts/config.guess: Update to version 2013-11-29.
10916         * scripts/config.sub: Update to version 2013-10-01.
10917
10918         * math/auto-libm-test-in: Add tests of sincos.
10919         * math/auto-libm-test-out: Regenerated.
10920         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10921         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10922         mpfr_f_11.
10923         (func_calc_desc): Add mpfr_f_11 union field.
10924         (test_functions): Add sincos.
10925         (calc_generic_results): Handle mpfr_f_11.
10926         * sysdeps/i386/fpu/libm-test-ulps: Update.
10927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10928
10929 2013-12-19  Andreas Schwab  <schwab@suse.de>
10930
10931         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10932         CALL_MCOUNT.
10933         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10934         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10935         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10936
10937 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10938
10939         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10940         * sysdeps/i386/fpu/libm-test-ulps: Update.
10941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10942
10943         [BZ #16293]
10944         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10945         round-to-nearest mode when using frndint.
10946         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10947         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10948         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10949         Likewise.
10950         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10951         sinh test to fail.
10952         * math/auto-libm-test-out: Regenerated.
10953         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10954         (TEST_COND_x86): Likewise.
10955         (expm1_tonearest_test_data): New array.
10956         (expm1_test_tonearest): New function.
10957         (expm1_towardzero_test_data): New array.
10958         (expm1_test_towardzero): New function.
10959         (expm1_downward_test_data): New array.
10960         (expm1_test_downward): New function.
10961         (expm1_upward_test_data): New array.
10962         (expm1_test_upward): New function.
10963         (main): Run the new test functions.
10964         * sysdeps/i386/fpu/libm-test-ulps: Update.
10965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10966
10967         * include/features.h: Update comment documenting feature test
10968         macros.  Mention _DEFAULT_SOURCE in comment.
10969         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10970         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10971         _BSD_SOURCE and _SVID_SOURCE.
10972         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10973         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10974         !_SVID_SOURCE]: Likewise.
10975         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10976         (__USE_POSIX_IMPLICITLY): Define.
10977         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10978         (_POSIX_SOURCE): Undefine and redefine.
10979         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10980         (_POSIX_C_SOURCE): Likewise.
10981         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10982         (Feature Test Macros): Update documentation of default features.
10983
10984 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10985
10986         * benchtests/Makefile: Add bench-strtok.
10987         * benchtests/bench-strtok.c: New file: strtok benchtest.
10988
10989 2013-12-19  Allan McRae  <allan@archlinux.org>
10990
10991         * manual/install.texi: Suppress menu for plain text output.
10992         * INSTALL: Regenerated.
10993
10994 2013-12-18  Brooks Moses  <bmoses@google.com>
10995
10996         [BZ #15846]
10997         * misc/getauxval.c: Include errno.h.
10998         (__getauxval): Set errno to ENOENT if the requested type is not
10999         found.
11000         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11001         don't declare with __attribute_const__.
11002         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11003         * manual/startup.texi: Document that getauxval sets errno.
11004
11005 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11006
11007         * math/auto-libm-test-in: Add tests of jn and yn.
11008         * math/auto-libm-test-out: Regenerated.
11009         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11010         (yn_test_data): Likewise.
11011         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11012         mpfr_if_f.
11013         (func_calc_desc): Add mpfr_if_f union field.
11014         (FUNC_mpfr_if_f): New macro.
11015         (test_functions): Add jn and yn.
11016         (calc_generic_results): Assert type of second input for
11017         mpfr_ff_f.  Handle mpfr_if_f.
11018         (output_for_one_input_case): Disable all checking for arguments
11019         fitting floating-point types in case of an integer argument.
11020         * sysdeps/i386/fpu/libm-test-ulps: Update.
11021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11022
11023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11024         Don't expect fegetround reference in libm.so.
11025
11026 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11027
11028         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11029         $(config-cflags-nofma).
11030
11031 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11032
11033         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11034         * math/auto-libm-test-out: Regenerated.
11035
11036         [BZ #16338]
11037         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11038         to determine exponent and adjust argument to have exponent of -1.
11039         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11040         log2.
11041         * math/auto-libm-test-out: Regenerated.
11042         * sysdeps/i386/fpu/libm-test-ulps: Update.
11043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11044
11045 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11046
11047         * manual/probes.texi: Remove cases when per-thread arenas are
11048         disabled.
11049
11050 2013-12-18  Andreas Schwab  <schwab@suse.de>
11051
11052         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11053         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11054         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11055         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11056         * sysdeps/i386/i686/multiarch/Makefile: Update.
11057         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11058
11059 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11060
11061         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11062         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11063
11064 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11065
11066         [BZ #15968]
11067         Support TZ transition times < 00:00:00.
11068         This is needed for version-3 tz-format files; it supports time
11069         stamps past 2037 for America/Godthab (the only entry in the tz
11070         database for which this change is relevant).
11071         * manual/time.texi (TZ Variable): Document transition times
11072         from -167:59:59 through -00:00:01.
11073         * time/tzset.c (tz_rule): Time of day is now signed.
11074         (__tzset_parse_tz): Parse negative time of day.
11075
11076         Document TZ transition times >= 25:00:00.
11077         * manual/time.texi (TZ Variable): Document transition times from
11078         25:00:00 through 167:59:59.  These are already supported, and this
11079         support will help with version-3 tz-format files.
11080
11081         * manual/time.texi (TZ Variable): Modernize North America example
11082         to reflect current (i.e., 2007-and-later) daylight saving rules.
11083
11084         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11085
11086 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11087
11088         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11089         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11090         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11092         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11093         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11094         * sysdeps/unix/bsd/clock.c: Likewise.
11095         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11096         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11097         * sysdeps/unix/bsd/init-posix.c: Likewise.
11098         * sysdeps/unix/bsd/poll.c: Likewise.
11099         * sysdeps/unix/bsd/ptsname.c: Likewise.
11100         * sysdeps/unix/bsd/seekdir.c: Likewise.
11101         * sysdeps/unix/bsd/setegid.c: Likewise.
11102         * sysdeps/unix/bsd/seteuid.c: Likewise.
11103         * sysdeps/unix/bsd/setgid.c: Likewise.
11104         * sysdeps/unix/bsd/setrgid.c: Likewise.
11105         * sysdeps/unix/bsd/setruid.c: Likewise.
11106         * sysdeps/unix/bsd/setsid.c: Likewise.
11107         * sysdeps/unix/bsd/setuid.c: Likewise.
11108         * sysdeps/unix/bsd/sigaction.c: Likewise.
11109         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11110         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11111         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11112         * sysdeps/unix/bsd/telldir.c: Likewise.
11113         * sysdeps/unix/bsd/times.c: Likewise.
11114         * sysdeps/unix/bsd/usleep.c: Likewise.
11115
11116         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11117         ($(objpfx)libbsd-compat.a): Remove rule.
11118
11119         * include/features.h (__FAVOR_BSD): Do not define.
11120         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11121         features conflicting with POSIX.
11122         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11123         (_BSD_SOURCE): Remove description of not being a subset of other
11124         feature test macros.
11125         * manual/job.texi (getpgrp): Do not document BSD version.
11126         (getpgid): Do not document by reference to BSD getpgrp.
11127         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11128         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11129         * signal/signal.h [__FAVOR_BSD]: Likewise.
11130         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11131         instead of making contents conditional on [__FAVOR_BSD].
11132         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11133
11134 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11135
11136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11137
11138 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11139
11140         [BZ #16314]
11141         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11142         values below 2**-450, not 2**-500.
11143         * math/auto-libm-test-in: Don't allow spurious underflow from
11144         hypot.
11145         * math/auto-libm-test-out: Regenerated.
11146
11147         [BZ #16316]
11148         [BZ #16330]
11149         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11150         values of ha and hb and sort them after adjusting subnormal
11151         arguments.
11152         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11153         Likewise.
11154         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11155         values of ea and eb and sort them after adjusting subnormal
11156         arguments.
11157         * math/auto-libm-test-in: Do not expect some hypot tests of
11158         subnormals to fail.  Add more hypot tests.
11159         * math/auto-libm-test-out: Regenerated.
11160
11161 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11162
11163         [BZ #13304]
11164         * sysdeps/sh/s_fma.c: New file.
11165         * sysdeps/sh/s_fmaf.c: New file.
11166         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11167         version.
11168         * sysdeps/sh/Implies: Add sh/soft-fp.
11169
11170 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11171
11172         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11173         level of indirection to members `objname', `errstring', `malloced'.
11174         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11175         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11176         it as the __longjmp argument (just pass 1 instead).
11177         (_dl_catch_error): Initialize C with argument pointers and address of
11178         volatile local ERRCODE rather than copying values out of C at return.
11179
11180 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11181
11182         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11183         * math/auto-libm-test-out: Regenerated.
11184         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11185         (hypot_test_data): Likewise.
11186         (pow_test_data): Likewise.
11187         (pow_tonearest_test_data): Likewise.
11188         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11189         mpfr_ff_f.
11190         (func_calc_desc): Add mpfr_ff_f union field.
11191         (FUNC_mpfr_ff_f): New macro.
11192         (test_functions): Add atan2, hypot and pow.
11193         (special_fill_min): New function.
11194         (special_fill_minus_min): Likewise.
11195         (special_fill_min_subnorm): Likewise.
11196         (special_fill_minus_min_subnorm): Likewise.
11197         (special_real_inputs): Add min, -min, min_subnorm and
11198         -min_subnorm.
11199         (calc_generic_results): Handle mpfr_ff_f.
11200         * sysdeps/i386/fpu/libm-test-ulps: Update.
11201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11202
11203 2013-12-16  Will Newton  <will.newton@linaro.org>
11204
11205         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11206         (Aligned Memory Blocks): Add documentation for aligned_alloc
11207         and suggest it as an alternative to posix_memalign.
11208         (Hooks for Malloc): Document __memalign_hook is also called
11209         for aligned_alloc.  (Summary of Malloc): Add summary for
11210         aligned alloc.  Document __memalign_hook is also called
11211         for aligned_alloc.
11212
11213 2013-12-16  Will Newton  <will.newton@linaro.org>
11214
11215         * manual/memory.texi (Malloc Examples): Clarify default
11216         alignment documentation.  Suggest posix_memalign rather
11217         than memalign or valloc.
11218         (Aligned Memory Blocks): Remove suggestion to use memalign
11219         or valloc.  Remove obsolete comment about BSD.
11220         Document memalign errno values and mark the function obsolete.
11221         Document posix_memalign returned error codes.  Mark valloc
11222         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11223         called for posix_memalign and valloc.
11224         (Summary of Malloc): Add posix_memalign to function summary.
11225         __memalign_hook is also called for posix_memalign and valloc.
11226
11227 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11228
11229         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11230         TAYLOR_SIN.
11231         (__sin): Adjust.
11232         (__cos): Likewise.
11233         (sloww): Use mynumber union.  Expand ternary operator into
11234         if-else statements.
11235         (cslow): use mynumber union.
11236
11237 2013-12-16  Allan McRae  <allan@archlinux.org>
11238
11239         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11240         * configure: Regenerated.
11241
11242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11243
11244         [BZ #14120]
11245         * configure.ac: Added --enable-maintainer-mode. Check for
11246         autoconf when enabled.
11247         * configure: Regenerated.
11248
11249         * nscd/nscd.service: New file.
11250         * nscd/nscd.tmpfiles: New file.
11251
11252 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11253
11254         [BZ #12100]
11255         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11256         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11257         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11258         (strstr): Add __strstr_sse2_unaligned ifunc.
11259         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11260         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11261         (strcasestr): Remove __strcasestr_sse42 ifunc.
11262         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11265
11266 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11267
11268         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11269         * sysdeps/sh/bits/fenv.h: ... here.
11270         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11271
11272 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11273
11274         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11275
11276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11277         hypotf multiarch implementations.
11278         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11279         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11280         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11281         multiarch hypot for PPC64.
11282         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11283         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11284         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11285         multiarch hypotf for PPC64.
11286
11287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11288         modff multiarch implementations.
11289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11292         multiarch modf for PPC64.
11293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11296         multiarch modff for PPC64.
11297
11298         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11299         and logl multiarch implementations.
11300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11303         multiarch logb for PPC64.
11304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11307         multiarch logb for PPC64.
11308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11311         multiarch logb for PPC64.
11312
11313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11314         isinff multiarch implementation.
11315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11316         file.
11317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11319         multiarch isinf for PPC64.
11320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11321         file.
11322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11323         multiarch isinff for PPC64.
11324
11325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11326         finitef multiarch implementation.
11327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11328         file.
11329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11331         multiarch finite for PPC64.
11332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11333         file.
11334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11335         multiarch finitef for PPC64.
11336
11337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11338         lrint multiarch implementation.
11339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11340         file.
11341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11343         multiarch llrint for PPC64.
11344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11345         multiarch lrint for PPC64.
11346
11347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11348         copysignf multiarch implementation.
11349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11350         file.
11351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11352         file.
11353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11354         multiarch copysign for PPC64.
11355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11356         multiarch copysignf for PPC64.
11357
11358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11359         multiarch implementation.
11360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11361         file.
11362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11363         file.
11364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11365         file.
11366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11367         file.
11368         multiarch llround for PPC64.
11369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11370         multiarch trunc for PPC64.
11371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11372         multiarch truncf for PPC64.
11373
11374         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11375         multiarch implementation.
11376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11377         file.
11378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11379         file.
11380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11381         file.
11382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11383         file.
11384         multiarch llround for PPC64.
11385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11386         multiarch round for PPC64.
11387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11388         multiarch roundf for PPC64.
11389
11390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11391         multiarch implementation.
11392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11393         file.
11394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11395         file.
11396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11397         file.
11398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11399         file.
11400         multiarch llround for PPC64.
11401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11402         multiarch floor for PPC64.
11403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11404         multiarch floorf for PPC64.
11405
11406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11407         multiarch implementation.
11408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11409         file.
11410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11411         file.
11412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11413         file.
11414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11415         file.
11416         multiarch llround for PPC64.
11417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11418         multiarch ceil for PPC64.
11419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11420         multiarch ceilf for PPC64.
11421
11422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11423         multiarch implementation.
11424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11425         file.
11426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11427         file.
11428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11429         file.
11430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11431         multiarch llround for PPC64.
11432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11433         multiarch lround for PPC64.
11434
11435         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11436         multiarch implementation.
11437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11440         file.
11441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11444         multiarch isnan for PPC64.
11445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11446         multiarch isnanf for PPC64.
11447
11448         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11449         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11450         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11451         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11452         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11454
11455         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11456         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11457         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11458         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11459
11460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11461         multiarch implementations.
11462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11463         (__libc_ifunc_impl_list): Likewise.
11464         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11465         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11466         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11467         multiarch stpcpy for PPC64.
11468
11469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11470         multiarch implementations.
11471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11472         (__libc_ifunc_impl_list): Likewise.
11473         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11474         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11475         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11476         multiarch strcpy for PPC64.
11477
11478         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11479         redefine function name.
11480         (_wordcopy_fwd_dest_aligned): Likewise.
11481         (_wordcopy_bwd_aligned): Likewise.
11482         (_wordcopy_bwd_dest_aligned): Likewise.
11483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11484         multiarch implementations.
11485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11486         (__libc_ifunc_impl_list): Likewise.
11487         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11488         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11489         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11491         multiarch wcscpy for PPC64.
11492
11493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11494         multiarch implementations.
11495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11496         (__libc_ifunc_impl_list): Likewise.
11497         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11498         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11499         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11500         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11501         multiarch wcscpy for PPC64.
11502
11503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11504         multiarch implementations.
11505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11506         (__libc_ifunc_impl_list): Likewise.
11507         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11508         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11509         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11510         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11511         multiarch wcsrchr for PPC64.
11512
11513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11514         multiarch implementations.
11515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11516         (__libc_ifunc_impl_list): Likewise.
11517         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11518         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11519         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11520         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11521         multiarch wcschr for PPC64.
11522
11523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11524         multiarch implementations.
11525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11526         (__libc_ifunc_impl_list): Likewise.
11527         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11528         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11529         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11530         multiarch strchrnul for PPC64.
11531
11532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11533         implementations.
11534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11535         (__libc_ifunc_impl_list): Likewise.
11536         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11537         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11538         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11539         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11540         strchr for PPC64.
11541
11542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11543         implementations.
11544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11545         (__libc_ifunc_impl_list): Likewise.
11546         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11547         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11548         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11549         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11550         strncmp for PPC64.
11551
11552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11553         multiarch implementations.
11554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11555         (__libc_ifunc_impl_list): Likewise.
11556         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11557         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11558         strncasecmp for PPC64.
11559         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11560         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11561         multiarch strncasecmp_l for PPC64.
11562
11563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11564         multiarch implementations.
11565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11566         (__libc_ifunc_impl_list): Likewise.
11567         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11568         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11569         multiarch strcasecmp for PPC64.
11570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11571         file.
11572         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11573         multiarch strcasecmp_l for PPC64.
11574
11575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11576         implementations.
11577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11578         (__libc_ifunc_impl_list): Likewise.
11579         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11580         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11581         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11582         strnlen for PPC64.
11583
11584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11585         implementations.
11586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11587         (__libc_ifunc_impl_list): Likewise.
11588         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11589         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11590         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11591         strlen for PPC64.
11592
11593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11594         implementations.
11595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11596         (__libc_ifunc_impl_list): Likewise.
11597         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11598         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11599         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11600         rawmemrchr for PPC64.
11601
11602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11603         implementation.
11604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11605         (__libc_ifunc_impl_list): Likewise.
11606         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11607         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11608         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11609         memrchr for PPC64.
11610
11611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11612         implementation.
11613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11614         (__libc_ifunc_impl_list): Likewise.
11615         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11616         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11617         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11618         memchr for PPC64.
11619
11620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11621         implementation.
11622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11623         (__libc_ifunc_impl_list): Likewise.
11624         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11625         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11626         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11627         mempcpy for PPC64.
11628
11629         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11630         avoid cretion of __bzero symbol.
11631         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11632         Likewise.
11633         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11634         Likewise.
11635         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11636         Likewise.
11637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11638         multiarch implementations.
11639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11640         (__libc_ifunc_impl_list): Likewise.
11641         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11642         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11643         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11644         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11645         bzero for PPC32.
11646         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11647         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11648         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11649         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11650         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11651         memset for PPC64.
11652         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11653
11654         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11656         implementations.
11657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11658         (__libc_ifunc_impl_list): Likewise.
11659         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11660         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11661         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11662         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11663         memcmp for PPC64.
11664
11665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11666         multiarch for POWER/PPC64.
11667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11668         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11669         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11670         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11671         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11672         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11673         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11674         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11675         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11676         memcpy for PPC64.
11677
11678         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11679         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11680         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11681         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11682         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11683         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11684         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11685         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11686         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11687         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11688         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11689         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11690         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11691         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11692         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11700
11701 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11702
11703         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11704
11705 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11706
11707         * benchtests/Makefile (bench): Add exp2 and log2.
11708         (LDLIBS-bench-exp2): Add -lm.
11709         (LDLIBS-bench-log2): Likewise.
11710         * benchtests/exp2-inputs: New inputs file.
11711         * benchtests/log2-inputs: New inputs file.
11712         * benchtests/log-inputs: Add new inputs.
11713         * benchtests/tan-inputs: Likewise.
11714
11715 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11716
11717         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11718         definition...
11719         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11720         (csloww2): ... from here.
11721
11722         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11723         instead of structures.
11724         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11725         (POLYNOMIAL): Likewise.
11726         (TAYLOR_SLOW): Likewise.
11727         (__sin): Likewise.
11728         (__cos): Likewise.
11729         (slow1): Likewise.
11730         (slow2): Likewise.
11731         (sloww): Likewise.
11732         (sloww1); Likewise.
11733         (sloww2): Likewise.
11734         (bsloww1): Likewise.
11735         (bsloww2): Likewise.
11736         (cslow2): Likewise.
11737         (csloww): Likewise.
11738         (csloww1): Likewise.
11739         (csloww2): Likewise.
11740
11741 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11742
11743         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11744         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11745         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11746         * malloc/hooks.c (realloc_check): Likewise.
11747
11748         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11749         * malloc/arena.c: Remove PER_THREAD conditional.
11750         [!PER_THREAD]: Remove code.
11751         (ptmalloc_unlock_all2): Likewise.
11752         (ptmalloc_init): Likewise.
11753         (_int_new_arena): Likewise.
11754         (arena_get2): Likewise.
11755         * malloc/hooks.c (__malloc_get_state): Likewise.
11756         (__malloc_set_state): Likewise.
11757         * malloc/malloc.c: Likewise.
11758         (struct malloc_state): Likewise.
11759         (struct malloc_par): Likewise.
11760         (__libc_realloc): Likewise.
11761         (__libc_mallopt): Likewise.
11762
11763 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11764
11765         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11766
11767 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11768
11769         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11770         macro to a function.  Check for zero perturb_byte.
11771         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11772
11773         * malloc/malloc.c: (force_reg): Remove.
11774         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11775         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11776         force_reg by atomic_forced_read.
11777         * malloc/arena.c (ptmalloc_init): Likewise.
11778         * malloc/hooks.c (top_check): Likewise.
11779
11780 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11781
11782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11783
11784 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11785
11786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11787
11788 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11789
11790         * math/auto-libm-test-in: Add tests of lgamma.
11791         * math/auto-libm-test-out: Regenerated.
11792         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11793         (M_LOG_2_SQRT_PIl): Likewise.
11794         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11795         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11796         mpfr_f_f1.
11797         (func_calc_desc): Add mpfr_f_f1 union field.
11798         (ARGS1): New macro.
11799         (ARGS2): Likewise.
11800         (ARGS3): Likewise.
11801         (ARGS4): Likewise.
11802         (RET1): Likewise.
11803         (RET2): Likewise.
11804         (CALC): Likewise.
11805         (FUNC): Likewise.
11806         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11807         (test_functions): Add lgamma.
11808         (calc_generic_results): Handle mpfr_f_f1.
11809         * sysdeps/i386/fpu/libm-test-ulps: Update.
11810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11811
11812 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11813
11814         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11815         __mpn_add_n for PowerPC64/POWER7.
11816         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11817         __mpn_sub_n for PowerPC64/POWER7.
11818
11819         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11820         __mpn_addmul_1 for PowerPC64.
11821         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11822         __mpn_submul_1 for PowerPC64.
11823         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11824         for PowerPC64.
11825         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11826         for PowerPC64.
11827
11828 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11829
11830         [BZ #15089]
11831         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11832
11833 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11834
11835         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11836
11837         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11838         add multiarch folders.
11839         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11840         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11841         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11842         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11843         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11844         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11845         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11846         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11847         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11848         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11849         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11856
11857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11858         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11860         New file.
11861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11862         New file.
11863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11864         multiarch __ieee754_hypot for PowerPC32.
11865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11866         New file.
11867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11868         New file.
11869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11870         multiarch __ieee754_hypotf for PowerPC32.
11871
11872         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11873         long_double_symbol only if __logbl is defined.
11874         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11875         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11877         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11879         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11880         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11881         path for implementation.
11882         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11883         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11885         logb, and logbl multiarch implementations for PowerPC32.
11886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11887         file.
11888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11889         file.
11890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11891         multiarch logb for PowerPC32.
11892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11893         file.
11894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11895         file.
11896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11897         multiarch logbf for PowerPC32.
11898         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11900         file.
11901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11902         multiarch logbl implementation for PowerPC32.
11903
11904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11905         and modff multiarch implementations.
11906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11907         New file.
11908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11909         New file.
11910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11911         multiarch modf for PowerPC32.
11912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11913         New file.
11914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11915         New file.
11916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11917         multiarch modff for PowerPC32.
11918
11919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11920         and lrintf multiarch implementations.
11921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11922         New file.
11923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11924         New file.
11925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11926         multiarch lrint for PowerPC32.
11927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11928         file: multiarch lrintf for PowerPC32.
11929
11930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11931         and lroundf multiarch implementations.
11932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11933         New file.
11934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11935         New file.
11936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11937         New file.
11938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11939         multiarch lround for PowerPC32.
11940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11941         file: multiarch lroundf for PowerPC32.
11942
11943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11944         copysign and copysignf multiarch implementations.
11945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11946         New file.
11947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11948         New file.
11949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11950         file: multiarch copysign for PowerPC32.
11951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11952         file: multiarch copysignf for PowerPC32.
11953
11954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11955         and truncf multiarch implementations.
11956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11957         New file.
11958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11959         file.
11960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11961         multiarch trunc for PowerPC32.
11962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11963         New file.
11964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11965         New file.
11966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11967         multiarch truncf for PowerPC32.
11968
11969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11970         and roundf multiarch implementations.
11971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11972         New file.
11973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11974         file.
11975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11976         multiarch round for PowerPC32.
11977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11978         New file.
11979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11980         New file.
11981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11982         multiarch roundf for PowerPC32.
11983
11984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11985         and floorf multiarch implementations.
11986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11987         New file.
11988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11989         file.
11990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11991         multiarch floor for PowerPC32.
11992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11993         New file.
11994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11995         New file.
11996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11997         multiarch floorf for PowerPC32.
11998
11999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12000         and ceilf multiarch implementations.
12001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12002         New file.
12003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12004         file.
12005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12006         multiarch ceil for PowerPC32.
12007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12008         New file.
12009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12010         file.
12011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12012         multiarch ceilf for PowerPC32.
12013
12014         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12015         is defined.
12016         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12017         FINITEF is defined.
12018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12019         and finitef multiarch implementations.
12020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12021         New file.
12022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12023         file.
12024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12025         multiarch finite for PowerPC32.
12026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12027         New file.
12028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12029         file: multiarch finitef for PowerPC32.
12030
12031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12032         and isinff multiarch implementations.
12033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12034         file.
12035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12036         file.
12037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12038         multiarch isinf for PowerPC32.
12039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12040         New file.
12041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12042         multiarch isinff for PowerPC32.
12043
12044         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12045         alias when __isnan is defined.
12046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12047         and isnanf multiarch implementations.
12048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12049         file.
12050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12051         file.
12052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12053         file.
12054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12055         file.
12056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12057         multiarch isnan for PowerPC32.
12058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12059         New file.
12060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12061         New file.
12062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12063         multiarch isnanf for PowerPC32.
12064
12065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12066         and sqrtf multiarch implementations.
12067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12068         file.
12069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12070         file.
12071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12072         multiarch sqrt for PowerPC32.
12073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12074         file.
12075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12076         file.
12077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12078         multiarch sqrtf for PowerPC32.
12079
12080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12081         and llroundf multiarch implementations.
12082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12083         New file.
12084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12085         New file.
12086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12087         New file.
12088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12089         file: multiarch llround for PowerPC32.
12090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12091         file: multiarch llroundf for PowerPC32.
12092
12093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12094         multiarch PowerPC32 fpu implementations.
12095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12096         New file.
12097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12098         New file.
12099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12100         multiarch llrint for PowerPC32.
12101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12102         New file.
12103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12104         New file.
12105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12106         file.
12107
12108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12109
12110         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12111         file.
12112         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12113         file.
12114         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12115         file.
12116         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12117         multiarch wordcopy for PPC32.
12118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12119         wordcopy objects.
12120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12121         (__libc_ifunc_impl_list): Likewise.
12122         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12123         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12124         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12125         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12126         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12127         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12128
12129         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12131         file.
12132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12133         file.
12134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12135         file.
12136         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12137         multiarch wcscpy for PPC32.
12138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12139         multiarch objects.
12140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12141         (__libc_ifunc_impl_list): Likewise.
12142         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12143         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12144         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12145         sysdeps/powerpc/power6/wcscpy.c.
12146
12147         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12149         file.
12150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12151         file.
12152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12153         file.
12154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12155         multiarch wcsrchr for PPC32.
12156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12157         multiarch objects.
12158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12159         (__libc_ifunc_impl_list): Likewise.
12160         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12161         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12162         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12163         sysdeps/powerpc/power6/wcsrchr.c.
12164
12165         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12166         file.
12167         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12168         file.
12169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12171         multiarch wcschr for PPc32.
12172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12173         multiarch objects.
12174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12175         (__libc_ifunc_impl_list): Likewise.
12176         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12177         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12178         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12179         sysdeps/powerpc/power6/wcschr.c.
12180
12181         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12182         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12183         file.
12184         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12185         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12186         file: multiarch strchr for PPC32.
12187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12188         multiarch objects.
12189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12190         (__libc_ifunc_impl_list): Likewise.
12191
12192         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12193         name.
12194         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12195         file.
12196         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12197         file.
12198         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12199         multiarch strchrnul for PPC32.
12200         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12201         multiarch objects.
12202         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12203         (__libc_ifunc_impl_list): Likewise.
12204
12205         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12206         file.
12207         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12208         multiarch strncasecmp for PPC32.
12209         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12210         file.
12211         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12212         multiarch strncasecmp_l for PPC32.
12213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12214         strncasecmp multiarch objects.
12215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12216         (__libc_ifunc_impl_list): Likewise.
12217
12218         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12219         file.
12220         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12221         multiarch strncasecmp for PPC32.
12222         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12223         New file.
12224         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12225         multiarch strcasecmp_l for PPC32.
12226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12227         multiarch objects.
12228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12229         (__libc_ifunc_impl_list): Likewise.
12230
12231         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12232         file.
12233         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12234         file.
12235         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12236         multiarch strncmp for PPC32.
12237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12238         multiarch objects.
12239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12240         (__libc_ifunc_impl_list): Likewise.
12241
12242         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12243         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12244         file.
12245         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12246         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12248         multiarch objects.
12249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12250         (__libc_ifunc_impl_list): Likewise.
12251
12252         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12253         file.
12254         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12255         file.
12256         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12258         multiarch objects.
12259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12260         (__libc_ifunc_impl_list): Likewise.
12261
12262         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12263         file.
12264         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12265         file.
12266         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12267         multiarch rawmemchr for PPC32.
12268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12269         multiarch objects.
12270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12271         (__libc_ifunc_impl_list): Likewise.
12272
12273         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12274         file.
12275         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12276         file.
12277         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12278         file: memrchr multiarch for PPC32.
12279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12280         multiarch objects.
12281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12282         (__libc_ifunc_impl_list): Likewise.
12283
12284         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12285         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12286         file.
12287         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12288         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12289         multiarch memchr for PPC32.
12290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12291         multiarch objects.
12292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12293         (__libc_ifunc_impl_list): Likewise.
12294
12295         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12296         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12297         file.
12298         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12299         file.
12300         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12301         file: multiarch mempcpy for PPC32.
12302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12303         multiarch objects.
12304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12305         (__libc_ifunc_impl_list): Likewise.
12306
12307         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12308         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12309         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12310         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12311         multiarch bzero for PPC32.
12312         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12313         file.
12314         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12315         file.
12316         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12317         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12318         file: multiarch memset for PPC32.
12319         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12321         memset multiarch objects.
12322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12323         (__libc_ifunc_impl_list): Likewise.
12324
12325         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12326         file.
12327         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12328         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12329         memcmp for PPC32.
12330         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12331         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12332         multiarch objects.
12333         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12334         (__libc_ifunc_impl_list): Likewise.
12335
12336         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12339         file.
12340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12341         file.
12342         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12343         file.
12344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12345         multiarch memcpy for PPC32.
12346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12347         multiarch objects.
12348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12349         (__libc_ifunc_impl_list): Likewise.
12350
12351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12352         support multiarch for POWER/PPC32.
12353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12354         Likewise.
12355         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12357         Implies file to make multiarch folder appers before the fpu and
12358         default folder for power4 configuration.
12359
12360 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12361
12362         * scripts/bench.pl: Append volatile keyword to type.
12363
12364 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12365
12366         * sysdeps/sh/sotruss-lib.c: New file.
12367         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12368
12369 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12370
12371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12372
12373 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12374
12375         [BZ #6810]
12376         * math/w_tgamma.c: Include <errno.h>.
12377         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12378         * math/w_tgammaf.c: Include <errno.h>.
12379         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12380         * math/w_tgammal.c: Include <errno.h>.
12381         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12382         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12383         underflow.  Add more tgamma tests.
12384         * math/auto-libm-test-out: Regenerated.
12385         * sysdeps/i386/fpu/libm-test-ulps: Update.
12386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12387
12388         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12389         sin, sinh, tan, tanh, tgamma, y0 and y1.
12390         * math/auto-libm-test-out: Regenerated.
12391         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12392         (TEST_COND_x86): Likewise.
12393         (M_E2l): Remove macro.
12394         (M_E3l): Likewise.
12395         (M_2_SQRT_PIl): Likewise.
12396         (M_SQRT_PIl): Likewise.
12397         (M_1_DIV_El): Likewise.
12398         (log_test_data): Use AUTO_TESTS_f_f.
12399         (log10_test_data): Likewise.
12400         (log1p_test_data): Likewise.
12401         (log2_test_data): Likewise.
12402         (sin_test_data): Likewise.
12403         (sin_tonearest_test_data): Likewise.
12404         (sin_towardzero_test_data): Likewise.
12405         (sin_downward_test_data): Likewise.
12406         (sin_upward_test_data): Likewise.
12407         (sinh_test_data): Likewise.
12408         (sinh_tonearest_test_data): Likewise.
12409         (sinh_towardzero_test_data): Likewise.
12410         (sinh_downward_test_data): Likewise.
12411         (sinh_upward_test_data): Likewise.
12412         (tan_test_data): Likewise.
12413         (tan_tonearest_test_data): Likewise.
12414         (tan_towardzero_test_data): Likewise.
12415         (tan_downward_test_data): Likewise.
12416         (tan_upward_test_data): Likewise.
12417         (tanh_test_data): Likewise.
12418         (tgamma_test_data): Likewise.
12419         (y0_test_data): Likewise.
12420         (y1_test_data): Likewise.
12421         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12422         (special_real_inputs): Add pi/4.
12423         * sysdeps/i386/fpu/libm-test-ulps: Update.
12424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12425
12426 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12427
12428         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12429         "longjmp_target" static probes.
12430         (__longjmp): Rename to __longjmp_symbol.
12431         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12432         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12433         on which longjmp to generate.
12434         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12435         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12436         probe.
12437         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12438         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12439         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12440         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12441         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12442         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12444         __longjmp_symbol based on which __longjmp to generate.
12445         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12446         probe.
12447         (setjmp): Rename to setjmp_symbol.
12448         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12449         (_setjmp): Rename to _setjmp_symbol.
12450         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12451         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12452         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12453         which setjmp to generate.
12454         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12455         "longjmp_target" static probes.
12456
12457 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12458
12459         * benchtests/README: Add note about output arguments.
12460         * benchtests/bench-sincos.c: Remove file.
12461         * benchtests/sincos-inputs: New file.
12462         * scripts/bench.pl: Identify output arguments and define
12463         static variables for them.
12464
12465         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12466
12467         [BZ #15941]
12468         * Makefile (INSTALL): Add install-plain.texi as the primary
12469         dependency.
12470         * manual/install-plain.texi: New file.
12471         * manual/install.texi: Include node directive only for
12472         non-plaintext output.
12473
12474 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12475
12476         * stdlib/longlong.h: Update from GCC.
12477
12478         [BZ #6807]
12479         [BZ #15901]
12480         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12481         * math/w_j0f.c (y0f): Likewise.
12482         * math/w_j0l.c (__y0l): Likewise.
12483         * math/w_j1.c (y1): Likewise.
12484         * math/w_j1f.c (y1f): Likewise.
12485         * math/w_j1l.c (__y1l): Likewise
12486         * math/w_jn.c (yn): Likewise.
12487         * math/w_jnf.c (ynf): Likewise.
12488         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12489         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12490         value for Bessel function domain errors outside _SVID_ mode.
12491         Adjust sign of return value for yn (negative integer, 0).
12492         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12493         by zero in return for negative x and set sign appropriately for
12494         negative n.
12495         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12496         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12497         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12498         expectations in error cases.
12499         (y1_test_data): Likewise.
12500         (yn_test_data): Likewise.
12501         * sysdeps/i386/fpu/libm-test-ulps: Update.
12502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12503
12504 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12505
12506         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12507         "64" to "64-v1".  Add "64-v2".
12508         (abi-64-options): Rename to ...
12509         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12510         (abi-64-condition): Rename to ...
12511         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12512         (abi-64-ld-soname): Rename to ...
12513         (abi-64-v1-ld-soname): ... this.
12514         (abi-64-v2-options): Define.
12515         (abi-64-v2-condition): Likewise.
12516         (abi-64-v2-ld-soname): Likewise.
12517         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12518         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12522
12523 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12524             Alan Modra  <amodra@gmail.com>
12525
12526         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12527         New versions for use with the ELFv2 ABI.
12528         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12529         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12530         declaration.
12531         (struct La_ppc64v2_retval): Likewise.
12532         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12533         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12534         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12535         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12536         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12537         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12538         Do not save or restore CR.
12539         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12540         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12541         return values for ELFv2 ABI.  Fix location of FPR return registers.
12542         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12543         updated values for _CALL_ELF == 2.
12544         (La_regs, La_retval, int_retval): Likewise.
12545
12546 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12547
12548         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12549         (FRAME_MIN_SIZE_PARM): Likewise.
12550         (FRAME_BACKCHAIN): Likewise.
12551         (FRAME_CR_SAVE): Likewise.
12552         (FRAME_LR_SAVE): Likewise.
12553         (FRAME_TOC_SAVE): Likewise.
12554         (FRAME_PARM_SAVE): Likewise.
12555         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12556         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12557         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12558         (call_mcount_parm_offset): New macro.
12559         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12560         (PROF): Use symbolic stack frame offsets.
12561         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12562         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12563         Redefine in terms of FRAME_MIN_SIZE.
12564         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12565         (_dl_profile_resolve): Likewise.  Update comment.
12566         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12567         symbols stack frame offsets.
12568         (__sigsetjmp): Likewise.
12569         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12570         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12571         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12572         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12573
12574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12575         (FRAME_BACKCHAIN): Remove.
12576         (FRAME_CR_SAVE): Likewise.
12577         (FRAME_LR_SAVE): Likewise.
12578         (FRAME_COMPILER_DW): Likewise.
12579         (FRAME_LINKER_DW): Likewise.
12580         (FRAME_TOC_SAVE): Likewise.
12581         (FRAME_PARM_SAVE): Likewise.
12582         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12583         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12584         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12586         (CHECK_SP): Use symbolic stack frame offsets.
12587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12588         zone" instead of caller's parameter save area for temp storage.
12589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12590         Likewise.  Also, use symbolic stack frame offsets.
12591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12592         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12593         our own stack frame instead of the caller's.
12594         (__socket): Use symbolic stack frame offsets.
12595
12596 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12597             Alan Modra  <amodra@gmail.com>
12598
12599         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12600         Define.
12601         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12602         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12603         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12604         New function.
12605         (elf_machine_fixup_plt): Call it.
12606         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12607         reloc arguments.
12608         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12609         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12610         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12611         r2 before calling target.
12612
12613 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12614             Alan Modra  <amodra@gmail.com>
12615
12616         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12617         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12618         versions of macros to support ELFv2 ABI.
12619         (LOCALENTRY): New macro.
12620         (ENTRY, EALIGN): Use it.
12621         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12622         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12623         fall through into ENTRY entry point.
12624         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12625         Only define if _CALL_ELF != 2.
12626
12627         (elf_machine_matches_host): Verify ABI version matches.
12628         (RTLD_START): Use LOCALENTRY.
12629         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12630         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12631         (PLT_ENTRY_WORDS): New macro.
12632         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12633         (elf_machine_runtime_setup): Support ELFv2 ABI.
12634         (elf_machine_fixup_plt): Likewise.
12635         (elf_machine_plt_conflict): Likewise.
12636         (resolve_ifunc): Likewise.
12637         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12638         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12639         Likewise.
12640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12641         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12643         (makecontext): Support ELFv2 ABI.
12644         * elf/elf.h (EF_PPC64_ABI): Define.
12645
12646 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12647
12648         * sysdeps/powerpc/powerpc64/sysdep.h
12649         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12650         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12651         (ENTRY) [ASSEMBLER]: ... but instead here ...
12652         (EALIGN) [ASSEMBLER]: ... and here.
12653         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12654         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12655         (ENTRY_2) [!ASSEMBLER]: Use it.
12656         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12657         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12658         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12659         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12660         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12662         Use PPC64_LOAD_FUNCPTR.
12663
12664         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12665
12666 2013-12-04  Alan Modra  <amodra@gmail.com>
12667
12668         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12669         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12670         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12671         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12672
12673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12674         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12675         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12676         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12677         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12678         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12679
12680 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12681
12682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12683         (__makecontext): Fix incorrect CFI when backtracing out of
12684         context created via makecontext.
12685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12686         (__setcontext): Fix incorrect CFI during switch to new context.
12687         (__novec_setcontext): Likewise.
12688
12689 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12690
12691         [BZ #4772]
12692         * time/strptime_l.c (__strptime_internal): Allow modifiers
12693         in strptime.
12694         * time/tst-strptime.c (day_tests): Add testcase.
12695
12696 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12697
12698         * scripts/bench.pl: Skip over blank lines.
12699
12700 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12701
12702         [BZ #926]
12703         * manual/time.texi (Calendar Time): Clarify what timezone functions
12704         use.
12705
12706 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12707
12708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12709
12710 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12711
12712         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12713         implementation.
12714         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12715         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12716         * debug/memset_chk.c (__memset_chk): Likewise.
12717         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12718         * debug/strncpy_chk.c: Likewise.
12719
12720 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12721
12722         [BZ #15268]
12723         [BZ #15425]
12724         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12725         (__ieee754_exp): For possibly underflowing results, check size of
12726         result and force underflow exception if required.
12727         * math/auto-libm-test-in: Add more tests of exp.
12728         * math/auto-libm-test-out: Regenerated.
12729         * sysdeps/i386/fpu/libm-test-ulps: Update.
12730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12731
12732         [BZ #16283]
12733         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12734         * math/w_exp2f.c (__exp2f): Likewise.
12735         * math/w_exp2l.c (__exp2l): Likewise.
12736         * math/auto-libm-test-in: Do not allow missing errno on exp2
12737         underflow.
12738         * math/auto-libm-test-out: Regenerated.
12739
12740 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12741
12742         [BZ #16274]
12743         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12744         handle filename validation.
12745         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12746         (do_open): Delete.
12747
12748 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12749
12750         [BZ #6786]
12751         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12752         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12753         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12754         <float.h>.
12755         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12756         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12757         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12758         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12759         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12760         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12761         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12762         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12763         Add more erfc tests.
12764         * math/auto-libm-test-out: Regenerated.
12765         * sysdeps/i386/fpu/libm-test-ulps: Update.
12766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12767
12768         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12769         exp2, expm1, j0 and j1.
12770         * math/auto-libm-test-out: Regenerated.
12771         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12772         (erfc_test_data): Likewise.
12773         (exp_test_data): Likewise.
12774         (exp_tonearest_test_data): Likewise.
12775         (exp_towardzero_test_data): Likewise.
12776         (exp_downward_test_data): Likewise.
12777         (exp_upward_test_data): Likewise.
12778         (exp10_test_data): Likewise.
12779         (exp2_test_data): Likewise.
12780         (expm1_test_data): Likewise.
12781         (j0_test_data): Likewise.
12782         (j1_test_data): Likewise.
12783         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12784         (input_flag_type): Add flag_xfail_rounding.
12785         (input_flags): Add xfail-rounding.
12786         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12787         (output_for_one_input_case): Handle flag_xfail_rounding.
12788         * sysdeps/i386/fpu/libm-test-ulps: Update.
12789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12790
12791 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12792
12793         [BZ #16289]
12794         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12795         division by 0.
12796
12797 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12798
12799         [BZ #16195]
12800         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12801         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12802         (STAP_PROBE0): New macro.
12803         (STAP_PROBE1): Likewise.
12804         (STAP_PROBE2): Likewise.
12805         (STAP_PROBE3): Likewise.
12806         (STAP_PROBE4): Likewise.
12807
12808 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12809
12810         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12811
12812 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12813
12814         * benchtests/Makefile (bench): Add sqrt.
12815         (LDLIBS-bench-sqrt): New.
12816         * benchtests/sqrt-input: New.
12817
12818 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12819
12820         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12821         (GAIH_EAI): Likewise.
12822         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12823         (gaih_inet): Likewise.
12824         (getaddrinfo): Don't use GAIH_EAI.
12825
12826         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12827         (struct gaih): Remove definition.
12828
12829 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12830
12831         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12832         Use HERRNOP directly.
12833
12834 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12835
12836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12837
12838 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12839
12840         * math/gen-auto-libm-tests.c (test_functions): Add more
12841         single-argument functions.
12842         (special_fill_pi_2): New function.
12843         (special_fill_minus_pi_2): Likewise.
12844         (special_fill_pi_6): Likewise.
12845         (special_fill_minus_pi_6): Likewise.
12846         (special_fill_pi_3): Likewise.
12847         (special_fill_2pi_3): Likewise.
12848         (special_fill_e): Likewise.
12849         (special_fill_1_e): Likewise.
12850         (special_fill_e_minus_1): Likewise.
12851         (special_real_inputs): Add more special inputs.
12852         (output_for_one_input_case): Do not require ERANGE on underflow to
12853         zero if round-to-nearest result does not underflow to zero, unless
12854         exact results required.
12855         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12856         atan, atanh, cbrt, cos and cosh.
12857         * math/auto-libm-test-out: Regenerated.
12858         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12859         (acos_tonearest_test_data): Likewise.
12860         (acos_towardzero_test_data): Likewise.
12861         (acos_downward_test_data): Likewise.
12862         (acos_upward_test_data): Likewise.
12863         (acosh_test_data): Likewise.
12864         (asin_test_data): Likewise.
12865         (asin_tonearest_test_data): Likewise.
12866         (asin_towardzero_test_data): Likewise.
12867         (asin_upward_test_data): Likewise.
12868         (asinh_test_data): Likewise.
12869         (atan_test_data): Likewise.
12870         (atanh_test_data): Likewise.
12871         (cbrt_test_data): Likewise.
12872         (cos_test_data): Likewise.
12873         (cos_tonearest_test_data): Likewise.
12874         (cos_towardzero_test_data): Likewise.
12875         (cos_downward_test_data): Likewise.
12876         (cos_upward_test_data): Likewise.
12877         (cosh_test_data): Likewise.
12878         (cosh_tonearest_test_data): Likewise.
12879         (cosh_towardzero_test_data): Likewise.
12880         (cosh_downward_test_data): Likewise.
12881         (cosh_upward_test_data): Likewise.
12882         * sysdeps/i386/fpu/libm-test-ulps: Update.
12883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12884
12885 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12886
12887         [BZ #6787]
12888         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12889         * math/w_exp10f.c (__exp10f): Likewise.
12890         * math/w_exp10l.c (__exp10l): Likewise.
12891         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12892         errno settings in existing tests.
12893
12894         [BZ #14032]
12895         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12896         precision control set to double precision.
12897         * sysdeps/i386/fpu/w_sqrt.c: New file.
12898         * math/auto-libm-test-in: Add more tests.
12899         * math/auto-libm-test-out: Update.
12900
12901         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12902         (sqrt_test_tonearest): New function.
12903         (sqrt_towardzero_test_data): New variable.
12904         (sqrt_test_towardzero): New function.
12905         (sqrt_downward_test_data): New variable.
12906         (sqrt_test_downward): New function.
12907         (sqrt_upward_test_data): New variable.
12908         (sqrt_test_upward): New function.
12909         (main): Call the new functions.
12910
12911         * math/gen-auto-libm-tests.c: New file.
12912         * math/auto-libm-test-in: Likewise.
12913         * math/auto-libm-test-out: New generated file.
12914         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12915         variables.
12916         (%beautify): Add generated representations of zero.
12917         (top level): Set $auto_input and call parse_auto_input.
12918         (beautify): Remove trailing "f" from hex float constants.
12919         (parse_args): Handle XFAIL_TEST.
12920         (convert_condition): New function.
12921         (or_value): Likewise.
12922         (or_cond_value): Likewise.
12923         (generate_testfile): Handle AUTO_TESTS_* lines.
12924         (parse_auto_input): New function.
12925         * math/libm-test.inc (XFAIL_TEST): New macro.
12926         (ERRNO_UNCHANGED): Update value.
12927         (ERRNO_EDOM): Likewise.
12928         (ERRNO_ERANGE): Likewise.
12929         (IGNORE_RESULT): Likewise.
12930         (TEST_COND_flt_32): New macro.
12931         (TEST_COND_dbl_64): Likewise.
12932         (TEST_COND_ldbl_96_intel): Likewise.
12933         (TEST_COND_ldbl_96_m68k): Likewise.
12934         (TEST_COND_ldbl_128): Likewise.
12935         (TEST_COND_ldbl_128ibm): Likewise.
12936         (TEST_COND_long32): Likewise.
12937         (TEST_COND_long64): Likewise.
12938         (TEST_COND_before_rounding): Likewise.
12939         (TEST_COND_after_rounding): Likewise.
12940         (enable_test): Handle XFAIL_TEST flag.
12941         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12942         with finite results.
12943         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12944         auto-libm-test-out.
12945
12946 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12947             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12948
12949         [BZ #16214]
12950         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12951         __tls_get_addr_internal instead of __tls_get_offset in order to
12952         avoid GOT pointer dependency.  Make rtld export
12953         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12954         __tls_get_addr since we are a __tls_get_offset platform.
12955         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12956         GOT pointer being set up before.
12957         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12958
12959 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12960
12961         * manual/math.texi (Errors in Math Functions): Document accuracy
12962         goals.
12963
12964         [BZ #15004]
12965         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12966         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12967         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12968         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12969         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12970         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12971         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12972         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12973         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12974         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12975         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12976         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12977         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12978         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12979         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12980         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12981
12982         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12983         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12984         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12985         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12986         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12987         Likewise.
12988         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12989         Likewise.
12990         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12991         Likewise.
12992         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12993         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12994         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12995         atomic-feupdateenv and flt-rounds.
12996         * sysdeps/powerpc/nofpu/Versions (libc): Add
12997         __atomic_feholdexcept, __atomic_feclearexcept,
12998         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12999         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13000         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13001         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13002         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13003         here.
13004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13005         Update.
13006
13007         * manual/arith.texi (FP Exceptions): Document that exceptions may
13008         not be raised when matherr is used.
13009         (Math Error Reporting): Document overflow in directed rounding
13010         modes.  Document that errno may not be set when finite values are
13011         returned on overflow.  Document intent to set errno on underflow
13012         only for underflow to zero.
13013
13014         [BZ #16271]
13015         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13016         round-to-nearest then adjust result for other rounding modes.
13017         * include/fenv.h (fegetround): Use libm_hidden_proto.
13018         * math/fegetround.c (fegetround): Use libm_hidden_def.
13019         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13020         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13021         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13022         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13023         Likewise.
13024         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13025         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13026         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13027         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13028
13029 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13030
13031         [BZ #16077]
13032         * nss/Versions (libnss_files): Add
13033         _nss_files_gethostbyname3_r.
13034         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13035         New function.
13036         (HOST_DB_LOOKUP): Remove macro.
13037         (_nss_files_gethostbyname_r): Implement function without the
13038         HOST_DB_LOOKUP macro.
13039         (_nss_files_gethostbyname2_r): Likewise.
13040
13041 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13042
13043         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13044
13045 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13046
13047         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13048         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13049         warning.
13050
13051 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13052
13053         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13054         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13055         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13056         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13057         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13058         __fe_nomask_env_priv and attribute_hidden.
13059         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13060         (libc_feupdateenv_test_ppc): Likewise.
13061         (libc_feresetround_ppc): Likewise.
13062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13063         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13064         compat_symbol macro.
13065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13066         (__fe_nomask_env): Likewise.
13067         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13068
13069 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13070
13071         * string/Makefile: Remove ifunc tests.
13072         * string/test-string.h: Define TEST_IFUNC.
13073         * string/test-bcopy-ifunc.c: Remove.
13074         * string/test-bzero-ifunc.c: Likewise.
13075         * string/test-memccpy-ifunc.c: Likewise.
13076         * string/test-memchr-ifunc.c: Likewise.
13077         * string/test-memcmp-ifunc.c: Likewise.
13078         * string/test-memcpy-ifunc.c: Likewise.
13079         * string/test-memmem-ifunc.c: Likewise.
13080         * string/test-memmove-ifunc.c: Likewise.
13081         * string/test-mempcpy-ifunc.c: Likewise.
13082         * string/test-memrchr-ifunc.c: Likewise.
13083         * string/test-memset-ifunc.c: Likewise.
13084         * string/test-rawmemchr-ifunc.c: Likewise.
13085         * string/test-stpcpy-ifunc.c: Likewise.
13086         * string/test-stpncpy-ifunc.c: Likewise.
13087         * string/test-strcasecmp-ifunc.c: Likewise.
13088         * string/test-strcasestr-ifunc.c: Likewise.
13089         * string/test-strcat-ifunc.c: Likewise.
13090         * string/test-strchr-ifunc.c: Likewise.
13091         * string/test-strchrnul-ifunc.c: Likewise.
13092         * string/test-strcmp-ifunc.c: Likewise.
13093         * string/test-strcpy-ifunc.c: Likewise.
13094         * string/test-strcspn-ifunc.c: Likewise.
13095         * string/test-strlen-ifunc.c: Likewise.
13096         * string/test-strncasecmp-ifunc.c: Likewise.
13097         * string/test-strncat-ifunc.c: Likewise.
13098         * string/test-strncmp-ifunc.c: Likewise.
13099         * string/test-strncpy-ifunc.c: Likewise.
13100         * string/test-strnlen-ifunc.c: Likewise.
13101         * string/test-strpbrk-ifunc.c: Likewise.
13102         * string/test-strrchr-ifunc.c: Likewise.
13103         * string/test-strspn-ifunc.c: Likewise.
13104         * string/test-strstr-ifunc.c: Likewise.
13105
13106 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13107
13108         * benchtests/Makefile: Remove ifunc tests.
13109         * benchtests/bench-string.h: Define TEST_IFUNC.
13110         * benchtests/bench-bcopy-ifunc.c: Remove.
13111         * benchtests/bench-bzero-ifunc.c: Likewise.
13112         * benchtests/bench-memccpy-ifunc.c: Likewise.
13113         * benchtests/bench-memchr-ifunc.c: Likewise.
13114         * benchtests/bench-memcmp-ifunc.c: Likewise.
13115         * benchtests/bench-memcpy-ifunc.c: Likewise.
13116         * benchtests/bench-memmem-ifunc.c: Likewise.
13117         * benchtests/bench-memmove-ifunc.c: Likewise.
13118         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13119         * benchtests/bench-memrchr-ifunc.c: Likewise.
13120         * benchtests/bench-memset-ifunc.c: Likewise.
13121         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13122         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13123         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13124         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13125         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13126         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13127         * benchtests/bench-strcat-ifunc.c: Likewise.
13128         * benchtests/bench-strchr-ifunc.c: Likewise.
13129         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13130         * benchtests/bench-strcmp-ifunc.c: Likewise.
13131         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13132         * benchtests/bench-strcpy-ifunc.c: Likewise.
13133         * benchtests/bench-strcspn-ifunc.c: Likewise.
13134         * benchtests/bench-strlen-ifunc.c: Likewise.
13135         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13136         * benchtests/bench-strncat-ifunc.c: Likewise.
13137         * benchtests/bench-strncmp-ifunc.c: Likewise.
13138         * benchtests/bench-strncpy-ifunc.c: Likewise.
13139         * benchtests/bench-strnlen-ifunc.c: Likewise.
13140         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13141         * benchtests/bench-strrchr-ifunc.c: Likewise.
13142         * benchtests/bench-strsep-ifunc.c: Likewise.
13143         * benchtests/bench-strspn-ifunc.c: Likewise.
13144         * benchtests/bench-strstr-ifunc.c: Likewise.
13145
13146 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13147
13148         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13149
13150 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13151
13152         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13153         * rt/aio.h: Likewise.
13154         * sysdeps/gnu/bits/utmp.h: Likewise.
13155         * sysdeps/gnu/bits/utmpx.h: Likewise.
13156         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13157         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13158         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13159         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13160         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13161         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13162         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13163         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13164         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13165         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13166         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13167         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13168         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13170         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13171         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13172         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13173         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13174         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13175         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13176         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13177         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13178         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13179         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13180         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13181         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13182         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13183         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13184         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13185         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13186         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13187         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13188         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13189         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13190         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13191         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13192         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13193         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13194         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13195         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13196         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13197         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13198
13199 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13200
13201         [BZ #16245]
13202         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13203         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13204
13205 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13206
13207         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13208         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13209         Likewise.
13210
13211 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13212
13213         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13214         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13215         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13216         (__fesetround): Remove define.
13217         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13218         rounding and exceptions handling.
13219         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13220         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13221         (__fe_nomask_env): Likewise.
13222         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13223         __fegetround instead of fegetround.
13224         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13225         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13226
13227 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13228
13229         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13230         it's there.
13231
13232         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13233
13234 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13235
13236         [BZ #11157]
13237         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13238         (encrypt_r): Likewise.
13239         * malloc/obstack.h (obstack_free): Likewise.
13240         * posix/unistd.h (encrypt): Likewise.
13241
13242 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13243
13244         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13245         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13246         DL_CALL_DT_FINI() that call the functions directly.
13247         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13248         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13249         * elf/dl-fini.c: Likewise.
13250
13251 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13252
13253         * malloc/hooks.c (memalign_check): Add alignment rounding.
13254         * malloc/malloc.c (_mid_memalign): New function.
13255         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13256         Implement by calling _mid_memalign.
13257         * manual/probes.texi (Memory Allocation Probes): Remove
13258         memory_valloc_retry and memory_pvalloc_retry.
13259
13260 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13261
13262         * locale/programs/locarchive.c (open_archive): Add const
13263         qualifier to ARCHIVEFNAME and copy default fname to
13264         DEFAULT_FNAME.
13265
13266         [BZ #15601]
13267         * libio/tst-widetext.input: Rename Oriya to Odia.
13268         * locale/iso-639.def: Likewise.
13269
13270         * manual/probes.texi (Mathematical Function Probes): Add
13271         documentation for sin, cos, asin and acos probes.
13272         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13273         (__sin32): Add slowasin probe.
13274         (__cos32): Add slowacos probe.
13275         (__mpsin): Add slowsin probe.
13276         (__mpcos): Add slowcos probe.
13277
13278 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13279
13280         [BZ #15483]
13281         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13282         thread-local __sim_exceptions_thread and global
13283         __sim_exceptions_global.
13284         (__sim_disabled_exceptions): Change to thread-local
13285         __sim_disabled_exceptions_thread and global
13286         __sim_disabled_exceptions_global.
13287         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13288         and global __sim_round_mode_global.
13289         (__simulate_exceptions): Use thread-local floating-point state and
13290         set global state from it as needed.
13291         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13292         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13293         __sim_round_mode_thread.
13294         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13295         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13296         and global __sim_exceptions_global.
13297         (__sim_disabled_exceptions): Change to thread-local
13298         __sim_disabled_exceptions_thread and global
13299         __sim_disabled_exceptions_global.
13300         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13301         and global __sim_round_mode_global.
13302         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13303         (SIM_SET_GLOBAL): Likewise.
13304         * sysdeps/powerpc/soft-fp/sfp-machine.h
13305         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13306         __sim_round_mode_thread.
13307         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13308         __sim_disabled_exceptions_thread.
13309         (__sim_exceptions): Change to __sim_exceptions_thread.
13310         (__sim_disabled_exceptions): Change to
13311         __sim_disabled_exceptions_thread.
13312         (__sim_round_mode): Change to __sim_round_mode_thread.
13313         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13314         thread-local floating-point state and set global state from it as
13315         needed.
13316         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13317         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13318         (__sim_disabled_exceptions): Remove extern declaration.
13319         (feenableexcept): Use thread-local floating-point state and set
13320         global state from it as needed.
13321         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13322         extern declaration.
13323         (__sim_disabled_exceptions): Likewise.
13324         (__sim_round_mode): Likewise.
13325         (__fegetenv): Use thread-local floating-point state.
13326         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13327         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13328         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13329         floating-point state and set global state from it as needed.
13330         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13331         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13332         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13333         Likewise.
13334         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13335         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13336         Likewise.
13337         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13338         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13339         Use __sim_round_mode_thread.
13340         * math/test-fenv-tls.c: New file.
13341         * math/Makefile (tests): Add test-fenv-tls.
13342         ($(objpfx)test-fenv-tls): Depend on
13343         $(common-objpfx)nptl/libpthread.so.
13344
13345 2013-11-19  Andreas Schwab  <schwab@suse.de>
13346
13347         * locale/programs/locale.c (show_info): Decode wordarray elements.
13348         * locale/categories.def (LC_MONETARY): Add element for
13349         _NL_MONETARY_CRNCYSTR.
13350         * locale/C-monetary.c (conversion_rate): New variable.
13351         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13352         element.
13353
13354 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13355
13356         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13357         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13358
13359 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13360
13361         * elf/Makefile (tst-auxv): New test.
13362         * elf/tst-auxv.c: New
13363         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13364
13365 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13366
13367         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13368         (hidden_proto): Caller changed.
13369         (hidden_tls_proto): New macro.
13370         (libc_hidden_tls_proto): Likewise.
13371         (rtld_hidden_tls_proto): Likewise.
13372         (libm_hidden_tls_proto): Likewise.
13373         (libresolv_hidden_tls_proto): Likewise.
13374         (librt_hidden_tls_proto): Likewise.
13375         (libdl_hidden_tls_proto): Likewise.
13376         (libnss_files_hidden_tls_proto): Likewise.
13377         (libnsl_hidden_tls_proto): Likewise.
13378         (libnss_nisplus_hidden_tls_proto): Likewise.
13379         (libutil_hidden_tls_proto): Likewise.
13380
13381 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13382
13383         [BZ #10253]
13384         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13385         (decompose_rpath): Defer expansion to fillin_rpath.
13386         (_dl_init_paths): Pass linkmap to fillin_rpath.
13387
13388 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13389
13390         * benchtests/Makefile: Add strsep.
13391         * benchtests/bench-strsep.c: New file: strsep benchtest.
13392         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13393
13394 2013-11-18  Andreas Schwab  <schwab@suse.de>
13395
13396         * locale/programs/locale.c (show_info) [case byte]: Check for
13397         '\377' instead of '\177'.
13398         * locale/C-monetary.c (not_available): Always use "\377".
13399         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13400         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13401         detect unavailable sign_posn locale elements.
13402         * locale/localeconv.c (__localeconv): For grouping and
13403         mon_grouping handle "\177" and "\377" like no grouping.
13404         (INT_ELEM): New macro.  Use it to set all numeric members.
13405         * locale/programs/ld-monetary.c (monetary_read)
13406         <tok_mon_grouping>: Normalize single -1 to the empty string.
13407         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13408         Likewise.
13409
13410 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13411
13412         [BZ #16055]
13413         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13414         when we match (nil).
13415         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13416
13417 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13418
13419         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13420         (NO_TEST_INLINE): Update value.
13421         (ERRNO_UNCHANGED): Likewise.
13422         (ERRNO_EDOM): Likewise.
13423         (ERRNO_ERANGE): Likewise.
13424         (IGNORE_RESULT): Likewise.
13425         (check_float_internal): Check signs of NaN results if
13426         TEST_NAN_SIGN used.
13427         (check_complex): Pass TEST_NAN_SIGN flag through to second
13428         check_float_internal call.
13429         (copysign_test_data): Add tests with quiet NaNs as second
13430         argument.  Use TEST_NAN_SIGN.
13431         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13432         TEST_NAN_SIGN.
13433         (signbit_test_data): Add tests of quiet NaN argument.
13434         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13435
13436         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13437         $ignore_result.
13438         (parse_args): Handle function results specified as IGNORE.
13439         * math/libm-test.inc (IGNORE_RESULT): New macro.
13440         (check_float_internal): Do not check numerical result if flag
13441         IGNORE_RESULT set.
13442         (check_complex): Pass through IGNORE_RESULT to second
13443         check_float_internal call.
13444         (check_int): Do not check numerical result if flag IGNORE_RESULT
13445         set.
13446         (check_long): Likewise.
13447         (check_bool): Likewise.
13448         (check_longlong): Likewise.
13449         (lrint_test_data): Add tests of infinite and NaN arguments.
13450         (lrint_tonearest_test_data): Likewise.
13451         (lrint_towardzero_test_data): Likewise.
13452         (lrint_downward_test_data): Likewise.
13453         (lrint_upward_test_data): Likewise.
13454         (llrint_test_data): Likewise.
13455         (llrint_tonearest_test_data): Likewise.
13456         (llrint_towardzero_test_data): Likewise.
13457         (llrint_downward_test_data): Likewise.
13458         (llrint_upward_test_data): Likewise.
13459         (lround_test_data): Likewise.
13460         (llround_test_data): Likewise.
13461
13462         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13463         (ERRNO_UNCHANGED): Update value.
13464         (ERRNO_EDOM): Likewise.
13465         (ERRNO_ERANGE): Likewise.
13466         (NO_TEST_INLINE_FLOAT): New macro.
13467         (NO_TEST_INLINE_DOUBLE): Likewise.
13468         (enable_test): New function.
13469         (RUN_TEST_f_f): Check enable_test before running test.
13470         (RUN_TEST_2_f): Likewise.
13471         (RUN_TEST_fff_f): Likewise.
13472         (RUN_TEST_c_f): Likewise.
13473         (RUN_TEST_f_f1): Likewise.
13474         (RUN_TEST_fF_f1): Likewise.
13475         (RUN_TEST_fI_f1): Likewise.
13476         (RUN_TEST_ffI_f1): Likewise.
13477         (RUN_TEST_c_c): Likewise.
13478         (RUN_TEST_cc_c): Likewise.
13479         (RUN_TEST_f_i): Likewise.
13480         (RUN_TEST_f_i_tg): Likewise.
13481         (RUN_TEST_ff_i_tg): Likewise.
13482         (RUN_TEST_f_b): Likewise.
13483         (RUN_TEST_f_b_tg): Likewise.
13484         (RUN_TEST_f_l): Likewise.
13485         (RUN_TEST_f_L): Likewise.
13486         (RUN_TEST_fFF_11): Likewise.
13487         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13488         conditionals.
13489         (cosh_test_data): Likewise.
13490         (exp_test_data): Likewise.
13491         (expm1_test_data): Likewise.
13492         (hypot_test_data): Likewise.
13493         (pow_test_data): Likewise.
13494         (sinh_test_data): Likewise.
13495         (tanh_test_data): Likewise.
13496         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13497         flags argument.
13498
13499         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13500         tests with quiet NaN input and output.
13501         (acosh_test_data): Likewise.
13502         (asin_test_data): Likewise.
13503         (asinh_test_data): Likewise.
13504         (atan_test_data): Likewise.
13505         (atanh_test_data): Likewise.
13506         (atan2_test_data): Likewise.
13507         (cbrt_test_data): Likewise.
13508         (cos_test_data): Likewise.
13509         (cosh_test_data): Likewise.
13510         (erf_test_data): Likewise.
13511         (erfc_test_data): Likewise.
13512         (exp_test_data): Likewise.
13513         (exp10_test_data): Likewise.
13514         (exp2_test_data): Likewise.
13515         (expm1_test_data): Likewise.
13516         (hypot_test_data): Likewise.
13517         (j0_test_data): Likewise.
13518         (j1_test_data): Likewise.
13519         (jn_test_data): Likewise.
13520         (lgamma_test_data): Likewise.
13521         (log_test_data): Likewise.
13522         (log10_test_data): Likewise.
13523         (log1p_test_data): Likewise.
13524         (log2_test_data): Likewise.
13525         (pow_test_data): Likewise.
13526         (scalb_test_data): Likewise.
13527         (sin_test_data): Likewise.
13528         (sincos_test_data): Likewise.
13529         (sinh_test_data): Likewise.
13530         (tan_test_data): Likewise.
13531         (tanh_test_data): Likewise.
13532         (tgamma_test_data): Likewise.
13533         (y0_test_data): Likewise.
13534         (y1_test_data): Likewise.
13535         (yn_test_data): Likewise.
13536
13537         [BZ #16167]
13538         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13539         argument being NaN and avoid computations with second argument in
13540         that case.
13541         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13542         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13543         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13544
13545 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13546
13547         * locale/iso-639.def: Add Chitwani Tharu (the).
13548
13549 2013-11-14  Andreas Schwab  <schwab@suse.de>
13550
13551         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13552         word instead of empty string.
13553
13554 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13555
13556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13557         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13559         (__fe_nomask_env): Likewise.
13560
13561 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13562
13563         * benchtests/bench-timing.h: Include time.h.
13564
13565 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13566
13567         [BZ #15997]
13568         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13569         to 3.4.0 for x32.
13570         * sysdeps/unix/sysv/linux/configure: Regenerated.
13571
13572 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13573
13574         [BZ #16151]
13575         * stdlib/strtod_l.c (round_and_return): Do not consider
13576         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13577         exponent one less than half the least subnormal exponent.
13578         * stdlib/test-strtod-round-data: Add more tests.
13579         * stdlib/tst-strtod-round.c (tests): Regenerated.
13580
13581 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13582
13583         [BZ #14143]
13584         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13585         (__fe_mask_env): Likewise.
13586         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13587         libm_hidden_proto and add function prototype.
13588         (__fe_mask_env): Add function prototype.
13589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13590         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13592         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13594         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13595
13596 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13597
13598         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13599         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13600
13601 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13602
13603         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13604         of htab_find_slot().
13605
13606 2013-11-11  David S. Miller  <davem@davemloft.net>
13607
13608         [BZ #16150]
13609         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13610         symbol in the non-vis3 case in static builds.
13611         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13612         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13613         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13614         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13615
13616 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13617
13618         [BZ #387]
13619         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13620         it is empty.
13621
13622 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13623
13624         * benchtests/Makefile: Add bench-strtod.
13625         * benchtests/bench-strtod.c: New file: strtod benchtest
13626
13627 2013-11-11  Andreas Schwab  <schwab@suse.de>
13628
13629         [BZ #16153]
13630         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13631         terminating NUL in key length.
13632
13633 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13634
13635         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13636         Add artificial ODP entry for vDSO symbol for PPC64.
13637         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13638         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13639
13640 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13641
13642         [BZ #15374]
13643         * nss/getent.c (services_keys): Recognize services starting with digit.
13644
13645 2013-11-06  David S. Miller  <davem@davemloft.net>
13646
13647         [BZ #15985]
13648         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13649         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13650
13651 2013-11-06  Will Newton  <will.newton@linaro.org>
13652
13653         * manual/memory.texi (Malloc Examples): Remove register
13654         keyword from examples.
13655
13656 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13657
13658         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13659
13660 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13661
13662         [BZ #6981]
13663         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13664         depending on [__GCC_IEC_559 > 0].
13665         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13666         depending on [__GCC_IEC_559_COMPLEX > 0].
13667
13668 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13669
13670         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13671         to iso-639.def.
13672
13673 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13674
13675         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13676
13677 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13678
13679         [BZ #16112]
13680         * malloc/malloc (malloc_info): Do not handle first bin as
13681         special case.
13682
13683 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13684
13685         * locale/iso-639.def: Add Central Nahuatl (nhn).
13686
13687 2013-11-01  Bruno Haible  <bruno@clisp.org>
13688
13689         [BZ #7003]
13690         * manual/math.texi (BSD Random): Specify range upper bound as
13691         in POSIX.
13692
13693 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13694
13695         * locale/iso-639.def: Add Meadow Mari (mhr).
13696
13697 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13698
13699         [BZ #14752], [BZ #15763]
13700         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13701         Validate name.
13702         * rt/tst_shm.c: Add test for escaping directory.
13703
13704 2013-10-31  Andreas Schwab  <schwab@suse.de>
13705
13706         [BZ #15917]
13707         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13708         followed by 'x' as part of digit sequence.
13709         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13710
13711 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13712
13713         [BZ #16037]
13714         * configure.ac: allow GNU Make 4.0 and greater.
13715         * configure: Regenerated.
13716
13717 2013-10-30  Will Newton  <will.newton@linaro.org>
13718
13719         [BZ #16038]
13720         * malloc/hooks.c (memalign_check): Limit alignment to the
13721         maximum representable power of two.
13722         * malloc/malloc.c (__libc_memalign): Likewise.
13723         * malloc/tst-memalign.c (do_test): Add test for very
13724         large alignment values.
13725         * malloc/tst-posix_memalign.c (do_test): Likewise.
13726
13727 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13728
13729         [BZ #11087]
13730         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13731         (munmap_chunk): Likewise.
13732         (mremap_chunk): Likewise.
13733
13734 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13735
13736         [BZ #15799]
13737         * stdlib/div.c (div): Remove obsolete code.
13738         * stdlib/ldiv.c (ldiv): Likewise.
13739         * stdlib/lldiv.c (lldiv): Likewise.
13740
13741 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13742
13743         [BZ #16071]
13744         * nss/nss_files/files-XXX.c (get_contents_ret): New
13745         enumerator.
13746         (get_contents): New function.
13747         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13748
13749 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13750
13751         * configure.in: Moved to ...
13752         * configure.ac: ... here. Change reference to configure.in
13753         to configure.ac.
13754         * sysdeps/arm/preconfigure.ac: ... here.
13755         configure.in to configure.ac.
13756         * sysdeps/gnu/configure.in: Moved to ...
13757         * sysdeps/gnu/configure.ac: ... here.
13758         * sysdeps/i386/configure.in: Moved to ...
13759         * sysdeps/i386/configure.ac: ... here.
13760         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13761         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13762         * sysdeps/mach/configure.in: Moved to ...
13763         * sysdeps/mach/configure.ac: ... here.
13764         * sysdeps/mach/hurd/configure.in: Moved to ...
13765         * sysdeps/mach/hurd/configure.ac: ... here.
13766         * sysdeps/powerpc/configure.in: Moved to ...
13767         * sysdeps/powerpc/configure.ac: ... here.
13768         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13769         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13770         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13771         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13772         * sysdeps/s390/s390-32/configure.in: Moved to ...
13773         * sysdeps/s390/s390-32/configure.ac: ... here.
13774         * sysdeps/s390/s390-64/configure.in: Moved to ...
13775         * sysdeps/s390/s390-64/configure.ac: ... here.
13776         * sysdeps/sh/configure.in: Moved to ...
13777         * sysdeps/sh/configure.ac: ... here.
13778         * sysdeps/sparc/configure.in: Moved to ...
13779         * sysdeps/sparc/configure.ac: ... here.
13780         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13781         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13782         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13783         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13784         * sysdeps/x86_64/configure.in: Moved to ...
13785         * sysdeps/x86_64/configure.ac: ... here.
13786         * sysdeps/x86_64/preconfigure.in: Moved to ...
13787         * sysdeps/x86_64/preconfigure.ac: ... here.
13788         * aclocal.m4: Change reference to configure.in to configure.ac.
13789         * config.h.in: Likewise.
13790         * manual/install.texi: Likewise.
13791         * manual/maint.texi: Likewise.
13792         * Makefile: Likewise.
13793         * malloc/Makefile: Likewise.
13794         * nscd/Makefile: Likewise.
13795         * Makeconfig: Change reference to configure.in and
13796         preconfigure.in to configure.ac and preconfigure.ac
13797         respectively.
13798         * INSTALL: Regenerated.
13799         * configure: Likewise.
13800         * sysdeps/gnu/configure: Likewise.
13801         * sysdeps/i386/configure: Likewise.
13802         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13803         * sysdeps/mach/configure: Likewise.
13804         * sysdeps/mach/hurd/configure: Likewise.
13805         * sysdeps/powerpc/configure: Likewise.
13806         * sysdeps/powerpc/powerpc32/configure: Likewise.
13807         * sysdeps/powerpc/powerpc64/configure: Likewise.
13808         * sysdeps/s390/s390-32/configure: Likewise.
13809         * sysdeps/s390/s390-64/configure: Likewise.
13810         * sysdeps/sh/configure: Likewise.
13811         * sysdeps/sparc/configure: Likewise.
13812         * sysdeps/unix/sysv/linux/configure: Likewise.
13813         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13814         * sysdeps/x86_64/configure: Likewise.
13815         * sysdeps/x86_64/preconfigure: Likewise.
13816
13817 2013-10-29  Andreas Schwab  <schwab@suse.de>
13818
13819         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13820
13821 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13822
13823         * benchtests/pow-inputs: Add new inputs.
13824
13825         * benchtests/exp-inputs: Add new inputs.
13826
13827         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13828         conditional check for return value.
13829         (__cos32): Likewise.
13830
13831 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13832
13833         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13834         to provide a boost for large inputs with word alignment.
13835         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13836         implementation based on optimized PPC64 strcpy.
13837         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13838         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13839         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13840         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13841
13842 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13843
13844         [BZ #2801]
13845         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13846
13847 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13848
13849         [BZ #14876]
13850         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13851         * time/tst-strptime.c (day_tests): Add testcase.
13852
13853 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13854
13855         [BZ #14029]
13856         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13857
13858 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13859
13860         [BZ #16074]
13861         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13862         MAP_FAILED on error.
13863
13864 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13865
13866         [BZ #16072]
13867         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13868         heap for large requests.
13869
13870 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13871
13872         [BZ #9954]
13873         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13874         result if the result has no associated interface.
13875         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13876         interface for all 127.X.Y.Z addresses.
13877
13878 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13879
13880         * locale/iso-639.def: Add Ligurian (lij)
13881
13882 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13883
13884         [BZ #15825]
13885         * sunrpc/rpc_main.c: Document rpcgen -5.
13886
13887 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13888
13889         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13890
13891 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13892
13893         [BZ #10278]
13894         * posix/glob.c: Match only directories when trailing slash is present.
13895         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13896         (main): Add testcase.
13897
13898 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13899
13900         [BZ #15670]
13901         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13902
13903 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13904
13905         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13906         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13907         AUTH_DES and cindex for FIPS 140-2.
13908         (DES Encryption): Add cindex FIPS 46-3.
13909
13910         * locale/locarchive.h (struct locarhandle): Add fname.
13911         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13912         if an optional argument was specified to --list-archive,
13913         otherwise NULL.
13914         * locale/programs/locarchive.c (show_archive_content): Take new
13915         argument fname and pass it via ah.fname to open_archive.
13916         * locale/programs/localedef.h: Update decl.
13917         (open_archive): If AH->fname is non-null, open that file
13918         rather than the default file name, and don't ignore ENOENT.
13919         (create_archive): Set AH.fname to NULL.
13920         (delete_locales_from_archive): Likewise.
13921         (add_locales_to_archive): Likewise.
13922         * locale/programs/locfile.c (write_all_categories): Likewise.
13923
13924 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13925             Aldy Hernandez  <aldyh@redhat.com>
13926
13927         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13928         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13929         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13930         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13931         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13932         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13933         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13934         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13935         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13936         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13937         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13938         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13939         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13940         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13941         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13942         Likewise.
13943         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13944         Likewise.
13945         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13946         Likewise.
13947         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13948         Likewise.
13949         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13950         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13951         Likewise.
13952         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13953         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13954         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13955         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13956         Likewise.
13957         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13958         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13959         * sysdeps/powerpc/preconfigure: Likewise.
13960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13961         Likewise.
13962         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13963         Replace contents of file by #include of <fenv_libc.h>.
13964         * sysdeps/powerpc/soft-fp/sfp-machine.h
13965         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13966         and <sys/prctl.h>.
13967         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13968         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13969         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13970         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13971         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13972         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13973         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13974         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13975         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13976         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13977         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13980         Allow copysignl PLT reference to be missing.
13981
13982 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13983             Joseph Myers  <joseph@codesourcery.com
13984
13985         [BZ #15948]
13986         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13987         single character.
13988         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13989
13990 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13991
13992         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13993         * elf/tst-tls1.c: Likewise.
13994         * elf/tst-tls10.h: Likewise.
13995         * elf/tst-tls14.c: Likewise.
13996         * elf/tst-tls2.c: Likewise.
13997         * elf/tst-tls3.c: Likewise.
13998         * elf/tst-tls4.c: Likewise.
13999         * elf/tst-tls5.c: Likewise.
14000         * elf/tst-tls6.c: Likewise.
14001         * elf/tst-tls7.c: Likewise.
14002         * elf/tst-tls8.c: Likewise.
14003         * elf/tst-tls9.c: Likewise.
14004         * elf/tst-tlsmod1.c: Likewise.
14005         * elf/tst-tlsmod13.c: Likewise.
14006         * elf/tst-tlsmod13a.c: Likewise.
14007         * elf/tst-tlsmod14a.c: Likewise.
14008         * elf/tst-tlsmod16a.c: Likewise.
14009         * elf/tst-tlsmod16b.c: Likewise.
14010         * elf/tst-tlsmod2.c: Likewise.
14011         * elf/tst-tlsmod3.c: Likewise.
14012         * elf/tst-tlsmod4.c: Likewise.
14013         * elf/tst-tlsmod5.c: Likewise.
14014         * elf/tst-tlsmod6.c: Likewise.
14015
14016 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14017
14018         [BZ #12486]
14019         * malloc/malloc.c: remove checks for statistics.
14020
14021 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14022
14023         [BZ #15277]
14024         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14025         * inet/tst-network.c: Add testcase.
14026
14027 2013-10-17  Andreas Schwab  <schwab@suse.de>
14028
14029         [BZ #15218]
14030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14031         to determine canonical name.
14032
14033 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14034
14035         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14036         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14037         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14038         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14039         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14040         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14041         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14042         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14043         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14044         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14045         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14046         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14047         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14048         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14049         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14050         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14051         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14052         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14053         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14054         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14055         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14056         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14057         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14058         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14059         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14060         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14061         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14062         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14063         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14064         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14065         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14066         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14067         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14068         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14069         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14070         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14071         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14072         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14073         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14074         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14075         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14076         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14077         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14078         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14079         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14080         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14081         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14082         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14083         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14084         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14085         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14086         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14087         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14088         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14089         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14090         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14091         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14092         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14093
14094 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14095
14096         [BZ #16041]
14097         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14098         make result into a quiet NaN.
14099
14100 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14101
14102         * soft-fp/adddf3.c: Fix horizontal whitespace.
14103         * soft-fp/addsf3.c: Likewise.
14104         * soft-fp/addtf3.c: Likewise.
14105         * soft-fp/divdf3.c: Likewise.
14106         * soft-fp/divsf3.c: Likewise.
14107         * soft-fp/divtf3.c: Likewise.
14108         * soft-fp/double.h: Likewise.
14109         * soft-fp/eqdf2.c: Likewise.
14110         * soft-fp/eqsf2.c: Likewise.
14111         * soft-fp/eqtf2.c: Likewise.
14112         * soft-fp/extenddftf2.c: Likewise.
14113         * soft-fp/extended.h: Likewise.
14114         * soft-fp/extendsfdf2.c: Likewise.
14115         * soft-fp/extendsftf2.c: Likewise.
14116         * soft-fp/extendxftf2.c: Likewise.
14117         * soft-fp/fixdfdi.c: Likewise.
14118         * soft-fp/fixdfsi.c: Likewise.
14119         * soft-fp/fixdfti.c: Likewise.
14120         * soft-fp/fixsfdi.c: Likewise.
14121         * soft-fp/fixsfsi.c: Likewise.
14122         * soft-fp/fixsfti.c: Likewise.
14123         * soft-fp/fixtfdi.c: Likewise.
14124         * soft-fp/fixtfsi.c: Likewise.
14125         * soft-fp/fixtfti.c: Likewise.
14126         * soft-fp/fixunsdfdi.c: Likewise.
14127         * soft-fp/fixunsdfsi.c: Likewise.
14128         * soft-fp/fixunsdfti.c: Likewise.
14129         * soft-fp/fixunssfdi.c: Likewise.
14130         * soft-fp/fixunssfsi.c: Likewise.
14131         * soft-fp/fixunssfti.c: Likewise.
14132         * soft-fp/fixunstfdi.c: Likewise.
14133         * soft-fp/fixunstfsi.c: Likewise.
14134         * soft-fp/fixunstfti.c: Likewise.
14135         * soft-fp/floatdidf.c: Likewise.
14136         * soft-fp/floatdisf.c: Likewise.
14137         * soft-fp/floatditf.c: Likewise.
14138         * soft-fp/floatsidf.c: Likewise.
14139         * soft-fp/floatsisf.c: Likewise.
14140         * soft-fp/floatsitf.c: Likewise.
14141         * soft-fp/floattidf.c: Likewise.
14142         * soft-fp/floattisf.c: Likewise.
14143         * soft-fp/floattitf.c: Likewise.
14144         * soft-fp/floatundidf.c: Likewise.
14145         * soft-fp/floatundisf.c: Likewise.
14146         * soft-fp/floatunditf.c: Likewise.
14147         * soft-fp/floatunsidf.c: Likewise.
14148         * soft-fp/floatunsisf.c: Likewise.
14149         * soft-fp/floatunsitf.c: Likewise.
14150         * soft-fp/floatuntidf.c: Likewise.
14151         * soft-fp/floatuntisf.c: Likewise.
14152         * soft-fp/floatuntitf.c: Likewise.
14153         * soft-fp/fmadf4.c: Likewise.
14154         * soft-fp/fmasf4.c: Likewise.
14155         * soft-fp/fmatf4.c: Likewise.
14156         * soft-fp/gedf2.c: Likewise.
14157         * soft-fp/gesf2.c: Likewise.
14158         * soft-fp/getf2.c: Likewise.
14159         * soft-fp/ledf2.c: Likewise.
14160         * soft-fp/lesf2.c: Likewise.
14161         * soft-fp/letf2.c: Likewise.
14162         * soft-fp/muldf3.c: Likewise.
14163         * soft-fp/mulsf3.c: Likewise.
14164         * soft-fp/multf3.c: Likewise.
14165         * soft-fp/negdf2.c: Likewise.
14166         * soft-fp/negsf2.c: Likewise.
14167         * soft-fp/negtf2.c: Likewise.
14168         * soft-fp/op-1.h: Likewise.
14169         * soft-fp/op-2.h: Likewise.
14170         * soft-fp/op-4.h: Likewise.
14171         * soft-fp/op-8.h: Likewise.
14172         * soft-fp/op-common.h: Likewise.
14173         * soft-fp/quad.h: Likewise.
14174         * soft-fp/single.h: Likewise.
14175         * soft-fp/soft-fp.h: Likewise.
14176         * soft-fp/sqrtdf2.c: Likewise.
14177         * soft-fp/sqrtsf2.c: Likewise.
14178         * soft-fp/sqrttf2.c: Likewise.
14179         * soft-fp/subdf3.c: Likewise.
14180         * soft-fp/subsf3.c: Likewise.
14181         * soft-fp/subtf3.c: Likewise.
14182         * soft-fp/truncdfsf2.c: Likewise.
14183         * soft-fp/trunctfdf2.c: Likewise.
14184         * soft-fp/trunctfsf2.c: Likewise.
14185         * soft-fp/trunctfxf2.c: Likewise.
14186         * soft-fp/unorddf2.c: Likewise.
14187         * soft-fp/unordsf2.c: Likewise.
14188         * soft-fp/unordtf2.c: Likewise.
14189
14190 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14191
14192         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14193         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14194
14195 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14196
14197         * elf/dl-libc.c: Clear initfini list after freeing.
14198
14199 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14200
14201         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14202         * soft-fp/addsf3.c: Likewise.
14203         * soft-fp/addtf3.c: Likewise.
14204         * soft-fp/divdf3.c: Likewise.
14205         * soft-fp/divsf3.c: Likewise.
14206         * soft-fp/divtf3.c: Likewise.
14207         * soft-fp/double.h: Likewise.
14208         * soft-fp/eqdf2.c: Likewise.
14209         * soft-fp/eqsf2.c: Likewise.
14210         * soft-fp/eqtf2.c: Likewise.
14211         * soft-fp/extenddftf2.c: Likewise.
14212         * soft-fp/extended.h: Likewise.
14213         * soft-fp/extendsfdf2.c: Likewise.
14214         * soft-fp/extendsftf2.c: Likewise.
14215         * soft-fp/extendxftf2.c: Likewise.
14216         * soft-fp/fixdfdi.c: Likewise.
14217         * soft-fp/fixdfsi.c: Likewise.
14218         * soft-fp/fixdfti.c: Likewise.
14219         * soft-fp/fixsfdi.c: Likewise.
14220         * soft-fp/fixsfsi.c: Likewise.
14221         * soft-fp/fixsfti.c: Likewise.
14222         * soft-fp/fixtfdi.c: Likewise.
14223         * soft-fp/fixtfsi.c: Likewise.
14224         * soft-fp/fixtfti.c: Likewise.
14225         * soft-fp/fixunsdfdi.c: Likewise.
14226         * soft-fp/fixunsdfsi.c: Likewise.
14227         * soft-fp/fixunsdfti.c: Likewise.
14228         * soft-fp/fixunssfdi.c: Likewise.
14229         * soft-fp/fixunssfsi.c: Likewise.
14230         * soft-fp/fixunssfti.c: Likewise.
14231         * soft-fp/fixunstfdi.c: Likewise.
14232         * soft-fp/fixunstfsi.c: Likewise.
14233         * soft-fp/fixunstfti.c: Likewise.
14234         * soft-fp/floatdidf.c: Likewise.
14235         * soft-fp/floatdisf.c: Likewise.
14236         * soft-fp/floatditf.c: Likewise.
14237         * soft-fp/floatsidf.c: Likewise.
14238         * soft-fp/floatsisf.c: Likewise.
14239         * soft-fp/floatsitf.c: Likewise.
14240         * soft-fp/floattidf.c: Likewise.
14241         * soft-fp/floattisf.c: Likewise.
14242         * soft-fp/floattitf.c: Likewise.
14243         * soft-fp/floatundidf.c: Likewise.
14244         * soft-fp/floatundisf.c: Likewise.
14245         * soft-fp/floatunsidf.c: Likewise.
14246         * soft-fp/floatunsisf.c: Likewise.
14247         * soft-fp/floatuntidf.c: Likewise.
14248         * soft-fp/floatuntisf.c: Likewise.
14249         * soft-fp/floatuntitf.c: Likewise.
14250         * soft-fp/fmadf4.c: Likewise.
14251         * soft-fp/fmasf4.c: Likewise.
14252         * soft-fp/fmatf4.c: Likewise.
14253         * soft-fp/gedf2.c: Likewise.
14254         * soft-fp/gesf2.c: Likewise.
14255         * soft-fp/getf2.c: Likewise.
14256         * soft-fp/ledf2.c: Likewise.
14257         * soft-fp/lesf2.c: Likewise.
14258         * soft-fp/letf2.c: Likewise.
14259         * soft-fp/muldf3.c: Likewise.
14260         * soft-fp/mulsf3.c: Likewise.
14261         * soft-fp/multf3.c: Likewise.
14262         * soft-fp/negdf2.c: Likewise.
14263         * soft-fp/negsf2.c: Likewise.
14264         * soft-fp/negtf2.c: Likewise.
14265         * soft-fp/op-1.h: Likewise.
14266         * soft-fp/op-2.h: Likewise.
14267         * soft-fp/op-4.h: Likewise.
14268         * soft-fp/op-8.h: Likewise.
14269         * soft-fp/op-common.h: Likewise.
14270         * soft-fp/quad.h: Likewise.
14271         * soft-fp/single.h: Likewise.
14272         * soft-fp/soft-fp.h: Likewise.
14273         * soft-fp/sqrtdf2.c: Likewise.
14274         * soft-fp/sqrtsf2.c: Likewise.
14275         * soft-fp/sqrttf2.c: Likewise.
14276         * soft-fp/subdf3.c: Likewise.
14277         * soft-fp/subsf3.c: Likewise.
14278         * soft-fp/subtf3.c: Likewise.
14279         * soft-fp/truncdfsf2.c: Likewise.
14280         * soft-fp/trunctfdf2.c: Likewise.
14281         * soft-fp/trunctfsf2.c: Likewise.
14282         * soft-fp/trunctfxf2.c: Likewise.
14283         * soft-fp/unorddf2.c: Likewise.
14284         * soft-fp/unordsf2.c: Likewise.
14285         * soft-fp/unordtf2.c: Likewise.
14286
14287 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14288
14289         [BZ #15672]
14290         * misc/error.c (error_tail): Fix possible buffer overflow.
14291
14292 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14293
14294         [BZ #13028]
14295         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14296         address.
14297
14298 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14299
14300         [BZ #832]
14301         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14302         testing pipefail option.
14303
14304 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14305
14306         * soft-fp/double.h: Indent preprocessor directives inside #if.
14307         * soft-fp/extended.h: Likewise.
14308         * soft-fp/op-2.h: Likewise.
14309         * soft-fp/op-4.h: Likewise.
14310         * soft-fp/op-common.h: Likewise.
14311         * soft-fp/quad.h: Likewise.
14312         * soft-fp/single.h: Likewise.
14313         * soft-fp/soft-fp.h: Likewise.
14314
14315 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14316
14317         * iconv/iconv_prog.c: Fix typos.
14318         * stdio-common/psiginfo-data.h: Likewise.
14319
14320 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14321
14322         [BZ #15764]
14323         * locale/setlocale.c: Fix typo.
14324
14325 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14326
14327         [BZ #16036]
14328         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14329         signaling NaN arguments.
14330         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14331         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14332
14333         [BZ #14910]
14334         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14335         unordered operands.
14336         * soft-fp/gesf2.c (__gesf2): Likewise.
14337         * soft-fp/getf2.c (__getf2): Likewise.
14338         * soft-fp/ledf2.c (__ledf2): Likewise.
14339         * soft-fp/lesf2.c (__lesf2): Likewise.
14340         * soft-fp/letf2.c (__letf2): Likewise.
14341
14342         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14343         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14344         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14345         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14346         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14347         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14348         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14349         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14350         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14351         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14352         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14353         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14354         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14355         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14356         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14357         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14358         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14359         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14360         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14361         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14362         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14363         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14364         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14365         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14366         * soft-fp/floattidf.c (__floattidf): Likewise.
14367         * soft-fp/floattisf.c (__floattisf): Likewise.
14368         * soft-fp/floattitf.c (__floattitf): Likewise.
14369         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14370         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14371         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14372         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14373         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14374         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14375         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14376         * soft-fp/gesf2.c (__gesf2): Likewise.
14377         * soft-fp/getf2.c (__getf2): Likewise.
14378         * soft-fp/ledf2.c (__ledf2): Likewise.
14379         * soft-fp/lesf2.c (__lesf2): Likewise.
14380         * soft-fp/letf2.c (__letf2): Likewise.
14381
14382         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14383         Undefine and redefine.
14384         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14385         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14386         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14387         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14388         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14389         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14390         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14391         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14392         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14393         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14394         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14395         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14396         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14397         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14398         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14399
14400         [BZ #16032]
14401         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14402         without decrementing exponent if mantissa >= that for the
14403         denominator, not >.
14404         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14405         denominator, not >.  Decrement exponent in < case instead of
14406         incrementing in >= case.
14407         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14408         without decrementing exponent if mantissa >= that for the
14409         denominator, not >.
14410
14411         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14412         computing saturated result for unsigned overflow.
14413
14414 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14415             Jeff Law  <law@redhat.com>
14416
14417         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14418         (atan2Mp): Add systemtap probe marker.
14419         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14420         (__ieee754_log): Add systemtap probe marker.
14421         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14422         (atanMp): Add systemtap probe marker.
14423         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14424         (tanMp): Add systemtap probe marker.
14425         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14426         (__slowexp): Add systemtap probe marker.
14427         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14428         (__slowpow): Add systemtap probe marker.
14429         * manual/probes.texi: Document probes.
14430
14431 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14432
14433         [BZ #15362]
14434         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14435         written.
14436         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14437         written.
14438         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14439         written to buffer but not flushed.
14440         * libio/iofwrite_u.c:  Likewise.
14441         * libio/iopadn.c:  Return bytes returned even if EOF was
14442         encountered.
14443         * libio/iowpadn.c:  Likewise.
14444         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14445         if _IO_padn does not write the whole buffer.
14446         [!COMPILE_WPRINTF] (PAD): Likewise.
14447
14448 2013-10-10  David S. Miller  <davem@davemloft.net>
14449
14450         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14451         directory block.
14452
14453 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14454
14455         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14456         instead of FSF address.
14457         * soft-fp/fixdfti.c: Likewise.
14458         * soft-fp/fixsfti.c: Likewise.
14459         * soft-fp/fixtfti.c: Likewise.
14460         * soft-fp/fixunsdfti.c: Likewise.
14461         * soft-fp/fixunssfti.c: Likewise.
14462         * soft-fp/fixunstfti.c: Likewise.
14463         * soft-fp/floattidf.c: Likewise.
14464         * soft-fp/floattisf.c: Likewise.
14465         * soft-fp/floattitf.c: Likewise.
14466         * soft-fp/floatuntidf.c: Likewise.
14467         * soft-fp/floatuntisf.c: Likewise.
14468         * soft-fp/floatuntitf.c: Likewise.
14469         * soft-fp/trunctfxf2.c: Likewise.
14470
14471         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14472         * soft-fp/fixdfti.c: Likewise.
14473         * soft-fp/fixsfti.c: Likewise.
14474         * soft-fp/fixtfti.c: Likewise.
14475         * soft-fp/fixunsdfti.c: Likewise.
14476         * soft-fp/fixunssfti.c: Likewise.
14477         * soft-fp/fixunstfti.c: Likewise.
14478         * soft-fp/floattidf.c: Likewise.
14479         * soft-fp/floattisf.c: Likewise.
14480         * soft-fp/floattitf.c: Likewise.
14481         * soft-fp/floatuntidf.c: Likewise.
14482         * soft-fp/floatuntisf.c: Likewise.
14483         * soft-fp/floatuntitf.c: Likewise.
14484         * soft-fp/trunctfxf2.c: Likewise.
14485
14486 2013-10-10  David S. Miller  <davem@davemloft.net>
14487
14488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14489
14490 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14491
14492         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14493         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14494         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14495         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14496         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14497         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14498         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14499
14500         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14501         for NaNs before doing comparisons on argument.
14502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14503         Likewise.
14504
14505 2013-10-10  Will Newton  <will.newton@linaro.org>
14506
14507         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14508         passed to _int_memalign does not overflow.
14509
14510 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14511
14512         * scripts/bench.pl: Add include-sources directive.
14513         * benchtests/README: Update documentation.
14514
14515 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14516
14517         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14518         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14519         instead of FP_INIT_ROUNDMODE.
14520         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14521         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14522
14523         [BZ #16034]
14524         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14525         copy class of input value.
14526         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14527         not handle exceptions.
14528         * soft-fp/negsf2.c (__negsf2): Likewise.
14529         * soft-fp/negtf2.c (__negtf2): Likewise.
14530         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14531
14532 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14533
14534         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14535         semicolon.  From Linux kernel.
14536
14537 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14538
14539         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14540
14541 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14542
14543         [BZ #156]
14544         * manual/socket.texi: Added statement about buffer
14545         for gethostbyname2_r.
14546
14547 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14548
14549         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14550         Use .p2align directive instead, throughout.
14551         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14552         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14553         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14554         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14555         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14556         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14557         * sysdeps/x86_64/strchr.S: Likewise.
14558         * sysdeps/x86_64/strrchr.S: Likewise.
14559
14560 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14561
14562         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14563
14564         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14565
14566         * sysdeps/generic/math_private.h (__mpsin1): Remove
14567         declaration.
14568         (__mpcos1): Likewise.
14569         (__mpsin): New argument __range_reduce.
14570         (__mpcos): Likewise.
14571         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14572         (slow): Use __mpsin and __mpcos.
14573         (slow1): Likewise.
14574         (slow2): Likewise.
14575         (sloww): Likewise.
14576         (sloww1): Likewise.
14577         (sloww2): Likewise.
14578         (bsloww): Likewise.
14579         (bsloww1): Likewise.
14580         (bsloww2): Likewise.
14581         (cslow2): Likewise.
14582         (csloww): Likewise.
14583         (csloww1): Likewise.
14584         (csloww2): Likewise.
14585         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14586         range_reduce.  Merge in __mpsin1.
14587         (__mpcos): Likewise.
14588         (__mpsin1): Remove.
14589         (__mpcos1): Likewise.
14590
14591 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14592
14593         * locale/loadlocale.c (_nl_intern_locale_data): Use
14594         LOCFILE_ALIGNED_P.
14595         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14596         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14597         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14598         obstack data is appropriately aligned.
14599         (obstack_int32_grow_fast): Likewise.
14600         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14601         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14602         (add_locale_uint32_array): Likewise.
14603
14604 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14605
14606         * benchtests/Makefile: Remove ARGLIST and RET variables.
14607         ($(objpfx)bench-%.c): Pass only function name to the script.
14608         * benchtests/README: Update documentation.
14609         * benchtests/acos-inputs: Add new directives.
14610         * benchtests/acosh-inputs: Likewise.
14611         * benchtests/asin-inputs: Likewise.
14612         * benchtests/asinh-inputs: Likewise.
14613         * benchtests/atan-inputs: Likewise.
14614         * benchtests/atanh-inputs: Likewise.
14615         * benchtests/cos-inputs: Likewise.
14616         * benchtests/cosh-inputs: Likewise.
14617         * benchtests/exp-inputs: Likewise.
14618         * benchtests/log-inputs: Likewise.
14619         * benchtests/pow-inputs: Likewise.
14620         * benchtests/rint-inputs: Likewise.
14621         * benchtests/sin-inputs: Likewise.
14622         * benchtests/sinh-inputs: Likewise.
14623         * benchtests/tan-inputs: Likewise.
14624         * benchtests/tanh-inputs: Likewise.
14625         * scripts/bench.pl: Add support for new directives.
14626
14627 2013-10-07  Alan Modra  <amodra@gmail.com>
14628
14629         * README: Fix careless merge.
14630
14631 2013-10-05  Alan Modra  <amodra@gmail.com>
14632
14633         * NEWS: Mention powerpc64le support and bugs fixed.
14634         * README: Both big-endian and little-endian powerpc64 supported.
14635
14636 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14637
14638         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14639         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14640         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14641         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14642
14643 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14644
14645         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14646         match prototype.
14647
14648 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14649
14650         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14651         Move -mhard-float appending from
14652         ports/sysdeps/powerpc/powerpc32/Makefile.
14653         [$(with-fp) = yes] (ASFLAGS): Likewise.
14654         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14655         * sysdeps/powerpc/nofpu: Move directory from
14656         ports/sysdeps/powerpc/nofpu.
14657         * sysdeps/powerpc/soft-fp: Move directory from
14658         ports/sysdeps/powerpc/soft-fp.
14659         * sysdeps/powerpc/powerpc32/405: Move directory from
14660         ports/sysdeps/powerpc/powerpc32/405.
14661         * sysdeps/powerpc/powerpc32/440: Move directory from
14662         ports/sysdeps/powerpc/powerpc32/440.
14663         * sysdeps/powerpc/powerpc32/464: Move directory from
14664         ports/sysdeps/powerpc/powerpc32/464.
14665         * sysdeps/powerpc/powerpc32/476: Move directory from
14666         ports/sysdeps/powerpc/powerpc32/476.
14667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14668         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14670         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14672         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14674         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14676         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14677         * README: Update for powerpc-*-linux-gnu software floating point
14678         support in libc.
14679
14680         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14681         case to powerpc/powerpc32*.
14682         * sysdeps/unix/sysv/linux/configure: Regenerated.
14683
14684         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14685         (_FPU_MASK_OM): Define as 0x04.
14686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14688         0x00c10080.
14689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14690         0x0000003c.
14691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14692
14693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14694         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14695         getcontext_e500.
14696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14697         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14698         setcontext_e500.
14699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14700         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14701         and setcontext_e500.
14702
14703 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14704
14705         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14706
14707 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14708
14709         * manual/threads.texi (Default Thread Attributes): Fix typo.
14710
14711 2013-10-04  Will Newton  <will.newton@linaro.org>
14712
14713         * malloc/Makefile: Add tst-memalign.
14714         * malloc/tst-memalign.c: New file.
14715
14716         * malloc/tst-posix_memalign.c: Add comments.
14717         (do_test): Add comments and call free on all potentially
14718         allocated pointers. Add space after cast.
14719
14720         * malloc/tst-pvalloc.c: Add comments.
14721         (do_test): Add comments and call free on all potentially
14722         allocated pointers. Remove duplicate check for NULL pointer.
14723         Add space after cast.
14724
14725         * malloc/tst-valloc.c: Add comments.
14726         (do_test): Add comments and call free on all potentially
14727         allocated pointers. Remove duplicate check for NULL pointer.
14728         Add space after cast.
14729
14730 2013-10-04  Alan Modra  <amodra@gmail.com>
14731
14732         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14733         Use stdint types in rather than __attribute__((mode())).
14734         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14735
14736 2013-10-04  Alan Modra  <amodra@gmail.com>
14737
14738         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14739         Correct handling of unaligned relocs for little-endian.
14740         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14741
14742 2013-10-04  Alan Modra  <amodra@gmail.com>
14743
14744         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14745         * configure: Regenerate.
14746         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14747         * shlib-versions: Likewise.
14748
14749 2013-10-04  Alan Modra  <amodra@gmail.com>
14750
14751         * string/tester.c (test_memrchr): Increment reported test cycle.
14752
14753 2013-10-04  Alan Modra  <amodra@gmail.com>
14754
14755         * string/test-memcpy.c (do_one_test): When reporting errors, print
14756         string address and don't overrun end of string.
14757
14758 2013-10-04  Alan Modra  <amodra@gmail.com>
14759
14760         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14761         insrdi.  Make better use of reg selection to speed exit slightly.
14762         Schedule entry path a little better.  Remove useless "are we done"
14763         checks on entry to main loop.  Handle wrapping around zero address.
14764         Correct main loop count.  Handle single left-over word from main
14765         loop inline rather than by using loop_small.  Remove extra word
14766         case in loop_small caused by wrong loop count.  Add little-endian
14767         support.
14768         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14769         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14770         cache hint.
14771         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14772         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14773         support.  Avoid rlwimi.
14774         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14775
14776 2013-10-04  Alan Modra  <amodra@gmail.com>
14777
14778         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14779         insrdi.  Formatting.
14780         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14781         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14782         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14783         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14784         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14785         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14786
14787 2013-10-04  Alan Modra  <amodra@gmail.com>
14788
14789         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14790         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14791         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14792         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14793         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14794         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14795         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14796         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14797         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14798         use of regs.  Use power7 mtocrf.  Tidy function tails.
14799
14800 2013-10-04  Alan Modra  <amodra@gmail.com>
14801
14802         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14803         Formatting.  Consistently use rXXX register defines or rN defines.
14804         Use early exit labels that avoid restoring unused non-volatile regs.
14805         Make cr field use more consistent with rWORDn compares.  Rename
14806         regs used as shift registers for unaligned loop, using rN defines
14807         for short lifetime/multiple use regs.
14808         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14809         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14810         addi 1,1,64 to pop stack frame.  Simplify return value code.
14811         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14812
14813 2013-10-04  Alan Modra  <amodra@gmail.com>
14814
14815         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14816         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14817         rather than rlwimi.
14818         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14819         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14820         little-endian support.  Correct typos.
14821         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14822         rather than rlwimi.
14823         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14824         in loop and entry code to keep "and." results.
14825         (strchr): Add little-endian support.  Comment.  Move cntlzd
14826         earlier in tail.
14827         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14828
14829 2013-10-04  Alan Modra  <amodra@gmail.com>
14830
14831         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14832         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14833         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14834         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14835
14836 2013-10-04  Alan Modra  <amodra@gmail.com>
14837
14838         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14839         (rTMP): Define as r11.
14840         (strcmp): Add little-endian support.  Optimise tail.
14841         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14842         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14843         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14844         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14845         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14846         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14847         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14848
14849 2013-10-04  Alan Modra  <amodra@gmail.com>
14850
14851         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14852         little-endian support.  Remove unnecessary "are we done" tests.
14853         Handle "s" wrapping around zero and extremely large "size".
14854         Correct main loop count.  Handle single left-over word from main
14855         loop inline rather than by using small_loop.  Correct comments.
14856         Delete "zero" tail, use "end_max" instead.
14857         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14858
14859 2013-10-04  Alan Modra  <amodra@gmail.com>
14860
14861         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14862         support.  Don't branch over align.
14863         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14864         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14865         support.  Rearrange tmp reg use to suit.  Comment.
14866         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14867
14868 2013-10-04  Alan Modra  <amodra@gmail.com>
14869
14870         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14871
14872 2013-10-04  Alan Modra  <amodra@gmail.com>
14873
14874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14875         conditional form of branch and link when obtaining pc.
14876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14877
14878 2013-10-04  Alan Modra  <amodra@gmail.com>
14879
14880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14881         HIWORD/LOWORD.
14882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14884
14885 2013-10-04  Alan Modra  <amodra@gmail.com>
14886
14887         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14888         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14889         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14890         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14891         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14892         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14893         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14894         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14895         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14896         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14897
14898 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14899             Alistair Popple <alistair@ozlabs.au.ibm.com>
14900             Alan Modra <amodra@gmail.com>
14901
14902         [BZ #15723]
14903         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14904         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14905         _dl_hwcap access for little-endian.
14906         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14907         destroy vmx regs when saving unaligned.
14908         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14909         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14910         destroy vmx regs when saving unaligned.
14911
14912 2013-10-04  Alan Modra  <amodra@gmail.com>
14913
14914         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14915         Don't use a union to pack hi/low value.
14916
14917 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14918
14919         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14920         for little-endian.
14921         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14922         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14923         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14924         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14925         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14926
14927 2013-10-04  Alan Modra  <amodra@gmail.com>
14928
14929         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14930         constants to usual value for .cst8 section, and remove redundant
14931         high address load.
14932         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14933         constant for 0x1p52.  Load little-endian words of double from
14934         correct stack offsets.
14935
14936 2013-10-04  Alan Modra  <amodra@gmail.com>
14937
14938         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14939         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14940         words of double from correct stack offsets.
14941         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14942         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14943         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14944         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14945         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14946         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14947         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14948         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14949         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14950         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14951         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14952         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14953         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14954         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14955         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14956         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14957         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14958
14959 2013-10-04  Alan Modra  <amodra@gmail.com>
14960
14961         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14962         64-bit int/double union.
14963         (_FPU_SETCW): Likewise.
14964         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14965         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14966
14967 2013-10-04  Alan Modra  <amodra@gmail.com>
14968
14969         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14970         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14971
14972 2013-10-04  Alan Modra  <amodra@gmail.com>
14973
14974         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14975         use vector int constants.
14976         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14977
14978 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14979
14980         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14981         array with long long.
14982         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14983         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14984         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14985         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14986         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14987         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14988         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14989         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14990         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14991         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14992         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14993         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14994         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14995
14996 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14997
14998         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14999         (__signbit): Likewise.  Correct for little-endian.
15000         (__signbitl): Call __signbit.
15001         (lrint): Correct for little-endian.
15002         (lrintf): Call lrint.
15003
15004 2013-10-04  Alan Modra  <amodra@gmail.com>
15005
15006         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15007         union 32-bit int array member with 64-bit int array.
15008         (t515, tm256): Double rather than long double.
15009         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15010
15011 2013-10-04  Alan Modra  <amodra@gmail.com>
15012
15013         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15014         Delete.
15015         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15016         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15017         version of math_ldbl.h.
15018
15019 2013-10-04  Alan Modra  <amodra@gmail.com>
15020
15021         [BZ #15734], [BZ #15735]
15022         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15023         all uses of ieee875 long double macros and unions.  Simplify test
15024         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15025         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15026         normalize after ldbl_extract_mantissa, and don't add hidden bit
15027         already handled.  Don't treat low word of ieee854 mantissa like
15028         low word of IBM long double and mask off bit when testing for
15029         zero.
15030         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15031         all uses of ieee875 long double macros and unions.  Simplify tests
15032         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15033         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15034         two1022, instead use their values.  Recognise that tests for large
15035         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15036         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15037         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15038         test for 0.0L and nan.  Correct negation.
15039         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15040         ieee875 long double macros and unions.  Correct output for large
15041         magnitude x.  Correct absolute value calculation.
15042         (__erfcl): Likewise.
15043         * math/libm-test.inc: Add tests for errors discovered in IBM long
15044         double versions of fmodl, remainderl, erfl and erfcl.
15045
15046 2013-10-04  Alan Modra  <amodra@gmail.com>
15047
15048         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15049         all uses of ieee854 long double macros and unions.  Simplify tests
15050         for long doubles that are fully specified by the high double.
15051         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15052         Likewise.
15053         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15054         Remove dead code too.
15055         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15056         (__ieee754_ynl): Likewise.
15057         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15058         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15059         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15060         Remove dead code too.
15061         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15062         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15063         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15064         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15065         Simplify.
15066         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15067         Simplify.
15068         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15069         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15070         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15071         Comment on variable precision.
15072         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15073         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15074         Likewise.
15075         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15076         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15077         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15078         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15079         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15080
15081 2013-10-04  Alan Modra  <amodra@gmail.com>
15082
15083         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15084         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15085         all uses of ieee854 long double macros and unions.
15086         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15087         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15088         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15089         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15090         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15091         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15092         Likewise.
15093         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15094         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15095         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15096         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15097         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15098         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15099         Simplify sign and nan test too.
15100         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15101         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15102         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15103         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15104         Likewise.
15105         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15106         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15107         Likewise.
15108         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15109         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15110         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15111         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15112         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15113         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15114
15115 2013-10-04  Alan Modra  <amodra@gmail.com>
15116
15117         * stdio-common/printf_size.c (__printf_size): Don't use
15118         union ieee854_long_double in fpnum union.
15119         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15120         signbit macro to retrieve sign from long double.
15121         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15122         retrieve sign from long double.
15123         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15124         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15125         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15126         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15127         * math/test-misc.c (main): Don't use union ieee854_long_double.
15128
15129 2013-10-04  Alan Modra  <amodra@gmail.com>
15130
15131         [BZ #15680]
15132         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15133         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15134         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15135         calculation.  Remove unnecessary test for denormal exponent.
15136         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15137         Correct handling of denormals.  Avoid undefined shift behaviour.
15138         Correct normalisation of low mantissa when low double is denormal.
15139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15140         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15141         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15142         Correct normalisation of low mantissa.  Test for overflow of high
15143         mantissa and normalise.
15144         (ldbl_nearbyint): Use more readable constant for two52.
15145         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15146         (__mpn_construct_long_double): Fix test for overflow of high
15147         mantissa and correct normalisation.  Avoid undefined shift.
15148
15149 2013-10-04  Alan Modra  <amodra@gmail.com>
15150
15151         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15152         (union ibm_extended_long_double): Define as an array of ieee754_double.
15153         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15154         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15155         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15156         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15157         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15158         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15159         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15160         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15161         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15162         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15163         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15164
15165 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15166
15167         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15168         page size instead of calling getpagesize.
15169
15170         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15171         (LOCFILE_ALIGN_MASK): Likewise.
15172         (LOCFILE_ALIGN_UP): Likewise.
15173         (LOCFILE_ALIGNED_P): Likewise.
15174         * locale/programs/ld-collate.c (collate_output): Use the new
15175         macros instead of __alignof__ (int32_t).
15176         * locale/weight.h (findidx): Likewise.
15177
15178 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15179
15180         [BZ #431]
15181         * manual/string.texi: Fix strncat and wcsncat.
15182
15183 2013-10-03  Brooks Moses  <bmoses@google.com>
15184
15185         [BZ #15915]
15186         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15187         * Makerules: ...here, and adjust associated comments.
15188
15189 2013-10-02  Will Newton  <will.newton@linaro.org>
15190
15191         * malloc/Makefile: Add tst-pvalloc.
15192         * malloc/tst-pvalloc.c: New file.
15193
15194 2013-10-02  Will Newton  <will.newton@linaro.org>
15195
15196         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15197         improve test coverage.
15198
15199 2013-10-02  Will Newton  <will.newton@linaro.org>
15200
15201         * malloc/Makefile: Add tst-posix_memalign.
15202         * malloc/tst-posix_memalign.c: New file.
15203
15204 2013-10-01  Eric Blake  <eblake@redhat.com>
15205
15206         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15207         Use __THROWNL rather than __THROW on static functions.
15208
15209 2013-09-30  Petr Machata  <pmachata@redhat.com>
15210
15211         * elf/elf.h (R_AARCH64_ABS16): New macro.
15212         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15213         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15214         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15215         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15216         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15217         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15218         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15219         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15220         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15221         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15222         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15223         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15224         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15225         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15226         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15227         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15228         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15229         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15230         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15231         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15232         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15233         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15234         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15235         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15236         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15237         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15238         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15239         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15240         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15241         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15242         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15243         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15244         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15245         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15246         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15247         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15248         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15249         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15250         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15251         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15252         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15253         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15254         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15255         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15256         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15257         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15258         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15259         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15260         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15261         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15262         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15263         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15264         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15265         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15266         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15267         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15268         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15269         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15270         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15271         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15272         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15273         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15274         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15275         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15276         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15277         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15278         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15279         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15280         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15281         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15282         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15283         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15284         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15285         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15286         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15287         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15288         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15289         (R_AARCH64_TLSDESC_LDR): Likewise.
15290         (R_AARCH64_TLSDESC_ADD): Likewise.
15291         (R_AARCH64_TLSDESC_CALL): Likewise.
15292
15293 2013-09-30  Andreas Schwab  <schwab@suse.de>
15294
15295         [BZ #15048]
15296         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15297         the nss database lookup.
15298         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15300
15301 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15302
15303         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15304
15305 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15306
15307         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15308         ${Bash-specific parameter/pattern/string} parameter expansion.
15309         * sysdeps/unix/make-syscalls.sh: Likewise.
15310
15311 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15312
15313         * sysdeps/sh/stackguard-macros.h: New file.
15314
15315 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15316
15317         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15319         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15320         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15321         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15322         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15323
15324 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15325
15326         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15327         Fix thread ID register.
15328
15329 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15330
15331         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15332         [POSIX || UNIX98]: Require rather than permitting all symbols from
15333         <time.h>.
15334         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15335         element of struct sched_param.
15336         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15337         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15338         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15339         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15340         constant.
15341
15342 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15343
15344         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15345         argument calculation.
15346
15347 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15348
15349         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15350         Expect macro.
15351         [POSIX] (pthread_attr_t): Do not require type.
15352         [POSIX] (pthread_cond_t): Likewise.
15353         [POSIX] (pthread_condattr_t): Likewise.
15354         [POSIX] (pthread_key_t): Likewise.
15355         [POSIX] (pthread_mutex_t): Likewise.
15356         [POSIX] (pthread_mutexattr_t): Likewise.
15357         [POSIX] (pthread_once_t): Likewise.
15358         [POSIX] (pthread_t): Likewise.
15359         [POSIX-based standards] (pthread_atfork): Expect function.
15360
15361 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15362             Richard Sandiford  <richard@codesourcery.com>
15363
15364         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15365         (swap_endianness_p): New extern variable.
15366         (set_big_endian): New inline function.
15367         (maybe_swap_uint32): Likewise.
15368         (maybe_swap_uint32_array): Likewise.
15369         (maybe_swap_uint32_obstack): Likewise.
15370         * locale/programs/locfile.c: Include <stdbool.h>.
15371         (swap_endianness_p): New variable.
15372         (add_locale_uint32): Call maybe_swap_uint32.
15373         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15374         (write_locale_data): Call maybe_swap_uint32_array.
15375         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15376         maybe_swap_uint32.
15377         (obstack_int32_grow_fast): Likewise.
15378         (output_weightwc): Call maybe_swap_uint32_obstack.
15379         (collate_output): Likewise.
15380         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15381         (OPT_LITTLE_ENDIAN): Likewise.
15382         (options): Add --little-endian and --big-endian options.
15383         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15384         * locale/programs/locarchive.c: Include "locfile.h".
15385         (GET): New macro.
15386         (SET): Likewise.
15387         (INC): Likewise.
15388         (create_archive): Use the new macros to access fields of
15389         structures directly mapped from or written to locale archives.
15390         (oldlocrecentcmp): Likewise.
15391         (enlarge_archive): Likewise.
15392         (insert_name): Likewise.
15393         (add_alias): Likewise.
15394         (add_locale): Likewise.
15395         (delete_locales_from_archive): Likewise.
15396         (show_archive_content): Likewise.
15397         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15398         locale data.
15399
15400 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15401
15402         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15403         http://www.gnu.org/doc/freemanuals.texi.
15404         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15405
15406 2013-09-24  Will Newton  <will.newton@linaro.org>
15407
15408         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15409         macro.
15410
15411 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15412
15413         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15414         unsigned char.
15415
15416 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15417
15418         * manual/threads.texi (POSIX Threads): Fix a typo.
15419
15420 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15421
15422         [BZ #14547]
15423         * string/tst-strcoll-overflow.c: New test case.
15424         * string/Makefile (xtests): Add tst-strcoll-overflow.
15425         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15426         cache if string sizes may cause integer overflow.
15427
15428         [BZ #14547]
15429         * string/strcoll_l.c (coll_seq): New members rule, idx,
15430         save_idx and back_us.
15431         (get_next_seq_nocache): New function.
15432         (do_compare_nocache): New function.
15433         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15434         when malloc fails.
15435
15436 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15437
15438         [BZ #15754]
15439         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15440         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15441         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15442
15443         [BZ #15754]
15444         * elf/Makefile (tests): Add tst-ptrguard1.
15445         (tests-static): Add tst-ptrguard1-static.
15446         (tst-ptrguard1-ARGS): Define.
15447         (tst-ptrguard1-static-ARGS): Define.
15448         * elf/tst-ptrguard1.c: New file.
15449         * elf/tst-ptrguard1-static.c: New file.
15450         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15451         * sysdeps/i386/stackguard-macros.h: Likewise.
15452         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15453         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15454         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15455         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15456         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15457         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15458
15459 2013-09-23  Hector Marco  <hecmargi@upv.es>
15460             Ismael Ripoll  <iripoll@disca.upv.es>
15461             Carlos O'Donell  <carlos@redhat.com>
15462
15463         [BZ #15754]
15464         * sysdeps/generic/stackguard-macros.h: Define
15465         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15466         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15467         Define __pointer_chk_guard_local.
15468         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15469         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15470
15471 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15472
15473         [BZ #15859]
15474         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15475
15476 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15477
15478         * include/string.h (__ffs): Declare as hidden.
15479         * string/ffs.c (__ffs): Define as hidden.
15480         * sysdeps/i386/ffs.c (__ffs): Likewise.
15481         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15482         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15483         * sysdeps/s390/ffs.c (__ffs): Likewise.
15484         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15485
15486 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15487
15488         * NEWS: Mention malloc probes.
15489
15490         * malloc/arena.c (new_heap): New memory_heap_new probe.
15491         (grow_heap): New memory_heap_more probe.
15492         (shrink_heap): New memory_heap_less probe.
15493         (heap_trim): New memory_heap_free probe.
15494         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15495         (systrim): New memory_sbrk_less probe.
15496         * manual/probes.texi: Document them.
15497
15498         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15499         * manual/probes.texi: Document it.
15500
15501         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15502         (__libc_realloc): Add memory_realloc_retry probe.
15503         (__libc_memalign): Add memory_memalign_retry probe.
15504         (__libc_valloc): Add memory_valloc_retry probe.
15505         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15506         (__libc_calloc): Add memory_calloc_retry probe.
15507         * manual/probes.texi: Document them.
15508
15509         * malloc/arena.c (get_free_list): Add probe
15510         memory_arena_reuse_free_list.
15511         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15512         and memory_arena_reuse.
15513         (arena_get2) [!PER_THREAD]: Likewise.
15514         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15515         memory_arena_reuse_realloc.
15516         * manual/probes.texi: Document them.
15517
15518         * malloc/malloc.c (__libc_free): Add
15519         memory_mallopt_free_dyn_thresholds probe.
15520         (__libc_mallopt): Add multiple memory_mallopt probes.
15521         * manual/probes.texi: Document them.
15522
15523         * malloc/malloc.c: Include stap-probe.h.
15524         (__libc_mallopt): Add memory_mallopt probe.
15525         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15526         * manual/probes.texi: New.
15527         * manual/Makefile (chapters): Add probes.
15528         * manual/threads.texi: Set next node.
15529
15530 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15531
15532         [BZ #15963, #13985]
15533         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15534         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15535         Add `Chinese' to `nan' entry name.
15536
15537 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15538
15539         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15540         (POLYNOMIAL): Likewise.
15541         (TAYLOR_SINCOS): Likewise.
15542         (TAYLOR_SLOW): Likewise.
15543         (__sin): Use TAYLOR_SINCOS.
15544         (__cos): Likewise.
15545         (slow): Use TAYLOR_SLOW.
15546         (sloww): Likewise.
15547         (bsloww): Likewise.
15548         (csloww): Likewise.
15549
15550 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15551
15552         * stdlib/strtod_l.c: Fix buffer overrun.
15553
15554 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15555
15556         * benchtests/Makefile (bench): Add sincos.
15557         * benchtests/bench-sincos.c: New file.
15558
15559         * math/libm-test.inc (cos_test_data): New test inputs.
15560         (sin_test_data): Likewise.
15561
15562         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15563         macro.
15564         (__sin): Use it.
15565         (__cos): Likewise.
15566         (slow1): Likewise.
15567         (slow2): Likewise.
15568         (sloww1): Likewise.
15569         (sloww2): Likewise.
15570         (bsloww1): Likewise.
15571         (bsloww2): Likewise.
15572         (cslow2): Likewise.
15573         (csloww1): Likewise.
15574         (csloww2): Likewise.
15575
15576         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15577         function.
15578         (__sin): Use it.
15579         (__cos): Likewise.
15580
15581         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15582         gotos.
15583         (__cos): Likewise.
15584
15585 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15586
15587         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15588         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15589         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15590         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15591         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15592         * elf/cache.c (print_entry): Handle the new cache flags.
15593
15594 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15595             Aldy Hernandez  <aldyh@redhat.com>
15596
15597         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15598         Change condition to [_SOFT_FLOAT].
15599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15611         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15614         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15615         declaration.
15616
15617 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15618
15619         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15620         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15621         (__longjmp): Use LOAD_GP to load saved GPRs.
15622         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15623         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15624         (__sigsetjmp): Use SAVE_GP to save GPRs.
15625
15626         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15627         Do not append -msoft-float.
15628         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15629
15630 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15631
15632         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15633
15634 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15635
15636         [BZ #15966]
15637         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15638         (_FPU_GETCW): Use initial "__" on variable and field names but not
15639         on macro parameter name.
15640         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15641         parentheses around reference to macro parameter.
15642
15643 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15644
15645         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15646         prototype.
15647         (ctype_startup): Use uint32_t in cast and sizeof for
15648         ctype->charnames.
15649
15650 2013-09-11  Jia Liu  <proljc@gmail.com>
15651
15652         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15653         __daddr_t_defined.
15654         [__FreeBSD__]: Likewise.
15655
15656 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15657
15658         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15659         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15660         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15661         (strchr): Remove __strchr_sse42 ifunc selection.
15662         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15663         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15664
15665 2013-09-11  Will Newton  <will.newton@linaro.org>
15666
15667         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15668         parameter to RES. Remove hardcoded 1000 value.
15669         * benchtests/bench-skeleton.c (main): Pass RES parameter
15670         to TIMING_INIT and multiply result by 1000.
15671
15672 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15673
15674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15675
15676 2013-09-11  Andreas Schwab  <schwab@suse.de>
15677
15678         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15679         if not defined.
15680         (O_TMPFILE) [__USE_GNU]: Define.
15681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15682         Define.
15683
15684 2013-09-11  Will Newton  <will.newton@linaro.org>
15685
15686         [BZ #15857]
15687         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15688         does not overflow.
15689
15690 2013-09-11  Will Newton  <will.newton@linaro.org>
15691
15692         [BZ #15856]
15693         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15694         does not overflow.
15695
15696 2013-09-11  Will Newton  <will.newton@linaro.org>
15697
15698         [BZ #15855]
15699         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15700         does not overflow.
15701
15702 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15703
15704         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15705         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15706         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15707         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15708         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15709
15710 2013-09-10  Allan McRae  <allan@archlinux.org>
15711
15712         [BZ #15748]
15713         * manual/arith.texi (Parsing of Floats): Clarify
15714         cross-reference.
15715
15716         [BZ #15849]
15717         * manual/install.texi (Running make install): Mention
15718         --enable-pt-chown.
15719         * INSTALL: Regenerated.
15720
15721 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15722
15723         * csu/init-first.c (_init): Remove the !SHARED condition around
15724         FPU control word initialization.
15725         * elf/dl-support.c (_dl_fpu_control): New variable.
15726         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15727         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15728         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15729         * math/test-fpucw-static.c: New file.
15730         * math/test-fpucw-ieee.c: New file.
15731         * math/test-fpucw-ieee-static.c: New file.
15732         * math/Makefile (tests): Add `test-fpucw-ieee' and
15733         `$(tests-static)'.
15734         (tests-static): New variable.
15735         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15736         dependency to...
15737         [($(build-shared),yes)]
15738         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15739         ... this.
15740         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15741         New dependency.
15742
15743 2013-09-09  Allan McRae  <allan@archlinux.org>
15744
15745         [BZ #15939]
15746         * manual/string.texi (Collation Functions): Fix typo in
15747         strcoll example.
15748         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15749
15750         [BZ #15893]
15751         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15752
15753         [BZ #15892]
15754         * libio/memstream.c (open_memstream): Fix memory leak.
15755         * libio/wmemstream.c (open_wmemstream): Likewise.
15756
15757         [BZ #15895]
15758         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15759
15760 2013-09-09  Will Newton  <will.newton@linaro.org>
15761
15762         * malloc/Makefile: Add tst-realloc to tests.
15763         * malloc/tst-realloc.c: New file.
15764
15765 2013-09-09  Allan McRae  <allan@archlinux.org>
15766
15767         [BZ #15844]
15768         * COPYING: Update from GNU website to fix FSF address.
15769         * COPYING.LIB: Likewise.
15770
15771 2013-09-06  David S. Miller  <davem@davemloft.net>
15772
15773         * po/zh_TW.po: Update Chinese (traditional) translation from
15774         translation project.
15775
15776 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15777             Joseph Myers  <joseph@codesourcery.com>
15778
15779         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15780         "localeinfo.h".
15781         (obstack_chunk_alloc): New macro.
15782         (obstack_chunk_free): Likewise.
15783         (record_offset): New function.
15784         (init_locale_data): Likewise.
15785         (align_locale_data): Likewise.
15786         (add_locale_empty): Likewise.
15787         (add_locale_raw_data): Likewise.
15788         (add_locale_raw_obstack): Likewise.
15789         (add_locale_string): Likewise.
15790         (add_locale_wstring): Likewise.
15791         (add_locale_uint32): Likewise.
15792         (add_locale_uint32_array): Likewise.
15793         (add_locale_char): Likewise.
15794         (start_locale_structure): Likewise.
15795         (end_locale_structure): Likewise.
15796         (start_locale_prelude): Likewise.
15797         (end_locale_prelude): Likewise.
15798         (write_locale_data): Take locale_file structure rather than an
15799         iovec.
15800         * locale/programs/locfile.h: Include "obstack.h".
15801         (struct locale_file): Change to store locale file contents instead
15802         of header.
15803         (init_locale_data): New prototype.
15804         (align_locale_data): Likewise.
15805         (add_locale_empty): Likewise.
15806         (add_locale_raw_data): Likewise.
15807         (add_locale_raw_obstack): Likewise.
15808         (add_locale_string): Likewise.
15809         (add_locale_wstring): Likewise.
15810         (add_locale_uint32): Likewise.
15811         (add_locale_uint32_array): Likewise.
15812         (add_locale_char): Likewise.
15813         (start_locale_structure): Likewise.
15814         (end_locale_structure): Likewise.
15815         (start_locale_prelude): Likewise.
15816         (end_locale_prelude): Likewise.
15817         (write_locale_data): Update prototype.
15818         * locale/programs/3level.h (struct TABLE): Remove result field.
15819         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15820         Use new locale_file interface.
15821         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15822         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15823         * locale/programs/ld-address.c (address_output): Use new
15824         locale_file interface.
15825         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15826         NO_ADD_LOCALE.
15827         (collate_finish): Don't call collseq_table_finalize.
15828         (collate_output): Use new locale_file interface.
15829         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15830         in file.
15831         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15832         (TABLE): Move defines earlier in file.
15833         (ELEMENT): Likewise.
15834         (DEFAULT): Likewise.
15835         (wctrans_table_add): Move macro and inline function earlier in
15836         file.
15837         (struct wctype_table): Move type earlier in file.
15838         (add_locale_wctype_table): New static prototype.
15839         (struct locale_ctype_t): Use logical types instead of struct iovec
15840         pointers for members.
15841         (ctype_output): Use new locale_file interface.
15842         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15843         new locale_file interface.
15844         (allocate_arrays): Update for use of new locale_file interface.
15845         * locale/programs/ld-identification.c (identification_output): Use
15846         new locale_file interface.
15847         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15848         * locale/programs/ld-messages.c (messages_output): Likewise.
15849         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15850         * locale/programs/ld-name.c (name_output): Likewise.
15851         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15852         * locale/programs/ld-paper.c (paper_output): Likewise.
15853         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15854         * locale/programs/ld-time.c (time_output): Likewise.
15855
15856 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15857
15858         * benchtests/Makefile: Add memrchr benchmark.
15859         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15860         benchmark as memrchr.
15861         * benchtests/bench-memrchr-ifunc.c: New file.
15862         * benchtests/bench-memrchr.c: New file.
15863
15864 2013-09-06   Will Newton  <will.newton@linaro.org>
15865
15866         * benchtests/Makefile (string-bench): Add memcpy.
15867
15868 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15869             Cong Wang  <amwang@redhat.com>
15870
15871         [BZ #15850]
15872         * sysdeps/unix/sysv/linux/bits/in.h
15873         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15874         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15875         before __USE_KERNEL_IPV6_DEFS uses.
15876         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15877         IPPROTO_BEETPH.
15878         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15879         sockaddr_in6, or ipv6_mreq.
15880
15881 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15882
15883         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15884         memory access for final bytes in some large inputs.
15885         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15886
15887 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15888
15889         * string/test-memrchr.c: New file.
15890         * string/test-memrchr-ifunc.c: New file.
15891         * string/Makefile: Add new memrchr testcase.
15892
15893 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15894
15895         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15896         fanotify_init returns EPERM.
15897
15898 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15899
15900         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15901         errors.
15902         (top level): Treat second token from macro or constant entries for
15903         allowed headers as allowed.
15904         * include/complex.h: Condition internal declarations on
15905         [!_ISOMAC].
15906         * include/fenv.h: Condition include of <stdbool.h> and internal
15907         declarations on [!_ISOMAC].
15908
15909 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15910
15911         [BZ #15923]
15912         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15913
15914 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15915
15916         * configure.in (--enable-versioning): Remove configure option.
15917         (libc_cv_asm_symver_directive): Remove configure test.
15918         (libc_cv_ld_version_script_option): Likewise.
15919         (VERSIONING): Remove variable and AC_SUBST.
15920         (DO_VERSIONING): Remove AC_DEFINE.
15921         * configure: Regenerated.
15922         * config.h.in (DO_VERSIONING): Remove macro.
15923         * Makerules [$(versioning) = yes]: Change conditionals to
15924         [$(build-shared) = yes].
15925         * config.make.in (versioning): Remove variable.
15926         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15927         [$(build-shared) = yes].
15928         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15929         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15930         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15931         [$(build-shared) = yes].
15932         * extra-lib.mk [$(versioning) = yes]: Likewise.
15933         * hurd/Makefile [$(versioning) = yes]: Likewise.
15934         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15935         [SHARED].
15936         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15937         [SHARED].
15938         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15939         [SHARED && !NO_HIDDEN].
15940         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15941         [SHARED].
15942         [SHARED && DO_VERSIONING]: Likewise..
15943         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15944         [$(build-shared) = yes].
15945         * manual/install.texi (--disable-versioning): Remove
15946         documentation.
15947         * INSTALL: Regenerated.
15948         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15949         to [SHARED].
15950         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15951         [$(build-shared) = yes].
15952         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15953         * sysdeps/i386/i686/multiarch/strstr-c.c
15954         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15955         [SHARED && !NO_HIDDEN].
15956         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15957         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15958         * sysdeps/powerpc/powerpc32/dl-machine.c
15959         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15960         * sysdeps/powerpc/powerpc32/sysdep.h
15961         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15962         to [SHARED && PIC && !NO_HIDDEN].
15963         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15964         conditional to [SHARED].
15965
15966 2013-09-04   Will Newton  <will.newton@linaro.org>
15967
15968         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15969         * benchtests/bench-string.h: Include bench-timing.h instead
15970         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15971         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15972         call to HP_TIMING_DIFF_INIT.
15973         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15974         instead of hp-timing.h macros.
15975         * benchtests/bench-memchr.c: Likewise.
15976         * benchtests/bench-memcmp.c: Likewise.
15977         * benchtests/bench-memcpy.c: Likewise.
15978         * benchtests/bench-memmem.c: Likewise.
15979         * benchtests/bench-memmove.c: Likewise.
15980         * benchtests/bench-memset.c: Likewise.
15981         * benchtests/bench-rawmemchr.c: Likewise.
15982         * benchtests/bench-strcasecmp.c: Likewise.
15983         * benchtests/bench-strcasestr.c: Likewise.
15984         * benchtests/bench-strcat.c: Likewise.
15985         * benchtests/bench-strchr.c: Likewise.
15986         * benchtests/bench-strcmp.c: Likewise.
15987         * benchtests/bench-strcpy.c: Likewise.
15988         * benchtests/bench-strcpy_chk.c: Likewise.
15989         * benchtests/bench-strlen.c: Likewise.
15990         * benchtests/bench-strncasecmp.c: Likewise.
15991         * benchtests/bench-strncat.c: Likewise.
15992         * benchtests/bench-strncmp.c: Likewise.
15993         * benchtests/bench-strncpy.c: Likewise.
15994         * benchtests/bench-strnlen.c: Likewise.
15995         * benchtests/bench-strpbrk.c: Likewise.
15996         * benchtests/bench-strrchr.c: Likewise.
15997         * benchtests/bench-strspn.c: Likewise.
15998         * benchtests/bench-strstr.c: Likewise.
15999
16000 2013-09-04  Will Newton  <will.newton@linaro.org>
16001
16002         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16003
16004 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16005
16006         [BZ #15427]
16007         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16008         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16009         * math/libm-test.inc (lgamma_test_data): Add more tests.
16010         * sysdeps/i386/fpu/libm-test-ulps: Update.
16011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16012
16013 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16014
16015         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16016         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16017         Add ifunc.
16018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16019         Add strcmp-sse2-unaligned
16020         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16021
16022 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16023
16024         * Versions.def (libc): Add GLIBC_2.19.
16025
16026 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16027
16028         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16029         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16030
16031 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16032
16033         [BZ #14155]
16034         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16035         intermediate calculations in recurrence.
16036         (__ieee754_ynf): Likewise.
16037         * math/libm-test.inc (jn_test_data): Do not allow spurious
16038         underflow exception.  Add more tests.
16039         (yn_test_data): Add more tests.
16040         * sysdeps/i386/fpu/libm-test-ulps: Update.
16041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16042
16043 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16044
16045         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16046
16047 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16048
16049         * csu/init-first.c: Fix then/than typos.
16050         * locale/programs/ld-collate.c: Likewise.
16051         * locale/programs/linereader.h: Likewise.
16052         * manual/charset.texi: Likewise.
16053         * manual/filesys.texi: Likewise.
16054         * manual/stdio.texi: Likewise.
16055         * manual/string.texi: Likewise.
16056         * stdlib/fmtmsg.c: Likewise.
16057         * sysdeps/i386/stpncpy.S: Likewise.
16058         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16059         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16060         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16061         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16062
16063 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16064
16065         * elf/dl-open.c: Fix typos.
16066         * iconvdata/gbbig5.c: Likewise.
16067         * iconvdata/iso-2022-jp.c: Likewise.
16068         * iconv/gconv_int.h: Likewise.
16069         * iconv/loop.c: Likewise.
16070         * nis/rpcsvc/nis.h: Likewise.
16071         * resolv/ns_name.c: Likewise.
16072         * stdio-common/vfscanf.c: Likewise.
16073         * streams/stropts.h: Likewise.
16074         * sunrpc/rpc_thread.c: Likewise.
16075         * sysdeps/i386/strpbrk.S: Likewise.
16076         * sysdeps/ieee754/k_standard.c: Likewise.
16077         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16078         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16079         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16080         * sysdeps/mach/hurd/profil.c: Likewise.
16081         * sysdeps/s390/dl-procinfo.h: Likewise.
16082         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16083         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16084         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16085         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16086         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16087
16088 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16089
16090         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16091         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16092
16093 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16094
16095         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16096         aix specific files.
16097         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16098         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16099         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16100         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16101         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16102         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16103         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16104         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16105
16106 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16107             Roland McGrath  <roland@hack.frob.com>
16108
16109         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16110         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16111
16112 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16113
16114         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16115         __executable_start symbol instead of _start.
16116
16117 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16118
16119         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16120         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16121         Move macros to...
16122         * sysdeps/gnu/ldsodefs.h: ... this new file.
16123
16124         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16125         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16126         instead of ELFOSABI_LINUX.
16127
16128         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16129         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16130         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16131         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16132         Likewise.
16133         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16134         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16135         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16136         Likewise.
16137         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16138         (ibm_extended_long_double): Add ieee_nan member.
16139         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16140         (do_test): New function.
16141
16142         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16143         TEST_TRUNC.
16144         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16145         functions, renamed from truncdfsf_test, trunctfsf_test,
16146         trunctfdf_test.
16147         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16148         functions.
16149         (do_test): Run all these.
16150
16151 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16152
16153         * argp/argp-help.c: Fix typos.
16154         * argp/argp-parse.c: Likewise.
16155         * debug/backtracesyms.c: Likewise.
16156         * elf/elf.h: Likewise.
16157         * malloc/malloc.c: Likewise.
16158         * nis/nis_print.c: Likewise.
16159         * resolv/res_comp.c: Likewise.
16160         * stdlib/stdlib.h: Likewise.
16161         * sunrpc/clnt_tcp.c: Likewise.
16162         * sunrpc/clnt_udp.c: Likewise.
16163         * sunrpc/clnt_unix.c: Likewise.
16164         * sysdeps/unix/bsd/ptsname.c: Likewise.
16165         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16166         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16168         Likewise.
16169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16170         Likewise.
16171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16172         Likewise.
16173         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16174
16175 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16176
16177         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16179
16180 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16181
16182         [BZ #15897]
16183         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16184         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16185         ($(objpfx)bug-dl-leaf): New rule.
16186         ($(objpfx)bug-dl-leaf.so): Likewise.
16187         ($(objpfx)bug-dl-leaf.out): Likewise.
16188         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16189         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16190         * dlfcn/bug-dl-leaf.c: New test.
16191         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16192         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16193         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16194         (dlclose): Likewise.
16195         (dlmopen): Likewise.
16196
16197 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16198
16199         * include/netdb.h [!_ISOMAC]:
16200         Don't include <tls.h>.
16201         (h_errno, __libc_h_errno): Move declaration and macros out of
16202         [_LIBC_REENTRANT].
16203
16204         * include/resolv.h [_RESOLV_H_]:
16205         Don't include <tls.h>.
16206         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16207         * resolv/res_libc.c: Don't include <tls.h>.
16208         (_res): Use __attribute__ ((nocommon)) in place of
16209         __attribute__ ((section (".bss"))).
16210
16211         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16212         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16213
16214         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16215
16216         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16217         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16218
16219         * resolv/res_mkquery.c: Include <sys/time.h>.
16220
16221         * inet/ifreq.c: Moved to ...
16222         * sysdeps/unix/ifreq.c: ... here.
16223         * inet/ifreq.c: New file, true stub version.
16224
16225         * socket/sa_len.c: New file.
16226         * socket/Makefile (aux): Add it.
16227         * sysdeps/unix/sysv/linux/Makefile
16228         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16229         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16230         and #include <socket/sa_len.c>.
16231         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16232         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16233
16234         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16235         * bits/socket.h: ... here.
16236
16237         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16238         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16239         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16240
16241 2013-08-27  Andreas Schwab  <schwab@suse.de>
16242
16243         [BZ #15736]
16244         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16245         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16246         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16247         * string/test-strcasecmp.c (test_main): Run tests in several
16248         locales.
16249         * string/test-strncasecmp.c (test_main): Likewise.
16250
16251         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16252         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16253         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16254         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16255         (__strncasecmp_ssse3) [PIC]: Likewise.
16256
16257 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16258
16259         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16260
16261         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16262         instead of explicitly declaring xdecrypt.
16263         * nis/nss_nis/nis-publickey.c: Likewise.
16264
16265 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16266
16267         [BZ #15890]
16268         * nscd/aicache.c: Include res_hconf.h.
16269         (addhstaiX): Initialize res_hconf.
16270
16271 2013-08-26  Andreas Schwab  <schwab@suse.de>
16272
16273         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16274         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16275
16276 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16277
16278         * nscd/aicache.c (addhstaiX): Fix indentation.
16279
16280 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16281
16282         * configure.ac: Quote $build_pt_chown test.
16283         * configure: Regenerated.
16284
16285 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16286
16287         [BZ #15532]
16288         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16289         * math/s_cexpf.c (__cexpf): Likewise.
16290         * math/s_cexpl.c (__cexpl): Likewise.
16291         * math/libm-test.inc (cexp_test_data): Correct expected return
16292         value for NaN + i0.  Add another test.
16293
16294 2013-08-22  David S. Miller  <davem@davemloft.net>
16295
16296         * po/ca.po: Update Catalan translation from translation project.
16297         * po/uk.po: Add Ukrainian translations from translation project.
16298
16299 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16300
16301         [BZ #15797]
16302         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16303         is infinite, not alongside NaN test.
16304         * math/s_fdimf.c (__fdimf): Likewise.
16305         * math/s_fdiml.c (__fdiml): Likewise.
16306         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16307         errno is unchanged.
16308
16309 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16310
16311         * argp/argp-help.c: Fix typos.
16312         * crypt/speeds.c: Likewise.
16313         * csu/check_fds.c: Likewise.
16314         * elf/dl-load.c: Likewise.
16315         * elf/dl-open.c: Likewise.
16316         * elf/reldep3.c: Likewise.
16317         * elf/reldep.c: Likewise.
16318         * elf/sprof.c: Likewise.
16319         * iconv/iconv_charmap.c: Likewise.
16320         * iconv/skeleton.c: Likewise.
16321         * iconv/strtab.c: Likewise.
16322         * io/lockf64.c: Likewise.
16323         * libio/libioP.h: Likewise.
16324         * resolv/gai_notify.c: Likewise.
16325         * resolv/ns_name.c: Likewise.
16326         * resolv/ns_samedomain.c: Likewise.
16327         * resolv/res_send.c: Likewise.
16328         * stdlib/random.c: Likewise.
16329         * sunrpc/rpc/xdr.h: Likewise.
16330         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16331         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16332         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16333         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16334         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16335         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16336         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16337         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16338         * sysdeps/mach/hurd/check_fds.c: Likewise.
16339         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16340         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16341         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16342         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16343         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16344         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16345         * sysdeps/pthread/aio_notify.c: Likewise.
16346         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16347         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16348         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16349         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16350         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16351
16352 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16353
16354         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16355         version if bit_Slow_SSE4_2 is set.
16356         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16357         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16358
16359 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16360
16361         [BZ #15867]
16362         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16363         trampoline stack frame information.
16364         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16365         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16366         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16367         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16368         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16369         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16370         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16371         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16372         sa_flags value.
16373         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16374         interrupting a syscall and set with option SA_SIGINFO.
16375
16376 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16377
16378         [BZ #15531]
16379         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16380         argument is infinite.
16381         * math/s_cprojf.c (__cprojf): Likewise.
16382         * math/s_cprojl.c (__cprojl): Likewise.
16383         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16384         * math/libm-test.inc (cproj_test_data): Add more tests.
16385
16386         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16387
16388         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16389         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16390         size.  Use __ffs to determine corresponding shift.
16391
16392 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16393             Roland McGrath  <roland@hack.frob.com>
16394
16395         * Makefile (INSTALL): Remove trailing blank lines from output of
16396         makeinfo.
16397
16398 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16399
16400         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16401         Align 32 bit compat elf_greg to 8 bytes.
16402
16403 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16404
16405         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16406
16407 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16408
16409         * string/strcoll_l.c (coll_seq): New structure.
16410         (get_next_seq_cached): New function.
16411         (get_next_seq): New function.
16412         (do_compare): New function.
16413         (STRCOLL): Use GNU style definition.  Simplify implementation
16414         by using get_next_seq, get_next_seq_cached and do_compare.
16415
16416 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16417
16418         [BZ #14699]
16419         CVE-2013-4237
16420         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16421         member.
16422         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16423         member.
16424         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16425         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16426         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16427         conditional.
16428         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16429         GETDENTS_64BIT_ALIGNED.
16430         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16431         * manual/filesys.texi (Reading/Closing Directory): Document
16432         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16433         strongly.
16434         * manual/conf.texi (Limits for Files): Add portability note to
16435         NAME_MAX, PATH_MAX.
16436         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16437
16438 2013-08-13  Andreas Schwab  <schwab@suse.de>
16439
16440         [BZ #15749]
16441         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16442         of fabs.
16443         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16444         LDBL_MAX_EXP >= 16384]: Add tests for it.
16445
16446 2013-08-12  David S. Miller  <davem@davemloft.net>
16447
16448         * version.h (RELEASE): Set to "development".
16449         (VERSION): Set to "2.18.90".
16450         * NEWS: Add 2.19 section.
16451
16452 2013-08-03  David S. Miller  <davem@davemloft.net>
16453
16454         * po/ko.po: Update Korean translation from translation project.
16455
16456 2013-08-01  David S. Miller  <davem@davemloft.net>
16457
16458         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16459         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16460         Bilka.
16461
16462 2013-07-30  David S. Miller  <davem@davemloft.net>
16463
16464         * po/fr.po: Update French translation from translation project.
16465
16466 2013-07-28  David S. Miller  <davem@davemloft.net>
16467
16468         * po/cs.po: Update Czech translation from translation project.
16469
16470         * po/sv.po: Update Swedish translation from translation project.
16471
16472 2013-07-27  David S. Miller  <davem@davemloft.net>
16473
16474         * po/eo.po: Update Esperanto translation from translation project.
16475
16476         * po/vi.po: Update Vietnamese translation from translation project.
16477
16478         * po/de.po: Update German translation from translation project.
16479
16480 2013-07-26  David S. Miller  <davem@davemloft.net>
16481
16482         * po/bg.po: Update Bulgarian translation from translation project.
16483
16484         * po/nl.po: Update Dutch translation from translation project.
16485         * po/pl.po: Update Polish translation from translation project.
16486         * po/ru.po: Update Russian translation from translation project.
16487
16488 2013-07-24  David S. Miller  <davem@davemloft.net>
16489
16490         * po/libc.pot: Update.
16491
16492 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16493
16494         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16495         variable page size.
16496         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16497         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16498         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16499
16500 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16501
16502         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16503
16504 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16505             Andreas Schwab  <schwab@suse.de>
16506             Roland McGrath  <roland@hack.frob.com>
16507             Joseph Myers  <joseph@codesourcery.com>
16508             Carlos O'Donell  <carlos@redhat.com>
16509
16510         [BZ #15755]
16511         * config.h.in: Define HAVE_PT_CHOWN.
16512         * config.make.in (build-pt-chown): New variable.
16513         * configure.in (--enable-pt_chown): New configure option.
16514         * configure: Regenerate.
16515         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16516         build-pt-chown is enabled.
16517         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16518         pt_chown to fix pty ownership.
16519         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16520         CLOSE_ALL_FDS.
16521         * manual/install.texi (Configuring and compiling): Mention
16522         --enable-pt_chown. Add @findex for grantpt.
16523         * INSTALL: Regenerate.
16524
16525 2013-07-20  David S. Miller  <davem@davemloft.net>
16526
16527         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16528         difference between 32-bit and 64-bit.
16529
16530 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16531
16532         [BZ #15711]
16533         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16534         Avoid system header dependency with -ffreestanding.
16535         ($(objpfx)bits/syscall%d): Likewise.
16536
16537 2013-07-13  David S. Miller  <davem@davemloft.net>
16538
16539         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16540         underflows from atanl/atan2l due to bug 15319.
16541         (casinh_test_data): Likewise.
16542
16543 2013-07-07  David S. Miller  <davem@davemloft.net>
16544
16545         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16546
16547 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16548
16549         * sysdeps/i386/fpu/libm-test-ulps: Update.
16550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16551
16552 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16553
16554         * configure.in (--enable-lock-elision): Fix message text.
16555         * INSTALL: Regenerate.
16556         * configure: Regenerate.
16557
16558 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16559
16560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16561
16562 2013-07-03  Andreas Jaeger  <aj@suse.de>
16563
16564         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16565         define.
16566         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16567         (ptrace_peeksiginfo_args): Add.
16568         (__ptrace_peeksiginfo_flags): Add.
16569         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16570         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16571         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16572
16573 2013-07-03  Allan McRae  <allan@archlinux.org>
16574
16575         * sysdeps/i386/fpu/libm-test-ulps: Update.
16576
16577 2013-07-02  David S. Miller  <davem@davemloft.net>
16578
16579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16580
16581 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16582
16583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16584
16585 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16586
16587         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16589
16590 2013-07-02  Andi Kleen <ak@linux.intel.com>
16591
16592         * config.h.in (ENABLE_LOCK_ELISION): Add.
16593         * configure.in (--enable-lock-elision): Add option.
16594         * manual/install.texi: Document --enable lock elision.
16595         * configure: Regenerate
16596         * INSTALL: Regenerate.
16597
16598 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16599
16600         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16601         SSE4.2 strcasecmp for libc.a.
16602         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16603
16604 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16605
16606         [BZ #13304]
16607         * soft-fp/op-common.h (_FP_FMA): New macro.
16608         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16609         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16610         (_FP_MUL_MEAT_1_imm): ... here.
16611         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16612         (_FP_MUL_MEAT_1_wide): ... here.
16613         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16614         (_FP_MUL_MEAT_1_hard): ... here.
16615         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16616         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16617         (_FP_MUL_MEAT_2_wide): ... here.
16618         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16619         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16620         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16621         (_FP_MUL_MEAT_2_gmp): ... here.
16622         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16623         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16624         (_FP_MUL_MEAT_4_wide): ... here.
16625         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16626         (_FP_MUL_MEAT_4_gmp): ... here.
16627         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16628         (_FP_WFRACBITS_DW_S): Likewise.
16629         (_FP_WFRACXBITS_DW_S): Likewise.
16630         (_FP_HIGHBIT_DW_S): Likewise.
16631         (FP_FMA_S): Likewise.
16632         (_FP_FRAC_HIGH_DW_S): Likewise.
16633         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16634         (_FP_WFRACBITS_DW_D): Likewise.
16635         (_FP_WFRACXBITS_DW_D): Likewise.
16636         (_FP_HIGHBIT_DW_D): Likewise.
16637         (FP_FMA_D): Likewise.
16638         (_FP_FRAC_HIGH_DW_D): Likewise.
16639         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16640         (_FP_WFRACBITS_DW_E): Likewise.
16641         (_FP_WFRACXBITS_DW_E): Likewise.
16642         (_FP_HIGHBIT_DW_E): Likewise.
16643         (FP_FMA_E): Likewise.
16644         (_FP_FRAC_HIGH_DW_E): Likewise.
16645         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16646         (_FP_WFRACBITS_DW_Q): Likewise.
16647         (_FP_WFRACXBITS_DW_Q): Likewise.
16648         (_FP_HIGHBIT_DW_Q): Likewise.
16649         (FP_FMA_Q): Likewise.
16650         (_FP_FRAC_HIGH_DW_Q): Likewise.
16651         * soft-fp/fmasf4.c: New file.
16652         * soft-fp/fmadf4.c: Likewise.
16653         * soft-fp/fmatf4.c: Likewise.
16654
16655 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16656
16657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16658         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16659         Silvermont.
16660         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16661         macro.
16662         (index_Slow_SSE4_2): Likewise.
16663         (index_Prefer_PMINUB_for_stringop): Likewise.
16664         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16665         bit_Slow_SSE4_2 is set.
16666         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16667         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16668
16669 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16670
16671         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16672         rtld_global._dl_hwcap2.
16673         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16674         POWER8.
16675         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16676         POWER8 feature descriptions defined in _dl_hwcap2.
16677         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16678         string handling for POWER8 feature bits.
16679         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16680         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16681         _dl_powerpc_cap_flags.
16682         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16683         * sysdeps/powerpc/rtld-global-offsets.sym
16684         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16685         _dl_hwcap2 in the rtld_global_ro structure.
16686
16687 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16688
16689         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16690         hardware capabilities in support of AT_HWCAP2.
16691         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16692         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16693         GLRO(dl_hwcap2).
16694         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16695         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16696         explicitly the unknown a_type display mechanism is used.
16697         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16698         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16699         struct member.
16700         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16701         to macro prototype for AT_HWCAP2 support.
16702         * sysdeps/i386/dl-procinfo.h: Likewise.
16703         * sysdeps/s390/dl-procinfo.h: Likewise.
16704         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16705         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16706         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16707         return -1 for unknown a_type display fallback.
16708         * sysdeps/sparc/dl-procinfo.h: Likewise.
16709         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16710         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16711
16712 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16713
16714         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16715         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16716
16717 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16718
16719         [BZ #12492]
16720         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16721         mprotect making __stack_prot writable.
16722
16723 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16724             Joseph Myers  <joseph@codesourcery.com>
16725
16726         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16727         as being properly aligned.
16728
16729 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16730
16731         * dlfcn/modstatic5.c: New file.
16732         * dlfcn/tststatic5.c: New file.
16733         * dlfcn/Makefile (tests): Add tststatic5.
16734         (tests-static): Likewise.
16735         (modules-names): Add modstatic5.
16736         (tststatic5-ENV): New variable.
16737         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16738
16739         [BZ #15022]
16740         * elf/dl-support.c (_dl_main_map): New variable.
16741         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16742         (_dl_nns, _dl_load_adds): Set to 1.
16743         (_dl_initial_searchlist): Refer to _dl_main_map.
16744         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16745         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16746         call to _dl_get_origin.
16747         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16748         around call_map.
16749         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16750         * dlfcn/modstatic3.c: New file.
16751         * dlfcn/tststatic3.c: New file.
16752         * dlfcn/tststatic4.c: New file.
16753         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16754         (tests-static): Likewise.
16755         (modules-names): Add modstatic3.
16756         (tststatic3-ENV, tststatic4-ENV): New variables.
16757         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16758         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16759
16760 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16761
16762         * configure.in (CC): Require GCC version 4.4 or later.
16763         * configure: Regenerated.
16764         * manual/install.texi (Tools for Compilation): Update GCC version
16765         requirement.
16766         * INSTALL: Regenerated.
16767
16768 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16769
16770         [BZ #15674]
16771         * string/test-memcmp.c (check2): New.
16772         (main): Call check2.
16773
16774         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16775
16776 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16777
16778         [BZ #15022]
16779         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16780         over to...
16781         (dl_open_worker) [!SHARED]: ... here.
16782
16783 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16784
16785         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16786
16787 2013-06-25  Richard Henderson  <rth@redhat.com>
16788
16789         * locale/programs/locarchive.c: Include <libc-internal.h>
16790
16791 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16792
16793         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16794         trailing whitespace removed.
16795
16796 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16797
16798         [BZ #10283]
16799         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16800         * locale/programs/locarchive.c: Include libc-mmap.h.
16801         (prepare_address_space): Take two new outputs (the mmap base and len).
16802         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16803         values.
16804         (create_archive): Declare new mmap base and len values for
16805         prepare_address_space, and store the result in ah.
16806         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16807         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16808         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16809         Declare new mmap base and len values for
16810         prepare_address_space, and store the result in new_ah.
16811         (open_archive): Declare new mmap base and len values for
16812         prepare_address_space, and store the result in ah.
16813         (close_archive): If ah->mmap_base is not NULL, use that and
16814         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16815         * sysdeps/generic/libc-mmap.h: New file.
16816
16817 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16818
16819         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16820         (ALIGN_UP): Likewise.
16821         (PTR_ALIGN_DOWN): Likewise.
16822         (PTR_ALIGN_UP): Likewise.
16823
16824 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16825
16826         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16827         entry mapped to PPC_PLATFORM_POWER8.
16828         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16829         POWER8.
16830         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16831         (_dl_string_platform): Add case for exporting platform position for
16832         POWER8.
16833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16834         search path to sysdeps/powerpc/powerpc32/power8 directory.
16835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16836         search path to sysdeps/powerpc/powerpc64/power8 directory.
16837         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16838         power7 directories.
16839         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16840         power7 directories.
16841
16842 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16843
16844         * INSTALL: Regenerate.
16845
16846         * nscd/connections.c (nscd_init): Fix comment.
16847
16848 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16849
16850         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16851
16852         [BZ #15667]
16853         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16854         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16855
16856 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16857
16858         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16859         DL_DST_REQ_STATIC.
16860         (DL_DST_REQ_STATIC): Remove macro.
16861
16862 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16863
16864         [BZ #7006]
16865         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16866         with a shift of 0 bits.
16867
16868 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16869
16870         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16871         $(tststatic-ENV).
16872
16873 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16874
16875         [BZ #15655]
16876         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16877
16878 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16879
16880         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16881         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16882         accepts -fno-tree-loop-distribute-patterns.
16883         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16884         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16885         recursive call.
16886         * string/memset.c (memset): Likewise.
16887         * string/test-memmove.c (simple_memmove): Disable loop transformation
16888         to library calls.
16889         * string/test-memset.c (simple_memset): Likewise.
16890         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16891         * benchtests/bench-memset.c (simple_memset): Likewise.
16892         * configure: Regenerated.
16893
16894 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16895
16896         * math/test-misc.c (main): Ignore fesetround failure when failures
16897         of subsequent rounding tests would be ignored.
16898
16899         [BZ #15654]
16900         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16901         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16902         * math/fegetenv.c (__fegetenv): Return 0.
16903         * math/fegetexcept.c (fegetexcept): Return 0.
16904         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16905         FE_TONEAREST.
16906         * math/feholdexcpt.c (feholdexcept): Return 0.
16907         * math/fesetenv.c (__fesetenv): Return 0.
16908         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16909         argument FE_TONEAREST.
16910         * math/feupdateenv.c (__feupdateenv): Return 0.
16911         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16912
16913 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16914
16915         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16916         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16917         ($(objpfx)rtld-%.os rules): Use them.
16918
16919 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16920
16921         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16922         fields.
16923
16924 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16925
16926         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16927         length of target pattern, then descending length of dependency pattern.
16928         * configure.in (AWK): Require gawk 3.1.2 or newer.
16929         * manual/install.texi (Tools for Compilation): Say that we do.
16930         * configure: Regenerated.
16931
16932         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16933         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16934         * scripts/sysd-rules.awk: ... this new script.
16935         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16936         than a glob-style pattern.
16937
16938 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16939
16940         * math/test-misc.c (main): Do not treat incorrectly rounded
16941         conversions as failure unless ROUNDING_TESTS passes.
16942
16943 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16944
16945         [BZ #15631]
16946         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16947         restore exception state around main square root computation, then
16948         check for inexactness explicitly.
16949
16950         * math/libm-test.inc (fma_test_data): Add another test.
16951
16952 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16953
16954         * manual/threads.texi (Non-POSIX Extensions): New document
16955         node.  Document pthread_getattr_default_np and
16956         pthread_setattr_default_np.
16957
16958         * Versions.def (libpthread): Add GLIBC_2.18.
16959         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16961         Likewise.
16962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16963         Likewise.
16964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16965         Likewise.
16966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16967         Likewise.
16968         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16969         Likewise.
16970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16971         Likewise.
16972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16973         Likewise.
16974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16975         Likewise.
16976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16977         Likewise.
16978
16979 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16980
16981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16982         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16983
16984 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16985             H.J. Lu  <hjl.tools@gmail.com>
16986
16987         [BZ #15627]
16988         * sysdeps/x86_64/rtld-memset.c: Remove file.
16989         * sysdeps/x86_64/rtld-memset.S: New file.
16990
16991 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16992
16993         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16994         (test_in_one_mode): Take arguments for whether the rounding mode
16995         is supported for each floating-point type.
16996         (do_test): Pass new arguments to test_in_one_mode using
16997         ROUNDING_TESTS.
16998
16999 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17000
17001         * posix/tst-waitid.c (do_test): Distinguish different instances of
17002         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17003         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17004         before entering the kernel for waitpid.
17005
17006 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17007
17008         * NEWS: Fix note on clock function precision.  Text by Roland
17009         McGrath.
17010
17011 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17012
17013         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17014         it into place only when and if the sanity check passes.
17015
17016 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17017
17018         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17019         output for whether conversion result is exact.  Take argument
17020         indicating whether type is IBM long double.
17021         (round_for_all): Change need_exact field to ibm_ld.
17022         * stdlib/tst-strtod-round.c (struct exactness): New type.
17023         (struct test): Change bool ld_ok field to struct exactness exact.
17024         (TEST): Update all definitions for change to field.
17025         (tests): Regenerate array contents.
17026         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17027         field value.  Check for IBM long double here.
17028         (do_test): Update calls to test_in_one_mode.
17029
17030 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17031
17032         [BZ #12515]
17033         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17034         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17035
17036 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17037
17038         [BZ #15605]
17039         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17040         generated by the compiler on loop optimizations.
17041         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17042         general definitions.
17043
17044 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17045
17046         * math/bug-nextafter.c: Include <math-tests.h>.
17047         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17048         the relevant type.
17049         * math/bug-nexttoward.c: Include <math-tests.h>.
17050         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17051         the relevant type.
17052         * math/test-misc.c: Include <math-tests.h>.
17053         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17054         the relevant type.
17055
17056 2013-06-12  Andreas Jaeger  <aj@suse.de>
17057
17058         * po/ia.po: Update Interlingua translation from translation
17059         project.
17060
17061 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17062
17063         * include/fenv.h: Include stdbool.h.
17064         (struct rm_ctx): New structure.
17065         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17066         Define macro.
17067         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17068         (SET_RESTORE_ROUNDF): Likewise.
17069         (SET_RESTORE_ROUNDL): Likewise.
17070         (SET_RESTORE_ROUND_NOEX): Likewise.
17071         (SET_RESTORE_ROUND_NOEXF): Likewise.
17072         (SET_RESTORE_ROUND_NOEXL): Likewise.
17073         (SET_RESTORE_ROUND_53BIT): Likewise.
17074         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17075         (libc_feresetround_noexf_ctx): Likewise.
17076         (libc_feresetround_noexl_ctx): Likewise.
17077         (libc_feholdsetround_53bit_ctx): Likewise.
17078         (libc_feresetround_53bit_ctx): Likewise.
17079         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17080         (libc_feholdexcept_setround_sse_ctx): New function.
17081         (libc_fesetenv_sse_ctx): Likewise.
17082         (libc_feupdateenv_sse_ctx): Likewise.
17083         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17084         (libc_feholdexcept_setround_387_ctx): Likewise.
17085         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17086         (libc_feholdsetround_387_prec_ctx): Likewise.
17087         (libc_feholdsetround_387_ctx): Likewise.
17088         (libc_feholdsetround_387_53bit_ctx): Likewise.
17089         (libc_feholdsetround_sse_ctx): Likewise.
17090         (libc_feresetround_sse_ctx): Likewise.
17091         (libc_feresetround_387_ctx): Likewise.
17092         (libc_feupdateenv_387_ctx): Likewise.
17093         (libc_feholdexcept_setroundf_ctx): Define macro.
17094         (libc_fesetenvf_ctx): Likewise.
17095         (libc_feupdateenvf_ctx): Likewise.
17096         (libc_feholdsetroundf_ctx): Likewise.
17097         (libc_feresetroundf_ctx): Likewise.
17098         (libc_feholdexcept_setround_ctx): Likewise.
17099         (libc_fesetenv_ctx): Likewise.
17100         (libc_feupdateenv_ctx): Likewise.
17101         (libc_feholdsetround_ctx): Likewise.
17102         (libc_feresetround_ctx): Likewise.
17103         (libc_feholdexcept_setroundl_ctx): Likewise.
17104         (libc_feupdateenvl_ctx): Likewise.
17105         (libc_feholdsetroundl_ctx): Likewise.
17106         (libc_feresetroundl_ctx): Likewise.
17107         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17108         (libc_feresetround_53bit_ctx): Likewise.
17109
17110 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17111
17112         * locale/iso-639.def: Convert to UTF-8.
17113
17114 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17115
17116         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17117         (EXCEPTION_TESTS_double): Likewise.
17118         (EXCEPTION_TESTS_long_double): Likewise.
17119         (EXCEPTION_TESTS): Likewise.
17120         * math/libm-test.inc (test_exceptions): Only test exceptions if
17121         EXCEPTION_TESTS (FLOAT).
17122
17123 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17124
17125         * benchtests/Makefile (string-bench): Add strcpy_chk and
17126         stpcpy_chk.
17127         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17128         * benchtests/bench-stpcpy_chk.c: New file.
17129         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17130         * benchtests/bench-strcpy_chk.c: New file.
17131         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17132         code.
17133         (do_test): Likewise.
17134
17135 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17136
17137         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17138         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17139         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17140         with tabs where appropriate.
17141         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17142         dl-procinfo.h.
17143         [PPC_PLATFORM_PPC440]: Likewise.
17144         [PPC_PLATFORM_PPC464]: Likewise.
17145         [PPC_PLATFORM_PPC476]: Likewise.
17146         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17147         ppc464, and ppc476 platform strings merging from ports/
17148         dl-procinfo.h.
17149
17150 2013-06-11  Andreas Schwab  <schwab@suse.de>
17151
17152         [BZ #14991]
17153         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17154         (from_ucs4_idx): Regenerate.
17155         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17156         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17157         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17158         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17159         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17160         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17161         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17162         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17163         from FROM_LOOP and TO_LOOP specific macros.
17164         (BODY): Handle combining characters.
17165         * iconvdata/BIG5HKSCS.irreversible: Update.
17166         * iconvdata/BIG5HKSCS.precomposed: New file.
17167         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17168         characters.
17169         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17170
17171 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17172
17173         * include/sys/time.h: Fix indentation and add copyright header.
17174
17175         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17176         (do_test): Likewise.
17177         * string/test-memchr.c (do_one_test): Likewise.
17178         (do_test): Likewise.
17179         * string/test-memcmp.c (do_one_test): Likewise.
17180         (do_test): Likewise.
17181         * string/test-memcpy.c (do_one_test): Likewise.
17182         (do_test): Likewise.
17183         * string/test-memmem.c (do_one_test): Likewise.
17184         (do_test): Likewise.
17185         (do_random_tests): Likewise.
17186         * string/test-memmove.c (do_one_test): Likewise.
17187         (do_test): Likewise.
17188         * string/test-memset.c (do_one_test): Likewise.
17189         (do_test): Likewise.
17190         * string/test-rawmemchr.c (do_one_test): Likewise.
17191         (do_test): Likewise.
17192         * string/test-strcasecmp.c (do_one_test): Likewise.
17193         (do_test): Likewise.
17194         * string/test-strcasestr.c (do_one_test): Likewise.
17195         (do_test): Likewise.
17196         * string/test-strcat.c (do_one_test): Likewise.
17197         (do_test): Likewise.
17198         * string/test-strchr.c (do_one_test): Likewise.
17199         (do_test): Likewise.
17200         * string/test-strcmp.c (do_one_test): Likewise.
17201         (do_test): Likewise.
17202         * string/test-strcpy.c (do_one_test): Likewise.
17203         (do_test): Likewise.
17204         * string/test-string.h: Likewise.
17205         (test_init): Likewise.
17206         * string/test-strlen.c (do_one_test): Likewise.
17207         (do_test): Likewise.
17208         * string/test-strncasecmp.c (do_one_test): Likewise.
17209         (do_test): Likewise.
17210         * string/test-strncat.c (do_one_test): Likewise.
17211         (do_test): Likewise.
17212         * string/test-strncmp.c (do_one_test): Likewise.
17213         (do_test_limit): Likewise.
17214         (do_test): Likewise.
17215         * string/test-strncpy.c (do_one_test): Likewise.
17216         (do_test): Likewise.
17217         * string/test-strnlen.c (do_one_test): Likewise.
17218         (do_test): Likewise.
17219         * string/test-strpbrk.c (do_one_test): Likewise.
17220         (do_test): Likewise.
17221         * string/test-strrchr.c (do_one_test): Likewise.
17222         (do_test): Likewise.
17223         * string/test-strspn.c (do_one_test): Likewise.
17224         (do_test): Likewise.
17225         * string/test-strstr.c (do_one_test): Likewise.
17226         (do_test): Likewise.
17227
17228         * benchtests/Makefile (string-bench): Add string benchmarks.
17229         * benchtests/bench-bcopy-ifunc.c: New file.
17230         * benchtests/bench-bcopy.c: New file.
17231         * benchtests/bench-bzero-ifunc.c: New file.
17232         * benchtests/bench-bzero.c: New file.
17233         * benchtests/bench-memccpy-ifunc.c: New file.
17234         * benchtests/bench-memccpy.c: New file.
17235         * benchtests/bench-memchr-ifunc.c: New file.
17236         * benchtests/bench-memchr.c: New file.
17237         * benchtests/bench-memcmp-ifunc.c: New file.
17238         * benchtests/bench-memcmp.c: New file.
17239         * benchtests/bench-memmem-ifunc.c: New file.
17240         * benchtests/bench-memmem.c: New file.
17241         * benchtests/bench-memmove-ifunc.c: New file.
17242         * benchtests/bench-memmove.c: New file.
17243         * benchtests/bench-mempcpy-ifunc.c: New file.
17244         * benchtests/bench-mempcpy.c: New file.
17245         * benchtests/bench-memset-ifunc.c: New file.
17246         * benchtests/bench-memset.c: New file.
17247         * benchtests/bench-rawmemchr-ifunc.c: New file.
17248         * benchtests/bench-rawmemchr.c: New file.
17249         * benchtests/bench-stpcpy-ifunc.c: New file.
17250         * benchtests/bench-stpcpy.c: New file.
17251         * benchtests/bench-stpncpy-ifunc.c: New file.
17252         * benchtests/bench-stpncpy.c: New file.
17253         * benchtests/bench-strcasecmp-ifunc.c: New file.
17254         * benchtests/bench-strcasecmp.c: New file.
17255         * benchtests/bench-strcasestr-ifunc.c: New file.
17256         * benchtests/bench-strcasestr.c: New file.
17257         * benchtests/bench-strcat-ifunc.c: New file.
17258         * benchtests/bench-strcat.c: New file.
17259         * benchtests/bench-strchr-ifunc.c: New file.
17260         * benchtests/bench-strchr.c: New file.
17261         * benchtests/bench-strchrnul-ifunc.c: New file.
17262         * benchtests/bench-strchrnul.c: New file.
17263         * benchtests/bench-strcmp-ifunc.c: New file.
17264         * benchtests/bench-strcmp.c: New file.
17265         * benchtests/bench-strcpy-ifunc.c: New file.
17266         * benchtests/bench-strcpy.c: New file.
17267         * benchtests/bench-strcspn-ifunc.c: New file.
17268         * benchtests/bench-strcspn.c: New file.
17269         * benchtests/bench-strlen-ifunc.c: New file.
17270         * benchtests/bench-strlen.c: New file.
17271         * benchtests/bench-strncasecmp-ifunc.c: New file.
17272         * benchtests/bench-strncasecmp.c: New file.
17273         * benchtests/bench-strncat-ifunc.c: New file.
17274         * benchtests/bench-strncat.c: New file.
17275         * benchtests/bench-strncmp-ifunc.c: New file.
17276         * benchtests/bench-strncmp.c: New file.
17277         * benchtests/bench-strncpy-ifunc.c: New file.
17278         * benchtests/bench-strncpy.c: New file.
17279         * benchtests/bench-strnlen-ifunc.c: New file.
17280         * benchtests/bench-strnlen.c: New file.
17281         * benchtests/bench-strpbrk-ifunc.c: New file.
17282         * benchtests/bench-strpbrk.c: New file.
17283         * benchtests/bench-strrchr-ifunc.c: New file.
17284         * benchtests/bench-strrchr.c: New file.
17285         * benchtests/bench-strspn-ifunc.c: New file.
17286         * benchtests/bench-strspn.c: New file.
17287         * benchtests/bench-strstr-ifunc.c: New file.
17288         * benchtests/bench-strstr.c: New file.
17289
17290         * benchtests/Makefile: Disable parallel execution of targets.
17291         (string-bench): Add memcpy.
17292         (benchset): New variable to store a list of benchmark sets.
17293         (bench-func): Renamed from bench.
17294         (bench-set): New target.
17295         (bench): Depend on bench-func and bench-set.
17296         * benchtests/README: Add section on benchmark sets.
17297         * benchtests/bench-memcpy-ifunc.c: New file.
17298         * benchtests/bench-memcpy.c: New file.
17299         * benchtests/bench-string.h: New file.
17300
17301 2013-06-11  Andreas Schwab  <schwab@suse.de>
17302
17303         [BZ #15577]
17304         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17305         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17306         values in the triple.
17307         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17308         terminator in the group key.
17309
17310 2013-06-11  Andreas Jaeger  <aj@suse.de>
17311
17312         * po/zh_TW.po: Update Chinese (traditional) translation from
17313         translation project.
17314
17315 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17316
17317         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17318         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17319         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17320         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17321         (clock_getcpuclockid): Likewise.
17322         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17323         Add weak_alias and libc_hidden_def.
17324         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17325         * rt/clock_gettime.c (clock_gettime): Rename to
17326         __clock_gettime.  Add weak_alias and libc_hidden_def.
17327         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17328         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17329         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17330         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17331         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17332         Likewise.
17333         * rt/clock_settime.c (clock_settime): Rename to
17334         __clock_settime.  Add weak_alias and libc_hidden_def.
17335         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17336
17337 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17338
17339         * mach/err_boot.sub: Remove trailing whitespace.
17340         * mach/err_ipc.sub: Likewise.
17341         * mach/err_mach.sub: Likewise.
17342
17343         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17344         (ROUNDING_TESTS_double): Likewise.
17345         (ROUNDING_TESTS_long_double): Likewise.
17346         (ROUNDING_TESTS): Likewise.
17347         * math/libm-test.inc: Include <math-tests.h>.
17348         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17349         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17350         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17351         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17352
17353 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17354
17355         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17356         of assigning.
17357
17358 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17359
17360         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17361         otherwise empty TRANS lines.
17362         * sysdeps/gnu/errlist.c: Regenerated.
17363
17364         * catgets/gencat.c (error_print): Use (void) in function
17365         definition.
17366         * crypt/crypt_util.c (__init_des): Likewise.
17367         * crypt/speeds.c (Stop): Likewise.
17368         (main): Likewise.
17369         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17370         * inet/ruserpass.c (token): Likewise.
17371         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17372         * intl/localealias.c (extend_alias_table): Likewise.
17373         * intl/plural-exp.c (init_germanic_plural): Likewise.
17374         * libio/fcloseall.c (__fcloseall): Likewise.
17375         * libio/genops.c (_IO_flush_all): Likewise.
17376         (_IO_flush_all_linebuffered): Likewise.
17377         (_IO_cleanup): Likewise.
17378         (_IO_iter_begin): Likewise.
17379         (_IO_iter_end): Likewise.
17380         (_IO_list_lock): Likewise.
17381         (_IO_list_unlock): Likewise.
17382         (_IO_list_resetlock): Likewise.
17383         * libio/getchar.c (getchar): Likewise.
17384         * libio/getchar_u.c (getchar_unlocked): Likewise.
17385         * libio/getwchar.c (getwchar): Likewise.
17386         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17387         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17388         * login/getpt.c (__getpt): Likewise.
17389         * login/tst-utmp.c (main): Likewise.
17390         * malloc/hooks.c (__malloc_check_init): Likewise.
17391         * malloc/malloc.c (__malloc_stats): Likewise.
17392         * malloc/mtrace.c (tr_break): Likewise.
17393         (mtrace): Likewise.
17394         (muntrace): Likewise.
17395         * misc/fstab.c (endfsent): Likewise.
17396         * misc/getclktck.c (__getclktck): Likewise.
17397         * misc/getdtsz.c (__getdtablesize): Likewise.
17398         * misc/gethostid.c (gethostid): Likewise.
17399         * misc/getpagesize.c (__getpagesize): Likewise.
17400         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17401         (__get_nprocs): Likewise.
17402         (__get_phys_pages): Likewise.
17403         (__get_avphys_pages): Likewise.
17404         * misc/getttyent.c (getttyent): Likewise.
17405         (setttyent): Likewise.
17406         (endttyent): Likewise.
17407         * misc/getusershell.c (getusershell): Likewise.
17408         (endusershell): Likewise.
17409         (setusershell): Likewise.
17410         (initshells): Likewise.
17411         * misc/hsearch.c (__hdestroy): Likewise.
17412         * misc/sync.c (sync): Likewise.
17413         * misc/syslog.c (closelog_internal): Likewise.
17414         (closelog): Likewise.
17415         * misc/ttyslot.c (ttyslot): Likewise.
17416         * misc/vhangup.c (vhangup): Likewise.
17417         * posix/fork.c (__fork): Likewise.
17418         * posix/getegid.c (__getegid): Likewise.
17419         * posix/geteuid.c (__geteuid): Likewise.
17420         * posix/getgid.c (__getgid): Likewise.
17421         * posix/getpid.c (__getpid): Likewise.
17422         * posix/getppid.c (__getppid): Likewise.
17423         * posix/getuid.c (__getuid): Likewise.
17424         * posix/pause.c (pause): Likewise.
17425         * posix/setpgrp.c (setpgrp): Likewise.
17426         * posix/setsid.c (__setsid): Likewise.
17427         * posix/test-vfork.c (noop): Likewise.
17428         * resolv/gethnamaddr.c (_endhtent): Likewise.
17429         (_gethtent): Likewise.
17430         (ht_endhostent): Likewise.
17431         (gethostent): Likewise.
17432         (dns_service): Likewise.
17433         * stdlib/drand48.c (drand48): Likewise.
17434         * stdlib/lrand48.c (lrand48): Likewise.
17435         * stdlib/mrand48.c (mrand48): Likewise.
17436         * stdlib/rand.c (rand): Likewise.
17437         * stdlib/random.c (__random): Likewise.
17438         * stdlib/setenv.c (clearenv): Likewise.
17439         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17440         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17441         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17442         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17443         (__get_nprocs): Likewise.
17444         (__get_phys_pages): Likewise.
17445         (__get_avphys_pages): Likewise.
17446         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17447         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17448         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17449         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17450         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17451         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17452         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17453         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17454         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17455         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17456         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17457         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17458         * sysdeps/posix/clock.c (clock): Likewise.
17459         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17460         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17461         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17462         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17463         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17465         (__get_nprocs_conf): Likewise.
17466         (__get_phys_pages): Likewise.
17467         (__get_avphys_pages): Likewise.
17468         * time/clock.c (clock): Likewise.
17469         * time/tzset.c (__tzname_max): Likewise.
17470
17471 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17472
17473         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17474         (__bswap_32): Do not use "register".
17475         * crypt/crypt.c (_ufc_doit_r): Likewise.
17476         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17477         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17478         * gmon/gmon.c (__monstartup): Likewise.
17479         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17480         * hurd/hurdmalloc.c (more_memory): Likewise.
17481         (malloc): Likewise.
17482         (free): Likewise.
17483         (realloc): Likewise.
17484         (malloc_fork_prepare): Likewise.
17485         (malloc_fork_parent): Likewise.
17486         (malloc_fork_child): Likewise.
17487         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17488         (_svcauth_des): Likewise.
17489         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17490         * inet/inet_net.c (inet_network): Likewise.
17491         * inet/inet_netof.c (inet_netof): Likewise.
17492         * inet/rcmd.c (__validuser2_sa): Likewise.
17493         * io/fts.c (fts_open): Likewise.
17494         (fts_load): Likewise.
17495         (fts_close): Likewise.
17496         (fts_read): Likewise.
17497         (fts_children): Likewise.
17498         (fts_build): Likewise.
17499         (fts_stat): Likewise.
17500         (fts_sort): Likewise.
17501         (fts_alloc): Likewise.
17502         (fts_lfree): Likewise.
17503         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17504         (_IO_file_xsgetn): Likewise.
17505         (_IO_file_xsgetn_mmap): Likewise.
17506         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17507         (_IO_cookie_write): Likewise.
17508         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17509         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17510         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17511         * malloc/obstack.c (_obstack_begin): Likewise.
17512         (_obstack_begin_1): Likewise.
17513         (_obstack_newchunk): Likewise.
17514         (_obstack_allocated_p): Likewise.
17515         (obstack_free): Likewise.
17516         (_obstack_memory_used): Likewise.
17517         * misc/getttyent.c (getttynam): Likewise.
17518         (getttyent): Likewise.
17519         (skip): Likewise.
17520         (value): Likewise.
17521         * misc/getusershell.c (initshells): Likewise.
17522         * misc/syslog.c (__vsyslog_chk): Likewise.
17523         * misc/ttyslot.c (ttyslot): Likewise.
17524         * nis/nis_hash.c (__nis_hash): Likewise.
17525         * posix/fnmatch_loop.c (FCT): Likewise.
17526         * posix/getconf.c (print_all): Likewise.
17527         (main): Likewise.
17528         * posix/getopt.c (exchange): Likewise.
17529         * posix/glob.c (globfree): Likewise.
17530         (prefix_array): Likewise.
17531         (__glob_pattern_type): Likewise.
17532         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17533         (NS_GET32): Likewise.
17534         (NS_PUT16): Likewise.
17535         (NS_PUT32): Likewise.
17536         * resolv/gethnamaddr.c (getanswer): Likewise.
17537         (gethostbyname2): Likewise.
17538         (gethostbyaddr): Likewise.
17539         (_gethtent): Likewise.
17540         (_gethtbyname2): Likewise.
17541         (_gethtbyaddr): Likewise.
17542         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17543         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17544         * resolv/res_init.c (__res_vinit): Likewise.
17545         (net_mask): Likewise.
17546         * resolv/res_mkquery.c (outchar): Likewise.
17547         (PRINT): Likewise.
17548         * stdio-common/printf_fp.c (outchar): Likewise.
17549         (PRINT): Likewise.
17550         * stdio-common/printf_fphex.c (outchar): Likewise.
17551         (PRINT): Likewise.
17552         * stdio-common/printf_size.c (outchar): Likewise.
17553         (PRINT): Likewise.
17554         * stdio-common/test_rdwr.c (main): Likewise.
17555         * stdio-common/tfformat.c (matches): Likewise.
17556         * stdio-common/vfprintf.c (outchar): Likewise.
17557         (printf_unknown): Likewise.
17558         (buffered_vfprintf): Likewise.
17559         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17560         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17561         (ReadFile): Likewise.
17562         * stdlib/qsort.c (SWAP): Likewise.
17563         (_quicksort): Likewise.
17564         * stdlib/setenv.c (__add_to_environ): Likewise.
17565         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17566         * stdlib/strtol_l.c (__strtol_l): Likewise.
17567         * stdlib/tst-strtod.c (main): Likewise.
17568         * stdlib/tst-strtol.c (main): Likewise.
17569         * stdlib/tst-strtoll.c (main): Likewise.
17570         * string/bits/string2.h (__strcmp_cc): Likewise.
17571         (__strcmp_cg): Likewise.
17572         (__strcspn_c1): Likewise.
17573         (__strcspn_c2): Likewise.
17574         (__strcspn_c3): Likewise.
17575         (__strspn_c1): Likewise.
17576         (__strspn_c2): Likewise.
17577         (__strspn_c3): Likewise.
17578         (__strsep_1c): Likewise.
17579         (__strsep_2c): Likewise.
17580         (__strsep_3c): Likewise.
17581         * string/memccpy.c (__memccpy): Likewise.
17582         * string/stpcpy.c (__stpcpy): Likewise.
17583         * string/strcmp.c (strcmp): Likewise.
17584         * string/strrchr.c (strrchr): Likewise.
17585         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17586         Likewise.
17587         * sysdeps/mach/hurd/getcwd.c
17588         (_hurd_canonicalize_directory_name_internal): Likewise.
17589         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17590         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17591         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17592         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17593         Likewise, in both definitions.
17594         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17595         definitions.
17596         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17597         64] (__bswap_64): Likewise.
17598         * time/test_time.c (main): Likewise.
17599         * time/tzfile.c (__tzfile_read): Likewise.
17600         (__tzfile_compute): Likewise.
17601         * time/tzset.c (__tzset_parse_tz): Likewise.
17602         (tzset_internal): Likewise.
17603         (compute_change): Likewise.
17604         * wcsmbs/wcscat.c (__wcscat): Likewise.
17605         * wcsmbs/wcschr.c (wcschr): Likewise.
17606         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17607         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17608         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17609         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17610         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17611         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17612         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17613         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17614         * wcsmbs/wmemset.c (wmemset): Likewise.
17615
17616 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17617
17618         * scripts/config.guess: Update to version 2013-05-16.
17619         * scripts/config.sub: Update to version 2013-04-24.
17620         * scripts/install-sh: Update to version 2011-11-20.07.
17621         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17622         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17623
17624 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17625
17626         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17627         * elf/sln.c: Likewise.
17628         * hurd/hurd/ioctl.h: Likewise.
17629         * hurd/hurdmalloc.c: Likewise.
17630         * hurd/xattr.c: Likewise.
17631         * include/shlib-compat.h: Likewise.
17632         * inet/ruserpass.c: Likewise.
17633         * libio/iofgets_u.c: Likewise.
17634         * libio/iofgetws_u.c: Likewise.
17635         * locale/programs/ld-identification.c: Likewise.
17636         * locale/programs/ld-time.c: Likewise.
17637         * mach/msg-destroy.c: Likewise.
17638         * nss/nss_files/files-netgrp.c: Likewise.
17639         * resolv/res_data.c: Likewise.
17640         * soft-fp/op-1.h: Likewise.
17641         * soft-fp/op-2.h: Likewise.
17642         * soft-fp/op-4.h: Likewise.
17643         * soft-fp/op-common.h: Likewise.
17644         * stdio-common/printf_fphex.c: Likewise.
17645         * stdlib/strtod_l.c: Likewise.
17646         * sunrpc/rpc/clnt.h: Likewise.
17647         * sysdeps/generic/framestate.c: Likewise.
17648         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17649         * sysdeps/i386/bsd-setjmp.S: Likewise.
17650         * sysdeps/i386/__longjmp.S: Likewise.
17651         * sysdeps/i386/setjmp.S: Likewise.
17652         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17653         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17654         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17655         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17656         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17657         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17658         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17659         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17660         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17661         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17662         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17663         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17664         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17665         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17666         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17667         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17668         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17669         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17670         * sysdeps/ieee754/support.c: Likewise.
17671         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17672         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17673         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17674         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17675         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17676         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17677         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17678         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17679         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17680         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17681         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17682         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17683         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17684         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17685         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17686         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17687         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17689
17690 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17691
17692         * posix/transbug.c: Remove executable mode.
17693
17694 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17695
17696         * crypt/speeds.c: Remove trailing whitespace.
17697         * dlfcn/default.c: Likewise.
17698         * elf/ifuncdep2.c: Likewise.
17699         * elf/ifuncmain1.c: Likewise.
17700         * elf/ifuncmain1vis.c: Likewise.
17701         * elf/testobj.h: Likewise.
17702         * elf/tst-stackguard1.c: Likewise.
17703         * gmon/sys/gmon.h: Likewise.
17704         * hurd/hurdmsg.c: Likewise.
17705         * hurd/new-fd.c: Likewise.
17706         * hurd/ports-get.c: Likewise.
17707         * iconvdata/ibm1008_420.c: Likewise.
17708         * inet/tst-getni1.c: Likewise.
17709         * inet/tst-getni2.c: Likewise.
17710         * libio/ioungetc.c: Likewise.
17711         * libio/wfiledoalloc.c: Likewise.
17712         * manual/libm-err-tab.pl: Likewise.
17713         * math/w_dremf.c: Likewise.
17714         * misc/ftruncate.c: Likewise.
17715         * posix/bug-glob2.c: Likewise.
17716         * posix/tst-pcre.c: Likewise.
17717         * posix/wait4.c: Likewise.
17718         * resolv/README: Likewise.
17719         * resolv/res_debug.h: Likewise.
17720         * resolv/tst-inet_ntop.c: Likewise.
17721         * setjmp/bug269-setjmp.c: Likewise.
17722         * soft-fp/extended.h: Likewise.
17723         * soft-fp/op-1.h: Likewise.
17724         * soft-fp/op-2.h: Likewise.
17725         * soft-fp/op-4.h: Likewise.
17726         * soft-fp/op-8.h: Likewise.
17727         * soft-fp/testit.c: Likewise.
17728         * stdio-common/bug16.c: Likewise.
17729         * stdlib/random.c: Likewise.
17730         * sunrpc/rpcsvc/rquota.x: Likewise.
17731         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17732         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17733         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17734         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17735         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17736         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17737         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17738         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17739         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17740         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17741         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17742         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17743         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17744         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17745         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17746         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17747         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17748         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17749         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17750         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17751         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17752         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17753         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17754         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17755         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17756         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17757         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17758         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17759         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17760         * sysdeps/ieee754/s_lib_version.c: Likewise.
17761         * sysdeps/mach/hurd/check_fds.c: Likewise.
17762         * sysdeps/mach/hurd/getsockname.c: Likewise.
17763         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17764         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17765         * sysdeps/powerpc/bits/link.h: Likewise.
17766         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17767         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17768         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17769         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17770         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17771         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17772         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17773         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17774         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17775         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17776         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17777         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17778         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17779         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17780         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17781         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17782         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17783         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17784         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17785         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17786         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17787         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17788         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17789         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17790         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17791         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17792         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17793         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17794         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17795         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17796         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17797         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17798         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17799         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17800         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17801         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17802         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17803         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17804         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17805         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17806         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17807         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17808         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17809         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17810         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17811         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17812         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17813         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17814         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17815         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17816         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17818         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17819         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17820         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17821         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17822         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17823         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17824         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17825         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17826         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17827         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17828         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17829         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17830         * sysdeps/powerpc/sysdep.h: Likewise.
17831         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17832         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17833         * sysdeps/sh/dl-trampoline.S: Likewise.
17834         * sysdeps/sh/memset.S: Likewise.
17835         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17836         * sysdeps/sh/strlen.S: Likewise.
17837         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17838         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17839         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17840         * sysdeps/sparc/sparc32/rem.S: Likewise.
17841         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17842         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17843         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17844         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17845         * sysdeps/sparc/sparc32/urem.S: Likewise.
17846         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17847         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17848         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17849         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17850         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17851         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17852         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17853         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17854         * sysdeps/unix/bsd/times.c: Likewise.
17855         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17856         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17860         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17861         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17862         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17863         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17864         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17865         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17866         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17867         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17868         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17869         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17870         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17871         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17872         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17873         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17874         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17875         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17876         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17877         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17878         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17879         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17880         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17881         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17882         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17883         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17884         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17885         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17886         * sysdeps/x86_64/strcspn.S: Likewise.
17887
17888 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17889
17890         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17891         generated file.  Regenerate properly from gen-translit.pl.
17892         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17893         locale/C-translit.h.
17894
17895 2013-06-05  Andreas Schwab  <schwab@suse.de>
17896
17897         [BZ #15100]
17898         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17899         week as 6 instead of -1.
17900         * time/tst-strptime.c (day_tests): Add test case.
17901
17902 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17903
17904         * sysdeps/generic/math_private.h
17905         (libc_feholdexcept_setround_53bit): Replace with
17906         libc_feholdsetround_53bit.
17907         (libc_feupdateenv_53bit): Replace with
17908         libc_feresetround_53bit.
17909         (SET_RESTORE_ROUND_53BIT): Adjust.
17910
17911 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17912
17913         * string/test-strchrnul.c: Add copyright header.
17914
17915         * posix/tst-getaddrinfo4.c: Increase test timeout.
17916
17917 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17918
17919         [BZ #15536]
17920         * math/libm-test.inc (MAX_EXP): Remove
17921         (MIN_EXP): Define.
17922         (ulp): Use MIN_EXP - MANT_DIG.
17923         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17924
17925 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17926
17927         * po/be.po: Revert last change.
17928         * po/zh_CN.po: Likewise.
17929         * po/header.pot: Likewise.
17930
17931 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17932
17933         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17934         link-libc-deps to empty as target-specific variable.
17935         * Makerules (link-libc-args): New variable.
17936         (libc-for-link): Likewise.
17937         (link-libc-deps): Likewise.
17938         (lib%.so): Depend on $(link-libc-deps).  Link with
17939         $(link-libc-args).
17940         (build-module): Link with $(link-libc-args).
17941         (build-module-asneeded): Likewise.
17942         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17943         list of objects.
17944         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17945         target-specific variable.
17946         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17947         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17948         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17949         libc.
17950         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17951         libc and ld.so.
17952         ($(objpfx)libpcprofile.so): Likewise.
17953         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17954         libc_nonshared.a.
17955         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17956         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17957         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17958         $(link-libc-deps).
17959         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17960         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17961         * login/Makefile ($(objpfx)libutil.so): Likewise.
17962         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17963         * math/Makefile ($(objpfx)libm.so): Likewise.
17964         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17965         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17966         variable instead of depending directly on libc.
17967         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17968         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17969         $(link-libc-deps).
17970         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17971         libc.
17972         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17973         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17974         ($(objpfx)libanl.so): Likewise.
17975         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17976         ld.so.
17977         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17978         $(link-libc-deps).
17979         * sysdeps/i386/fpu/Makefile: Remove file.
17980         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17981         ($(objpfx)libm.so): Remove dependency on ld.so.
17982
17983 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17984
17985         [BZ # 15553]
17986         * nis/yp_xdr.c (XDRMAXNAME): Define.
17987         (XDRMAXRECORD): Define.
17988         (xdr_domainname): Use XDRMAXNAME.
17989         (xdr_mapname): Likewise.
17990         (xdr_peername): Likewise.
17991         (xdr_keydat): Use XDRMAXRECORD.
17992         (xdr_valdat): Likewise.
17993
17994 2013-05-30  Jeff Law  <law@redhat.com>
17995
17996         [BZ #14256]
17997         * manual/errno.texi (ESTALE): Update to account for more than
17998         just NFS file systems.
17999         * sysdeps/gnu/errlist.c: Regenerated.
18000
18001 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18002
18003         [BZ #15465]
18004         * elf/Makefile (tests): Add tst-null-argv.
18005         (modules-names):  Add tst-null-argv-lib.
18006         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18007         (tst-null-argv-ENV): Set environment for tst-null-argv.
18008         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18009         (RTLD_PROGNAME): New macro.
18010         * elf/tst-null-argv.c: New test case.
18011         * elf/tst-null-argv-lib.c: Library for test case.
18012         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18013         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18014         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18015         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18016         * elf/dl-init.c (call_init): Likewise.
18017         (_dl_init): Likewise.
18018         * elf/dl-load.c (print_search_path): Likewise.
18019         (_dl_map_object): Likewise.
18020         * elf/dl-lookup.c (do_lookup_x): Likewise.
18021         (add_dependency): Likewise.
18022         (_dl_lookup_symbol_x): Likewise.
18023         (_dl_debug_bindings): Likewise.
18024         * elf/dl-open.c (_dl_show_scope): Likewise.
18025         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18026         * elf/dl-version.c (match_symbol): Likewise.
18027         (_dl_check_map_versions): Likewise.
18028         * elf/rtld.c (dl_main): Likewise.
18029         (print_unresolved): Use RTLD_PROGNAME.
18030         (print_missing_version): Likewise.
18031         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18032         (elf_machine_rela): Likewise.
18033         * sysdeps/powerpc/powerpc32/dl-machine.c
18034         (__process_machine_rela): Likewise.
18035         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18036         Likewise.
18037         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18038         Likewise.
18039         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18040         Likewise.
18041         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18042         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18043         Likewise.
18044         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18045         Likewise.
18046         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18047
18048 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18049
18050         * po/be.po: Add descriptive title.
18051         * po/zh_CN.po: Likewise.
18052         * po/header.pot: Likewise.
18053
18054 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18055
18056         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18057         error message.
18058         (enlarge_archive): Likewise.
18059
18060 2013-05-28  Ben North  <ben@redfrontdoor.org>
18061
18062         * manual/arith.texi (frexp): It is the magnitude of the return
18063         value which lies in [0.5, 1), not the return value itself.
18064
18065 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18066
18067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18068
18069 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18070
18071         * stdio-common/bug26.c (main): Correct fscanf template.
18072
18073         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18074         declare _dl_skip_args.
18075
18076         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18077         Don't declare.
18078
18079         * manual/platform.texi: Add missing @end deftypefun.
18080
18081 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18082
18083         [BZ #15529]
18084         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18085         bit of mantissa of 2^16382.
18086         * math/libm-test.inc (hypot_test_data): Add more tests.
18087
18088         * math/libm-test.inc: Add drem and pow10 to list of tested
18089         functions.
18090         (pow10_test): New function.
18091         (drem_test): Likewise.
18092         (drem_test_tonearest): Likewise.
18093         (drem_test_towardzero): Likewise.
18094         (drem_test_downward): Likewise.
18095         (drem_test_upward): Likewise.
18096         (main): Call the new functions.
18097
18098         * math/libm-test.inc (finite_test_data): Remove.
18099         (finite_test): Run tests from isfinite_test_data.
18100         (gamma_test_data): Remove.
18101         (gamma_test): Run tests from lgamma_test_data.
18102         * sysdeps/i386/fpu/libm-test-ulps: Update.
18103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18104
18105 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18106
18107         * manual/platform.texi: Add PowerPC PPR function set documentation.
18108         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18109         implementation.
18110
18111 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18112
18113         * math/libm-test.inc (MAX_EXP): Define.
18114         (ULPDIFF): Define.
18115         (ulp): New function.
18116         (check_float_internal): Use ULPDIFF.
18117         (cpow_test): Disable failing test.
18118         (check_ulp): Test ulp() implemetnation.
18119         (main): Call check_ulp before starting tests.
18120
18121 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18122
18123         * math/gen-libm-test.pl (generate_testfile): Do not handle
18124         START_DATA and END_DATA.
18125         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18126         END_DATA.
18127         (acos_tonearest_test_data): Likewise.
18128         (acos_towardzero_test_data): Likewise.
18129         (acos_downward_test_data): Likewise.
18130         (acos_upward_test_data): Likewise.
18131         (acosh_test_data): Likewise.
18132         (asin_test_data): Likewise.
18133         (asin_tonearest_test_data): Likewise.
18134         (asin_towardzero_test_data): Likewise.
18135         (asin_downward_test_data): Likewise.
18136         (asin_upward_test_data): Likewise.
18137         (asinh_test_data): Likewise.
18138         (atan_test_data): Likewise.
18139         (atanh_test_data): Likewise.
18140         (atan2_test_data): Likewise.
18141         (cabs_test_data): Likewise.
18142         (cacos_test_data): Likewise.
18143         (cacosh_test_data): Likewise.
18144         (carg_test_data): Likewise.
18145         (casin_test_data): Likewise.
18146         (casinh_test_data): Likewise.
18147         (catan_test_data): Likewise.
18148         (catanh_test_data): Likewise.
18149         (cbrt_test_data): Likewise.
18150         (ccos_test_data): Likewise.
18151         (ccosh_test_data): Likewise.
18152         (ceil_test_data): Likewise.
18153         (cexp_test_data): Likewise.
18154         (cimag_test_data): Likewise.
18155         (clog_test_data): Likewise.
18156         (clog10_test_data): Likewise.
18157         (conj_test_data): Likewise.
18158         (copysign_test_data): Likewise.
18159         (cos_test_data): Likewise.
18160         (cos_tonearest_test_data): Likewise.
18161         (cos_towardzero_test_data): Likewise.
18162         (cos_downward_test_data): Likewise.
18163         (cos_upward_test_data): Likewise.
18164         (cosh_test_data): Likewise.
18165         (cosh_tonearest_test_data): Likewise.
18166         (cosh_towardzero_test_data): Likewise.
18167         (cosh_downward_test_data): Likewise.
18168         (cosh_upward_test_data): Likewise.
18169         (cpow_test_data): Likewise.
18170         (cproj_test_data): Likewise.
18171         (creal_test_data): Likewise.
18172         (csin_test_data): Likewise.
18173         (csinh_test_data): Likewise.
18174         (csqrt_test_data): Likewise.
18175         (ctan_test_data): Likewise.
18176         (ctan_tonearest_test_data): Likewise.
18177         (ctan_towardzero_test_data): Likewise.
18178         (ctan_downward_test_data): Likewise.
18179         (ctan_upward_test_data): Likewise.
18180         (ctanh_test_data): Likewise.
18181         (ctanh_tonearest_test_data): Likewise.
18182         (ctanh_towardzero_test_data): Likewise.
18183         (ctanh_downward_test_data): Likewise.
18184         (ctanh_upward_test_data): Likewise.
18185         (erf_test_data): Likewise.
18186         (erfc_test_data): Likewise.
18187         (exp_test_data): Likewise.
18188         (exp_tonearest_test_data): Likewise.
18189         (exp_towardzero_test_data): Likewise.
18190         (exp_downward_test_data): Likewise.
18191         (exp_upward_test_data): Likewise.
18192         (exp10_test_data): Likewise.
18193         (exp2_test_data): Likewise.
18194         (expm1_test_data): Likewise.
18195         (fabs_test_data): Likewise.
18196         (fdim_test_data): Likewise.
18197         (finite_test_data): Likewise.
18198         (floor_test_data): Likewise.
18199         (fma_test_data): Likewise.
18200         (fma_towardzero_test_data): Likewise.
18201         (fma_downward_test_data): Likewise.
18202         (fma_upward_test_data): Likewise.
18203         (fmax_test_data): Likewise.
18204         (fmin_test_data): Likewise.
18205         (fmod_test_data): Likewise.
18206         (fpclassify_test_data): Likewise.
18207         (frexp_test_data): Likewise.
18208         (gamma_test_data): Likewise.
18209         (hypot_test_data): Likewise.
18210         (ilogb_test_data): Likewise.
18211         (isfinite_test_data): Likewise.
18212         (isgreater_test_data): Likewise.
18213         (isgreaterequal_test_data): Likewise.
18214         (isinf_test_data): Likewise.
18215         (isless_test_data): Likewise.
18216         (islessequal_test_data): Likewise.
18217         (islessgreater_test_data): Likewise.
18218         (isnan_test_data): Likewise.
18219         (isnormal_test_data): Likewise.
18220         (issignaling_test_data): Likewise.
18221         (isunordered_test_data): Likewise.
18222         (j0_test_data): Likewise.
18223         (j1_test_data): Likewise.
18224         (jn_test_data): Likewise.
18225         (ldexp_test_data): Likewise.
18226         (lgamma_test_data): Likewise.
18227         (lrint_test_data): Likewise.
18228         (lrint_tonearest_test_data): Likewise.
18229         (lrint_towardzero_test_data): Likewise.
18230         (lrint_downward_test_data): Likewise.
18231         (lrint_upward_test_data): Likewise.
18232         (llrint_test_data): Likewise.
18233         (llrint_tonearest_test_data): Likewise.
18234         (llrint_towardzero_test_data): Likewise.
18235         (llrint_downward_test_data): Likewise.
18236         (llrint_upward_test_data): Likewise.
18237         (log_test_data): Likewise.
18238         (log10_test_data): Likewise.
18239         (log1p_test_data): Likewise.
18240         (log2_test_data): Likewise.
18241         (logb_test_data): Likewise.
18242         (logb_downward_test_data): Likewise.
18243         (lround_test_data): Likewise.
18244         (llround_test_data): Likewise.
18245         (modf_test_data): Likewise.
18246         (nearbyint_test_data): Likewise.
18247         (nextafter_test_data): Likewise.
18248         (nexttoward_test_data): Likewise.
18249         (pow_test_data): Likewise.
18250         (pow_tonearest_test_data): Likewise.
18251         (pow_towardzero_test_data): Likewise.
18252         (pow_downward_test_data): Likewise.
18253         (pow_upward_test_data): Likewise.
18254         (remainder_test_data): Likewise.
18255         (remainder_tonearest_test_data): Likewise.
18256         (remainder_towardzero_test_data): Likewise.
18257         (remainder_downward_test_data): Likewise.
18258         (remainder_upward_test_data): Likewise.
18259         (remquo_test_data): Likewise.
18260         (rint_test_data): Likewise.
18261         (rint_tonearest_test_data): Likewise.
18262         (rint_towardzero_test_data): Likewise.
18263         (rint_downward_test_data): Likewise.
18264         (rint_upward_test_data): Likewise.
18265         (round_test_data): Likewise.
18266         (scalb_test_data): Likewise.
18267         (scalbn_test_data): Likewise.
18268         (scalbln_test_data): Likewise.
18269         (signbit_test_data): Likewise.
18270         (sin_test_data): Likewise.
18271         (sin_tonearest_test_data): Likewise.
18272         (sin_towardzero_test_data): Likewise.
18273         (sin_downward_test_data): Likewise.
18274         (sin_upward_test_data): Likewise.
18275         (sincos_test_data): Likewise.
18276         (sinh_test_data): Likewise.
18277         (sinh_tonearest_test_data): Likewise.
18278         (sinh_towardzero_test_data): Likewise.
18279         (sinh_downward_test_data): Likewise.
18280         (sinh_upward_test_data): Likewise.
18281         (sqrt_test_data): Likewise.
18282         (tan_test_data): Likewise.
18283         (tan_tonearest_test_data): Likewise.
18284         (tan_towardzero_test_data): Likewise.
18285         (tan_downward_test_data): Likewise.
18286         (tan_upward_test_data): Likewise.
18287         (tanh_test_data): Likewise.
18288         (tgamma_test_data): Likewise.
18289         (trunc_test_data): Likewise.
18290         (y0_test_data): Likewise.
18291         (y1_test_data): Likewise.
18292         (yn_test_data): Likewise.
18293         (significand_test_data): Likewise.
18294
18295         * math/gen-libm-test.pl (@functions): Remove variable.
18296         (generate_testfile): Don't handle START and END lines.
18297         * math/libm-test.inc (START): New macro.
18298         (END): Likewise.
18299         (END_COMPLEX): Likewise.
18300         (acos_test): Use END macro without arguments.
18301         (acos_test_tonearest): Likewise.
18302         (acos_test_towardzero): Likewise.
18303         (acos_test_downward): Likewise.
18304         (acos_test_upward): Likewise.
18305         (acosh_test): Likewise.
18306         (asin_test): Likewise.
18307         (asin_test_tonearest): Likewise.
18308         (asin_test_towardzero): Likewise.
18309         (asin_test_downward): Likewise.
18310         (asin_test_upward): Likewise.
18311         (asinh_test): Likewise.
18312         (atan_test): Likewise.
18313         (atanh_test): Likewise.
18314         (atan2_test): Likewise.
18315         (cabs_test): Likewise.
18316         (cacos_test): Use END_COMPLEX macro without arguments.
18317         (cacosh_test): Likewise.
18318         (carg_test): Use END macro without arguments.
18319         (casin_test): Use END_COMPLEX macro without arguments.
18320         (casinh_test): Likewise.
18321         (catan_test): Likewise.
18322         (catanh_test): Likewise.
18323         (cbrt_test): Use END macro without arguments.
18324         (ccos_test): Use END_COMPLEX macro without arguments.
18325         (ccosh_test): Likewise.
18326         (ceil_test): Use END macro without arguments.
18327         (cexp_test): Use END_COMPLEX macro without arguments.
18328         (cimag_test): Use END macro without arguments.
18329         (clog_test): Use END_COMPLEX macro without arguments.
18330         (clog10_test): Likewise.
18331         (conj_test): Likewise.
18332         (copysign_test): Use END macro without arguments.
18333         (cos_test): Likewise.
18334         (cos_test_tonearest): Likewise.
18335         (cos_test_towardzero): Likewise.
18336         (cos_test_downward): Likewise.
18337         (cos_test_upward): Likewise.
18338         (cosh_test): Likewise.
18339         (cosh_test_tonearest): Likewise.
18340         (cosh_test_towardzero): Likewise.
18341         (cosh_test_downward): Likewise.
18342         (cosh_test_upward): Likewise.
18343         (cpow_test): Use END_COMPLEX macro without arguments.
18344         (cproj_test): Likewise.
18345         (creal_test): Use END macro without arguments.
18346         (csin_test): Use END_COMPLEX macro without arguments.
18347         (csinh_test): Likewise.
18348         (csqrt_test): Likewise.
18349         (ctan_test): Likewise.
18350         (ctan_test_tonearest): Likewise.
18351         (ctan_test_towardzero): Likewise.
18352         (ctan_test_downward): Likewise.
18353         (ctan_test_upward): Likewise.
18354         (ctanh_test): Likewise.
18355         (ctanh_test_tonearest): Likewise.
18356         (ctanh_test_towardzero): Likewise.
18357         (ctanh_test_downward): Likewise.
18358         (ctanh_test_upward): Likewise.
18359         (erf_test): Use END macro without arguments.
18360         (erfc_test): Likewise.
18361         (exp_test): Likewise.
18362         (exp_test_tonearest): Likewise.
18363         (exp_test_towardzero): Likewise.
18364         (exp_test_downward): Likewise.
18365         (exp_test_upward): Likewise.
18366         (exp10_test): Likewise.
18367         (exp2_test): Likewise.
18368         (expm1_test): Likewise.
18369         (fabs_test): Likewise.
18370         (fdim_test): Likewise.
18371         (finite_test): Likewise.
18372         (floor_test): Likewise.
18373         (fma_test): Likewise.
18374         (fma_test_towardzero): Likewise.
18375         (fma_test_downward): Likewise.
18376         (fma_test_upward): Likewise.
18377         (fmax_test): Likewise.
18378         (fmin_test): Likewise.
18379         (fmod_test): Likewise.
18380         (fpclassify_test): Likewise.
18381         (frexp_test): Likewise.
18382         (gamma_test): Likewise.
18383         (hypot_test): Likewise.
18384         (ilogb_test): Likewise.
18385         (isfinite_test): Likewise.
18386         (isgreater_test): Likewise.
18387         (isgreaterequal_test): Likewise.
18388         (isinf_test): Likewise.
18389         (isless_test): Likewise.
18390         (islessequal_test): Likewise.
18391         (islessgreater_test): Likewise.
18392         (isnan_test): Likewise.
18393         (isnormal_test): Likewise.
18394         (issignaling_test): Likewise.
18395         (isunordered_test): Likewise.
18396         (j0_test): Likewise.
18397         (j1_test): Likewise.
18398         (jn_test): Likewise.
18399         (ldexp_test): Likewise.
18400         (lgamma_test): Likewise.
18401         (lrint_test): Likewise.
18402         (lrint_test_tonearest): Likewise.
18403         (lrint_test_towardzero): Likewise.
18404         (lrint_test_downward): Likewise.
18405         (lrint_test_upward): Likewise.
18406         (llrint_test): Likewise.
18407         (llrint_test_tonearest): Likewise.
18408         (llrint_test_towardzero): Likewise.
18409         (llrint_test_downward): Likewise.
18410         (llrint_test_upward): Likewise.
18411         (log_test): Likewise.
18412         (log10_test): Likewise.
18413         (log1p_test): Likewise.
18414         (log2_test): Likewise.
18415         (logb_test): Likewise.
18416         (logb_test_downward): Likewise.
18417         (lround_test): Likewise.
18418         (llround_test): Likewise.
18419         (modf_test): Likewise.
18420         (nearbyint_test): Likewise.
18421         (nextafter_test): Likewise.
18422         (nexttoward_test): Likewise.
18423         (pow_test): Likewise.
18424         (pow_test_tonearest): Likewise.
18425         (pow_test_towardzero): Likewise.
18426         (pow_test_downward): Likewise.
18427         (pow_test_upward): Likewise.
18428         (remainder_test): Likewise.
18429         (remainder_test_tonearest): Likewise.
18430         (remainder_test_towardzero): Likewise.
18431         (remainder_test_downward): Likewise.
18432         (remainder_test_upward): Likewise.
18433         (remquo_test): Likewise.
18434         (rint_test): Likewise.
18435         (rint_test_tonearest): Likewise.
18436         (rint_test_towardzero): Likewise.
18437         (rint_test_downward): Likewise.
18438         (rint_test_upward): Likewise.
18439         (round_test): Likewise.
18440         (scalb_test): Likewise.
18441         (scalbn_test): Likewise.
18442         (scalbln_test): Likewise.
18443         (signbit_test): Likewise.
18444         (sin_test): Likewise.
18445         (sin_test_tonearest): Likewise.
18446         (sin_test_towardzero): Likewise.
18447         (sin_test_downward): Likewise.
18448         (sin_test_upward): Likewise.
18449         (sincos_test): Likewise.
18450         (sinh_test): Likewise.
18451         (sinh_test_tonearest): Likewise.
18452         (sinh_test_towardzero): Likewise.
18453         (sinh_test_downward): Likewise.
18454         (sinh_test_upward): Likewise.
18455         (sqrt_test): Likewise.
18456         (tan_test): Likewise.
18457         (tan_test_tonearest): Likewise.
18458         (tan_test_towardzero): Likewise.
18459         (tan_test_downward): Likewise.
18460         (tan_test_upward): Likewise.
18461         (tanh_test): Likewise.
18462         (tgamma_test): Likewise.
18463         (trunc_test): Likewise.
18464         (y0_test): Likewise.
18465         (y1_test): Likewise.
18466         (yn_test): Likewise.
18467         (significand_test): Likewise.
18468
18469 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18470
18471         [BZ #15381]
18472         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18473
18474 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18475
18476         [BZ #14894]
18477         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18478         __ppc_mdoio and __ppc_mdoom.
18479         * manual/platform.texi: Document new functions __ppc_yield,
18480         __ppc_mdoio and __ppc_mdoom.
18481
18482 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18483
18484         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18485         (main): Mention "tls" pseudo-hwcap is legacy.
18486         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18487
18488 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18489
18490         * math/gen-libm-test.pl (parse_args): Output only string of
18491         arguments as text for test name, not full call or descriptions of
18492         tests for extra outputs.
18493         (generate_testfile): Do not pass function name to parse_args.
18494         Generate this_func variable from START.
18495         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18496         field to arg_str.
18497         (struct test_ff_f_data): Likewise.
18498         (test_ff_f_data_nexttoward): Likewise.
18499         (struct test_fi_f_data): Likewise.
18500         (struct test_fl_f_data): Likewise.
18501         (struct test_if_f_data): Likewise.
18502         (struct test_fff_f_data): Likewise.
18503         (struct test_c_f_data): Likewise.
18504         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18505         (struct test_fF_f1_data): Likewise.
18506         (struct test_ffI_f1_data): Likewise.
18507         (struct test_c_c_data): Rename test_name field to arg_str.
18508         (struct test_cc_c_data): Likewise.
18509         (struct test_f_i_data): Likewise.
18510         (struct test_ff_i_data): Likewise.
18511         (struct test_f_l_data): Likewise.
18512         (struct test_f_L_data): Likewise.
18513         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18514         and extra2_name.
18515         (COMMON_TEST_SETUP): New macro.
18516         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18517         (COMMON_TEST_CLEANUP): Likewise.
18518         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18519         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18520         macros.
18521         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18522         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18523         macros.
18524         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18525         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18526         cleanup macros.
18527         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18528         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18529         macros.
18530         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18531         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18532         macros.
18533         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18534         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18535         cleanup macros.
18536         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18537         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18538         cleanup macros.
18539         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18540         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18541         cleanup macros.
18542         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18543         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18544         macros.
18545         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18546         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18547         macros.
18548         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18549         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18550         macros.
18551         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18552         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18553         cleanup macros.
18554         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18555         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18556         cleanup macros.
18557         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18558         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18559         macros.
18560         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18561         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18562         cleanup macros.
18563         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18564         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18565         macros.
18566         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18567         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18568         macros.
18569         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18570         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18571         cleanup macros.
18572         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18573
18574 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18575
18576         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18577         to _sifields.sigfault.
18578         (si_addr_lsb): Define new macro.
18579         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18580         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18581         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18582
18583 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18584
18585         [BZ #15441]
18586         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18587         returns -1.
18588         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18589         null return -1.
18590         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18591         loading the domain.
18592
18593 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18594
18595         * math/gen-libm-test.pl (parse_args): Do not include expected
18596         result in test name.
18597         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18598         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18599         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18600         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18601         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18603
18604 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18605
18606         * benchtests/Makefile: Sort function entries.
18607
18608         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18609         tanh, asinh, acosh, atanh.
18610         * benchtests/acos-inputs: New file.
18611         * benchtests/acosh-inputs: New file.
18612         * benchtests/asin-inputs: New file.
18613         * benchtests/asinh-inputs: New file.
18614         * benchtests/atanh-inputs: New file.
18615         * benchtests/cosh-inputs: New file.
18616         * benchtests/log-inputs: New file.
18617         * benchtests/sinh-inputs: New file.
18618         * benchtests/tanh-inputs: New file.
18619
18620 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18621
18622         [BZ #15339]
18623         * posix/tst-getaddrinfo4.c: New test.
18624         * posix/Makefile (tests): Add it.
18625
18626 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18627
18628         [BZ #15339]
18629         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18630         when no services were used.
18631         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18632         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18633
18634 2013-05-21  Andreas Schwab  <schwab@suse.de>
18635
18636         [BZ #15014]
18637         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18638         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18639         successful.
18640         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18641         redundant variable declarations and reallocation of buffer when
18642         parsing as IPv6 address.  Always set NSS status when called from
18643         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18644         buffer too small.  Correct computation of needed size.
18645         * nss/Makefile (tests): Add test-digits-dots.
18646         * nss/test-digits-dots.c: New test.
18647
18648 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18649
18650         * benchtests/Makefile: Remove instructions for adding
18651         benchmark tests.
18652         * benchtests/README: New file to explain how to execute and
18653         enhance the benchmark tests.
18654
18655 2013-05-21  Andreas Schwab  <schwab@suse.de>
18656
18657         [BZ #15493]
18658         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18659         * setjmp/tst-sigsetjmp.c: New test.
18660
18661 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18662
18663         * sysdeps/x86_64/memset.S (memset): New implementation.
18664         (__bzero): Likewise.
18665         (__memset_tail): New function.
18666
18667 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18668
18669         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18670         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18671         __memcpy_sse2_unaligned ifunc selection.
18672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18673         Add memcpy-sse2-unaligned.S.
18674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18675         Add: __memcpy_sse2_unaligned.
18676
18677 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18678
18679         [BZ #15490]
18680         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18681         math_force_eval before restoring floating-point envrionment.
18682         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18683         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18684         Likewise.
18685         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18686         <math_private.h>.
18687         (__nearbyintl): Use math_force_eval before restoring
18688         floating-point environment.
18689         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18690
18691         * math/gen-libm-test.pl (special_functions): Remove.
18692         (parse_args): Don't handle TEST_extra.  Handle functions with no
18693         return value.
18694         * math/libm-test.inc (struct test_sincos_data): Replace with
18695         struct test_fFF_11_data.
18696         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18697         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18698         (sincos_test_data): Change element type to struct
18699         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18700         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18701         RUN_TEST_LOOP_sincos.
18702         * math/README.libm-test: Don't mention special handling of
18703         individual functions.
18704         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18705         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18706         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18707         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18708         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18710
18711         * math/gen-libm-test.pl (get_variable): Remove function.
18712         (parse_args): Don't show pointer parameters to call in test
18713         names.  Use "extra output N" in test names for extra outputs
18714         rather than naming variables.
18715
18716 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18717
18718         [BZ #15488]
18719         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18720         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18721         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18722         double tests.
18723         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18724         disable.
18725         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18726         check_long_double.
18727
18728         * math/gen-libm-test.pl (@tests): Remove variable.
18729         ($count): Likewise.
18730         (new_test): Remove function.
18731         (show_exceptions): New function.
18732         (special_functions): Use show_exceptions instead of new_test.
18733         (parse_args): Likewise.
18734         (generate_testfile): Pass only function name in generated call to
18735         print_max_error or print_complex_max_error.
18736         (get_ulps): Do not handle complex tests specially.
18737         (output_test): Rename to ...
18738         (get_all_ulps_for_test): ... this.  Return a string rather than
18739         printing to a file.  Require ulps to be present.
18740         (output_ulps): Generate arrays rather than #defines.
18741         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18742         (struct ulp_data): New type.
18743         (BUILD_COMPLEX_ULP): Remove macro.
18744         (compare_ulp_data): New function.
18745         (find_ulps): Likewise.
18746         (find_test_ulps): Likewise.
18747         (find_function_ulps): Likewise.
18748         (find_complex_function_ulps): Likewise.
18749         (print_max_error): Determine allowed ulps using
18750         find_function_ulps.
18751         (print_complex_max_error): Determine allowed ulps using
18752         find_complex_function_ulps.
18753         (check_float_internal): Determine max ulps using find_test_ulps.
18754         (check_float): Do not take max_ulp parameter.  Update call to
18755         check_float_internal.
18756         (check_complex): Likewise.
18757         (check_int): Do not take max_ulp parameter.
18758         (check_long): Likewise.
18759         (check_bool): Likewise.
18760         (check_longlong): Likewise.
18761         (struct test_f_f_data): Remove max_ulp field.
18762         (struct test_ff_f_data): Likewise.
18763         (struct test_ff_f_data_nexttoward): Likewise.
18764         (struct test_fi_f_data): Likewise.
18765         (struct test_fl_f_data): Likewise.
18766         (struct test_if_f_data): Likewise.
18767         (struct test_fff_f_data): Likewise.
18768         (struct test_c_f_data): Likewise.
18769         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18770         (struct test_fF_f1_data): Likewise.
18771         (struct test_ffI_f1_data): Likewise.
18772         (struct test_c_c_data): Remove max_ulp field.
18773         (struct test_cc_c_data): Likewise.
18774         (struct test_f_i_data): Likewise.
18775         (struct test_ff_i_data): Likewise.
18776         (struct test_f_l_data): Likewise.
18777         (struct test_f_L_data): Likewise.
18778         (struct test_sincos_data): Likewise.
18779         (RUN_TEST_f_f): Do not handle ulps.
18780         (RUN_TEST_LOOP_f_f): Likewise.
18781         (RUN_TEST_2_f): Likewise.
18782         (RUN_TEST_LOOP_2_f): Likewise.
18783         (RUN_TEST_fff_f): Likewise.
18784         (RUN_TEST_LOOP_fff_f): Likewise.
18785         (RUN_TEST_c_f): Likewise.
18786         (RUN_TEST_LOOP_c_f): Likewise.
18787         (RUN_TEST_f_f1): Likewise.
18788         (RUN_TEST_LOOP_f_f1): Likewise.
18789         (RUN_TEST_fF_f1): Likewise.
18790         (RUN_TEST_LOOP_fF_f1): Likewise.
18791         (RUN_TEST_fI_f1): Likewise.
18792         (RUN_TEST_LOOP_fI_f1): Likewise.
18793         (RUN_TEST_ffI_f1): Likewise.
18794         (RUN_TEST_LOOP_ffI_f1): Likewise.
18795         (RUN_TEST_c_c): Likewise.
18796         (RUN_TEST_LOOP_c_c): Likewise.
18797         (RUN_TEST_cc_c): Likewise.
18798         (RUN_TEST_LOOP_cc_c): Likewise.
18799         (RUN_TEST_f_i): Likewise.
18800         (RUN_TEST_LOOP_f_i): Likewise.
18801         (RUN_TEST_f_i_tg): Likewise.
18802         (RUN_TEST_LOOP_f_i_tg): Likewise.
18803         (RUN_TEST_ff_i_tg): Likewise.
18804         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18805         (RUN_TEST_f_b): Likewise.
18806         (RUN_TEST_LOOP_f_b): Likewise.
18807         (RUN_TEST_f_b_tg): Likewise.
18808         (RUN_TEST_LOOP_f_b_tg): Likewise.
18809         (RUN_TEST_f_l): Likewise.
18810         (RUN_TEST_LOOP_f_l): Likewise.
18811         (RUN_TEST_f_L): Likewise.
18812         (RUN_TEST_LOOP_f_L): Likewise.
18813         (RUN_TEST_sincos): Likewise.
18814         (RUN_TEST_LOOP_sincos): Likewise.
18815
18816 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18817
18818         [BZ #15480]
18819         [BZ #15485]
18820         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18821         main case of finite arguments, set rounding mode to FE_TONEAREST
18822         and discard exceptions.
18823         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18824         exceptions.
18825         (remainder_tonearest_test_data): New variable.
18826         (remainder_test_tonearest): New function.
18827         (remainder_towardzero_test_data): New variable.
18828         (remainder_test_towardzero): New function.
18829         (remainder_downward_test_data): New variable.
18830         (remainder_test_downward): New function.
18831         (remainder_upward_test_data): New variable.
18832         (remainder_test_upward): New function.
18833         (main): Call the new test functions.
18834
18835         * math/libm-test.inc (struct test_f_f1_data): Remove field
18836         extra_init.
18837         (struct test_fF_f1_data): Likewise.
18838         (struct test_ffI_f1_data): Likewise.
18839         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18840         based on value of EXTRA_EXPECTED.
18841         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18842         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18843         EXTRA_VAR based on value of EXTRA_EXPECTED.
18844         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18845         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18846         EXTRA_VAR based on value of EXTRA_EXPECTED.
18847         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18848         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18849         EXTRA_VAR based on value of EXTRA_EXPECTED.
18850         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18851         * math/gen-libm-test.pl (parse_args): Don't output initializers
18852         for extra output values.
18853
18854         * math/libm-test.inc (check_int): Expect result to be exactly
18855         equal to expected value and do not handle ulps.
18856         (check_long): Likewise.
18857         (check_longlong): Likewise.
18858
18859         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18860         exceptions.
18861         (cimag_test_data): Likewise.
18862         (conj_test_data): Likewise.
18863         (copysign_test_data): Likewise.
18864         (cproj_test_data): Likewise.
18865         (creal_test_data): Likewise.
18866         (fabs_test_data): Likewise.
18867         (fdim_test_data): Likewise.
18868         (finite_test_data): Likewise.
18869         (floor_test_data): Likewise.
18870         (fmax_test_data): Likewise.
18871         (fmin_test_data): Likewise.
18872         (fmod_test_data): Likewise.
18873         (fpclassify_test_data): Likewise.
18874         (frexp_test_data): Likewise.
18875         (ilogb_test_data): Likewise.
18876         (isfinite_test_data): Likewise.
18877         (isgreater_test_data): Likewise.
18878         (isgreaterequal_test_data): Likewise.
18879         (isinf_test_data): Likewise.
18880         (isless_test_data): Likewise.
18881         (islessequal_test_data): Likewise.
18882         (islessgreater_test_data): Likewise.
18883         (isnan_test_data): Likewise.
18884         (isnormal_test_data): Likewise.
18885         (issignaling_test_data): Likewise.
18886         (isunordered_test_data): Likewise.
18887         (ldexp_test_data): Likewise.
18888         (lrint_test_data): Likewise.
18889         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18890         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18891         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18892         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18893         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18894         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18895         test input.
18896         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18897         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18898         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18899         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18900         that test input.
18901         (lrint_downward_test_data): Test for "inexact" exceptions.
18902         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18903         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18904         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18905         test input.
18906         (lrint_upward_test_data): Test for "inexact" exceptions.
18907         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18908         test input.
18909         (llrint_test_data): Test for "inexact" exceptions.
18910         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18911         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18912         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18913         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18914         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18915         (llrint_downward_test_data): Test for "inexact" exceptions.
18916         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18917         (llrint_upward_test_data): Test for "inexact" exceptions.
18918         (logb_test_data): Likewise.
18919         (logb_downward_test_data): Likewise.
18920         (nextafter_test_data): Likewise.
18921         (nexttoward_test_data): Likewise.
18922         (remainder_test_data): Likewise.
18923         (remquo_test_data): Likewise.
18924         (scalbn_test_data): Likewise.
18925         (scalbln_test_data): Likewise.
18926         (signbit_test_data): Likewise.
18927         (sqrt_test_data): Likewise.
18928         (significand_test_data): Likewise.
18929
18930 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18931
18932         [BZ #15424]
18933         * benchtests/bench-modf.c (struct args): Mark arg0 as
18934         volatile.
18935         * scripts/bench.pl: Mark members of struct args as volatile.
18936
18937 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18938
18939         [BZ # 15497]
18940         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18941         negative infinity on POWER6 or lower.
18942         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18943
18944 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18945
18946         [BZ #15442]
18947         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18948         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18949         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18950         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18951         (_FP_SETQNAN): New macro.
18952         (_FP_SETQNAN_SEMIRAW): Likewise.
18953         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18954         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18955         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18956         (FP_EXTEND): Use _FP_FRAC_SNANP.
18957         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18958         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18959         into account.
18960         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18961         New macro.
18962         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18963         Likewise.
18964
18965 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18966
18967         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18968         with DIVIDE_BY_ZERO_EXCEPTION.
18969         (gamma_test_data): Likewise.
18970         (lgamma_test_data): Likewise.
18971         (log_test_data): Likewise.
18972         (log10_test_data): Likewise.
18973         (log2_test_data): Likewise.
18974         (tgamma_test_data): Likewise.
18975
18976         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18977         (acos_test_tonearest): Likewise.
18978         (acos_test_towardzero): Likewise.
18979         (acos_test_downward): Likewise.
18980         (acos_test_upward): Likewise.
18981         (acosh_test): Likewise.
18982         (asin_test): Likewise.
18983         (asin_test_tonearest): Likewise.
18984         (asin_test_towardzero): Likewise.
18985         (asin_test_downward): Likewise.
18986         (asin_test_upward): Likewise.
18987         (asinh_test): Likewise.
18988         (atan_test): Likewise.
18989         (atanh_test): Likewise.
18990         (atan2_test): Likewise.
18991         (cabs_test): Likewise.
18992         (cacos_test): Likewise.
18993         (cacosh_test): Likewise.
18994         (casin_test): Likewise.
18995         (casinh_test): Likewise.
18996         (catan_test): Likewise.
18997         (catanh_test): Likewise.
18998         (cbrt_test): Likewise.
18999         (ccos_test): Likewise.
19000         (ccosh_test): Likewise.
19001         (cexp_test): Likewise.
19002         (clog_test): Likewise.
19003         (clog10_test): Likewise.
19004         (cos_test): Likewise.
19005         (cos_test_tonearest): Likewise.
19006         (cos_test_towardzero): Likewise.
19007         (cos_test_downward): Likewise.
19008         (cos_test_upward): Likewise.
19009         (cosh_test): Likewise.
19010         (cosh_test_tonearest): Likewise.
19011         (cosh_test_towardzero): Likewise.
19012         (cosh_test_downward): Likewise.
19013         (cosh_test_upward): Likewise.
19014         (cpow_test): Likewise.
19015         (csin_test): Likewise.
19016         (csinh_test): Likewise.
19017         (csqrt_test): Likewise.
19018         (ctan_test): Likewise.
19019         (ctan_test_tonearest): Likewise.
19020         (ctan_test_towardzero): Likewise.
19021         (ctan_test_downward): Likewise.
19022         (ctan_test_upward): Likewise.
19023         (ctanh_test): Likewise.
19024         (ctanh_test_tonearest): Likewise.
19025         (ctanh_test_towardzero): Likewise.
19026         (ctanh_test_downward): Likewise.
19027         (ctanh_test_upward): Likewise.
19028         (erf_test): Likewise.
19029         (erfc_test): Likewise.
19030         (exp_test): Likewise.
19031         (exp_test_tonearest): Likewise.
19032         (exp_test_towardzero): Likewise.
19033         (exp_test_downward): Likewise.
19034         (exp_test_upward): Likewise.
19035         (exp10_test): Likewise.
19036         (exp2_test): Likewise.
19037         (expm1_test): Likewise.
19038         (fmod_test): Likewise.
19039         (gamma_test): Likewise.
19040         (hypot_test): Likewise.
19041         (j0_test): Likewise.
19042         (j1_test): Likewise.
19043         (jn_test): Likewise.
19044         (lgamma_test): Likewise.
19045         (log_test): Likewise.
19046         (log10_test): Likewise.
19047         (log1p_test): Likewise.
19048         (log2_test): Likewise.
19049         (logb_test_downward): Likewise.
19050         (pow_test): Likewise.
19051         (pow_test_tonearest): Likewise.
19052         (pow_test_towardzero): Likewise.
19053         (pow_test_downward): Likewise.
19054         (pow_test_upward): Likewise.
19055         (remainder_test): Likewise.
19056         (remquo_test): Likewise.
19057         (sin_test): Likewise.
19058         (sin_test_tonearest): Likewise.
19059         (sin_test_towardzero): Likewise.
19060         (sin_test_downward): Likewise.
19061         (sin_test_upward): Likewise.
19062         (sincos_test): Likewise.
19063         (sinh_test): Likewise.
19064         (sinh_test_tonearest): Likewise.
19065         (sinh_test_towardzero): Likewise.
19066         (sinh_test_downward): Likewise.
19067         (sinh_test_upward): Likewise.
19068         (sqrt_test): Likewise.
19069         (tan_test): Likewise.
19070         (tan_test_tonearest): Likewise.
19071         (tan_test_towardzero): Likewise.
19072         (tan_test_downward): Likewise.
19073         (tan_test_upward): Likewise.
19074         (tanh_test): Likewise.
19075         (tgamma_test): Likewise.
19076         (y0_test): Likewise.
19077         (y1_test): Likewise.
19078         (yn_test): Likewise.
19079
19080         * math/gen-libm-test.pl (adjust_arg): Remove function.
19081         (special_function): Remove argument $in_func.  Only handle
19082         generating output for tables of tests, not inside functions.
19083         (parse_args): Likewise.
19084         (generate_testfile): Remove variable $in_func.  Update call to
19085         parse_args.
19086         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19087         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19088         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19089         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19090         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19091         (MAX_VALUE_INIT): Rename macro to max_value.
19092         (MIN_VALUE_INIT): Rename macro to min_value.
19093         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19094         (plus_zero): Remove variable.
19095         (minus_zero): Likewise.
19096         (plus_infty): Likewise.
19097         (minus_infty): Likewise.
19098         (qnan_value): Likewise.
19099         (max_value): Likewise.
19100         (min_value): Likewise.
19101         (min_subnorm_value): Likewise.
19102
19103 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19104
19105         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19106         uint64_t or uint32_t usage.
19107         * crypt/sha256-block.c: Likewise.
19108         * crypt/sha256-crypt.c: Likewise.
19109         * crypt/sha256.c: Likewise.
19110         * crypt/sha512-block.c: Likewise.
19111         * crypt/sha512-crypt.c: Likewise.
19112         * crypt/sha512.c: Likewise.
19113         * debug/backtrace-tst.c: Likewise.
19114         * debug/pcprofiledump.c: Likewise.
19115         * elf/cache.c: Likewise.
19116         * elf/dl-cache.c: Likewise.
19117         * elf/dl-misc.c: Likewise.
19118         * elf/dl-profile.c: Likewise.
19119         * elf/dl-support.c: Likewise.
19120         * elf/ldconfig.c: Likewise.
19121         * elf/sprof.c: Likewise.
19122         * iconv/dummy-repertoire.c: Likewise.
19123         * iconv/iconv_charmap.c: Likewise.
19124         * iconv/skeleton.c: Likewise.
19125         * iconvdata/8bit-generic.c: Likewise.
19126         * iconvdata/cp737.h: Likewise.
19127         * iconvdata/cp775.h: Likewise.
19128         * iconvdata/ibm1008.h: Likewise.
19129         * iconvdata/ibm1025.h: Likewise.
19130         * iconvdata/ibm1046.h: Likewise.
19131         * iconvdata/ibm1097.h: Likewise.
19132         * iconvdata/ibm1112.h: Likewise.
19133         * iconvdata/ibm1122.h: Likewise.
19134         * iconvdata/ibm1123.h: Likewise.
19135         * iconvdata/ibm1124.h: Likewise.
19136         * iconvdata/ibm1129.h: Likewise.
19137         * iconvdata/ibm1130.h: Likewise.
19138         * iconvdata/ibm1132.h: Likewise.
19139         * iconvdata/ibm1133.h: Likewise.
19140         * iconvdata/ibm1137.h: Likewise.
19141         * iconvdata/ibm1140.h: Likewise.
19142         * iconvdata/ibm1141.h: Likewise.
19143         * iconvdata/ibm1142.h: Likewise.
19144         * iconvdata/ibm1143.h: Likewise.
19145         * iconvdata/ibm1144.h: Likewise.
19146         * iconvdata/ibm1145.h: Likewise.
19147         * iconvdata/ibm1146.h: Likewise.
19148         * iconvdata/ibm1147.h: Likewise.
19149         * iconvdata/ibm1148.h: Likewise.
19150         * iconvdata/ibm1149.h: Likewise.
19151         * iconvdata/ibm1153.h: Likewise.
19152         * iconvdata/ibm1154.h: Likewise.
19153         * iconvdata/ibm1155.h: Likewise.
19154         * iconvdata/ibm1156.h: Likewise.
19155         * iconvdata/ibm1157.h: Likewise.
19156         * iconvdata/ibm1158.h: Likewise.
19157         * iconvdata/ibm1160.h: Likewise.
19158         * iconvdata/ibm1161.h: Likewise.
19159         * iconvdata/ibm1162.h: Likewise.
19160         * iconvdata/ibm1163.h: Likewise.
19161         * iconvdata/ibm1164.h: Likewise.
19162         * iconvdata/ibm1166.h: Likewise.
19163         * iconvdata/ibm1167.h: Likewise.
19164         * iconvdata/ibm12712.h: Likewise.
19165         * iconvdata/ibm1390.h: Likewise.
19166         * iconvdata/ibm1399.h: Likewise.
19167         * iconvdata/ibm16804.h: Likewise.
19168         * iconvdata/ibm4517.h: Likewise.
19169         * iconvdata/ibm4899.h: Likewise.
19170         * iconvdata/ibm4909.h: Likewise.
19171         * iconvdata/ibm4971.h: Likewise.
19172         * iconvdata/ibm5347.h: Likewise.
19173         * iconvdata/ibm803.h: Likewise.
19174         * iconvdata/ibm856.h: Likewise.
19175         * iconvdata/ibm901.h: Likewise.
19176         * iconvdata/ibm902.h: Likewise.
19177         * iconvdata/ibm9030.h: Likewise.
19178         * iconvdata/ibm9066.h: Likewise.
19179         * iconvdata/ibm921.h: Likewise.
19180         * iconvdata/ibm922.h: Likewise.
19181         * iconvdata/ibm9448.h: Likewise.
19182         * iconvdata/isiri-3342.h: Likewise.
19183         * iconvdata/jis0201.h: Likewise.
19184         * include/link.h: Likewise.
19185         * include/netdb.h: Likewise.
19186         * inet/check_native.c: Likewise.
19187         * inet/check_pf.c: Likewise.
19188         * inet/getipv4sourcefilter.c: Likewise.
19189         * inet/getnameinfo.c: Likewise.
19190         * inet/getsourcefilter.c: Likewise.
19191         * inet/htonl.c: Likewise.
19192         * inet/setipv4sourcefilter.c: Likewise.
19193         * inet/setsourcefilter.c: Likewise.
19194         * inet/test-inet6_opt.c: Likewise.
19195         * inet/tst-network.c: Likewise.
19196         * locale/C-collate.c: Likewise.
19197         * locale/C-ctype.c: Likewise.
19198         * locale/C-time.c: Likewise.
19199         * locale/C-translit.h: Likewise.
19200         * locale/loadarchive.c: Likewise.
19201         * locale/programs/3level.h: Likewise.
19202         * locale/programs/charmap.c: Likewise.
19203         * locale/programs/charmap.h: Likewise.
19204         * locale/programs/ld-address.c: Likewise.
19205         * locale/programs/ld-collate.c: Likewise.
19206         * locale/programs/ld-ctype.c: Likewise.
19207         * locale/programs/ld-identification.c: Likewise.
19208         * locale/programs/ld-measurement.c: Likewise.
19209         * locale/programs/ld-messages.c: Likewise.
19210         * locale/programs/ld-monetary.c: Likewise.
19211         * locale/programs/ld-name.c: Likewise.
19212         * locale/programs/ld-numeric.c: Likewise.
19213         * locale/programs/ld-paper.c: Likewise.
19214         * locale/programs/ld-telephone.c: Likewise.
19215         * locale/programs/ld-time.c: Likewise.
19216         * locale/programs/linereader.c: Likewise.
19217         * locale/programs/locale.c: Likewise.
19218         * locale/programs/locarchive.c: Likewise.
19219         * locale/programs/locfile.h: Likewise.
19220         * locale/programs/repertoire.c: Likewise.
19221         * locale/programs/simple-hash.c: Likewise.
19222         * locale/programs/simple-hash.h: Likewise.
19223         * malloc/memusage.c: Likewise.
19224         * malloc/memusagestat.c: Likewise.
19225         * nis/nis_defaults.c: Likewise.
19226         * nis/nis_hash.c: Likewise.
19227         * nis/nis_print.c: Likewise.
19228         * nis/nis_xdr.c: Likewise.
19229         * nscd/connections.c: Likewise.
19230         * nscd/hstcache.c: Likewise.
19231         * nscd/nscd_gethst_r.c: Likewise.
19232         * nscd/nscd_getserv_r.c: Likewise.
19233         * nscd/nscd_helper.c: Likewise.
19234         * nscd/servicescache.c: Likewise.
19235         * nss/makedb.c: Likewise.
19236         * nss/nss_db/db-XXX.c: Likewise.
19237         * nss/nss_db/db-initgroups.c: Likewise.
19238         * nss/nss_db/db-netgrp.c: Likewise.
19239         * nss/nss_files/files-network.c: Likewise.
19240         * nss/nss_files/files-parse.c: Likewise.
19241         * posix/bug-regex5.c: Likewise.
19242         * posix/fnmatch_loop.c: Likewise.
19243         * posix/regcomp.c: Likewise.
19244         * posix/regexec.c: Likewise.
19245         * posix/tst-rfc3484-2.c: Likewise.
19246         * posix/tst-rfc3484-3.c: Likewise.
19247         * posix/tst-rfc3484.c: Likewise.
19248         * resolv/nss_dns/dns-canon.c: Likewise.
19249         * resolv/nss_dns/dns-network.c: Likewise.
19250         * resolv/res_init.c: Likewise.
19251         * resolv/res_mkquery.c: Likewise.
19252         * resolv/tst-aton.c: Likewise.
19253         * stdlib/cxa_atexit.c: Likewise.
19254         * stdlib/cxa_finalize.c: Likewise.
19255         * stdlib/gen-fpioconst.c: Likewise.
19256         * stdlib/strtol_l.c: Likewise.
19257         * string/tst-endian.c: Likewise.
19258         * sunrpc/auth_des.c: Likewise.
19259         * sunrpc/clnt_udp.c: Likewise.
19260         * sunrpc/rtime.c: Likewise.
19261         * sunrpc/svcauth_des.c: Likewise.
19262         * sunrpc/xdr.c: Likewise.
19263         * sunrpc/xdr_intXX_t.c: Likewise.
19264         * sunrpc/xdr_rec.c: Likewise.
19265         * sysdeps/generic/ldconfig.h: Likewise.
19266         * sysdeps/generic/ldsodefs.h: Likewise.
19267         * sysdeps/generic/memusage.h: Likewise.
19268         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19269         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19270         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19271         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19272         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19273         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19274         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19275         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19276         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19277         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19278         * sysdeps/posix/getaddrinfo.c: Likewise.
19279         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19280         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19281         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19282         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19283         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19284         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19285         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19286         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19287         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19288         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19289         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19290         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19291         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19292         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19293         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19294         * sysdeps/x86_64/dl-tls.h: Likewise.
19295         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19296         * time/alt_digit.c: Likewise.
19297         * time/era.c: Likewise.
19298         * wcsmbs/tst-c16c32-1.c: Likewise.
19299
19300 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19301
19302         * math/libm-test.inc (struct test_sincos_data): New type.
19303         (RUN_TEST_LOOP_sincos): New macro.
19304         (sincos_test_data): New variable.
19305         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19306
19307 2013-05-16  Richard Henderson  <rth@redhat.com>
19308
19309         * math/atest-exp2.c (LIMB64): New macro.
19310         (CONSTSZ): New macro.
19311         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19312         (hexdig): Move ...
19313         (print_mpn_fp): ... to function scope.
19314         (read_mpn_hex): Remove.
19315         (get_log2): Remove.
19316         (exp2_mpn): Use mp_log2.
19317         (main): Use mp_exp1.
19318
19319 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19320
19321         * math/libm-test.inc: Remove comment about not testing "inexact"
19322         exceptions.
19323         (INEXACT_EXCEPTION): New macro.
19324         (NO_INEXACT_EXCEPTION): Likewise.
19325         (INVALID_EXCEPTION_OK): Update value.
19326         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19327         (OVERFLOW_EXCEPTION_OK): Likewise.
19328         (UNDERFLOW_EXCEPTION_OK): Likewise.
19329         (IGNORE_ZERO_INF_SIGN): Likewise.
19330         (ERRNO_UNCHANGED): Likewise.
19331         (ERRNO_EDOM): Likewise.
19332         (ERRNO_ERANGE): Likewise.
19333         (test_exceptions): Handle testing "inexact" exceptions.
19334         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19335         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19336         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19337         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19338         INEXACT_EXCEPTION.
19339         (rint_towardzero_test_data): Likewise.
19340         (rint_downward_test_data): Likewise.
19341         (rint_upward_test_data): Likewise.
19342
19343         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19344         with OVERFLOW_EXCEPTION.
19345         (exp10_test_data): Likewise.
19346         (exp2_test_data): Likewise.
19347         (expm1_test_data): Likewise.
19348         (lgamma_test_data): Likewise.
19349         (pow_test_data): Likewise.
19350         (tgamma_test_data): Likewise.
19351         (yn_test_data): Remove duplicate test of overflow.
19352
19353         * math/libm-test.inc (struct test_cc_c_data): New type.
19354         (RUN_TEST_LOOP_cc_c): New macro.
19355         (cpow_test_data): New variable.
19356         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19357
19358         * math/libm-test.inc (struct test_f_L_data): New type.
19359         (RUN_TEST_LOOP_f_L): New macro.
19360         (llrint_test_data): New variable.
19361         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19362         (llrint_tonearest_test_data): New variable.
19363         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19364         (llrint_towardzero_test_data): New variable.
19365         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19366         (llrint_downward_test_data): New variable.
19367         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19368         (llrint_upward_test_data): New variable.
19369         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19370         (llround_test_data): New variable.
19371         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19372
19373 2013-05-13  Peter Collingbourne  <pcc@google.com>
19374
19375         * math/atest-exp2.c (get_log2): Remove const attribute.
19376
19377 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19378
19379         * math/libm-test.inc (struct test_f_l_data): New type.
19380         (RUN_TEST_LOOP_f_l): New macro.
19381         (lrint_test_data): New variable.
19382         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19383         (lrint_tonearest_test_data): New variable.
19384         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19385         (lrint_towardzero_test_data): New variable.
19386         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19387         (lrint_downward_test_data): New variable.
19388         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19389         (lrint_upward_test_data): New variable.
19390         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19391         (lround_test_data): New variable.
19392         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19393
19394 2013-05-15  Peter Collingbourne  <pcc@google.com>
19395
19396         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19397         (EXTRACT_WORDS64) Use where appropriate.
19398         (INSERT_WORDS64) Likewise.
19399
19400         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19401         constraints with x constraints.
19402         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19403
19404         * malloc/obstack.c (_obstack_compat): Add initializer.
19405
19406 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19407
19408         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19409         si_trapno and add si_addr_lsb to _sifields.sigfault.
19410         (si_trapno): Remove macro.
19411         (si_addr_lsb): Define new macro.
19412         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19413
19414 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19415
19416         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19417         instead of TEST_f_l.
19418         (llrint_test_tonearest): Likewise.
19419         (llrint_test_towardzero): Likewise.
19420         (llrint_test_downward): Likewise.
19421         (llrint_test_upward): Likewise.
19422         (llround_test): Likewise.
19423
19424         * math/libm-test.inc (struct test_f_i_data): Add comment.
19425         (RUN_TEST_LOOP_f_b): New macro.
19426         (RUN_TEST_LOOP_f_b_tg): Likewise.
19427         (finite_test_data): New variable.
19428         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19429         (isfinite_test_data): New variable.
19430         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19431         (isinf_test_data): New variable.
19432         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19433         (isnan_test_data): New variable.
19434         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19435         (isnormal_test_data): New variable.
19436         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19437         (issignaling_test_data): New variable.
19438         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19439         (signbit_test_data): New variable.
19440         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19441
19442         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19443         with INVALID_EXCEPTION.
19444         (acosh_test_data): Likewise.
19445         (asin_test_data): Likewise.
19446         (atanh_test_data): Likewise.
19447         (fmod_test_data): Likewise.
19448         (log_test_data): Likewise.
19449         (log10_test_data): Likewise.
19450         (log2_test_data): Likewise.
19451         (pow_test_data): Likewise.
19452         (sqrt_test_data): Likewise.
19453         (y0_test_data): Likewise.
19454         (y1_test_data): Likewise.
19455         (yn_test_data): Likewise.
19456
19457         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19458         function contents.
19459
19460         * math/libm-test.inc (struct test_ff_i_data): New type.
19461         (RUN_TEST_LOOP_ff_i_tg): New macro.
19462         (isgreater_test_data): New variable.
19463         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19464         (isgreaterequal_test_data): New variable.
19465         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19466         (isless_test_data): New variable.
19467         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19468         (islessequal_test_data): New variable.
19469         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19470         (islessgreater_test_data): New variable.
19471         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19472         (isunordered_test_data): New variable.
19473         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19474
19475 2013-05-14  David S. Miller  <davem@davemloft.net>
19476
19477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19478
19479 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19480
19481         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19482
19483         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19484         extra_test to int.
19485         (struct test_f_i_data): Change type of max_ulp to int.
19486
19487         * math/libm-test.inc (test_ffI_f1_data): New type.
19488         (RUN_TEST_LOOP_ffI_f1): New macro.
19489         (remquo_test_data): New variable.
19490         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19491
19492         * setjmp/tst-setjmp-fp.c: New file.
19493         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19494         (link-libm): New variable.
19495         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19496
19497         * math/libm-test.inc (struct test_f_i_data): New type.
19498         (RUN_TEST_LOOP_f_i): New macro.
19499         (RUN_TEST_LOOP_f_i_tg): Likewise.
19500         (fpclassify_test_data): New variable.
19501         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19502         (ilogb_test_data): New variable.
19503         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19504
19505         * math/libm-test.inc (scalbln_test): Correct function name in END
19506         call.
19507
19508         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19509         (RUN_TEST_LOOP_fI_f1): New macro.
19510         (frexp_test_data): New variable.
19511         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19512
19513         * math/libm-test.inc (struct test_fF_f1_data): New type.
19514         (RUN_TEST_LOOP_fF_f1): New macro.
19515         (modf_test_data): New variable.
19516         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19517
19518         * math/libm-test.inc (struct test_f_f1_data): New type.
19519         (RUN_TEST_LOOP_f_f1): New macro.
19520         (gamma_test_data): New variable.
19521         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19522         (lgamma_test_data): New variable.
19523         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19524
19525 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19526
19527         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19528         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19529         (main): Comment "tls" pseudo-hwcap.
19530
19531 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19532
19533         * math/libm-test.inc (struct test_fl_f_data): New type.
19534         (RUN_TEST_LOOP_fl_f): New variable.
19535         (scalbln_test_data): New variable.
19536         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19537
19538         * math/libm-test.inc (struct test_fi_f_data): New type.
19539         (RUN_TEST_LOOP_fi_f): New macro.
19540         (ldexp_test_data): New variable.
19541         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19542         (scalbn_test_data): New variable.
19543         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19544
19545         * math/libm-test.inc (struct test_c_f_data): New type.
19546         (RUN_TEST_LOOP_c_f): New macro.
19547         (cabs_test_data): New variable.
19548         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19549         (carg_test_data): New variable.
19550         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19551         (cimag_test_data): New variable.
19552         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19553         (creal_test_data): New variable.
19554         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19555
19556         * math/libm-test.inc (struct test_if_f_data): New type.
19557         (RUN_TEST_LOOP_if_f): New macro.
19558         (jn_test_data): New variable.
19559         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19560         (yn_test_data): New variable.
19561         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19562
19563         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19564
19565 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19566
19567         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19568         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19569
19570 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19571
19572         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19573         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19574         (bench-deps): Add bench-timing.h.
19575         * benchtests-bench-skeleton.c: Include bench-timing.h.
19576         (main): Use TIMING_* macros instead of clock_gettime.
19577         * benchtests/bench-timing.h: New file.
19578
19579         [BZ #14582]
19580         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19581         Renamed from _LIB_VERSION.
19582         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19583
19584 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19585
19586         * math/libm-test.inc (struct test_fff_f_data): New type.
19587         (RUN_TEST_LOOP_fff_f): New macro.
19588         (fma_test_data): New variable.
19589         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19590         (fma_towardzero_test_data): New variable.
19591         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19592         (fma_downward_test_data): New variable.
19593         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19594         (fma_upward_test_data): New variable.
19595         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19596
19597         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19598         (struct test_c_c_data): New type.
19599         (RUN_TEST_LOOP_c_c): New macro.
19600         (cacos_test_data): New variable.
19601         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19602         (cacosh_test_data): New variable.
19603         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19604         (casin_test_data): New variable.
19605         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19606         (casinh_test_data): New variable.
19607         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19608         (catan_test_data): New variable.
19609         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19610         (catanh_test_data): New variable.
19611         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19612         (ccos_test_data): New variable.
19613         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19614         (ccosh_test_data): New variable.
19615         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19616         (cexp_test_data): New variable.
19617         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19618         (clog_test_data): New variable.
19619         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19620         (clog10_test_data): New variable.
19621         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19622         (conj_test_data): New variable.
19623         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19624         (cproj_test_data): New variable.
19625         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19626         (csin_test_data): New variable.
19627         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19628         (csinh_test_data): New variable.
19629         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19630         (csqrt_test_data): New variable.
19631         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19632         (ctan_test_data): New variable.
19633         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19634         (ctan_tonearest_test_data): New variable.
19635         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19636         (ctan_towardzero_test_data): New variable.
19637         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19638         (ctan_downward_test_data): New variable.
19639         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19640         (ctan_upward_test_data): New variable.
19641         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19642         (ctanh_test_data): New variable.
19643         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19644         (ctanh_tonearest_test_data): New variable.
19645         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19646         (ctanh_towardzero_test_data): New variable.
19647         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19648         (ctanh_downward_test_data): New variable.
19649         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19650         (ctanh_upward_test_data): New variable.
19651         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19652         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19653         of BUILD_COMPLEX.
19654
19655         * math/libm-test.inc (struct test_ff_f_data): New type.
19656         (struct test_ff_f_data_nexttoward): Likewise.
19657         (RUN_TEST_LOOP_2_f): New macro.
19658         (RUN_TEST_LOOP_ff_f): Likewise.
19659         (atan2_test_data): New variable.
19660         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19661         (copysign_test_data): New variable.
19662         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19663         (fdim_test_data): New variable.
19664         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19665         (fmax_test_data): New variable.
19666         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19667         (fmin_test_data): New variable.
19668         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19669         (fmod_test_data): New variable.
19670         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19671         (hypot_test_data): New variable.
19672         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19673         (nextafter_test_data): New variable.
19674         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19675         (nexttoward_test_data): New variable.
19676         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19677         (pow_test_data): New variable.
19678         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19679         (pow_tonearest_test_data): New variable.
19680         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19681         (pow_towardzero_test_data): New variable.
19682         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19683         (pow_downward_test_data): New variable.
19684         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19685         (pow_upward_test_data): New variable.
19686         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19687         (remainder_test_data): New variable.
19688         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19689         (scalb_test_data): New variable.
19690         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19691         * sysdeps/i386/fpu/libm-test-ulps: Update.
19692
19693 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19694
19695         * math/libm-test.inc (fma_test): Use max_value instead of local
19696         variable fltmax.
19697         (nextafter_test): Likewise.
19698
19699         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19700         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19701         (acos_downward_test_data): New variable.
19702         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19703         (acos_upward_test_data): New variable.
19704         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19705         (acosh_test_data): New variable.
19706         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19707         (asin_test_data): New variable.
19708         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19709         (asin_tonearest_test_data): New variable.
19710         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19711         (asin_towardzero_test_data): New variable.
19712         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19713         (asin_downward_test_data): New variable.
19714         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19715         (asin_upward_test_data): New variable.
19716         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19717         (asinh_test_data): New variable.
19718         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19719         (atan_test_data): New variable.
19720         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19721         (atanh_test_data): New variable.
19722         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19723         (cbrt_test_data): New variable.
19724         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19725         (ceil_test_data): New variable.
19726         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19727         (cos_test_data): New variable.
19728         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19729         (cos_tonearest_test_data): New variable.
19730         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19731         (cos_towardzero_test_data): New variable.
19732         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19733         (cos_downward_test_data): New variable.
19734         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19735         (cos_upward_test_data): New variable.
19736         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19737         (cosh_test_data): New variable.
19738         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19739         (cosh_tonearest_test_data): New variable.
19740         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19741         (cosh_towardzero_test_data): New variable.
19742         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19743         (cosh_downward_test_data): New variable.
19744         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19745         (cosh_upward_test_data): New variable.
19746         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19747         (erf_test_data): New variable.
19748         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19749         (erfc_test_data): New variable.
19750         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19751         (exp_test_data): New variable.
19752         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19753         (exp_tonearest_test_data): New variable.
19754         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19755         (exp_towardzero_test_data): New variable.
19756         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19757         (exp_downward_test_data): New variable.
19758         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19759         (exp_upward_test_data): New variable.
19760         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19761         (exp10_test_data): New variable.
19762         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19763         (exp2_test_data): New variable.
19764         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19765         (expm1_test_data): New variable.
19766         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19767         (fabs_test_data): New variable.
19768         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19769         (floor_test_data): New variable.
19770         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19771         (j0_test_data): New variable.
19772         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19773         (j1_test_data): New variable.
19774         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19775         (log_test_data): New variable.
19776         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19777         (log10_test_data): New variable.
19778         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19779         (log1p_test_data): New variable.
19780         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19781         (log2_test_data): New variable.
19782         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19783         (logb_test_data): New variable.
19784         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19785         (logb_downward_test_data): New variable.
19786         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19787         (nearbyint_test_data): New variable.
19788         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19789         (rint_test_data): New variable.
19790         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19791         (rint_tonearest_test_data): New variable.
19792         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19793         (rint_towardzero_test_data): New variable.
19794         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19795         (rint_downward_test_data): New variable.
19796         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19797         (rint_upward_test_data): New variable.
19798         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19799         (round_test_data): New variable.
19800         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19801         (sin_test_data): New variable.
19802         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19803         (sin_tonearest_test_data): New variable.
19804         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19805         (sin_towardzero_test_data): New variable.
19806         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19807         (sin_downward_test_data): New variable.
19808         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19809         (sin_upward_test_data): New variable.
19810         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19811         (sinh_test_data): New variable.
19812         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19813         (sinh_tonearest_test_data): New variable.
19814         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19815         (sinh_towardzero_test_data): New variable.
19816         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19817         (sinh_downward_test_data): New variable.
19818         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19819         (sinh_upward_test_data): New variable.
19820         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19821         (sqrt_test_data): New variable.
19822         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19823         (tan_test_data): New variable.
19824         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19825         (tan_tonearest_test_data): New variable.
19826         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19827         (tan_towardzero_test_data): New variable.
19828         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19829         (tan_downward_test_data): New variable.
19830         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19831         (tan_upward_test_data): New variable.
19832         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19833         (tanh_test_data): New variable.
19834         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19835         (tgamma_test_data): New variable.
19836         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19837         (trunc_test_data): New variable.
19838         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19839         (y0_test_data): New variable.
19840         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19841         (y1_test_data): New variable.
19842         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19843         (significand_test_data): New variable.
19844         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19845
19846 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19847
19848         [BZ #12387]
19849         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19850
19851 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19852
19853         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19854
19855 2013-05-10  Andreas Jaeger  <aj@suse.de>
19856
19857         [BZ #15448]
19858         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19859         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19860
19861 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19862
19863         * math/gen-libm-test.pl (adjust_arg): New function.
19864         (special_functions): Handle generating output in both functions
19865         and arrays.
19866         (parse_args): Likewise.
19867         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19868         $in_func argument to parse_args.
19869         * math/libm-test.inc (struct test_f_f_data): New type.
19870         (IF_ROUND_INIT_): New macro.
19871         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19872         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19873         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19874         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19875         (ROUND_RESTORE_): Likewise.
19876         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19877         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19878         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19879         (ROUND_RESTORE_FE_UPWARD): Likewise.
19880         (RUN_TEST_LOOP_f_f): New macro.
19881         (acos_test_data): New variable.
19882         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19883         (acos_tonearest_test_data): New variable.
19884         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19885
19886 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19887
19888         * benchtests/bench-skeleton.c (startup): Fix coding style.
19889
19890 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19891
19892         [BZ #6809]
19893         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19894         negative infinity argument.
19895         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19896         negative infinity argument.
19897         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19898         negative infinity argument.
19899         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19900         domain errors.
19901
19902 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19903
19904         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19905         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19906         * iconv/iconv_prog.c (main): Likewise.
19907         * locale/programs/charmap-dir.c (charmap_readdir)
19908         (fopen_uncompressed): Likewise.
19909         * locale/programs/locfile.c (siblings_uncached)
19910         (write_locale_data): Use lstat64 instead of lstat.
19911         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19912         stat.
19913
19914 2013-05-10  Andreas Jaeger  <aj@suse.de>
19915
19916         [BZ #15395]
19917         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19918         localization.
19919         Include <locale.h>.
19920
19921 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19922
19923         * elf/dl-close.c (_dl_close_worker): Add comments.
19924
19925 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19926
19927         [BZ #15359]
19928         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19929         high part of pi/2.
19930         (__ieee754_rem_pio2l): Update comments.
19931
19932         [BZ #15429]
19933         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19934         high part of pi/2.
19935         (__ieee754_rem_pio2l): Update comments.
19936
19937         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19938         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19939
19940         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19941         M_PI_4l.
19942
19943         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19944         (M_PI_34_LOG10El): Likewise.
19945         (M_PI2_LOG10El): Likewise.
19946         (M_PI4_LOG10El): Likewise.
19947         (M_PI_LOG10El): Likewise.
19948
19949 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19950
19951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19952
19953 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19954
19955         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19956         (MINUS_ZERO_INIT): Likewise.
19957         (PLUS_INFTY_INIT): Likewise.
19958         (MINUS_INFTY_INIT): Likewise.
19959         (QNAN_VALUE_INIT): Likewise.
19960         (MAX_VALUE_INIT): Likewise.
19961         (MIN_VALUE_INIT): Likewise.
19962         (MIN_SUBNORM_VALUE_INIT): Likewise.
19963         (plus_zero): Initialize with PLUS_ZERO_INIT.
19964         (minus_zero): Initialize with MINUS_ZERO_INIT.
19965         (plus_infty): Initialize with PLUS_INFTY_INIT.
19966         (minus_infty): Initialize with MINUS_INFTY_INIT.
19967         (qnan_value): Initialize with QNAN_VALUE_INIT.
19968         (max_value): Initialize with MAX_VALUE_INIT.
19969         (min_value): Initialize with MIN_VALUE_INIT.
19970         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19971
19972         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19973         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19974         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19975         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19976
19977         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19978         (RUN_TEST_2_f): Likewise.
19979         (RUN_TEST_ff_f): Likewise.
19980         (RUN_TEST_fi_f): Likewise.
19981         (RUN_TEST_fl_f): Likewise.
19982         (RUN_TEST_fff_f): Likewise.
19983         (RUN_TEST_c_f): Likewise.
19984         (RUN_TEST_f_f1): Likewise.
19985         (RUN_TEST_fF_f1): Likewise.
19986         (RUN_TEST_fI_f1): Likewise.
19987         (RUN_TEST_ffI_f1): Likewise.
19988         (RUN_TEST_c_c): Likewise.
19989         (RUN_TEST_cc_c): Likewise.
19990         (RUN_TEST_f_i): Likewise.
19991         (RUN_TEST_f_i_tg): Likewise.
19992         (RUN_TEST_ff_i_tg): Likewise.
19993         (RUN_TEST_f_b): Likewise.
19994         (RUN_TEST_f_b_tg): Likewise.
19995         (RUN_TEST_f_l): Likewise.
19996         (RUN_TEST_f_L): Likewise.
19997         (RUN_TEST_sincos): Likewise.
19998         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19999         whether to show exceptions.  Do not include ");\n" in return
20000         value.
20001         (special_functions): Output call to RUN_TEST_sincos instead of
20002         check_float calls.  Update calls to new_test.
20003         (parse_args): Output call to single RUN_TEST_* macro instead of
20004         check_* calls and other assignments.  Update calls to new_test.
20005
20006         [BZ #2546]
20007         [BZ #2560]
20008         [BZ #5159]
20009         [BZ #15426]
20010         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20011         input to result for tgamma overflow.
20012         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20013         (gamma_coeff): New variable.
20014         (NCOEFF): New macro.
20015         (gamma_positive): New function.
20016         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20017         underflow here.  Use gamma_positive instead of exp (lgamma) for
20018         other arguments.
20019         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20020         (gamma_coeff): New variable.
20021         (NCOEFF): New macro.
20022         (gammaf_positive): New function.
20023         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20024         underflow here.  Use gamma_positive instead of exp (lgamma) for
20025         other arguments.
20026         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20027         (gamma_coeff): New variable.
20028         (NCOEFF): New macro.
20029         (gammal_positive): New function.
20030         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20031         underflow here.  Use gamma_positive instead of exp (lgamma) for
20032         other arguments.
20033         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20034         (gamma_coeff): New variable.
20035         (NCOEFF): New macro.
20036         (gammal_positive): New function.
20037         (__ieee754_gammal_r): Handle positive infinity, overflow and
20038         underflow here.  Handle NaN the same as positive infinity.  Remove
20039         check x < 0xffffffff for negative integers.  Use gamma_positive
20040         instead of exp (lgamma) for other arguments.
20041         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20042         (gamma_coeff): New variable.
20043         (NCOEFF): New macro.
20044         (gammal_positive): New function.
20045         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20046         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20047         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20048         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20049         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20050         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20051         * sysdeps/generic/math_private.h (__gamma_productf): New
20052         prototype.
20053         (__gamma_product): Likewise.
20054         (__gamma_productl): Likewise.
20055         * math/Makefile (libm-calls): Add gamma_product.
20056         * math/libm-test.inc (tgamma_test): Add more tests.
20057         * sysdeps/i386/fpu/libm-test-ulps: Update.
20058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20059
20060 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20061
20062         * benchtests/bench-skeleton.c (main): Preheat CPU.
20063
20064 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20065
20066         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20067
20068 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20069
20070         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20071         and _dl_skip_args_internal.
20072
20073 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20074
20075         * manual/message.texi (Message Translation): Talk about users.
20076         Message to key mapping impacts design.
20077
20078 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20079
20080         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20081
20082         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20083
20084         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20085         * sysdeps/wordsize-64/glob64.c: ... here.
20086
20087         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20088         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20089         New macros.
20090
20091         * debug/getlogin_r_chk.c: Moved to ...
20092         * login/getlogin_r_chk.c: ... here.
20093         * debug/Makefile (routines): Move getlogin_r_chk to ...
20094         * login/Makefile (routines): ... here.
20095         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20096         * login/Versions (libc: GLIBC_2.4): ... here.
20097
20098         * io/poll.c (__poll): Renamed from poll.
20099         Add libc_hidden_def.
20100         (poll): Define as weak alias.
20101
20102         * debug/ptsname_r_chk.c: Moved to ...
20103         * login/ptsname_r_chk.c: ... here.
20104         * debug/Makefile (routines): Move ptsname_r_chk to ...
20105         * login/Makefile (routines): ... here.
20106         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20107         * login/Versions (libc: GLIBC_2.4): ... here.
20108
20109         * posix/getlogin.c: Moved to ...
20110         * login/getlogin.c: ... here.
20111         * posix/getlogin_r.c: Moved to ...
20112         * login/getlogin_r.c: ... here.
20113         * posix/getlogin_r.c: Moved to ...
20114         * login/getlogin_r.c: ... here.
20115         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20116         * login/Makefile (routines): ... here.
20117         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20118         * login/Versions (libc: GLIBC_2.0): ... here.
20119
20120         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20121         (setrlimit): Define as weak alias.
20122
20123         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20124         Call __ names for open, ftruncate, and close.
20125         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20126         (truncate): Define as weak alias.
20127
20128 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20129
20130         * math/gen-libm-test.pl (parse_args): Initialize x before each
20131         test of frexp, modf and remquo.
20132
20133         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20134         test signgam value.
20135
20136 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20137
20138         [BZ #15418]
20139         [BZ #15419]
20140         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20141         internal tests.
20142         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20143
20144 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20145
20146         * elf/dl-writev.h: New file.
20147         * elf/dl-misc.c: Include it.
20148         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20149         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20150
20151 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20152
20153         * math/libm-test.inc (noXFails): Remove variable.
20154         (noXPasses): Likewise.
20155         (BUILD_COMPLEX_INT): Remove macro.
20156         (print_screen): Remove xfail argument.
20157         (print_screen_max_error): Likewise.
20158         (update_stats): Likewise.
20159         (print_max_error): Likewise.  Update calls to other affected
20160         functions.
20161         (print_complex_max_error): Likewise.
20162         (test_single_exception): Update calls to print_screen.
20163         (test_single_errno): Likewise.
20164         (check_float_internal): Remove xfail argument.  Update calls to
20165         other affected functions.
20166         (check_float): Likewise.
20167         (check_complex): Likewise.
20168         (check_int): Likewise.
20169         (check_long): Likewise.
20170         (check_bool): Likewise.
20171         (check_longlong): Likewise.
20172         (main): Don't print noXFails and noXPasses.
20173         * math/gen-libm-test.pl (top level): Don't mention expected
20174         failure handling in comment.
20175         (new_test): Don't handle expected failures.
20176         (parse_args): Don't mention expected failure handling in comment.
20177         (generate_testfile): Don't handle expected failures.
20178         (parse_ulps): Likewise.
20179         (print_ulps_file): Likewise.
20180         (get_failure): Remove function.
20181         (output_test): Don't handle expected failures.
20182         * make/README.libm-test: Don't mention expected failure handling.
20183
20184         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20185         (minus_zero): Likewise.
20186         (plus_infty): Likewise.
20187         (minus_infty): Likewise.
20188         (qnan_value): Likewise.
20189         (max_value): Likewise.
20190         (min_value): Likewise.
20191         (min_subnorm_value): Likewise.
20192         (initialize): Do not initialize those variables dynamically.
20193
20194 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20195
20196         * io/open.c (__open_2): Moved to ...
20197         * io/open_2.c: ... this new file.
20198         * io/open64.c (__open64_2): Moved to ...
20199         * io/open64_2.c: ... this new file.
20200         * io/openat.c (__openat_2): Moved to ...
20201         * io/openat_2.c: ... this new file.
20202         * io/openat64.c (__openat64_2): Moved to ...
20203         * io/openat64_2.c: ... this new file.
20204         * io/Makefile (routines): Add them.
20205         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20206         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20207         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20208         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20209         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20210         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20211         (__openat64): Add hidden_ver.
20212         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20213         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20214
20215         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20216         Separately conditionalize setting of GLRO(dl_sysinfo) so
20217         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20218         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20219
20220 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20221
20222         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20223         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20224         definition.
20225         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20226         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20227         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20228         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20229         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20230
20231 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20232
20233         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20234         test signgam value.
20235
20236         * math/libm-test.inc (hypot_test): Do not use
20237         IGNORE_ZERO_INF_SIGN.
20238
20239 2013-05-03  Andreas Jaeger  <aj@suse.de>
20240
20241         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20242         Linux 3.9.
20243         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20244         (PF_MAX): Adjust for VSOCK change.
20245
20246 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20247
20248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20249
20250 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20251
20252         [BZ #15264]
20253         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20254         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20255         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20256
20257 2013-05-02  David S. Miller  <davem@davemloft.net>
20258
20259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20260
20261 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20262
20263         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20264
20265 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20266
20267         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20268
20269 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20270
20271         [BZ #14952]
20272         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20273         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20274         Use __attribute__ ((__gnu_inline__)).
20275         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20276         Don't use __attribute__ ((__gnu_inline__)).
20277
20278 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20279
20280         [BZ #15423]
20281         * math/s_catan.c (__catan): Handle small real or imaginary part of
20282         input specially to avoid spurious underflow.
20283         * math/s_catanf.c (__catanf): Likewise.
20284         * math/s_catanh.c (__catanh): Likewise.
20285         * math/s_catanhf.c (__catanhf): Likewise.
20286         * math/s_catanhl.c (__catanhl): Likewise.
20287         * math/s_catanl.c (__catanl): Likewise.
20288         * math/libm-test.inc (catan_test): Add more tests.
20289         (catanh_test): Likewise.
20290         * sysdeps/i386/fpu/libm-test-ulps: Update.
20291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20292
20293 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20294
20295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20296
20297 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20298
20299         [BZ #15416]
20300         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20301         accurately for denominator in atan2.
20302         * math/s_catanf.c (__catanf): Likewise.
20303         * math/s_catanh.c (__catanh): Likewise.
20304         * math/s_catanhf.c (__catanhf): Likewise.
20305         * math/s_catanhl.c (__catanhl): Likewise.
20306         * math/s_catanl.c (__catanl): Likewise.
20307         * math/libm-test.inc (catan_test): Add more tests.
20308         (catanh_test): Likewise.
20309         * sysdeps/i386/fpu/libm-test-ulps: Update.
20310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20311
20312 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20313
20314         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20315
20316         * benchtests/Makefile (bench): Remove slow benchmarks.
20317         * benchtests/atan-inputs: Add slow benchmark inputs.
20318         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20319         (BENCH_FUNC): Accept variant offset.
20320         (VARIANT): Define.
20321         * benchtests/bench-skeleton.c (main): Run benchmark for each
20322         variant.
20323         * benchtests/cos-inputs: Add slow benchmark inputs.
20324         * benchtests/exp-inputs: Likewise.
20325         * benchtests/pow-inputs: Likewise.
20326         * benchtests/sin-inputs: Likewise.
20327         * benchtests/slowatan-inputs: Remove.
20328         * benchtests/slowatan.c: Remove.
20329         * benchtests/slowcos-inputs: Remove.
20330         * benchtests/slowcos.c: Remove.
20331         * benchtests/slowexp-inputs: Remove.
20332         * benchtests/slowexp.c: Remove.
20333         * benchtests/slowpow-inputs: Remove.
20334         * benchtests/slowpow.c: Remove.
20335         * benchtests/slowsin-inputs: Remove.
20336         * benchtests/slowsin.c: Remove.
20337         * benchtests/slowtan-inputs: Remove.
20338         * benchtests/slowtan.c: Remove.
20339         * benchtests/tan-inputs: Add slow benchmark inputs.
20340         * scripts/bench.pl: Parse comments and directives.
20341
20342         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20343         in CPPFLAGS.
20344         ($(objpfx)bench-%.c): Remove *-ITER.
20345         * benchtests/bench-modf.c: Remove definition of ITER.
20346         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20347         (main): Loop for DURATION seconds instead of fixed number of
20348         iterations.
20349         * scripts/bench.pl: Don't expect iterations in parameters.
20350
20351 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20352
20353         * io/fchdir.c (__fchdir): Renamed from fchdir.
20354         (fchdir): Define as weak alias.
20355
20356 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20357
20358         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20359         (ERRNO_EDOM): Likewise.
20360         (ERRNO_ERANGE): Likewise.
20361         (noErrnoTests): New variable.
20362         (init_max_error): Set errno to 0.
20363         (test_single_errno): New function.
20364         (test_errno): Likewise.
20365         (check_float_internal): Call test_errno.  Set errno to 0.
20366         (check_complex): Refer to errno tests in comment.
20367         (check_int): Call test_errno.  Set errno to 0.
20368         (check_long): Likewise.
20369         (check_bool): Likewise.
20370         (check_longlong): Likewise.
20371         (cos_test): Use ERRNO_* flags for errno tests instead of
20372         check_int.
20373         (expm1_test): Likewise.
20374         (fmod_test): Likewise.
20375         (ilogb_test): Likewise.
20376         (lgamma_test): Likewise.
20377         (pow_test): Likewise.
20378         (remainder_test): Likewise.
20379         (sin_test): Likewise.
20380         (tan_test): Likewise.
20381         (yn_test): Likewise.
20382         (initialize): Set errno to 0.
20383         (main): Print number of errno tests.
20384         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20385
20386 2013-04-29  Andreas Jaeger  <aj@suse.de>
20387
20388         [BZ #15084]
20389         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20390         and RES_USEVC.
20391
20392         [BZ #15085]
20393         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20394         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20395         unimplemented.
20396
20397         [BZ #15380]
20398         * stdlib/random.c (__initstate): Return NULL if
20399         __initstate fails.
20400
20401         [BZ #15086]
20402         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20403         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20404         RES_SNGLKUPREOP.
20405
20406 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20407
20408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20409
20410 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20411
20412         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20413         of individual tests.
20414         (casin_test): Likewise.
20415         (casinh_test): Likewise.
20416
20417 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20418
20419         [BZ #15409]
20420         * math/s_catan.c (__catan): Handle arguments with large real or
20421         imaginary part separately without squaring.
20422         * math/s_catanf.c (__catanf): Likewise.
20423         * math/s_catanh.c (__catanh): Likewise.
20424         * math/s_catanhf.c (__catanhf): Likewise.
20425         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20426         and redefine.
20427         (__catanhl): Handle arguments with large real or imaginary part
20428         separately without squaring.
20429         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20430         and redefine.
20431         (__catanl): Handle arguments with large real or imaginary part
20432         separately without squaring.
20433         * math/libm-test.inc (catan_test): Add more tests.
20434         (catanh_test): Likewise.
20435         * sysdeps/i386/fpu/libm-test-ulps: Update.
20436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20437
20438 2013-04-27  Andreas Jaeger  <aj@suse.de>
20439
20440         [BZ #15007]
20441         * stdlib/stdlib.h: Update guards for qecvt.
20442         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20443         <stdlib.h>.
20444
20445 2013-04-27  Allan McRae  <allan@archlinux.org>
20446
20447         * sysdeps/i386/fpu/libm-test-ulps: Update.
20448
20449 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20450
20451         [BZ #15406]
20452         * math/s_catan.c: Include <float.h>.
20453         (__catan): Ensure underflow exception occurs for underflowed
20454         result.
20455         * math/s_catanf.c: Include <float.h>.
20456         (__catanf): Ensure underflow exception occurs for underflowed
20457         result.
20458         * math/s_catanh.c: Include <float.h>.
20459         (__catanh): Ensure underflow exception occurs for underflowed
20460         result.
20461         * math/s_catanhf.c: Include <float.h>.
20462         (__catanhf): Ensure underflow exception occurs for underflowed
20463         result.
20464         * math/s_catanhl.c: Include <float.h>.
20465         (__catanhl): Ensure underflow exception occurs for underflowed
20466         result.
20467         * math/s_catanl.c: Include <float.h>.
20468         (__catanl): Ensure underflow exception occurs for underflowed
20469         result.
20470         * math/libm-test.inc (catan_test): Add more tests.
20471         (catanh_test): Likewise.
20472
20473         [BZ #15405]
20474         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20475         underflowed result.
20476         * math/s_ccoshf.c (__ccoshf): Likewise.
20477         * math/s_ccoshl.c (__ccoshl): Likewise.
20478         * math/s_csin.c (__csin): Likewise.
20479         * math/s_csinf.c (__csinf): Likewise.
20480         * math/s_csinh.c (__csinh): Likewise.
20481         * math/s_csinhf.c (__csinhf): Likewise.
20482         * math/s_csinhl.c (__csinhl): Likewise.
20483         * math/s_csinl.c (__csinl): Likewise.
20484         * math/libm-test.inc (ccos_test): Add more tests.
20485         (ccosh_test): Likewise.
20486         (csin_test): Likewise.
20487         (csinh_test): Likewise.
20488
20489 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20490
20491         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20492         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20493         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20494         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20495         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20496         powerpc/power5+/fpu folders.
20497         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20498
20499
20500 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20501
20502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20503
20504 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20505
20506         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20507         additions to variable.
20508         [$(config-machine) = x86_64] (modules-names): Likewise.
20509         ($(objpfx)tst-audit3): Remove dependency.
20510         ($(objpfx)tst-audit3.out): Likewise.
20511         ($(objpfx)tst-audit4): Likewise.
20512         ($(objpfx)tst-audit4.out): Likewise.
20513         ($(objpfx)tst-audit5): Likewise.
20514         ($(objpfx)tst-audit5.out): Likewise.
20515         ($(objpfx)tst-audit6): Likewise.
20516         ($(objpfx)tst-audit6.out): Likewise.
20517         ($(objpfx)tst-audit7): Likewise.
20518         ($(objpfx)tst-audit7.out): Likewise.
20519         (tst-audit3-ENV): Remove variable.
20520         (tst-audit4-ENV): Likewise.
20521         (tst-audit5-ENV): Likewise.
20522         (tst-audit6-ENV): Likewise.
20523         (tst-audit7-ENV): Likewise.
20524         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20525         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20526         addition to variable.
20527         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20528         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20529         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20530         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20531         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20532         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20533         tst-audit3, tst-audit4 and tst-audit5.
20534         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20535         tst-audit6 and tst-audit7.
20536         [$(subdir) = elf] (modules-names): Add audit modules for those
20537         tests.
20538         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20539         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20540         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20541         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20542         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20543         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20544         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20545         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20546         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20547         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20548         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20549         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20550         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20551         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20552         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20553         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20554         Likewise.
20555         [$(subdir) = elf && $(config-cflags-avx) = yes]
20556         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20557         [$(subdir) = elf && $(config-cflags-avx) = yes]
20558         (CFLAGS-tst-auditmod4a.c): Likewise.
20559         [$(subdir) = elf && $(config-cflags-avx) = yes]
20560         (CFLAGS-tst-auditmod4b.c): Likewise.
20561         [$(subdir) = elf && $(config-cflags-avx) = yes]
20562         (CFLAGS-tst-auditmod6b.c): Likewise.
20563         [$(subdir) = elf && $(config-cflags-avx) = yes]
20564         (CFLAGS-tst-auditmod6c.c): Likewise.
20565         [$(subdir) = elf && $(config-cflags-avx) = yes]
20566         (CFLAGS-tst-auditmod7b.c): Likewise.
20567         * elf/tst-audit3.c: Move to ...
20568         * sysdeps/x86_64/tst-audit3.c: ... here.
20569         * elf/tst-audit4.c: Move to ...
20570         * sysdeps/x86_64/tst-audit4.c: ... here.
20571         * elf/tst-audit5.c: Move to ...
20572         * sysdeps/x86_64/tst-audit5.c: ... here.
20573         * elf/tst-audit6.c: Move to ...
20574         * sysdeps/x86_64/tst-audit6.c: ... here.
20575         * elf/tst-audit7.c: Move to ...
20576         * sysdeps/x86_64/tst-audit7.c: ... here.
20577         * elf/tst-auditmod3a.c: Move to ...
20578         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20579         * elf/tst-auditmod3b.c: Move to ...
20580         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20581         * elf/tst-auditmod4a.c: Move to ...
20582         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20583         * elf/tst-auditmod4b.c: Move to ...
20584         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20585         * elf/tst-auditmod5a.c: Move to ...
20586         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20587         * elf/tst-auditmod5b.c: Move to ...
20588         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20589         * elf/tst-auditmod6a.c: Move to ...
20590         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20591         * elf/tst-auditmod6b.c: Move to ...
20592         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20593         * elf/tst-auditmod6c.c: Move to ...
20594         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20595         * elf/tst-auditmod7a.c: Move to ...
20596         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20597         * elf/tst-auditmod7b.c: Move to ...
20598         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20599
20600 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20601
20602         [BZ #15366]
20603         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20604         define unconditionally.
20605         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20606         define unconditionally.
20607         (INT8_C, INT16_C, etc.): Likewise.
20608
20609 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20610
20611         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20612         __ehdr_start with hidden visibility.
20613
20614         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20615
20616 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20617
20618         * math/libm-test.inc (cos_test): Use accurate hex constants.
20619         (sincost_test): Likewise.
20620
20621 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20622
20623         * math/libm-test.inc (catan_test): Add more tests.
20624         (catanh_test): Likewise.
20625
20626         * math/s_catanf.c (__catanf): Use suffixed floating-point
20627         constants.
20628         * math/s_catanhf.c (__catanhf): Likewise.
20629         * math/s_catanhl.c (__catanhl): Likewise.
20630         * math/s_catanl.c (__catanl): Likewise.
20631
20632         [BZ #15394]
20633         * math/s_catan.c (__catan): Calculate imaginary part of result
20634         with log1p not log unless computing log of number close to 0.
20635         * math/s_catanf.c (__catanf): Likewise.
20636         * math/s_catanl.c (__catanl): Likewise.
20637         * math/s_catanh.c (__catanh): Calculate real part of result with
20638         log1p not log unless computing log of number close to 0.
20639         * math/s_catanhf.c (__catanhf): Likewise.
20640         * math/s_catanhl.c (__catanhl): Likewise.
20641         * math/libm-test.inc (catan_test): Add more tests.
20642         (catanh_test): Likewise.
20643         * sysdeps/i386/fpu/libm-test-ulps: Update.
20644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20645
20646 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20647
20648         * benchtests/Makefile: Mention files in which fast and slow
20649         paths of math functions are implemented.
20650
20651 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20652
20653         * sysdeps/posix/timespec_get.c: New file.
20654
20655 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20656
20657         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20658         POWER.
20659         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20660         for POWER.
20661         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20662         powerpc/power5/fpu folders.
20663         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20664         * benchtests/Makefile: Add modf testcase.
20665         * benchtests/bench-modf.c: New file: Benchmark test for mo
20666
20667 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20668
20669         [BZ #14888]
20670         * time/Makefile (tests): Add tst-strptime-whitespace.
20671         * time/strptime_l.c (get_number): Use ISSPACE.
20672         (__strptime_internal): Likewise.
20673         * time/tst-strptime-whitespace.c: New test case.
20674
20675 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20676
20677         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20678         member.
20679         (_nss_files_init): Set it here.
20680
20681 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20682
20683         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20684         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20685         unsigned.
20686
20687 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20688
20689         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20690
20691 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20692
20693         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20694         size just once.
20695
20696 2013-04-21  David S. Miller  <davem@davemloft.net>
20697
20698         * po/ru.po: Update Russion translation from translation project.
20699
20700 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20701
20702         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20703         and setfsgid.
20704
20705 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20706
20707         * configure.in: Remove i386 configure warning. Remove i386 case.
20708         * configure: Regenerate.
20709         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20710         Add example to error message.
20711         * sysdeps/i386/configure: Regenerate.
20712
20713 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20714
20715         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20716         slowtan.
20717         * benchtests/cos-inputs: New file.
20718         * benchtests/slowcos-inputs: New file.
20719         * benchtests/slowcos.c: New file.
20720         * benchtests/slowtan-inputs: New file.
20721         * benchtests/slowtan.c: New file.
20722         * benchtests/tan-inputs: New file.
20723
20724 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20725
20726         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20727         considered kosher.
20728
20729 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20730
20731         * benchtests/Makefile: Include cppflags-iterator.mk to add
20732         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20733
20734         * Makefile.in (bench-clean): New target.
20735         * benchtests/Makefile (bench-clean): Likewise.
20736
20737 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20738
20739         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20740
20741 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20742
20743         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20744
20745 2013-04-15  Andreas Schwab  <schwab@suse.de>
20746
20747         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20748         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20749         * nscd/pwdcache.c (cache_addpw): Likewise.
20750         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20751         more than recsize.
20752
20753 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20754
20755         * benchtests/Makefile (bench): Write all output to
20756         bench-out.tmp together.
20757
20758 2013-04-15  Andreas Schwab  <schwab@suse.de>
20759
20760         * nscd/nscd.c (main): Don't fork again after closing files.
20761
20762 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20763
20764         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20765
20766         * benchtests/Rules (bench-deps): Collect dependencies into a
20767         single variable.  Add Makefile to dependencies.
20768         ($(objpfx)bench-%.c): Depend on bench-deps.
20769
20770 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20771             Xavier Roche  <roche+kml2@exalead.com>
20772
20773         [BZ #15361]
20774         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20775         just that it's a file descriptor.
20776         * manual/llio.texi (Synchronizing AIO Operations): Update description
20777         for EBADF error from aio_fsync.
20778
20779 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20780
20781         * Rules (bench): Move target definition...
20782         * benchtests/Makefile: ... here.
20783
20784 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20785
20786         * math/libm-test.inc (cos_test): Fix PI/2 test.
20787         (sincos_test): Likewise.
20788         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20789         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20790
20791 2013-04-11  Andreas Schwab  <schwab@suse.de>
20792
20793         [BZ #13988]
20794         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20795         accept exponent character only when digits were seen.
20796         * stdio-common/Makefile (tests): Add bug26.
20797         * stdio-common/bug26.c: New file.
20798
20799         [BZ #14293]
20800         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20801         non-freeable.
20802
20803 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20804
20805         * Makeconfig (rtld-prefix): Define built linker prefix.
20806         * Rules (run-bench): Use it.
20807         * math/Makefile (run-regen-ulps): Likewise.
20808
20809         * Rules (bench): Remove eval.
20810
20811 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20812             Roland McGrath  <roland@hack.frob.com>
20813             Ondrej Bilka  <neleai@seznam.cz>
20814
20815         [BZ #15346]
20816         * time/getdate.c: Include ctype.h and alloca.h.
20817         (__getdate_r): Trim leading and trailing spaces of input.
20818         * time/tst-getdate.c (tests): Add tests with leading and
20819         trailing spaces.
20820
20821 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20822
20823         [BZ #14280]
20824         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20825         when computing value.
20826
20827 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20828
20829         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20830         Use testrun.sh to run libm tests.
20831
20832         [BZ #15309]
20833         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20834
20835 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20836
20837         [BZ #15264]
20838         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20839
20840 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20841
20842         * Makefile.in (regen-ulps): New target.
20843         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20844         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20845         [ifneq (no,$(PERL)] (regen-ulps): New target.
20846         [ifeq (no,$(PERL)] (regen-ulps): New target.
20847         * math/libm-test.inc (ulps_file_name): Define.
20848         (output_dir): New variable.
20849         (options): Add "output-dir" option.
20850         (parse_opt): Handle 'o' case.
20851         (main): If output_dir is non-NULL use it as a prefix
20852         otherwise use "".
20853         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20854
20855 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20856
20857         [BZ #10060, #10062]
20858         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20859         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20860         fail configure if __sync_val_compare_and_swap is not inlined.
20861         * sysdeps/i386/configure: Regenerate.
20862         * configure.in: Build for i686 when configured for i386.
20863         * configure: Regenerate.
20864         * README: Remove i386 reference.
20865
20866 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20867
20868         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20869         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20870
20871 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20872
20873         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20874         (lmsnanval): New variables.
20875         (F): Add conversion tests.
20876         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20877         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20878
20879         * stdio-common/tstdiomisc.c (F): Properly collect individual
20880         tests' results.
20881
20882         [BZ #14686, #15336]
20883         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20884         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20885         Instead, use input NaN values or generate a qNaN by arithmetic
20886         operation.  Also fix bugs to comply with the standard.
20887         * math/libm-test.inc (remainder_test): Add more tests.
20888
20889         [BZ #15335, #15342]
20890         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20891         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20892         input NaN values or generate a qNaN by arithmetic operation.
20893
20894         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20895         unreachable code.
20896
20897         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20898         definitions.
20899
20900 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20901
20902         [BZ #14478]
20903         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20904         underflowed result.
20905         * math/s_cexpf.c (__cexpf): Likewise.
20906         * math/s_cexpl.c (__cexpl): Likewise.
20907         * math/libm-test.inc (cexp_test): Add more tests.
20908
20909 2013-04-03  Andreas Schwab  <schwab@suse.de>
20910
20911         [BZ #15330]
20912         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20913         order arrays from heap if bigger than alloca cutoff.
20914
20915 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20916
20917         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20918         (SNAN_TESTS_double): Refer to GCC PR56831.
20919         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20920         GCC PR56828.
20921
20922 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20923
20924         * Rules (bench): Move bench.out after the run is complete.
20925
20926         * Rules (bench): Echo currently running benchmark.
20927
20928         * benchtests/Makefile (bench): Add atan and slowatan.
20929         * benchtests/atan-inputs: New file.
20930         * benchtests/slowatan-inputs: New file.
20931         * benchtests/slowatan.c: New file.
20932
20933         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20934         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20935         its value.
20936
20937         [BZ #15305]
20938         * sysdeps/unix/sysv/linux/kernel-features.h
20939         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20940         __ASSUME_XFS_RESTRICTED_CHOWN.
20941         * sysdeps/unix/sysv/linux/pathconf.c
20942         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20943         Save and restore errno.
20944
20945 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20946
20947         [BZ #15327]
20948         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20949         arguments using __kernel_casinh.
20950         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20951         arguments using __kernel_casinhf.
20952         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20953         arguments using __kernel_casinhl.
20954         * math/libm-test.inc (cacosh_test): Add more tests.
20955         * sysdeps/i386/fpu/libm-test-ulps: Update.
20956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20957
20958 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20959
20960         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20962
20963         * bench/Makefile (bench): Add sin and slowsin.
20964         * benchtests/sin-inputs: New file.
20965         * benchtests/slowsin-inputs: New file.
20966         * benchtests/slowsin.c: New file.
20967
20968         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20969         (bench): Add slowexp and slowpow.
20970         (exp-ITER): Increase iterations.
20971         (pow-ITER): Likewise.
20972         * benchtests/exp-inputs: Change input.
20973         * benchtests/pow-inputs: Likewise.
20974         * benchtests/slowexp-inputs: New file.
20975         * benchtests/slowexp.c: New file.
20976         * benchtests/slowpow-inputs: New file.
20977         * benchtests/slowpow.c: New file.
20978
20979 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20980
20981         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20982         instructions.
20983         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20984         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20985         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20986         * benchtests/Makefile: Add rint benchtest.
20987         * benchtests/rint-inputs: Input for rint benchtest.
20988
20989 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20990
20991         * Versions.def (libm): Add GLIBC_2.18.
20992         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20993         hidden libm prototypes.
20994         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20995         * math/Makefile (libm-calls): Add s_issignaling.
20996         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20997         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20998         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20999         declaration.
21000         * math/math.h [__USE_GNU] (issignaling): New macro.
21001         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21002         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21003         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21004         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21005         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21006         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21007         * manual/arith.texi (issignaling): New section.
21008         * manual/libm-err-tab.pl (@all_functions): Update comment.
21009         * math/gen-libm-test.pl (parse_args): Apply special handling for
21010         issignaling.
21011         * math/libm-test.inc (print_float, issignaling_test): New
21012         functions.
21013         (check_float_internal): Add issignaling checks.
21014         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21015         default definition.
21016         * sysdeps/powerpc/math-tests.h: New file.
21017         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21018         tests.
21019         * math/test-snan.c (TEST_FUNC): Likewise.
21020
21021 2013-03-30  David S. Miller  <davem@davemloft.net>
21022
21023         * po/de.po: Update from translation team.
21024
21025 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21026
21027         [BZ #10357]
21028         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21029         imaginary part less than 1.0 and real part less than 0.5
21030         specially.
21031         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21032         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21033         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21034         (cacos_test): Add more tests.
21035         (casin_test): Likewise.
21036         (casinh_test): Likewise.
21037         * sysdeps/i386/fpu/libm-test-ulps: Update.
21038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21039
21040 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21041
21042         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21043         ONE with its value.
21044
21045         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21046         (__pow_mp): Replace ONE and MONE with their values.
21047         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21048         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21049         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21050         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21051         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21052         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21053
21054         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21055
21056         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21057         (__pow_mp): Replace ZERO and MZERO with their values.
21058         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21059         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21060         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21061         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21062         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21063         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21064         (__sqr): Likewise.
21065
21066         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21067
21068         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21069
21070 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21071
21072         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21073         Declare with __attribute__ ((weak)).
21074         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21075         Call __call_tls_dtors only if it's not NULL.
21076
21077 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21078
21079         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21080         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21081         magic __ehdr_start linker symbol if it's defined.
21082         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21083         them up here if it was already done.
21084
21085         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21086         (_dl_aux_init): Use const in cast when setting it.
21087         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21088         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21089         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21090
21091         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21092         Declare them here.
21093         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21094         * csu/libc-tls.c: Nor here.
21095         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21096
21097         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21098         (__libc_message): Never call vsyslog.
21099
21100 2013-03-28  Alan Modra  <amodra@gmail.com>
21101
21102         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21103         Define as empty.
21104         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21105         Likewise.
21106
21107 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21108
21109         [BZ #15214]
21110         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21111         underflow.
21112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21113
21114 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21115
21116         [BZ #15304]
21117         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21118         Don't add gid passed as argument.
21119
21120         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21121
21122 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21123
21124         [BZ #15307]
21125         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21126         imaginary part between 1.0 and 1.5 and real part less than 0.5
21127         specially.
21128         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21129         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21130         * math/libm-test.inc (cacos_test): Add more tests.
21131         (casin_test): Likewise.
21132         (casinh_test): Likewise.
21133         * sysdeps/i386/fpu/libm-test-ulps: Update.
21134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21135
21136 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21137
21138         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21139         constants.
21140         (norm): Likewise.
21141         (denorm): Likewise.
21142         (__dbl_mp): Likewise.
21143         (add_magnitudes): Likewise.
21144         (sub_magnitudes): Likewise.
21145         (__add): Likewise.
21146         (__sub): Likewise.
21147         (__mul): Likewise.
21148         (__sqr): Likewise.
21149         (__inv): Likewise.
21150         (__dvd): Likewise.
21151
21152         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21153         commented code.
21154         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21155         (__dubcos): Likewise.
21156         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21157         (__ieee754_acos): Likewise.
21158         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21159         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21160         (__exp1): Likewise.
21161         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21162         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21163         (log1): Likewise.
21164         (my_log2): Likewise.
21165         (checkint): Likewise.
21166         * sysdeps/ieee754/dbl-64/e_remainder.c
21167         (__ieee754_remainder): Likewise.
21168         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21170         (bsloww): Likewise.
21171         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21172
21173         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21174         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21175         MANTISSA_STORE_T to store computations on mantissa.  Use
21176         macros for rounding and division.
21177         (denorm): Likewise.
21178         (__dbl_mp): Likewise.
21179         (add_magnitudes): Likewise.
21180         (sub_magnitudes): Likewise.
21181         (__mul): Likewise.
21182         (__sqr): Likewise.
21183         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21184         powers of two in terms of TWOPOW macro.
21185         (mp_no): Make type of mantissa as MANTISSA_T.
21186         [!RADIXI]: Define RADIXI.
21187         [!TWO52]: Define TWO52.
21188         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21189
21190 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21191
21192         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21193         llroundl symbol when building for PPC32.
21194
21195 2013-03-24  Mark H Weaver  <mhw@netris.org>
21196
21197         * manual/arith.texi (Normalization Functions): Fix prototypes for
21198         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21199
21200 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21201
21202         [BZ #13889]
21203         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21204         high value to check if expl overflow.
21205         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21206         to check for underflow and overflow.
21207         * math/libm-test.inc: Add exp test.
21208
21209 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21210
21211         [BZ #11120]
21212         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21213         with NOT_IN_libc.
21214
21215 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21216
21217         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21218         symbol.
21219
21220 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21221
21222         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21223         wrap blocks consisting of several statements.
21224
21225         * sysdeps/generic/math-tests.h: New file.
21226         * sysdeps/i386/fpu/math-tests.h: Likewise.
21227         * math/test-snan.c: Include it.
21228         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21229
21230 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21231
21232         [BZ #15285]
21233         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21234         (__ieee754_j0l): Do not improve calculations using cos of twice
21235         input for inputs above LDBL_MAX / 2.0L.
21236         (__ieee754_y0l): Likewise.
21237         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21238         (__ieee754_j1l): Do not improve calculations using cos of twice
21239         input for inputs above LDBL_MAX / 2.0L.
21240         (__ieee754_y1l): Likewise.
21241         * math/libm-test.inc (j0_test): Add another test.
21242         (j1_test): Likewise.
21243         (y0_test): Likewise.
21244         (y1_test): Likewise.
21245         * sysdeps/i386/fpu/libm-test-ulps: Update.
21246
21247 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21248
21249         * Rules ($(objpfx)bench-%.c): Include code from a C source
21250         file.
21251
21252 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21253
21254         [BZ #15287]
21255         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21256         imaginary part 1.0 and real part less than 0.5 specially.
21257         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21258         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21259         * math/libm-test.inc (cacos_test): Add more tests.
21260         (casin_test): Likewise.
21261         (casinh_test): Likewise.
21262         * sysdeps/i386/fpu/libm-test-ulps: Update.
21263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21264
21265 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21266
21267         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21268         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21269
21270 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21271
21272         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21273         * config.make.in (config-cflags-sse4): Remove variable.
21274         (config-cflags-avx): Likewise.
21275         (config-cflags-sse2avx): Likewise.
21276         (config-cflags-novzeroupper): Likewise.
21277         (config-asflags-i686): Likewise.
21278         (have-mfma4): Likewise.
21279         (have-as-vis3): Likewise.
21280         (MIG): Likewise.
21281         * configure.in (MIG): Do not AC_SUBST.
21282         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21283         (libc_cv_cc_sse4): Do not AC_SUBST.
21284         (libc_cv_cc_avx): Likewise.
21285         (libc_cv_cc_sse2avx): Likewise.
21286         (libc_cv_cc_novzeroupper): Likewise.
21287         (libc_cv_cc_fma4): Likewise.
21288         (libc_cv_as_i686): Likewise.
21289         (libc_cv_sparc_as_vis3): Likewise.
21290         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21291         LIBC_CONFIG_VAR.
21292         (config-asflags-i686): Likewise.
21293         (config-cflags-avx): Likewise.
21294         (config-cflags-sse2avx): Likewise.
21295         (have-mfma4): Likewise.
21296         (config-cflags-novzeroupper): Likewise.
21297         * sysdeps/mach/configure.in (MIG): Likewise.
21298         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21299         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21300         LIBC_CONFIG_VAR.
21301         (config-cflags-avx): Likewise.
21302         (config-cflags-sse2avx): Likewise.
21303         (have-mfma4): Likewise.
21304         (config-cflags-novzeroupper): Likewise.
21305         * configure: Regenerated.
21306         * sysdeps/i386/configure: Likewise.
21307         * sysdeps/mach/configure: Likewise.
21308         * sysdeps/sparc/configure: Likewise.
21309         * sysdeps/x86_64/configure: Likewise.
21310
21311 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21312
21313         [BZ #14812]
21314         * locale/programs/localedef.c (options): Put N_ translation marker
21315         on argument names, not just descriptions.
21316
21317 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21318
21319         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21320
21321 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21322
21323         [BZ #14176]
21324         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21325
21326 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21327
21328         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21329         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21330         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21331         [!BEFORE_ABORT] (before_abort): New function.
21332         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21333         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21334         (writev_for_fatal): New function.
21335         (WRITEV_FOR_FATAL): New macro; call that.
21336         (backtrace_and_maps): New function.
21337         (BEFORE_ABORT): New macro; call that.
21338         (struct str_list): Type removed.
21339         (__libc_message, __libc_fatal): Functions removed.
21340         Include <sysdeps/posix/libc_fatal.c> instead.
21341
21342 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21343
21344         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21345         constants.
21346         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21347         double constants.
21348
21349 2013-03-19  Andreas Schwab  <schwab@suse.de>
21350
21351         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21352         * sysdeps/gnu/configure: Regenerate.
21353
21354         * configure.in: Substitute libc_cv_rtlddir.
21355         * configure: Regenerate.
21356         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21357         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21358         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21359         * elf/Makefile (install-others, CFLAGS-interp.c)
21360         (ldso_install, common-ldd-rewrite): Likewise.
21361         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21362         $(inst_slibdir)/$(rtld-installed-name).
21363         * scripts/rellns-sh: Add -p option.
21364         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21365         for source.
21366
21367 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21368
21369         * manual/nptl.texi: Renamed to ...
21370         * manual/threads.texi: ... this.
21371         * manual/Makefile (chapters): Update.
21372
21373 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21374
21375         [BZ #14812]
21376         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21377         on argument names, not just descriptions.
21378         * malloc/memusagestat.c (options): Likewise.
21379         * nss/getent.c (options): Likewise.
21380
21381 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21382
21383         [BZ #14812]
21384         * iconv/iconv_prog.c (options): Put N_ translation marker
21385         on argument names, not just descriptions.
21386         * iconv/iconvconfig.c (options): Likewise.
21387
21388 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21389
21390         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21391         implementation which is faster on all x86_64 architectures.
21392         Tested on AMD, Intel Nehalem, SNB, IVB.
21393         * sysdeps/x86_64/strnlen.S: Likewise.
21394
21395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21396         Remove all multiarch strlen and strnlen versions.
21397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21398         Remove strlen and strnlen related parts.
21399
21400         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21401         Inline strlen part.
21402         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21403
21404         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21405         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21406         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21407         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21408         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21409         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21410
21411 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21412
21413         * manual/memory.texi (Malloc Tunable Parameters):
21414         Sort parameters alphabetically. Add comments for missing entries.
21415
21416 2013-03-17  David S. Miller  <davem@davemloft.net>
21417
21418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21419
21420 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21421
21422         [BZ #15283]
21423         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21424         for arguments at most half maximum finite value.
21425         * math/libm-test.inc (j0_test): Add more tests.
21426         (j1_test): Likewise.
21427         (y0_test): Likewise.
21428         (y1_test): Likewise.
21429         * sysdeps/i386/fpu/libm-test-ulps: Update.
21430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21431
21432         [BZ #14155]
21433         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21434         1 / x and functions P and Q for arguments above 0x1p256L.
21435         (__ieee754_y0l): Likewise.
21436         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21437         (__ieee754_y1l): Likewise.
21438         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21439         (j1_test): Likewise.
21440         (y0_test): Likewise.
21441         (y1_test): Likewise.
21442
21443 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21444
21445         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21446         variable.
21447
21448 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21449
21450         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21451         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21452         zero since it's initialized to EXEC_PAGESIZE.
21453
21454         * sysdeps/unix/sysv/linux/ldsodefs.h
21455         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21456         * sysdeps/generic/ldsodefs.h: ... here.
21457
21458 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21459
21460         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21461
21462         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21463         math/test-snan.c.
21464         * math/test-snan.c: Renamed from
21465         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21466         * math/Makefile (tests): Add test-snan.
21467         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21468         test-powerpc-snan.
21469
21470         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21471         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21472         functions.
21473         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21474         __builtin_nan family of functions.
21475         * math/libm-test.inc (initialize): Initialize qnan_value with
21476         __builtin_nan family of functions.
21477         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21478         Remove variables.
21479         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21480         Remove functions.
21481         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21482         storage class.  Initialize qNaN_var and sNaN_var with
21483         __builtin_nan and __builtin_nans families of functions,
21484         respectively.
21485
21486         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21487         (sqrt_test): Remove duplicate test with qNaN input.
21488         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21489         (round_test, signbit_test, significand_test): Note missing +/-Inf
21490         as well as qNaN tests.
21491
21492         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21493         qNaN_var.  Fix a few strings, too.
21494         * math/libm-test.inc (nan_value): Rename to qnan_value.
21495         * math/gen-libm-test.pl (%beautify): Adjust to that.
21496         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21497         * math/test-misc.c (main): Likewise.
21498         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21499         to __qnan_bytes, and __qnan_union, respectively.
21500         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21501         Likewise.
21502         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21503         and lqnanval, respectively.
21504         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21505         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21506         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21507         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21508
21509         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21510         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21511         doubles.
21512
21513         * math/test-misc.c (main): Fix copy'n'pastos.
21514         * misc/tst-efgcvt.c (special): Likewise.
21515
21516         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21517         Remove declarations.
21518
21519 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21520
21521         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21522         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21523         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21524         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21525
21526 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21527
21528         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21529         macro to return vdso values correctly in IFUNC implementations.
21530         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21531         Optimization by using IFUNC.
21532
21533 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21534             Richard Henderson  <rth@redhat.com>
21535             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21536
21537         * Makefile.in (bench): New target.
21538         * NEWS: Mention the benchmark framework.
21539         * Rules (bench): Likewise.
21540         (binaries-bench): Generate binaries for functions to
21541         benchmark.
21542         * benchtests/Makefile: New makefile for benchmark tests.
21543         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21544         programs.
21545         * benchtests/exp-inputs: New input file for EXP function.
21546         * benchtests/pow-inputs: New input file for POW function.
21547         * scripts/bench.pl: New script to generate source files for
21548         benchmark programs.
21549
21550 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21551
21552         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21553         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21554         computations on mantissa.  Use macros for rounding and
21555         division.
21556         (denorm): Likewise.
21557         (__dbl_mp): Likewise.
21558         (add_magnitudes): Likewise.
21559         (sub_magnitudes): Likewise.
21560         (__mul): Likewise.
21561         (__sqr): Likewise.
21562         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21563         powers of two in terms of TWOPOW macro.
21564         (mp_no): Make type of mantissa as MANTISSA_T.
21565         [!RADIXI]: Define RADIXI.
21566         [!TWO52]: Define TWO52.
21567         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21568
21569         * manual/nptl.texi (cindex): Modify threads to pthreads.
21570
21571 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21572
21573         * sysdeps/x86_64/preconfigure: Regenerated.
21574
21575 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21576
21577         [BZ #14155]
21578         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21579         0x1p28 and above.
21580         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21581         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21582         0x1p28 and above.
21583         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21584         * math/libm-test.inc (j0_test): Do not allow one spurious
21585         underflow exception.
21586         (y1_test): Likewise.
21587
21588 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21589
21590         * manual/Makefile (chapters): Add nptl.
21591         * manual/debug.texi (Debugging Support): Add link to Threads
21592         chapter.
21593         * manual/nptl.texi: New file.
21594
21595         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21596
21597 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21598
21599         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21600         for non-NULL pointer before the memory validity test. Pointed
21601         out by Holger Brunck <holger.brunck@keymile.com>.
21602
21603 2013-03-13  Andreas Schwab  <schwab@suse.de>
21604
21605         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21606         instead of .os.
21607
21608 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21609
21610         * timezone/zic.c: Update from tzcode 2013b.
21611
21612 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21613
21614         * manual/install.texi (Configuring and compiling):
21615         Mention i686 and i586.
21616         * INSTALL: Regenerate.
21617
21618 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21619
21620         * sysdeps/init_array/elf-init.c: New file.
21621         * csu/elf-init.c
21622         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21623         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21624
21625         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21626         __gmon_start__ as global, but as static with a .preinit_array pointer.
21627         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21628         * sysdeps/init_array/crti.S: New file, empty except for comments.
21629         * sysdeps/init_array/crtn.S: Likewise.
21630
21631 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21632
21633         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21634         definining bcopy.
21635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21636         Remove Prefer_SSE_for_memop.
21637         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21638         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21639         HAS_PREFER_SSE_FOR_MEMOP.
21640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21641         memset-x86-64.
21642         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21643         Remove bzero, memset ifunc support.
21644         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21645         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21646         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21647         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21648
21649 2013-03-11  Andreas Schwab  <schwab@suse.de>
21650
21651         [BZ #15234]
21652         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21653         by SHLIB_COMPAT.
21654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21655         (GLIBC_2.16): Remove pthread_atfork.
21656
21657 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21658
21659         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21660         (ptestcases.h): Likewise.
21661
21662 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21663
21664         * Makeconfig ($(common-objpfx)config.status): Depend on
21665         sysdeps/*/preconfigure{,.in} too.
21666
21667 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21668
21669         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21670         (__free_hook): Use void * instead of __malloc_ptr_t.
21671         (__malloc_hook): Likewise.
21672         (__realloc_hook): Likewise.
21673         (__memalign_hook): Likewise.
21674         (__after_morecore_hook): Likewise.
21675         * malloc/arena.c (save_malloc_hook): Likewise.
21676         (save_free_hook): Likewise.
21677         * malloc/hooks.c (malloc_hook_ini): Likewise.
21678         (realloc_hook_ini): Likewise.
21679         (memalign_hook_ini): Likewise.
21680         * malloc/malloc.c (malloc_hook_ini): Likewise.
21681         (realloc_hook_ini): Likewise.
21682         (memalign_hook_ini): Likewise.
21683         (__free_hook): Likewise.
21684         (__malloc_hook): Likewise.
21685         (__realloc_hook): Likewise.
21686         (__memalign_hook): Likewise.
21687         (__libc_malloc): Likewise.
21688         (__libc_free): Likewise.
21689         (__libc_realloc): Likewise.
21690         (__libc_memalign): Likewise.
21691         (__libc_valloc): Likewise.
21692         (__libc_pvalloc): Likewise.
21693         (__libc_calloc): Likewise.
21694         (__posix_memalign): Likewise.
21695         * malloc/morecore.c (__sbrk): Likewise.
21696         (__default_morecore): Likewise.
21697
21698         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21699
21700         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21701         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21702         __malloc_ptrdiff_t.
21703
21704         * malloc/malloc.h (__malloc_size_t): Remove macro.
21705         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21706         __malloc_size_t.
21707         (old_memalign_hook): Likewise.
21708         (old_realloc_hook): Likewise.
21709         (struct hdr): Likewise.
21710         (flood): Likewise.
21711         (mallochook): Likewise.
21712         (memalignhook): Likewise.
21713         (reallochook): Likewise.
21714         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21715         (tr_old_realloc_hook): Likewise.
21716         (tr_old_memalign_hook): Likewise.
21717         (tr_mallochook): Likewise.
21718         (tr_reallochook): Likewise.
21719         (tr_memalignhook): Likewise.
21720
21721 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21722
21723         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21724         default_ldbl_pack and using as default implementation.
21725         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21726         implementation.
21727         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21728         redundant definition.
21729         (ldbl_insert_mantissa): Likewise.
21730         (ldbl_canonicalize): Likewise.
21731         (ldbl_nearbyint): Likewise.
21732         (ldbl_pack): Rename to ldbl_pack_ppc.
21733         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21734         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21735         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21736
21737 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21738
21739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21740         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21741         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21742         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21744         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21745         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21746         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21747
21748 2013-03-07  Andreas Jaeger  <aj@suse.de>
21749
21750         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21751         bits/mman-linux.h.
21752
21753 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21754
21755         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21756         Include mpa.h and declare __MPEXP.
21757         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21758         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21759         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21760         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21761         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21762         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21763         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21764
21765         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21766         (__slowpow): Use long double EXPL and LOGL functions to
21767         compute POW.
21768         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21769         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21770         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21771         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21772         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21773         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21774
21775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21776         intermediate variable to calculate exponent.
21777         (__sqr): Likewise.
21778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21779         Likewise.
21780         (__sqr): Likewise.
21781
21782         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21783         [!NO__SQR]: Define __sqr.
21784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21785         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21786         sysdeps/ieee754/dbl-64/mpa.c.
21787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21788
21789         [BZ #12723]
21790         * posix/Makefile (tests): Add tst-pathconf.
21791         * posix/tst-pathconf.c: New test case.
21792         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21793         _PC_PIPE_BUF.
21794         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21795
21796 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21797
21798         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21799
21800 2013-03-06  Andreas Jaeger  <aj@suse.de>
21801
21802         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21803         definition via __MAP_ANONYMOUS.
21804
21805         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21806         it's not part of Linux headers.
21807
21808         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21809         (MAP_HUGE_MASK): Define.
21810
21811         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21812         Define.
21813         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21814         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21815         Define.
21816         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21817         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21818         Define.
21819         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21820         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21821         Define.
21822         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21823
21824         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21825         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21826         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21827         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21828         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21829         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21830
21831         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21832         Handle f2fs.
21833
21834         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21835         Handle f2fs and efivarfs.
21836
21837         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21838         f2fs.
21839
21840         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21841         (EFIVARFS_MAGIC): Add.
21842         (F2FS_LINK_MAX): Add.
21843
21844 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21845
21846         * stdio-common/vfprintf.c: Replace __builtin_expect with
21847         __glibc_unlikely.
21848
21849 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21850
21851         [BZ #13550]
21852         * sysdeps/generic/bp-sym.h: Remove file.
21853         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21854         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21855         <bp-sym.h> and <bp-asm.h>.
21856         (__longjmp): Don't use BP_SYM.
21857         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21858         and <bp-asm.h>.
21859         (memcpy): Don't use BP_SYM.
21860         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21861         <bp-sym.h> and <bp-asm.h>.
21862         (memcpy): Don't use BP_SYM.
21863         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21864         <bp-asm.h>.
21865         (memcpy): Don't use BP_SYM.
21866         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21867         <bp-asm.h>.
21868         (memset): Don't use BP_SYM.
21869         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21870         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21871         (__bzero): Don't use BP_SYM.
21872         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21873         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21874         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21875         <bp-sym.h> and <bp-asm.h>.
21876         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21877         pointers.
21878         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21879         <bp-sym.h> and <bp-asm.h>.
21880         (memcpy): Don't use BP_SYM.
21881         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21882         <bp-sym.h> and <bp-asm.h>.
21883         (memset): Don't use BP_SYM.
21884         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21885         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21886         (__bzero): Don't use BP_SYM.
21887         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21888         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21889         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21890         <bp-sym.h> and <bp-asm.h>.
21891         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21892         pointers.
21893         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21894         <bp-sym.h> and <bp-asm.h>.
21895         (memcpy): Don't use BP_SYM.
21896         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21897         <bp-sym.h> and <bp-asm.h>.
21898         (memset): Don't use BP_SYM.
21899         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21900         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21901         (__bzero): Don't use BP_SYM.
21902         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21903         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21904         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21905         <bp-sym.h> and <bp-asm.h>.
21906         (__memchr): Don't use BP_SYM.
21907         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21908         <bp-sym.h> and <bp-asm.h>.
21909         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21910         pointers.
21911         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21912         <bp-sym.h> and <bp-asm.h>.
21913         (memcpy): Don't use BP_SYM.
21914         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21915         <bp-sym.h> and <bp-asm.h>.
21916         (__mempcpy): Don't use BP_SYM.
21917         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21918         <bp-sym.h> and <bp-asm.h>.
21919         (__memrchr): Don't use BP_SYM.
21920         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21921         <bp-sym.h> and <bp-asm.h>.
21922         (memset): Don't use BP_SYM.
21923         (__bzero): Likewise.
21924         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21925         <bp-sym.h> and <bp-asm.h>.
21926         (__rawmemchr): Don't use BP_SYM.
21927         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21928         <bp-sym.h> and <bp-asm.h>.
21929         (__STRCMP): Don't use BP_SYM.
21930         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21931         <bp-sym.h> and <bp-asm.h>.
21932         (strchr): Don't use BP_SYM.
21933         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21934         <bp-sym.h> and <bp-asm.h>.
21935         (__strchrnul): Don't use BP_SYM.
21936         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21937         <bp-sym.h> and <bp-asm.h>.
21938         (strlen): Don't use BP_SYM.
21939         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21940         <bp-sym.h> and <bp-asm.h>.
21941         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21942         pointers.
21943         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21944         <bp-sym.h> and <bp-asm.h>.
21945         (__strnlen): Don't use BP_SYM.
21946         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21947         <bp-sym.h> and <bp-asm.h>.
21948         (__GI__setjmp): Don't use BP_SYM.
21949         (_setjmp): Likewise.
21950         (__sigsetjmp): Likewise.
21951         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21952         (L(start_addresses)): Don't use BP_SYM.
21953         (_start): Likewise.
21954         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21955         <bp-asm.h>.
21956         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21957         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21958         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21959         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21960         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21961         <bp-asm.h>.
21962         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21963         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21964         about bounded pointers.
21965         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21966         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21967         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21968         <bp-asm.h>.
21969         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21970         about bounded pointers.  Remove GKM FIXME comments.
21971         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21972         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21973         <bp-asm.h>.
21974         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21975         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21976         Remove GKM FIXME comments.
21977         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21978         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21979         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21980         <bp-asm.h>.
21981         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21982         about bounded pointers.  Remove GKM FIXME comment.
21983         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21984         and <bp-asm.h>.
21985         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21986         pointers.
21987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21988         <bp-sym.h> and <bp-asm.h>.
21989         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21991         <bp-sym.h> and <bp-asm.h>.
21992         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21993         comment.
21994
21995 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21996
21997         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21998         call free(NULL).
21999
22000 2013-03-05  David S. Miller  <davem@davemloft.net>
22001
22002         * po/es.po: Update from translation team.
22003
22004 2013-03-05  Andreas Jaeger  <aj@suse.de>
22005
22006         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22007         <bits/mman-linux.h>.
22008         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22009         is fine.
22010         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22011         <bits/mman-linux.h> to end of file.
22012         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22013         is fine.
22014         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22015         <bits/mman-linux.h> to end of file.
22016         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22017         is fine.
22018         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22019         <bits/mman-linux.h> to end of file.
22020
22021         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22022         (MCL_CURRENT, MCL_FUTURE): Define here.
22023
22024 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22025
22026         [BZ #15232]
22027         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22028         attribute_hidden.
22029         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22030
22031 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22032
22033         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22034         fourth parameter needed for rt_sigprocmask syscall.
22035         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22036         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22037         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22038         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22039         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22040         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22041
22042 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22043
22044         [BZ #13550]
22045         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22046         comment about bounded pointers.
22047         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22048         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22049
22050 2013-03-04  Andreas Jaeger  <aj@suse.de>
22051
22052         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22053         common definitions.
22054
22055         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22056         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22057         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22058         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22059         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22060         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22061
22062 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22063
22064         [BZ #15055]
22065         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22066         __ieee754_sqrl instead of __sqrl.
22067
22068 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22069
22070         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22071         * sysdeps/powerpc/fpu_control.h: ... here.
22072         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22073         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22074         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22075         * sysdeps/powerpc/bits/mathinline.h: ... here.
22076
22077 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22078
22079         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22080         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22081         to just [NEED_DL_SYSINFO_DSO].
22082         * elf/dl-support.c: Likewise.
22083         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22084         * elf/rtld.c (dl_main): Likewise.
22085         * elf/setup-vdso.h (setup_vdso): Likewise.
22086         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22087         * sysdeps/unix/sysv/linux/dl-sysdep.c
22088         (_dl_discover_osversion): Likewise.
22089
22090 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22091
22092         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22093         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22094
22095 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22096
22097         * NEWS: Mention libm performance improvements and non-x86 PI
22098         futex support.
22099
22100         * csu/libc-start.c (__pthread_initialize_minimal): Change
22101         function arguments.
22102         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22103
22104 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22105
22106         [BZ #13550]
22107         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22108         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22109         <bp-sym.h> and <bp-asm.h>.
22110         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22111         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22112         and <bp-asm.h>.
22113         (memcpy): Don't use BP_SYM.
22114         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22115         <bp-asm.h>.
22116         (__mpn_add_n): Don't use BP_SYM.
22117         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22118         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22119         and <bp-asm.h>.
22120         (__mpn_addmul_1): Don't use BP_SYM.
22121         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22122         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22123         <bp-sym.h>.
22124         (_setjmp): Don't use BP_SYM.
22125         (__novmx_setjmp): Likewise.
22126         (__GI__setjmp): Likewise.
22127         (__vmx_setjmp): Likewise.
22128         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22129         <bp-sym.h>.
22130         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22131         (__bzero): Don't use BP_SYM.
22132         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22133         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22134         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22135         <bp-sym.h> and <bp-asm.h>.
22136         (memcpy): Don't use BP_SYM.
22137         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22138         <bp-sym.h> and <bp-asm.h>.
22139         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22140         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22141         <bp-sym.h> and <bp-asm.h>.
22142         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22143         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22144         <bp-asm.h>.
22145         (__mpn_lshift): Don't use BP_SYM.
22146         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22147         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22148         <bp-asm.h>.
22149         (memset): Don't use BP_SYM.
22150         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22151         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22152         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22153         <bp-asm.h>.
22154         (__mpn_mul_1): Don't use BP_SYM.
22155         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22156         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22157         <bp-sym.h> and <bp-asm.h>.
22158         (memcmp): Don't use BP_SYM.
22159         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22160         <bp-sym.h> and <bp-asm.h>.
22161         (memcpy): Don't use BP_SYM.
22162         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22163         <bp-sym.h> and <bp-asm.h>.
22164         (memset): Don't use BP_SYM.
22165         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22166         <bp-sym.h> and <bp-asm.h>.
22167         (strncmp): Don't use BP_SYM.
22168         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22169         <bp-sym.h> and <bp-asm.h>.
22170         (memcpy): Don't use BP_SYM.
22171         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22172         <bp-sym.h> and <bp-asm.h>.
22173         (memset): Don't use BP_SYM.
22174         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22175         <bp-sym.h> and <bp-asm.h>.
22176         (__memchr): Don't use BP_SYM.
22177         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22178         <bp-sym.h> and <bp-asm.h>.
22179         (memcmp): Don't use BP_SYM.
22180         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22181         <bp-sym.h> and <bp-asm.h>.
22182         (memcpy): Don't use BP_SYM.
22183         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22184         <bp-sym.h> and <bp-asm.h>.
22185         (__mempcpy): Don't use BP_SYM.
22186         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22187         <bp-sym.h> and <bp-asm.h>.
22188         (__memrchr): Don't use BP_SYM.
22189         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22190         <bp-sym.h> and <bp-asm.h>.
22191         (memset): Don't use BP_SYM.
22192         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22193         <bp-sym.h> and <bp-asm.h>.
22194         (__rawmemchr): Don't use BP_SYM.
22195         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22196         <bp-sym.h> and <bp-asm.h>.
22197         (__STRCMP): Don't use BP_SYM.
22198         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22199         <bp-sym.h> and <bp-asm.h>.
22200         (strchr): Don't use BP_SYM.
22201         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22202         <bp-sym.h> and <bp-asm.h>.
22203         (__strchrnul): Don't use BP_SYM.
22204         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22205         <bp-sym.h> and <bp-asm.h>.
22206         (strlen): Don't use BP_SYM.
22207         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22208         <bp-sym.h> and <bp-asm.h>.
22209         (strncmp): Don't use BP_SYM.
22210         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22211         <bp-sym.h> and <bp-asm.h>.
22212         (__strnlen): Don't use BP_SYM.
22213         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22214         <bp-asm.h>.
22215         (__mpn_rshift): Don't use BP_SYM.
22216         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22217         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22218         <bp-sym.h> and <bp-asm.h>.
22219         (__sigsetjmp): Don't use BP_SYM.
22220         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22221         (L(start_addresses)): Don't use BP_SYM.
22222         (_start): Likewise.
22223         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22224         <bp-asm.h>.
22225         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22226         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22227         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22228         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22229         <bp-asm.h>.
22230         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22231         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22232         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22233         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22234         <bp-asm.h>.
22235         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22236         comments.
22237         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22238         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22239         <bp-asm.h>.
22240         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22241         FIXME comments.
22242         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22243         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22244         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22245         <bp-asm.h>.
22246         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22247         comment.
22248         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22249         and <bp-asm.h>.
22250         (strncmp): Don't use BP_SYM,
22251         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22252         <bp-asm.h>.
22253         (__mpn_sub_n): Don't use BP_SYM.
22254         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22255         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22256         and <bp-asm.h>.
22257         (__mpn_submul_1): Don't use BP_SYM.
22258         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22260         <bp-sym.h> and <bp-asm.h>.
22261         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22263         <bp-sym.h> and <bp-asm.h>.
22264         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22265         comment.
22266
22267 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22268
22269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22270         Use ZK to minimize writes to Z.
22271         (sub_magnitudes): Simplify code a bit.
22272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22273         Use ZK to minimize writes to Z.
22274         (sub_magnitudes): Simplify code a bit.
22275
22276 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22277
22278         * csu/gmon-start.c: Add special exception to license text.
22279
22280 2013-02-27  Richard Henderson  <rth@redhat.com>
22281
22282         * scripts/config.guess: Update from config.git.
22283         * scripts/config.sub: Likewise.
22284
22285 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22286
22287         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22288
22289         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22290
22291         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22292
22293         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22294
22295         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22296
22297 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22298
22299         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22300         [$(build-shared = yes].
22301
22302 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22303
22304         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22305         (__mul): Reduce iterations for calculating mantissa.
22306
22307         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22308         MPTWO.
22309         (__mpranred): Likewise.
22310
22311         [BZ #15160]
22312         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22313         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22314
22315 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22316
22317         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22318         Define __attribute__.
22319
22320 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22321
22322         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22323         unused.
22324         * posix/regex_internal.h (__attribute): Remove.
22325         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22326         (re_string_context_at): Likewise.
22327         (bitset_not): Use __attribute__ and mark function as possibly
22328         unused.
22329         (bitset_merge): Likewise.
22330         (bitset_mask): Likewise.
22331         (re_string_char_size_at): Likewise.
22332         (re_string_wchar_at): Likewise.
22333         (re_string_elem_size_at): Likewise.
22334
22335 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22336
22337         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22338         code.
22339         (cc32): Likewise.
22340
22341         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22342         (__acr): Likewise.
22343         (__cpy): Likewise.
22344         (norm): Likewise.
22345         (denorm): Likewise.
22346         (__dbl_mp): Likewise.
22347         (add_magnitudes): Likewise.
22348         (sub_magnitudes): Likewise.
22349         (__mul): Likewise.
22350         (__inv): Likewise.
22351
22352         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22353         style.
22354
22355         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22356         style.
22357
22358         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22359         code.
22360
22361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22362         up changes with default code.
22363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22364         Likewise.
22365
22366 2013-02-24  Allan McRae  <allan@archlinux.org>
22367
22368         * manual/socket.texi (The Internet Namespace): Order menu items
22369         to match that in the file.
22370
22371         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22372         node listing of the info page menu.
22373
22374 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22375
22376         [BZ #13550]
22377         * sysdeps/i386/bp-asm.h: Remove file.
22378         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22379         (PARMS): Do not use macros from bp-asm.h.
22380         (S1): Likewise.
22381         (S2): Likewise.
22382         (SIZE): Likewise.
22383         (__mpn_add_n): Do not use BP_SYM
22384         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22385         "bp-asm.h".
22386         (PARMS): Do not use macros from bp-asm.h.
22387         (S1): Likewise.
22388         (SIZE): Likewise.
22389         (__mpn_addmul_1): Do not use BP_SYM
22390         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22391         "bp-asm.h".
22392         (PARMS): Do not use macros from bp-asm.h.
22393         (SIGMSK): Likewise.
22394         (_setjmp): Likewise.  Do not use BP_SYM.
22395         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22396         "bp-asm.h".
22397         (PARMS): Do not use macros from bp-asm.h.
22398         (SIGMSK): Likewise.
22399         (setjmp): Likewise.  Do not use BP_SYM.
22400         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22401         "bp-asm.h".
22402         (PARMS): Do not use macros from bp-asm.h.
22403         (__frexp): Do not use BP_SYM.
22404         (frexp): Likewise.
22405         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22406         "bp-asm.h".
22407         (PARMS): Do not use macros from bp-asm.h.
22408         (__frexpf): Do not use BP_SYM.
22409         (frexpf): Likewise.
22410         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22411         "bp-asm.h".
22412         (PARMS): Do not use macros from bp-asm.h.
22413         (__frexpl): Do not use BP_SYM.
22414         (frexpl): Likewise.
22415         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22416         "bp-asm.h".
22417         (PARMS): Do not use macros from bp-asm.h.
22418         (__remquo): Do not use BP_SYM.
22419         (remquo): Likewise.
22420         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22421         "bp-asm.h".
22422         (PARMS): Do not use macros from bp-asm.h.
22423         (__remquof): Do not use BP_SYM.
22424         (remquof): Likewise.
22425         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22426         "bp-asm.h".
22427         (PARMS): Do not use macros from bp-asm.h.
22428         (__remquol): Do not use BP_SYM.
22429         (remquol): Likewise.
22430         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22431         "bp-asm.h".
22432         (PARMS): Do not use macros from bp-asm.h.
22433         (DEST): Likewise.
22434         (SRC): Likewise.
22435         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22436         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22437         "bp-asm.h".
22438         (PARMS): Do not use macros from bp-asm.h.
22439         (strlen): Do not use BP_SYM.
22440         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22441         "bp-asm.h".
22442         (PARMS): Do not use macros from bp-asm.h.
22443         (S1): Likewise.
22444         (S2): Likewise.
22445         (SIZE): Likewise.
22446         (__mpn_add_n): Do not use BP_SYM.
22447         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22448         "bp-asm.h".
22449         (PARMS): Do not use macros from bp-asm.h.
22450         (S1): Likewise.
22451         (SIZE): Likewise.
22452         (__mpn_addmul_1): Do not use BP_SYM.
22453         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22454         weak_alias.
22455         (bzero): Likewise.
22456         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22457         "bp-asm.h".
22458         (PARMS): Do not use macros from bp-asm.h.
22459         (S): Likewise.
22460         (SIZE): Likewise.
22461         (__mpn_lshift): Do not use BP_SYM.
22462         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22463         "bp-asm.h".
22464         (PARMS): Do not use macros from bp-asm.h.
22465         (DEST): Likewise.
22466         (SRC): Likewise.
22467         (LEN): Likewise.
22468         (memcpy): Likewise.  Do not use BP_SYM.
22469         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22470         libc_hidden_def and weak_alias.
22471         (mempcpy): Do not use BP_SYM in weak_alias.
22472         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22473         "bp-asm.h".
22474         (PARMS): Do not use macros from bp-asm.h.
22475         (DEST): Likewise.
22476         (LEN): Likewise.
22477         [!BZERO_P] (CHR): Likewise.
22478         (memset): Likewise.  Do not use BP_SYM.
22479         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22480         "bp-asm.h".
22481         (PARMS): Do not use macros from bp-asm.h.
22482         (S1): Likewise.
22483         (SIZE): Likewise.
22484         (__mpn_mul_1): Do not use BP_SYM.
22485         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22486         "bp-asm.h".
22487         (PARMS): Do not use macros from bp-asm.h.
22488         (S): Likewise.
22489         (SIZE): Likewise.
22490         (__mpn_rshift): Do not use BP_SYM.
22491         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22492         "bp-asm.h".
22493         (PARMS): Do not use macros from bp-asm.h.
22494         (STR): Likewise.
22495         (CHR): Likewise.
22496         (strchr): Likewise.  Do not use BP_SYM.
22497         (index): Do not use BP_SYM in weak_alias.
22498         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22499         "bp-asm.h".
22500         (PARMS): Do not use macros from bp-asm.h.
22501         (DEST): Likewise.
22502         (SRC): Likewise.
22503         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22504         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22505         "bp-asm.h".
22506         (PARMS): Do not use macros from bp-asm.h.
22507         (strlen): Do not use BP_SYM.
22508         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22509         "bp-asm.h".
22510         (PARMS): Do not use macros from bp-asm.h.
22511         (S1): Likewise.
22512         (S2): Likewise.
22513         (SIZE): Likewise.
22514         (__mpn_sub_n): Do not use BP_SYM.
22515         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22516         "bp-asm.h".
22517         (PARMS): Do not use macros from bp-asm.h.
22518         (S1): Likewise.
22519         (SIZE): Likewise.
22520         (__mpn_submul_1): Do not use BP_SYM.
22521         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22522         "bp-asm.h".
22523         (PARMS): Do not use macros from bp-asm.h.
22524         (S1): Likewise.
22525         (S2): Likewise.
22526         (SIZE): Likewise.
22527         (__mpn_add_n): Do not use BP_SYM.
22528         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22529         weak_alias.
22530         (bzero): Likewise.
22531         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22532         "bp-asm.h".
22533         (PARMS): Do not use macros from bp-asm.h.
22534         (BLK2): Likewise.
22535         (LEN): Likewise.
22536         (memcmp): Do not use BP_SYM.
22537         (bcmp): Do not use BP_SYM in weak_alias.
22538         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22539         "bp-asm.h".
22540         (PARMS): Do not use macros from bp-asm.h.
22541         (DEST): Likewise.
22542         (SRC): Likewise.
22543         (LEN): Likewise.
22544         (memcpy): Likewise.  Do not use BP_SYM.
22545         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22546         "bp-asm.h".
22547         (PARMS): Do not use macros from bp-asm.h.
22548         (DEST): Likewise.
22549         (SRC): Likewise.
22550         (LEN): Likewise.
22551         (memmove): Likewise.  Do not use BP_SYM.
22552         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22553         "bp-asm.h".
22554         (PARMS): Do not use macros from bp-asm.h.
22555         (DEST): Likewise.
22556         (SRC): Likewise.
22557         (LEN): Likewise.
22558         (__mempcpy): Likewise.  Do not use BP_SYM.
22559         (mempcpy): Do not use BP_SYM in weak_alias.
22560         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22561         "bp-asm.h".
22562         (PARMS): Do not use macros from bp-asm.h.
22563         (DEST): Likewise.
22564         (LEN): Likewise.
22565         [!BZERO_P] (CHR): Likewise.
22566         (memset): Likewise.  Do not use BP_SYM.
22567         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22568         "bp-asm.h".
22569         (PARMS): Do not use macros from bp-asm.h.
22570         (STR2): Likewise.
22571         (strcmp): Do not use BP_SYM.
22572         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22573         "bp-asm.h".
22574         (PARMS): Do not use macros from bp-asm.h.
22575         (STR): Likewise.
22576         (DELIM): Likewise.
22577         [USE_AS_STRTOK_R] (SAVE): Likewise.
22578         (FUNCTION): Likewise.  Do not use BP_SYM.
22579         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22580         aliases.
22581         (strtok_r): Likewise.
22582         (__GI___strtok_r): Likewise.
22583         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22584         (PARMS): Do not use macros from bp-asm.h.
22585         (S): Likewise.
22586         (SIZE): Likewise.
22587         (__mpn_lshift): Do not use BP_SYM.
22588         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22589         (PARMS): Do not use macros from bp-asm.h.
22590         (STR): Likewise.
22591         (CHR): Likewise.
22592         (__memchr): Do not use BP_SYM.
22593         (memchr): Do not use BP_SYM in weak_alias.
22594         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22595         (PARMS): Do not use macros from bp-asm.h.
22596         (BLK2): Likewise.
22597         (LEN): Likewise.
22598         (memcmp): Do not use BP_SYM.
22599         (bcmp): Do not use BP_SYM in weak_alias.
22600         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22601         (PARMS): Do not use macros from bp-asm.h.
22602         (S1): Likewise.
22603         (SIZE): Likewise.
22604         (__mpn_mul_1): Do not use BP_SYM.
22605         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22606         "bp-asm.h".
22607         (PARMS): Do not use macros from bp-asm.h.
22608         (STR): Likewise.
22609         (CHR): Likewise.
22610         (__rawmemchr): Do not use BP_SYM.
22611         (rawmemchr): Do not use BP_SYM in weak_alias.
22612         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22613         (PARMS): Do not use macros from bp-asm.h.
22614         (S): Likewise.
22615         (SIZE): Likewise.
22616         (__mpn_rshift): Do not use BP_SYM.
22617         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22618         (PARMS): Do not use macros from bp-asm.h.
22619         (SIGMSK): Likewise.
22620         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22621         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22622         (_start): Do not use BP_SYM.
22623         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22624         (PARMS): Do not use macros from bp-asm.h.
22625         (DEST): Likewise.
22626         (SRC): Likewise.
22627         (__stpcpy): Likewise.  Do not use BP_SYM.
22628         (stpcpy): Do not use BP_SYM in weak_alias.
22629         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22630         "bp-asm.h".
22631         (PARMS): Do not use macros from bp-asm.h.
22632         (DEST): Likewise.
22633         (SRC): Likewise.
22634         (LEN): Likewise.
22635         (__stpncpy): Likewise.  Do not use BP_SYM.
22636         (stpncpy): Do not use BP_SYM in weak_alias.
22637         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22638         (PARMS): Do not use macros from bp-asm.h.
22639         (STR): Likewise.
22640         (CHR): Likewise.
22641         (strchr): Likewise.  Do not use BP_SYM.
22642         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22643         "bp-asm.h".
22644         (PARMS): Do not use macros from bp-asm.h.
22645         (STR): Likewise.
22646         (CHR): Likewise.
22647         (__strchrnul): Likewise.  Do not use BP_SYM.
22648         (strchrnul): Do not use BP_SYM in weak_alias.
22649         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22650         "bp-asm.h".
22651         (PARMS): Do not use macros from bp-asm.h.
22652         (STOP): Likewise.
22653         (strcspn): Do not use BP_SYM.
22654         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22655         "bp-asm.h".
22656         (PARMS): Do not use macros from bp-asm.h.
22657         (STR): Likewise.
22658         (STOP): Likewise.
22659         (strpbrk): Likewise.  Do not use BP_SYM.
22660         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22661         "bp-asm.h".
22662         (PARMS): Do not use macros from bp-asm.h.
22663         (STR): Likewise.
22664         (CHR): Likewise.
22665         (strrchr): Likewise.  Do not use BP_SYM.
22666         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22667         (PARMS): Do not use macros from bp-asm.h.
22668         (SKIP): Likewise.
22669         (strspn): Do not use BP_SYM.
22670         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22671         (PARMS): Do not use macros from bp-asm.h.
22672         (STR): Likewise.
22673         (DELIM): Likewise.
22674         (SAVE): Likewise.
22675         (FUNCTION): Likewise.  Do not use BP_SYM.
22676         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22677         aliases.
22678         (strtok_r): Likewise.
22679         (__GI___strtok_r): Likewise.
22680         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22681         (PARMS): Do not use macros from bp-asm.h.
22682         (S1): Likewise.
22683         (S2): Likewise.
22684         (SIZE): Likewise.
22685         (__mpn_sub_n): Do not use BP_SYM.
22686         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22687         "bp-asm.h".
22688         (PARMS): Do not use macros from bp-asm.h.
22689         (S1): Likewise.
22690         (SIZE): Likewise.
22691         (__mpn_submul_1): Do not use BP_SYM.
22692         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22693         <bp-sym.h>.
22694         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22695         and <bp-asm.h>.
22696         (PARMS): Do not use macros from bp-asm.h.
22697         (FLAGS): Likewise.
22698         (PTID): Likewise.
22699         (TLS): Likewise.
22700         (CTID): Likewise.
22701         (__clone): Do not use BP_SYM.
22702         (clone): Do not use BP_SYM in weak_alias.
22703         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22704         and <bp-asm.h>.
22705         (PARMS): Do not use macros from bp-asm.h.
22706         (LEN): Likewise.
22707         (__mmap64): Do not use BP_SYM.
22708         (mmap64): Do not use BP_SYM in weak_alias.
22709         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22710         <bp-sym.h> and <bp-asm.h>.
22711         (PARMS): Do not use macros from bp-asm.h.
22712         (__posix_fadvise64_l64): Do not use BP_SYM.
22713         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22714         (PARMS): Do not use macros from bp-asm.h.
22715         (NSOPS): Likewise.
22716         (semtimedop): Do not use BP_SYM.
22717         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22718         and <bp-asm.h>.
22719
22720 2013-02-21  Allan McRae  <allan@archlinux.org>
22721
22722         * manual/message.texi (Charset conversion in gettext):
22723         Move @end statement to beginning of line.
22724
22725 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22726
22727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22728         static.
22729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22730         Likewise.
22731
22732         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22733         (denorm): Likewise.
22734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22736
22737 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22738
22739         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22740         tail-call to the resolved function if pltexit isn't needed.
22741
22742 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22743
22744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22745         or Y being zero as being unlikely.
22746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22747         Likewise.
22748
22749 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22750
22751         * manual/nss.texi (System Databases and Name Service Switch):
22752         Remove frobnicate @pxref.
22753
22754 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22755
22756         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22757         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22758
22759 2013-02-20  Petr Machata  <pmachata@redhat.com>
22760
22761         * elf/elf.h (R_ARM_TARGET1): New macro.
22762         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22763         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22764         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22765         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22766         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22767         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22768         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22769         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22770         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22771         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22772         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22773         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22774         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22775         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22776         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22777         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22778         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22779         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22780         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22781         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22782         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22783         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22784         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22785         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22786         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22787         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22788         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22789         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22790         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22791         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22792         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22793         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22794         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22795         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22796         (R_ARM_THM_GOT_BREL12): Likewise.
22797         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22798         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22799         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22800         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22801         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22802         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22803         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22804         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22805         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22806
22807 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22808
22809         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22810         __attribute_used__ to __attribute__ ((unused)).
22811
22812 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22813
22814         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22815         powerpc mpa.c.
22816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22817         comment formatting.
22818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22819
22820 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22821
22822         [BZ #13550]
22823         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22824         Remove macro.
22825         (ENTER): Remove both macro definitions.
22826         (LEAVE): Likewise.
22827         (CHECK_BOUNDS_LOW): Likewise.
22828         (CHECK_BOUNDS_HIGH): Likewise.
22829         (CHECK_BOUNDS_BOTH): Likewise.
22830         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22831         (RETURN_BOUNDED_POINTER): Likewise.
22832         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22833         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22834         (POP_ERRNO_LOCATION_RETURN): Likewise.
22835         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22836         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22837         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22838         macros.
22839         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22840         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22841         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22842         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22843         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22844         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22845         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22846         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22847         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22848         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22849         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22850         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22851         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22852         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22853         removed macros.
22854         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22855         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22856         macros.
22857         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22858         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22859         * sysdeps/i386/i586/memset.S (memset): Likewise.
22860         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22861         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22862         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22863         macros.
22864         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22865         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22866         Change uses of L(2) to L(out).
22867         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22868         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22869         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22870         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22871         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22872         removed macros.
22873         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22874         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22875         macros.
22876         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22877         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22878         (RETURN): Do not use macro LEAVE.
22879         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22880         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22881         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22882         * sysdeps/i386/i686/memset.S (memset): Likewise.
22883         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22884         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22885         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22886         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22887         Likewise.
22888         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22889         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22890         L(1_2) and L(1_3) into L(1).
22891         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22892         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22893         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22894         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22895         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22896         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22897         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22898         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22899         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22900         macros.
22901         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22902         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22903         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22904         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22905         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22906         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22907         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22908         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22909         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22910         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22911         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22912         * sysdeps/i386/strspn.S (strspn): Likewise.
22913         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22914         conditional code.
22915         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22916         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22917         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22918         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22919         L(1_3) into L(1_1).
22920         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22921         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22922         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22923         macros.
22924         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22925
22926 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22927
22928         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22929         macro.
22930
22931 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22932
22933         * math/atest-exp.c (exp_mpn): Remove ROUND.
22934         * math/atest-exp2.c (exp_mpn): Likewise.
22935         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22936
22937         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22938         * stdlib/tst-tls-atexit-lib.c: Likewise.
22939         * stdlib/tst-tls-atexit.c: Likewise.
22940
22941 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22942
22943         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22944         and __attribute_alloc_size__.
22945
22946 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22947
22948         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22949         __attribute_alloc_size__.
22950         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22951         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22952
22953 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22954
22955         * include/programs/xmalloc.h: New file.
22956         * catgets/gencat.c: Include it.
22957         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22958         * elf/pldd.c: Likewise.
22959         * iconv/iconv_charmap.c: Likewise.
22960         * iconv/iconvconfig.c: Likewise.
22961         * iconv/strtab.c: Likewise.
22962         * locale/programs/locale.c: Likewise.
22963         * locale/programs/localedef.h: Likewise.
22964         * locale/programs/simple-hash.c: Likewise.
22965         * nscd/nscd.h: Likewise.
22966         * nss/makedb.c: Likewise.
22967         * sysdeps/generic/ldconfig.h: Likewise.
22968
22969 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22970
22971         * Versions.def: Add GLIBC_2.18.
22972         * include/link.h (struct link_map): New member l_tls_dtor_count.
22973         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22974         (__call_tls_dtors): Likewise.
22975         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22976         __cxa_thread_atexit_impl.
22977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22978         Likewise.
22979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22980         Likewise.
22981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22982         Likewise.
22983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22984         Likewise.
22985         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22987         Likewise.
22988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22989         Likewise.
22990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22992         Likewise.
22993         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22994         (tests): Add test case tst-tls-atexit.
22995         (modules-names): Add shared library for tst-tls-atexit.
22996         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22997         (GLIBC_PRIVATE): Add __call_tls_dtors.
22998         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22999         for libstdc++.
23000         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23001         * stdlib/tst-tls-atexit.c: New test case.
23002         * stdlib/tst-tls-atexit-lib.c: New test case.
23003
23004         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23005
23006         * elf/Versions (ld): Add _dl_find_dso_for_object.
23007         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23008         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23009         (dl_open_worker): Use _dl_find_dso_for_object.
23010         * elf/dl-sym.c (do_sym): Likewise.
23011         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23012
23013 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23014
23015         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23016         Syntactic changes only.
23017         (_dl_runtime_profile): Do a tail-call to the resolved function.
23018
23019 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23020
23021         [BZ #13550]
23022         * sysdeps/x86_64/bp-asm.h: Remove file.
23023         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23024         <bp-sym.h> and <bp-asm.h>.
23025         (__clone): Do not use BP_SYM.
23026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23027         <bp-sym.h> and <bp-asm.h>.
23028         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23029         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23030         "bp-asm.h".
23031         (_setjmp): Do not use BP_SYM.
23032         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23033         "bp-asm.h".
23034         (setjmp): Do not use BP_SYM.
23035         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23036         libc_hidden_def.
23037         (mempcpy): Do not use BP_SYM in weak_alias.
23038         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23039         "bp-asm.h".
23040         (strchr): Do not use BP_SYM.
23041         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23042         "bp-asm.h".
23043         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23044         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23045         (_start): Do not use BP_SYM.
23046         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23047         "bp-asm.h".
23048         (strcat): Do not use BP_SYM.
23049         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23050         "bp-asm.h".
23051         (STRCMP): Do not use BP_SYM.
23052         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23053         "bp-asm.h".
23054         (STRCPY): Do not use BP_SYM.
23055         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23056         "bp-asm.h".
23057         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23058         "bp-asm.h".
23059         (FUNCTION): Do not use BP_SYM.
23060         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23061         weak_alias.
23062         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23063
23064 2013-02-17  Andreas Jaeger  <aj@suse.de>
23065
23066         * time/Versions: Sort entries.
23067         * string/Versions: Likewise.
23068         * resolv/Versions: Likewise.
23069         * posix/Versions: Likewise.
23070         * iconv/Versions: Likewise.
23071         * elf/Versions: Likewise.
23072         * wcsmbs/Versions: Likewise.
23073
23074 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23075
23076         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23077         loop termination condition.
23078
23079         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23080         variable to calculate EZ.
23081         (__sqr): Likewise.
23082
23083         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23084         the lower precision input.
23085
23086 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23087
23088         [BZ #13550]
23089         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23090         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23091         (run-via-rtld-prefix): Do not handle %-bp tests.
23092         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23093         (all-object-suffixes): Remove .ob.
23094         (bppfx): Remove variable.
23095         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23096         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23097         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23098         [$(build-bounded) = yes] (libtype.ob): Likewise.
23099         * Makerules (elide-routines.ob): Remove variable.
23100         (do-tests-clean): Do not handle *-bp.out.
23101         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23102         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23103         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23104         (tests): Do not include $(tests-bp.out).
23105         (xtests): Do not include $(xtests-bp.out).
23106         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23107         [$(build-bounded) = yes] ($(addprefix
23108         $(objpfx),$(binaries-bounded))): Remove rule.
23109         ($(objpfx)%-bp.out): Remove rule.
23110         * config.make.in (build-bounded): Remove variable.
23111         * crypt/Makefile [$(build-bounded) = yes]
23112         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23113         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23114         append to variable.
23115         [$(build-bounded) = yes] (install-lib): Likewise.
23116         [$(build-bounded) = yes] (generated): Likewise.
23117         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23118         Remove rule.
23119         * intl/Makefile [$(build-bounded) = yes]
23120         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23121         * math/Makefile [$(build-bounded) = yes]
23122         ($(tests:%=$(objpfx)%-bp): Likewise.
23123         * misc/Makefile [$(build-bounded) = yes]
23124         ($(objpfx)tst-tsearch-bp): Likewise.
23125         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23126         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23127         Remove dependency.
23128         * string/Makefile (o-objects.ob): Remove variable.
23129         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23130         (CFLAGS-.ob): Remove variable.
23131         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23132         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23133         both definitions of variable.
23134         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23135         (ASFLAGS-.ob): Remove variable.
23136
23137 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23138
23139         [BZ #13550]
23140         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23141         Remove __BOUNDED_POINTERS__ from condition.
23142         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23143         * string/bits/string2.h [!__NO_STRING_INLINES &&
23144         !__BOUNDED_POINTERS__]: Likewise.
23145         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23146         Likewise.
23147         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23148         Remove conditional code.
23149         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23150         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23151         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23152         condition.
23153
23154         [BZ #13550]
23155         * csu/libc-start.c: Do not include <bp-sym.h>.
23156         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23157         * elf/dl-open.c: Do not include <bp-sym.h>.
23158         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23159         * math/fegetenv.c: Do not include <bp-sym.h>.
23160         (fegetenv): Do not use BP_SYM in versioned symbols.
23161         * nptl/sysdeps/pthread/bits/libc-lockP.h
23162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23163         <bp-sym.h>.
23164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23165         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23167         (__pthread_mutex_destroy): Likewise.
23168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23169         (__pthread_mutex_lock): Likewise.
23170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23171         (__pthread_mutex_trylock): Likewise.
23172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23173         (__pthread_mutex_unlock): Likewise.
23174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23175         (__pthread_mutexattr_init): Likewise.
23176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23177         (__pthread_mutexattr_destroy): Likewise.
23178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23179         (__pthread_mutexattr_settype): Likewise.
23180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23181         (__pthread_rwlock_init): Likewise.
23182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23183         (__pthread_rwlock_destroy): Likewise.
23184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23185         (__pthread_rwlock_rdlock): Likewise.
23186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23187         (__pthread_rwlock_tryrdlock): Likewise.
23188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23189         (__pthread_rwlock_wrlock): Likewise.
23190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23191         (__pthread_rwlock_trywrlock): Likewise.
23192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23193         (__pthread_rwlock_unlock): Likewise.
23194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23195         (__pthread_key_create): Likewise.
23196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23197         (__pthread_setspecific): Likewise.
23198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23199         (__pthread_getspecific): Likewise.
23200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23201         Likewise.
23202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23203         (_pthread_cleanup_push_defer): Likewise.
23204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23205         (_pthread_cleanup_pop_restore): Likewise.
23206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23207         (pthread_setcancelstate): Likewise.
23208         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23209         <bp-sym.h>.
23210         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23211         (memchr): Do not use BP_SYM in weak_alias.
23212         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23213         (fegetenv): Do not use BP_SYM in versioned symbols.
23214         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23215         (fesetenv): Do not use BP_SYM in versioned symbols.
23216         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23217         (feupdateenv): Do not use BP_SYM in versioned symbols.
23218         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23219         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23220         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23221         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23222         (open64): Do not use BP_SYM in weak_alias.
23223         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23224         (fegetenv): Do not use BP_SYM in versioned symbols.
23225         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23226         (fesetenv): Do not use BP_SYM in versioned symbols.
23227         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23228         (feupdateenv): Do not use BP_SYM in versioned symbols.
23229         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23230         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23231         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23232         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23233         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23234         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23235         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23236         <bp-sym.h>.
23237         (__libc_start_main): Do not use BP_SYM.
23238
23239 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23240
23241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23242         redundant return line.
23243         (norm): Likewise.
23244         (denorm): Likewise.
23245         (dbl_mp): Likewise.
23246         (sub_magnitudes): Likewise.
23247         (__add): Likewise.
23248         (__sub): Likewise.
23249         (__mul): Likewise.
23250         (__inv): Likewise.
23251         (__dvd): Likewise.
23252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23253         (norm): Likewise.
23254         (denorm): Likewise.
23255         (dbl_mp): Likewise.
23256         (sub_magnitudes): Likewise.
23257         (__add): Likewise.
23258         (__sub): Likewise.
23259         (__mul): Likewise.
23260         (__inv): Likewise.
23261         (__dvd): Likewise.
23262
23263         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23264         instead of __mul.
23265         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23266         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23267         (cc32): Likewise.
23268
23269         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23270         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23271         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23272         of __mul for squares.
23273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23274         function
23275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23276         Likewise.
23277         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23278         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23279
23280 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23281
23282         [BZ #13550]
23283         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23284         code.
23285         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23286         prototype or function definition.  Rename ubp_* variables and
23287         parameters.  Remove argv definitions conditional on
23288         [__BOUNDED_POINTERS__].
23289         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23290         * elf/dl-runtime.c (_dl_fixup): Likewise.
23291         * include/set-hooks.h (RUN_HOOK): Likewise.
23292         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23293         definition.
23294         * string/strcpy.c (strcpy): Do not use __unbounded.
23295         * sysdeps/generic/frame.h (struct layout): Likewise.
23296         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23297         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23298         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23299         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23300         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23301         (__backtrace): Likewise.
23302         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23303         use __ptrvalue.
23304         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23305         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23306         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23307         Likewise.
23308         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23309         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23310         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23311         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23312         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23313         Do not use __unbounded.
23314         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23315         Rename __unboundedrlimits parameter to rlimits in prototype.
23316         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23317         Do not use __unbounded.
23318         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23319         not use __ptrvalue.
23320         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23321         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23322         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23323         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23324         __ptrvalue or __unbounded.
23325         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23326         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23327         use __unbounded.
23328         (__new_msgctl): Do not use __ptrvalue.
23329         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23330         __unbounded.
23331         (__libc_msgrcv): Do not use __ptrvalue.
23332         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23333         startup_info): Do not use __unbounded.
23334         (__libc_start_main): Likewise.  Rename ubp_* variables and
23335         parameters.  Remove argv definitions conditional on
23336         [__BOUNDED_POINTERS__].
23337         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23338         __ptrvalue.
23339         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23340         use __unbounded.
23341         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23342         or __ptrvalue.
23343         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23344         use __unbounded.
23345         (__new_shmctl): Do not use __ptrvalue.
23346         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23347         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23348         Likewise.
23349         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23350         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23351         (__libc_sigaction): Likewise.
23352         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23353         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23354         Likewise.
23355         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23356
23357 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23358
23359         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23360
23361         * string/mempcpy.c: Implement by calling memcpy.
23362
23363 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23364
23365         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23366
23367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23368         evaluation.
23369
23370         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23371         values in the mantissa.
23372
23373         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23374         minimize writes to Z.
23375         (sub_magnitudes): Simplify code a bit.
23376
23377 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23378
23379         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23380         from the message.  The linker prefixes all warnings with that already.
23381
23382 2013-02-12  Andreas Schwab  <schwab@suse.de>
23383
23384         [BZ #15078]
23385         * posix/regexec.c (extend_buffers): Add parameter min_len.
23386         (check_matching): Pass minimum needed length.
23387         (clean_state_log_if_needed): Likewise.
23388         (get_subexp): Likewise.
23389         * posix/Makefile (tests): Add bug-regex34.
23390         (bug-regex34-ENV): Define.
23391         * posix/bug-regex34.c: New file.
23392
23393         [BZ #11561]
23394         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23395         elements compare against the byte sequence of it, not its name.
23396         * posix/Makefile (tests): Add bug-regex35.
23397         (bug-regex35-ENV): Define.
23398         * posix/bug-regex35.c: New file.
23399
23400 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23401
23402         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23403         comment.
23404         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23405         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23406         (CHECK_EOL): Add undef.
23407
23408 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23409
23410         * bits/stdlib-bsearch.h: New file.
23411         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23412         * stdlib/stdlib.h: Likewise.
23413
23414 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23415
23416         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23417         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23418         declaration.
23419         * manual/search.texi (Array Search Function): Add missing const in
23420         lfind prototype.
23421         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23422         declaration to use rlim_t.
23423         (Basic Scheduling Functions): Remove erroneous const from
23424         sched_getparam prototype.  Remove erroneous * from
23425         sched_get_priority_max and sched_get_priority_min prototypes.
23426         (Resource Usage): Fix summary @comment on vtimes to refer to
23427         sys/vtimes.h rather than vtimes.h.
23428         Add missing *s in vtimes prototype.
23429         (Limits on Resources): Fix ulimit prototype to return long int.
23430         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23431         prototypes to use long int rather than double.
23432         (BSD Random): Fix initstate and setstate to use char *, not void *.
23433         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23434         prototype to make second argument 'struct aiocb64 *const[]'.
23435         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23436         (Status of AIO Operations): Remove erroneous const in aio_return and
23437         aio_return64 prototypes.
23438         (Synchronizing I/O): Fix sync prototype to return void.
23439         * manual/startup.texi (Suboptions): Remove an erroneous const in
23440         getsubopt prototype.
23441         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23442         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23443         use size_t rather than int.
23444         (Scanning All Users): Likewise for getpwent_r.
23445         (Setting Groups): Add missing const to setgroups prototype.
23446         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23447         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23448         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23449         'const void *' rather than 'const char *'.
23450         (Host Address Functions): Likewise for inet_ntop.
23451         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23452         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23453         ssize_t for return value.
23454         (Sending Data): Likewise for send, sendto, sendmsg.
23455         (Socket Option Functions): Add a missing const in setsockopt prototype.
23456         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23457         use wchar_t for the argument.
23458         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23459         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23460         take no arguments.
23461         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23462         double/float/long double for second argument.
23463         Fix return types of significand, significandf, significandl.
23464         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23465         argument in fchmod prototype.
23466         (File Owner): Use uid_t and gid_t in fchown prototype.
23467         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23468         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23469         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23470         use 'const struct dirent **' as argument types to CMP function pointer
23471         argument.
23472         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23473         (File Times): Fix summary magic @comment for struct utimbuf and utime
23474         to refer to utime.h, not time.h.
23475         * manual/string.texi (Argz Functions): Add missing const in
23476         argz_extract and argz_next prototypes.
23477         (Finding Tokens in a String): Likewise for basename.
23478         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23479         (Copying and Concatenation): Fix typo in wmemmove prototype.
23480         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23481         (Signal Stack): Remove erroneous const in sigstack prototype.
23482         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23483         prototype.
23484         (Simple Calendar Time): Likewise for stime.
23485         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23486         prototype.
23487         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23488         say sys/sysctl.h instead.
23489         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23490         and vsyslog prototypes.
23491
23492 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23493
23494         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23495         Remove.
23496
23497 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23498
23499         * misc/sys/mman.h: Fix typo in mremap comment.
23500
23501 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23502
23503         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23504         the '\0' terminator.
23505
23506 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23507
23508         [BZ #13550]
23509         * debug/segfault.c: Don't include <bp-checks.h>.
23510         * sysdeps/generic/bp-checks.h: Remove file.
23511         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23512         (__GETDENTS): Don't use CHECK_N.
23513         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23514         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23515         (__getgroups): Don't use CHECK_N.
23516         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23517         (setgroups): Don't use CHECK_N.
23518         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23519         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23520         (__libc_msgrcv): Don't use CHECK_N.
23521         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23522         (__libc_msgsnd): Don't use CHECK_N.
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23524         <bp-checks.h>.
23525         (__libc_pread): Don't use CHECK_N.
23526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23527         include <bp-checks.h>.
23528         (__libc_pread64): Don't use CHECK_N.
23529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23530         include <bp-checks.h>.
23531         (__libc_pwrite): Don't use CHECK_N.
23532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23533         include <bp-checks.h>.
23534         (__libc_pwrite64): Don't use CHECK_N.
23535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23536         <bp-checks.h>.
23537         (__libc_pread): Don't use CHECK_N.
23538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23539         include <bp-checks.h>.
23540         (__libc_pread64): Don't use CHECK_N.
23541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23542         include <bp-checks.h>.
23543         (__libc_pwrite): Don't use CHECK_N.
23544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23545         include <bp-checks.h>.
23546         (__libc_pwrite64): Don't use CHECK_N.
23547         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23548         (do_pread): Don't use CHECK_N.
23549         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23550         (do_pread64): Don't use CHECK_N.
23551         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23552         (do_pwrite): Don't use CHECK_N.
23553         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23554         (do_pwrite64): Don't use CHECK_N.
23555         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23556         (__libc_readv): Don't use CHECK_N.
23557         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23558         (semop): Don't use CHECK_N.
23559         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23560         <bp-checks.h>.
23561         (semtimedop): Don't use CHECK_N.
23562         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23563         (__libc_pread): Don't use CHECK_N.
23564         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23565         <bp-checks.h>.
23566         (__libc_pread64): Don't use CHECK_N.
23567         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23568         <bp-checks.h>.
23569         (__libc_pwrite): Don't use CHECK_N.
23570         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23571         <bp-checks.h>.
23572         (__libc_pwrite64): Don't use CHECK_N.
23573         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23574         <bp-checks.h>.
23575         (__libc_msgrcv): Don't use CHECK_N.
23576         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23577         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23578         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23579         (__libc_writev): Don't use CHECK_N.
23580
23581 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23582
23583         * string/strcpy.c: Removed unused variable.
23584
23585         * Makeconfig (+sysdep-includes): Define with := rather than =.
23586         Use an existing include/ subdir of each sysdeps dir before it.
23587
23588 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23589
23590         * nscd/connection.c (register_traced_file): Comment function.
23591         [HAVE_INOTIFY] (union __inev): Define.
23592         [HAVE_INOTIFY] (inotify_check_files): New function.
23593         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23594         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23595         clear_db_cache.
23596         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23597
23598 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23599
23600         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23601         loaded if not already and that a failure is permanent.
23602
23603 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23604
23605         [BZ #15006]
23606         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23607         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23608
23609 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23610
23611         [BZ #13550]
23612         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23613         (CHECK_1_NULL_OK): Likewise.
23614         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23615         (__fxstat): Do not use CHECK_1.
23616         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23617         <bp-checks.h>.
23618         (___fxstat64): Do not use CHECK_1.
23619         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23620         <bp-checks.h>.
23621         (__fxstatat): Do not use CHECK_1.
23622         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23623         <bp-checks.h>.
23624         (__fxstatat64): Do not use CHECK_1.
23625         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23626         <bp-checks.h>.
23627         (__fxstat): Do not use CHECK_1.
23628         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23629         <bp-checks.h>.
23630         (__fxstatat): Do not use CHECK_1.
23631         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23632         <bp-checks.h>.
23633         (__getresgid): Do not use CHECK_1.
23634         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23635         <bp-checks.h>.
23636         (__getresuid): Do not use CHECK_1.
23637         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23638         <bp-checks.h>.
23639         (__lxstat): Do not use CHECK_1.
23640         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23641         <bp-checks.h>.
23642         (__old_msgctl): Do not use CHECK_1.
23643         (__new_msgctl): Likewise.
23644         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23645         <bp-checks.h>.
23646         (__new_setrlimit): Do not use CHECK_1.
23647         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23648         <bp-checks.h>.
23649         (__old_shmctl): Do not use CHECK_1.
23650         (__new_shmctl): Likewise.
23651         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23652         <bp-checks.h>.
23653         (__xstat): Do not use CHECK_1.
23654         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23655         (__lxstat): Do not use CHECK_1.
23656         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23657         <bp-checks.h>.
23658         (___lxstat64): Do not use CHECK_1.
23659         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23660         (__old_msgctl): Do not use CHECK_1.
23661         (__new_msgctl): Likewise.
23662         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23663         <bp-checks.h>.
23664         (__gettimeofday): Do not use CHECK_1.
23665         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23666         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23667         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23668         <bp-checks.h>.
23669         (__gettimeofday): Do not use CHECK_1.
23670         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23671         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23672         (__new_shmctl): Do not use CHECK_1.
23673         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23674         <bp-checks.h>.
23675         (do_sigtimedwait): Do not use CHECK_1.
23676         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23677         <bp-checks.h>.
23678         (do_sigwaitinfo): Do not use CHECK_1.
23679         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23680         <bp-checks.h>.
23681         (msgctl): Do not use CHECK_1.
23682         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23683         <bp-checks.h>.
23684         (shmctl): Do not use CHECK_1.
23685         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23686         (ustat): Do not use CHECK_1.
23687         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23688         <bp-checks.h>.
23689         (__fxstat): Do not use CHECK_1.
23690         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23691         <bp-checks.h>.
23692         (__fxstatat): Do not use CHECK_1.
23693         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23694         <bp-checks.h>.
23695         (__lxstat): Do not use CHECK_1.
23696         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23697         <bp-checks.h>.
23698         (__xstat): Do not use CHECK_1.
23699         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23700         (__xstat): Do not use CHECK_1.
23701         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23702         (___xstat64): Do not use CHECK_1.
23703
23704         [BZ #13550]
23705         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23706         definitions.
23707         (CHECK_BOUNDS_HIGH): Likewise.
23708         * string/strcpy.c: Do not include <bp-checks.h>.
23709         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23710
23711 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23712
23713         * nscd/nscd-client.h (__nscd_drop_map_ref):
23714         Add __attribute__ ((unused)).
23715         * nis/nss-nisplus.h (niserr2nss): Likewise.
23716
23717         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23718         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23719
23720         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23721         Remove inline keyword.
23722         * include/rounding-mode.h (round_away): Likewise.
23723         * libio/wfileops.c (adjust_wide_data): Likewise.
23724         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23725         (__m128i_strloadu_tolower): Likewise.
23726         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23727         (__m128i_strloadu_tolower): Likewise.
23728         * time/mktime.c (ydhms_diff): Likewise.
23729         * locale/elem-hash.h (elem_hash): Likewise.
23730         * locale/setlocale.c (setdata): Likewise.
23731         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23732         (re_string_wchar_at): Likewise.
23733         (bitset_not, bitset_merge, bitset_mask): Likewise.
23734         [!(__GNUC__ > 3)] (inline): Remove macro.
23735         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23736         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23737         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23738         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23739         * string/memcmp.c (memcmp_bytes): Likewise.
23740         * locale/programs/locarchive.c (compute_hashval): Likewise.
23741         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23742         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23743         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23744         * nss/getent.c (print_rpc, print_protocols): Likewise.
23745         (print_passwd, print_group, print_aliases): Likewise.
23746         * nis/nss-nisplus.h (niserr2nss): Likewise.
23747         * nscd/connections.c (restart_p): Likewise.
23748         Change return type to bool.
23749
23750 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23751
23752         * Makeconfig (all-Depend-files): Add existing
23753         $(sorted-subdirs:=/Depend) files.
23754         (all-subdirs): Remove nss.
23755         * sysdeps/unix/inet/Subdirs: Add it here instead.
23756         * hesiod/Depend: New file.
23757
23758         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23759         instead of calling alloca.
23760
23761         * io/lseek.c (__lseek): Rename to __libc_lseek.
23762         Define __lseek as an alias.
23763
23764         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23765
23766 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23767
23768         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23769         else clause and remove check for non-standard endianness.
23770
23771 2013-02-04  David S. Miller  <davem@davemloft.net>
23772
23773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23774
23775 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23776
23777         [BZ #13550]
23778         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23779         (__ubp_memchr): Remove prototype.
23780         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23781         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23782         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23783         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23784         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23785         Remove alias.
23786         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23787         (__ubp_memchr): Likewise.
23788         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23789         (__ubp_memchr): Likewise.
23790         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23791         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23792         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23793         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23794         CHECK_STRING.
23795         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23796         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23797         (__getcwd): Do not use CHECK_STRING.
23798         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23799         <bp-checks.h>.
23800         (__real_chown): Do not use CHECK_STRING.
23801         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23802         <bp-checks.h>.
23803         (fchownat): Do not use CHECK_STRING.
23804         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23805         CHECK_STRING.
23806         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23807         <bp-checks.h>.
23808         (__lchown): Do not use CHECK_STRING.
23809         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23810         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23811         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23812         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23814         include <bp-checks.h>.
23815         (truncate64): Do not use CHECK_STRING.
23816         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23817         <bp-checks.h>.
23818         (__real_chown): Do not use CHECK_STRING.
23819         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23820         <bp-checks.h>.
23821         (__lchown): Do not use CHECK_STRING.
23822         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23823         <bp-checks.h>.
23824         (__chown): Do not use CHECK_STRING.
23825         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23826         <bp-checks.h>.
23827         (truncate64): Do not use CHECK_STRING.
23828         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23829         Likewise.
23830         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23831         (__xmknod): Do not use CHECK_STRING.
23832         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23833         <bp-checks.h>.
23834         (__xmknodat): Do not use CHECK_STRING.
23835         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23836         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23837
23838 2013-02-04  Andreas Schwab  <schwab@suse.de>
23839
23840         [BZ #14142]
23841         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23842         * include/netdb.h: Likewise for h_errno.
23843         * elf/tst-stackguard1.c: Include <tls.h>.
23844
23845 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23846
23847         * elf/link.h (struct link_map): Extend the l_addr comment.
23848         * include/link.h (struct link_map): Likewise.
23849
23850 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23851
23852         [BZ #13550]
23853         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23854         (BOUNDED_1): Remove macro.
23855         * debug/backtrace.c: Don't include <bp-checks.h>.
23856         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23857         (__backtrace): Likewise.
23858         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23859         <bp-checks.h>.
23860         (__backtrace): Don't use BOUNDED_1.
23861         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23862         <bp-checks.h>.
23863         (__backtrace): Don't use BOUNDED_1.
23864         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23865         (__backtrace): Don't use BOUNDED_1.
23866         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23867         (shmat): Don't use BOUNDED_N.
23868
23869 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23870
23871         [BZ #13550]
23872         * sysdeps/generic/bp-start.h: Remove file.
23873         * csu/libc-start.c: Don't include <bp-start.h>.
23874         (LIBC_START_MAIN): Set up __environ directly instead of using
23875         INIT_ARGV_and_ENVIRON.
23876         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23877         <bp-start.h>.
23878
23879         [BZ #13550]
23880         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23881         definitions.
23882         (CHECK_FCNTL): Likewise.
23883         (CHECK_N_PAGES): Likewise.
23884
23885         [BZ #13550]
23886         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23887         definitions.
23888         (CHECK_SIGSET_NULL_OK): Likewise.
23889         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23890         <bp-checks.h>.
23891         (sigpending): Don't use CHECK_SIGSET.
23892         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23893         <bp-checks.h>.
23894         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23895         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23896         <bp-checks.h>.
23897         (do_sigsuspend): Don't use CHECK_SIGSET.
23898         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23899         use CHECK_SIGSET.
23900         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23901         (do_sigwait): Don't use CHECK_SIGSET.
23902         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23903         use CHECK_SIGSET.
23904         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23905         include <bp-checks.h>.
23906         (sigpending): Don't use CHECK_SIGSET.
23907         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23908         include <bp-checks.h>.
23909         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23910         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23911         <bp-checks.h>.
23912         (sigpending): Don't use CHECK_SIGSET.
23913         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23914         <bp-checks.h>.
23915         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23916
23917         [BZ #13550]
23918         * sysdeps/generic/bp-semctl.h: Remove file.
23919         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23920         <bp-checks.h> and <bp-semctl.h>.
23921         (__old_semctl): Don't use CHECK_SEMCTL.
23922         (__new_semctl): Likewise.
23923         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23924         and <bp-semctl.h>.
23925         (__old_semctl): Don't use CHECK_SEMCTL.
23926         (__new_semctl): Likewise.
23927         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23928         <bp-checks.h> and <bp-semctl.h>.
23929         (__old_semctl): Don't use CHECK_SEMCTL.
23930         (__new_semctl): Likewise.
23931         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23932         <bp-checks.h> and <bp-semctl.h>.
23933         (semctl): Don't use CHECK_SEMCTL.
23934
23935         [BZ #13550]
23936         * Makerules (elide-bp-thunks): Remove variable.
23937         (elide-routines.oS): Don't use $(elide-bp-thunks).
23938         (elide-routines.os): Likewise.
23939         (elide-routines.o): Likewise.
23940         (elide-routines.op): Likewise.
23941         (elide-routines.og): Likewise.
23942         (objects): Don't use $(bp-thunks).
23943         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23944         include.
23945         (common-generated): Do not add s-proto-bp.d.
23946         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23947         (int): Likewise.
23948         (typ): Likewise.
23949         Do not generate makefile rules for bounded-pointer thunks.
23950         * sysdeps/generic/bp-thunks.h: Remove file.
23951         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23952         * sysdeps/unix/s-proto-bp.S: Likewise.
23953
23954         [BZ #15062]
23955         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23956         parts of result separately when argument is not close to line from
23957         -i to i and one part of argument is small.
23958         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23959         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23960         * math/libm-test.inc (cacos_test): Add more tests.
23961         (casin_test): Likewise.
23962         (casinh_test): Likewise.
23963         * sysdeps/i386/fpu/libm-test-ulps: Update.
23964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23965
23966 2013-01-31  David S. Miller  <davem@davemloft.net>
23967
23968         * po/de.po: Update from translation team.
23969
23970 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23971
23972         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23973
23974 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23975
23976         * configure.in (_AC_PROG_CC_C89): New definition.
23977         * configure: Regenerate.
23978
23979         * configure.in (AC_PROG_CPP): New definition.
23980         * configure: Regenerate.
23981
23982 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23983
23984         * debug/tst-backtrace.h: New file.
23985         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23986         (ret): Remove variable.
23987         (x): Likewise.
23988         (FAIL): Remove macro.
23989         (NO_INLINE): Likewise.
23990         (fn1): Use match function instead of strstr.
23991         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23992         (ret): Remove variable.
23993         (x): Likewise.
23994         (FAIL): Remove macro.
23995         (NO_INLINE): Likewise.
23996         (fn): Use match function instead of strstr.
23997         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23998         (ret): Remove variable.
23999         (x): Likewise.
24000         (FAIL): Remove macro.
24001         (NO_INLINE): Likewise.
24002         (handle_signal): Use match function instead of strstr.
24003         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24004         (ret): Remove variable.
24005         (x): Likewise.
24006         (FAIL): Remove macro.
24007         (NO_INLINE): Likewise.
24008         (handle_signal): Use match function instead of strstr.
24009
24010 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24011
24012         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24013
24014 2013-01-23  David S. Miller  <davem@davemloft.net>
24015
24016         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24017         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24018         argument of CAS if possible.
24019         * sysdeps/sparc/sparc64/bits/atomic.h
24020         (__arch_compare_and_exchange_val_32_acq): Likewise.
24021         (__arch_compare_and_exchange_val_64_acq): Likewise.
24022
24023 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24024
24025         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24026         * sysdeps/posix/ulimit.c: ... this.
24027         Include <limits.h>.
24028         * sysdeps/unix/bsd/ulimit.c: Remove file.
24029
24030 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24031
24032         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24033         (LDFLAGS-tst-array5): Likewise.
24034
24035 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24036
24037         [BZ #15036]
24038         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24039         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24040         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24041         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24042
24043 2013-01-21  David S. Miller  <davem@davemloft.net>
24044
24045         * sysdeps/sparc/backtrace.c: New file.
24046         * sysdeps/sparc/sparc32/backtrace.h: New file.
24047         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24048         * sysdeps/sparc/sparc64/backtrace.h: New file.
24049         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24050         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24051         -funwind-tables.
24052
24053 2013-01-21  Andreas Schwab  <schwab@suse.de>
24054
24055         [BZ #15020]
24056         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24057         closed its stdout.
24058
24059 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24060
24061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24062         "mpa2.h".
24063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24064
24065 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24066             Mark Mitchell  <mark@codesourcery.com>
24067             Tom de Vries  <tom@codesourcery.com>
24068             Paul Pluzhnikov  <ppluzhnikov@google.com>
24069
24070         * debug/tst-backtrace2.c: New file.
24071         * debug/tst-backtrace3.c: Likewise.
24072         * debug/tst-backtrace4.c: Likewise.
24073         * debug/tst-backtrace5.c: Likewise.
24074         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24075         (CFLAGS-tst-backtrace3.c): Likewise.
24076         (CFLAGS-tst-backtrace4.c): Likewise.
24077         (CFLAGS-tst-backtrace5.c): Likewise.
24078         (LDFLAGS-tst-backtrace2): Likewise.
24079         (LDFLAGS-tst-backtrace3): Likewise.
24080         (LDFLAGS-tst-backtrace4): Likewise.
24081         (LDFLAGS-tst-backtrace5): Likewise.
24082         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24083         tst-backtrace4 and tst-backtrace5.
24084
24085 2013-01-18  Anton Blanchard  <anton@samba.org>
24086             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24087
24088         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24089         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24090         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24091         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24093         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24094         "+r" and remove output regs list as redundant.  Add explicit inline
24095         asm to specify register of return val to work around compiler codegen
24096         bug.  Remove (int) cast on return value.  Add return type parameter to
24097         use in macro so that this macro does not truncate return value for
24098         64-bit values.
24099         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24100         pass to INTERNAL_VSYSCALL_NCS.
24101         (INLINE_VSYSCALL): Add 'long int' as return type to
24102         INTERNAL_VSYSCALL_NCS macro invocation.
24103         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24104         INTERNAL_VSYSCALL_NCS macro invocation.
24105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24106
24107 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24108
24109         [BZ #14496]
24110         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24111         Fix application of SIMD FP exception mask.
24112
24113         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24114         mp_no from a power of two.
24115         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24116         __mpexp_twomm1.  Use __pow_mp.
24117
24118         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24119         multiplication.
24120
24121 2013-01-17  David S. Miller  <davem@davemloft.net>
24122
24123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24124
24125 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24126
24127         [BZ #15023]
24128         * include/complex.h: Condition contents on [!_COMPLEX_H].
24129         (__kernel_casinhf): New prototype.
24130         (__kernel_casinh): Likewise.
24131         (__kernel_casinhl): Likewise.
24132         * math/Makefile (libm_calls): Add k_casinh.
24133         * math/k_casinh.c: New file.
24134         * math/k_casinhf.c: Likewise.
24135         * math/k_casinhl.c: Likewise.
24136         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24137         finite nonzero arguments.
24138         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24139         finite nonzero arguments.
24140         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24141         finite nonzero arguments.
24142         * math/s_casinh.c: Do not include <float.h>.
24143         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24144         * math/s_casinhf.c: Do not include <float.h>.
24145         (__casinhf): Move code for finite nonzero arguments to
24146         k_casinhf.c.
24147         * math/s_casinhl.c: Do not include <float.h>.
24148         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24149         redefine.
24150         (__casinhl): Move code for finite nonzero arguments to
24151         k_casinhl.c.
24152         * math/libm-test.inc (cacos_test): Add more tests.
24153         * sysdeps/i386/fpu/libm-test-ulps: Update.
24154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24155
24156 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24157
24158         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24159         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24160         [!HAVE_MREMAP]: Remove [defined linux] case.
24161         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24162
24163 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24164
24165         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24166
24167 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24168
24169         * elf/elf.h (R_386_SIZE32): New relocation.
24170         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24171         R_386_SIZE32.
24172         (elf_machine_rela): Likewise.
24173         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24174         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24175
24176 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24177
24178         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24179         (FP_FAST_FMA): Do not define.
24180         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24181         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24182         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24183         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24184         !_SOFT_FLOAT]: Likewise.
24185         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24186         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24187         value.
24188         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24189         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24190         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24191         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24192         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24193         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24194         file.
24195
24196 2013-01-16  Andreas Schwab  <schwab@suse.de>
24197
24198         [BZ #14327]
24199         * include/stdlib.h (__mktemp): Add declaration.
24200         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24201         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24202
24203 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24204
24205         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24206         definitions.
24207         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24208         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24209         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24210         definitions here.
24211         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24212         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24213         definitions.
24214         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24215         and ONE.
24216         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24217         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24218         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24219         definitions.
24220         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24221         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24222         definitions.
24223         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24224
24225         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24226
24227 2013-01-15  David S. Miller  <davem@davemloft.net>
24228
24229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24230         trunc{,f} to libm-sysdep_routes.
24231         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24233         file.
24234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24236         file.
24237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24238         file.
24239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24241         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24242         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24243         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24244         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24245         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24246         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24247
24248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24249         nearbyint{,f} to libm-sysdep_routes.
24250         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24252         New file.
24253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24254         file.
24255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24256         New file.
24257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24258         file.
24259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24261         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24262         file.
24263         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24264         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24265         file.
24266         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24267         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24268         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24269
24270         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24271         libc_feholdexcept and libc_fesetenv.
24272
24273 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24274
24275         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24276
24277 2013-01-14  David S. Miller  <davem@davemloft.net>
24278
24279         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24280         (SPARC_ASM_VIS2_IFUNC): Likewise.
24281         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24283         use of 'siam' instruction.
24284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24285         Likewise.
24286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24287         Likewise.
24288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24289         Likewise.
24290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24293         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24295         file.
24296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24297         file.
24298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24299         file.
24300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24301         file.
24302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24307         new VIS2 routines.
24308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24311         Likewise.
24312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24317         routines to libm-sysdep_routines.
24318         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24319
24320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24321         fdim/fdimf to libm-sysdep_routines.
24322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24323         file.
24324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24326         file.
24327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24330         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24331         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24332         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24333         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24334
24335 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24336
24337         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24338         to optimize copies.
24339
24340         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24343
24344         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24345         local variable MPTWO.
24346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24347         Likewise.
24348
24349 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24350
24351         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24352         GLOB_NOESCAPE.
24353
24354 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24355
24356         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24357
24358 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24359
24360         * manual/pattern.texi (glob_t): Document gl_flags.
24361         (glob64_t): Likewise.
24362
24363 2013-01-11  David S. Miller  <davem@davemloft.net>
24364
24365         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24366         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24367         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24368         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24369         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24370         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24371         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24372         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24373         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24374         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24375         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24376         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24377         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24378
24379         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24380         sparc V9 rather than using V8 code.
24381         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24382         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24383
24384         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24385         Move to...
24386         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24387         Here.
24388
24389 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24390
24391         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24392         not in the main loop.
24393         * configure: Regenerated.
24394
24395 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24396
24397         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24398         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24399         to just #else.
24400         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24401         [!__GLIBC_HAVE_LONG_LONG] case.
24402         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24403         condition to just #else.
24404         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24405         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24406         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24407         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24408         unconditional.
24409         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24410         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24411         #elif condition to just #else.
24412         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24413         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24414         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24415         #elif condition to just #else.
24416
24417 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24418
24419         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24420         (EF_MIPS_ARCH_64): Fix value.
24421         (EF_MIPS_ARCH_32R2): New.
24422         (EF_MIPS_ARCH_64R2): New.
24423
24424 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24425
24426         * Makeconfig (+link-pie-before-libc): New.
24427         (+link-pie-after-libc): Likewise.
24428         (+link-pie-tests): Likewise.
24429         (+link-pie): Rewritten.
24430         (link-before-libc): Remove $(config-LDFLAGS).
24431         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24432         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24433         (config-LDFLAGS): Renamed to ...
24434         (rtld-LDFLAGS): This.
24435         (rtld-tests-LDFLAGS): New macro.
24436         (link-libc-rpath-link): Likewise.
24437         (link-libc-tests-rpath-link): Likewise.
24438         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24439         (link-libc): Prepand $(link-libc-rpath-link).
24440         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24441         (test-program-prefix): New macro.
24442         (test-via-rtld-prefix): Likewise.
24443         (test-program-cmd): Likewise.
24444         (host-test-program-cmd): Likewise.
24445         * Makefile ($(common-objpfx)testrun.sh): Replace
24446         $(run-program-prefix) with $(test-program-prefix).
24447         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24448         $(rtld-LDFLAGS).
24449         ($(common-objpfx)shlib.lds): Likewise.
24450         (build-module-helper): Likewise.
24451         ($(common-objpfx)format.lds): Likewise.
24452         * Rules (binaries-pie-tests): New.
24453         (binaries-pie-notests): Likewise.
24454         (binaries-pie): Rewritten.
24455         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24456         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24457         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24458         (make-test-out): Replace $(host-built-program-cmd) with
24459         $(host-test-program-cmd).
24460         * config.make.in (build-hardcoded-path-in-tests): New variable.
24461         * configure.in (--enable-hardcoded-path-in-tests): New configure
24462         option.
24463         (hardcoded_path_in_tests): New AC_SUBST.
24464         * configure: Regenerated.
24465         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24466         $(built-program-cmd) with $(test-program-cmd).
24467         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24468         (test_program_cmd): This.
24469         * elf/Makefile ($(objpfx)order.out): Run test with
24470         $(test-program-prefix).
24471         ($(objpfx)order2.out): Likewise.
24472         ($(objpfx)tst-initorder.out): Likewise.
24473         ($(objpfx)tst-initorder2.out): Likewise.
24474         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24475         $(test-program-cmd).
24476         ($(objpfx)tst-array1-static.out): Likewise.
24477         ($(objpfx)tst-array2.out): Likewise.
24478         ($(objpfx)tst-array3.out): Likewise.
24479         ($(objpfx)tst-array4.out): Likewise.
24480         ($(objpfx)tst-array5.out): Likewise.
24481         ($(objpfx)tst-array5-static.out): Likewise.
24482         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24483         $(test-program-cmd).
24484         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24485         $(run-program-prefix) with $(test-program-prefix).
24486         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24487         (test_program_prefix): This.
24488         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24489         $(run-program-prefix) with $(test-program-prefix).
24490         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24491         (test_program_prefix): This.
24492         * iconvdata/tst-tables.sh: Likewise.
24493         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24494         $(run-program-prefix) with $(test-program-prefix).
24495         ($(objpfx)tst-translit.out): Likewise.
24496         ($(objpfx)tst-gettext2.out): Likewise.
24497         ($(objpfx)tst-gettext4.out): Likewise.
24498         ($(objpfx)tst-gettext6.out): Likewise.
24499         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24500         (test_program_prefix): This.
24501         * intl/tst-gettext2.sh: Likewise.
24502         * intl/tst-gettext4.sh  Likewise.
24503         * intl/tst-gettext6.sh: Likewise.
24504         * intl/tst-translit.sh: Likewise.
24505         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24506         with $(test-program-cmd).
24507         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24508         $(run-program-prefix) with $(test-program-prefix).
24509         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24510         (test_program_prefix): This.
24511         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24512         $(run-program-prefix) with $(test-program-prefix).
24513         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24514         (test_program_prefix): This.
24515         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24516         * posix/Makefile ($(objpfx)globtest.out): Replace
24517         $(run-via-rtld-prefix) and $(test-wrapper) with
24518         $(test-program-prefix) and $(test-via-rtld-prefix).
24519         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24520         $(test-program-prefix).
24521         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24522         $(host-test-program-cmd).
24523         (tst-spawn-ARGS): Likewise.
24524         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24525         $(test-program-prefix).
24526         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24527         (test_via_rtld_prefix): This.
24528         (test_wrapper): Renamed to ...
24529         (test_program_prefix): This.
24530         (run_program_prefix): Replaced by test_program_prefix.
24531         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24532         (test_program_prefix): This.
24533         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24534         with $(host-test-program-cmd).
24535         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24536         $(run-program-prefix) with $(test-program-prefix).
24537         ($(objpfx)tst-printf.out): Likewise.
24538         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24539         $(test-program-cmd).
24540         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24541         (test_program_prefix): This.
24542         * stdio-common/tst-unbputc.sh: Likewise.
24543         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24544         $(run-program-prefix) with $(test-program-prefix).
24545         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24546         (test_program_prefix): This.
24547         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24548         $(built-program-cmd) with $(test-program-cmd).
24549
24550 2013-01-11  Andreas Jaeger  <aj@suse.de>
24551
24552         [BZ #15003]
24553         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24554         value. Sync with Linux 3.7.
24555
24556 2013-01-10  David S. Miller  <davem@davemloft.net>
24557
24558         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24559         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24560         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24561
24562 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24563
24564         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24565         never set.
24566         * configure: Regenerated.
24567
24568 2013-01-10  David S. Miller  <davem@davemloft.net>
24569
24570         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24571         sparc V9 rather than using V8 code.
24572         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24573         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24574
24575 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24576
24577         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24578         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24579         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24580         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24581         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24582         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24583         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24584         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24585         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24586         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24587         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24588         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24589         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24590         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24591         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24592         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24593         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24594         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24595         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24596         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24597         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24598         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24599         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24600         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24601         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24602         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24603         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24604
24605 2013-01-10  David S. Miller  <davem@davemloft.net>
24606
24607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24608
24609 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24610
24611         * posix/Makefile (tests-static): New variable.
24612         (tests): Add $(tests-static).
24613         (tst-exec-static-ARGS): New variable.
24614         (tst-spawn-static-ARGS): Likewise.
24615         * posix/tst-exec-static.c: New file.
24616         * posix/tst-spawn-static.c: Likewise.
24617         * posix/tst-exec.c: Support run directly.
24618         * posix/tst-spawn.c: Likewise.
24619
24620 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24621
24622         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24623         long.
24624         * math/bits/mathcalls.h (llrint): Likewise.
24625         (llround): Likewise.
24626         * stdlib/stdlib.h (struct drand48_data): Likewise.
24627         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24628         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24629         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24630         Likewise.
24631         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24632         Likewise.
24633         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24634         (elf_greg_t): Likewise.
24635         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24636         (__jmp_buf): Likewise.
24637         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24638         definitions.
24639         (llrint): Likewise, for all definitions.
24640         (llrintl): Likewise.
24641
24642         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24643         Remove [__GNUC__] condition.
24644         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24645         condition to just [__USE_ISOC99].
24646         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24647
24648 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24649
24650         [BZ #14200]
24651         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24652         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24653         defined.
24654         (_POSIX_V6_ILP32_OFF32): Likewise.
24655         (_XBS5_ILP32_OFF32): Likewise.
24656         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24657         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24658
24659 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24660
24661         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24662
24663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24664         doubles __mpexp_twomm1.  Adjust usage.
24665         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24666         Remove.
24667
24668 2013-01-10  Andreas Schwab  <schwab@suse.de>
24669
24670         [BZ #14964]
24671         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24672         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24673
24674 2013-01-09  David S. Miller  <davem@davemloft.net>
24675
24676         [BZ #15003]
24677         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24678         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24679         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24680         (TCP_FASTOPEN): Define.
24681         (tcp_repair_opt): New structure.
24682         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24683         enum values.
24684         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24685         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24686         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24687         (tcp_cookie_transactions): New structure.
24688
24689 2013-01-09  Anton Blanchard  <anton@samba.org>
24690
24691         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24692         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24693         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24694         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24695
24696 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24697
24698         * include/features.h (__USE_ANSI): Remove.
24699
24700 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24701
24702         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24703
24704         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24705
24706 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24707
24708         * sysdeps/s390/fpu/libm-test-ulps: Update.
24709
24710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24711
24712         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24713         (__acr): Likewise.
24714         (__cpy): Likewise.
24715         (norm): Likewise.
24716         (denorm): Likewise.
24717         (__mp_dbl): Likewise.
24718         (__dbl_mp): Likewise.
24719         (add_magnitudes): Likewise.
24720         (sub_magnitudes): Likewise.
24721         (__add): Likewise.
24722         (__sub): Likewise.
24723         (__mul): Likewise.
24724         (__inv): Likewise.
24725         (__dvd): Likewise.
24726         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24727         (__acr): Likewise.
24728         (__cpy): Likewise.
24729         (norm): Likewise.
24730         (denorm): Likewise.
24731         (__mp_dbl): Likewise.
24732         (__dbl_mp): Likewise.
24733         (add_magnitudes): Likewise.
24734         (sub_magnitudes): Likewise.
24735         (__add): Likewise.
24736         (__sub): Likewise.
24737         (__mul): Likewise.
24738         (__inv): Likewise.
24739         (__dvd): Likewise.
24740         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24741         (__acr): Likewise.
24742         (__cpy): Likewise.
24743         (norm): Likewise.
24744         (denorm): Likewise.
24745         (__mp_dbl): Likewise.
24746         (__dbl_mp): Likewise.
24747         (add_magnitudes): Likewise.
24748         (sub_magnitudes): Likewise.
24749         (__add): Likewise.
24750         (__sub): Likewise.
24751         (__mul): Likewise.
24752         (__inv): Likewise.
24753         (__dvd): Likewise.
24754
24755 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24756
24757         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24758         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24759         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24760         2 && __USE_EXTERN_INLINES]: Likewise.
24761
24762 2013-01-08  Andreas Jaeger  <aj@suse.de>
24763
24764         [BZ# 14985]
24765         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24766         Remove.
24767         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24768         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24769
24770 2013-01-07  Anton Blanchard  <anton@samba.org>
24771
24772         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24773         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24774         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24775         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24776         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24777         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24778         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24779         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24781         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24782         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24783         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24784         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24785         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24786         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24787         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24788         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24789         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24790         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24791         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24792         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24793         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24794         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24795         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24796         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24797         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24798         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24799         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24800         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24801         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24802         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24804         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24805         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24806         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24807         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24808         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24809         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24810         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24811         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24812         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24813         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24814         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24815
24816 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24817
24818         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24819         (__MALLOC_PMT): Likewise.
24820         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24821         [__GNUC__], only on [_LIBC].
24822         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24823         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24824         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24825         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24826         forward declaration.
24827         (realloc_hook_ini): Likewise.
24828         (memalign_hook_ini): Likewise.
24829         (__libc_memalign): Do not use __MALLOC_PMT in variable
24830         declaration.
24831         (__libc_valloc): Likewise.
24832         (__libc_pvalloc): Likewise.
24833         (__libc_calloc): Likewise.
24834         (__posix_memalign): Likewise.
24835
24836         [BZ #14996]
24837         * math/s_casinh.c: Include <float.h>.
24838         (__casinh): Do not do computation with squaring and square root
24839         for large arguments.
24840         * math/s_casinhf.c: Include <float.h>.
24841         (__casinhf): Do not do computation with squaring and square root
24842         for large arguments.
24843         * math/s_casinhl.c: Include <float.h>.
24844         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24845         (__casinhl): Do not do computation with squaring and square root
24846         for large arguments.
24847         * math/libm-test.inc (casin_test): Add more tests.
24848         (casinh_test): Likewise.
24849         * sysdeps/i386/fpu/libm-test-ulps: Update.
24850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24851
24852 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24853
24854         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24855         (__x86_64_raw_data_cache_size): Likewise.
24856         (__x86_64_data_cache_size_half): Likewise.
24857         (__x86_64_raw_data_cache_size_half): Likewise.
24858         (__x86_64_shared_cache_size): Likewise.
24859         (__x86_64_raw_shared_cache_size): Likewise.
24860         (__x86_64_shared_cache_size_half): Likewise.
24861         (__x86_64_raw_shared_cache_size_half): Likewise.
24862         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24863         to ...
24864         (__x86_data_cache_size): This.
24865         (__x86_64_raw_data_cache_size): Renamed to ...
24866         (__x86_raw_data_cache_size): This.
24867         (__x86_64_data_cache_size_half): Renamed to ...
24868         (__x86_data_cache_size_half): This.
24869         (__x86_64_raw_data_cache_size_half): Renamed to ...
24870         (__x86_raw_data_cache_size_half): This.
24871         (__x86_64_shared_cache_size): Renamed to ...
24872         (__x86_shared_cache_size): This.
24873         (__x86_64_raw_shared_cache_size): Renamed to ...
24874         (__x86_raw_shared_cache_size): This.
24875         (__x86_64_shared_cache_size_half): Renamed to ...
24876         (__x86_shared_cache_size_half): This.
24877         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24878         (__x86_raw_shared_cache_size_half): This.
24879         * sysdeps/x86_64/memcpy.S: Updated.
24880         * sysdeps/x86_64/memset.S: Likewise.
24881         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24882         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24883         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24884
24885 2013-01-04  David S. Miller  <davem@davemloft.net>
24886
24887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24888
24889 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24890
24891         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24892         1 to avoid redefinition warning.
24893         (__USE_GNU): Don't define.
24894         (init_signaling_nan): Protoize.
24895
24896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24897
24898 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24899
24900         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24902         (__cpymn): Likewise.
24903         (norm): Remove commented code.
24904         (denorm): Likewise.
24905         (__mp_dbl): Likewise.
24906         (__inv): Likewise.
24907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24908         (__cpymn): Likewise.
24909         (norm): Remove commented code.
24910         (denorm): Likewise.
24911         (__mp_dbl): Likewise.
24912         (__inv): Likewise.
24913
24914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24915         mp_no value for 1.0 and 2.0.
24916         (norm): Use RADIXI instead of radixi.d.
24917         (denorm): Likewise.
24918         (__mul): Use 0.0 instead of zero.d.
24919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24920         mp_no value for 1.0 and 2.0.
24921         (norm): Use RADIXI instead of radixi.d.
24922         (denorm): Likewise.
24923         (__mul): Use 0.0 instead of zero.d.
24924
24925 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24926
24927         [BZ #14994]
24928         * math/s_casinh.c (__casinh): Reduce finite argument to first
24929         quadrant then set signs of results at the end.
24930         * math/s_casinhf.c (__casinhf): Likewise.
24931         * math/s_casinhl.c (__casinhl): Likewise.
24932         * math/libm-test.inc (casin_test): Add more tests.
24933         (casinh_test): Likewise.
24934         * sysdeps/i386/fpu/libm-test-ulps: Update.
24935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24936
24937 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24938
24939         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24940
24941         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24942
24943         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24944         declarations.
24945         (denorm): Likewise.
24946         (__mp_dbl): Likewise.
24947         (__inv): Likewise.
24948
24949         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24950         and adjust the header comment.
24951
24952         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24953         variable name from declaration.
24954
24955 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24956
24957         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24958         Initialize COMMON_CPUID_INDEX_7 element.
24959         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24960         (CPUID_RTM): Likewise.
24961         (HAS_RTM): Likewise.
24962         (COMMON_CPUID_INDEX_7): New enum.
24963
24964 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24965
24966         [BZ #14981]
24967         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24968         size is zero, record memory as freed.
24969
24970 2013-01-03  Andreas Jaeger  <aj@suse.de>
24971
24972         * po/ia.po: Add new Interlingua translation.
24973
24974 2012-01-03  Allan McRae  <allan@archlinux.org>
24975
24976         * locale/programs/localedef.c: Fix description of '--posix' flag.
24977
24978 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24979
24980         * NEWS: Update dates in second copyright notice.
24981         * README: Update copyright dates in example.
24982         * manual/libc.texinfo: Update copyright dates.
24983         * scripts/test-installation.pl: Update copyright date in --version
24984         output.
24985
24986         * hurd/ctty-input.c: Fix copyright notice formatting.
24987         * hurd/ctty-output.c: Likewise.
24988         * hurd/dtable.c: Likewise.
24989         * hurd/hurd-raise.c: Likewise.
24990         * hurd/hurdprio.c: Likewise.
24991         * hurd/msgportdemux.c: Likewise.
24992         * misc/sys/file.h: Likewise.
24993         * misc/sys/ioctl.h: Likewise.
24994         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24995         * sysdeps/mach/hurd/chdir.c: Likewise.
24996         * sysdeps/mach/hurd/fchdir.c: Likewise.
24997         * sysdeps/mach/hurd/rename.c: Likewise.
24998         * sysdeps/mach/hurd/rmdir.c: Likewise.
24999         * sysdeps/mach/hurd/seekdir.c: Likewise.
25000         * sysdeps/mach/hurd/setsid.c: Likewise.
25001         * sysdeps/posix/wait3.c: Likewise.
25002
25003         * All files with FSF copyright notices: Update copyright dates
25004         using scripts/update-copyrights.
25005         * intl/plural.c: Regenerated.
25006         * locale/programs/charmap-kw.h: Likewise.
25007         * locale/programs/locfile-kw.h: Likewise.
25008
25009 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25010
25011         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25012         four values.
25013
25014         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25015         calculation loop and add branch prediction.
25016
25017         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25018         check access beyond bounds of m1np.
25019
25020         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25021         MPTWO.
25022         (__inv): Remove local variable MPTWO to use the global
25023         constant.
25024         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25025         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25026         variable MPTWO.
25027         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25028         MP3HALFS static const.
25029
25030 2013-01-01  David S. Miller  <davem@davemloft.net>
25031
25032         * po/ca.po: Update from translation team.
25033
25034 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25035
25036         * scripts/update-copyrights: New file.
25037         * Makeconfig: Reformat copyright notice.
25038         * ctype/ctype.h: Likewise.
25039         * debug/swprintf_chk.c: Likewise.
25040         * elf/dl-cache.c: Likewise.
25041         * elf/dl-debug.c: Likewise.
25042         * elf/dl-object.c: Likewise.
25043         * grp/initgroups.c: Likewise.
25044         * hurd/Makefile: Likewise.
25045         * hurd/hurd/signal.h: Likewise.
25046         * hurd/hurdfault.c: Likewise.
25047         * hurd/hurdioctl.c: Likewise.
25048         * hurd/hurdlookup.c: Likewise.
25049         * hurd/intr-msg.c: Likewise.
25050         * iconv/gconv_open.c: Likewise.
25051         * libio/swprintf.c: Likewise.
25052         * locale/lc-ctype.c: Likewise.
25053         * locale/nl_langinfo.c: Likewise.
25054         * mach/Machrules: Likewise.
25055         * mach/Makefile: Likewise.
25056         * malloc/obstack.h: Likewise.
25057         * manual/Makefile: Likewise.
25058         * manual/tsort.awk: Likewise.
25059         * misc/bits/stab.def: Likewise.
25060         * nis/nis_print_group_entry.c: Likewise.
25061         * nis/nis_table.c: Likewise.
25062         * nis/nss_compat/compat-pwd.c: Likewise.
25063         * nis/nss_compat/compat-spwd.c: Likewise.
25064         * po/Makefile: Likewise.
25065         * posix/fnmatch.c: Likewise.
25066         * posix/regex.h: Likewise.
25067         * resolv/Makefile: Likewise.
25068         * resolv/nss_dns/dns-network.c: Likewise.
25069         * resolv/res_hconf.c: Likewise.
25070         * scripts/gen-sorted.awk: Likewise.
25071         * soft-fp/soft-fp.h: Likewise.
25072         * stdio-common/printf.h: Likewise.
25073         * stdlib/monetary.h: Likewise.
25074         * stdlib/random.c: Likewise.
25075         * stdlib/random_r.c: Likewise.
25076         * sysdeps/generic/Makefile: Likewise.
25077         * sysdeps/gnu/Makefile: Likewise.
25078         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25079         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25080         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25081         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25082         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25083         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25084         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25085         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25086         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25087         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25088         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25089         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25090         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25091         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25092         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25093         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25094         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25095         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25096         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25097         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25098         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25099         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25100         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25101         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25102         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25103         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25104         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25105         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25106         * sysdeps/mach/hurd/errnos.awk: Likewise.
25107         * sysdeps/mach/hurd/fork.c: Likewise.
25108         * sysdeps/mach/hurd/getcwd.c: Likewise.
25109         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25110         * sysdeps/mach/hurd/mmap.c: Likewise.
25111         * sysdeps/mach/hurd/utimes.c: Likewise.
25112         * sysdeps/mach/hurd/xmknod.c: Likewise.
25113         * sysdeps/posix/profil.c: Likewise.
25114         * sysdeps/posix/readdir_r.c: Likewise.
25115         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25116         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25117         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25118         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25120         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25121         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25122         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25123         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25124         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25125         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25126         * sysdeps/pthread/lio_listio.c: Likewise.
25127         * sysdeps/sparc/dl-procinfo.h: Likewise.
25128         * sysdeps/unix/i386/sysdep.S: Likewise.
25129         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25130         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25131         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25132         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25134         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25135         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25136         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25137         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25138         * sysdeps/wordsize-32/divdi3.c: Likewise.
25139         * time/sys/time.h: Likewise.
25140         * wcsmbs/Makefile: Likewise.
25141
25142 2013-01-01  David S. Miller  <davem@davemloft.net>
25143
25144         * po/fr.po: Update from translation team.
25145
25146         * catgets/gencat.c: Update copyright year.
25147         * csu/version.c: Likewise.
25148         * debug/catchsegv.sh: Likewise.
25149         * debug/pcprofiledump.c: Likewise.
25150         * debug/xtrace.sh: Likewise.
25151         * elf/ldconfig.c: Likewise.
25152         * elf/ldd.bash.in: Likewise.
25153         * elf/pldd.c: Likewise.
25154         * elf/sotruss.ksh: Likewise.
25155         * elf/sprof.c: Likewise.
25156         * iconv/iconv_prog.c: Likewise.
25157         * iconv/iconvconfig.c: Likewise.
25158         * locale/programs/locale.c: Likewise.
25159         * locale/programs/localedef.c: Likewise.
25160         * login/programs/pt_chown.c: Likewise.
25161         * malloc/memusage.sh: Likewise.
25162         * malloc/memusagestat.c: Likewise.
25163         * malloc/mtrace.pl: Likewise.
25164         * nscd/nscd.c: Likewise.
25165         * nss/getent.c: Likewise.
25166         * nss/makedb.c: Likewise.
25167         * posix/getconf.c: Likewise.
25168
25169 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25170
25171         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25172         numbers.
25173
25174 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25175
25176         * math/bits/mathcalls.h (modf): Use __nonnull.
25177
25178 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25179
25180         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25181         (split): Use macro CN instead of the bare value.
25182         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25183         could be used.
25184         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25185         instead of the bare value.
25186         (power1): Likewise.
25187
25188 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25189
25190         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25191         __ATAN_TWOM.
25192         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25193
25194         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25195         their values.
25196         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25197         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25198         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25199         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25200
25201 2012-12-28  Andreas Jaeger  <aj@suse.de>
25202
25203         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25204         values are from Linux 3.7.
25205
25206         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25207         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25208
25209 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25210
25211         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25212         TRUE case.
25213
25214         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25215         (norm): Likewise.
25216         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25217         variables with preprocessor constants.
25218         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25219         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25220         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25221
25222 2012-12-27  Bruno Haible  <bruno@clisp.org>
25223
25224         [BZ #14317]
25225         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25226         only if needed.
25227
25228 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25229
25230         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25231         and use variable directly.
25232         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25233
25234         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25235         MPONE.
25236         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25237         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25238         variable MPONE.
25239         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25240         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25241         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25242         include directive.  Remove local variable MPONE.
25243         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25244         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25245         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25246
25247 2012-12-25  David S. Miller  <davem@davemloft.net>
25248
25249         * version.h (RELEASE): Set to "development".
25250         (VERSION): Set to "2.17.90".
25251         * NEWS: Add 2.18 section.
25252
25253 2012-12-21  David S. Miller  <davem@davemloft.net>
25254
25255         * po/hr.po: Update from translation team.
25256
25257 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25258
25259         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25260
25261 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25262
25263         * NEWS:  Mention new memcpy for MIPS.
25264
25265 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25266
25267         * manual/contrib.texi (Contributors): Spelling correction.
25268
25269 2012-12-15  David S. Miller  <davem@davemloft.net>
25270
25271         * po/ru.po: Update from translation team.
25272
25273 2012-12-13  David S. Miller  <davem@davemloft.net>
25274
25275         * NEWS: Mention IFUNC testsuite enhancements.
25276
25277         * po/pl.po: Update from translation team.
25278         * po/bg.po: Likewise.
25279
25280         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25281         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25282
25283 2012-12-11  David S. Miller  <davem@davemloft.net>
25284
25285         * po/sv.po: Update from translation team.
25286
25287         * po/vi.po: Update from translation team.
25288
25289         * po/cs.po: Update from translation team.
25290
25291         * po/de.po: Update from translation team.
25292         * po/eo.po: Likewise.
25293         * po/nl.po: Likewise.
25294
25295 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25296
25297         [BZ #14246]
25298         * manual/argp.texi (Argp Helper Functions): Move node to follow
25299         Argp Parsing State.
25300
25301         [BZ #14872]
25302         * manual/conf.texi (Limits on File System Capacity): Mention if
25303         terminating null is included in the max size.
25304
25305 2012-12-10  Andreas Jaeger  <aj@suse.de>
25306
25307         * po/cs.po: Update from translation team.
25308
25309 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25310
25311         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25312         void pointer and cast to uintptr_t.
25313         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25314         path.
25315         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25316         * sysdeps/s390/s390-64/memset.S: Likewise.
25317
25318 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25319
25320         [BZ #14833]
25321         * menual/message.texi (Message Translation): Fix typos.
25322         (Helper programs for gettext): Likewise.
25323
25324 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25325
25326         [BZ #14898]
25327         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25328         Change to -1.
25329
25330 2012-12-07  David S. Miller  <davem@davemloft.net>
25331
25332         * po/libc.pot: Update.
25333
25334 2012-12-07  Richard Henderson  <rth@redhat.com>
25335
25336         [BZ #10114]
25337         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25338         normal/normal case to before the switch.
25339         (_FP_DIV): Likewise.
25340
25341 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25342             Mike Frysinger  <vapier@gentoo.org>
25343
25344         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25345         check for __NR_fadvise64_64.
25346
25347 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25348
25349         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25350         0, not just to plain "0" as a statement.
25351         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25352         with cw.
25353
25354 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25355
25356         * NEWS: Use sourceware.org in Bugzilla URL.
25357
25358 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25359
25360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25361         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25362
25363         * stdio-common/tst-put-error.c (do_test): Add newline to the
25364         padded test to ensure flush.
25365
25366 2012-12-05  Jeff Law  <law@redhat.com>
25367
25368         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25369
25370 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25371
25372         * README: Don't refer to ports add-on as distributed separately.
25373         Mention AArch64 in list of systems supported in the ports add-on.
25374
25375         * LICENSES: Add more non-FSF copyright and license notices.
25376
25377         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25378         ((unused)).
25379
25380         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25381
25382         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25383         10000 as width of padded output.
25384
25385 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25386
25387         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25388
25389         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25390         variable LX with __attribute__ ((unused)).
25391         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25392         Likewise.
25393         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25394         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25395         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25396         with __attribute__ ((unused)).
25397
25398 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25399
25400         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25401
25402 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25403
25404         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25405         (CFLAGS-nldbl-acos.c): New variable.
25406         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25407         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25408         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25409         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25410         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25411         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25412         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25413         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25414         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25415         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25416         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25417         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25418         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25419         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25420         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25421         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25422         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25423         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25424         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25425         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25426         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25427         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25428         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25429         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25430         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25431         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25432         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25433         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25434         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25435         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25436         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25437         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25438         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25439         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25440         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25441         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25442         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25443         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25444         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25445         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25446         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25447         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25448         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25449         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25450         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25451         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25452         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25453         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25454         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25455         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25456         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25457         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25458         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25459         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25460         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25461         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25462         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25463         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25464         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25465         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25466         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25467         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25468         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25469         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25470         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25471         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25472         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25473         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25474         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25475         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25476         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25477         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25478         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25479         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25480         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25481         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25482         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25483         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25484         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25485         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25486         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25487         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25488         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25489         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25490         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25491         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25492         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25493         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25494         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25495         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25496         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25497         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25498         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25499         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25500         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25501         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25502         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25503
25504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25505         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25506
25507         [BZ #14914]
25508         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25509         whole low double instead of just low 47 bits when splitting values
25510         into two parts.
25511
25512 2012-12-03  Allan McRae  <allan@archlinux.org>
25513
25514         * manual/stdio.texi (Predefined Printf Handlers): Remove
25515         @hsep and @vsep usage.
25516
25517 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25518
25519         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25520         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25521
25522 2012-12-03  Jeff Law  <law@redhat.com>
25523
25524         * time/sys/time.h (settimeofday): Do not mark TV argument
25525         as __nonnull.
25526
25527 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25528
25529         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25530         when currently writing and seek to current position when not.
25531         * libio/Makefile (tests): Remove bug-fclose1.
25532         * libio/bug-fclose1.c: Delete.
25533
25534 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25535
25536         * manual/arith.texi (feenableexcept): Fix typo.
25537         (fedisableexcept): Likewise.
25538
25539 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25540
25541         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25542         second, differently-typed declaration, rather than a cast.
25543
25544 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25545
25546         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25547         * include/rpc/svc.h: ... here.
25548
25549 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25550
25551         [BZ #13013]
25552         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25553         depending n and resplen2 to catch cases where answer
25554         equals answerp2.
25555
25556 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25557
25558         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25559         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25560
25561 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25562
25563         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25564
25565 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25566
25567         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25568
25569 2012-11-28  Jeff Law  <law@redhat.com>
25570
25571         [BZ #13761]
25572         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25573         dataset_temporary.  Track alloca usage into alloca_used.
25574         If dataset is large allocate and release it via malloc/free.
25575
25576 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25577
25578         [BZ #14197]
25579         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25580
25581 2012-11-28  David S. Miller  <davem@davemloft.net>
25582
25583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25584
25585 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25586
25587         [BZ #14803]
25588         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25589         of pi/2 rounded to nearest to 64 bits.
25590         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25591         nearest to 64 bits.
25592         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25593         bits.
25594
25595 2012-11-28  Jeff Law <law@redhat.com>
25596             Martin Osvald <mosvald@redhat.com>
25597
25598         [BZ #14889]
25599         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25600         * sunrpc/svc.c: Include time.h.
25601         (__svc_accept_failed): New function.
25602         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25603         any reason other than EINTR, call __svc_accept_failed.
25604         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25605         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25606
25607 2012-11-28  Andreas Schwab  <schwab@suse.de>
25608
25609         * scripts/abilist.awk: Also handle indirect functions in .opd
25610         section.
25611
25612 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25613
25614         [BZ #13881]
25615         * sysdeps/x86/fpu/powl_helper.c: New file.
25616         * sysdeps/x86/fpu/Makefile: Likewise.
25617         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25618         (p3): New object.
25619         (__ieee754_powl): Use __powl_helper for finite arguments except
25620         integer exponents below 8.
25621         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25622         (p3): New object.
25623         (__ieee754_powl): Use __powl_helper for finite arguments except
25624         integer exponents below 8.
25625         * math/libm-test.inc (pow_test): Add more tests and enable some
25626         previously disabled tests.
25627         * sysdeps/i386/fpu/libm-test-ulps: Update.
25628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25629
25630 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25631             Carlos O'Donell  <carlos_odonell@mentor.com>
25632
25633         * nss/makedb.c (is_prime): Assert that input is odd and greater
25634         than 4.  Note that fact in a comment too.
25635         (next_prime): Add 4 to input.
25636
25637 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25638
25639         [BZ #11741]
25640         * libio/Makefile (tests): Add test case tst-fwrite-error.
25641         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25642         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25643         * libio/tst-fwrite-error.c: New test case.
25644
25645 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25646
25647         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25648         before casting to void *.
25649         * include/libc-internal.h (__pointer_type): New macro.
25650         (__integer_if_pointer_type_sub): Likewise.
25651         (__integer_if_pointer_type): Likewise.
25652         (cast_to_integer): Likewise.
25653         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25654         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25655         before casting to atomic64_t.
25656         (atomic_exchange_acq): Likewise.
25657         (__arch_exchange_and_add_body): Likewise.
25658         (__arch_add_body): Likewise.
25659         (atomic_add_negative): Likewise.
25660         (atomic_add_zero): Likewise.
25661
25662 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25663
25664         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25665         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25666         (add_fdes): Likewise.
25667         (linear_search_fdes): Likewise.
25668         (binary_search_unencoded_fdes): Likewise.
25669
25670 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25671
25672         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25673
25674 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25675
25676         * configure.in: Autodetect C++ header directories.
25677         * configure: Regenerated.
25678
25679 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25680
25681         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25682
25683 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25684
25685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25686
25687 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25688
25689         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25690         LDBL_MANT_DIG == 106]: Disable some tests.
25691         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25692         Likewise.
25693         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25694         Likewise.
25695
25696         [BZ #14871]
25697         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25698         input for small inputs.  Return +/- pi/2 for large inputs.
25699         * math/libm-test.inc (atan_test): Add more tests.
25700
25701         * sysdeps/generic/unwind-dw2-fde-glibc.c
25702         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25703         __attribute__ ((unused)).
25704
25705         [BZ #14645]
25706         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25707         x * y if x and y are nonzero and z is zero.
25708
25709         [BZ #14811]
25710         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25711         nonzero exponents with absolute value below 0x1p-117 to +/-
25712         0x1p-117.
25713
25714         [BZ #14869]
25715         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25716         up arguments below 2**-450, not just those below 2**-500.
25717         * math/libm-test.inc (hypot_test): Add another test.
25718
25719         [BZ #14868]
25720         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25721         Return a+b for ratio over 2**120, not 2**60.
25722         * math/libm-test.inc (hypot_test): Add another test.
25723
25724         * math/libm-test.inc (clog_test): Use
25725         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25726         (clog10_test): Likewise.
25727
25728         [BZ #6778]
25729         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25730
25731 2012-11-22  Andreas Schwab  <schwab@suse.de>
25732
25733         * sysdeps/i386/fpu/libm-test-ulps: Update.
25734
25735 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25736
25737         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25738         printf output with newline.
25739
25740 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25741
25742         [BZ #14865]
25743         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25744         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25745         -z nodlopen, -z initfirst and -z execstack support.
25746         * configure: Regenerated.
25747
25748         * elf/elf.h (DF_1_NODIRECT): New macro.
25749         (DF_1_IGNMULDEF): Likewise.
25750         (DF_1_NOKSYMS): Likewise.
25751         (DF_1_NOHDR): Likewise.
25752         (DF_1_EDITED): Likewise.
25753         (DF_1_NORELOC): Likewise.
25754         (DF_1_SYMINTPOSE): Likewise.
25755         (DF_1_GLOBAUDIT): Likewise.
25756         (DF_1_SINGLETON): Likewise.
25757         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25758         DT_1_SUPPORTED_MASK bits.
25759         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25760
25761 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25762
25763         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25764
25765 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25766
25767         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25768         macro.
25769
25770         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25771         (sendmmsg): Move declarations...
25772         * socket/sys/socket.h: ... here.
25773         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25774         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25775         include it from...
25776         * socket/recvmmsg.c: ... this new file.
25777         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25778         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25779         definition of __sendmmsg hidden.
25780         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25781         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25782         Move ENOSYS stub into and include it from...
25783         * socket/sendmmsg.c: ... this new file.
25784         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25785         (sysdep_routines): Move recvmmsg and sendmmsg...
25786         * socket/Makefile (routines): ... here.
25787         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25788         (GLIBC_PRIVATE): Add __sendmmsg.
25789         * include/sys/socket.h (__sendmmsg): Add declarations.
25790         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25791         sendmmsg.
25792
25793 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25794
25795         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25796         variable I1 with __attribute__ ((unused)).
25797         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25798
25799 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25800
25801         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25802         DUMMY variables with __attribute__ ((unused)).
25803
25804         * bits/byteswap.h: Include <bits/types.h>.
25805         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25806
25807 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25808
25809         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25810         string_t.  Do not manually set errno.
25811         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25812         length with __strnlen.  Make sure to both set errno and return it on
25813         failure.
25814
25815 2012-11-19  David S. Miller  <davem@davemloft.net>
25816
25817         With help from Joseph Myers.
25818         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25819         very large arguments properly.
25820         * math/libm-test.inc (atan_test): New tests.
25821         (atan2_test): New tests.
25822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25824
25825 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25826
25827         [BZ #14856]
25828         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25829         Define to 3.
25830
25831         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25832         [POSIX] (EADDRNOTAVAIL): Likewise.
25833         [POSIX] (EAFNOSUPPORT): Likewise.
25834         [POSIX] (EALREADY): Likewise.
25835         [POSIX] (ECONNABORTED): Likewise.
25836         [POSIX] (ECONNREFUSED): Likewise.
25837         [POSIX] (ECONNRESET): Likewise.
25838         [POSIX] (EDESTADDRREQ): Likewise.
25839         [POSIX] (EDQUOT): Likewise.
25840         [POSIX] (EHOSTUNREACH): Likewise.
25841         [POSIX] (EIDRM): Likewise.
25842         [POSIX] (EISCONN): Likewise.
25843         [POSIX] (ELOOP): Likewise.
25844         [POSIX] (EMULTIHOP): Likewise.
25845         [POSIX] (ENETDOWN): Likewise.
25846         [POSIX] (ENETUNREACH): Likewise.
25847         [POSIX] (ENOBUFS): Likewise.
25848         [POSIX] (ENODATA): Likewise.
25849         [POSIX] (ENOLINK): Likewise.
25850         [POSIX] (ENOMSG): Likewise.
25851         [POSIX] (ENOPROTOOPT): Likewise.
25852         [POSIX] (ENOSR): Likewise.
25853         [POSIX] (ENOSTR): Likewise.
25854         [POSIX] (ENOTCONN): Likewise.
25855         [POSIX] (ENOTSOCK): Likewise.
25856         [POSIX] (EOPNOTSUPP): Likewise.
25857         [POSIX] (EOVERFLOW): Likewise.
25858         [POSIX] (EPROTO): Likewise.
25859         [POSIX] (EPROTONOSUPPORT): Likewise.
25860         [POSIX] (EPROTOTYPE): Likewise.
25861         [POSIX] (ESTALE): Likewise.
25862         [POSIX] (ETIME): Likewise.
25863         [POSIX] (ETXTBSY): Likewise.
25864         [POSIX] (EWOULDBLOCK): Likewise.
25865         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25866         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25867         [POSIX] (SEEK_CUR): Likewise.
25868         [POSIX] (SEEK_END): Likewise.
25869         [POSIX || UNIX98] (mode_t): Do not require.
25870         [POSIX] (off_t): Likewise.
25871         [POSIX] (pid_t): Likewise.
25872         [POSIX] (sys/stat.h): Do not allow header.
25873         [POSIX] (unistd.h): Likewise.
25874         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25875         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25876         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25877         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25878         require.
25879         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25880         sigevent): Specify elements.
25881         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25882         entry.
25883         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25884         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25885
25886         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25887         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25888         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25889         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25890         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25891         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25892         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25893         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25894         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25895         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25896         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25897         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25898         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25899         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25900         Likewise.
25901         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25902         Likewise.
25903         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25904         Likewise.
25905         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25906         Likewise.
25907         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25908         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25909         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25910         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25911         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25912         Specify lower bound on value.
25913         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25914         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25915         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25916         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25917         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25918         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25919         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25920         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25921         value.
25922         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25923         as optional.
25924         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25925         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25926         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25927         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25928         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25929         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25930         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25931         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25932         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25933         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25934         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25935         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25936         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25937         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25938         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25939         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25940         entry.
25941         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25942         optional.
25943         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25944         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25945         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25946         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25947         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25948         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25949         Likewise.
25950         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25951         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25952         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25953         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25954         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25955         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25956         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25957         as optional.
25958         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25959         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25960         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25961         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25962         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25963         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25964         specify as optional.
25965         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25966         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25967         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25968         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25969         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25970         [XPG3] (NL_LANGMAX): Likewise.
25971         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25972         [POSIX || XPG3] (NL_NMAX): Likewise.
25973         [POSIX || XPG3] (NL_SETMAX): Likewise.
25974         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25975         [XPG3] (NZERO): Likewise.
25976         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25977         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25978         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25979         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25980         (REG_ERANGE): Expect.
25981         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25982         optional-constant.
25983         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25984         Use (void) in prototype.
25985         [POSIX] (*_t): Allow.
25986         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25987         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25988         (WRDE_BADVAL): Expect.
25989
25990         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25991         expect.
25992         [XPG3 || XPG4] (O_RSYNC): Likewise.
25993         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25994         Likewise.
25995         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25996         [XPG3 || XPG4] (sigqueue): Likewise.
25997         [XPG3 || XPG4] (sigtimedwait): Likewise.
25998         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25999         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26000         [XPG3 || XPG4] (vsnprintf): Likewise.
26001         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26002         Likewise.
26003         [XPG3 || XPG4] (blksize_t): Likewise.
26004         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26005         Likewise.
26006         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26007         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26008         [XPG3 || XPG4] (struct itimerspec): Likewise.
26009         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26010         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26011         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26012         [XPG3 || XPG4] (clockid_t): Likewise.
26013         [XPG3 || XPG4] (timer_t): Likewise.
26014         [XPG3 || XPG4] (clock_getres): Likewise.
26015         [XPG3 || XPG4] (clock_gettime): Likewise.
26016         [XPG3 || XPG4] (clock_settime): Likewise.
26017         [XPG3 || XPG4] (nanosleep): Likewise.
26018         [XPG3 || XPG4] (timer_create): Likewise.
26019         [XPG3 || XPG4] (timer_delete): Likewise.
26020         [XPG3 || XPG4] (timer_gettime): Likewise.
26021         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26022         [XPG3 || XPG4] (timer_settime): Likewise.
26023         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26024         [XPG3 || XPG4] (getlogin_r): Likewise.
26025         [XPG3 || XPG4] (pread): Likewise.
26026         [XPG3 || XPG4] (pthread_atfork): Likewise.
26027         [XPG3 || XPG4] (pwrite): Likewise.
26028
26029         [BZ #14835]
26030         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26031         <bits/siginfo.h>.
26032
26033 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26034
26035         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26036         finalizing MALLSTREAM.
26037
26038         * sysdeps/mach/hurd/syncfs.c: New file.
26039
26040 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26041
26042         [BZ #14719]
26043         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26044         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26045         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26046         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26047         (_nss_dns_gethostbyname4_r): Likewise.
26048         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26049         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26050
26051 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26052
26053         [BZ #13763]
26054         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26055
26056 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26057
26058         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26059         * elf/cache.c (print_entry): Print ",AArch64" for
26060         FLAG_AARCH64_LIB64
26061
26062         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26063         * elf/cache.c (print_entry): Print ",hard-float" for
26064         FLAG_ARM_LIBHF.
26065
26066 2012-11-18  David S. Miller  <davem@davemloft.net>
26067
26068         With help from Joseph Myers.
26069         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26070         cutoff to 2**-13.
26071         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26072         cutoff to 2**-25.
26073         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26074         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26075         small.
26076         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26077         * math/libm-test.inc (y0_test): New tests.
26078         (y1_test): New tests.
26079         * sysdeps/i386/fpu/libm-test-ulps: Update.
26080         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26082
26083 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26084
26085         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26086         64-bit targets.
26087         * configure: Regenerated.
26088
26089 2012-11-17  David S. Miller  <davem@davemloft.net>
26090
26091         [BZ #14811]
26092         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26093         nonzero exponents with absolute value below 0x1p-128 to +/-
26094         0x1p-128.
26095
26096 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26097
26098         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26099
26100         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26101
26102         * posix/getconf-speclist.c: New file.
26103         * posix/posix-envs.def: Likewise.
26104         * posix/confstr.c (START_ENV_GROUP): New macro.
26105         (END_ENV_GROUP): Likewise.
26106         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26107         (KNOWN_PRESENT_ENV_STRING): Likewise.
26108         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26109         (UNKNOWN_ENVIRONMENT): Likewise.
26110         (confstr): Include posix-envs.def instead of handling
26111         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26112         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26113         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26114         (END_ENV_GROUP): Likewise.
26115         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26116         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26117         (UNKNOWN_ENVIRONMENT): Likewise.
26118         (__sysconf): Include posix-envs.def instead of handling associated
26119         cases directly here.
26120         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26121         preprocessing getconf-speclist.c rather than running getconf or
26122         generating empty file.
26123
26124 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26125
26126         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26127
26128 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26129
26130         [BZ #14672]
26131         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26132
26133 2012-11-16  David S. Miller  <davem@davemloft.net>
26134
26135         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26136         smaller than LDBL_EPSILON/2.0L, just return xm1.
26137
26138 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26139
26140         * elf/tst-array1.c (init): Set constructor priority to 1000.
26141         (fini): Set destructor priority to 1000.
26142         * elf/tst-array2dep.c: Likewise.
26143
26144 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26145
26146         [BZ #11741]
26147         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26148         (_IO_new_file_xsputn): Also return EOF if none of the input
26149         data was written when overflow failed.
26150         * libio/iopadn.c (_IO_padn): Likewise.
26151         * libio/iowpadn.c (_IO_wpadn): Likewise.
26152         * stdio-common/tst-put-error.c: Add copyright notice.
26153         (do_test): Add case for printing padded string.
26154         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26155         _IO_padn returned error.
26156         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26157         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26158         return EOF.
26159
26160 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26161
26162         * libio/libioP.h: Add comment note that the references to C++
26163         bits are now obsolete.
26164
26165 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26166
26167         * math/libm-test.inc (check_complex): Use asprintf.
26168
26169 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26170
26171         * debug/pcprofiledump.c (print_version): Update copyright year.
26172         * malloc/memusagestat.c (print_version): Likewise.
26173
26174 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26175
26176         [BZ #14831]
26177         * elf/Makefile (tests): Add tst-audit8.
26178         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26179         ($(objpfx)tst-audit8.out): New target.
26180         (tst-audit8-ENV): New variable.
26181         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26182         audit if l_reloc_result is NULL.
26183         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26184         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26185         * elf/tst-audit8.c: New file.
26186
26187 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26188
26189         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26190         * misc/Makefile (CFLAGS-select.c): Define.
26191         * posix/Makefile (CFLAGS-pause.c): Define.
26192
26193 2012-11-13  David S. Miller  <davem@davemloft.net>
26194
26195         * crypt/Makefile: Move test targets after toplevel Rules
26196         inclusion.  Grab any necessary sysdep routines when linking.
26197         * crypt/md5.c (md5_process_block): Remove define, we will always
26198         name it __md5_process_block.
26199         (md5_finish_ctx): Update md5_process_block call.
26200         (md5_stream): Likewise.
26201         (md5_process_bytes): Likewise.
26202         (md5_process_block): Rename to __md5_process_block and move to ...
26203         * crypt/md5-block.c: ... here.
26204         * crypt/sha256.c (sha256_process_block): Move to ...
26205         * crypt/sha256-block.c: ... here.
26206         * crypt/sha512.c (sha512_process_block): Move to ...
26207         * crypt/sha512-block.c: ... here.
26208         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26209         path.
26210         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26211         * sysdeps/sparc/sparc64/multiarch/Makefile
26212         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26213         crypt subdir.
26214         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26215         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26216         multiarch changes.
26217         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26218         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26219         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26220         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26221         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26222         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26223         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26224         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26225         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26226         file.
26227         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26228         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26229         file.
26230         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26231
26232 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26233
26234         * timezone/tzselect.ksh: Update from tzcode git revision
26235         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26236         * timezone/zdump.c: Likewise.
26237         * timezone/zic.c: Likewise.
26238         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26239         in TZVERSION setting, not $(PKGVERSION).
26240         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26241         REPORT_BUGS_TO settings.
26242
26243         [BZ #14838]
26244         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26245         macro.
26246
26247 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26248
26249         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26250         detection to immediately after _FP_ROUND().
26251         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26252         bits are 0.
26253
26254 2012-11-11  David S. Miller  <davem@davemloft.net>
26255
26256         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26257         inttypes.h
26258         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26259         __close rather than their public counterparts.
26260
26261 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26262
26263         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26264         file.
26265         [UNIX98] (sem_timedwait): Do not expect.
26266         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26267         [XPG4 || UNIX98] (sockatmark): Do not expect.
26268         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26269         (clock_getcpuclockid): Do not expect.
26270         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26271         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26272         Do not expect.
26273         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26274         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26275         [UNIX98] (vwscanf): Likewise.
26276         [UNIX98] (vswscanf): Likewise.
26277
26278 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26279
26280         * timezone/version.h: Remove file.
26281         * timezone/README: Do not refer to version.h.
26282         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26283         $(objpfx)version.h.
26284         ($(objpfx)zdump.o): Likewise.
26285         ($(objpfx)version.h): New target.
26286
26287         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26288         2012i.
26289         * timezone/README: Don't mention modification to tzselect.ksh.
26290         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26291         work on unmodified tzselect.ksh.  Substitute version numbers in
26292         tzselect.ksh.
26293
26294         * Makefile (format-me): Remove.
26295         (INSTALL): Adjust indentation.  Use commands directly instead of
26296         using $(format-me).
26297
26298         * aclocal.m4 (ACX_PKGVERSION): New macro.
26299         (ACX_BUGURL): Likewise.
26300         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26301         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26302         (REPORT_BUGS_TO): Likewise.
26303         * configure: Regenerated.
26304         * config.h.in (PKGVERSION): New macro.
26305         (REPORT_BUGS_TO): Likewise.
26306         * config.make.in (PKGVERSION): New variable.
26307         (PKGVERSION_TEXI): Likewise.
26308         (REPORT_BUGS_TO): Likewise.
26309         (REPORT_BUGS_TEXI): Likewise.
26310         * Makefile (format-me): Use -I$(common-objpfx)manual.
26311         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26312         ($(common-objpfx)manual/%): New target.
26313         (manual/%): Remove target.
26314         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26315         (print_version): Use PKGVERSION.
26316         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26317         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26318         and REPORT_BUGS_TO.
26319         ($(objpfx)xtrace): Likewise.
26320         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26321         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26322         (print_version): Use PKGVERSION.
26323         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26324         (do_version): Use PKGVERSION.
26325         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26326         REPORT_BUGS_TO.
26327         (common-ldd-rewrite): Likewise.
26328         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26329         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26330         (print_version): Use PKGVERSION.
26331         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26332         * elf/pldd.c (argp_program_bug_address): Remove variable.
26333         (more_help): New function.
26334         (argp): Use more_help.
26335         (print_version): Use PKGVERSION.
26336         * elf/sln.c (main): Use PKGVERSION.
26337         (usage): Use REPORT_BUGS_TO.
26338         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26339         (top level): Use PKGVERSION.
26340         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26341         (print_version): Use PKGVERSION.
26342         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26343         (print_version): Use PKGVERSION.
26344         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26345         (print_version): Use PKGVERSION.
26346         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26347         (print_version): Use PKGVERSION.
26348         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26349         (print_version): Use PKGVERSION.
26350         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26351         (print_version): Use PKGVERSION.
26352         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26353         and BUGURL.
26354         ($(objpfx)memusage): Likewise.
26355         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26356         (do_version): Use PKGVERSION.
26357         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26358         (print_version): Use PKGVERSION.
26359         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26360         ($PKGVERSION): New variable.
26361         ($REPORT_BUGS_TO): Likewise.
26362         (usage): Use $REPORT_BUGS_TO.
26363         (top level): Use $PKGVERSION.
26364         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26365         ($(objpfx)pkgvers.texi): New rule.
26366         ($(objpfx)stamp-pkgvers): Likewise.
26367         * manual/install.texi: Include pkgvers.texi.
26368         (--with-pkgversion): Document new configure option.
26369         (--with-bugurl): Likewise.
26370         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26371         than necessarily for this particular distribution.  Use
26372         REPORT_BUGS_TO for where to report bugs.
26373         * INSTALL: Regenerated.
26374         * manual/libc.texinfo: Include pkgvers.texi.
26375         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26376         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26377         (print_version): Use PKGVERSION.
26378         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26379         (print_version): Use PKGVERSION.
26380         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26381         (print_version): Use PKGVERSION.
26382         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26383         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26384         macro.
26385         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26386         (print_version): Use PKGVERSION.
26387         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26388         (print_version): Use PKGVERSION.
26389         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26390         and PKGVERSION.
26391
26392         * timezone/checktab.awk: Update from tzcode 2012i.
26393         * timezone/ialloc.c: Likewise.
26394         * timezone/private.h: Likewise.
26395         * timezone/scheck.c: Likewise.
26396         * timezone/tzfile.h: Likewise.
26397         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26398         (TZVERSION): Hardcode tzcode version number.
26399         * timezone/zdump.c: Update from tzcode 2012i.
26400         * timezone/zic.c: Likewise.
26401         * timezone/version.h: New file.
26402         * timezone/README: Describe version.h.  Update upstream location.
26403
26404         [BZ #14824]
26405         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26406         (mktemp): Enable declaration.
26407         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26408         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26409         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26410         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26411         Likewise.
26412         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26413         Likewise.
26414         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26415         Likewise.
26416         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26417         Likewise.
26418         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26419         Likewise.
26420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26421         Likewise.
26422
26423         [BZ #14821]
26424         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26425         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26426         for copies of such integer values.
26427         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26428         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26429
26430 2012-11-09  Andreas Jaeger  <aj@suse.de>
26431
26432         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26433         definitions and declarations that are provided by
26434         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26435
26436 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26437
26438         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26439         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26440         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26441         definition.
26442
26443 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26444
26445         * elf/elf.h: Update comment before AArch64 relocations.
26446
26447 2012-11-07  David S. Miller  <davem@davemloft.net>
26448
26449         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26450         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26451         (__start_context): Declare.
26452         (__makecontext_ret): Delete.
26453         (__makecontext): Hook up __start_context instead of
26454         __makecontext_ret.
26455         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26456         (sysdep_routines): Add __start_context when in stdlib.
26457
26458 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26459
26460         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26461         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26462         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26463         hardcoded "nm".
26464         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26465         (READELF): New variable.  Use it instead of hardcoded "readelf".
26466
26467 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26468
26469         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26470         * sysdeps/x86/Makefile: Here.
26471         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26472         * sysdeps/x86/tst-xmmymm.sh: This.
26473
26474 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26475
26476         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26477         expectations.
26478         [UNIX98] (pthread_barrier_t): Do not expect.
26479         [UNIX98] (pthread_barrierattr_t): Likewise.
26480         [UNIX98] (pthread_spinlock_t): Likewise.
26481         [UNIX98] (pthread_barrier_destroy): Likewise.
26482         [UNIX98] (pthread_barrier_init): Likewise.
26483         [UNIX98] (pthread_barrier_wait): Likewise.
26484         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26485         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26486         [UNIX98] (pthread_barrierattr_init): Likewise.
26487         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26488         [UNIX98] (pthread_getcpuclockid): Likewise.
26489         [UNIX98] (pthread_mutex_timedlock): Likewise.
26490         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26491         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26492         [UNIX98] (pthread_sigmask): Likewise.
26493         [UNIX98] (pthread_spin_destroy): Likewise.
26494         [UNIX98] (pthread_spin_init): Likewise.
26495         [UNIX98] (pthread_spin_lock): Likewise.
26496         [UNIX98] (pthread_spin_trylock): Likewise.
26497         [UNIX98] (pthread_spin_unlock): Likewise.
26498         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26499         Do not expect.
26500         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26501         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26502         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26503         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26504         [XPG3 || XPG4] (pthread_key_t): Likewise.
26505         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26506         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26507         [XPG3 || XPG4] (pthread_once_t): Likewise.
26508         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26509         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26510         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26511         [XPG3 || XPG4] (pthread_t): Likewise.
26512
26513         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26514         not expect.
26515         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26516
26517         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26518         Change function return type to int.
26519
26520         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26521         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26522         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26523         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26524         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26525         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26526         [!POSIX] (posix_madvise): Likewise.
26527         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26528         && !UNIX98].
26529         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26530         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26531         (mode_t): Likewise.
26532         (posix_mem_offset): Likewise.
26533         (posix_typed_mem_get_info): Likewise.
26534         (posix_typed_mem_open): Likewise.
26535
26536         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26537         Change condition to [XOPEN2K8].
26538
26539         * conform/conformtest.pl: Preprocess allow-header data with -x c
26540         instead of from stdin.
26541         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26542         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26543         [C99-based standards] (cerfc): Likewise.
26544         [C99-based standards] (cexp2): Likewise.
26545         [C99-based standards] (cexpm1): Likewise.
26546         [C99-based standards] (clog10): Likewise.
26547         [C99-based standards] (clog1p): Likewise.
26548         [C99-based standards] (clog2): Likewise.
26549         [C99-based standards] (clgamma): Likewise.
26550         [C99-based standards] (ctgamma): Likewise.
26551         [C99-based standards] (cerff): Likewise.
26552         [C99-based standards] (cerfcf): Likewise.
26553         [C99-based standards] (cexp2f): Likewise.
26554         [C99-based standards] (cexpm1f): Likewise.
26555         [C99-based standards] (clog10f): Likewise.
26556         [C99-based standards] (clog1pf): Likewise.
26557         [C99-based standards] (clog2f): Likewise.
26558         [C99-based standards] (clgammaf): Likewise.
26559         [C99-based standards] (ctgammaf): Likewise.
26560         [C99-based standards] (cerfl): Likewise.
26561         [C99-based standards] (cerfcl): Likewise.
26562         [C99-based standards] (cexp2l): Likewise.
26563         [C99-based standards] (cexpm1l): Likewise.
26564         [C99-based standards] (clog10l): Likewise.
26565         [C99-based standards] (clog1pl): Likewise.
26566         [C99-based standards] (clog2l): Likewise.
26567         [C99-based standards] (clgammal): Likewise.
26568         [C99-based standards] (ctgammal): Likewise.
26569         * conform/data/inttypes.h-data [C99-based standards]: Include
26570         stdint.h-data.  Remove all expectations for stdint.h contents.
26571         [C99-based standards] (PRI*): Do not allow.
26572         [C99-based standards] (SCN*): Likewise.
26573         [C99-based standards] (*_t): Likewise.
26574         [C99-based-standards] (PRId8): Expect macro.
26575         [C99-based-standards] (PRIi8): Likewise.
26576         [C99-based-standards] (PRIo8): Likewise.
26577         [C99-based-standards] (PRIu8): Likewise.
26578         [C99-based-standards] (PRIx8): Likewise.
26579         [C99-based-standards] (PRIX8): Likewise.
26580         [C99-based-standards] (SCNd8): Likewise.
26581         [C99-based-standards] (SCNi8): Likewise.
26582         [C99-based-standards] (SCNo8): Likewise.
26583         [C99-based-standards] (SCNu8): Likewise.
26584         [C99-based-standards] (SCNx8): Likewise.
26585         [C99-based-standards] (PRIdLEAST8): Likewise.
26586         [C99-based-standards] (PRIiLEAST8): Likewise.
26587         [C99-based-standards] (PRIoLEAST8): Likewise.
26588         [C99-based-standards] (PRIuLEAST8): Likewise.
26589         [C99-based-standards] (PRIxLEAST8): Likewise.
26590         [C99-based-standards] (PRIXLEAST8): Likewise.
26591         [C99-based-standards] (SCNdLEAST8): Likewise.
26592         [C99-based-standards] (SCNiLEAST8): Likewise.
26593         [C99-based-standards] (SCNoLEAST8): Likewise.
26594         [C99-based-standards] (SCNuLEAST8): Likewise.
26595         [C99-based-standards] (SCNxLEAST8): Likewise.
26596         [C99-based-standards] (PRIdFAST8): Likewise.
26597         [C99-based-standards] (PRIiFAST8): Likewise.
26598         [C99-based-standards] (PRIoFAST8): Likewise.
26599         [C99-based-standards] (PRIuFAST8): Likewise.
26600         [C99-based-standards] (PRIxFAST8): Likewise.
26601         [C99-based-standards] (PRIXFAST8): Likewise.
26602         [C99-based-standards] (SCNdFAST8): Likewise.
26603         [C99-based-standards] (SCNiFAST8): Likewise.
26604         [C99-based-standards] (SCNoFAST8): Likewise.
26605         [C99-based-standards] (SCNuFAST8): Likewise.
26606         [C99-based-standards] (SCNxFAST8): Likewise.
26607         [C99-based-standards] (PRId16): Likewise.
26608         [C99-based-standards] (PRIi16): Likewise.
26609         [C99-based-standards] (PRIo16): Likewise.
26610         [C99-based-standards] (PRIu16): Likewise.
26611         [C99-based-standards] (PRIx16): Likewise.
26612         [C99-based-standards] (PRIX16): Likewise.
26613         [C99-based-standards] (SCNd16): Likewise.
26614         [C99-based-standards] (SCNi16): Likewise.
26615         [C99-based-standards] (SCNo16): Likewise.
26616         [C99-based-standards] (SCNu16): Likewise.
26617         [C99-based-standards] (SCNx16): Likewise.
26618         [C99-based-standards] (PRIdLEAST16): Likewise.
26619         [C99-based-standards] (PRIiLEAST16): Likewise.
26620         [C99-based-standards] (PRIoLEAST16): Likewise.
26621         [C99-based-standards] (PRIuLEAST16): Likewise.
26622         [C99-based-standards] (PRIxLEAST16): Likewise.
26623         [C99-based-standards] (PRIXLEAST16): Likewise.
26624         [C99-based-standards] (SCNdLEAST16): Likewise.
26625         [C99-based-standards] (SCNiLEAST16): Likewise.
26626         [C99-based-standards] (SCNoLEAST16): Likewise.
26627         [C99-based-standards] (SCNuLEAST16): Likewise.
26628         [C99-based-standards] (SCNxLEAST16): Likewise.
26629         [C99-based-standards] (PRIdFAST16): Likewise.
26630         [C99-based-standards] (PRIiFAST16): Likewise.
26631         [C99-based-standards] (PRIoFAST16): Likewise.
26632         [C99-based-standards] (PRIuFAST16): Likewise.
26633         [C99-based-standards] (PRIxFAST16): Likewise.
26634         [C99-based-standards] (PRIXFAST16): Likewise.
26635         [C99-based-standards] (SCNdFAST16): Likewise.
26636         [C99-based-standards] (SCNiFAST16): Likewise.
26637         [C99-based-standards] (SCNoFAST16): Likewise.
26638         [C99-based-standards] (SCNuFAST16): Likewise.
26639         [C99-based-standards] (SCNxFAST16): Likewise.
26640         [C99-based-standards] (PRId32): Likewise.
26641         [C99-based-standards] (PRIi32): Likewise.
26642         [C99-based-standards] (PRIo32): Likewise.
26643         [C99-based-standards] (PRIu32): Likewise.
26644         [C99-based-standards] (PRIx32): Likewise.
26645         [C99-based-standards] (PRIX32): Likewise.
26646         [C99-based-standards] (SCNd32): Likewise.
26647         [C99-based-standards] (SCNi32): Likewise.
26648         [C99-based-standards] (SCNo32): Likewise.
26649         [C99-based-standards] (SCNu32): Likewise.
26650         [C99-based-standards] (SCNx32): Likewise.
26651         [C99-based-standards] (PRIdLEAST32): Likewise.
26652         [C99-based-standards] (PRIiLEAST32): Likewise.
26653         [C99-based-standards] (PRIoLEAST32): Likewise.
26654         [C99-based-standards] (PRIuLEAST32): Likewise.
26655         [C99-based-standards] (PRIxLEAST32): Likewise.
26656         [C99-based-standards] (PRIXLEAST32): Likewise.
26657         [C99-based-standards] (SCNdLEAST32): Likewise.
26658         [C99-based-standards] (SCNiLEAST32): Likewise.
26659         [C99-based-standards] (SCNoLEAST32): Likewise.
26660         [C99-based-standards] (SCNuLEAST32): Likewise.
26661         [C99-based-standards] (SCNxLEAST32): Likewise.
26662         [C99-based-standards] (PRIdFAST32): Likewise.
26663         [C99-based-standards] (PRIiFAST32): Likewise.
26664         [C99-based-standards] (PRIoFAST32): Likewise.
26665         [C99-based-standards] (PRIuFAST32): Likewise.
26666         [C99-based-standards] (PRIxFAST32): Likewise.
26667         [C99-based-standards] (PRIXFAST32): Likewise.
26668         [C99-based-standards] (SCNdFAST32): Likewise.
26669         [C99-based-standards] (SCNiFAST32): Likewise.
26670         [C99-based-standards] (SCNoFAST32): Likewise.
26671         [C99-based-standards] (SCNuFAST32): Likewise.
26672         [C99-based-standards] (SCNxFAST32): Likewise.
26673         [C99-based-standards] (PRId64): Likewise.
26674         [C99-based-standards] (PRIi64): Likewise.
26675         [C99-based-standards] (PRIo64): Likewise.
26676         [C99-based-standards] (PRIu64): Likewise.
26677         [C99-based-standards] (PRIx64): Likewise.
26678         [C99-based-standards] (PRIX64): Likewise.
26679         [C99-based-standards] (SCNd64): Likewise.
26680         [C99-based-standards] (SCNi64): Likewise.
26681         [C99-based-standards] (SCNo64): Likewise.
26682         [C99-based-standards] (SCNu64): Likewise.
26683         [C99-based-standards] (SCNx64): Likewise.
26684         [C99-based-standards] (PRIdLEAST64): Likewise.
26685         [C99-based-standards] (PRIiLEAST64): Likewise.
26686         [C99-based-standards] (PRIoLEAST64): Likewise.
26687         [C99-based-standards] (PRIuLEAST64): Likewise.
26688         [C99-based-standards] (PRIxLEAST64): Likewise.
26689         [C99-based-standards] (PRIXLEAST64): Likewise.
26690         [C99-based-standards] (SCNdLEAST64): Likewise.
26691         [C99-based-standards] (SCNiLEAST64): Likewise.
26692         [C99-based-standards] (SCNoLEAST64): Likewise.
26693         [C99-based-standards] (SCNuLEAST64): Likewise.
26694         [C99-based-standards] (SCNxLEAST64): Likewise.
26695         [C99-based-standards] (PRIdFAST64): Likewise.
26696         [C99-based-standards] (PRIiFAST64): Likewise.
26697         [C99-based-standards] (PRIoFAST64): Likewise.
26698         [C99-based-standards] (PRIuFAST64): Likewise.
26699         [C99-based-standards] (PRIxFAST64): Likewise.
26700         [C99-based-standards] (PRIXFAST64): Likewise.
26701         [C99-based-standards] (SCNdFAST64): Likewise.
26702         [C99-based-standards] (SCNiFAST64): Likewise.
26703         [C99-based-standards] (SCNoFAST64): Likewise.
26704         [C99-based-standards] (SCNuFAST64): Likewise.
26705         [C99-based-standards] (SCNxFAST64): Likewise.
26706         [C99-based-standards] (PRIdMAX): Likewise.
26707         [C99-based-standards] (PRIiMAX): Likewise.
26708         [C99-based-standards] (PRIoMAX): Likewise.
26709         [C99-based-standards] (PRIuMAX): Likewise.
26710         [C99-based-standards] (PRIxMAX): Likewise.
26711         [C99-based-standards] (PRIXMAX): Likewise.
26712         [C99-based-standards] (SCNdMAX): Likewise.
26713         [C99-based-standards] (SCNiMAX): Likewise.
26714         [C99-based-standards] (SCNoMAX): Likewise.
26715         [C99-based-standards] (SCNuMAX): Likewise.
26716         [C99-based-standards] (SCNxMAX): Likewise.
26717         [C99-based-standards] (PRIdPTR): Likewise.
26718         [C99-based-standards] (PRIiPTR): Likewise.
26719         [C99-based-standards] (PRIoPTR): Likewise.
26720         [C99-based-standards] (PRIuPTR): Likewise.
26721         [C99-based-standards] (PRIxPTR): Likewise.
26722         [C99-based-standards] (PRIXPTR): Likewise.
26723         [C99-based-standards] (SCNdPTR): Likewise.
26724         [C99-based-standards] (SCNiPTR): Likewise.
26725         [C99-based-standards] (SCNoPTR): Likewise.
26726         [C99-based-standards] (SCNuPTR): Likewise.
26727         [C99-based-standards] (SCNxPTR): Likewise.
26728         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26729         allow.
26730         * conform/data/stdint.h-data: Update comments to clarify
26731         requirements.
26732         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26733         type.
26734         [C99-based standards] (INT8_MAX): Likewise.
26735         [C99-based standards] (INT16_MIN): Likewise.
26736         [C99-based standards] (INT16_MAX): Likewise.
26737         [C99-based standards] (INT32_MIN): Likewise.
26738         [C99-based standards] (INT32_MAX): Likewise.
26739         [C99-based standards] (INT64_MIN): Likewise.
26740         [C99-based standards] (INT64_MAX): Likewise.
26741         [C99-based standards] (UINT8_MAX): Likewise.
26742         [C99-based standards] (UINT16_MAX): Likewise.
26743         [C99-based standards] (UINT32_MAX): Likewise.
26744         [C99-based standards] (UINT64_MAX): Likewise.
26745         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26746         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26747         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26748         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26749         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26750         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26751         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26752         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26753         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26754         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26755         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26756         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26757         [C99-based standards] (INT_FAST8_MIN): Likewise.
26758         [C99-based standards] (INT_FAST8_MAX): Likewise.
26759         [C99-based standards] (INT_FAST16_MIN): Likewise.
26760         [C99-based standards] (INT_FAST16_MAX): Likewise.
26761         [C99-based standards] (INT_FAST32_MIN): Likewise.
26762         [C99-based standards] (INT_FAST32_MAX): Likewise.
26763         [C99-based standards] (INT_FAST64_MIN): Likewise.
26764         [C99-based standards] (INT_FAST64_MAX): Likewise.
26765         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26766         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26767         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26768         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26769         [C99-based standards] (INTPTR_MIN): Likewise.
26770         [C99-based standards] (INTPTR_MAX): Likewise.
26771         [C99-based standards] (UINTPTR_MAX): Likewise.
26772         [C99-based standards] (INTMAX_MIN): Likewise.
26773         [C99-based standards] (INTMAX_MAX): Likewise.
26774         [C99-based standards] (UINTMAX_MAX): Likewise.
26775         [C99-based standards] (PTRDIFF_MIN): Likewise.
26776         [C99-based standards] (PTRDIFF_MAX): Likewise.
26777         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26778         [C99-based standards] (SIZE_MAX): Likewise.
26779         [C99-based standards] (WCHAR_MAX): Likewise.
26780         [C99-based standards] (WINT_MAX): Likewise.
26781         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26782         constraint on value.
26783         [C99-based standards] (WCHAR_MIN): Likewise.
26784         [C99-based standards] (WINT_MIN): Likewise.
26785         [C99-based standards] (*_t): Allow.
26786         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26787         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26788         Include math.h-data and complex.h-data.  Remove all expectations
26789         of math.h and complex.h contents.
26790         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26791         at end of line.
26792         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26793         (struct tm): Expect tag.
26794         [C99-based-standards] (wcstof): Expect function.
26795         [C99-based-standards] (wcstold): Likewise.
26796         [C99-based-standards] (wcstoll): Likewise.
26797         [C99-based-standards] (wcstoull): Likewise.
26798         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26799         macro-int-constant.  Specify type.
26800         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26801         constraint on value.
26802         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26803         Specify type.
26804         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26805         Specify value.
26806         [ISO C standards]: Do not allow headers.
26807         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26808         wcs[abcdefghijklmnopqrstuvwxyz]*.
26809         [ISO C standards] (*_t): Do not allow.
26810         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26811         Expect function.
26812         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26813         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26814         Specify type.
26815         [ISO C standards]: Do not allow headers.
26816         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26817         is[abcdefghijklmnopqrstuvwxyz]*.
26818         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26819         to[abcdefghijklmnopqrstuvwxyz]*.
26820         [ISO C standards] (*_t): Do not allow.
26821         * conform/data/stdalign.h-data: New file.
26822         * conform/data/stdbool.h-data: Likewise.
26823         * conform/data/stdnoreturn.h-data: Likewise.
26824
26825 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26826
26827         [BZ #14815]
26828         * manual/filesys.texi (Directory Entries): Typo fix.
26829         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26830
26831 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26832
26833         * elf/elf.h (EM_AARCH64): New macro.
26834         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26835         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26836         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26837         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26838         (R_AARCH64_TLSDESC): Likewise.
26839         (NT_ARM_TLS): Likewise.
26840         (NT_ARM_HW_BREAK): Likewise.
26841         (NT_ARM_HW_WATCH): Likewise.
26842
26843 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26844
26845         [BZ #14811]
26846         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26847         (__ieee754_powl): Saturate nonzero exponents with absolute value
26848         below 0x1p-79 to +/- 0x1p-79.
26849         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26850         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26851         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26852         nonzero exponents with absolute value below 0x1p-32 to +/-
26853         0x1p-32.
26854         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26855         (__ieee754_powl): Saturate nonzero exponents with absolute value
26856         below 0x1p-79 to +/- 0x1p-79.
26857         * math/libm-test.inc (pow_test): Add more tests.
26858
26859 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26860
26861         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26862         _dl_s390_cap_flags with kernel. Increase string length.
26863         (_dl_s390_platforms): Add z196 and zEC12.
26864
26865 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26866
26867         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26868         Change XOPEN21K to XOPEN2K.
26869
26870 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26871
26872         * string/memmove.c: Use memcpy when possible.
26873
26874 2012-11-06  Andreas Jaeger  <aj@suse.de>
26875
26876         * po/eo.po: Update from translation team.
26877
26878 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26879
26880         [BZ #14793]
26881         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26882         exponent and small x and y exponents, scale x or y up.  Increase
26883         by 2 the exponent used in scaling up.
26884         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26885         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26886         * math/libm-test.inc (fma_test): Add more tests.
26887         (fma_test_towardzero): Likewise.
26888         (fma_test_downward): Likewise.
26889         (fma_test_upward): Likewise.
26890
26891 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26892
26893         [BZ #14805]
26894         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26895         fenv_t *.
26896
26897         [BZ #14801]
26898         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26899         namespace for names of struct fields.
26900         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26901         fenv_t fields.
26902         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26903         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26904
26905 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26906
26907         [BZ #3665]
26908         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26909
26910 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26911
26912         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26913         PTR_DEMANGLE.
26914
26915         [BZ #5246]
26916         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26917         PTR_DEMANGLE.
26918
26919 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26920
26921         [BZ #14797]
26922         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26923         definitely overflow as x * y not x * y + z.
26924         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26925         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26926         * math/libm-test.inc (fma_test): Add more tests.
26927         (fma_test_towardzero): Likewise.
26928         (fma_test_downward): Likewise.
26929         (fma_test_upward): Likewise.
26930
26931 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26932
26933         [BZ #157]
26934
26935         * include/stub-tag.h: Remove file.
26936         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26937         '#include' of it.
26938         * manual/maint.texi (Porting): Don't reference it.
26939         * Makerules ($(objpfx)stubs): Likewise.
26940         * dirent/closedir.c: Don't include <stub-tag.h>.
26941         * dirent/dirfd.c: Likewise.
26942         * dirent/fdopendir.c: Likewise.
26943         * dirent/getdents.c: Likewise.
26944         * dirent/getdents64.c: Likewise.
26945         * dirent/opendir.c: Likewise.
26946         * dirent/readdir.c: Likewise.
26947         * dirent/readdir64.c: Likewise.
26948         * dirent/readdir64_r.c: Likewise.
26949         * dirent/readdir_r.c: Likewise.
26950         * dirent/rewinddir.c: Likewise.
26951         * dirent/seekdir.c: Likewise.
26952         * dirent/telldir.c: Likewise.
26953         * gmon/profil.c: Likewise.
26954         * grp/setgroups.c: Likewise.
26955         * inet/if_index.c: Likewise.
26956         * io/access.c: Likewise.
26957         * io/chdir.c: Likewise.
26958         * io/chmod.c: Likewise.
26959         * io/chown.c: Likewise.
26960         * io/close.c: Likewise.
26961         * io/dup.c: Likewise.
26962         * io/dup2.c: Likewise.
26963         * io/dup3.c: Likewise.
26964         * io/euidaccess.c: Likewise.
26965         * io/faccessat.c: Likewise.
26966         * io/fchdir.c: Likewise.
26967         * io/fchmod.c: Likewise.
26968         * io/fchmodat.c: Likewise.
26969         * io/fchown.c: Likewise.
26970         * io/fchownat.c: Likewise.
26971         * io/fcntl.c: Likewise.
26972         * io/flock.c: Likewise.
26973         * io/fstatfs.c: Likewise.
26974         * io/fstatfs64.c: Likewise.
26975         * io/fstatvfs.c: Likewise.
26976         * io/fstatvfs64.c: Likewise.
26977         * io/futimens.c: Likewise.
26978         * io/fxstat.c: Likewise.
26979         * io/fxstat64.c: Likewise.
26980         * io/fxstatat.c: Likewise.
26981         * io/fxstatat64.c: Likewise.
26982         * io/getcwd.c: Likewise.
26983         * io/isatty.c: Likewise.
26984         * io/lchmod.c: Likewise.
26985         * io/lchown.c: Likewise.
26986         * io/link.c: Likewise.
26987         * io/linkat.c: Likewise.
26988         * io/lseek.c: Likewise.
26989         * io/lseek64.c: Likewise.
26990         * io/lxstat64.c: Likewise.
26991         * io/mkdir.c: Likewise.
26992         * io/mkdirat.c: Likewise.
26993         * io/mkfifo.c: Likewise.
26994         * io/mkfifoat.c: Likewise.
26995         * io/open.c: Likewise.
26996         * io/open64.c: Likewise.
26997         * io/openat.c: Likewise.
26998         * io/openat64.c: Likewise.
26999         * io/pipe.c: Likewise.
27000         * io/pipe2.c: Likewise.
27001         * io/poll.c: Likewise.
27002         * io/posix_fadvise.c: Likewise.
27003         * io/posix_fadvise64.c: Likewise.
27004         * io/posix_fallocate.c: Likewise.
27005         * io/posix_fallocate64.c: Likewise.
27006         * io/read.c: Likewise.
27007         * io/readlink.c: Likewise.
27008         * io/readlinkat.c: Likewise.
27009         * io/rmdir.c: Likewise.
27010         * io/sendfile.c: Likewise.
27011         * io/sendfile64.c: Likewise.
27012         * io/statfs.c: Likewise.
27013         * io/statfs64.c: Likewise.
27014         * io/statvfs.c: Likewise.
27015         * io/statvfs64.c: Likewise.
27016         * io/symlink.c: Likewise.
27017         * io/symlinkat.c: Likewise.
27018         * io/ttyname.c: Likewise.
27019         * io/ttyname_r.c: Likewise.
27020         * io/umask.c: Likewise.
27021         * io/unlink.c: Likewise.
27022         * io/unlinkat.c: Likewise.
27023         * io/utime.c: Likewise.
27024         * io/utimensat.c: Likewise.
27025         * io/write.c: Likewise.
27026         * io/xmknod.c: Likewise.
27027         * io/xmknodat.c: Likewise.
27028         * io/xstat.c: Likewise.
27029         * io/xstat64.c: Likewise.
27030         * login/getpt.c: Likewise.
27031         * login/grantpt.c: Likewise.
27032         * login/unlockpt.c: Likewise.
27033         * math/e_acoshl.c: Likewise.
27034         * math/e_acosl.c: Likewise.
27035         * math/e_asinl.c: Likewise.
27036         * math/e_atan2l.c: Likewise.
27037         * math/e_atanhl.c: Likewise.
27038         * math/e_coshl.c: Likewise.
27039         * math/e_expl.c: Likewise.
27040         * math/e_fmodl.c: Likewise.
27041         * math/e_gammal_r.c: Likewise.
27042         * math/e_hypotl.c: Likewise.
27043         * math/e_j0l.c: Likewise.
27044         * math/e_j1l.c: Likewise.
27045         * math/e_jnl.c: Likewise.
27046         * math/e_lgammal_r.c: Likewise.
27047         * math/e_log10l.c: Likewise.
27048         * math/e_log2l.c: Likewise.
27049         * math/e_logl.c: Likewise.
27050         * math/e_powl.c: Likewise.
27051         * math/e_rem_pio2l.c: Likewise.
27052         * math/e_sinhl.c: Likewise.
27053         * math/e_sqrtl.c: Likewise.
27054         * math/fclrexcpt.c: Likewise.
27055         * math/fedisblxcpt.c: Likewise.
27056         * math/feenablxcpt.c: Likewise.
27057         * math/fegetenv.c: Likewise.
27058         * math/fegetexcept.c: Likewise.
27059         * math/fegetround.c: Likewise.
27060         * math/feholdexcpt.c: Likewise.
27061         * math/fesetenv.c: Likewise.
27062         * math/fesetround.c: Likewise.
27063         * math/feupdateenv.c: Likewise.
27064         * math/fgetexcptflg.c: Likewise.
27065         * math/fraiseexcpt.c: Likewise.
27066         * math/fsetexcptflg.c: Likewise.
27067         * math/ftestexcept.c: Likewise.
27068         * math/k_cosl.c: Likewise.
27069         * math/k_rem_pio2l.c: Likewise.
27070         * math/k_sinl.c: Likewise.
27071         * math/k_tanl.c: Likewise.
27072         * math/s_asinhl.c: Likewise.
27073         * math/s_atanl.c: Likewise.
27074         * math/s_cbrtl.c: Likewise.
27075         * math/s_erfl.c: Likewise.
27076         * math/s_expm1l.c: Likewise.
27077         * math/s_log1pl.c: Likewise.
27078         * math/s_tanhl.c: Likewise.
27079         * misc/acct.c: Likewise.
27080         * misc/brk.c: Likewise.
27081         * misc/chflags.c: Likewise.
27082         * misc/chroot.c: Likewise.
27083         * misc/fchflags.c: Likewise.
27084         * misc/fgetxattr.c: Likewise.
27085         * misc/flistxattr.c: Likewise.
27086         * misc/fremovexattr.c: Likewise.
27087         * misc/fsetxattr.c: Likewise.
27088         * misc/fsync.c: Likewise.
27089         * misc/ftruncate.c: Likewise.
27090         * misc/futimes.c: Likewise.
27091         * misc/futimesat.c: Likewise.
27092         * misc/getdomain.c: Likewise.
27093         * misc/getdtsz.c: Likewise.
27094         * misc/gethostid.c: Likewise.
27095         * misc/gethostname.c: Likewise.
27096         * misc/getloadavg.c: Likewise.
27097         * misc/getpagesize.c: Likewise.
27098         * misc/getsysstats.c: Likewise.
27099         * misc/getxattr.c: Likewise.
27100         * misc/gtty.c: Likewise.
27101         * misc/ioctl.c: Likewise.
27102         * misc/lgetxattr.c: Likewise.
27103         * misc/listxattr.c: Likewise.
27104         * misc/llistxattr.c: Likewise.
27105         * misc/lremovexattr.c: Likewise.
27106         * misc/lsetxattr.c: Likewise.
27107         * misc/lutimes.c: Likewise.
27108         * misc/madvise.c: Likewise.
27109         * misc/mincore.c: Likewise.
27110         * misc/mlock.c: Likewise.
27111         * misc/mlockall.c: Likewise.
27112         * misc/mmap.c: Likewise.
27113         * misc/mprotect.c: Likewise.
27114         * misc/msync.c: Likewise.
27115         * misc/munlock.c: Likewise.
27116         * misc/munlockall.c: Likewise.
27117         * misc/munmap.c: Likewise.
27118         * misc/preadv.c: Likewise.
27119         * misc/preadv64.c: Likewise.
27120         * misc/ptrace.c: Likewise.
27121         * misc/pwritev.c: Likewise.
27122         * misc/pwritev64.c: Likewise.
27123         * misc/readv.c: Likewise.
27124         * misc/reboot.c: Likewise.
27125         * misc/remap_file_pages.c: Likewise.
27126         * misc/removexattr.c: Likewise.
27127         * misc/revoke.c: Likewise.
27128         * misc/select.c: Likewise.
27129         * misc/setdomain.c: Likewise.
27130         * misc/setegid.c: Likewise.
27131         * misc/seteuid.c: Likewise.
27132         * misc/sethostid.c: Likewise.
27133         * misc/sethostname.c: Likewise.
27134         * misc/setregid.c: Likewise.
27135         * misc/setreuid.c: Likewise.
27136         * misc/setxattr.c: Likewise.
27137         * misc/sstk.c: Likewise.
27138         * misc/stty.c: Likewise.
27139         * misc/swapoff.c: Likewise.
27140         * misc/swapon.c: Likewise.
27141         * misc/sync.c: Likewise.
27142         * misc/syncfs.c: Likewise.
27143         * misc/syscall.c: Likewise.
27144         * misc/truncate.c: Likewise.
27145         * misc/ualarm.c: Likewise.
27146         * misc/usleep.c: Likewise.
27147         * misc/ustat.c: Likewise.
27148         * misc/utimes.c: Likewise.
27149         * misc/vhangup.c: Likewise.
27150         * misc/writev.c: Likewise.
27151         * posix/_exit.c: Likewise.
27152         * posix/alarm.c: Likewise.
27153         * posix/execve.c: Likewise.
27154         * posix/fexecve.c: Likewise.
27155         * posix/fork.c: Likewise.
27156         * posix/fpathconf.c: Likewise.
27157         * posix/getaddrinfo.c: Likewise.
27158         * posix/getegid.c: Likewise.
27159         * posix/geteuid.c: Likewise.
27160         * posix/getgid.c: Likewise.
27161         * posix/getgroups.c: Likewise.
27162         * posix/getlogin.c: Likewise.
27163         * posix/getlogin_r.c: Likewise.
27164         * posix/getpgid.c: Likewise.
27165         * posix/getpid.c: Likewise.
27166         * posix/getppid.c: Likewise.
27167         * posix/getresgid.c: Likewise.
27168         * posix/getresuid.c: Likewise.
27169         * posix/getsid.c: Likewise.
27170         * posix/getuid.c: Likewise.
27171         * posix/glob64.c: Likewise.
27172         * posix/nanosleep.c: Likewise.
27173         * posix/pathconf.c: Likewise.
27174         * posix/pause.c: Likewise.
27175         * posix/posix_madvise.c: Likewise.
27176         * posix/pread.c: Likewise.
27177         * posix/pread64.c: Likewise.
27178         * posix/pwrite.c: Likewise.
27179         * posix/pwrite64.c: Likewise.
27180         * posix/sched_getaffinity.c: Likewise.
27181         * posix/sched_getp.c: Likewise.
27182         * posix/sched_gets.c: Likewise.
27183         * posix/sched_primax.c: Likewise.
27184         * posix/sched_primin.c: Likewise.
27185         * posix/sched_rr_gi.c: Likewise.
27186         * posix/sched_setaffinity.c: Likewise.
27187         * posix/sched_setp.c: Likewise.
27188         * posix/sched_sets.c: Likewise.
27189         * posix/sched_yield.c: Likewise.
27190         * posix/setgid.c: Likewise.
27191         * posix/setlogin.c: Likewise.
27192         * posix/setpgid.c: Likewise.
27193         * posix/setresgid.c: Likewise.
27194         * posix/setresuid.c: Likewise.
27195         * posix/setsid.c: Likewise.
27196         * posix/setuid.c: Likewise.
27197         * posix/sleep.c: Likewise.
27198         * posix/spawni.c: Likewise.
27199         * posix/sysconf.c: Likewise.
27200         * posix/times.c: Likewise.
27201         * posix/wait.c: Likewise.
27202         * posix/wait3.c: Likewise.
27203         * posix/wait4.c: Likewise.
27204         * posix/waitpid.c: Likewise.
27205         * resolv/gai_sigqueue.c: Likewise.
27206         * resource/getpriority.c: Likewise.
27207         * resource/getrlimit.c: Likewise.
27208         * resource/getrusage.c: Likewise.
27209         * resource/nice.c: Likewise.
27210         * resource/setpriority.c: Likewise.
27211         * resource/setrlimit.c: Likewise.
27212         * resource/ulimit.c: Likewise.
27213         * rt/aio_cancel.c: Likewise.
27214         * rt/aio_fsync.c: Likewise.
27215         * rt/aio_read.c: Likewise.
27216         * rt/aio_sigqueue.c: Likewise.
27217         * rt/aio_suspend.c: Likewise.
27218         * rt/aio_write.c: Likewise.
27219         * rt/clock_getres.c: Likewise.
27220         * rt/clock_gettime.c: Likewise.
27221         * rt/clock_nanosleep.c: Likewise.
27222         * rt/clock_settime.c: Likewise.
27223         * rt/lio_listio.c: Likewise.
27224         * rt/mq_close.c: Likewise.
27225         * rt/mq_getattr.c: Likewise.
27226         * rt/mq_notify.c: Likewise.
27227         * rt/mq_open.c: Likewise.
27228         * rt/mq_receive.c: Likewise.
27229         * rt/mq_send.c: Likewise.
27230         * rt/mq_setattr.c: Likewise.
27231         * rt/mq_timedreceive.c: Likewise.
27232         * rt/mq_timedsend.c: Likewise.
27233         * rt/mq_unlink.c: Likewise.
27234         * rt/shm_open.c: Likewise.
27235         * rt/shm_unlink.c: Likewise.
27236         * rt/timer_create.c: Likewise.
27237         * rt/timer_delete.c: Likewise.
27238         * rt/timer_getoverr.c: Likewise.
27239         * rt/timer_gettime.c: Likewise.
27240         * rt/timer_settime.c: Likewise.
27241         * setjmp/__longjmp.c: Likewise.
27242         * setjmp/setjmp.c: Likewise.
27243         * signal/kill.c: Likewise.
27244         * signal/killpg.c: Likewise.
27245         * signal/raise.c: Likewise.
27246         * signal/sigaction.c: Likewise.
27247         * signal/sigaltstack.c: Likewise.
27248         * signal/sigblock.c: Likewise.
27249         * signal/sigignore.c: Likewise.
27250         * signal/sigintr.c: Likewise.
27251         * signal/signal.c: Likewise.
27252         * signal/sigpause.c: Likewise.
27253         * signal/sigpending.c: Likewise.
27254         * signal/sigqueue.c: Likewise.
27255         * signal/sigreturn.c: Likewise.
27256         * signal/sigset.c: Likewise.
27257         * signal/sigsetmask.c: Likewise.
27258         * signal/sigstack.c: Likewise.
27259         * signal/sigsuspend.c: Likewise.
27260         * signal/sigtimedwait.c: Likewise.
27261         * signal/sigvec.c: Likewise.
27262         * signal/sigwait.c: Likewise.
27263         * signal/sigwaitinfo.c: Likewise.
27264         * signal/sysv_signal.c: Likewise.
27265         * socket/accept.c: Likewise.
27266         * socket/accept4.c: Likewise.
27267         * socket/bind.c: Likewise.
27268         * socket/connect.c: Likewise.
27269         * socket/getpeername.c: Likewise.
27270         * socket/getsockname.c: Likewise.
27271         * socket/getsockopt.c: Likewise.
27272         * socket/isfdtype.c: Likewise.
27273         * socket/listen.c: Likewise.
27274         * socket/recv.c: Likewise.
27275         * socket/recvfrom.c: Likewise.
27276         * socket/recvmsg.c: Likewise.
27277         * socket/send.c: Likewise.
27278         * socket/sendmsg.c: Likewise.
27279         * socket/sendto.c: Likewise.
27280         * socket/setsockopt.c: Likewise.
27281         * socket/shutdown.c: Likewise.
27282         * socket/sockatmark.c: Likewise.
27283         * socket/socket.c: Likewise.
27284         * socket/socketpair.c: Likewise.
27285         * stdio-common/ctermid.c: Likewise.
27286         * stdio-common/cuserid.c: Likewise.
27287         * stdio-common/remove.c: Likewise.
27288         * stdio-common/rename.c: Likewise.
27289         * stdio-common/renameat.c: Likewise.
27290         * stdio-common/tempname.c: Likewise.
27291         * stdlib/getcontext.c: Likewise.
27292         * stdlib/makecontext.c: Likewise.
27293         * stdlib/setcontext.c: Likewise.
27294         * stdlib/swapcontext.c: Likewise.
27295         * stdlib/system.c: Likewise.
27296         * streams/fattach.c: Likewise.
27297         * streams/fdetach.c: Likewise.
27298         * streams/getmsg.c: Likewise.
27299         * streams/getpmsg.c: Likewise.
27300         * streams/putmsg.c: Likewise.
27301         * streams/putpmsg.c: Likewise.
27302         * sysdeps/unix/bsd/getpt.c: Likewise.
27303         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27304         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27305         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27307         Likewise.
27308         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27309         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27310         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27311         * sysvipc/msgctl.c: Likewise.
27312         * sysvipc/msgget.c: Likewise.
27313         * sysvipc/msgrcv.c: Likewise.
27314         * sysvipc/msgsnd.c: Likewise.
27315         * sysvipc/semctl.c: Likewise.
27316         * sysvipc/semget.c: Likewise.
27317         * sysvipc/semop.c: Likewise.
27318         * sysvipc/semtimedop.c: Likewise.
27319         * sysvipc/shmat.c: Likewise.
27320         * sysvipc/shmctl.c: Likewise.
27321         * sysvipc/shmdt.c: Likewise.
27322         * sysvipc/shmget.c: Likewise.
27323         * termios/tcdrain.c: Likewise.
27324         * termios/tcflow.c: Likewise.
27325         * termios/tcflush.c: Likewise.
27326         * termios/tcgetattr.c: Likewise.
27327         * termios/tcgetpgrp.c: Likewise.
27328         * termios/tcsendbrk.c: Likewise.
27329         * termios/tcsetattr.c: Likewise.
27330         * termios/tcsetpgrp.c: Likewise.
27331         * time/adjtime.c: Likewise.
27332         * time/clock.c: Likewise.
27333         * time/getitimer.c: Likewise.
27334         * time/gettimeofday.c: Likewise.
27335         * time/setitimer.c: Likewise.
27336         * time/settimeofday.c: Likewise.
27337         * time/stime.c: Likewise.
27338         * time/time.c: Likewise.
27339
27340 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27341
27342         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27343         /usr/old/bin.
27344
27345         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27346         instead of spaces.
27347         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27348
27349 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27350
27351         [BZ #14796]
27352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27353         FE_TONEAREST before applying Dekker multiplication and Knuth
27354         addition.  Clear inexact exceptions and check for exact zero
27355         results afterwards.
27356         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27357         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27358         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27359         * math/libm-test.inc (fma_test): Add more tests.
27360         (fma_test_towardzero): Likewise.
27361         (fma_test_downward): Likewise.
27362         (fma_test_upward): Likewise.
27363         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27364         function.
27365         (libc_fesetround): New macro.
27366         (libc_fesetroundf): Likewise.
27367         (libc_fesetroundl): Likewise.
27368         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27369         function.
27370         (libc_fesetround_387): Likewise.
27371         (libc_fesetroundf): New macro.
27372         (libc_fesetround): Likewise.
27373         (libc_fesetroundl): Likewise.
27374         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27375         function.
27376         (libc_fesetroundf): New macro.
27377         (libc_fesetround): Likewise.
27378         (libc_fesetroundl): Likewise.
27379         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27380         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27381         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27382         libm_hidden_ver.
27383         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27384         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27385         libm_hidden_def.
27386         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27387         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27388         libm_hidden_ver.
27389         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27390         libm_hidden_def.
27391
27392         [BZ #3439]
27393         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27394         integer constant usable in #if and use that to give value to enum
27395         constant.
27396         (FE_DIVBYZERO): Likewise.
27397         (FE_UNDERFLOW): Likewise.
27398         (FE_OVERFLOW): Likewise.
27399         (FE_INVALID): Likewise.
27400         (FE_INVALID_SNAN): Likewise.
27401         (FE_INVALID_ISI): Likewise.
27402         (FE_INVALID_IDI): Likewise.
27403         (FE_INVALID_ZDZ): Likewise.
27404         (FE_INVALID_IMZ): Likewise.
27405         (FE_INVALID_COMPARE): Likewise.
27406         (FE_INVALID_SOFTWARE): Likewise.
27407         (FE_INVALID_SQRT): Likewise.
27408         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27409         (FE_TONEAREST): Likewise.
27410         (FE_TOWARDZERO): Likewise.
27411         (FE_UPWARD): Likewise.
27412         (FE_DOWNWARD): Likewise.
27413         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27414         (FE_DIVBYZERO): Likewise.
27415         (FE_OVERFLOW): Likewise.
27416         (FE_UNDERFLOW): Likewise.
27417         (FE_INEXACT): Likewise.
27418         (FE_TONEAREST): Likewise.
27419         (FE_DOWNWARD): Likewise.
27420         (FE_UPWARD): Likewise.
27421         (FE_TOWARDZERO): Likewise.
27422         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27423         (FE_UNDERFLOW): Likewise.
27424         (FE_OVERFLOW): Likewise.
27425         (FE_DIVBYZERO): Likewise.
27426         (FE_INVALID): Likewise.
27427         (FE_TONEAREST): Likewise.
27428         (FE_TOWARDZERO): Likewise.
27429         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27430         (FE_OVERFLOW): Likewise.
27431         (FE_UNDERFLOW): Likewise.
27432         (FE_DIVBYZERO): Likewise.
27433         (FE_INEXACT): Likewise.
27434         (FE_TONEAREST): Likewise.
27435         (FE_TOWARDZERO): Likewise.
27436         (FE_UPWARD): Likewise.
27437         (FE_DOWNWARD): Likewise.
27438         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27439         (FE_DIVBYZERO): Likewise.
27440         (FE_OVERFLOW): Likewise.
27441         (FE_UNDERFLOW): Likewise.
27442         (FE_INEXACT): Likewise.
27443         (FE_TONEAREST): Likewise.
27444         (FE_DOWNWARD): Likewise.
27445         (FE_UPWARD): Likewise.
27446         (FE_TOWARDZERO): Likewise.
27447
27448 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27449
27450         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27451
27452 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27453
27454         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27455         commands.  Quote $PWD.
27456         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27457         -x" by "export".
27458         (remove_newlines): Remove.
27459
27460 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27461
27462         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27463         * stdlib/stdlib.h (atof): Moved to ...
27464         * include/bits/stdlib-float.h: Here.  New file.
27465         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27466         * stdlib/bits/stdlib-float.h: New file.
27467         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27468         -mno-sse -mno-mmx.
27469         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27470         <xmmintrin.h>.
27471
27472 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27473
27474         * conform/conformtest.pl (@headers): Add fenv.h.
27475         * conform/data/fenv.h-data: New file.
27476         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27477         include of <math/fenv.h>.
27478
27479         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27480         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27481         && !UNIX98].  Enables tests for XOPEN2K8.
27482         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27483         POSIX2008]: Likewise.
27484
27485         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27486         (struct rusage): Do not expect type or its members.
27487
27488         [BZ #3439]
27489         * math/math.h (FP_NAN): Define macro to integer constant usable in
27490         #if and use that to give value to enum constant.
27491         (FP_INFINITE): Likewise.
27492         (FP_ZERO): Likewise.
27493         (FP_SUBNORMAL): Likewise.
27494         (FP_NORMAL): Likewise.
27495
27496 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27497
27498         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27499         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27500         arguments.
27501
27502 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27503
27504         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27505         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27506         autoconf-time if not.
27507         * configure.in: Remove AC_PREREQ.
27508
27509 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27510
27511         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27512         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27513         of the internal implementation.
27514
27515 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27516
27517         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27518         except include of <misc/sys/syslog.h>.
27519
27520 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27521
27522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27523         function returns with a NULL context exit with zero.
27524
27525 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27526
27527         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27528
27529 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27530
27531         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27532         (run_program_cmd): This.
27533         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27534         (tst_langinfo): New variable.  Use it.
27535
27536 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27537
27538         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27539         floating point opcodes.
27540
27541 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27542
27543         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27544         variable.
27545
27546         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27547
27548         * sysdeps/mach/hurd/powerpc: Remove directory.
27549         * sysdeps/mach/powerpc: Likewise.
27550
27551 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27552
27553         * scripts/check-local-headers.sh: Ignore c++ headers.
27554
27555 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27556
27557         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27558         __libc_cleanup_region_start argument.
27559
27560 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27561
27562         [BZ #14784]
27563         [BZ #14785]
27564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27565         x * y using scaling, not as x * y + z.
27566         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27567         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27568         * math/libm-test.inc (fma_test): Add more tests.
27569         (fma_test_towardzero): Likewise.
27570         (fma_test_downward): Likewise.
27571         (fma_test_upward): Likewise.
27572
27573 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27574
27575         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27576
27577 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27578
27579         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27580         New variable.
27581
27582 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27583
27584         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27585
27586 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27587
27588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27589         Fix sort order.
27590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27591         Likewise.
27592
27593 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27594
27595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27596         Fix the order of the list for glibc 2.17.
27597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27598         Likewise.
27599
27600 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27601
27602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27603
27604 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27605
27606         [BZ #14610]
27607         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27608         for low part of x being zero before using __atanl (y).
27609         * math/libm-test.inc (atan2_test): Add another test.
27610
27611         * manual/install.texi (Configuring and compiling): Document
27612         general use of test-wrapper and test-wrapper-env.
27613         * INSTALL: Regenerated.
27614
27615         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27616         (__fma): Do not extract and scale down low bits on after-rounding
27617         systems when result rounded to normal precision would have normal
27618         exponent.
27619         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27620         (__fmal): Do not extract and scale down low bits on after-rounding
27621         systems when result rounded to normal precision would have normal
27622         exponent.
27623         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27624         (__fmal): Do not extract and scale down low bits on after-rounding
27625         systems when result rounded to normal precision would have normal
27626         exponent.
27627         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27628         macro.
27629         (fma_test): Add more tests.
27630         (fma_test_towardzero): Likewise.
27631         (fma_test_downward): Likewise.
27632         (fma_test_upward): Likewise.
27633
27634 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27635
27636         * sysdeps/i386/tininess.h: Renamed to ...
27637         * sysdeps/x86/tininess.h: This.
27638         * sysdeps/x86_64/tininess.h: Removed.
27639
27640 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27641
27642         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27643         input.  Use $(build-program-cmd).
27644         ($(objpfx)tst-array1-static.out): Likewise.
27645         ($(objpfx)tst-array2.out): Likewise.
27646         ($(objpfx)tst-array3.out): Likewise.
27647         ($(objpfx)tst-array4.out): Likewise.
27648         ($(objpfx)tst-array5.out): Likewise.
27649         ($(objpfx)tst-array5-static.out): Likewise.
27650
27651 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27652
27653         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27654         if defined.
27655
27656         * nss/nsswitch.h (nss_interface_function): Provide new
27657         macro for use with NSS functions.
27658         * grp/initgroups.c: Use new macro.
27659         * nss/getXXbyYY.c: Likewise.
27660         * nss/getXXbyYY_r.c: Likewise.
27661         * nss/getXXent.c: Likewise.
27662         * nss/getXXent_r.c: Likewise.
27663         * sysdeps/posix/getaddrinfo.c: Likewise.
27664
27665 2012-10-30  Andreas Jaeger  <aj@suse.de>
27666
27667         * po/ru.po: Update Russion translation from translation project.
27668
27669 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27670
27671         [BZ #14152]
27672         [BZ #14783]
27673         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27674         result and shift together with sticky bit instead of replicating
27675         round-to-nearest rounding.
27676         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27677         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27678         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27679         missing underflow exceptions.
27680         (fma_test_towardzero): Add more tests.
27681         (fma_test_downward): Likewise.
27682         (fma_test_upward): Likewise.
27683
27684         [BZ #14047]
27685         * sysdeps/generic/tininess.h: New file.
27686         * sysdeps/i386/tininess.h: Likewise.
27687         * sysdeps/sh/tininess.h: Likewise.
27688         * sysdeps/x86_64/tininess.h: Likewise.
27689         * stdlib/tst-strtod-underflow.c: Likewise.
27690         * stdlib/tst-tininess.c: Likewise.
27691         * stdlib/strtod_l.c: Include <tininess.h>.
27692         (round_and_return): Do not set errno for exact underflow cases.
27693         Force an underflow exception when setting errno for underflow.
27694         Determine underflow based on rounding to normal precision if
27695         TININESS_AFTER_ROUNDING.
27696         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27697         ERANGE for exact underflow cases.
27698         * stdlib/Makefile (tests): Add tst-tininess and
27699         tst-strtod-underflow.
27700         ($(objpfx)tst-tininess): Use $(link-libm).
27701         ($(objpfx)tst-strtod-underflow): Likewise.
27702
27703 2012-10-30  Andreas Jaeger  <aj@suse.de>
27704
27705         [BZ#14767]
27706         * elf/Makefile (tests): Remove conditional for have-initfini-array
27707         since this is now always required and the variable does not exist
27708         anymore.
27709         (tests-static): Likewise.
27710         (modules-names): Likewise.
27711
27712         * po/eo.po: Add Esperanto translation from translation project.
27713
27714         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27715         merged with constructor/destructor.
27716         (init_array): Likewise.
27717         * elf/tst-array2dep.c (fini_array): Likewise.
27718         (init_array): Likewise.
27719
27720 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27721
27722         * manual/message.texi: Delete @cartouche tags.
27723
27724 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27725
27726         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27727         EOPNOTSUPP.
27728         * sysdeps/mach/hurd/fsync.c: Likewise.
27729
27730         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27731         [_POSIX_REALTIME_SIGNALS]: Change condition to
27732         [_POSIX_REALTIME_SIGNALS > 0].
27733
27734 2012-10-27  Andreas Jaeger  <aj@suse.de>
27735
27736         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27737         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27738         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27739         [__WORDSIZE != 64]: Likewise.
27740
27741 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27742
27743         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27744         *  iconvdata/tst-tables.sh: Likewise.
27745
27746 2012-10-25  David S. Miller  <davem@davemloft.net>
27747
27748         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27749         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27750         of strtoull.
27751
27752         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27753         ifunc-impl-list.c
27754         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27755         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27756         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27757         file.
27758
27759 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27760
27761         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27762         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27763         __getdirentries.
27764
27765 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27766             Jim Blandy  <jimb@codesourcery.com>
27767
27768         * scripts/cross-test-ssh.sh: New file.
27769         * manual/install.texi (Configuring and compiling): Document use of
27770         cross-test-ssh.sh.
27771         * INSTALL: Regenerated.
27772
27773 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27774
27775         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27776         EOPNOTSUPP.
27777
27778 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27779
27780         * Makeconfig (run-program-prefix): Fix comment.
27781
27782 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27783             Jim Blandy  <jimb@codesourcery.com>
27784
27785         * Makeconfig (test-wrapper): New variable,
27786         (test-wrapper-env): Likewise.
27787         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27788         (run-built-tests): Define to yes.
27789         (run-program-prefix): Use $(test-wrapper).
27790         (built-program-cmd): Likewise.
27791         * Rules (make-test-out): Use $(test-wrapper-env) and
27792         $(host-built-program-cmd).
27793         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27794         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27795         tst-pathopt.sh.
27796         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27797         $(test-wrapper-env) to tst-rtld-load-self.sh.
27798         ($(objpfx)order2.out): Use $(test-wrapper).
27799         ($(objpfx)tst-initorder.out): Likewise.
27800         ($(objpfx)tst-initorder2.out): Likewise.
27801         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27802         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27803         (test_wrapper_env): New variable.  Use it to run ld.so.
27804         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27805         Use it to run ld.so.
27806         (test_wrapper_env): Likewise.
27807         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27808         $(test-wrapper) to run-iconv-test.sh.
27809         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27810         (ICONV): Use $test_wrapper.
27811         * posix/Makefile ($(objpfx)globtest.out): Pass
27812         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27813         globtest.sh, not $(run-program-prefix).
27814         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27815         (test_wrapper): Likewise.
27816         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27817         set together with run_via_rtld_prefix.
27818         (run_program_prefix): Define in terms of test_wrapper and
27819         run_via_rtld_prefix.
27820
27821 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27822
27823         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27824         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27825         Targets removed.
27826
27827         [BZ #14743]
27828         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27829         Declare __clock_getres, __clock_gettime, __clock_settime,
27830         __clock_nanosleep, and __clock_getcpuclockid.
27831         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27832         Remove librt_hidden_def (clock_gettime).
27833         * sysdeps/unix/clock_gettime.c: Likewise.
27834         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27835         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27836         * rt/clock_getres.c: Define __clock_getres as an alias.
27837         * sysdeps/posix/clock_getres.c: Likewise.
27838         * rt/clock_settime.c: Define __clock_settime as an alias.
27839         * sysdeps/unix/clock_settime.c: Likewise.
27840         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27841         * sysdeps/unix/clock_nanosleep.c: Likewise.
27842         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27843         * rt/clock-compat.c: New file.
27844         * rt/Makefile (librt-routines): Add clock-compat and move
27845         $(clock-routines) to ...
27846         (routines): ... here, new variable.
27847         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27848         Don't add get_clockfreq here.
27849         * rt/Versions (libc: GLIBC_2.17): New version set.
27850         Add clock_* symbols here.
27851         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27852         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27853         (GLIBC_2.17): Add clock_* symbols.
27854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27856         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27858         Likewise.
27859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27860         Likewise.
27861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27865         * NEWS: Mention the move.
27866
27867         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27868         Use __open, __read, __close rather than their public counterparts.
27869         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27870         (__get_clockfreq_via_cpuinfo): Likewise.
27871         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27872         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27873
27874         * config.h.in (HAVE_IFUNC): New #undef.
27875         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27876         was successful.
27877         * configure: Regenerated.
27878
27879 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27880
27881         * configure.in: Move READELF check to start of file.
27882         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27883         libc_cv_asm_gnu_indirect_function in the process.
27884         * configure: Regenerated.
27885
27886 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27887
27888         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27889         send the output to /dev/null.
27890         (libc_cv_cc_with_libunwind): Likewise.
27891         (libc_cv_as_noexecstack): Likewise.
27892         * configure: Regenerate.
27893
27894 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27895
27896         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27897
27898         * posix/globtest.sh (TMPDIR): Do not set.
27899         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27900         (testout): Likewise.
27901
27902 2012-10-24  Andreas Jaeger  <aj@suse.de>
27903
27904         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27905         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27906         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27907         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27908         posix_fadvise64, posix_fallocate64.
27909
27910         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27911         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27912         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27913         Likewise.
27914         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27915         Likewise.
27916         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27917
27918         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27919         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27920         <bits/fcntl-linux.h>.
27921         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27922
27923         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27924         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27925         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27926         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27927         [__WORDSIZE != 64]: Likewise.
27928
27929 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27930
27931         * Makeconfig (run-built-tests): New variable.
27932         * Rules [$(cross-compiling) = yes]: Change condition to
27933         [$(run-built-tests) = no].
27934         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27935         to [$(run-built-tests) = yes].
27936         * elf/Makefile [$(cross-compiling) = no]: Likewise
27937         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27938         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27939         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27940         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27941         * io/Makefile [$(cross-compiling) = no]: Likewise.
27942         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27943         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27944         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27945         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27946         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27947         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27948         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27949         * string/Makefile [$(cross-compiling) = no]: Likewise.
27950
27951         * posix/Makefile ($(objpfx)globtest.out): Pass
27952         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27953         $(rtld-installed-name).
27954         * posix/globtest.sh (elf_objpfx): Remove variable.
27955         (rtld_installed_name): Likewise.
27956         (library_path): Likewise.
27957         (run_program_prefix): New variable.  Use for running globtest
27958         binary.
27959
27960 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27961             Joseph Myers  <joseph@codesourcery.com>
27962
27963         * Makeconfig (host-built-program-cmd): New variable.
27964         * elf/Makefile (tst-stackguard1-ARGS): Use
27965         $(host-built-program-cmd).
27966         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27967         (tst-spawn-ARGS): Likewise.
27968         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27969
27970 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27971             Jim Blandy  <jimb@codesourcery.com>
27972
27973         * Makeconfig (run-via-rtld-prefix): New variable.
27974         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27975         (built-program-cmd): Likewise.
27976
27977 2012-10-22  Andreas Jaeger  <aj@suse.de>
27978
27979         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27980         __O_RSYNC if it exists, otherwise to O_SYNC.
27981
27982 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27983             Joseph Myers  <joseph@codesourcery.com>
27984
27985         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27986         /dev/null.
27987         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27988         from /dev/null
27989         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27990         /dev/null.
27991
27992 2012-10-22  Andreas Jaeger  <aj@suse.de>
27993
27994         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27995         Define always.
27996         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27997
27998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27999         bits/fcntl-linux.h.
28000
28001         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28002         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28003
28004         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28005         to __O_LARGEFILE.
28006         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28007         to __O_LARGEFILE.
28008
28009 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28010             Joseph Myers  <joseph@codesourcery.com>
28011
28012         * config.make.in (NM): New variable.
28013
28014 2012-10-21  Andreas Jaeger  <aj@suse.de>
28015
28016         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28017         definitions and declarations that are provided by
28018         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28019
28020 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28021
28022         [BZ #14683]
28023         * elf/Makefile (tests-static): Add tst-leaks1-static.
28024         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28025         ($(objpfx)tst-leaks1-static): New rule.
28026         ($(objpfx)tst-leaks1-static-mem): Likewise.
28027         (tst-leaks1-static-ENV): New macro.
28028         * elf/dl-open.c (dl_open_worker): Check the main application
28029         only if SHARED is defined.
28030         * elf/tst-leaks1-static.c: New file.
28031
28032 2012-10-20  Andreas Jaeger  <aj@suse.de>
28033
28034         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28035         generic values for Linux.
28036         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28037         and declarations that are provided by <bits/fcntl-linux.h> and
28038         include <bits/fcntl-linux.h>.
28039         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28040         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28041
28042 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28043
28044         * io/fcntl.h: Move include of <bits/types.h> to the top and
28045         include it unconditionally.
28046
28047 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28048
28049         * wcsmbs/Makefile (tests-ifunc): New variable.
28050         (tests): Add $(tests-ifunc).
28051         * wcsmbs/test-wcschr-ifunc.c: New file.
28052         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28053         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28054         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28055         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28056         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28057
28058         * string/Makefile (tests-ifunc): New variable.
28059         (tests): Add $(tests-ifunc).
28060         * string/test-memccpy.c (TEST_NAME): New macro.
28061         * string/test-memchr.c (TEST_NAME): Likewise.
28062         * string/test-memcmp.c (TEST_NAME): Likewise.
28063         * string/test-memcpy.c (TEST_NAME): Likewise.
28064         * string/test-memmem.c (TEST_NAME): Likewise.
28065         * string/test-memmove.c (TEST_NAME): Likewise.
28066         * string/test-memset.c (TEST_NAME): Likewise.
28067         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28068         * string/test-stpcpy.c (TEST_NAME): Likewise.
28069         * string/test-stpncpy.c (TEST_NAME): Likewise.
28070         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28071         * string/test-strcasestr.c (TEST_NAME): Likewise.
28072         * string/test-strcat.c (TEST_NAME): Likewise.
28073         * string/test-strchr.c (TEST_NAME): Likewise.
28074         * string/test-strcmp.c(TEST_NAME): Likewise.
28075         * string/test-strcpy.c (TEST_NAME): Likewise.
28076         * string/test-strcspn.c (TEST_NAME): Likewise.
28077         * string/test-strlen.c (TEST_NAME): Likewise.
28078         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28079         * string/test-strncmp.c (TEST_NAME): Likewise.
28080         * string/test-strncpy.c (TEST_NAME): Likewise.
28081         * string/test-strnlen.c (TEST_NAME): Likewise.
28082         * string/test-strpbrk.c (TEST_NAME): Likewise.
28083         * string/test-strrchr.c (TEST_NAME): Likewise.
28084         * string/test-strspn.c (TEST_NAME): Likewise.
28085         * string/test-strstr.c (TEST_NAME): Likewise.
28086         * string/test-bcopy-ifunc.c: New file.
28087         * string/test-bzero-ifunc.c: Likewise.
28088         * string/test-memccpy-ifunc.c: Likewise.
28089         * string/test-memchr-ifunc.c: Likewise.
28090         * string/test-memcmp-ifunc.c: Likewise.
28091         * string/test-memcpy-ifunc.c: Likewise.
28092         * string/test-memmem-ifunc.c: Likewise.
28093         * string/test-memmove-ifunc.c: Likewise.
28094         * string/test-mempcpy-ifunc.c: Likewise.
28095         * string/test-memset-ifunc.c: Likewise.
28096         * string/test-rawmemchr-ifunc.c: Likewise.
28097         * string/test-stpcpy-ifunc.c: Likewise.
28098         * string/test-stpncpy-ifunc.c: Likewise.
28099         * string/test-strcasecmp-ifunc.c: Likewise.
28100         * string/test-strcasestr-ifunc.c: Likewise.
28101         * string/test-strcat-ifunc.c: Likewise.
28102         * string/test-strchr-ifunc.c: Likewise.
28103         * string/test-strchrnul-ifunc.c: Likewise.
28104         * string/test-strcmp-ifunc.c: Likewise.
28105         * string/test-strcpy-ifunc.c: Likewise.
28106         * string/test-strcspn-ifunc.c: Likewise.
28107         * string/test-strlen-ifunc.c: Likewise.
28108         * string/test-strncasecmp-ifunc.c: Likewise.
28109         * string/test-strncat-ifunc.c: Likewise.
28110         * string/test-strncmp-ifunc.c: Likewise.
28111         * string/test-strncpy-ifunc.c: Likewise.
28112         * string/test-strnlen-ifunc.c: Likewise.
28113         * string/test-strpbrk-ifunc.c: Likewise.
28114         * string/test-strrchr-ifunc.c: Likewise.
28115         * string/test-strspn-ifunc.c: Likewise.
28116         * string/test-strstr-ifunc.c: Likewise.
28117
28118         * debug/Makefile (tests-ifunc): New variable.
28119         (tests): Add $(tests-ifunc).
28120         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28121         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28122         * debug/test-stpcpy_chk-ifunc.c: New file.
28123         * debug/test-strcpy_chk-ifunc.c: Likewise.
28124
28125 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28126
28127         [BZ #13601]
28128         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28129         header is not read in.
28130
28131 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28132
28133         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28134         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28135         directly.  Pass built executable to script as
28136         $(built-program-cmd).
28137         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28138         $testprogram without using LD_LIBRARY_PATH and $ldso.
28139
28140         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28141         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28142         $(rtld-installed-name).
28143         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28144         (rtld_installed_name): Likewise.
28145         (library_path): Likewise.
28146         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28147         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28148         $(run-program-prefix) to tst-tables.sh.
28149         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28150         it to run tst-table-from and tst-table-to.
28151         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28152         Pass it to tst-table.sh.
28153         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28154         $(run-program-prefix) to tst-gettext.sh.
28155         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28156         tst-translit.sh.
28157         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28158         tst-gettext2.sh.
28159         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28160         to run tst-gettext.
28161         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28162         to run tst-gettext2.
28163         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28164         to run tst-translit.
28165         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28166         $(run-program-prefix) to tst-mtrace.sh.
28167         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28168         to run tst-mtrace.
28169         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28170         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28171         $(rtld-installed-name).
28172         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28173         (rtld_installed_name): Likewise.
28174         (run_program_prefix): New variable.  Use it to run wordexp-test.
28175
28176         * Makeconfig (ARCH): Remove all definitions.
28177         (machine): Likewise.
28178         [ARCH]: Remove conditional code.
28179         [!objdir]: Give error.
28180         [!objdir] (objpfx): Remove.
28181         [!objdir] (common-objpfx): Likewise.
28182         [!objdir] (common-objdir): Likewise.
28183         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28184         AC_CONFIG_FILES call.
28185         * configure: Regenerated.
28186
28187         [BZ #13888]
28188         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28189         or TMPDIR.
28190         (testout): Likewise.
28191
28192         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28193         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28194         $(rtld-installed-name).
28195         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28196         (rtld_installed_name): Likwise.
28197         (runit): Remove function.
28198         (run_getconf): New variable,  Use it for running getconf binary.
28199
28200 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28201
28202         [BZ #14716]
28203         * string/test-memmem.c (check_result): New function.
28204         (do_one_test): Use it.
28205         (check1): New function.
28206         (test_main): Use it.
28207
28208 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28209
28210         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28211
28212 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28213
28214         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28215         (_G_LSEEK64): Likewise.
28216         (_G_MMAP64): Likewise.
28217         (_G_FSTAT64): Likewise.
28218         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28219         (_G_LSEEK64): Likewise.
28220         (_G_MMAP64): Likewise.
28221         (_G_FSTAT64): Likewise.
28222         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28223         unconditional.  Call __mmap64 directly.
28224         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28225         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28226         __lseek64 directly.
28227         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28228         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28229         __mmap64 directly.
28230         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28231         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28232         __lseek64 directly.
28233         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28234         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28235         __lseek64 directly.
28236         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28237         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28238         __lseek64 directly.
28239         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28240         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28241         __fxstat64 directly.
28242         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28243         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28244         unconditional.
28245         (freopen64) [!_G_OPEN64]: Remove conditional code.
28246         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28247         unconditional.
28248         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28249         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28250         unconditional.
28251         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28252         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28253         unconditional.
28254         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28255         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28256         unconditional.
28257         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28258         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28259         unconditional.
28260         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28261         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28262         unconditional.
28263         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28264         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28265         unconditional.
28266         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28267
28268 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28269
28270         [BZ #12140]
28271         * manual/memory.texi (Malloc Tunable Parameters): Add note
28272         about free list pointers overwriting some perturb bytes.
28273         Wording suggested by Roland McGrath.
28274
28275 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28276
28277         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28278         (lgamma_test): Likewise.
28279         (tgamma_test): Likewise.
28280
28281 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28282
28283         [BZ #14700]
28284         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28285         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28286
28287 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28288
28289         * NEWS: Mention BZ #14716.
28290         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28291         when removing AVAILABLE1_USES_J macro.
28292
28293 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28294
28295         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28296         (__bswap_64): __uint64_t for unsigned 64-bit int.
28297
28298 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28299
28300         * include/string.h (memmem): Declare libc hidden alias.
28301         * string/memmem.c (memmem): Define libc hidden alias.
28302         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28303         __read, __close instead of open, read, close.
28304
28305 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28306
28307         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28308         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28309         global and hidden.
28310         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28311         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28312         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28313         Likewise.
28314         (__rawmemchr_sse2): Likewise.
28315         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28316         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28317         (__strchr_sse2): Likewise.
28318         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28319         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28320         (__strcasecmp_sse2): Likewise.
28321         (__strncasecmp_sse2): Likewise.
28322         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28323         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28324         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28325         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28326         (__strrchr_sse2): Likewise.
28327         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28328         ifunc-impl-list.c.
28329         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28330         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28331         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28332         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28333         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28334         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28335         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28336         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28337         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28338         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28339         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28340         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28341         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28342         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28343         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28344         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28345         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28346         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28347         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28348         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28349         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28350         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28351         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28352         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28353         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28354         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28355         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28356         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28357         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28358         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28359
28360         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28361         global and hidden.
28362         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28363         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28364         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28365         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28366         Likewise.
28367         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28368         Likewise.
28369         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28370         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28371         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28372         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28373         ifunc-impl-list.c.
28374         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28375         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28376         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28377         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28378         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28379         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28380         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28381         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28382         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28383         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28384         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28385         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28386         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28387         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28388         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28389         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28390         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28391         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28392         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28393         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28394         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28395         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28396         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28397         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28398         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28399         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28400         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28401         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28402         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28403         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28404         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28405         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28406         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28407         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28408         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28409         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28410         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28411         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28412         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28413         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28414         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28415
28416         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28417         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28418         * include/ifunc-impl-list.h: New file.
28419         * misc/ifunc-impl-list.c: Likewise.
28420         * misc/Makefile (routines): Add ifunc-impl-list.
28421         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28422         * string/test-string.h: Include <ifunc-impl-list.h>.
28423         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28424         TEST_NAME]: New variables.
28425         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28426         are defined.
28427         (test_init): Call __libc_ifunc_impl_list to initialize
28428         func_list if TEST_IFUNC and TEST_NAME are defined.
28429
28430         * string/Makefile (strop-tests): Add bcopy and bzero.
28431         * string/test-bcopy.c: New file.
28432         * string/test-bzero.c: Likewise.
28433         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28434         defined.
28435         * string/test-memset.c: Support bzero test if TEST_BZERO is
28436         defined.
28437         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28438         __libc_memmove.
28439         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28440         __libc_memset.
28441         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28442         of memset.
28443
28444 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28445
28446         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28447         * configure: Regenerated.
28448
28449         * Makeconfig (+link-static-before-libc): Don't include
28450         $(link-static-libc).
28451
28452         * libio/libio.h (_IO_pos_t): Remove.
28453
28454 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28455
28456         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28457         McGrath.
28458
28459 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28460
28461         * crypt/crypt-entry.c: Include fips-private.h.
28462         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28463         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28464         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28465         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28466
28467 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28468
28469         * crypt/crypt-private.h: Include stdbool.h.
28470         (_ufc_setup_salt_r): Return bool.
28471         * crypt/crypt-entry.c: Include errno.h.
28472         (__crypt_r): Return NULL with EINVAL for bad salt.
28473         * crypt/crypt_util.c (bad_for_salt): New.
28474         (_ufc_setup_salt_r): Check that salt is long enough and within
28475         the specified alphabet.
28476         * crypt/badsalttest.c: New file.
28477         * crypt/Makefile (tests): Add it.
28478         ($(objpfx)badsalttest): New.
28479
28480 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28481
28482         * NEWS: Add entry for BZ #14602.
28483
28484 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28485
28486         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28487         type-generic.
28488         * math/libm-test.inc: Update comment listing what functions and
28489         macros are tested.
28490         (isgreater_test): New function.
28491         (isgreaterequal_test): Likewise.
28492         (isless_test): Likewise.
28493         (islessequal_test): Likewise.
28494         (islessgreater_test): Likewise.
28495         (isunordered_test): Likewise.
28496         (main): Call the new functions.
28497
28498 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28499
28500         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28501         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28502         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28503         * sysdeps/i386/configure: Regenerated.
28504         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28505         * sysdeps/mach/configure: Regenerated.
28506         * sysdeps/mach/hurd/configure: Regenerated.
28507         * sysdeps/powerpc/configure: Regenerated.
28508         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28509         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28510         * sysdeps/s390/s390-32/configure: Regenerated.
28511         * sysdeps/s390/s390-64/configure: Regenerated.
28512         * sysdeps/sh/configure: Regenerated.
28513         * sysdeps/sparc/configure: Regenerated.
28514         * sysdeps/unix/sysv/linux/configure: Regenerated.
28515         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28516         * sysdeps/x86_64/configure: Regenerated.
28517
28518         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28519         defined.  Don't check if MAP is NULL.
28520
28521 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28522
28523         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28524         (_G_stat64): Likewise.
28525         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28526         (_G_stat64): Likewise.
28527         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28528         instead of struct _G_stat64.
28529         * libio/fileops.c (mmap_remap_check): Likewise.
28530         (decide_maybe_mmap): Likewise.
28531         (_IO_new_file_seekoff): Likewise.
28532         (_IO_file_stat): Likewise.
28533         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28534         _G_off64_t.
28535         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28536         instead of struct _G_stat64.
28537         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28538
28539 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28540
28541         [BZ #14602]
28542         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28543         Replace with ...
28544         (CHECK_EOL): New macro.
28545         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28546         CHECK_EOL.
28547         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28548         Replace with CHECK_EOL.
28549         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28550         Replace with CHECK_EOL.
28551
28552 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28553
28554         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28555         type-generic.
28556         * math/libm-test.inc: Update comment listing what functions and
28557         macros are tested.
28558         (finite_test): New function.
28559         (isinf_test): Likewise.
28560         (isnan_test): Likewise.
28561         (fpclassify_test): Test subnormal input.
28562         (isfinite_test): Likewise.
28563         (isnormal_test): Likewise.
28564         (main): Call the new functions.
28565
28566 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28567
28568         [BZ #14660]
28569         * Makerules (%.dynsym): Force C locale when running
28570         $(OBJDUMP) --dynamic-syms.
28571
28572 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28573
28574         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28575         <stdint.h>.
28576
28577 2012-10-06  David S. Miller  <davem@davemloft.net>
28578
28579         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28580         upper 32-bits of the length value in %o2 since we use branch-on-register
28581         tests which consider the entire 64-bit register.
28582
28583 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28584
28585         * string/test-strstr.c (check2): Add a test for page boundary.
28586
28587 2012-10-05  David S. Miller  <davem@davemloft.net>
28588
28589         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28590         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28591         file.
28592         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28593         sysdep_routines.
28594         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28595         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28596         and bzero when HWCAP_SPARC_CRYPTO is present.
28597
28598 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28599
28600         [BZ #14602]
28601         * string/test-strstr.c (check2): New function.
28602         (test_main): Call check2.
28603
28604         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28605         and bug-strchr1.
28606         * string/bug-strcasestr1.c (do_test): Moved to ...
28607         * string/test-strcasestr.c (check1): Here.  New function.
28608         (do_one_test): Break out result checking code into ...
28609         (check_result): This.  New function.
28610         (do_one_test): Call check_result.
28611         (test_main): Call check1.
28612         * string/bug-strchr1.c (do_test): Moved to ...
28613         * string/test-strchr.c (check1): Here.  New function.
28614         (do_one_test): Break out result checking code into ...
28615         (check_result): This.  New function.
28616         (do_one_test): Call check_result.
28617         (test_main): Call check1.
28618         * string/bug-strstr1.c (main): Moved to ...
28619         * string/test-strstr.c (check1): Here.  New function.
28620         (do_one_test): Break out result checking code into ...
28621         (check_result): This.  New function.
28622         (do_one_test): Call check_result.
28623         (test_main): Call check1.
28624         * string/bug-strcasestr1.c: Removed.
28625         * string/bug-strchr1.c: Likewise.
28626         * string/bug-strstr1.c: Likewise.
28627
28628         * elf/Makefile (dl-routines): Add hwcaps.
28629         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28630         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28631         (_dl_important_hwcaps): Moved to ...
28632         * elf/dl-hwcaps.c: Here.  New file.
28633         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28634
28635         [BZ #14557]
28636         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28637         if IS_IN_rtld isn't defined.
28638
28639         * elf/dl-support.c (_dl_sysinfo_map): New.
28640         Include "get-dynamic-info.h" and "setup-vdso.h".
28641         (_dl_non_dynamic_init): Call setup_vdso.
28642         * elf/dynamic-link.h: Don't include <assert.h>.
28643         (elf_get_dynamic_info): Moved to ...
28644         * elf/get-dynamic-info.h: Here.  New file.
28645         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28646         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28647         * elf/setup-vdso.h: Here.  New file.
28648         * elf/rtld.c: Include "setup-vdso.h".
28649         (dl_main): Call setup_vdso.
28650
28651 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28652
28653         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28654         creal in comment listing functions tested.  List finite, isinf,
28655         isnan, isless, islessequal, isgreater, isgreaterequal,
28656         islessgreater, isunordered, lgamma_r and pow10 as functions and
28657         macros not tested.  Mention which functions not tested are aliases
28658         for other functions.  Fix typo.  Note that signs of NaNs are not
28659         tested.
28660
28661         * scripts/config.guess: Update from config.git.
28662         * scripts/config.sub: Likewise.
28663
28664 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28665
28666         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28667         * misc/madvise.c (madvise): Renamed to __madvise.
28668         Make madvise a weak alias.
28669         * include/sys/mman.h: Declare __madvise.
28670         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28671         * sysdeps/unix/syscalls.list
28672         (madvise): Make __madvise the strong name, and madvise a weak alias.
28673         * sysdeps/unix/sysv/linux/syscalls.list
28674         (madvise, mmap): Remove redundant entries.
28675         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28676         * malloc/malloc.c (mtrim): Likewise.
28677         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28678
28679 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28680
28681         * sysdeps/mach/hurd/dl-cache.c: File removed.
28682         * config.h.in (USE_LDCONFIG): New #undef.
28683         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28684         * configure: Regenerated.
28685         * elf/Makefile (dl-routines): Add dl-cache only under
28686         [$(use-ldconfig) = yes].
28687         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28688         cache on [USE_LDCONFIG].
28689         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28690         [USE_LDCONFIG].
28691         * elf/rtld.c (dl_main): Likewise.
28692
28693 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28694
28695         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28696         _SC_LEVEL4_CACHE_LINESIZE.
28697
28698 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28699
28700         * sysdeps/unix/bsd/confstr.h: File removed.
28701
28702 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28703
28704         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28705         sys/sdt-config.h.
28706
28707 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28708
28709         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28710         Make 'mapoff' field ElfW(Off) rather than off_t.
28711
28712 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28713
28714         * nscd/Makefile: Remove nscd-cflags and all its users.
28715         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28716         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28717
28718         [BZ #10631]
28719         * malloc.c (malloc_printerr): Clarify error message.
28720
28721 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28722
28723         [BZ #14648]
28724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28725         Set bit_FMA_Usable if FMA is supported.
28726         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28727         macro.
28728         (bit_FMA4_Usable): Updated.
28729         (index_FMA_Usable): New macro.
28730         (CPUID_FMA): Likewise
28731         (HAS_FMA): Defined with bit_FMA_Usable.
28732
28733 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28734
28735         * bits/types.h (__swblk_t): Type removed.
28736         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28737         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28738         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28739         (__SWBLK_T_TYPE): Likewise.
28740         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28741         (__SWBLK_T_TYPE): Likewise.
28742         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28743         (__SWBLK_T_TYPE): Likewise.
28744         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28745         (__SWBLK_T_TYPE): Likewise.
28746
28747 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28748             Honza Horak <hhorak@redhat.com>
28749
28750         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28751         (xdr_mapname): Use YPMAXMAP as maxsize.
28752         (xdr_peername): Use YPMAXPEER as maxsize.
28753         (xdr_keydat): Use YPAXRECORD as maxsize.
28754         (xdr_valdat): Use YPMAXRECORD as maxsize.
28755
28756 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28757
28758         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28759
28760         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28761         * csu/init-first.c: ... here.
28762         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28763         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28764         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28765         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28766         * sysdeps/i386/init-first.c: File removed.
28767         * sysdeps/sh/init-first.c: File removed.
28768
28769 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28770
28771         [BZ #14645]
28772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28773         if x * y might underflow to zero and z is zero.
28774         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28775         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28776         * math/libm-test.inc (min_subnorm_value): New variable.
28777         (fma_test): Add more tests.
28778         (fma_test_towardzero): Likewise.
28779         (fma_test_downward): Likewise
28780         (fma_test_upward): Likewise.
28781         (initialize): Set min_subnorm_value.
28782
28783 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28784
28785         [BZ #14638]
28786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28787         0 + 0.
28788         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28789         mode for addition resulting in exact zero.
28790         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28792         exact 0 + 0.
28793         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28794         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28795         * math/libm-test.inc (fma_test): Add more tests.
28796         (fma_test_towardzero): New function.
28797         (fma_test_downward): Likewise.
28798         (fma_test_upward): Likewise.
28799         (main): Call the new functions.
28800
28801 2012-09-28  David S. Miller  <davem@davemloft.net>
28802
28803         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28804
28805 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28806
28807         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28808         instead of SIGALRM.
28809
28810         * sysdeps/gnu/_G_config.h: Moved to ...
28811         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28812         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28813         * sysdeps/generic/_G_config.h: ... here.
28814
28815         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28816
28817         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28818
28819         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28820         Conditionalize target on [libnss_test1.so-version].
28821
28822         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28823
28824         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28825         (elfobjdir): Move out of conditionals.
28826
28827         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28828         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28829         (__nss_lookup_function): Conditionalize label remove_from_tree on
28830         [!DO_STATIC_NSS || SHARED], matching its only use.
28831
28832 2012-09-28  David S. Miller  <davem@davemloft.net>
28833
28834         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28835         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28836         file.
28837         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28838         sysdep_routines.
28839         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28840         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28841         when HWCAP_SPARC_CRYPTO is present.
28842
28843 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28844
28845         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28846
28847 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28848
28849         [BZ #6530]
28850         * stdio-common/vfprintf.c (process_string_arg): Revert
28851         2000-07-22 change.
28852
28853 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28854
28855         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28856         for testcase.
28857         * stdio-common/tst-sprintf.c: Include <locale.h>
28858         (main): Test sprintf's handling of incomplete multibyte
28859         characters.
28860
28861 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28862
28863         * elf/dl-runtime.c (VERSYMIDX): Removed.
28864         * elf/dl-version.c (VERSYMIDX): Likewise.
28865         * elf/do-rel.h (VERSYMIDX): Likewise.
28866         (VALIDX): Likewise.
28867         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28868         * elf/rtld.c (VALIDX): Likewise.
28869         (ADDRIDX): Likewise.
28870         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28871         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28872         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28873         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28874         (VALIDX): Likewise.
28875         (ADDRIDX): Likewise.
28876
28877 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28878
28879         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28880
28881 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28882
28883         [BZ #11438]
28884         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28885         to global scope.
28886         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28887         addresses are in the same scope as 192.0.2/24.
28888         * posix/gai.conf: Document new scope table defaults.
28889
28890 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28891
28892         [BZ #5298]
28893         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28894         for ftell.  Compute offsets from write pointers instead.
28895         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28896
28897 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28898
28899         [BZ #14543]
28900         * libio/Makefile (tests): New test case tst-fseek.
28901         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28902         combination works in wide mode.
28903         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28904         state when the external buffer state changes.
28905
28906 2012-09-27  David S. Miller  <davem@davemloft.net>
28907
28908         [BZ #14376]
28909         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28910         pass reloc->r_addend in as the 'high' argument to
28911         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28912
28913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28914
28915 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28916
28917         * rt/tst-aio2.c: Include <pthread.h>.
28918         * rt/tst-aio3.c: Likewise.
28919
28920 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28921
28922         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28923
28924 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28925
28926         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28927         contents on [SHARED].
28928
28929 2012-09-26  Marek Polacek  <polacek@redhat.com>
28930
28931         [BZ #14530]
28932         [BZ #13741]
28933         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28934         for C++ and GCC <4.3 as well as for non GCC compilers.
28935
28936 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28937
28938         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28939
28940 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28941
28942         * Makefile.in (all, install): Declare with .PHONY.
28943         Reported by Michael Hope <michael.hope@linaro.org>.
28944
28945 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28946
28947         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28948         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28949         system header.
28950         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28951         Likewise.
28952         (sydep_routines): Add the new and the internal functions.
28953         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28954         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28956         (GLIBC_2.17): Add the new function.
28957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28958         (GLIBC_2.17): Likewise.
28959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28960         (GLIBC_2.17): Likewise.
28961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28962         (GLIBC_2.17): Likewise.
28963         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28964
28965 2012-09-25  Alan Modra  <amodra@gmail.com>
28966
28967         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28968         Add release barrier before setting once_control to say
28969         initialisation is done.  Add hints on lwarx.  Use macro in
28970         place of isync.
28971         (clear_once_control): Add release barrier.
28972
28973 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28974
28975         [BZ #13629]
28976         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28977         specially.
28978         * math/s_clog10.c (__clog10): Likewise.
28979         * math/s_clog10f.c (__clog10f): Likewise.
28980         * math/s_clog10l.c (__clog10l): Likewise.
28981         * math/s_clogf.c (__clogf): Likewise.
28982         * math/s_clogl.c (__clogl): Likewise.
28983         * math/Makefile (libm-calls): Add x2y2m1.
28984         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28985         (__x2y2m1): Likewise.
28986         (__x2y2m1l): Likewise.
28987         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28988         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28989         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28990         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28991         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28992         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28993         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28994         * sysdeps/i386/fpu/libm-test-ulps: Update.
28995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28996
28997         [BZ #14621]
28998         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28999         int as type of variable DEPTH.
29000         (glob): Use size_t instead of int as type of variables NEWCOUNT
29001         and OLD_PATHC.
29002
29003 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29004
29005         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29006         Add s_sincosf-sse2.
29007         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29008         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29009         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29010         macros for using routine as __sincosf_ia32.
29011         Use macro for function declaration and weak_alias.
29012         * sysdeps/i386/fpu/libm-test-ulps: Update.
29013
29014         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29015         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29016
29017         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29018         subnormal argument.
29019         * math/s_cexpf.c (__cexpf): Likewise.
29020         * math/s_csinf.c (__csinf): Likewise.
29021         * math/s_csinhf.c (__csinhf): Likewise.
29022         * math/s_ctanf.c (__ctanf): Likewise.
29023         * math/s_ctanhf.c (__ctanhf): Likewise.
29024         * math/s_ccosh.c (__ccoshf): Likewise.
29025         * math/s_cexp.c (__cexpl): Likewise.
29026         * math/s_csin.c (__csin): Likewise.
29027         * math/s_csinh.c (__csinh): Likewise.
29028         * math/s_ctan.c (__ctan): Likewise.
29029         * math/s_ctanh.c (ctanh): Likewise.
29030         * math/s_ccoshl.c (__ccoshl): Likewise.
29031         * math/s_cexpl.c (__cexpl): Likewise.
29032         * math/s_csinl.c (__csinl): Likewise.
29033         * math/s_csinhl.c (__csinhl): Likewise.
29034         * math/s_ctanl.c (__ctanl): Likewise.
29035         * math/s_ctanhl.c (__ctanhl): Likewise.
29036
29037 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29038
29039         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29040         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29041         (_IO_off_t): Define to __off_t, not _G_off_t.
29042         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29043         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29044         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29045         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29046         type of __dummy and __dummy2 fields.
29047         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29048         (_G_ssize_t): Likewise.
29049         (_G_off_t): Likewise.
29050         (_G_pid_t): Likewise.
29051         (_G_uid_t): Likewise.
29052         (_G_wchar_t): Likewise.
29053         (_G_wint_t): Likewise.
29054         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29055         (_G_ssize_t): Likewise.
29056         (_G_off_t): Likewise.
29057         (_G_pid_t): Likewise.
29058         (_G_uid_t): Likewise.
29059         (_G_wchar_t): Likewise.
29060         (_G_wint_t): Likewise.
29061         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29062         (_G_ssize_t): Likewise.
29063         (_G_off_t): Likewise.
29064         (_G_pid_t): Likewise.
29065         (_G_uid_t): Likewise.
29066         (_G_wchar_t): Likewise.
29067         (_G_wint_t): Likewise.
29068
29069 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29070
29071         * malloc/arena.c: Include malloc-sysdep.h.
29072         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29073         is sufficient to shrink the heap or an unmap is needed.
29074         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29075         new function check_may_shrink_heap.
29076         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29077         new function check_may_shrink_heap.
29078
29079 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29080
29081         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29082         comments.
29083
29084 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29085
29086         * catgets/test-gencat.sh: Add "set -e".
29087         * elf/tst-pathopt.sh: Likewise.
29088         * grp/tst_fgetgrent.sh: Likewise.
29089         * iconvdata/run-iconv-test.sh: Likewise.
29090         * intl/tst-gettext.sh: Likewise.
29091         * intl/tst-gettext2.sh: Likewise.
29092         * intl/tst-gettext4.sh: Likewise.
29093         * intl/tst-gettext6.sh: Likewise.
29094         * intl/tst-translit.sh: Likewise.
29095         * io/ftwtest-sh: Likewise.
29096         * libio/test-freopen.sh: Likewise.
29097         * malloc/tst-mtrace.sh: Likewise.
29098         * posix/globtest.sh: Likewise.
29099         * posix/tst-getconf.sh: Likewise.
29100         * posix/wordexp-tst.sh: Likewise.
29101         * stdio-common/tst-printf.sh: Likewise.
29102         * stdio-common/tst-unbputc.sh: Likewise.
29103         * stdlib/tst-fmtmsg.sh: Likewise.
29104         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29105         * catgets/Makefile: Do not specify -e option when running
29106         testsuite shell scripts.
29107         * elf/Makefile: Likewise.
29108         * grp/Makefile: Likewise.
29109         * iconvdata/Makefile: Likewise.
29110         * intl/Makefile: Likewise.
29111         * io/Makefile: Likewise.
29112         * libio/Makefile: Likewise.
29113         * malloc/Makefile: Likewise.
29114         * posix/Makefile: Likewise.
29115         * stdio-common/Makefile: Likewise.
29116         * stdlib/Makefile: Likewise.
29117         * sysdeps/x86_64/Makefile: Likewise.
29118
29119         * io/ftwtest-sh: Add copyright header.
29120         * posix/globtest.sh: Likewise.
29121         * posix/tst-getconf.sh: Likewise.
29122         * posix/wordexp-tst.sh: Likewise.
29123         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29124
29125 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29126
29127         [BZ #13679]
29128         * Makeconfig (+link): Defined as $(+link-static) if
29129         $(build-shared) isn't yes.
29130         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29131         isn't yes.
29132         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29133
29134         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29135
29136         [BZ #14562]
29137         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29138         new chunk size with MALLOC_ALIGN_MASK.
29139
29140 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29141
29142         [BZ #5044]
29143         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29144         <rounding-mode.h>.
29145         (__printf_fphex): Determine rounding using get_rounding_mode and
29146         round_away.
29147         * stdio-common/tst-printf-round.c (struct hex_test): New
29148         structure.
29149         (hex_tests): New variable.
29150         (test_hex_in_one_mode): New function.
29151         (do_test): Also run tests for hex float output.
29152
29153 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29154
29155         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29156         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29157         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29158         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29159         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29160         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29161         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29162         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29163
29164 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29165
29166         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29167         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29168         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29169         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29170
29171 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29172
29173         [BZ #14579]
29174         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29175         mode only.
29176         * elf/tst-rtld-load-self.sh: New test.
29177         * elf/Makefile: Run it.
29178
29179 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29180
29181         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29182         (tst-writev-ENV): Remove.
29183         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29184
29185 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29186
29187         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29188
29189 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29190
29191         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29192         unconditional.
29193         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29194         Likewise.
29195         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29196         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29197         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29198         Likewise.
29199
29200 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29201
29202         [BZ #14587]
29203         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29204         * config.make.in (have-cpp-asm-debuginfo): Removed.
29205         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29206         * configure: Regenerated.
29207
29208 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29209
29210         [BZ #5044]
29211         * stdio-common/printf_fp.c: Include <stdbool.h> and
29212         <rounding-mode.h>.
29213         (___printf_fp): Determine rounding using get_rounding_mode and
29214         round_away.
29215         * stdio-common/tst-printf-round.c: New file.
29216         * stdio-common/Makefile (tests): Add tst-printf-round.
29217         (link-libm): New variable.
29218         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29219
29220 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29221
29222         [BZ #14576]
29223         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29224         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29225         Likewise.
29226         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29227         Likewise.
29228
29229 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29230
29231         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29232         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29233         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29234         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29235
29236 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29237
29238         [BZ #14518]
29239         * include/rounding-mode.h: New file.
29240         * sysdeps/generic/get-rounding-mode.h: Likewise.
29241         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29242         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29243         (MAX_VALUE): New macro.
29244         (MIN_VALUE): Likewise.
29245         (overflow_value): New function.
29246         (underflow_value): Likewise.
29247         (round_and_return): Use overflow_value and underflow_value to
29248         determine return values in overflow and underflow cases.  Use
29249         round_away to determine rounding depending on rounding mode.
29250         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29251         determine return values in overflow and underflow cases.
29252         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29253         (struct test_results): New structure.
29254         (struct test): Use struct test_results to store expected results
29255         for all rounding modes.
29256         (TEST): Include expected results for all rounding modes.
29257         (test_in_one_mode): New function.
29258         (do_test): Use test_in_one_mode to compute and check results.
29259         Check results for all rounding modes.
29260         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29261         $(link-libm).
29262
29263 2012-12-09  Allan McRae  <allan@archlinux.org>
29264
29265         * sysdeps/i386/fpu/libm-test-ulps: Update
29266
29267 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29268
29269         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29270         (_G_int32_t): Likewise.
29271         (_G_uint16_t): Likewise.
29272         (_G_uint32_t): Likewise.
29273         (_G_HAVE_BOOL): Likewise.
29274         (_G_HAVE_ATEXIT): Likewise.
29275         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29276         (_G_HAVE_IO_FILE_OPEN): Likewise.
29277         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29278         (_G_int32_t): Likewise.
29279         (_G_uint16_t): Likewise.
29280         (_G_uint32_t): Likewise.
29281         (_G_HAVE_BOOL): Likewise.
29282         (_G_HAVE_ATEXIT): Likewise.
29283         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29284         (_G_HAVE_IO_FILE_OPEN): Likewise.
29285         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29286         (_G_int32_t): Likewise.
29287         (_G_uint16_t): Likewise.
29288         (_G_uint32_t): Likewise.
29289         (_G_HAVE_BOOL): Likewise.
29290         (_G_HAVE_ATEXIT): Likewise.
29291         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29292         (_G_HAVE_IO_FILE_OPEN): Likewise.
29293
29294 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29295
29296         * csu/libc-tls.c: Update copyright years.
29297
29298 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29299
29300         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29301         [!_G_USING_THUNKS]: Remove conditional code.
29302         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29303         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29304
29305         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29306         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29307         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29308         (_G_VTABLE_LABEL_PREFIX): Likewise.
29309         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29310         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29311         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29312         (_G_VTABLE_LABEL_PREFIX): Likewise.
29313         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29314         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29315         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29316         (_G_VTABLE_LABEL_PREFIX): Likewise.
29317         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29318
29319 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29320
29321         * libio/Makefile: Include ../Makeconfig before tests.
29322         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29323         only if $(build-shared) is yes.
29324
29325         * iconv/gconv_db.c: Update copyright years.
29326
29327 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29328
29329         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29330         unwind info if defined PIC. Fix special cases description.
29331         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29332
29333         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29334         DP_HI_MASK entry.
29335         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29336
29337 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29338
29339         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29340
29341         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29342         is NULL.
29343
29344         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29345         (LDLIBS-tst-chk4): This.
29346         (LDFLAGS-tst-chk5): Renamed to ...
29347         (LDLIBS-tst-chk5): This.
29348         (LDFLAGS-tst-chk6): Renamed to ...
29349         (LDLIBS-tst-chk6): This.
29350         (LDFLAGS-tst-lfschk4): Renamed to ...
29351         (LDLIBS-tst-lfschk4): This.
29352         (LDFLAGS-tst-lfschk5): Renamed to ...
29353         (LDLIBS-tst-lfschk5): This.
29354         (LDFLAGS-tst-lfschk6): Renamed to ...
29355         (LDLIBS-tst-lfschk6): This.
29356
29357         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29358         on $(common-objpfx)soversions.mk.
29359
29360 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29361
29362         [BZ #10014]
29363         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29364         example host name.
29365
29366 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29367
29368         * malloc/arena.c (arena_get_retry): New function that gets
29369         another arena for the caller to try its request on.
29370         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29371         current arena cannot fulfill the request.
29372         (__libc_memalign): Likewise.
29373         (__libc_memalign): Likewise.
29374         (__libc_pvalloc): Likewise.
29375         (__libc_calloc): Likewise.
29376
29377 2012-09-05  John Tobey  <john.tobey@gmail.com>
29378
29379         [BZ #13542]
29380         * manual/arith.texi (Operations on Complex): Fix description
29381         of carg branch cut.
29382
29383 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29384
29385         [BZ #10014]
29386         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29387         host name.
29388
29389         [BZ #10038]
29390         * manual/memory.texi (Memory): Make order of menu items match
29391         order of sections.
29392
29393 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29394
29395         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29396         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29397         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29398
29399 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29400
29401         * csu/libc-tls.c (static_dtv): Renamed to ...
29402         (_dl_static_dtv): This.  Make it global.
29403         (_dl_initial_dtv): Removed.
29404         (__libc_setup_tls): Updated.
29405         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29406         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29407         DL_INITIAL_DTV.
29408
29409 2012-09-06  Petr Machata  <pmachata@redhat.com>
29410
29411         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29412         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29413         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29414         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29415
29416 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29417
29418         [BZ #14545]
29419         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29420         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29421         freeing dtv[-1].
29422
29423 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29424
29425         [BZ #14544]
29426         * Makeconfig (link-static-before-libc): Replace $(+prector)
29427         with $(+prectorT).
29428         (link-static-after-libc): Replace $(+postctor) with
29429         $(+postctorT).
29430         (link-bounded): Replace $(+prector)/$(+postctor) with
29431         $(+prectorT)/$(+postctorT).
29432         (+prectorT): New macro.
29433         (+postctorT): Likewise.
29434
29435 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29436
29437         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29438         (round_str): Handle values above the maximum for IBM long double
29439         as inexact.
29440         * stdlib/tst-strtod-round.c (tests): Regenerated.
29441
29442 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29443
29444         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29445         assembler flag.
29446         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29447         zarch_nohighgprs around the zarch optimized routines.
29448         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29449         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29450         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29451         for zarch.
29452
29453 2012-09-05  David S. Miller  <davem@davemloft.net>
29454
29455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29456
29457         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29458         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29459         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29460         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29461         entries.
29462
29463 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29464
29465         * malloc/arena.c: Fold copyright years.
29466         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29467
29468 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29469
29470         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29471
29472 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29473
29474         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29475
29476 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29477
29478         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29479         change internal state upon failure.
29480
29481 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29482
29483         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29484         * malloc/memusage.c (mmap): Likewise.
29485         (mmap64, mremap): Likewise.  Adjust name in comment.
29486
29487 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29488
29489         * libio/fileops.c: Fix typos in comments.
29490         * libio/oldfileops.c: Likewise.
29491         * libio/wfileops.c: Likewise.
29492
29493 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29494
29495         [BZ #1349]
29496         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29497         (tst-malloc-usable-ENV): Set environment for test case.
29498         * malloc/hooks.c (malloc_check_get_size): New function to get
29499         requested size.
29500         * malloc/malloc.c (musable): Use malloc_check_get_size.
29501         * malloc/tst-malloc-usable.c: New test case.
29502
29503 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29504
29505         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29506
29507 2012-09-05  Allan McRae  <allan@archlinux.org>
29508
29509         [BZ #13966]
29510         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29511         determine header location.
29512         * configure: Regenerated.
29513
29514 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29515
29516         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29517         float format.
29518         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29519         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29520         format.
29521         (test): Regenerate.
29522
29523 2012-09-04  David S. Miller  <davem@davemloft.net>
29524
29525         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29526         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29527         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29528
29529 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29530
29531         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29532         failures.
29533
29534         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29535
29536 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29537
29538         [BZ #9914]
29539         * libio/iogetdelim.c: Include <limits.h>.
29540         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29541         + len + 1 would overflow.
29542
29543 2012-09-03  Andreas Jaeger  <aj@suse.de>
29544
29545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29546         * sysdeps/i386/fpu/libm-test-ulps: Update.
29547
29548 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29549
29550         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29551         Add s_sinf-sse2, s_conf-sse2.
29552
29553         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29554         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29555         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29556         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29557
29558         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29559         for using routine as __sinf_ia32.
29560         Use macro for function declaration and weak_alias.
29561         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29562         for using routine as __cosf_ia32.
29563         Use macro for function declaration and weak_alias.
29564
29565         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29566         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29567
29568         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29569         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29571
29572         * math/libm-test.inc (cos_test): Add more test cases.
29573         (sin_test): Likewise.
29574         (sincos_test): Likewise.
29575
29576 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29577
29578         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29579         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29580         hidden.
29581         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29582
29583 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29584
29585         [BZ #14538]
29586         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29587         first element of the GOT.
29588         (elf_machine_load_address): Return the difference between
29589         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29590
29591 2012-09-01  Allan McRae  <allan@archlinux.org>
29592
29593         [BZ #13412]
29594         * configure.in (AWK): Require gawk version 3.0 or later.
29595         * configure: Regenerated.
29596
29597 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29598
29599         * sysdeps/unix/sysv/linux/kernel-features.h
29600         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29601         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29602         [__NR_clock_getres]: Make code unconditional.
29603         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29604         (clock_getcpuclockid): Remove code left unreachable by removal of
29605         conditionals.
29606         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29607         code unconditional.
29608         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29609         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29610         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29611         Make code unconditional.
29612         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29613         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29614         * sysdeps/unix/sysv/linux/clock_settime.c
29615         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29616         conditional code.
29617         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29618         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29619
29620 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29621
29622         [BZ #14476]
29623         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29624         scripts/test-installation.pl.
29625
29626         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29627         and $ld_so_version if it is set.
29628
29629 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29630
29631         [BZ #14516]
29632         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29633         failure if reading from procfs failed.
29634         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29635
29636 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29637
29638         * sysdeps/unix/sysv/linux/kernel-features.h
29639         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29640         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29641         Remove conditional code.
29642         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29643         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29644         Remove conditional code.
29645         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29646         * sysdeps/unix/sysv/linux/i386/fxstat.c
29647         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29648         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29649         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29650         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29651         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29652         * sysdeps/unix/sysv/linux/i386/lxstat.c
29653         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29654         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29655         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29656         Remove conditional code.
29657         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29658         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29659         Remove conditional code.
29660         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29661         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29662         <kernel-features.h>.
29663         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29664         Remove.
29665         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29666         Remove conditional code.
29667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29668         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29669         Remove conditional.
29670
29671 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29672
29673         [BZ #5400]
29674         * NEWS: Add fixed bug number.
29675
29676 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29677
29678         [BZ #14519]
29679         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29680         underflowing exponent in case of negative sign.
29681         * stdlib/tst-strtod-round-data: Add more tests.
29682         * stdlib/tst-strtod-round.c (tests): Regenerated.
29683
29684         [BZ #3479]
29685         * stdlib/strtod_l.c (NDIG): Remove.
29686         (HEXNDIG): Likewise.
29687         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29688         smallest representable value.
29689         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29690         lie within an exact representation of 1/2 ulp of the result.
29691         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29692         unconditionally.
29693         (TENS_P9_IDX): Define unconditionally.
29694         (TENS_P9_SIZE): Likewise.
29695         (TENS_P10_IDX): Likewise.
29696         (TENS_P10_SIZE): Likewise.
29697         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29698         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29699         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29700         entries for 10^2^13 and 10^2^14.
29701         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29702         (TENS_P13_IDX): Define.
29703         (TENS_P13_SIZE): Likewise.
29704         (TENS_P14_IDX): Likewise.
29705         (TENS_P14_SIZE): Likewise.
29706         (_fpioconst_pow10): Change array size to
29707         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29708         unconditional.
29709         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29710         1024]: Add entries for 10^2^13 and 10^2^14.
29711         [LAST_POW10 > _LAST_POW10]: Remove #error.
29712         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29713         (_fpioconst_pow10): Change array size to
29714         FPIOCONST_POW10_ARRAY_SIZE.
29715         * stdlib/gen-fpioconst.c: New file.
29716         * stdlib/gen-tst-strtod-round.c: Likewise.
29717         * stdlib/tst-strtod-round-data: Likewise.
29718         * stdlib/tst-strtod-round.c: Likewise.
29719         * stdlib/Makefile (tests): Add tst-strtod-round.
29720
29721         [BZ #14459]
29722         * stdlib/strtod_l.c: Include <stdint.h>.
29723         (NDEBUG): Do not define.
29724         (round_and_return): Change EXPONENT parameter to type intmax_t.
29725         Rearrange calculations to avoid internal overflow possibilities.
29726         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29727         Rearrange calculations to avoid internal overflow possibilities.
29728         Assert that number fits inside MPNSIZE limbs.
29729         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29730         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29731         calculations and add assertions to avoid internal overflow
29732         possibilities.  Add casts to avoid signed/unsigned operations.
29733         * stdlib/tst-strtod-overflow.c: New file.
29734         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29735
29736 2012-08-25  Marek Polacek  <polacek@redhat.com>
29737
29738         * time/time.h: Fix some typos in comments.
29739
29740 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29741
29742         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29743         * posix/tst-rfc3484-2.c: Likewise.
29744         * posix/tst-rfc3484-3.c: Likewise.
29745
29746 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29747
29748         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29749         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29750
29751 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29752
29753         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29754         #include of fxstatat64.c.
29755
29756 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29757
29758         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29759         * shadow/getspent_r.c: Likewise.
29760         * shadow/getspnam.c: Likewise.
29761         * shadow/getspnam_r.c: Likewise.
29762         * gshadow/getsgent.c: Likewise.
29763         * gshadow/getsgent_r.c: Likewise.
29764         * gshadow/getsgnam.c: Likewise.
29765         * gshadow/getsgnam_r.c: Likewise.
29766         * inet/getnetbyad.c: Likewise.
29767         * inet/getnetbyad_r.c: Likewise.
29768         * inet/getnetbynm.c: Likewise.
29769         * inet/getnetbynm_r.c: Likewise.
29770         * inet/getnetent.c: Likewise.
29771         * inet/getnetent_r.c: Likewise.
29772         * inet/getproto.c: Likewise.
29773         * inet/getproto_r.c: Likewise.
29774         * inet/getprtent.c: Likewise.
29775         * inet/getprtent_r.c: Likewise.
29776         * inet/getprtname.c: Likewise.
29777         * inet/getprtname_r.c: Likewise.
29778         * inet/getrpcbyname.c: Likewise.
29779         * inet/getrpcbyname_r.c: Likewise.
29780         * inet/getrpcbynumber.c: Likewise.
29781         * inet/getrpcbynumber_r.c: Likewise.
29782         * inet/getrpcent.c: Likewise.
29783         * inet/getrpcent_r.c: Likewise.
29784         * inet/getaliasent.c: Likewise.
29785         * inet/getaliasent_r.c: Likewise.
29786         * inet/getaliasname.c: Likewise.
29787         * inet/getaliasname_r.c: Likewise.
29788         * nscd/getgrgid_r.c: Likewise.
29789         * nscd/getgrnam_r.c: Likewise.
29790         * nscd/gethstbyad_r.c: Likewise.
29791         * nscd/gethstbynm3_r.c: Likewise.
29792         * nscd/getpwnam_r.c: Likewise.
29793         * nscd/getpwuid_r.c: Likewise.
29794         * nscd/getsrvbynm_r.c: Likewise.
29795         * nscd/getsrvbypt_r.c: Likewise.
29796         * nscd/gai.c: Likewise.
29797
29798         * configure.in (build_nscd): New substituted variable, set
29799         by --disable-build-nscd and defaults to $use_nscd.
29800         * configure: Regenerated.
29801         * config.make.in (build-nscd): New substituted variable.
29802         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29803         Change conditional to require [$(build-nscd) = yes] as well.
29804         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29805
29806         [BZ# 13696]
29807         * configure.in (use_nscd): New substituted variable, set by
29808         --disable-nscd.  If enabled, define USE_NSCD.
29809         * configure: Regenerated.
29810         * config.h.in: Add USE_NSCD.
29811         * config.make.in (use-nscd): New substituted variable.
29812         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29813         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29814         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29815         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29816         (CFLAGS-getgrnam_r.c): Likewise.
29817         (CFLAGS-initgroups.c): Likewise.
29818         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29819         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29820         Variables removed.
29821         * inet/getnetgrent_r.c
29822         (nscd_setnetgrent): New function, broken out of ...
29823         (setnetgrent): ... here.  Call it.
29824         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29825         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29826         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29827         * nscd/Makefile (routines, aux): Move definitions after include of
29828         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29829         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29830         Conditionalize on [USE_NSCD].
29831         (is_nscd, nscd_init_cb): Likewise.
29832         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29833         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29834         * nss/nss_db/db-init.c: Likewise.
29835         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29836         [USE_NSCD].
29837         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29838         (make_request): Use it.
29839         (cache_valid_p): New function.
29840         (__check_pf): Use it.
29841         * NEWS: Add item for --disable-nscd.
29842
29843 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29844
29845         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29846         to support sed >= 4.2.1-20-ga9bf076.
29847         * configure: Regenerated.
29848
29849 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29850
29851         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29852         Conditionalize whole body on [IREL].
29853
29854 2012-08-22  Jeff Law <law@redhat.com>
29855
29856         [BZ #14505]
29857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29858         if the family is PF_UNSPEC.
29859
29860 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29861
29862         * Makerules (lib-version): Rename from V.
29863         (install-lib-nosubdir): Change V to lib-version.
29864
29865 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29866
29867         [BZ #14252]
29868         * powerpc32/power6/wcschr.c: New file.
29869         * powerpc32/power6/wcscpy.c: New file.
29870         * powerpc32/power6/wcsrchr.c: New file.
29871         * powerpc64/power6/wcschr.c: New file.
29872         * powerpc64/power6/wcscpy.c: New file.
29873         * powerpc64/power6/wcsrchr.c: New file.
29874
29875 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29876
29877         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29878         (two_way_short_needle): Use it.
29879         * string/strstr.c (AVAILABLE1_USES_J): Define.
29880         * string/strcasestr.c: Likewise.
29881
29882         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29883         array references.
29884         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29885
29886         [BZ #11607]
29887         * NEWS: Add an entry.
29888         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29889         define their defaults.
29890         (two_way_short_needle): Detect end-of-string on-the-fly.
29891         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29892         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29893         * string/bug-strcasestr1.c: New test.
29894         * string/Makefile: Run it.
29895
29896 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29897
29898         [BZ #11607]
29899         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29900         the first character.
29901
29902 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29903
29904         * csu/elf-init.c (__libc_csu_irel): Function removed.
29905         * csu/libc-start.c (apply_irel): New function.
29906         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29907
29908 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29909
29910         * sysdeps/unix/sysv/linux/kernel-features.h
29911         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29912         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29913         <kernel-features.h>.
29914         [__NR_fadvise64_64]: Make code unconditional.
29915         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29916         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29917         !__NR_fadvise64_64)]: Likewise.
29918         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29919         !__NR_fadvise64_64))]: Likewise.
29920         [__NR_fadvise64]: Make code unconditional.
29921         [!__NR_fadvise64]: Remove conditional code.
29922         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29923         <kernel-features.h>.
29924         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29925         unconditional.
29926         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29927         conditional code.
29928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29929         not include <kernel-features.h>.
29930         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29931         unconditional.
29932         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29933         conditional code.
29934         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29935         include <kernel-features.h>.
29936         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29937         unconditional.
29938         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29939         conditional code.
29940
29941 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29942
29943         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29944         slight instruction rearrangements per scrollpipe analysis.
29945         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29946
29947 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29948
29949         * manual/syslog.texi (syslog; vsyslog, closelog):
29950         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29951         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29952
29953         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29954         DSOCAPS to match condition on defining it.
29955
29956 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29957
29958         * sysdeps/unix/sysv/linux/kernel-features.h
29959         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29961         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29962         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29964         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29965         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29967         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29968         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29969
29970         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29971         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29972
29973         * sysdeps/unix/sysv/linux/kernel-features.h
29974         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29975         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29976         unconditional.
29977         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29978         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29979         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29980         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29981         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29982         Make code unconditional.
29983         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29984         (__mmap64) [!__NR_mmap2]: Likewise.
29985         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29986         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29987         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29988         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29989         [__NR_mmap2]: Make code unconditional.
29990         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29991         (__mmap64) [!__NR_mmap2]: Likewise.
29992
29993 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29994
29995         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29996
29997 2012-08-18  Andreas Jaeger  <aj@suse.de>
29998
29999         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30000
30001 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30002
30003         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30004         * include/unistd.h (__have_sock_cloexec): Likewise.
30005         (__have_pipe2): Likewise.
30006         (__have_dup3): Likewise.
30007
30008 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30009
30010         [BZ #9685]
30011         * include/unistd.h (__have_pipe2): Change define into an extern int.
30012         (__have_dup3): Likewise.
30013         * socket/have_sock_cloexec.c: Include fcntl.h.
30014         (__have_pipe2): New variable.
30015         (__have_dup3): Likewise.
30016
30017 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30018
30019         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30020
30021 2012-08-17  Marek Polacek  <polacek@redhat.com>
30022
30023         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30024         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30025
30026 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30027
30028         * configure.in: Add AC_SUBST for sysheaders.
30029         * configure: Regenerated.
30030         * config.make.in (sysheaders): New substituted variable.
30031
30032         * sysdeps/unix/mkfifo.c: Moved ...
30033         * sysdeps/posix/mkfifo.c: ... here.
30034         * sysdeps/unix/mkfifoat.c: Moved ...
30035         * sysdeps/posix/mkfifoat.c: ... here.
30036
30037         * sysdeps/unix/utime.c: Moved ...
30038         * sysdeps/posix/utime.c: ... here.
30039
30040         * sysdeps/unix/time.c: Moved ...
30041         * sysdeps/posix/time.c: ... here.
30042         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30043         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30044
30045         * sysdeps/unix/nice.c: Moved ...
30046         * sysdeps/posix/nice.c: ... here.
30047
30048         * sysdeps/unix/alarm.c: Moved ...
30049         * sysdeps/posix/alarm.c: ... here.
30050
30051         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30052
30053 2012-08-17  Jeff Law <law@redhat.com>
30054
30055         * intl/Makefile (codeset_mo): New variable.
30056         ($(codeset_mo)): New target.
30057         (tst-codeset.out): Depend on that.  Remove explicit rule.
30058         (tst-gettext3.out, tst-gettext5.out): Likewise.
30059         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30060         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30061         * intl/tst-codeset.sh: Remove.
30062         * intl/tst-gettext3.sh: Likewise.
30063         * intl/tst-gettext5.sh: Likewise.
30064
30065 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30066
30067         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30068         * sysdeps/unix/syscalls.list: ... here.
30069
30070         * sysdeps/posix/getaddrinfo.c
30071         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30072         (gaiconf_init, gaiconf_reload): Use them.
30073         [!_STATBUF_ST_NSEC]
30074         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30075         Define using time_t rather than struct timespec.
30076
30077         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30078         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30079         Macros removed.
30080         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30081         [!NO_THREADS].
30082         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30083         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30084         Likewise.
30085
30086         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30087         __libc_cleanup_push argument.
30088
30089         * bits/param.h: New file.
30090         * misc/sys/param.h: New file.
30091         * include/sys/param.h: New file.
30092         * misc/Makefile (headers): Add bits/param.h.
30093         * sysdeps/generic/sys/param.h: File removed.
30094         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30095         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30096         * sysdeps/mach/hurd/bits/param.h: New file.
30097         * sysdeps/mach/hurd/sys/param.h: File removed.
30098
30099         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30100         last change.
30101
30102         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30103         [_IO_MTSAFE_IO].
30104         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30105         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30106         New macros.
30107
30108         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30109         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30110         rather than -D_IO_MTSAFE_IO conditionally.
30111         * stdio-common/Makefile (CPPFLAGS): Likewise.
30112         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30113         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30114         Use $(libio-mtsafe).
30115         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30116         of -D_IO_MTSAFE_IO.
30117         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30118         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30119         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30120         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30121         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30122         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30123         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30124         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30125         (CFLAGS-fread_u_chk.c): Likewise.
30126         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30127         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30128         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30129         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30130         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30131         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30132         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30133         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30134         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30135
30136         * libio/Makefile: Test [$(libc-reentrant) = yes]
30137         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30138
30139         * Makeconfig
30140         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30141         * sysdeps/pthread/configure: File removed.
30142         * sysdeps/pthread/Makeconfig: New file.
30143         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30144         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30145
30146 2012-08-16  Gary Benson  <gbenson@redhat.com>
30147
30148         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30149         unmapping the first object in a namespace.
30150
30151 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30152
30153         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30154         (__internal_setnetgrent): ... this.  Add internal_function to
30155         definition.  Add libc_hidden_def.
30156         (setnetgrent): Update caller.
30157         (internal_endnetgrent): Renamed to ...
30158         (__internal_endnetgrent): ... this.  Add internal_function to
30159         definition.  Add libc_hidden_def.
30160         (endnetgrent): Update caller.
30161         (internal_getnetgrent_r): Renamed to ...
30162         (__internal_getnetgrent_r): ... this.  Add internal_function to
30163         definition.  Add libc_hidden_def.
30164         (__getnetgrent_r): Update caller.
30165         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30166
30167 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30168
30169         * stdlib/longlong.h: Update from GCC.
30170
30171 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30172
30173         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30174         on _QL, which is set by umul_ppmm but never used.
30175         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30176         variables, which are set by GMP macros but never used.
30177         * stdio-common/_itowa.c (_itowa): Likewise.
30178         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30179         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30180
30181 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30182
30183         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30184         struct La_sh_regs is not constant.
30185         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30186         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30187         and struct La_sparc64_regs are not constant.
30188
30189 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30190
30191         * sysdeps/unix/sysv/linux/kernel-features.h
30192         (__ASSUME_POSIX_TIMERS): Remove.
30193         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30194         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30195         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30196         Make code unconditional.
30197         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30198         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30199         Make code unconditional.
30200         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30201         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30202         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30203         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30204         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30205         Make code unconditional.
30206         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30207         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30208         (__libc_missing_posix_timers): Remove.
30209
30210 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30211
30212         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30213         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30214
30215         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30216
30217         * elf/dl-sym.c: Include <stdlib.h>.
30218
30219         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30220         constants, which avoids warnings in 32-bit builds.
30221
30222         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30223         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30224
30225         * misc/lseek.c: File moved to ...
30226         * io/lseek.c: ... here.
30227
30228         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30229
30230         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30231         shifting LEN more than 31 bits at once.
30232
30233 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30234
30235         [BZ #14195]
30236         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30237         segmentation fault for a case of two empty input strings.
30238         * string/test-strncasecmp.c (check1): Renamed to...
30239         (bz12205): ...this.
30240         (bz14195): Add new testcase for two empty input strings and N > 0.
30241         (test_main): Call new testcase, adapt for renamed function.
30242
30243 2012-08-15  Andreas Jaeger  <aj@suse.de>
30244
30245         [BZ #14090]
30246         * crypt/md5test2.c: New test, based on test supplied by Serge
30247         Belyshev <belyshev@depni.sinp.msu.ru>.
30248         * crypt/Makefile (xtests): Add md5test-giant..
30249         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30250
30251 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30252
30253         [BZ #14090]
30254         * crypt/md5.c (md5_process_block): Don't assume the buffer
30255         length is less than 2**32.
30256         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30257         length is less than 2**64.
30258
30259 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30260
30261         * string/str-two-way.h: Include <sys/param.h>.
30262         (MAX): Macro removed.
30263
30264         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30265         Move #define and #undef of memmove to just before and after
30266         including <string.h>.
30267
30268         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30269         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30270         and after including <string.h>.  Move declarations of
30271         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30272         to before #include "string/memmove.c".
30273
30274         * include/dirent.h: Declare __getdirentries.
30275
30276         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30277         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30278
30279 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30280
30281         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30282         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30283         * sysdeps/i386/configure: Regenerated.
30284         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30285         STABS_CURRENT_FILE, and STABS_FUN.
30286         (END): Remove call to STABS_FUN_END.
30287         (STABS_CURRENT_FILE1): Delete.
30288         (STABS_CURRENT_FILE): Likewise.
30289         (STABS_FUN): Likewise.
30290         (STABS_FUN_END): Likewise.
30291         (STABS_FUN2): Likewise.
30292         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30293         * sysdeps/x86_64/configure: Regenerated.
30294
30295 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30296
30297         * elf/dl-open.c: Include <atomic.h>.
30298         * elf/dl-lookup.c: Likewise.
30299
30300 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30301
30302         * sysdeps/unix/sysv/linux/kernel-features.h
30303         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30304         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30305         unconditionally.
30306         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30307         unconditionally.
30308         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30309         condition on __ASSUME_CLONE_THREAD_FLAGS.
30310
30311 2012-08-14  Andreas Jaeger  <aj@suse.de>
30312
30313         * sysdeps/i386/fpu/libm-test-ulps: Update.
30314
30315 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30316
30317         * include/atomic.h (atomic_exchange_and_add): Split into ...
30318         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30319         New atomic macros.
30320
30321 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30322
30323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30324
30325 2012-08-13  Jeff Law <law@redhat.com>
30326
30327         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30328         null byte in the output string.
30329
30330 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30331
30332         * sysdeps/unix/sysv/linux/kernel-features.h
30333         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30334         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30335         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30336         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30337         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30338         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30339         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30340
30341 2012-08-09  Jeff Law <law@redhat.com>
30342
30343         [BZ #13939]
30344         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30345         When avoid_arena is set, don't retry in the that arena.  Pick the
30346         next one, whatever it might be.
30347         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30348         (arena_lock): Pass in new parameter to arena_get2.
30349         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30350         arena_get2.
30351         (__libc_malloc): Unify retrying after main arena failure with
30352         __libc_memalign version.
30353         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30354
30355 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30356
30357         [BZ #14166]
30358         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30359         to __redirect_strstr.
30360         (__strstr_sse42): Use typeof __redirect_strstr.
30361         (__strstr_ia32): Likewise.
30362         (__libc_strstr): New prototype.
30363         (strstr): Renamed to ...
30364         (__libc_strstr): This.
30365         (strstr): New strong alias of __libc_strstr.
30366         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30367         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30368         __redirect_time.
30369         Include <time.h>.
30370         (__libc_time): New prototype.
30371         (time_ifunc): Replace time with __libc_time.
30372         (time): New strong alias and hidden definition of __libc_time.
30373         (__GI_time): Remove strong alias.
30374         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30375         Include <stddef.h>.
30376         (memmove): Redefined to __redirect_memmove.
30377         (__memmove_sse2): Use typeof __redirect_memmove.
30378         (__memmove_ssse3): Likewise.
30379         (__memmove_ssse3_back): Likewise.
30380         (__libc_memmove): New prototype.
30381         (memmove): Renamed to ...
30382         (__libc_memmove): This.
30383         (memmove): New strong alias of __libc_memmove.
30384
30385 2012-08-08  Mark Salter  <msalter@redhat.com>
30386
30387         * elf/elf.h
30388         (R_MN10300_TLS_GD): Define.
30389         (R_MN10300_TLS_LD): Likewise.
30390         (R_MN10300_TLS_LDO): Likewise.
30391         (R_MN10300_TLS_GOTIE): Likewise.
30392         (R_MN10300_TLS_IE): Likewise.
30393         (R_MN10300_TLS_LE): Likewise.
30394         (R_MN10300_TLS_DTPMOD): Likewise.
30395         (R_MN10300_TLS_DTPOFF): Likewise.
30396         (R_MN10300_TLS_TPOFF): Likewise.
30397         (R_MN10300_SYM_DIFF): Likewise.
30398         (R_MN10300_ALIGN): Likewise.
30399         (R_MN10300_NUM): Update.
30400
30401 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30402
30403         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30404         Remove.
30405
30406 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30407
30408         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30409
30410         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30411         sysdeps/unix -> sysdeps/posix move.
30412         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30413
30414 2012-08-07      Allan McRae     <allan@archlinux.org>
30415
30416         [BZ #14303]
30417         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30418         (SUNOS_CPP): Likewise.
30419         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30420         not found.
30421         (open_input): Call CPP using execvp.
30422
30423 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30424
30425         * sysdeps/unix/sysv/linux/kernel-features.h
30426         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30427         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30428         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30429         (__ASSUME_WAITID_SYSCALL): Likewise.
30430         * sysdeps/unix/sysv/linux/dl-execstack.c
30431         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30432         code unconditional.
30433         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30434         conditional code.
30435         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30436         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30437         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30438         code.
30439         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30440         unconditional.
30441         [__ASSUME_WAITID_SYSCALL]: Likewise.
30442         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30443
30444 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30445
30446         * sysdeps/unix/closedir.c: Renamed to ...
30447         * sysdeps/posix/closedir.c: ... here.
30448         * sysdeps/unix/dirfd.c: Renamed to ...
30449         * sysdeps/posix/dirfd.c: ... here.
30450         * sysdeps/unix/dirstream.h: Renamed to ...
30451         * sysdeps/posix/dirstream.h: ... here.
30452         * sysdeps/unix/fdopendir.c: Renamed to ...
30453         * sysdeps/posix/fdopendir.c: ... here.
30454         * sysdeps/unix/opendir.c: Renamed to ...
30455         * sysdeps/posix/opendir.c: ... here.
30456         * sysdeps/unix/readdir.c: Renamed to ...
30457         * sysdeps/posix/readdir.c: ... here.
30458         * sysdeps/unix/readdir_r.c: Renamed to ...
30459         * sysdeps/posix/readdir_r.c: ... here.
30460         * sysdeps/unix/rewinddir.c: Renamed to ...
30461         * sysdeps/posix/rewinddir.c: ... here.
30462         * sysdeps/unix/seekdir.c: Renamed to ...
30463         * sysdeps/posix/seekdir.c: ... here.
30464         * sysdeps/unix/telldir.c: Renamed to ...
30465         * sysdeps/posix/telldir.c: ... here.
30466         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30467         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30468         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30469         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30470
30471         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30472         * bits/fcntl.h: ... here.
30473
30474         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30475         not 0.
30476         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30477         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30478         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30479         (struct flock): Move l_start, l_len to the beginning.
30480         Use __pid_t for l_pid.
30481         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30482         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30483         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30484         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30485         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30486         [__USE_LARGEFILE64] (struct flock64): New type.
30487         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30488
30489         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30490         * bits/dirent.h: ... here.
30491
30492         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30493         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30494
30495 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30496
30497         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30498         Change from 2.6.0 to 2.6.16.
30499         * sysdeps/unix/sysv/linux/configure: Regenerated.
30500         * sysdeps/unix/sysv/linux/kernel-features.h
30501         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30502         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30503         version.
30504         (__ASSUME_UTIMES): Likewise.
30505         (__ASSUME_CLONE_STOPPED): Remove.
30506         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30507         architectures, not kernel version.
30508         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30509         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30510         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30511         (__ASSUME_WAITID_SYSCALL): Likewise.
30512         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30513         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30514         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30515         refer to older versions.
30516
30517 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30518
30519         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30520         Define alphasort64 as an alias.
30521         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30522         Define versionsort64 as an alias.
30523         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30524         Define scandir64 as an alias.
30525         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30526         Define scandirat64 as an alias.
30527         * dirent/alphasort64.c (alphasort64):
30528         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30529         * dirent/versionsort64.c: Likewise.
30530         * dirent/scandir64.c: Likewise.
30531         * dirent/scandirat64.c: Likewise.
30532         * sysdeps/wordsize-64/alphasort.c: File removed.
30533         * sysdeps/wordsize-64/alphasort64.c: File removed.
30534         * sysdeps/wordsize-64/scandir.c: File removed.
30535         * sysdeps/wordsize-64/scandir64.c: File removed.
30536         * sysdeps/wordsize-64/scandirat.c: File removed.
30537         * sysdeps/wordsize-64/scandirat64.c: File removed.
30538         * sysdeps/wordsize-64/versionsort.c: File removed.
30539         * sysdeps/wordsize-64/versionsort64.c: File removed.
30540         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30541         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30542         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30543         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30544         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30545         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30546         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30547         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30548
30549         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30550         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30551         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30553         [defined __arch64__ || defined __sparcv9]
30554         (__INO_T_MATCHES_INO64_T): New macro.
30555         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30556         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30557         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30558         * sysdeps/unix/sysv/linux/bits/dirent.h
30559         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30560         (_DIRENT_MATCHES_DIRENT64): New macro.
30561
30562         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30563         Define lockf64 as an alias.
30564         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30565         Define fseeko64 as an alias.
30566         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30567         Define ftello64 as an alias.
30568         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30569         Define _IO_fgetpos64 and fgetpos64 as aliases.
30570         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30571         Define _IO_fsetpos64 and fsetpos64 as aliases.
30572         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30573         Conditionalize body on this.
30574         * libio/fseeko64.c: Likewise.
30575         * libio/ftello64.c: Likewise.
30576         * libio/iofgetpos64.c: Likewise.
30577         * libio/iofsetpos64.c: Likewise.
30578         * sysdeps/wordsize-64/lockf.c: File removed.
30579         * sysdeps/wordsize-64/lockf64.c: File removed.
30580         * sysdeps/wordsize-64/fseeko.c: File removed.
30581         * sysdeps/wordsize-64/fseeko64.c: File removed.
30582         * sysdeps/wordsize-64/ftello.c: File removed.
30583         * sysdeps/wordsize-64/ftello64.c: File removed.
30584         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30585         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30586         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30587         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30588         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30589         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30590         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30591         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30592         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30593         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30594         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30595         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30596         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30597         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30598
30599         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30600         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30601         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30602         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30603         [defined __arch64__ || defined __sparcv9]
30604         (__OFF_T_MATCHES_OFF64_T): New macro.
30605         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30606         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30607         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30608         (__OFF_T_MATCHES_OFF64_T): New macro.
30609
30610 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30611
30612         * stdlib/secure-getenv.c (__secure_getenv): Replace
30613         GLIBC_2_16 with GLIBC_2_17.
30614
30615 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30616
30617         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30618         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30619
30620 2012-08-03  David S. Miller  <davem@davemloft.net>
30621
30622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30623
30624 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30625
30626         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30627         Remove.
30628         (__ASSUME_CORRECT_SI_PID): Likewise.
30629         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30630         (__ASSUME_TMPFS_NAME): Likewise.
30631         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30632         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30633         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30634         (HAVE_AUX_SECURE): Make definition unconditional.
30635         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30636         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30637
30638 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30639
30640         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30641         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30642         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30643         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30644         __eloop_threshold instead of SYMLOOP_MAX.
30645
30646         * sysdeps/generic/eloop-threshold.h: New file.
30647         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30648         of MAXSYMLINKS.
30649         * elf/chroot_canon.c (chroot_canon): Likewise.
30650
30651 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30652
30653         [BZ #13717]
30654         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30655         Change to 2.6.0 everywhere.
30656         * sysdeps/unix/sysv/linux/configure: Regenerated.
30657         * sysdeps/unix/sysv/linux/kernel-features.h
30658         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30659         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30660         kernel versions.
30661         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30662         (__ASSUME_FUTEX_REQUEUE): Remove.
30663         (__ASSUME_STATFS64): Define unconditionally.
30664         (__ASSUME_AT_SECURE): Likewise.
30665         (__ASSUME_CORRECT_SI_PID): Likewise.
30666         (__ASSUME_TGKILL): Define without depending on kernel version for
30667         i386.
30668         (__ASSUME_UTIMES): Likewise.
30669         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30670         kernel version.
30671         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30672         (__ASSUME_TMPFS_NAME): Likewise.
30673         * README: Update reference to Linux kernel versions.
30674
30675 2012-08-02  Marek Polacek  <polacek@redhat.com>
30676
30677         [BZ# 14150]
30678         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30679         libc_cv_asm_type_prefix with %.
30680         * configure: Regenerated.
30681         * include/libc-symbols.h: Remove comment about
30682         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30683         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30684         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30685         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30686         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30687         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30688         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30689         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30690         * elf/tst-unique2mod1.c: Likewise.
30691         * elf/tst-unique1mod2.c: Likewise.
30692         * elf/tst-unique1mod1.c: Likewise.
30693         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30694         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30695         Replace ASM_TYPE_DIRECTIVE with .type.
30696         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30697         * sysdeps/i386/sysdep.h: Likewise.
30698         * sysdeps/x86_64/sysdep.h: Likewise.
30699         * sysdeps/sh/sysdep.h: Likewise.
30700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30701         Do not define ASM_TYPE_DIRECTIVE.
30702         * sysdeps/powerpc/sysdep.h: Likewise.
30703         * sysdeps/powerpc/powerpc32/sysdep.h:
30704         Replace ASM_TYPE_DIRECTIVE with .type.
30705         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30706         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30707         * sysdeps/i386/fpu/e_powf.S: Likewise.
30708         * sysdeps/i386/fpu/e_expl.S: Likewise.
30709         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30710         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30711         * sysdeps/i386/fpu/e_pow.S: Likewise.
30712         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30713         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30714         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30715         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30716         * sysdeps/i386/fpu/e_log2.S: Likewise.
30717         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30718         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30719         * sysdeps/i386/fpu/e_powl.S: Likewise.
30720         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30721         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30722         * sysdeps/i386/fpu/e_logl.S: Likewise.
30723         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30724         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30725         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30726         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30727         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30728         * sysdeps/i386/fpu/e_log.S: Likewise.
30729         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30730         * sysdeps/i386/fpu/e_logf.S: Likewise.
30731         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30732         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30733         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30734         * sysdeps/i386/fpu/e_log10.S: Likewise.
30735         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30736         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30737         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30738         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30739         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30740         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30741         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30742         * sysdeps/i386/i686/strtok.S: Likewise.
30743         * sysdeps/i386/i386-mcount.S: Likewise.
30744         * sysdeps/i386/strtok.S: Likewise.
30745         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30746         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30747         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30748         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30749         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30750         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30751         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30752         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30753         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30754         * sysdeps/x86_64/_mcount.S: Likewise.
30755         * sysdeps/x86_64/strtok.S: Likewise.
30756         * sysdeps/sh/_mcount.S: Likewise.
30757
30758 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30759
30760         * libio/iofopen.c: Include <fcntl.h>.
30761         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30762         (_IO_fopen64, fopen64): Define as aliases.
30763         * libio/iofopen64.c: Include <fcntl.h>.
30764         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30765         Conditionalize body on this.
30766         * sysdeps/wordsize-64/iofopen.c: File removed.
30767         * sysdeps/wordsize-64/iofopen64.c: File removed.
30768
30769 2012-08-01  Marek Polacek  <polacek@redhat.com>
30770
30771         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30772         Use dlfcn directly instead of a variable.
30773         (binfmt-subdir): Do not define.
30774         (dlfcn): Likewise.
30775
30776 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30777
30778         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30779         Remove all definitions.
30780         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30781         <kernel-features.h>.
30782         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30783         (miss_F_GETOWN_EX): Remove all definitions.
30784         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30785         macro definition.
30786         [!__ASSUME_FCNTL64]: Remove conditional code.
30787         [__ASSUME_FCNTL64]: Make code unconditional.
30788         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30789         <kernel-features.h>.
30790         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30791         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30792         (lockf64) [__NR_fcntl64]: Make code unconditional.
30793         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30794
30795         * sysdeps/unix/sysv/linux/kernel-features.h
30796         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30797         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30798         Make code unconditional.
30799         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30800         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30802         [__NR_vfork]: Make code unconditional.
30803         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30804         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30806         [__NR_vfork]: Make code unconditional.
30807         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30808         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30809
30810 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30811
30812         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30813         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30814
30815         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30816         Define mkstemp64 as an alias.
30817         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30818         Define mkstemps64 as an alias.
30819         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30820         Define mkostemp64 as an alias.
30821         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30822         Define mkostemps64 as an alias.
30823         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30824         Conditionalize body on this.
30825         * misc/mkostemp64.c: Likewise.
30826         * misc/mkostemps64.c: Likewise.
30827         * misc/mkstemps64.c: Likewise.
30828         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30829         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30830         * sysdeps/wordsize-64/mkostemp.c: File removed.
30831         * sysdeps/wordsize-64/mkstemp.c: File removed.
30832         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30833         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30834         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30835         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30836
30837         [BZ #14138]
30838         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30839         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30840         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30841         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30842
30843         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30844         compat_symbol macros from <shlib-compat.h> rather than the underlying
30845         default_symbol_version and symbol_version macros, so that DEFAULT
30846         lines in shlib-versions are respected.
30847         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30848
30849 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30850
30851         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30852         Declare with warn_unused_result.
30853         (setgid, setregid, setegid, setresgid): Likewise.
30854         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30855         Likewise.
30856         * WUR-REPORT: Remove set*id functions.
30857
30858 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30859
30860         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30861
30862 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30863
30864         [BZ #10191]
30865         * include/sys/socket.h (__libc_accept, __libc_accept4):
30866         Add attribute_hidden.
30867         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30868
30869         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30870         use of PTR_MANGLE.
30871         * inet/getnetgrent_r.c (setup): Likewise.
30872
30873         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30874
30875 2012-07-31  David S. Miller  <davem@davemloft.net>
30876
30877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30878
30879 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30880
30881         [BZ #13629]
30882         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30883         value between 1.0 and 2.0 and smaller part has absolute value less
30884         than 1.0.
30885         * math/s_clog10.c (__clog10): Likewise.
30886         * math/s_clog10f.c (__clog10f): Likewise.
30887         * math/s_clog10l.c (__clog10l): Likewise.
30888         * math/s_clogf.c (__clogf): Likewise.
30889         * math/s_clogl.c (__clogl): Likewise.
30890         * math/libm-test.inc (clog_test): Add more tests.
30891         (clog10_test): Likewise.
30892         * sysdeps/i386/fpu/libm-test-ulps: Update.
30893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30894
30895 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30896
30897         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30898         Exit with zero in case no suitable GID is found, and write a
30899         message to standard error.
30900
30901 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30902
30903         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30904         rather than to 1.
30905         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30906         (MAXPATHLEN): Removed.
30907         (NOGROUP, NODEV): New macros.
30908         (setbit, clrbit, isset, isclr): New macros.
30909         (howmany, roundup, powerof2): New macros.
30910         (DEV_BSIZE): New macro.
30911
30912         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30913         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30914
30915         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30916         definition on [!__NO_LONG_DOUBLE_MATH].
30917
30918         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30919         PTR_MANGLE and PTR_DEMANGLE.
30920
30921         * socket/accept4.c (accept4): Rename to __libc_accept4.
30922         Define accept4 as a weak alias.
30923
30924         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30925         on [_DIRENT_HAVE_D_TYPE].
30926         * io/ftw.c (ftw_dir): Likewise.
30927
30928         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30929
30930         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30931
30932         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30933         Use the BSD numbers rather than the arbitrary ones we had.
30934         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30935         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30936         (SIGXCPU, SIGXFSZ): New macros.
30937         (_NSIG): Now 32.
30938
30939         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30940         initializer on [_LIBC_REENTRANT].
30941
30942         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30943         definitions inside [_POSIX_MAPPED_FILES].
30944
30945         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30946
30947         * dirent/opendir.c: Include <fcntl.h>.
30948
30949         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30950         (__libc_getspecific): Likewise.
30951         (__libc_key_create): Likewise.
30952
30953         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30954         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30955         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30956         (tmpfile64): Define as alias.
30957         * sysdeps/wordsize-64/tmpfile.c: File removed.
30958         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30959         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30960         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30961
30962         * stdio-common/vfscanf.c: Include <stdbool.h>.
30963         * nss/makedb.c: Likewise.
30964         * stdio-common/_i18n_number.h: Likewise.
30965         * argp/argp-help.c: Likewise.
30966         * posix/wordexp.c: Likewise.
30967         * sysdeps/posix/spawni.c: Likewise.
30968         * nss/nss_files/files-initgroups.c: Likewise.
30969         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30970         * nss/nss_files/files-initgroups.c: Likewise.
30971         * nss/nss_db/db-netgrp.c: Likewise.
30972         * nss/nss_db/db-initgroups.c: Likewise.
30973         * io/fchmodat.c: Include <sys/stat.h>.
30974
30975         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30976         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30977
30978         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30979         [HAVE_MMAP].
30980
30981         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30982         Add multiple inclusion protection.
30983
30984 2012-07-27  David S. Miller  <davem@davemloft.net>
30985
30986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30987
30988 2012-07-27  Gary Benson  <gbenson@redhat.com>
30989
30990         [BZ #14298]
30991         * elf/rtld.c: Include <stap-probe.h>.
30992         (dl_main): Added static probes "init_start" and "init_complete".
30993         * elf/dl-load.c: Include <stap-probe.h>.
30994         (lose): Take new parameter "nsid".
30995         Added static probe "map_failed".
30996         (_dl_map_object_from_fd): Pass namespace id to lose.
30997         Added static probe "map_start".
30998         (open_verify): Pass namespace id to lose.
30999         * elf/dl-open.c: Include <stap-probe.h>.
31000         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31001         and "reloc_complete".
31002         * elf/dl-close.c: Include <stap-probe.h>.
31003         (_dl_close_worker): Added static probes "unmap_start" and
31004         "unmap_complete".
31005         * elf/rtld-debugger-interface.txt: New file documenting the above.
31006
31007 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31008
31009         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31010         rather than a string variable.
31011         * sunrpc/rpc_main.c (h_output): Likewise.
31012         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31013
31014 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31015
31016         * inet/check_native.c: New file.
31017
31018 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31019
31020         [BZ #13629]
31021         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31022         if larger part has absolute value 1.0.
31023         * math/s_clog10.c (__clog10): Likewise.
31024         * math/s_clog10f.c (__clog10f): Likewise.
31025         * math/s_clog10l.c (__clog10l): Likewise.
31026         * math/s_clogf.c (__clogf): Likewise.
31027         * math/s_clogl.c (__clogl): Likewise.
31028         * math/libm-test.inc (clog_test): Add more tests.
31029         (clog10_test): Likewise.
31030         * sysdeps/i386/fpu/libm-test-ulps: Update.
31031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31032
31033         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31034         (pltexit): Likewise.
31035         (La_regs): Likewise.
31036         (La_retval): Likewise.
31037         (int_retval): Likewise.
31038         Update #error for removed macros to refer only to definitions in
31039         tst-audit.h.
31040         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31041         macro.
31042         (pltexit): Likewise.
31043         (La_regs): Likewise.
31044         (La_retval): Likewise.
31045         (int_retval): Likewise.
31046         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31047         macro.
31048         (pltexit): Likewise.
31049         (La_regs): Likewise.
31050         (La_retval): Likewise.
31051         (int_retval): Likewise.
31052         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31053         macro.
31054         (pltexit): Likewise.
31055         (La_regs): Likewise.
31056         (La_retval): Likewise.
31057         (int_retval): Likewise.
31058         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31059         macro.
31060         (pltexit): Likewise.
31061         (La_regs): Likewise.
31062         (La_retval): Likewise.
31063         (int_retval): Likewise.
31064         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31065         macro.
31066         (pltexit): Likewise.
31067         (La_regs): Likewise.
31068         (La_retval): Likewise.
31069         (int_retval): Likewise.
31070         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31071         macro.
31072         (pltexit): Likewise.
31073         (La_regs): Likewise.
31074         (La_retval): Likewise.
31075         (int_retval): Likewise.
31076         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31077         macro definitions in tst-audit.h.
31078         * sysdeps/i386/tst-audit.h: New file.
31079         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31080         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31081         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31082         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31083         * sysdeps/sh/tst-audit.h: Likewise.
31084         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31085         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31086         * sysdeps/x86_64/tst-audit.h: Likewise.
31087
31088 2012-07-26  Andreas Jaeger  <aj@suse.de>
31089
31090         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31091         ptrace.
31092
31093         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31094         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31095         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31096         PTRACE_O_MASK.
31097         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31098         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31099         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31100
31101         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31102         value.
31103
31104         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31105         _sigsys.
31106         (si_call_addr, si_syscall, si_arch): Define new macro.
31107         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31108         _sigsys.
31109         (si_call_addr, si_syscall, si_arch): Define new marcro.
31110         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31111         _sigsys.
31112         (si_call_addr, si_syscall, si_arch): Define new macro.
31113         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31114         _sigsys.
31115         (si_call_addr, si_syscall, si_arch): Define new macro.
31116
31117 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31118
31119         [BZ #13717]
31120         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31121         Change to 2.4.21 where previously 2.4.1.
31122         * sysdeps/unix/sysv/linux/configure: Regenerated.
31123         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31124         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31125         Linux kernel version.
31126         (__ASSUME_STD_AUXV): Remove.
31127         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31128         kernel version.
31129         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31130         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31131         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31132         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31133         (__ASSUME_NETLINK_SUPPORT): Likewise.
31134         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31135         (__no_netlink_support): Remove conditional definition.
31136         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31137         Remove.
31138         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31139         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31140         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31141         (if_nameindex_ioctl): Remove.
31142         (if_nameindex_netlink): Do not handle __no_netlink_support.
31143         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31144         code.
31145         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31146         Remove conditional code.
31147         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31148         code.
31149         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31150         unconditional.
31151         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31152         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31153         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31154         Remove.
31155         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31156         [!__ASSUME_STD_AUXV]: Remove conditional code.
31157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31158         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31159         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31161         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31162         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31163         code.
31164         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31166         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31167         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31168         conditional code.
31169         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31171         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31172         code.
31173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31174         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31175         conditional code.
31176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31177         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31178         code unconditional.
31179         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31180         conditional code.
31181         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31182         unconditional.
31183         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31184         conditional code.
31185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31186         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31187         unconditional.
31188         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31189         conditional code.
31190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31191         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31192         code unconditional.
31193         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31194         conditional code.
31195         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31196         unconditional.
31197         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31198         conditional code.
31199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31200         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31201         code unconditional.
31202         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31203         conditional code.
31204         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31205         unconditional.
31206         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31207         conditional code.
31208
31209 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31210
31211         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31212         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31213         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31214         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31215         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31216         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31217         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31218         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31219         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31220         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31221         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31222         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31223         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31224         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31225         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31226         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31227         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31228         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31229         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31230         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31231         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31232         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31233         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31234
31235 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31236
31237         * Versions.def: Add GLIBC_2.17.
31238         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31239         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31240         Introduce __libc_secure_getenv.
31241         * stdlib/Versions (2.17): Add secure_getenv
31242         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31243         * stdlib/secure-getenv.c: Rename __secure_getenv to
31244         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31245         symbol __secure_getenv for GLIBC_2.0.
31246         * stdlib/tst-secure-getenv.c: New.
31247         * stdlib/Makefile (tests): Add testcase.
31248         * manual/startup.texi (Environment Access): Document
31249         secure_getenv.
31250         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31251         __libc_secure_getenv.
31252         * inet/ruserpass.c (ruserpass): Likewise.
31253         * malloc/mtrace.c (mtrace): Likewise.
31254         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31255         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31256         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31257         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31258         HAVE_SECURE_GETENV.
31259         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31260         __secure_getenv to __libc_secure_getenv.
31261         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31263         Likewise.
31264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31265         Likewise.
31266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31268         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31273
31274 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31275
31276         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31277         (struct La_i86_retval): Likewise.
31278         (struct La_x86_64_regs): Likewise.
31279         (struct La_x86_64_retval): Likewise.
31280         (struct La_x32_regs): Likewise.
31281         (struct La_x32_retval): Likewise.
31282         (struct La_ppc32_regs): Likewise.
31283         (struct La_ppc32_retval): Likewise.
31284         (struct La_ppc64_regs): Likewise.
31285         (struct La_ppc64_retval): Likewise.
31286         (struct La_sh_regs): Likewise.
31287         (struct La_sh_retval): Likewise.
31288         (struct La_s390_32_regs): Likewise.
31289         (struct La_s390_32_retval): Likewise.
31290         (struct La_s390_64_regs): Likewise.
31291         (struct La_s390_64_retval): Likewise.
31292         (struct La_sparc32_regs): Likewise.
31293         (struct La_sparc32_retval): Likewise.
31294         (struct La_sparc64_regs): Likewise.
31295         (struct La_sparc64_retval): Likewise.
31296         (struct audit_ifaces): Remove architecture-specific pltenter and
31297         pltexit members.
31298         * sysdeps/i386/ldsodefs.h: New file.
31299         * sysdeps/powerpc/ldsodefs.h: Likewise.
31300         * sysdeps/s390/ldsodefs.h: Likewise.
31301         * sysdeps/sh/ldsodefs.h: Likewise.
31302         * sysdeps/sparc/ldsodefs.h: Likewise.
31303         * sysdeps/x86_64/ldsodefs.h: Likewise.
31304
31305 2012-07-25  Marek Polacek  <polacek@redhat.com>
31306
31307         [BZ #6808]
31308         * math/libm-test.inc (yn_test): Add another test.
31309         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31310         to ERANGE when the result is +-Inf.
31311         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31312         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31313         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31314         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31315
31316 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31317
31318         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31319         equal to 0.
31320         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31321         clock_t.
31322         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31323
31324 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31325
31326         * configure.in <sysdeps resolving>: Correct printing
31327         Implies_before.
31328         * configure: Regenerate.
31329
31330 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31331
31332         * math/w_ilogb.c: Include <limits.h>.
31333         * math/w_ilogbl.c: Likewise.
31334
31335 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31336
31337         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31338         va_copy.  Document allowing for unavailable va_copy only as
31339         pre-C99 compatibility.
31340         * manual/string.texi (Copying and Concatenation): Use va_copy
31341         instead of __va_copy in concat example.
31342
31343 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31344
31345         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31346         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31347         it if not null.
31348
31349         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31350         with O_NOLINK passed to __file_name_lookup.
31351
31352         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31353         with O_NOLINK passed to __file_name_lookup.
31354
31355         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31356         negative N or less than NGIDS.
31357
31358         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31359         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31360         enough.  Use memcpy instead of strncpy.
31361
31362 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31363
31364         * elf/Makefile (check-data): Remove.
31365         (localplt.data): New vpath directive.
31366         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31367         instead of $(check-data).
31368         * scripts/data/localplt-generic.data: Move to ...
31369         * sysdeps/generic/localplt.data: ... here.
31370         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31371         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31372         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31374         ... here.
31375         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31377         ... here.
31378         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31380         ... here.
31381         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31383         ... here.
31384         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31386         ... here.
31387         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31389         ... here.
31390
31391 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31392
31393         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31394         PPC32 and PPC64 files.
31395         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31396         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31397
31398 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31399
31400         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31401         __makecontext_ret to ...
31402         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31403         ... here and call exit if uc_link is NULL.  New file.
31404         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31405         __makecontext_ret.S.
31406         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31407         __makecontext_ret to ...
31408         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31409         ... here and call exit if uc_link is NULL.  New file.
31410         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31411         __makecontext_ret.S.
31412
31413 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31414
31415         * elf/elf.h (R_390_IRELATIVE): New definition.
31416         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31417         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31418         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31419         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31420         (elf_machine_lazy_rel): Likewise.
31421         * sysdeps/s390/dl-irel.h: New file.
31422         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31423         * sysdeps/s390/s390-64/memset.S: New asm code.
31424         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31425         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31426         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31427         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31428         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31429         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31430         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31431         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31432         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31433         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31434         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31435         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31436         * sysdeps/s390/s390-32/memset.S: New asm code.
31437         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31438
31439 2012-07-17  Marek Polacek  <polacek@redhat.com>
31440
31441         [BZ #14349]
31442         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31443         * sysdeps/s390/s390-64/configure.in: Likewise.
31444         * sysdeps/sparc/configure.in: Likewise.
31445         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31446         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31447         * sysdeps/i386/configure.in: Likewise.
31448         * sysdeps/x86_64/configure.in: Likewise.
31449         * sysdeps/sh/configure.in: Likewise.
31450         * sysdeps/s390/s390-32/configure: Regenerated.
31451         * sysdeps/s390/s390-64/configure: Likewise.
31452         * sysdeps/x86_64/configure: Likewise.
31453         * sysdeps/sh/configure: Likewise.
31454         * sysdeps/powerpc/powerpc64/configure: Likewise.
31455         * sysdeps/powerpc/powerpc32/configure: Likewise.
31456         * sysdeps/sparc/configure: Likwise.
31457         * sysdeps/i386/configure: Likewise.
31458
31459         * elf/dl-open.c: Comment fixes.
31460
31461 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31462
31463         * Makefile [CXX] (check-data): Remove.
31464         [CXX] (c++-types.data): New vpath directive.
31465         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31466         vpath.  Do not allow for C++ type data being missing.
31467         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31468         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31469         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31470         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31471         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31472         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31473         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31475         ... here.
31476         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31478         ... here.
31479         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31481         ... here.
31482         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31484         ... here.
31485         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31487         ... here.
31488         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31490         ... here.
31491         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31493         ... here.
31494         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31496
31497         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31498         definitions to architecture-specific files.
31499         (TLS_IE): Likewise.
31500         (TLS_LD): Likewise.
31501         (TLS_GD): Likewise.
31502         * sysdeps/i386/tls-macros.h: New file.
31503         * sysdeps/powerpc/tls-macros.h: Likewise.
31504         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31505         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31506         * sysdeps/sh/tls-macros.h: Likewise.
31507         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31508         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31509         * sysdeps/x86_64/tls-macros.h: Likewise.
31510
31511 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31512
31513         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31514         zero value for regular exit case.
31515
31516         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31517         (__start_context): Preserve zero value for regular exit case.
31518
31519 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31520             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31521
31522         * manual/setjmp.texi (setcontext): Clarify normal process
31523         termination when uc_link is the null pointer.
31524         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31525         exit call.
31526
31527 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31528
31529         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31530         preprocessor.  Test for each exception mask separately.
31531
31532 2012-07-16  Andreas Jaeger  <aj@suse.de>
31533
31534         * po/ru.po: Update from translation team.
31535
31536 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31537
31538         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31539         equal to 0.
31540         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31541         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31542         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31543         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31544         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31545
31546 2012-07-13  Andreas Jaeger  <aj@suse.de>
31547
31548         * po/fr.po: Update from translation team.
31549
31550 2012-07-12  Marek Polacek  <polacek@redhat.com>
31551
31552         [BZ #14173]
31553         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31554         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31555         loop condition.
31556
31557 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31558
31559         [BZ #13717]
31560         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31561         Change to 2.4.1 where previously 2.4.0.
31562         * sysdeps/unix/sysv/linux/configure: Regenerated.
31563         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31564         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31565         version.
31566         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31567         (__ASSUME_AT_CLKTCK): Remove.
31568         (__ASSUME_AT_PAGESIZE): Likewise.
31569         (__ASSUME_AT_XID): Likewise.
31570         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31571         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31572         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31573         unconditionally.
31574         (HAVE_AUX_PAGESIZE): Likewise.
31575         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31576         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31577         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31578
31579 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31580
31581         [BZ #14307]
31582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31583         the temporary buffer used to invoke __gethostbyname2_r,
31584         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31585         host_data / struct gaih_addrtuple.
31586         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31587         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31588         header file nss/nsswitch.h.
31589         * nss/nsswitch.h (global scope): Add definition of implementation
31590         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31591         resolv/nss_dns/dns-host.c).
31592
31593 2012-07-11  Andreas Jaeger  <aj@suse.de>
31594
31595         * po/fr.po: Update from translation team.
31596
31597         * po/sv.po: Update from translation team
31598         * po/fr.po: Another update from translation team.
31599
31600 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31601
31602         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31603         for subnormals or multiply small sinh result by itself.
31604         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31606
31607 2012-07-11  David S. Miller  <davem@davemloft.net>
31608
31609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31610
31611 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31612
31613         [BZ #14347]
31614         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31615         (INTERNAL_MARK): Shift it here.
31616
31617 2012-07-10  Marek Polacek  <polacek@redhat.com>
31618
31619         [BZ #14151]
31620         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31621         libc_cv_asm_global_directive with .globl.
31622         * configure: Regenerated.
31623         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31624         with .globl.
31625         * sysdeps/i386/configure: Regenerated.
31626         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31627         with .globl.
31628         * sysdeps/x86_64/configure: Regenerated.
31629         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31630         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31631         * elf/tst-unique2mod2.c: Likewise.
31632         * elf/tst-unique2mod1.c: Likewise.
31633         * elf/tst-unique1mod2.c: Likewise.
31634         * elf/tst-unique1mod1.c: Likewise.
31635         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31636         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31637         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31638         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31639         * sysdeps/mach/sysdep.h: Likewise.
31640         * sysdeps/i386/sysdep.h: Likewise.
31641         * sysdeps/i386/i386-mcount.S: Likewise.
31642         * sysdeps/x86_64/_mcount.S: Likewise.
31643         * sysdeps/x86_64/sysdep.h: Likewise.
31644         * sysdeps/sh/_mcount.S: Likewise.
31645         * sysdeps/sh/sysdep.h: Likewise.
31646         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31647         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31648         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31649         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31650         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31651         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31652         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31653         * locale/localeinfo.h: Likewise.
31654         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31655         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31656
31657 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31658
31659         [BZ #14336]
31660         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31661         system".
31662         * manual/message.texi (The Uniforum approach): Likewise.
31663         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31664         (glibc iconv Implementation): Likewise.
31665
31666 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31667
31668         [BZ #14337]
31669         * math/s_clog.c (__clog): Avoid scaling a value down where that
31670         could result in underflow.
31671         * math/s_clog10.c (__clog10): Likewise.
31672         * math/s_clog10f.c (__clog10f): Likewise.
31673         * math/s_clog10l.c (__clog10l): Likewise.
31674         * math/s_clogf.c (__clogf): Likewise.
31675         * math/s_clogl.c (__clogl): Likewise.
31676         * math/libm-test.inc (clog_test): Add more tests.
31677         (clog10_test): Likewise.
31678         * sysdeps/i386/fpu/libm-test-ulps: Update.
31679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31680
31681 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31682
31683         [BZ #14283]
31684         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31685         by 7 not 8 to examine high bit of fractional part.
31686
31687         [BZ #14042]
31688         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31689         for call to __mcount_internal.
31690         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31691         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31692         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31693
31694 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31695
31696         [BZ #14154]
31697         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31698         approximation for values within 0x1p-13f of an odd multiple of
31699         pi/4.
31700         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31701         exception.  Add more tests.
31702         * sysdeps/i386/fpu/libm-test-ulps: Update.
31703
31704         [BZ #6778]
31705         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31706         inputs and return -1 for them.  Do not check for +Inf in case not
31707         reachable for +Inf.
31708         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31709         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31710         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31711         and return -1 for them.  Do not check for +Inf in case not
31712         reachable for +Inf.
31713         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31714         define.
31715         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31716         and return -1 for them.  Do not check for +Inf in case not
31717         reachable for +Inf.
31718         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31719         spurious underflow.
31720         * sysdeps/i386/fpu/libm-test-ulps: Update.
31721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31722
31723 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31724
31725         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31726
31727 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31728
31729         [BZ #14157]
31730         [BZ #14331]
31731         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31732         could result in spurious underflow.  Scale down values above
31733         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31734         * math/s_csqrtf.c (__csqrtf): Likewise.
31735         * math/s_csqrtl.c (__csqrtl): Likewise.
31736         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31737         spurious underflow.
31738         * sysdeps/i386/fpu/libm-test-ulps: Update.
31739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31740
31741 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31742
31743         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31744         xopen-msg.sed.
31745         * catgets/xopen-msg.awk: New file.
31746         * catgets/xopen-msg.sed: Removed.
31747
31748         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31749         po2text.sed.
31750         * intl/po2test.awk: New file.
31751         * intl/po2test.sed: Removed.
31752
31753 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31754
31755         [BZ #14328]
31756         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31757         or multiply small sinh result by itself.
31758         * math/s_ctanf.c (__ctanf): Likewise.
31759         * math/s_ctanh.c (__ctanh): Likewise.
31760         * math/s_ctanhf.c (__ctanhf): Likewise.
31761         * math/s_ctanhl.c (__ctanhl): Likewise.
31762         * math/s_ctanl.c (__ctanl): Likewise.
31763         * math/libm-test.inc (ctan_test_tonearest): New function.
31764         (ctan_test_towardzero): Likewise.
31765         (ctan_test_downward): Likewise.
31766         (ctan_test_upward): Likewise.
31767         (ctanh_test_tonearest): Likewise.
31768         (ctanh_test_towardzero): Likewise.
31769         (ctanh_test_downward): Likewise.
31770         (ctanh_test_upward): Likewise.
31771         (main): Call these new functions.
31772         * sysdeps/i386/fpu/libm-test-ulps: Update.
31773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31774
31775 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31776
31777         * .gitignore: Delete /ports entry.
31778
31779 2012-07-03  Andreas Jaeger  <aj@suse.de>
31780
31781         * po/bg.po: Update from translation team.
31782         * po/cs.po: Likewise.
31783         * po/de.po: Likewise.
31784         * po/hr.po: Likewise.
31785         * po/nl.pl: Likewise.
31786         * po/pl.po: Likewise.
31787         * po/vi.po: Likewise.
31788
31789 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31790
31791         * Makeconfig [!+link] (+link-before-libc): New variable.
31792         [!+link] (+link-after-libc): Likewise.
31793         [!+link] (+link-tests): Likewise.
31794         [!+link] (+link): Define in terms of $(+link-before-libc) and
31795         $(+link-after-libc).
31796         [!+link-static] (+link-static-before-libc): New variable.
31797         [!+link-static] (+link-static-after-libc): Likewise.
31798         [!+link-static] (+link-static-tests): Likewise.
31799         [!+link-static] (+link-static): Define in terms of
31800         $(+link-static-before-libc) and $(+link-static-after-libc).
31801         [build-shared] (link-libc-before-gnulib): New variable.
31802         [build-shared] (link-libc-tests): Likewise.
31803         [build-shared] (link-libc): Define in terms of
31804         $(link-libc-before-gnulib).
31805         [!build-shared] (link-libc-tests): New variable.
31806         (link-libc-static-tests): New variable.
31807         [!gnulib] (gnulib-arch): New variable.
31808         [!gnulib] (gnulib-tests): Likewise.
31809         [!gnulib] (static-gnulib-arch): Likewise.
31810         [!gnulib] (static-gnulib-tests): Likewise.
31811         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31812         Define with "=" instead of ":=".
31813         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31814         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31815         * Rules (binaries-all-notests): New variable.
31816         (binaries-all-tests): Likewise.
31817         (binaries-static-notests): Likewise.
31818         (binaries-static-tests): Likewise.
31819         (binaries-all): Define using $(binaries-all-notests) and
31820         $(binaries-all-tests).
31821         (binaries-static): Define using $(binaries-static-notests) and
31822         $(binaries-static-tests).
31823         (binaries-shared-tests): New variable.
31824         (binaries-shared-notests): Likewise.
31825         (binaries-shared): Remove variable.
31826         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31827         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31828         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31829         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31830         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31831         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31832         * elf/Makefile (sln-modules): New variable.
31833         (extra-objs): Add $(sln-modules:=.o).
31834         (ldconfig-modules): Add static-stubs.
31835         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31836         * elf/static-stubs.c: New file.
31837
31838         [BZ #14283]
31839         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31840         by 7 not 8 to examine high bit of fractional part.  Use volatile
31841         variables when splitting into final array of floats if
31842         __FLT_EVAL_METHOD__ != 0.
31843         * math/libm-test.inc (cos_test): Add another test.
31844         (sin_test): Likewise.
31845         * sysdeps/i386/fpu/libm-test-ulps: Update.
31846
31847         [BZ #14273]
31848         * math/libm-test.inc (cosh_test): Add more tests.
31849
31850         * version.h (RELEASE): Set to "development".
31851         (VERSION): Set to "2.16.90".
31852
31853 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31854
31855         * NEWS: Update copyright. Remove last-updated date.
31856         Mention math library bug fixes and timezone data changes.
31857         * README: Mention GNU/Hurd, x32, and HPPA support status.
31858
31859 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31860
31861         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31862
31863 2012-06-27  Andreas Jaeger  <aj@suse.de>
31864
31865         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31866
31867 2012-06-25  Andreas Jaeger  <aj@suse.de>
31868
31869         * sysdeps/s390/fpu/libm-test-ulps: Update.
31870
31871 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31872             Thomas Schwinge  <thomas@codesourcery.com>
31873
31874         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31875         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31876         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31877         fanotify_mark.
31878
31879 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31880
31881         * sysdeps/mach/start.c: Remove file.
31882         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31883         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31884         * sysdeps/sh/init-first.c: Likewise.
31885
31886         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31887         registers for frame unwinding purposes, add CFI directives.
31888         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31889         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31890         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31891         Likewise.
31892
31893         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31894         __fortify_fail returning.
31895         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31896
31897         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31898         sysdeps/sh/____longjmp_chk.S.
31899         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31900         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31901         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31902         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31903
31904         * sysdeps/sh/abort-instr.h: New file.
31905         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31906         process in case exit returns.
31907
31908         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31909         initialize the GOT register before use.
31910
31911         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31912         calculation of ARGC > 4.
31913
31914         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31915         meaningful names to some local labels.
31916
31917 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31918             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31919
31920         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31921         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31922         (__arch_compare_and_exchange_val_16_acq): Likewise.
31923         (__arch_compare_and_exchange_val_32_acq): Likewise.
31924         (atomic_exchange_and_add): Fix gUSA sequence.
31925         (atomic_add): Likewise.
31926         (atomic_add_negative): Likewise.
31927         (atomic_add_zero): Likewise.
31928         (atomic_bit_test_set): Likewise.
31929
31930 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31931
31932         [BZ #13579]
31933         * include/link.h (struct link_map): Add l_free_initfini.
31934         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31935         l_initfini.
31936         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31937         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31938         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31939         set.
31940
31941 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31942
31943         * configure.in: Use AC_LANG_SOURCE.
31944         * configure: Regenerate.
31945
31946 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31947
31948         * configure.in (libc_cv_localstatedir): New substituted variable.
31949         * configure: Regenerated.
31950         * config.make.in (localstatedir): New variable, substituted from
31951         libc_cv_localstatedir.
31952         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31953         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31954         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31955         * sysdeps/gnu/configure: Regenerated.
31956
31957 2012-06-21  Jeff Law  <law@redhat.com>
31958
31959         [BZ #14277]
31960         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31961         free.  Simplify list management for _LIBC case.
31962
31963 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31964
31965         [BZ #14273]
31966         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31967         Clear sign bit of 64-bit integer value before comparing against
31968         overflow value.
31969
31970         * sysdeps/mach/configure: Regenerated.
31971
31972 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31973
31974         [BZ #14278]
31975         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31976
31977 2012-06-21  Jeff Law  <law@redhat.com>
31978
31979         [BZ #13882]
31980         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31981         uint16_t for elements in the "seen" array to avoid char overflows.
31982         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31983         * elf/dl-open.c (dl_open_worker): Likewise.
31984
31985 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31986
31987         * scripts/list-sources.sh: Scan PORTS for translations.
31988         * po/libc.pot: Regenerated.
31989
31990 2012-06-21  Andreas Jaeger  <aj@suse.de>
31991
31992         [BZ #12194]
31993         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31994         warning.
31995         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31996         * bits/byteswap-16.h (__bswap_16): Likewise.
31997         * bits/byteswap.h (__bswap_constant_16): Likewise.
31998
31999 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32000
32001         [BZ #14117]
32002         * sysdeps/i386/fpu_control.h: Removed.
32003         * sysdeps/x86_64/fpu_control.h: Moved to ...
32004         * sysdeps/x86/fpu_control.h: Here.
32005
32006         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32007         (_FPU_SETCW): Likewise.
32008
32009 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32010
32011         [BZ #14117]
32012         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32013         * sysdeps/x86/fpu/bits/mathinline.h: This.
32014         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32015
32016         [BZ #14050]
32017         [BZ #14117]
32018         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32019         functions if __x86_64__ is defined.
32020
32021 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32022
32023         * string/endian.h: Add !__ASSEMBLER__ condition for including
32024         conversion interfaces.
32025
32026 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32027
32028         [BZ #14241]
32029         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32030         of ABS(x) in calculating zero to negative powers other than odd
32031         integers.
32032         * math/libm-test.inc (pow_test): Add more tests.
32033
32034 2012-06-15  Andreas Jaeger  <aj@suse.de>
32035
32036         * manual/contrib.texi (Contributors): Update entry of Liubov
32037         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32038         Machado Filho.
32039
32040 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32041
32042         * string/string.h: Add __wur to GNU version of strerror_r.
32043
32044 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32045
32046         [BZ #14229]
32047         * string/Makefile (tests): Add tst-strtok_r.
32048         * string/tst-strtok_r.c: New file.
32049         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32050         RAX_LP/RDX_LP on SAVE_PTR.
32051
32052 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32053
32054         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32055
32056 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32057
32058         * libm_test.inc (csqrt_test): Allow more spurious underflow
32059         exceptions.
32060         (j0_test): Likewise.
32061         (j1_test): Likewise.
32062         (y0_test): Likewise.
32063         (y1_test): Likewise.
32064
32065 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32066
32067         * po/Makefile (libc.pot): Use UTF-8 charset.
32068
32069 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32070
32071         [BZ #14210]
32072         Suppress sign-conversion warning from FD_SET.
32073         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32074         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32075         not unsigned long int.
32076         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32077
32078 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32079
32080         [BZ #14050]
32081         [BZ #14117]
32082         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32083         __extern_always_inline instead of __extern_inline.
32084         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32085         (__signbit): Likewise.
32086         (__signbitl): Support C++ namespace.
32087         (lrintf): New inline function.
32088         (lrint): Likewise.
32089         (llrintf): Likewise.
32090         (llrint): Likewise.
32091         (fmaxf): Likewise.
32092         (fmax): Likewise.
32093         (fminf): Likewise.
32094         (fmin): Likewise.
32095         (rint): Likewise.
32096         (rintf): Likewise.
32097         (ceil): Likewise.
32098         (ceilf): Likewise.
32099         (floor): Likewise.
32100         (floorf): Likewise.
32101         (nearbyint): Likewise.
32102         (nearbyintf): Likewise.
32103
32104 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32105
32106         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32107         non-default versions.
32108
32109 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32110
32111         [BZ #14218]
32112         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32113
32114 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32115
32116         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32117         (FE_UPWARD, FE_DOWNWARD): Don't define.
32118         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32119         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32120
32121         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32122         reading it.
32123         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32124         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32125
32126 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32127
32128         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32129         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32130         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32131         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32132
32133 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32134
32135         [BZ #14117]
32136         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32137         * sysdeps/i386/fpu/Implies: New file.
32138         * sysdeps/x86_64/fpu/Implies: Likewise.
32139         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32140         * sysdeps/x86/fpu/bits/fenv.h: This.
32141
32142         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32143         __SSE_MATH__.
32144
32145 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32146
32147         [BZ #14134]
32148         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32149         character 0xffff that matches the last element of the
32150         conversion table.
32151
32152 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32153
32154         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32155         fmodl commit.
32156
32157 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32158
32159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32160         values higher than 25.6283.
32161
32162 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32163
32164         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32165         subnormal exponent extraction and add some __builtin_expect.
32166         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32167         Fix for subnormal mantissa calculation.
32168
32169 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32170
32171         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32172         cpu2 is -1 and errno is not ENOSYS.
32173
32174 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32175
32176         [BZ #14117]
32177         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32178         * sysdeps/x86/bits/string.h: This.
32179         * sysdeps/x86_64/bits/string.h: Removed.
32180
32181         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32182         if not compiling for x86-64, but compiling for >= i486.
32183
32184         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32185         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32186
32187         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32188         New macro from Linux kernel 3.4.0.
32189         (FP_XSTATE_MAGIC2): Likewise.
32190         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32191         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32192         (struct _fpx_sw_bytes): New struct.
32193         (struct _xsave_hdr): Likewise.
32194         (struct _ymmh_state): Likewise.
32195         (struct _xstate): Likewise.
32196
32197         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32198         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32199         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32200         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32201         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32202         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32203
32204         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32205         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32206         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32207         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32208         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32209         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32210
32211 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32212
32213         [BZ #13743]
32214         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32215         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32216         (sysdep_headers): Include sys/platform/ppc.h.
32217         * sysdeps/powerpc/test-gettimebase.c: Test for
32218         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32219         * manual/Makefile (appendices): Include platform.texi.
32220         * manual/contrib.texi (Contributors): Update @node pointers.
32221         * manual/maint.texi (Maintenance): Likewise.
32222         (Platform): New node.
32223         * manual/platform.texi: New file.  Document the new features.
32224
32225 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32226             Jakub Jelinek  <jakub@redhat.com>
32227
32228         [BZ #14188]
32229         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32230         where __builtin_expect is unavailable.
32231
32232 2012-06-03  David S. Miller  <davem@davemloft.net>
32233
32234         * stdlib/longlong.h: Updated from GCC.
32235
32236 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32237
32238         [BZ #14042]
32239         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32240         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32241         __mcount_internal.
32242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32243         (GLIBC_2.16): Likewise.
32244
32245 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32246
32247         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32248
32249 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32250
32251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32252         (default-abi): New variable.
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32254         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32255         variable.
32256         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32257         Likewise.
32258         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32259         Likewise.
32260         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32261         Likewise.
32262
32263         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32264         definition.  Document in comment.
32265
32266 2012-06-01  David S. Miller  <davem@davemloft.net>
32267
32268         * stdlib/longlong.h: Updated from GCC.
32269
32270 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32271
32272         [BZ #14117]
32273         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32274         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32275         sys/debugreg.h sys/io.h here.
32276         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32277         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32278         sys/io.h.
32279         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32280         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32281         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32282         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32283         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32284         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32285
32286         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32287         Define only if __x86_64__ is defined.
32288
32289 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32290
32291         [BZ #14048]
32292         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32293         Use int64_t for variable i.
32294         * math/libm-test.inc (fmod_test): Add more tests.
32295
32296         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32297         z computation is not scheduled after fetestexcept.
32298         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32299         Use math_force_eval instead of asm to ensure calculation scheduled
32300         before exception test.
32301         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32302         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32303
32304 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32305
32306         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32307         computation is not scheduled after fetestexcept.
32308
32309 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32310
32311         [BZ #14117]
32312         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32313         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32314
32315 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32316
32317         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32318         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32319
32320 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32321
32322         [BZ #14117]
32323         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32324         <bits/wordsize.h>.
32325         (__WCHAR_MIN): Support __WORDSIZE == 64.
32326         (__WCHAR_MAX): Likewise.
32327
32328         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32329         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32330
32331         [BZ #14183]
32332         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32333         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32334
32335         [BZ #14117]
32336         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32337         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32338
32339         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32340         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32341
32342         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32343         Defined to 1 if __x86_64__ isn't defined.
32344         (_STAT_VER_LINUX_OLD): New.
32345         (st_atime): Remove duplicate.
32346         (st_mtime): Likewise.
32347         (st_ctime): Likewise.
32348
32349 2012-05-31  David S. Miller  <davem@davemloft.net>
32350
32351         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32352         entries.
32353
32354 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32355
32356         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32357         gen-libm-test.pl.
32358
32359         [BZ #14132]
32360         * elf/dl-reloc.c: Include <_itoa.h>.
32361         (_dl_reloc_bad_type): Remove use of INTUSE.
32362         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32363         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32364         * stdio-common/psiginfo.c (psiginfo): Likewise.
32365         * stdio-common/psignal.c (psignal): Likewise.
32366         * string/strsignal.c (strsignal): Likewise.
32367         * include/signal.h (_sys_siglist): Declare hidden proto.
32368         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32369         INTVARDEF with libc_hidden_data_def.
32370         * stdio-common/itoa-udigits.c: Likewise.
32371         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32372         (_itoa_lower_digits_internal): Remove declaration.
32373         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32374         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32375         (_sys_sigabbrev_internal): Remove aliases.
32376         (_sys_siglist): Define hidden alias.
32377
32378 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32379
32380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32381         bits/sysctl.h.
32382
32383 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32384
32385         [BZ #14117]
32386         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32387         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32388
32389         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32390         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32391         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32392         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32393         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32394         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32395
32396         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32397         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32398         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32399
32400         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32401         with __addr.
32402         (insw): Likewise.
32403         (insl): Likewise.
32404         (outsb): Likewise.
32405         (outsw): Likewise.
32406         (outsl): Likewise.
32407
32408         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32409         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32410         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32411
32412         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32413         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32414         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32415         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32416         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32417         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32418
32419         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32420         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32421
32422         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32423         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32424
32425         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32426         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32427         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32428
32429         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32430         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32431         to ...
32432         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32433
32434         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32435         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32436         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32437
32438         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32439         for x86-64.
32440         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32441
32442 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32443
32444         * math/math.h (M_El): Use two more decimal places.
32445         (M_LOG2El): Likewise.
32446         (M_LOG10El): Likewise.
32447         (M_LN2l): Likewise.
32448         (M_LN10l): Likewise.
32449         (M_PIl): Likewise.
32450         (M_PI_2l): Likewise.
32451         (M_PI_4l): Likewise.
32452         (M_1_PIl): Likewise.
32453         (M_2_PIl): Likewise.
32454         (M_2_SQRTPIl): Likewise.
32455         (M_SQRT2l): Likewise.
32456         (M_SQRT1_2l): Likewise.
32457
32458 2012-05-31  David S. Miller  <davem@davemloft.net>
32459
32460         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32461         values between float registers.
32462         * sysdeps/sparc/sparc64/memset.S: Likewise.
32463         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32464
32465 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32466
32467         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32468         -D_FORTIFY_SOURCE=1.
32469         (CPPFLAGS-tst-longjmp_chk.c): Define.
32470         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32471         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32472         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32473         CFLAGS-tst-wchar-h.c.
32474
32475 2012-05-31  Marek Polacek  <polacek@redhat.com>
32476
32477         [BZ #14132]
32478         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32479         __endmntent_internal): Remove declaration.
32480         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32481         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32482         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32483
32484 2012-05-30  David S. Miller  <davem@davemloft.net>
32485
32486         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32487         (___Q_simulate_exceptions): Use real FP ops rather than writing
32488         into the %fsr.
32489         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32490         Likewise.
32491
32492 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32493
32494         [BZ #14117]
32495         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32496         * sysdeps/x86/bits/xtitypes.h: This.
32497
32498         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32499         * sysdeps/x86/bits/wordsize.h: This.
32500
32501         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32502         * sysdeps/x86/bits/huge_vall.h: This.
32503
32504         * sysdeps/i386/bits/select.h: Removed.
32505         * sysdeps/x86_64/bits/select.h: Renamed to ...
32506         * sysdeps/x86/bits/select.h: This.
32507
32508         * sysdeps/i386/bits/setjmp.h: Removed.
32509         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32510         * sysdeps/x86/bits/setjmp.h: This.
32511
32512         * sysdeps/i386/bits/mathdef.h: Removed.
32513         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32514         * sysdeps/x86/bits/mathdef.h: This.
32515
32516 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32517
32518         [BZ #14132]
32519         * include/sys/socket.h (__connect_internal)
32520         (__libc_sa_len_internal): Remove declaration.
32521         (__connect, __libc_sa_len): Declare hidden_proto.
32522         (SA_LEN): Remove use of INTUSE.
32523         * socket/connect.c: Add libc_hidden_def.
32524         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32525         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32526         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32527         alias.
32528         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32529         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32530         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32531         of adding _internal alias.
32532
32533 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32534
32535         [BZ #14117]
32536         * sysdeps/i386/bits/link.h: Removed.
32537         * sysdeps/i386/bits/linkmap.h: Likewise.
32538         * sysdeps/x86_64/bits/link.h: Renamed to ...
32539         * sysdeps/x86/bits/link.h: This.
32540         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32541         * sysdeps/x86/bits/linkmap.h: This.
32542
32543         * sysdeps/i386/bits/endian.h: Removed.
32544         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32545         * sysdeps/x86/bits/endian.h: This.
32546
32547         * sysdeps/i386/bits/byteswap.h: Removed.
32548         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32549         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32550         * sysdeps/x86/bits/byteswap.h: This.
32551         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32552         * sysdeps/x86/bits/byteswap-16.h: This.
32553         * sysdeps/i386/Implies: Add x86.
32554         * sysdeps/x86_64/Implies: Likewise.
32555
32556 2012-05-30  David S. Miller  <davem@davemloft.net>
32557
32558         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32559         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32560         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32561         (FP_TRAPPING_EXCEPTIONS): Define.
32562         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32563         (FP_TRAPPING_EXCEPTIONS): Define.
32564         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32565         subnormals only when inexact has been signalled or underflow
32566         exceptions are enabled.
32567         (_FP_PACK_CANONICAL): Likewise.
32568
32569 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32570
32571         [BZ #14183]
32572         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32573         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32574
32575 2012-05-30  Richard Henderson  <rth@twiddle.net>
32576
32577         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32578         with #ifndef NOT_IN_libc.
32579
32580         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32581         marked to avoid plt entry.
32582
32583 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32584
32585         [BZ #14112]
32586         * Makeconfig (default-abi): New macro.
32587         (abi-includes): Likewise.
32588         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32589         $(abi-$(default-abi)-lib-soname) for soname if defined.
32590         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32591         abi-variants.
32592         * Makefile (installed-stubs): Likewise.
32593         * include/stubs-biarch.h: Removed.
32594         * scripts/lib-names.awk: Only handle one library at a time.
32595         * scripts/soversions.awk: Remove WORDSIZE support.
32596         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32597         entries.
32598         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32599         Removed.
32600         (syscall-list-default-condition): Likewise.
32601         (syscall-list-default-condition): Likewise.
32602         (syscall-list-includes): Likewise.
32603         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32604         syscall-list-* with abi-*.  Handle undefined abi-variants.
32605         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32606         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32607         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32608         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32609         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32610         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32611         Removed.
32612         (syscall-list-32-options): Likewise.
32613         (syscall-list-32-condition): Likewise.
32614         (syscall-list-64-options): Likewise.
32615         (syscall-list-64-condition): Likewise.
32616         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32617         macro.
32618         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32619         Renamed to ...
32620         (abi-*): This.
32621         (abi-64-ld-soname): New macro.
32622         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32623         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32624         Renamed to ...
32625         (abi-*): This.
32626         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32627         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32628
32629 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32630
32631         * sysdeps/unix/sysv/linux/kernel-features.h
32632         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32633         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32634         include <kernel-features.h>.
32635         [!__NR_ftruncate64]: Remove conditional code.
32636         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32637         [__NR_ftruncate64]: Make code unconditional.
32638         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32639         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32640         include <kernel-features.h>.
32641         [!__NR_ftruncate64]: Remove conditional code.
32642         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32643         [__NR_ftruncate64]: Make code unconditional.
32644         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32646         include <kernel-features.h>.
32647         [!__NR_ftruncate64]: Remove conditional code.
32648         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32649         [__NR_ftruncate64]: Make code unconditional.
32650         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32652         include <kernel-features.h>.
32653         [!__NR_ftruncate64]: Remove conditional code.
32654         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32655         [__NR_ftruncate64]: Make code unconditional.
32656         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32657
32658         * configure.in (libc_cv_fpie): Weaken to a compile test using
32659         LIBC_TRY_CC_OPTION.
32660         * configure: Regenerated.
32661
32662 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32663
32664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32668         Refreshed.
32669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32675         Refreshed.
32676
32677 2012-05-27  David S. Miller  <davem@davemloft.net>
32678
32679         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32680         (___Q_zero): New.
32681         (__Q_simulate_exceptions): Return void.  Change to simulate
32682         exceptions by writing into the %fsr.
32683         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32684         (__Qp_handle_exceptions): Likewise.
32685         (numbers): Delete.
32686         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32687         __Qp_handle_exceptions.
32688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32689         __Qp_handle_exceptions.
32690         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32691         as unused and give dummy FP_RND_NEAREST initializer.
32692         (FP_INHIBIT_RESULTS): Define.
32693         (___Q_simulate_exceptions): Update declaration.
32694         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32695         formatting.
32696         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32697         as unused and give dummy FP_RND_NEAREST initializer.
32698         (__Qp_handle_exceptions): Update declaration.
32699         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32700         formatting.
32701
32702 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32703
32704         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32705         the temporary FPU control word.
32706         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32707         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32708         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32709         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32710         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32711         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32712         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32713         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32714         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32715         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32716         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32717
32718 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32719
32720         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32721         fields.
32722
32723 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32724
32725         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32726         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32727         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32728         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32729         Likewise.
32730         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32731         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32732         Likewise.
32733
32734 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32735
32736         * po/h.po: Update from translation team.
32737
32738 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32739
32740         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32741
32742         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32743         handling of denormals.
32744         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32745         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32746         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32747         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32748         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32749         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32751         Likewise.
32752
32753 2012-05-26  Marek Polacek  <polacek@redhat.com>
32754
32755         [BZ #14152]
32756         * math/libm-test.inc (fma_test): Don't always expect underflow
32757         exception.
32758
32759 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32760
32761         [BZ #12416]
32762         * elf/tst-execstack.c: Include stackinfo.h.
32763         (do_test): Adjust test case to ensure that pthread_getattr_np
32764         behaviour remains the same after marking stack executable.
32765
32766 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32767
32768         * sysdeps/unix/sysv/linux/kernel-features.h
32769         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32770         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32771         kernel-features.h.
32772         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32773         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32774         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32775         kernel-features.h.
32776         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32777         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32778
32779 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32780
32781         * configure.in: Define the default includes to being none.
32782         * configure: Regenerated.
32783
32784 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32785
32786         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32787         * sysdeps/x86_64/setjmp.S: Likewise.
32788         * sysdeps/i386/bsd-setjmp.S: Likewise.
32789         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32790         * sysdeps/i386/setjmp.S: Likewise.
32791         * sysdeps/i386/__longjmp.S: Likewise.
32792         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32793         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32794
32795         * include/stap-probe.h: New file.
32796         * configure.in: Handle --enable-systemtap.
32797         * configure: Regenerated.
32798         * config.h.in (USE_STAP_PROBE): New #undef.
32799         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32800         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32801         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32802
32803 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32804
32805         [BZ #13717]
32806         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32807         to 2.4.0 where earlier.
32808         * sysdeps/unix/sysv/linux/configure: Regenerated.
32809         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32810         <kernel-features.h>.
32811         [__ASSUME_32BITUIDS]: Make code unconditional.
32812         [!__ASSUME_32BITUIDS]: Remove conditional code.
32813         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32814         <kernel-features.h>.
32815         [__ASSUME_32BITUIDS]: Make code unconditional.
32816         [!__ASSUME_32BITUIDS]: Remove conditional code.
32817         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32818         [__ASSUME_32BITUIDS]: Make code unconditional.
32819         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32820         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32821         <kernel-features.h>.
32822         [__ASSUME_32BITUIDS]: Make code unconditional.
32823         [!__ASSUME_32BITUIDS]: Remove conditional code.
32824         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32825         <kernel-features.h>.
32826         [__ASSUME_32BITUIDS]: Make code unconditional.
32827         [!__ASSUME_32BITUIDS]: Remove conditional code.
32828         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32829         <kernel-features.h>.
32830         [__ASSUME_32BITUIDS]: Make code unconditional.
32831         [!__ASSUME_32BITUIDS]: Remove conditional code.
32832         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32833         <kernel-features.h>.
32834         [__ASSUME_32BITUIDS]: Make code unconditional.
32835         [!__ASSUME_32BITUIDS]: Remove conditional code.
32836         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32837         <kernel-features.h>.
32838         [__ASSUME_32BITUIDS]: Make code unconditional.
32839         [!__ASSUME_32BITUIDS]: Remove conditional code.
32840         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32841         <kernel-features.h>.
32842         [__ASSUME_32BITUIDS]: Make code unconditional.
32843         [!__ASSUME_32BITUIDS]: Remove conditional code.
32844         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32845         <kernel-features.h>.
32846         [__ASSUME_32BITUIDS]: Make code unconditional.
32847         [!__ASSUME_32BITUIDS]: Remove conditional code.
32848         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32849         <kernel-features.h>.
32850         [__ASSUME_32BITUIDS]: Make code unconditional.
32851         [!__ASSUME_32BITUIDS]: Remove conditional code.
32852         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32853         <kernel-features.h>.
32854         [__ASSUME_32BITUIDS]: Make code unconditional.
32855         [!__ASSUME_32BITUIDS]: Remove conditional code.
32856         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32857         <kernel-features.h>.
32858         [__ASSUME_32BITUIDS]: Make code unconditional.
32859         [!__ASSUME_32BITUIDS]: Remove conditional code.
32860         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32861         <kernel-features.h>.
32862         [__NR_setresgid] (__setresgid): Do not declare.
32863         [__ASSUME_32BITUIDS]: Make code unconditional.
32864         [!__ASSUME_32BITUIDS]: Remove conditional code.
32865         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32866         <kernel-features.h>.
32867         [__NR_setresuid] (__setresuid): Do not declare.
32868         [__ASSUME_32BITUIDS]: Make code unconditional.
32869         [!__ASSUME_32BITUIDS]: Remove conditional code.
32870         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32871         <kernel-features.h>.
32872         [__ASSUME_32BITUIDS]: Make code unconditional.
32873         [!__ASSUME_32BITUIDS]: Remove conditional code.
32874         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32875         <kernel-features.h>.
32876         [__ASSUME_32BITUIDS]: Make code unconditional.
32877         [!__ASSUME_32BITUIDS]: Remove conditional code.
32878         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32879         <kernel-features.h>.
32880         [__ASSUME_32BITUIDS]: Make code unconditional.
32881         [!__ASSUME_32BITUIDS]: Remove conditional code.
32882         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32883         <kernel-features.h>.
32884         [__ASSUME_32BITUIDS]: Make code unconditional.
32885         [!__ASSUME_32BITUIDS]: Remove conditional code.
32886         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32887         <kernel-features.h>.
32888         [__ASSUME_32BITUIDS]: Make code unconditional.
32889         [!__ASSUME_32BITUIDS]: Remove conditional code.
32890         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32891         <kernel-features.h>.
32892         [__ASSUME_32BITUIDS]: Make code unconditional.
32893         [!__ASSUME_32BITUIDS]: Remove conditional code.
32894         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32895         <kernel-features.h>.
32896         [__ASSUME_32BITUIDS]: Make code unconditional.
32897         [!__ASSUME_32BITUIDS]: Remove conditional code.
32898         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32899         <kernel-features.h>.
32900         [__ASSUME_32BITUIDS]: Make code unconditional.
32901         [!__ASSUME_32BITUIDS]: Remove conditional code.
32902         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32903         <kernel-features.h>.
32904         [__ASSUME_32BITUIDS]: Make code unconditional.
32905         [!__ASSUME_32BITUIDS]: Remove conditional code.
32906         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32907         <kernel-features.h>.
32908         [__ASSUME_32BITUIDS]: Make code unconditional.
32909         [!__ASSUME_32BITUIDS]: Remove conditional code.
32910         * sysdeps/unix/sysv/linux/kernel-features.h
32911         (__ASSUME_SETRESUID_SYSCALL): Remove.
32912         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32913         (__ASSUME_32BITUIDS): Likewise.
32914         (__ASSUME_LDT_WORKS): Likewise.
32915         (__ASSUME_O_DIRECTORY): Likewise.
32916         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32917         architecture but not kernel version.
32918         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32919         (__ASSUME_MMAP2_SYSCALL): Likewise.
32920         (__ASSUME_STAT64_SYSCALL): Likewise.
32921         (__ASSUME_IPC64): Likewise.
32922         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32923         <kernel-features.h>.
32924         [__ASSUME_32BITUIDS]: Make code unconditional.
32925         [!__ASSUME_32BITUIDS]: Remove conditional code.
32926         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32927         <kernel-features.h>.
32928         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32929         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32930         132096]: Remove conditional code.
32931         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32932         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32933         <kernel-features.h>.
32934         [__ASSUME_32BITUIDS]: Make code unconditional.
32935         [!__ASSUME_32BITUIDS]: Remove conditional code.
32936         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32937         <kernel-features.h>.
32938         [__ASSUME_32BITUIDS]: Make code unconditional.
32939         [!__ASSUME_32BITUIDS]: Remove conditional code.
32940         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32941         <kernel-features.h>.
32942         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32943         unconditional.
32944         (__setresgid): Do not declare.
32945         [__ASSUME_32BITUIDS]: Make code unconditional.
32946         [!__ASSUME_32BITUIDS]: Remove conditional code.
32947         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32948         <kernel-features.h>.
32949         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32950         unconditional.
32951         (__setresuid): Do not declare.
32952         [__ASSUME_32BITUIDS]: Make code unconditional.
32953         [!__ASSUME_32BITUIDS]: Remove conditional code.
32954         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32955         <kernel-features.h>.
32956         [__ASSUME_32BITUIDS]: Make code unconditional.
32957         [!__ASSUME_32BITUIDS]: Remove conditional code.
32958         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32959         <kernel-features.h>.
32960         [__ASSUME_32BITUIDS]: Make code unconditional.
32961         [!__ASSUME_32BITUIDS]: Remove conditional code.
32962
32963 2012-05-25  Richard Henderson  <rth@twiddle.net>
32964
32965         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32966         dl_hwcap to ifunc resolver.
32967         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32968         elf_ifunc_invoke.
32969         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32970         dl_hwcap to ifunc resolver.
32971         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32972
32973 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32974
32975         [BZ #14153]
32976         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32977         for |x| <= 2**-26, not 2**-57.
32978         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32979         exception.
32980
32981 2012-05-24  Jeff Law  <law@redhat.com>
32982
32983         * stdio-common/Makefile (tests): Add bug25.
32984         * stdio-common/bug25.c: New test.
32985
32986 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32987
32988         [BZ #13576]
32989         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32990         multiple of MALLOC_ALIGNMENT in size.
32991         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32992
32993 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32994
32995         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32996         Require >= 256.
32997         (FILENAME_MAX): Use macro-int-constant.
32998         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32999         (_IOFBF): Use macro-int-constant.
33000         (_IOLBF): Likewise.
33001         (_IONBF): Likewise.
33002         (SEEK_CUR): Likewise.
33003         (SEEK_END): Likewise.
33004         (SEEK_SET): Likewise.
33005         (TMP_MAX): Likewise.
33006         (EOF): Use macro-int-constant.  Require < 0.
33007         (NULL): Use macro-constant.  Require == 0.
33008         (stdin): Require type to be FILE *.
33009         (stdout): Likewise.
33010         (stderr): Likewise.
33011         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33012         macro-int-constant.
33013         (EXIT_SUCCESS): Likewise.
33014         (NULL): Use macro-constant.  Require == 0.
33015         (RAND_MAX): Use macro-int-constant.
33016         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33017         [C99-based standards] (strtof): Require function.
33018         [C99-based standards] (strtold): Likewise.
33019         [C99-based standards] (strtoll): Likewise.
33020         [C99-based standards] (strtoull): Likewise.
33021         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33022         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33023         [ISO || ISO99 || ISO11] (math.h): Likewise.
33024         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33025         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33026         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33027
33028 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33029
33030         [BZ #14132]
33031         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33032         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33033         * intl/dgettext.c (DCGETTEXT): Likewise.
33034         * intl/gettext.c (DCGETTEXT): Likewise.
33035         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33036         * posix/regex_internal.h (gettext): Likewise.
33037         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33038         Remove declaration.
33039         * include/argz.h (__argz_count_internal)
33040         (__argz_stringify_internal): Remove declaration.
33041         (__argz_count, __argz_stringify): Declare hidden proto.
33042         * intl/dcgettext.c: Remove use of INTDEF.
33043         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33044         * string/argz-stringify.c: Likewise.
33045         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33046         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33047         Declare hidden proto.
33048         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33049         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33050         Declare hidden proto.
33051         * include/stdio.h (__asprintf_internal): Don't declare.
33052         (__asprintf): Don't define as macro.  Declare hidden proto.
33053         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33054         (__fsetlocking): Declare hidden proto.
33055         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33056         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33057         hidden proto.
33058         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33059         (_IO_setlinebuf): Remove use of INTUSE.
33060         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33061         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33062         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33063         Remove declaration.
33064         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33065         (_IO_do_flush): Remove use of INTUSE.
33066         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33067         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33068         (_IO_adjust_column, _IO_least_wmarker)
33069         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33070         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33071         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33072         (_IO_default_doallocate, _IO_wdefault_doallocate)
33073         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33074         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33075         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33076         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33077         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33078         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33079         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33080         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33081         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33082         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33083         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33084         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33085         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33086         proto.
33087         (_IO_flush_all_internal, _IO_adjust_column_internal)
33088         (_IO_default_uflow_internal, _IO_default_finish_internal)
33089         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33090         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33091         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33092         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33093         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33094         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33095         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33096         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33097         (_IO_file_close_internal, _IO_file_close_it_internal)
33098         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33099         (_IO_file_init_internal, _IO_file_attach_internal)
33100         (_IO_file_fopen_internal, _IO_file_read_internal)
33101         (_IO_file_sync_internal, _IO_file_seek_internal)
33102         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33103         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33104         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33105         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33106         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33107         (_IO_list_all_internal, _IO_link_in_internal)
33108         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33109         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33110         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33111         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33112         (_IO_do_write_internal, _IO_padn_internal)
33113         (_IO_getline_info_internal, _IO_getline_internal)
33114         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33115         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33116         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33117         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33118         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33119         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33120         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33121         with libc_hidden_ver, remove use of INTUSE.
33122         * libio/genops.c: Likewise.
33123         * libio/freopen.c: Likewise.
33124         * libio/freopen64.c: Likewise.
33125         * libio/iofclose.c: Likewise.
33126         * libio/iofdopen.c: Likewise.
33127         * libio/iofflush.c: Likewise.
33128         * libio/iofflush_u.c: Likewise.
33129         * libio/iofgets.c: Likewise.
33130         * libio/iofgets_u.c: Likewise.
33131         * libio/iofopen.c: Likewise.
33132         * libio/iofopncook.c: Likewise.
33133         * libio/iofread.c: Likewise.
33134         * libio/iofread_u.c: Likewise.
33135         * libio/ioftell.c: Likewise.
33136         * libio/iofwrite.c: Likewise.
33137         * libio/iogetline.c: Likewise.
33138         * libio/iogets.c: Likewise.
33139         * libio/iogetwline.c: Likewise.
33140         * libio/iopadn.c: Likewise.
33141         * libio/iopopen.c: Likewise.
33142         * libio/ioseekoff.c: Likewise.
33143         * libio/ioseekpos.c: Likewise.
33144         * libio/iosetbuffer.c: Likewise.
33145         * libio/iosetvbuf.c: Likewise.
33146         * libio/ioungetc.c: Likewise.
33147         * libio/ioungetwc.c: Likewise.
33148         * libio/iovdprintf.c: Likewise.
33149         * libio/iovsprintf.c: Likewise.
33150         * libio/iovsscanf.c: Likewise.
33151         * libio/memstream.c: Likewise.
33152         * libio/obprintf.c: Likewise.
33153         * libio/oldfileops.c: Likewise.
33154         * libio/oldiofclose.c: Likewise.
33155         * libio/oldiofdopen.c: Likewise.
33156         * libio/oldiofopen.c: Likewise.
33157         * libio/oldiopopen.c: Likewise.
33158         * libio/oldstdfiles.c: Likewise.
33159         * libio/putc.c: Likewise.
33160         * libio/setbuf.c: Likewise.
33161         * libio/setlinebuf.c: Likewise.
33162         * libio/stdfiles.c: Likewise.
33163         * libio/strops.c: Likewise.
33164         * libio/vasprintf.c: Likewise.
33165         * libio/vscanf.c: Likewise.
33166         * libio/vsnprintf.c: Likewise.
33167         * libio/vswprintf.c: Likewise.
33168         * libio/wfiledoalloc.c: Likewise.
33169         * libio/wfileops.c: Likewise.
33170         * libio/wgenops.c: Likewise.
33171         * libio/wmemstream.c: Likewise.
33172         * libio/wstrops.c: Likewise.
33173         * libio/__fpurge.c: Likewise.
33174         * libio/__fsetlocking.c: Likewise.
33175         * assert/assert.c: Likewise.
33176         * debug/fgets_chk.c: Likewise.
33177         * debug/fgets_u_chk.c: Likewise.
33178         * debug/fread_chk.c: Likewise.
33179         * debug/fread_u_chk.c: Likewise.
33180         * debug/gets_chk.c: Likewise.
33181         * debug/obprintf_chk.c: Likewise.
33182         * debug/vasprintf_chk.c: Likewise.
33183         * debug/vdprintf_chk.c: Likewise.
33184         * debug/vsnprintf_chk.c: Likewise.
33185         * debug/vsprintf_chk.c: Likewise.
33186         * malloc/mtrace.c: Likewise.
33187         * misc/error.c: Likewise.
33188         * misc/syslog.c: Likewise.
33189         * stdio-common/asprintf.c: Likewise.
33190         * stdio-common/fxprintf.c: Likewise.
33191         * stdio-common/getw.c: Likewise.
33192         * stdio-common/isoc99_fscanf.c: Likewise.
33193         * stdio-common/isoc99_scanf.c: Likewise.
33194         * stdio-common/isoc99_vfscanf.c: Likewise.
33195         * stdio-common/isoc99_vscanf.c: Likewise.
33196         * stdio-common/isoc99_vsscanf.c: Likewise.
33197         * stdio-common/printf-prs.c: Likewise.
33198         * stdio-common/printf_fp.c: Likewise.
33199         * stdio-common/printf_fphex.c: Likewise.
33200         * stdio-common/printf_size.c: Likewise.
33201         * stdio-common/putw.c: Likewise.
33202         * stdio-common/scanf.c: Likewise.
33203         * stdio-common/sprintf.c: Likewise.
33204         * stdio-common/tmpfile.c: Likewise.
33205         * stdio-common/vfprintf.c: Likewise.
33206         * stdio-common/vfscanf.c: Likewise.
33207         * stdlib/strfmon_l.c: Likewise.
33208         * sunrpc/openchild.c: Likewise.
33209         * sunrpc/xdr_stdio.c: Likewise.
33210         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33211         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33212
33213 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33214
33215         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33216
33217         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33218         in the third column, to generate for the shared library an IFUNC
33219         that uses _dl_vdso_vsym.
33220         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33221         * Makeconfig (object-suffixes-noshared): New variable.
33222
33223         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33224         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33225         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33226         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33227
33228         [BZ #14132]
33229         * include/sys/time.h (__gettimeofday): Remove macro.
33230         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33231         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33232         Remove INTDEF.
33233         (__gettimeofday): Add libc_hidden_def.
33234         (gettimeofday): Add libc_hidden_weak.
33235         * sysdeps/mach/gettimeofday.c: Likewise.
33236         * sysdeps/posix/gettimeofday.c: Likewise.
33237         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33238         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33239         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33240         (__gettimeofday_internal): Remove strong_alias.
33241         (__gettimeofday): Add libc_hidden_def.
33242         (gettimeofday): Add libc_hidden_weak.
33243         * sysdeps/unix/syscalls.list (gettimeofday):
33244         Remove __gettimeofday_internal alias.
33245
33246 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33247             H.J. Lu  <hongjiu.lu@intel.com>
33248
33249         [BZ #12495]
33250         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33251         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33252         (largebin_index_32_big): New.
33253         (largebin_index): Use it for 16-byte alignment.
33254         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33255         correction with front_misalign.
33256
33257 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33258
33259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33261         Likewise.
33262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33263         Likewise.
33264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33265         Likewise.
33266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33267         Likewise.
33268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33269         Likewise.
33270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33271         Likewise.
33272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33273         Likewise.
33274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33275         Likewise.
33276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33277         Likewise.
33278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33279         Likewise.
33280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33281         Likewise.
33282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33283         Likewise.
33284
33285         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33286         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33287
33288 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33289
33290         [BZ #10846]
33291         [BZ #14036]
33292         * math/libm-test.inc (exp_test): Add test from bug 14036.
33293         (pow_test): Add test from bug 10846.
33294
33295         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33296         and other flags.
33297         (special_function): Do not include flags in test name.
33298         (parse_args): Likewise.
33299         * sysdeps/i386/fpu/libm-test-ulps: Update.
33300         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33301         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33302         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33304
33305         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33306         exceptions.
33307         * math/libm-test.inc ("Philosophy"): Update comment about
33308         exception testing.
33309         (UNDERFLOW_EXCEPTION): New macro.
33310         (UNDERFLOW_EXCEPTION_OK): Likewise.
33311         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33312         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33313         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33314         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33315         (INVALID_EXCEPTION_OK): Update value.
33316         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33317         (OVERFLOW_EXCEPTION_OK): Likewise.
33318         (IGNORE_ZERO_INF_SIGN): Likewise.
33319         (test_exceptions): Handle underflow exceptions.
33320         (acos_test): Update for underflow exception expectations.
33321         (cexp_test): Likewise.
33322         (clog_test): Likewise.
33323         (clog10_test): Likewise.
33324         (csqrt_test): Likewise.
33325         (ctan_test): Likewise.
33326         (ctanh_test): Likewise.
33327         (exp_test): Likewise.
33328         (exp10_test): Likewise.
33329         (exp2_test): Likewise.
33330         (expm1_test): Likewise.
33331         (fma_test): Likewise.
33332         (j0_test): Likewise.
33333         (jn_test): Likewise.
33334         (nexttoward_test): Likewise.
33335         (pow_test): Likewise.
33336         (scalbn_test): Likewise.
33337         (scalbln_test): Likewise.
33338         (tan_test): Likewise.
33339         (y1_test): Likewise.
33340         * sysdeps/i386/fpu/libm-test-ulps: Update.
33341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33342
33343 2012-05-23  David S. Miller  <davem@davemloft.net>
33344
33345         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33346         (__libc_sigaction): Remove unused local variables.
33347
33348 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33349
33350         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33351
33352 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33353
33354         mktime: avoid signed integer overflow
33355         * time/mktime.c (__mktime_internal): Do not mishandle the case
33356         where diff == INT_MIN.
33357
33358         mktime: simplify computation of average
33359         * time/mktime.c (ranged_convert): Use new time_t_avg function
33360         instead of rolling our own (probably-slower) code.
33361
33362         mktime: do not assume signed right shift propagates sign bit
33363         * time/mktime.c (isdst_differ): New static function.
33364         (__mktime_internal): No need to normalize tm_isdst now.
33365         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33366         tm_isdst values.
33367
33368         mktime: merge another wrapv change from gnulib
33369         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33370         from some compilers.
33371
33372         mktime: remove incorrect attempt at unusual arithmetics
33373         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33374         The code didn't really work on such machines anyway.
33375         (TYPE_MINIMUM): Assume two's complement.
33376         (twos_complement_arithmetic): Verify that long_int and time_t
33377         are two's complement (or unsigned, in the latter case).
33378
33379         mktime: check signed shifts on long_int and time_t, too
33380         * time/mktime.c (SHR): Check that shifts work as desired
33381         on the types long_int and time_t too, as SHR is used on
33382         such types.
33383
33384         mktime: do not assume 'long' is wide enough
33385         * time/mktime.c (verify): Move decl up.
33386         (long_int): New type.
33387         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33388         to remove assumption in the code that 'long' is wide enough to
33389         store year values.  This assumption is not true on x32 and on
33390         some non-glibc platforms.
33391
33392         mktime: merge wrapv change from gnulib
33393         * time/mktime.c (WRAPV): New macro.
33394         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33395         (guess_time_tm, __mktime_internal): Do not assume that signed
33396         integer overflow wraps around; modern compilers generate code
33397         where this assumption is no longer valid.
33398
33399 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33400
33401         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33402         Replace "jmp L(pseudo_end)" with "ret".
33403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33404         Likewise.
33405
33406 2012-05-23  Andreas Jaeger  <aj@suse.de>
33407
33408         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33409         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33410
33411 2012-05-23  Andreas Jaeger  <aj@suse.de>
33412             Maximilian Attems  <max@stro.at>
33413
33414         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33415         New macros.
33416
33417 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33418
33419         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33420         code so that pseudo_end is just ret and the stack pointer is
33421         correct also for static library in error case.
33422
33423 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33424
33425         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33426         move to syscalls.list.
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33431
33432         * manual/install.texi (Running make install): Do not mention Linux
33433         kernel version for which pt_chown is not needed.
33434         (Linux): Do not mention problems with nscd with 2.0 kernels.
33435         * INSTALL: Regenerated.
33436
33437 2012-05-23  Andreas Jaeger  <aj@suse.de>
33438
33439         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33440         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33441         macro.
33442         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33443         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33444         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33445         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33446         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33447         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33448         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33449         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33450         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33451         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33452         * sysdeps/unix/sysv/linux/bits/in.h
33453         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33454
33455 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33456
33457         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33458         (PREPARE_VERSION): Just use assert instead, it will be elided
33459         under [NDEBUG] anyway.
33460
33461 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33462
33463         * sysdeps/unix/sysv/linux/Makefile: Include
33464         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33465         (sysdep_routines): Remove sysctl.
33466         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33467         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33468         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33469         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33470         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33471
33472 2012-05-22  Andreas Jaeger  <aj@suse.de>
33473
33474         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33475         that pseudo_end is just ret and the stack pointer is correct also
33476         for static library in error case.
33477
33478 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33479
33480         [BZ #14122]
33481         * nss/nsswitch.c (defconfig_entries): New variable.
33482         (__nss_database_lookup): Don't leak defconfig entries.
33483         (nss_parse_service_list): Don't leak on error paths.
33484         (free_database_entries): New function.
33485         (free_defconfig): New function.
33486         (free_mem): Move common code to free_database_entries.
33487
33488 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33489
33490         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33491         Add arch_prctl.
33492         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33493
33494         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33495         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33497         New macro.
33498         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33499         (INTERNAL_SYSCALL_TYPES): Likewise.
33500         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33501         (LOAD_REGS_TYPES_[1-6]): Likewise.
33502         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33503         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33504
33505 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33506
33507         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33508         copysignl for GLIBC_2_0.
33509         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33510         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33511         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33512         logbl for GLIBC_2_0.
33513         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33514         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33515
33516 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33517
33518         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33519         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33520
33521         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33522         Use "neg %eax".
33523
33524         * time/mktime.c: Update copyright years.
33525
33526 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33527
33528         mktime: merge comment-quoting-style change from gnulib
33529         * time/mktime.c: Quote 'like this' in comments.
33530         The GNU coding standards suggest that we no longer quote `like this',
33531         as "`" and "'" are typically rendered asymmetrically nowadays.
33532         The typical gnulib style is to quote 'like this' when quoting
33533         code, and "like this" when quoting English.
33534
33535         * time/mktime.c (compile-command): Add "-I.".
33536
33537         mktime: merge mktime-internal.h change from gnulib
33538         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33539
33540         mktime: merge time_r change from gnulib
33541         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33542
33543         mktime: merge DEBUG change from gnulib
33544         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33545         case system <time.h> has a #define.
33546
33547         mktime: merge <sys/types.h> change from gnulib
33548         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33549         since <time.t> is now guaranteed to define time_t.
33550
33551         mktime: merge HAVE_CONFIG_H change from gnulib
33552         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33553
33554 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33555
33556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33557         Use "neg %eax".
33558
33559         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33560         __rlim_t cast.
33561         (struct rusage): Use anonymous union to pad each field to
33562         __syscall_slong_t.
33563
33564 2012-05-21  David S. Miller  <davem@davemloft.net>
33565
33566         * Makefules (o-iterator): Remove .s cases.
33567         (compile-command.s): Delete.
33568         (COMPILE.s): Delete.
33569         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33570
33571 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33572
33573         * configure.in (libc_cv_predef_stack_protector): Only consider
33574         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33575         * configure: Regenerated.
33576
33577 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33578
33579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33580         New macro.  Use R*LP on int and pointer.
33581         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33582         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33583         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33584         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33585
33586         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33587         [__WORDSIZE_TIME64_COMPAT32] instead of
33588         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33589         (struct utmp): Likewise.
33590         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33591         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33592         Renamed to ...
33593         (__WORDSIZE_TIME64_COMPAT32): This.
33594         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33595         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33596         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33597         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33598         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33599         (__WORDSIZE_TIME64_COMPAT32): New macro.
33600
33601 2012-05-21  Andreas Jaeger  <aj@suse.de>
33602
33603         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33604         only if [SHARED]. Add prototype for __wcschr_ia32.
33605
33606 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33607
33608         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33609         of %rbp unmolested in the jmp_buf while mangling the low bits.
33610         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33611         unmolested high bits of %rbp while demangling the low bits.
33612         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33613
33614 2012-05-21  Andreas Jaeger  <aj@suse.de>
33615
33616         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33617         * sunrpc/svc_simple.c: Use it for registerrpc.
33618         * sunrpc/xcrypt.c: Use it for passwd2des.
33619
33620         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33621
33622 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33623
33624         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33625         Don't define if [__SYSCALL_WORDSIZE != 32].
33626         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33627         New macro.
33628
33629 2012-05-21  Bruno Haible  <bruno@clisp.org>
33630             Andreas Jaeger  <aj@suse.de>
33631
33632         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33633         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33634         inptr and inend for must_buffer_ch.
33635         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33636         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33637         * stdio-common/Makefile (tests): Remove bug15.
33638         (bug15-ENV): Remove macro.
33639         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33640         anymore.
33641
33642 2012-05-19  Andreas Jaeger  <aj@suse.de>
33643             Roland McGrath  <roland@hack.frob.com>
33644
33645         * manual/contrib.texi: Completely rewritten. It contains now an
33646         alphabetical list of contributors and their contributions.
33647
33648 2012-05-21  Richard Henderson  <rth@twiddle.net>
33649
33650         * misc/getauxval.c (__getauxval): Use unsigned long int.
33651         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33652         (getauxval): Use unsigned long int.
33653
33654 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33655
33656         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33657
33658 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33659
33660         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33661         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33662         __alignof__ (long double).
33663
33664 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33665
33666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33667
33668 2012-05-20  Richard Henderson  <rth@twiddle.net>
33669
33670         * misc/getauxval.c: New file.
33671         * misc/sys/auxv.h: New file.
33672         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33673         (routines): Add getauxval.
33674         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33675         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33676         * elf/dl-sysdep.c (_dl_auxv): Remove.
33677         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33678         * elf/dl-support.c (_dl_auxv): New variable.
33679         (_dl_aux_init): Initialize it.
33680         * manual/startup.texi (Auxiliary Vector): New node.
33681         * sysdeps/generic/bits/hwcap.h: New file.
33682         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33683         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33684         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33685         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33686         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33687         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33689         Update.
33690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33693         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33698
33699 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33700
33701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33702
33703 2012-05-19  David S. Miller  <davem@davemloft.net>
33704
33705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33706
33707 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33708
33709         [BZ #14123]
33710         * math/s_ccosh.c: Include <float.h>
33711         (__ccosh): Avoid internal overflow calculating sinh and cosh
33712         values before multiplying by sin and cos values.
33713         * math/s_ccoshf.c: Likewise.
33714         * math/s_ccoshl.c: Likewise.
33715         * math/s_csin.c: Likewise.
33716         * math/s_csinf.c: Likewise.
33717         * math/s_csinl.c: Likewise.
33718         * math/s_csinh.c: Likewise.
33719         * math/s_csinhf.c: Likewise.
33720         * math/s_csinhl.c: Likewise.
33721         * math/libm-test.inc (ccos_test): Add more tests.
33722         (ccosh_test): Likewise.
33723         (csin_test): Likewise.
33724         (csinh_test): Likewise.
33725         * sysdeps/i386/fpu/libm-test-ulps: Update.
33726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33727
33728 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33729
33730         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33731         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33732
33733         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33734
33735 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33736
33737         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33738         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33739         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33740         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33741         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33742         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33743         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33744         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33745         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33746         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33747         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33748         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33749         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33750         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33751         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33752         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33753         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33754         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33755         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33756         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33757         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33758         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33759         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33760         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33761         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33762         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33763         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33764         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33765         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33766         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33767         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33768
33769 2012-05-18  Andreas Jaeger  <aj@suse.de>
33770
33771         * csu/.gitignore: Delete.
33772
33773 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33774
33775         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33776         (timex): Use __syscall_slong_t.
33777
33778 2012-05-18  Andreas Jaeger  <aj@suse.de>
33779             Carlos O'Donell  <carlos_odonell@mentor.com>
33780
33781         * manual/install.texi (Configuring and compiling): Update
33782         description about files modified in the source directory.
33783         * INSTALL: Regenerated.
33784
33785 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33786
33787         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33788         value.  Use "or" to set return value to -1.
33789         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33790         negate return value.
33791
33792 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33793
33794         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33795         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33796         failure if the compiler has Graphite support disabled.
33797         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33798         Likewise.
33799         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33800         (CFLAGS-memmove.c): Likewise.
33801         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33802         Likewise.
33803
33804 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33805
33806         * sysdeps/x86_64/x32/_itoa.h: New file.
33807
33808         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33809         getdents system call only if kernel and user dirents have the
33810         same d_ino and d_off.
33811
33812         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33813         LLONG_MAX != LONG_MAX.
33814         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33815         (_fitoa_word): Likewise.
33816
33817         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33818         years.
33819         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33820         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33821         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33822
33823         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33824         include <bits/wordsize.h>.  Check __x86_64__ instead of
33825         __WORDSIZE.
33826         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33827         if __x86_64__ is defined.  Use anonymous union on fpstate.
33828
33829         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33830         anonymous union.
33831
33832 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33833
33834         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33835         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33836         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33837         Refer to _rtld_local_ro instead of _rtld_global_ro.
33838         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33839         Likewise.
33840         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33841         Likewise.
33842         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33843         Likewise.
33844         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33845         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33846         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33847
33848         * sysdeps/powerpc/powerpc32/dl-machine.c
33849         (__elf_machine_runtime_setup) [PROF]: Don't reference
33850         _dl_prof_resolve.
33851
33852 2012-05-18  Andreas Jaeger  <aj@suse.de>
33853
33854         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33855         function only available for GCCs before 3.4 since GCC 3.4
33856         introduced a builtin.
33857         (lrint): Likewise.
33858         (llrintf): Likewise.
33859         (llrint): Likewise.
33860         (fmaxf): Likewise.
33861         (fmax): Likewise.
33862         (fminf): Likewise.
33863         (fmin): Likewise.
33864         (rint): Likewise.
33865         (rintf): Likewise.
33866         (nearbyint): Likewise.
33867         (nearbyintf): Likewise.
33868         (ceil): Likewise.
33869         (ceilf): Likewise.
33870         (floor): Likewise.
33871         (floorf): Likewise.
33872
33873 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33874
33875         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33876         on both fields and cast pointer to __syscall_ulong_t.
33877
33878         * bits/types.h (__fsword_t): New type.
33879         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33880         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33881         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33882         (__FSWORD_T_TYPE): Likewise.
33883         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33884         (__FSWORD_T_TYPE): Likewise.
33885         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33886         (__FSWORD_T_TYPE): Likewise.
33887         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33888         (__FSWORD_T_TYPE): Likewise.
33889         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33890         __SWORD_TYPE with __fsword_t.
33891         (statfs64): Likewise.
33892
33893 2012-05-17  David S. Miller  <davem@davemloft.net>
33894
33895         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33896
33897 2012-05-17  Andreas Jaeger  <aj@suse.de>
33898
33899         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33900         warning.
33901
33902 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33903
33904         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33905
33906 2012-05-17  Andreas Jaeger  <aj@suse.de>
33907
33908         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33909         when it is used.
33910
33911 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33912
33913         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33914
33915 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33916
33917         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33918         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33919
33920 2012-05-17  Andreas Jaeger  <aj@suse.de>
33921             Carlos O'Donell  <carlos_odonell@mentor.com>
33922
33923         [BZ #14059]
33924         * sysdeps/x86_64/multiarch/init-arch.h
33925         (bit_YMM_Usable): Rename to...
33926         (bit_AVX_Usable): ... this.
33927         (bit_FMA4_Usable): New macro.
33928         (bit_XMM_state): New macro.
33929         (bit_YMM_state): New macro.
33930         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33931         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33932         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33933         (CPUID_OSXSAVE): New macro.
33934         (CPUID_AVX): New macro.
33935         (CPUID_FMA4): New macro.
33936         (index_YMM_Usable): Rename to...
33937         (index_AVX_Usable): ... this.
33938         (HAS_AVX): Use HAS_ARCH_FEATURE.
33939         (HAS_FMA4): Likewise.
33940         (HAS_YMM_USABLE): Remove.
33941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33942         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33943         are present.
33944         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33945         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33946         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33947         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33948         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33949
33950 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33951
33952         * math/libm-test.c: Support platforms without multiple rounding modes.
33953         * math/bug-nextafter.c: Support platforms without FP exceptions.
33954         * math/bug-nexttoward.c: Likewise.
33955         * math/test-fenv.c: Likewise.
33956         * math/test-misc.c: Likewise.
33957         * stdlib/bug-getcontext.c: Likewise.
33958
33959 2012-05-17  Andreas Jaeger  <aj@suse.de>
33960
33961         * manual/examples/search.c (critter_cmp): Change signature to
33962         avoid warnings.
33963         * manual/string.texi (Collation Functions): Likewise.
33964
33965 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33966
33967         * bits/types.h: Fold copyright years.
33968         * bits/typesizes.h: Likewise.
33969         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33970         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33971         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33972         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33973         * time/time.h: Likewise.
33974
33975 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33976
33977         [BZ #208]
33978         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33979         in instead of returning them.  Return void.
33980         (__libc_mallinfo): Accumulate over all arenas.
33981         (__malloc_stats): Adjust for change in int_mallinfo interface.
33982
33983 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33984
33985         [BZ #10375]
33986         * configure.in (NM): Add AC_CHECK_TOOL for it.
33987         (libc_extra_cflags): New substituted variable.
33988         Check for -fstack-protector being used implicitly.
33989         * configure: Regenerated.
33990         * config.make.in (config-extra-cflags): New variable,
33991         gets @libc_extra_cflags@.
33992         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33993
33994         [BZ #10375]
33995         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33996         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33997         * configure: Regenerated.
33998         * config.make.in (CPPUNDEFS): New substituted variable.
33999         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34000         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34001         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34002
34003 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34004
34005         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34006         (mq_attr): Use __syscall_slong_t.
34007
34008 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34009
34010         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34011         Check __x86_64__ instead of __WORDSIZE.
34012         (_STAT_VER_LINUX): Likewise.
34013         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34014         __syscall_ulong_t and __syscall_slong_t.
34015         (stat64): Likewise.
34016
34017 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34018
34019         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34020
34021 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34022
34023         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34024
34025 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34026
34027         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34028         __syscall_ulong_t.
34029
34030         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34031         include <bits/wordsize.h>.  Check __x86_64__ instead of
34032         __WORDSIZE.
34033         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34034         defined.
34035         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34036
34037         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34038         include <bits/wordsize.h>.  Check __x86_64__ instead of
34039         __WORDSIZE.
34040         (user_regs_struct): Use "__extension__ unsigned long long"
34041         instead of "unsigned long" if __x86_64__ is defined.
34042         (user): Likewise.  Pad after pointer field if __ILP32__ is
34043         defined.
34044
34045 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34046
34047         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34048         versions 5 to 9.
34049         * configure: Regenerated.
34050         * manual/install.texi (texinfo): Increase version requirement to
34051         4.5 or later.
34052         * INSTALL: Regenerated.
34053
34054         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34055
34056 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34057
34058         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34059
34060         * sysdeps/x86_64/x32/ffs.c: New file.
34061
34062         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34063         __syscall_ulong_t.
34064         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34065         defined.  Use __syscall_ulong_t.
34066         (shminfo): Use __syscall_ulong_t.
34067         (shm_info): Likewise.
34068
34069         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34070         __syscall_ulong_t.
34071
34072         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34073         <bits/wordsize.h>.
34074         (msgqnum_t): Use __syscall_ulong_t.
34075         (msglen_t): Likewise.
34076         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34077         __syscall_ulong_t.
34078
34079         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34080         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34081
34082         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34083
34084         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34085         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34086
34087         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34088         __syscall_slong_t.
34089
34090         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34091         include <bits/wordsize.h>.  Check __x86_64__ instead of
34092         __WORDSIZE.
34093
34094         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34095         "unsigned long long int" if __x86_64__ is defined.
34096         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34097
34098         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34099         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34100         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34101
34102         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34103         <stdint.h>.
34104         (GET_PC): Cast to uintptr_t first.
34105         (GET_FRAME): Likewise.
34106         (GET_STACK): Likewise.
34107
34108         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34109         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34110         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34111         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34112         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34113         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34114         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34115         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34116         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34117         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34118         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34119         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34120         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34121         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34122         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34123         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34124         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34125         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34126         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34127         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34128         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34129         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34130         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34131         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34132         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34133         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34134         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34135         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34136         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34137
34138 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34139
34140         * Makerules (+depfiles): Also collect depfiles from .oS in
34141         $(extra-objs).
34142         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34143         .oS, $(libnldbl-routines)).
34144
34145         * Makerules (native-compile-mkdep-flags): Define.
34146         * sunrpc/Makefile (extra-objs): Add $(addprefix
34147         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34148         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34149         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34150         calling $(make-target-directory).
34151
34152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34153
34154         * bits/types.h (__snseconds_t): Removed.
34155         * time/time.h (struct timespec): Replace __snseconds_t with
34156         __syscall_slong_t.
34157         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34158         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34159         Likewise.
34160         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34161         (__SNSECONDS_T_TYPE): Likewise.
34162         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34163         (__SNSECONDS_T_TYPE): Likewise.
34164         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34165         (__SNSECONDS_T_TYPE): Likewise.
34166
34167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34168
34169         * sysdeps/mach/hurd/bits/typesizes.h
34170         (__SYSCALL_SLONG_TYPE): New macro.
34171         (__SYSCALL_ULONG_TYPE): Likewise.
34172
34173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34174
34175         * bits/types.h (__syscall_slong_t): New type.
34176         (__syscall_ulong_t): Likewise.
34177
34178         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34179         (__SYSCALL_ULONG_TYPE): Likewise.
34180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34181         (__SYSCALL_SLONG_TYPE): Likewise.
34182         (__SYSCALL_ULONG_TYPE): Likewise.
34183         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34184         (__SYSCALL_SLONG_TYPE): Likewise.
34185         (__SYSCALL_ULONG_TYPE): Likewise.
34186         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34187         (__SYSCALL_SLONG_TYPE): Likewise.
34188         (__SYSCALL_ULONG_TYPE): Likewise.
34189
34190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34191
34192         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34193         Add sigaltstack-offsets.sym.
34194         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34195         <sigaltstack-offsets.h>.
34196         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34197         longjmp_msg pointer.
34198         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34199         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34200         signal stack.
34201         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34202
34203 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34204
34205         * elf/stackguard-macros.h: Remove file.
34206         * sysdeps/generic/stackguard-macros.h: New file.
34207         * sysdeps/i386/stackguard-macros.h: Likewise.
34208         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34209         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34210         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34211         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34212         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34213         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34214         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34215         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34216         <elf/stackguard-macros.h>.
34217
34218         [BZ #14109]
34219         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34220         __aligned__ in attribute.
34221         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34222         (gregset_t): Likewise.
34223
34224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34225
34226         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34227         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34228         * sysdeps/x86_64/x32/Implies-after: New file.
34229
34230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34231
34232         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34233         and access return value for _dl_profile_fixup.  Use R10_LP to
34234         load frame size.
34235
34236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34237
34238         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34239
34240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34241
34242         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34243         * sysdeps/x86_64/x32/sysdep.h: New file.
34244
34245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34246
34247         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34248         * sysdeps/x86_64/setjmp.S: Likewise.
34249
34250 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34251
34252         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34253         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34254         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34255         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34256         remove unused global constant.
34257
34258 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34259
34260         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34261         include of <not-cancel.h>.
34262
34263 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34264
34265         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34266
34267 2012-05-15  Jeff Law  <law@redhat.com>
34268             Andreas Jaeger  <aj@suse.de>
34269
34270         [BZ #13594]
34271         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34272         out from...
34273         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34274         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34275         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34276         code changing __hst_map_handle.map.
34277
34278 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34279
34280         * configure.in (sysnames): Look for Implies-before and Implies-after
34281         files.
34282         * configure: Regenerated.
34283
34284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34285
34286         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34287         8-byte data alignment with LP_SIZE alignment.
34288
34289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34290
34291         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34292         into R10_LP.
34293
34294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34295
34296         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34297
34298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34299
34300         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34301         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34302         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34303         Likewise.
34304         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34305
34306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34307
34308         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34309         (stackinfo_sub_sp): Likewise.
34310
34311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34312
34313         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34314         RAX_LP.
34315
34316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34317
34318         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34319         into R*_LP.
34320
34321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34322
34323         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34324         sizes into R*_LP.
34325
34326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34327
34328         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34329
34330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34331
34332         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34333         into R11_LP and load __x86_64_shared_cache_size_half into
34334         R8_LP.
34335
34336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34337
34338         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34339         R8_LP.
34340
34341 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34342
34343         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34344         logb for POWER7.
34345         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34346         logbf for POWER7.
34347         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34348         logbl for POWER7.
34349         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34350         powerpc32/power7/fpu/s_logb.c via #include.
34351         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34352         powerpc32/power7/fpu/s_logbf.c via #include.
34353         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34354         powerpc32/power7/fpu/s_logbl.c via #include.
34355
34356 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34357
34358         * README.libm: Remove file.
34359
34360 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34361
34362         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34363         count for x32.  Use R*_LP and omit operand-size suffix.
34364
34365 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34366
34367         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34368         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34369         * sysdeps/x86_64/x32/shlib-versions: New file.
34370
34371 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34372
34373         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34374         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34375         Use _dl_fatal_printf instead.
34376
34377 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34378
34379         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34380         set if not set by the user.  Do not allow for being unset.
34381         * sysdeps/unix/sysv/linux/configure: Regenerated.
34382
34383 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34384
34385         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34386         the `q' suffix from lea and replace .quad with ASM_ADDR.
34387
34388 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34389
34390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34391         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34392         instead of $17.
34393         (PTR_DEMANGLE): Likewise.
34394
34395 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34396
34397         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34398         (LP_OP): Likewise.
34399         (ASM_ADDR): Likewise.
34400         (RAX_LP): Likewise.
34401         (RBP_LP): Likewise.
34402         (RBX_LP): Likewise.
34403         (RCX_LP): Likewise.
34404         (RDI_LP): Likewise.
34405         (RSI_LP): Likewise.
34406         (RSP_LP): Likewise.
34407         (R8_LP): Likewise.
34408         (R9_LP): Likewise.
34409         (R10_LP): Likewise.
34410         (R10_LP): Likewise.
34411         (R11_LP): Likewise.
34412         (R12_LP): Likewise.
34413         (R13_LP): Likewise.
34414         (R14_LP): Likewise.
34415         (R15_LP): Likewise.
34416
34417 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34418
34419         * sysdeps/x86_64/x32/dl-machine.h: New file.
34420
34421 2012-05-14  Andreas Jaeger  <aj@suse.de>
34422
34423         * manual/Makefile (subdir): Remove export of subdir.
34424         (all): Remove target.
34425         (.PHONY): Remove all from list.
34426         (mkinstalldirs): Remove.
34427         (.PHONY): Remove installdirs from list.
34428         ($(inst_infodir)/libc.info): Use make-target-directory.
34429         (installdirs): Remove.
34430         (subdir_%): Remove.
34431         (glibc-targets): Remove.
34432         (lib): Remove.
34433         (stubs): Remove.
34434         ($(objpfx)stubs ../po/manual.pot): Remove.
34435         ($(objpfx)stamp%): Remove.
34436         (make-target-directory): Remove.
34437         (subdir_install): Remove.
34438         (routines): Remove.
34439         (aux): Remove.
34440         (sources): Remove.
34441         (objects): Remove.
34442         (headers): Remove.
34443
34444         [BZ #13750]
34445         * manual/.gitignore: Remove, it's not needed anymore.
34446         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34447         all files in it.
34448         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34449         directory.
34450         (texis): Renamed to $(objpfx)texis.
34451         (texis-path): New, contains path to generated files.
34452         (chapters.%): Use texis-path for complete path, add extra argument
34453         libc-texinfo.sh.
34454         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34455         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34456         (summary,texi, stamp-summary): Use complete path of
34457         files. Generate files in build dir.
34458         (dir-add.texi): Build in build dir.
34459         (libm-err.texi,stamp-libm-err): Likewise.
34460         (version.texi, stamp-version): Likewise.
34461         (.%c.texi): Likewise.
34462         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34463         (mostlyclean): Remove target.
34464         (realclean): Remove target.
34465         (generated): Add new variable with contents from mostlyclean and
34466         realclean, remove entries duplicated in common-mostlyclean, add
34467         stamp-libm-err and stamp-version.
34468         (generated-dirs): Add libc directory.
34469         ($(inst_infodir)/libc.info): Install files from build dir.
34470
34471         * manual/install.texi (Configuring and compiling): Adjust since
34472         the info files are not part of the tar ball anymore.
34473
34474 2012-05-14  Andreas Jaeger  <aj@suse.de>
34475
34476         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34477         variable.
34478
34479 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34480
34481         [BZ #13717]
34482         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34483         to 2.2.0 where earlier.
34484         * sysdeps/unix/sysv/linux/configure: Regenerated.
34485         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34486         Remove conditional code.
34487         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34488         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34489         Remove conditional code.
34490         [!__NR_lchown]: Likewise.
34491         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34492         [__NR_lchown]: Likewise.
34493         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34494         comment referencing __ASSUME_LCHOWN_SYSCALL.
34495         * sysdeps/unix/sysv/linux/i386/sigaction.c
34496         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34497         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34498         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34499         Remove conditional code.
34500         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34501         (__protocol_available): Remove #if 0 code.
34502         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34503         conditional code.
34504         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34505         * sysdeps/unix/sysv/linux/kernel-features.h
34506         (__ASSUME_GETCWD_SYSCALL): Don't define.
34507         (__ASSUME_REALTIME_SIGNALS): Likewise.
34508         (__ASSUME_PREAD_SYSCALL): Likewise.
34509         (__ASSUME_PWRITE_SYSCALL): Likewise.
34510         (__ASSUME_POLL_SYSCALL): Likewise.
34511         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34512         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34513         non-SPARC.
34514         (__ASSUME_SIOCGIFNAME): Don't define.
34515         (__ASSUME_MSG_NOSIGNAL): Likewise.
34516         (__ASSUME_SENDFILE): Define unconditionally.
34517         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34518         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34519         conditional code.
34520         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34521         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34522         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34523         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34524         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34525         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34526         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34528         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34529         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34531         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34532         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34534         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34535         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34537         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34538         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34540         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34541         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34543         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34544         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34546         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34547         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34549         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34550         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34551         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34552         Remove conditional code.
34553         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34554         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34555         Remove conditional code.
34556         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34557         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34558         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34559         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34560         Remove conditional code.
34561         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34562         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34563         Remove conditional code.
34564         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34565         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34566         Remove conditional code.
34567         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34568         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34569         Remove conditional code.
34570         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34571         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34572         Remove conditional code.
34573         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34574         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34575         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34576         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34577         * sysdeps/unix/sysv/linux/sigaction.c
34578         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34579         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34580         * sysdeps/unix/sysv/linux/sigpending.c
34581         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34582         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34583         * sysdeps/unix/sysv/linux/sigprocmask.c
34584         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34585         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34586         * sysdeps/unix/sysv/linux/sigsuspend.c
34587         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34588         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34589         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34590         (__libc_missing_rt_sigs): Remove.
34591         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34592         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34593         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34594         Remove conditional code.
34595         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34596         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34597         return 1.
34598         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34599         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34600         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34601         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34602
34603 2012-05-14  Andreas Jaeger  <aj@suse.de>
34604
34605         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34606         it's not used in glibc.
34607         (__coshm1): Likewise.
34608         (__acosh1p): Likewise.
34609         (__sgn): Likewise.
34610
34611         * manual/string.texi (Copying and Concatenation): Add missing
34612         variable in concat example.
34613         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34614
34615 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34616
34617         [BZ #14103]
34618         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34619         __builtin_clzl with __builtin_clzll.
34620
34621 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34622
34623         [BZ #14104]
34624         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34625         libc_freeres_ptr.
34626
34627 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34628
34629         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34630         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34631         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34632         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34633
34634 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34635
34636         * NEWS: Update ia64 info.
34637
34638 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34639
34640         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34641         used as bcopy.
34642
34643 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34644
34645         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34646         * sysdeps/unix/syscalls.list (dup3): Likewise.
34647         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34648         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34649
34650 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34651
34652         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34653         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34654
34655 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34656
34657         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34658         thread pointer.
34659         (TLS_IE): Use mov/add instead of movq/addq to load thread
34660         pointer.
34661         (TLS_GD_PREFIX): New.
34662         (TLS_GD): Use it.
34663
34664 2012-05-11  David S. Miller  <davem@davemloft.net>
34665
34666         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34667         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34668         (_FPU_SETCW): Likewise.
34669
34670 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34671
34672         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34673         is 32-byte aligned.
34674
34675 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34676
34677         [BZ #11837]
34678         * iconvdata/gb18030.c: Update tables.
34679         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34680         characters specially.
34681         (BODY for TO_LOOP): Add encoding of missing ranges.
34682
34683 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34684
34685         [BZ #13673]
34686         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34687         * sysdeps/mach/hurd/dup3.c: Likewise.
34688         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34689         * sysdeps/powerpc/memmove.c:: Likewise.
34690
34691 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34692
34693         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34694         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34695
34696 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34697
34698         * elf/elf.h (R_X86_64_RELATIVE64): New.
34699         (R_X86_64_NUM): Updated.
34700         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34701         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34702         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34703         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34704         tst-quad1pie tst-quad2pie
34705         (modules-names): Add tst-quadmod1 tst-quadmod2.
34706         ($(objpfx)tst-quad1): New dependency.
34707         ($(objpfx)tst-quad2): Likewise.
34708         ($(objpfx)tst-quad1pie): Likewise.
34709         ($(objpfx)tst-quad2pie): Likewise.
34710         * sysdeps/x86_64/tst-quad1.c: New file.
34711         * sysdeps/x86_64/tst-quad1pie.c: New file.
34712         * sysdeps/x86_64/tst-quad2.c: Likewise.
34713         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34714         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34715         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34716         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34717         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34718
34719 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34720
34721         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34722         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34723         * streams/stropts.h (t_scalar_t): Define type.
34724
34725         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34726         (_PATH_PRESERVE): Set to "/var/lib".
34727         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34728
34729         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34730         instead of int.
34731
34732         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34733         if __dir_mkfile succeeded.
34734
34735         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34736         checking for _hurd_dtablesize.  Unlock it right after having
34737         finished _hurd_dtable allocation.
34738
34739 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34740
34741         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34742         * sysdeps/mach/hurd/configure: Regenerated.
34743         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34744         special-casing to...
34745         * sysdeps/gnu/configure.in: ... this new file.
34746         * sysdeps/unix/sysv/linux/configure: Regenerated.
34747         * sysdeps/gnu/configure: New generated file.
34748
34749         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34750         for Linux: use nsec instead of usec, as well as:
34751         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34752         members of type struct timespec.
34753         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34754         New macros.
34755         (struct stat64): Likewise.
34756         (_STATBUF_ST_NSEC): New macro.
34757         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34758
34759         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34760         __strtoul_internal rather than strtoul.
34761
34762 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34763
34764         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34765         and reject them.
34766
34767 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34768
34769         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34770         which preserves existing values.
34771         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34772
34773 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34774
34775         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34776         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34777         greater than FD_SETSIZE.
34778
34779 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34780
34781         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34782         allocated, call __vm_protect to finish enabling the existing space, and
34783         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34784         allocate the remainder.
34785
34786 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34787
34788         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34789         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34790
34791 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34792
34793         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34794         sysdeps/mach/hurd/readlink.c.
34795
34796         * posix/tst-sysconf.c (posix_options): Only use
34797         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34798         _POSIX_SYNCHRONIZED_IO when they are defined
34799         * sysdeps/mach/hurd/bits/posix_opt.h:
34800         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34801         (_XOPEN_REALTIME): Undefine macro.
34802         (_XOPEN_REALTIME_THREADS): Undefine macro.
34803         (_XOPEN_SHM): Undefine macro.
34804         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34805         macro to -1.
34806         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34807         macro to -1.
34808         (_POSIX_ASYNC_IO): Undefine macro.
34809         (_POSIX_PRIORITIZED_IO): Undefine macro.
34810         (_POSIX_SPIN_LOCKS): Define macro to -1.
34811
34812         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34813         SA_NODEFER, SA_RESETHAND.
34814         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34815         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34816         F_DUPFD_CLOEXEC.
34817
34818 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34819
34820         * elf/Makefile (pldd-modules): Define unconditionally.
34821
34822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34823
34824         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34825
34826 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34827
34828         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34829         Return ENOENT when name is empty.
34830         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34831
34832 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34833
34834         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34835
34836         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34837
34838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34839
34840         Fix mlock in all cases except non-readable pages.
34841         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34842         instead of VM_PROT_ALL as parameter to __vm_wire function.
34843
34844         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34845         (__mkdir): When path is `/', just fail with EEXIST.
34846         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34847
34848 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34849
34850         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34851         <sys/uio.h> (for writev).
34852         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34853         and <sys/param.h> (for MIN).
34854
34855 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34856
34857         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34858         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34859         if interrupted.
34860
34861 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34862
34863         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34864         Depend on against $(link-rpcuserlibs).
34865
34866 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34867
34868         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34869         (__libc_stack_end): Do not use attribute_relro.
34870         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34871         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34872         to libthread-provided value.
34873         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34874         attribute_relro.
34875
34876 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34877
34878         [BZ #3748]
34879         * bits/libc-lock.h (__libc_once_get): New macro.
34880         * sysdeps/mach/bits/libc-lock.h: Likewise.
34881         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34882         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34883         instead of using implementation details.
34884
34885         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34886         * libio/freopen.c: Likewise.
34887         * libio/freopen64.c: Likewise.
34888         * misc/syslog.c: Likewise.
34889         * nscd/connections.c: Likewise.
34890         * nscd/netgroupcache.c: Likewise.
34891         * sysdeps/posix/getcwd.c: Likewise.
34892
34893 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34894
34895         * math/w_ilogbf.c: Add #include <limits.h>.
34896
34897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34898
34899         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34900         path instead of returning without unlocking.
34901
34902         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34903         immediate-write ioctls.
34904         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34905
34906 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34907
34908         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34909         __builtin_frame_address instead of making assumptions about the
34910         location of the return address relative to DATA.  Force early load of
34911         the return address.
34912         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34913         __builtin_frame_address.
34914
34915         dup3 for GNU Hurd.
34916         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34917         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34918         implement dup3 and do some further code clean-ups.
34919         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34920         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34921
34922 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34923
34924         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34925
34926         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34927         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34928         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34929         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34930         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34931         d->port.lock.
34932
34933         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34934         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34935         when handler == SIG_ERR, not when handler != SIG_ERR.
34936
34937 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34938
34939         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34940         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34941         definitions.
34942
34943         accept4 for GNU Hurd.
34944         * include/sys/socket.h (__libc_accept4): New prototype.
34945         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34946         to implement __libc_accept4.
34947         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34948         __libc_accept4.
34949         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34950
34951         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34952         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34953         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34954         signal-defines.sym.
34955
34956 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34957
34958         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34959
34960 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34961
34962         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34963         assertion on O_CLOEXEC flag.
34964         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34965         * hurd/intern-fd.c: Likewise.
34966         * hurd/port2fd.c: Likewise.
34967
34968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34969
34970         [BZ #3906]
34971         * bits/in.h (IPV6_PKTINFO): Define new macro.
34972         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34973
34974 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34975
34976         [BZ #13954]
34977         [BZ #13955]
34978         [BZ #13956]
34979         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34980         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34981         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34982         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34983         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34984         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34985         * math/libm-test.inc (logb_test) : Additional logb tests.
34986
34987 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34988             Andreas Jaeger  <aj@suse.de>
34989
34990         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34991         * configure: Regenerated.
34992         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34993         * config.make.in (link-obsolete-rpc): New substituted variable.
34994         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34995         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34996         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34997         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34998         so that libc.a contains the symbols.
34999         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35000         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35001         * sunrpc/auth_none.c: Likewise.
35002         * sunrpc/auth_unix.c: Likewise.
35003         * sunrpc/authdes_prot.c: Likewise.
35004         * sunrpc/authuxprot.c: Likewise.
35005         * sunrpc/clnt_gen.c: Likewise.
35006         * sunrpc/clnt_perr.c: Likewise.
35007         * sunrpc/clnt_raw.c: Likewise.
35008         * sunrpc/clnt_simp.c: Likewise.
35009         * sunrpc/clnt_tcp.c: Likewise.
35010         * sunrpc/clnt_udp.c: Likewise.
35011         * sunrpc/clnt_unix.c: Likewise.
35012         * sunrpc/des_crypt.c: Likewise.
35013         * sunrpc/des_soft.c: Likewise.
35014         * sunrpc/get_myaddr.c: Likewise.
35015         * sunrpc/key_call.c: Likewise.
35016         * sunrpc/key_prot.c: Likewise.
35017         * sunrpc/netname.c: Likewise.
35018         * sunrpc/pm_getmaps.c: Likewise.
35019         * sunrpc/pm_getport.c: Likewise.
35020         * sunrpc/pmap_clnt.c: Likewise.
35021         * sunrpc/pmap_prot.c: Likewise.
35022         * sunrpc/pmap_prot2.c: Likewise.
35023         * sunrpc/pmap_rmt.c: Likewise.
35024         * sunrpc/publickey.c: Likewise.
35025         * sunrpc/rpc_cmsg.c: Likewise.
35026         * sunrpc/rpc_common.c: Likewise.
35027         * sunrpc/rpc_dtable.c: Likewise.
35028         * sunrpc/rpc_prot.c: Likewise.
35029         * sunrpc/rpc_thread.c: Likewise.
35030         * sunrpc/rtime.c: Likewise.
35031         * sunrpc/svc.c: Likewise.
35032         * sunrpc/svc_auth.c: Likewise.
35033         * sunrpc/svc_raw.c: Likewise.
35034         * sunrpc/svc_run.c: Likewise.
35035         * sunrpc/svc_tcp.c: Likewise.
35036         * sunrpc/svc_udp.c: Likewise.
35037         * sunrpc/svc_unix.c: Likewise.
35038         * sunrpc/svcauth_des.c: Likewise.
35039         * sunrpc/xcrypt.c: Likewise.
35040         * sunrpc/xdr.c: Likewise.
35041         * sunrpc/xdr_array.c: Likewise.
35042         * sunrpc/xdr_float.c: Likewise.
35043         * sunrpc/xdr_intXX_t.c: Likewise.
35044         * sunrpc/xdr_mem.c: Likewise.
35045         * sunrpc/xdr_rec.c: Likewise.
35046         * sunrpc/xdr_ref.c: Likewise.
35047         * sunrpc/xdr_sizeof.c: Likewise.
35048         * sunrpc/xdr_stdio.c: Likewise.
35049
35050 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35051
35052         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35053         change.  Update copyright years.
35054
35055 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35056
35057         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35058
35059 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35060             Joseph Myers  <joseph@codesourcery.com>
35061             Paul Pluzhnikov  <ppluzhnikov@google.com>
35062
35063         [BZ #14012]
35064         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35065         requiring rpcgen.
35066         [cross-compiling] (extra-libs): Likewise.
35067         [cross-compiling] (extra-libs-others): Likewise.
35068         [cross-compiling] (librpcsvc-routines): Likewise.
35069         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35070         [cross-compiling] (omit-deps): Likewise.
35071         (sunrpc-CPPFLAGS): New variable.
35072         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35073         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35074         (cross-rpcgen-objs): New variable.
35075         (extra-objs): Append $(cross-rpcgen-objs).
35076         ($(cross-rpcgen-objs)): New rule.
35077         ($(objpfx)cross-rpcgen): Likewise.
35078         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35079         comment.
35080         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35081         ($(objpfx)x%.stmp): Likewise.
35082         * sunrpc/proto.h [IS_IN_build] (_): Define.
35083         [IS_IN_build] (_libc_intl_domainname): Likewise.
35084
35085 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35086
35087         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35088         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35089         and R_X86_64_TPOFF64.
35090
35091 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35092
35093         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35094         sysdeps/unix/sysv/syscalls.list.
35095         (stime): Likewise.
35096         (utime): Likewise.
35097         * sysdeps/unix/sysv/syscalls.list: Remove file.
35098
35099 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35100
35101         [BZ #3440]
35102         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35103         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35104         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35105         (__LC_IDENTIFICATION): Make these macros useful in #if
35106         expressions, as required by C99.
35107
35108 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35109
35110         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35111         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35112         after this.
35113
35114 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35115
35116         * stdlib/longlong.h: Updated from GCC.
35117
35118 2012-05-09  Andreas Jaeger  <aj@suse.de>
35119
35120         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35121         default is first entry.
35122         (run_mode): Set type.
35123         (main): Remove informal message about syslog.
35124         (options): Fix typo.
35125
35126         [BZ #14053]
35127         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35128         to asm.
35129         (lrint): Likewise.
35130         (llrintf): Likewise.
35131         (llrint): Likewise.
35132         (rint): Likewise.
35133         (rintf): Likewise.
35134         (nearbyint): Likewise.
35135         (nearbyintf): Likewise.
35136
35137 2012-05-09  Andreas Jaeger  <aj@suse.de>
35138             Pedro Alves  <palves@redhat.com>
35139
35140         * nscd/nscd.c (run_mode): Use enum.
35141         (main): Cleanup coding style issue.
35142
35143 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35144             Andreas Jaeger  <aj@suse.de>
35145
35146         * nscd/nscd.c (go_background): Replaced with...
35147         (run_mode): ... this.
35148         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35149         (options): Add -F --foreground.
35150         (main): Implement it.
35151         (parse_opt): Parse it.
35152
35153 2012-05-09  Andreas Jaeger  <aj@suse.de>
35154
35155         [BZ #14083]
35156         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35157         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35158         -Wconversion warning.
35159         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35160         Likewise.
35161
35162 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35163
35164         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35165         == 0.
35166         (LC_ALL): Use macro-int-constant.
35167         (LC_COLLATE): Likewise.
35168         (LC_CTYPE): Likewise.
35169         (LC_MESSAGES): Likewise.
35170         (LC_MONETARY): Likewise.
35171         (LC_NUMERIC): Likewise.
35172         (LC_TIME): Likewise.
35173         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35174         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35175         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35176         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35177         Specify type.
35178         [C99-based standards] (float_t): Expect type.
35179         [C99-based standards] (double_t): Expect type.
35180         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35181         type.
35182         [C99-based standards] (HUGE_VALL): Likewise.
35183         [C99-based standards] (INFINITY): Likewise.
35184         [C99-based standards] (NAN): Likewise.
35185         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35186         [C99-based standards] (FP_NAN): Likewise.
35187         [C99-based standards] (FP_NORMAL): Likewise.
35188         [C99-based standards] (FP_SUBNORMAL): Likewise.
35189         [C99-based standards] (FP_ZERO): Likewise.
35190         [C99-based standards] (FP_FAST_FMA): Use
35191         optional-macro-int-constant.  Specify type.  Require == 1.
35192         [C99-based standards] (FP_FAST_FMAF): Likewise.
35193         [C99-based standards] (FP_FAST_FMAL): Likewise.
35194         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35195         [C99-based standards] (FP_ILOGBNAN): Likewise.
35196         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35197         Specify type.
35198         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35199         [C99-based standards] (math_errhandling): Specify type.
35200         [ISO99 || ISO11] (signgam): Do not allow.
35201         [non-C99-based standards] (copysignf): Do not allow.
35202         [non-C99-based standards] (exp2f): Likewise.
35203         [non-C99-based standards] (log2f): Likewise.
35204         [non-C99-based standards] (modff): Allow.
35205         [non-C99-based standards] (erff): Do not allow.
35206         [non-C99-based standards] (erfcf): Likewise.
35207         [non-C99-based standards] (gammaf): Likewise.
35208         [non-C99-based standards] (hypotf): Likewise.
35209         [non-C99-based standards] (j0f): Likewise.
35210         [non-C99-based standards] (j1f): Likewise.
35211         [non-C99-based standards] (jnf): Likewise.
35212         [non-C99-based standards] (lgammaf): Likewise.
35213         [non-C99-based standards] (tgammaf): Likewise.
35214         [non-C99-based standards] (y0f): Likewise.
35215         [non-C99-based standards] (y1f): Likewise.
35216         [non-C99-based standards] (ynf): Likewise.
35217         [non-C99-based standards] (isnanf): Likewise.
35218         [non-C99-based standards] (acoshf): Likewise.
35219         [non-C99-based standards] (asinhf): Likewise.
35220         [non-C99-based standards] (atanhf): Likewise.
35221         [non-C99-based standards] (cbrtf): Likewise.
35222         [non-C99-based standards] (expm1f): Likewise.
35223         [non-C99-based standards] (ilogbf): Likewise.
35224         [non-C99-based standards] (log1pf): Likewise.
35225         [non-C99-based standards] (logbf): Likewise.
35226         [non-C99-based standards] (nextafterf): Likewise.
35227         [non-C99-based standards] (remainderf): Likewise.
35228         [non-C99-based standards] (rintf): Likewise.
35229         [non-C99-based standards] (scalbf): Likewise.
35230         [non-C99-based standards] (copysignl): Likewise.
35231         [non-C99-based standards] (exp2l): Likewise.
35232         [non-C99-based standards] (log2l): Likewise.
35233         [non-C99-based standards] (modfl): Allow.
35234         [non-C99-based standards] (erfl): Do not allow.
35235         [non-C99-based standards] (erfcl): Likewise.
35236         [non-C99-based standards] (gammal): Likewise.
35237         [non-C99-based standards] (hypotl): Likewise.
35238         [non-C99-based standards] (j0l): Likewise.
35239         [non-C99-based standards] (j1l): Likewise.
35240         [non-C99-based standards] (jnl): Likewise.
35241         [non-C99-based standards] (lgammal): Likewise.
35242         [non-C99-based standards] (tgammal): Likewise.
35243         [non-C99-based standards] (y0l): Likewise.
35244         [non-C99-based standards] (y1l): Likewise.
35245         [non-C99-based standards] (ynl): Likewise.
35246         [non-C99-based standards] (isnanl): Likewise.
35247         [non-C99-based standards] (acoshl): Likewise.
35248         [non-C99-based standards] (asinhl): Likewise.
35249         [non-C99-based standards] (atanhl): Likewise.
35250         [non-C99-based standards] (cbrtl): Likewise.
35251         [non-C99-based standards] (expm1l): Likewise.
35252         [non-C99-based standards] (ilogbl): Likewise.
35253         [non-C99-based standards] (log1pl): Likewise.
35254         [non-C99-based standards] (logbl): Likewise.
35255         [non-C99-based standards] (nextafterl): Likewise.
35256         [non-C99-based standards] (remainderl): Likewise.
35257         [non-C99-based standards] (rintl): Likewise.
35258         [non-C99-based standards] (scalbl): Likewise.
35259         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35260         [non-C99-based standards] (FP_*): Do not allow.
35261         [C99-based standards] (FP_*): Change to
35262         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35263         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35264         allow.
35265         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35266         (SIG_ERR): Likewise.
35267         [X/Open-based standards] (SIG_HOLD): Likewise.
35268         (SIG_IGN): Likewise.
35269         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35270         positive value.
35271         (SIGFPE): Likewise.
35272         (SIGILL): Likewise.
35273         (SIGINT): Likewise.
35274         (SIGSEGV): Likewise.
35275         (SIGTER): Likewise.
35276         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35277         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35278         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35279         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35280         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35281         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35282         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35283         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35284         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35285         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35286         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35287         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35288         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35289         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35290         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35291         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35292         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35293         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35294         [X/Open-based standards] (SIGTRAP): Likewise.
35295         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35296         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35297         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35298         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35299         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35300         allow.
35301
35302 2012-05-08  Ian Wienand  <ianw@vmware.com>
35303
35304         [BZ #14080]
35305         * time/tzset.c (__tzset_parse_tz): Update default rules for
35306         daylight time changes in the Energy Policy Act of 2005.
35307
35308 2012-05-09  Andreas Jaeger  <aj@suse.de>
35309
35310         [BZ #13983]
35311         * elf/ldconfig.c (parse_conf): Change string to make clear that
35312         ldconfig only issued a warning if ld.so.conf does not exist.
35313
35314 2012-05-08  David S. Miller  <davem@davemloft.net>
35315
35316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35317         movxtod instead of popping the value on the stack.
35318
35319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35320
35321 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35322
35323         * config.h.in: Add HAVE_ARM_PCS_VFP.
35324
35325 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35326
35327         [BZ #13979]
35328         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35329         checking but the checks are disabled for any reason.
35330
35331 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35332
35333         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35334         and ELF64_R_TYPE with ELFW(R_TYPE).
35335
35336 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35337
35338         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35339         (ulimit): Likewise.
35340
35341         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35342         (settimeofday): Likewise.
35343
35344 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35345
35346         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35347         a struct th_u2 inside the union, and move tu_block/tu_code into
35348         a new th_u3 union of tu_block/tu_code inside of that.  Move
35349         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35350         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35351         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35352         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35353         (th_stuff): Change to th_u1.tu_stuff.
35354         (th_data): Define.
35355         (th_msg): Change to th_u1.th_u2.tu_data.
35356
35357 2012-05-07  David S. Miller  <davem@davemloft.net>
35358
35359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35360
35361         [BZ #14074]
35362         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35363         (SETUP_PIC_REG): Use it.
35364         (SETUP_PIC_REG_LEAF): Use it.
35365
35366 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35367
35368         [BZ #13885]
35369         [BZ #13923]
35370         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35371         USE_AS_EXPM1L.
35372         (EXPL_FINITE): Likewise.
35373         (FLDLOG): Likewise.
35374         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35375         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35376         e_expl.S.
35377         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35378         USE_AS_EXPM1L.
35379         (EXPL_FINITE): Likewise.
35380         (FLDLOG): Likewise.
35381         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35382         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35383         e_expl.S.
35384         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35385         test of -max_value argument for long double.
35386         * sysdeps/i386/fpu/libm-test-ulps: Update.
35387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35388
35389 2012-05-06  David S. Miller  <davem@davemloft.net>
35390
35391         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35392         quad soft-float symbols whose references which are compiler
35393         generated.
35394         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35395
35396 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35397
35398         [BZ #13884]
35399         [BZ #13914]
35400         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35401         USE_AS_EXP10L.
35402         (EXPL_FINITE): Likewise.
35403         (FLDLOG): Likewise.
35404         (c0): Likewise.
35405         (c1): Likewise.
35406         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35407         Adjust comments for base varying.
35408         (__expl_finite): Change alias to EXPL_FINITE.
35409         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35410         e_expl.S.
35411         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35412         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35413         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35414         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35415         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35416         USE_AS_EXP10L.
35417         (EXPL_FINITE): Likewise.
35418         (FLDLOG): Likewise.
35419         (c0): Likewise.
35420         (c1): Likewise.
35421         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35422         Adjust comments for base varying.
35423         (__expl_finite): Change alias to EXPL_FINITE.
35424         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35425         tests for bugs.
35426         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35427
35428         [BZ #14064]
35429         * math/libm-test.inc (check_float_internal): Correct ulp
35430         calculation for subnormal expected results.
35431
35432 2012-05-06  Andreas Jaeger  <aj@suse.de>
35433
35434         * Makeconfig (+math-flags): New, set to -frounding-math.
35435         (+cflags): Add +math-flags so that all of glibc gets compiled with
35436         it.
35437
35438         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35439
35440 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35441
35442         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35443         Disable one test.
35444
35445         [BZ #13787]
35446         [BZ #13922]
35447         [BZ #14036]
35448         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35449         (__ieee754_expl): Allow for and saturate large arguments.
35450         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35451         (u_threshold): Likewise.
35452         (__exp): Call __ieee754_exp before checking for overflow and
35453         underflow.
35454         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35455         (u_threshold): Likewise.
35456         (__expf): Call __ieee754_expf before checking for overflow and
35457         underflow.
35458         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35459         (u_threshold): Likewise.
35460         (__expl): Call __ieee754_expl before checking for overflow and
35461         underflow.
35462         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35463         (__ieee754_expl): Allow for and saturate large arguments.
35464         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35465         missing overflow exception on overflow.
35466         (expm1_test): Do not allow missing overflow exception on overflow.
35467
35468         * sysdeps/i386/fpu/e_expl.c: Move to ...
35469         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35470         rather than using inline asm.
35471         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35472         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35473         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35474
35475         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35476         (nice): Likewise.
35477         (poll): Likewise.
35478         (signal): Likewise.
35479         (time): Likewise.
35480         (times): Likewise.
35481
35482 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35483
35484         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35485         sysdeps/unix/common/syscalls.list.
35486         (fchmod): Likewise.
35487         (fchown): Likewise.
35488         (ftruncate): Likewise.
35489         (getrusage): Likewise.
35490         (gettimeofday): Likewise.
35491         (setpgid): Likewise.
35492         (setregid): Likewise.
35493         (setreuid): Likewise.
35494         (sigaction): Likewise.
35495         (truncate): Likewise.
35496         (vhangup): Likewise.
35497         * sysdeps/unix/common/syscalls.list: Remove file.
35498         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35499         * sysdeps/unix/sysv/linux/Implies: Likewise.
35500
35501 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35502
35503         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35505         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35506         Moved to ...
35507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35508         Here.
35509         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35510         to ...
35511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35512         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35513         to ...
35514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35515         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35516         to ...
35517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35518         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35519         to ...
35520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35521         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35522         to ...
35523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35524         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35525         to ...
35526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35527         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35528         to ...
35529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35530         Here.
35531         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35532         to ...
35533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35534         Here.
35535         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35536         to ...
35537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35538         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35539         Moved to ...
35540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35541         Here.
35542         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35543         to ...
35544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35545
35546 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35547
35548         * sysdeps/unix/common/bits/dirent.h: Remove file.
35549         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35550
35551         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35552         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35553         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35554         * sysdeps/unix/bsd/isatty.c: Likewise.
35555         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35556         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35557         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35558
35559 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35560
35561         [BZ #13563]
35562         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35563         long double comparison inaccuracies.
35564         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35566
35567 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35568
35569         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35570         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35571
35572 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35573
35574         [BZ #14049]
35575         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35576         nonzero digits before rounding a hex value.
35577         * stdlib/tst-strtod.c (tests): Add another test.
35578
35579 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35580
35581         * sysdeps/s390/fpu/libm-test-ulps: Update.
35582
35583 2012-05-03  Andreas Jaeger  <aj@suse.de>
35584
35585         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35586         does not get optimized out.
35587         (malloc_opt_barrier): New.
35588
35589 2012-05-03  Andreas Jaeger  <aj@suse.de>
35590             Roland McGrath  <roland@hack.frob.com>
35591
35592         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35593         intermediate file deletion.
35594         (generated): Add .symlist files.
35595
35596 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35597
35598         [BZ #13775]
35599         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35600         Redirect under this condition.
35601         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35602         [__USE_GNU] (__dprintf_chk): Not under this condition.
35603         [__USE_GNU] (__vdprintf_chk): Likewise.
35604         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35605         under this condition.
35606         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35607         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35608         [__USE_XOPEN2K8] (vdprintf): Likewise.
35609         [__USE_GNU] (__dprintf_chk): Not under this condition.
35610         [__USE_GNU] (__vdprintf_chk): Likewise.
35611         [__USE_GNU] (dprintf): Likewise.
35612         [__USE_GNU] (vdprintf): Likewise.
35613
35614 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35615
35616         * elf/Makefile (common-generated): Set this instead of generated for
35617         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35618         $(all-built-dso)-derived lists.
35619
35620 2012-05-03  Andreas Jaeger  <aj@suse.de>
35621
35622         * sysdeps/i386/fpu/libm-test-ulps: Update.
35623
35624         * FAQ: Removed.
35625         * FAQ.in: Likewise.
35626         * scripts/gen-FAQ.pl: Likewise.
35627         * manual/install.texi (Installation): Point to online location of
35628         FAQ.
35629         * Makefile (files-for-dist): Remove FAQ.
35630         (FAQ): Remove.
35631
35632 2012-05-02  Allan McRae  <allan@archlinux.org>
35633
35634         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35635         (LDFLAGS-reldepmod5.so): Likewise.
35636         (LDFLAGS-reldep6mod1.so): Likewise.
35637         (LDFLAGS-reldep6mod4.so): Likewise.
35638         (LDFLAGS-reldep8mod3.so): Likewise.
35639         (LDFLAGS-unload4mod1.so): Likewise.
35640         (LDFLAGS-unload4mod2.so): Likewise.
35641         (LDFLAGS-tst-initorder): Likewise.
35642         (LDFLAGS-tst-initordera2.so): Likewise.
35643         (LDFLAGS-tst-initordera3.so): Likewise.
35644         (LDFLAGS-tst-initordera4.so): Likewise.
35645         (LDFLAGS-tst-initorderb2.so): Likewise.
35646         (LDFLAGS-noload): Likewise.
35647         (LDFLAGS-next): Likewise.
35648         (LDFLAGS-order2mod1.so): Likewise.
35649         (LDFLAGS-order2mod2.so): Likewise.
35650         (LDFLAGS-tst-initorder2): Likewise.
35651         (LDFLAGS-tst-initorder2a.so): Likewise.
35652         (LDFLAGS-tst-initorder2b.so): Likewise.
35653         (LDFLAGS-tst-initorder2c.so): Likewise.
35654         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35655
35656 2012-05-02  David S. Miller  <davem@davemloft.net>
35657
35658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35659
35660 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35661
35662         [BZ #14055]
35663         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35664
35665 2012-05-02  Andreas Jaeger  <aj@suse.de>
35666
35667         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35668         since we manipulate rounding mode.
35669         (CPPFLAGS-test-idouble.c): Likewise.
35670         (CPPFLAGS-test-ifloat.c): Likewise.
35671         (CFLAGS-test-ldouble.c): Likewise.
35672         (CFLAGS-test-double.c): Likewise.
35673         (CFLAGS-test-float.c): Likewise.
35674         (CFLAGS-test-misc.c): Likewise.
35675         (CFLAGS-test-test-fenv.c): Likewise.
35676
35677 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35678
35679         [BZ #2550]
35680         [BZ #2570]
35681         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35682         comparisons to determine direction to adjust input.
35683
35684 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35685
35686         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35687         output to the target.
35688
35689         * scripts/localplt.awk: New file.
35690         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35691         (check-localplt-CFLAGS): Variable removed.
35692         ($(all-built-dso:=.jmprel)): New static pattern rule.
35693         (generated): Add those targets.
35694         (localplt-built-dso): New variable.
35695         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35696
35697         * elf/check-localplt.c: File removed.
35698
35699         * scripts/check-execstack.awk: New file.
35700         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35701         (check-execstack-CFLAGS): Variable removed.
35702         ($(objpfx)check-execstack.h): Target removed.
35703         ($(objpfx)execstack-default): New target.
35704         (generated): Add that instead of check-execstack.h.
35705         ($(all-built-dso:=.phdr)): New static pattern rule.
35706         (generated): Add those targets.
35707         * elf/check-execstack.c: File removed.
35708
35709         * scripts/check-textrel.awk: New file.
35710         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35711         (check-textrel-CFLAGS): Variable removed.
35712         (all-built-dso): Use := to define.o
35713         ($(all-built-dso:=.dyn)): New static pattern rule.
35714         (generated): Add those targets.
35715         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35716         * config.make.in (READELF): New substituted variable.
35717         * elf/check-textrel.c: File removed.
35718
35719 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35720
35721         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35722         allow.
35723         * conform/data/ctype.h-data [C99-based standards] (isblank):
35724         Expect function.
35725         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35726         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35727         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35728         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35729         Specify type.  Require positive value.
35730         (EILSEQ): Likewise.
35731         (ERANGE): Likewise.
35732         [ISO || POSIX] (EILSEQ): Do not expect.
35733         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35734         Specify type.  Require positive value.
35735         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35736         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35737         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35738         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35739         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35740         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35741         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35742         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35743         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35744         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35745         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35746         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35747         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35748         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35749         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35750         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35751         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35752         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35753         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35754         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35755         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35756         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35757         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35758         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35759         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35760         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35761         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35762         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35763         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35764         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35765         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35766         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35767         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35768         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35769         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35770         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35771         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35772         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35773         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35774         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35775         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35776         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35777         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35778         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35779         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35780         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35781         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35782         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35783         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35784         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35785         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35786         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35787         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35788         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35789         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35790         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35791         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35792         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35793         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35794         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35795         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35796         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35797         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35798         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35799         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35800         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35801         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35802         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35803         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35804         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35805         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35806         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35807         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35808         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35809         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35810         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35811         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35812         Require >= 2.
35813         (FLT_ROUNDS): Expect as macro, not constant.
35814         (FLT_MANT_DIG): Use macro-int-constant.
35815         (DBL_MANT_DIG): Likewise.
35816         (LDBL_MANT_DIG): Likewise.
35817         (FLT_DIG): Likewise.
35818         (DBL_DIG): Likewise.
35819         (LDBL_DIG): Likewise.
35820         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35821         (DBL_MIN_EXP): Likewise.
35822         (LDBL_MIN_EXP): Likewise.
35823         (FLT_MAX_EXP): Use macro-int-constant.
35824         (DBL_MAX_EXP): Likewise.
35825         (LDBL_MAX_EXP): Likewise.
35826         (FLT_MAX_10_EXP): Likewise.
35827         (DBL_MAX_10_EXP): Likewise.
35828         (LDBL_MAX_10_EXP): Likewise.
35829         (FLT_MAX): Use macro-constant.
35830         (DBL_MAX): Likewise.
35831         (LDBL_MAX): Likewise.
35832         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35833         (DBL_EPSILON): Likewise.
35834         (LDBL_EPSILON): Likewise.
35835         (FLT_MIN): Likewise.
35836         (DBL_MIN): Likewise.
35837         (LDBL_MIN): Likewise.
35838         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35839         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35840         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35841         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35842         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35843         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35844         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35845         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35846         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35847         [ISO11] (FLT_TRUE_MIN): Likewise.
35848         [ISO11] (LDBL_TRUE_MIN): Likewise.
35849         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35850         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35851         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35852         (SCHAR_MAX): Likewise.
35853         (UCHAR_MAX): Likewise.
35854         (CHAR_MIN): Likewise.
35855         (CHAR_MAX): Likewise.
35856         (MB_LEN_MAX): Use macro-int-constant.
35857         (SHRT_MIN): Use macro-int-constant.  Specify type.
35858         (SHRT_MAX): Likewise.
35859         (USHRT_MAX): Likewise.
35860         (INT_MAX): Likewise.
35861         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35862         bound negative.
35863         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35864         bound with "U".
35865         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35866         bound with "L".
35867         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35868         bound negative.  Suffix upper bound with "L".
35869         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35870         bound with "UL".
35871         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35872         Specify type.
35873         [C99-based standards] (LLONG_MAX): Likewise.
35874         [C99-based standards] (ULLONG_MAX): Likewise.
35875         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35876         == 0.
35877         [ISO11] (max_align_t): Require type.
35878         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35879
35880         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35881         from $CFLAGS, without defining away __attribute__ calls.
35882         (checknamespace): Use $CFLAGS_namespace.
35883
35884         * conform/conformtest.pl (@keywords): Only include C99 keywords
35885         for standards based on C99 or C11.
35886
35887         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35888         Disable tests.
35889         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35890         UNIX98]: Likewise.
35891
35892         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35893         usability of symbols in #if.
35894
35895         * conform/conformtest.pl: If macro or constant types start
35896         "promoted:", expect the symbol to be of the following type
35897         promoted by the integer promotions.
35898
35899         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35900         in one place.  Also handle "macro-constant".
35901
35902         * conform/conformtest.pl: Only accept expected macro values with
35903         "==".  Parse all "macro" lines in one place.
35904         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35905
35906         * conform/conformtest.pl: Handle braced types on "constant" lines
35907         instead of handling "typed-constant".
35908         * conform/data/signal.h-data: Use "constant" instead of
35909         "typed-constant".
35910
35911         * conform/conformtest.pl: Handle "optional-" at start of lines in
35912         one place rather than duplicating several cases.  Handle each
35913         format of "macro" line with initial "optional-".
35914
35915         * conform/conformtest.pl: Only accept expected constant or
35916         optional-constant values with "==".  Parse all "constant" lines in
35917         one place.  Parse all "optional-constant" lines in one place.
35918         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35919         * conform/data/fmtmsg.h-data: Likewise.
35920         * conform/data/netinet/in.h-data: Likewise.
35921         * conform/data/tar.h-data: Likewise.
35922         * conform/data/limits.h-data: Use "==" form on "constant" and
35923         "optional-constant" lines.
35924
35925         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35926         Use -std=c99 for XOPEN2K.
35927         (@knownproblems): Remove.
35928         (newtoken): Don't check %isknown.
35929
35930         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35931         Do not expect macro.
35932         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35933         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35934         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35935         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35936         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35937         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35938         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35939         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35940         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35941         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35942         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35943         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35944         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35945         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35946         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35947         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35948         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35949         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35950         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35951         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35952         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35953         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35954         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35955         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35956         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35957         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35958         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35959         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35960         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35961         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35962         [XPG3] (acosh): Likewise.
35963         [XPG3] (asinh): Likewise.
35964         [XPG3] (atanh): Likewise.
35965         [XPG3] (cbrt): Likewise.
35966         [XPG3] (expm1): Likewise.
35967         [XPG3] (ilogb): Likewise.
35968         [XPG3] (log1p): Likewise.
35969         [XPG3] (logb): Likewise.
35970         [XPG3] (nextafter): Likewise.
35971         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35972         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35973         [XPG3] (remainder): Likewise.
35974         [XPG3] (rint): Likewise.
35975         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35976         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35977         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35978         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35979         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35980         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35981         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35982         [UNIX98 || XOPEN2K] (scalb): Expect.
35983         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35984         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35985         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35986         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35987         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35988         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35989         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35990         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35991         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35992         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35993         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35994         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35995         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35996         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35997         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35998         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35999         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36000         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36001         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36002         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36003         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36004         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36005         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36006         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36007         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36008         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36009         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36010         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36011         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36012         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36013         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36014         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36015         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36016         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36017         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36018         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36019         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36020         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36021         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36022         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36023         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36024         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36025         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36026         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36027         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36028         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36029         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36030         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36031         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36032         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36033         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36034         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36035         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36036         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36037         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36038         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36039         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36040         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36041         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36042         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36043         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36044         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36045         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36046         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36047         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36048         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36049         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36050         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36051         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36052         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36053         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36054         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36055         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36056         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36057         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36058         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36059         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36060         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36061         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36062         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36063         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36064         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36065         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36066         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36067         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36068         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36069         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36070         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36071         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36072         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36073         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36074         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36075         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36076         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36077         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36078         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36079         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36080         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36081         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36082         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36083         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36084         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36085         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36086         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36087         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36088         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36089         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36090         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36091         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36092         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36093         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36094         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36095         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36096         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36097         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36098         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36099         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36100         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36101         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36102         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36103         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36104         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36105         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36106         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36107         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36108         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36109         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36110         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36111         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36112         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36113         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36114         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36115         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36116         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36117         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36118         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36119         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36120
36121         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36122         _XOPEN_SOURCE_EXTENDED for XPG4.
36123
36124         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36125
36126         * Makeconfig (localtime): Remove variable.
36127         (inst_localtime-file): Likewise.
36128
36129 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36130
36131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36132         Update.
36133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36134         Update.
36135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36136         Update.
36137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36138         Update.
36139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36140         Update.
36141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36142         Update.
36143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36144         Update.
36145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36146         Update.
36147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36148         Update.
36149
36150 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36151
36152         [BZ #2550]
36153         [BZ #2570]
36154         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36155         comparisons to determine direction to adjust input.
36156         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36157         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36158         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36159         Likewise.
36160         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36161         Likewise.
36162         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36163         Likewise.
36164         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36165         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36166         Likewise.
36167         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36168         Likewise.
36169         * math/libm-test.inc (nexttoward_test): Add more tests.
36170
36171 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36172
36173         [BZ #14040]
36174         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36175         in version GLIBC_2.1, not GLIBC_2.0.
36176         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36177         Likewise.
36178
36179 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36180
36181         [BZ #13942]
36182         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36183         (1 - x) * (1 + x).
36184         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36185         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36186         * math/libm-test.inc (acos_test): Add more tests.
36187         (asin_test): Likewise.
36188         * sysdeps/i386/fpu/libm-test-ulps: Update.
36189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36190
36191         [BZ #14034]
36192         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36193         of square root.
36194         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36195         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36196         * math/libm-test.inc (acos_test_tonearest): New function.
36197         (acos_test_towardzero): Likewise.
36198         (acos_test_downward): Likewise.
36199         (acos_test_upward): Likewise.
36200         (asin_test_tonearest): Likewise.
36201         (asin_test_towardzero): Likewise.
36202         (asin_test_downward): Likewise.
36203         (asin_test_upward): Likewise.
36204         (main): Call the new functions.
36205         * sysdeps/i386/fpu/libm-test-ulps: Update.
36206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36207
36208         [BZ #13884]
36209         [BZ #13924]
36210         * math/e_exp10.c: Include <float.h>.
36211         (__ieee754_exp10): Handle underflow here rather than multiplying
36212         large negative argument by M_LN10.
36213         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36214         of __ieee754_expf.
36215         * math/e_exp10l.c: Include <float.h>.
36216         (__ieee754_exp10l): Handle underflow here rather than multiplying
36217         large negative argument by M_LN10l.
36218         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36219         spurious overflow exception on underflow.
36220
36221 2012-04-29  Marek Polacek  <polacek@redhat.com>
36222
36223         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36224         (__fortify_function): New macro.
36225         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36226         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36227         __extern_always_inline.
36228         * libio/bits/stdio2.h: Likewise.
36229         * libio/bits/stdio.h: Likewise.
36230         * string/string.h: Likewise.
36231         * string/bits/string3.h: Likewise.
36232         * include/stdio.h: Likewise.
36233         * stdlib/bits/stdlib.h: Likewise.
36234         * stdlib/stdlib.h: Likewise.
36235         * rt/bits/mqueue2.h: Likewise.
36236         * rt/mqueue.h: Likewise.
36237         * posix/bits/unistd.h: Likewise.
36238         * posix/unistd.h: Likewise.
36239         * io/bits/poll2.h: Likewise.
36240         * io/bits/fcntl2.h: Likewise.
36241         * io/fcntl.h: Likewise.
36242         * io/sys/poll.h: Likewise.
36243         * misc/bits/syslog.h: Likewise.
36244         * misc/bits/syslog-ldbl.h: Likewise.
36245         * misc/sys/syslog.h: Likewise.
36246         * socket/bits/socket2.h: Likewise.
36247         * socket/sys/socket.h: Likewise.
36248         * debug/tst-chk1.c: Likewise.
36249         * wcsmbs/bits/wchar2.h: Likewise.
36250         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36251         * wcsmbs/wchar.h: Likewise.
36252
36253 2012-04-29  Andreas Jaeger  <aj@suse.de>
36254
36255         * Makerules (tests): Remove enable-check-abi protection.
36256         (check-abi-warn): Remove.
36257         (check-abi-%): Remove check-abi-warn usage.
36258
36259         * configure.in: Remove check-abi configure option.
36260         * configure: Regenerated.
36261         * config.make.in (enable-check-abi): Remove.
36262
36263 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36264
36265         [BZ #14033]
36266         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36267         double functions to double *_finite functions.
36268
36269         [BZ #13941]
36270         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36271         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36272         LDBL_MIN_EXP.
36273         * stdio-common/Makefile (tests): Add tst-sprintf3.
36274         * stdio-common/tst-sprintf3.c: New file.
36275
36276         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36277         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36278
36279 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36280
36281         * conform/conformtest.pl: Remove duplicate typed-constant
36282         handling.
36283
36284 2012-04-28  David S. Miller  <davem@davemloft.net>
36285
36286         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36287         (check-abi-%): Remove AWK script prerequisite and explicit
36288         abilist directory.
36289         (check-abi): Rewrite to just diff the symlist with the abilist.
36290         (config-tls, config-abi-config): Delete, no longer used.
36291         (update-abi-%): Remove AWK script and explicit abilist directory.
36292         (update-abi): Rewrite to simply compare and conditionally copy the
36293         symlist and the sysdep abilist file.  Remove update-abi-config
36294         checks.
36295         * abilist/ld.abilist: Remove.
36296         * abilist/libBrokenLocale.abilist: Remove.
36297         * abilist/libanl.abilist: Remove.
36298         * abilist/libcrypt.abilist: Remove.
36299         * abilist/libdl.abilist: Remove.
36300         * abilist/librt.abilist: Remove.
36301         * abilist/libthread_db.abilist: Remove.
36302         * abilist/libutil.abilist: Remove.
36303         * scripts/extract-abilist.awk: Remove.
36304         * scripts/merge-abilist.awk: Remove.
36305         * sysdeps/generic/libcidn.abilist: New file.
36306         * sysdeps/generic/libnss_compat.abilist: New file.
36307         * sysdeps/generic/libnss_db.abilist: New file.
36308         * sysdeps/generic/libnss_dns.abilist: New file.
36309         * sysdeps/generic/libnss_files.abilist: New file.
36310         * sysdeps/generic/libnss_hesiod.abilist: New file.
36311         * sysdeps/generic/libnss_nis.abilist: New file.
36312         * sysdeps/generic/libnss_nisplus.abilist: New file.
36313         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36314         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36315         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36316         file.
36317         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36318         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36319         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36320         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36321         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36322         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36323         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36324         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36325         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36326         file.
36327         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36328         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36329         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36330         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36331         file.
36332         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36333         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36334         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36335         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36336         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36337         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36338         file.
36339         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36340         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36341         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36342         file.
36343         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36344         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36345         New file.
36346         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36347         New file.
36348         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36349         New file.
36350         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36351         New file.
36352         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36353         New file.
36354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36355         New file.
36356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36357         New file.
36358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36359         New file.
36360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36361         New file.
36362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36363         New file.
36364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36365         New file.
36366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36367         New file.
36368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36369         New file.
36370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36371         file.
36372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36373         New file.
36374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36375         New file.
36376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36377         file.
36378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36379         New file.
36380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36381         New file.
36382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36383         file.
36384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36385         New file.
36386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36387         New file.
36388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36389         New file.
36390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36391         New file.
36392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36393         New file.
36394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36395         New file.
36396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36398         file.
36399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36400         New file.
36401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36402         file.
36403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36404         file.
36405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36406         file.
36407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36408         file.
36409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36410         file.
36411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36412         New file.
36413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36414         file.
36415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36416         file.
36417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36418         New file.
36419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36420         file.
36421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36423         file.
36424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36425         New file.
36426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36427         file.
36428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36429         file.
36430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36431         file.
36432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36433         file.
36434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36435         file.
36436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36437         New file.
36438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36439         file.
36440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36441         file.
36442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36443         New file.
36444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36445         file.
36446         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36447         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36448         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36449         file.
36450         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36451         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36452         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36453         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36454         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36455         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36456         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36457         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36458         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36459         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36462         file.
36463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36464         New file.
36465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36466         file.
36467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36468         file.
36469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36470         file.
36471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36472         file.
36473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36474         file.
36475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36476         New file.
36477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36478         New file.
36479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36480         file.
36481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36482         New file.
36483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36484         file.
36485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36487         file.
36488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36489         New file.
36490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36491         file.
36492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36493         file.
36494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36495         file.
36496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36497         file.
36498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36499         file.
36500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36501         New file.
36502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36503         New file.
36504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36505         file.
36506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36507         New file.
36508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36509         file.
36510
36511 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36512
36513         * conform/conformtest.pl: Fix typo in handling typed-constant from
36514         allow-header.
36515
36516 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36517
36518         * README: Cut down references to pre-2.6 Linux kernels and
36519         Linuxthreads.  Update lists of configurations in libc and ports
36520         and sort alphabetically.  Say "or newer" with Linux kernel version
36521         requirements.
36522
36523         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36524
36525 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36526
36527         [BZ #887]
36528         * math/libm-test.inc (logb_test_downward): New test to expose
36529         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36530         rounding mode.
36531
36532 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36533
36534         [BZ #14027]
36535         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36536         to be done.
36537         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36538         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36539
36540 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36541
36542         * sysdeps/unix/i386/brk.S: Remove file.
36543         * sysdeps/unix/i386/dl-brk.S: Likewise.
36544         * sysdeps/unix/i386/pipe.S: Likewise.
36545         * sysdeps/unix/i386/sigreturn.S: Likewise.
36546         * sysdeps/unix/i386/syscall.S: Likewise.
36547         * sysdeps/unix/i386/vfork.S: Likewise.
36548         * sysdeps/unix/i386/wait.S: Likewise.
36549
36550         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36551         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36552
36553         * configure.in (arm*-none*): Do not allow without
36554         --enable-hacker-mode.
36555         (netbsd*): Remove case setting base_os.
36556         (386bsd*): Likewise.
36557         (freebsd*): Likewise.
36558         (bsdi*): Likewise.
36559         (osf*): Likewise.
36560         (sunos*): Likewise.
36561         (ultrix*): Likewise.
36562         (newsos*): Likewise.
36563         (dynix*): Likewise.
36564         (*bsd*): Likewise.
36565         (sysv*): Likewise.
36566         (isc*): Likewise.
36567         (esix*): Likewise.
36568         (sco*): Likewise.
36569         (minix*): Likewise.
36570         (irix4*): Likewise.
36571         (irix6*): Likewise.
36572         (solaris[2-9]*): Likewise.
36573         (none): Likewise.
36574         * configure: Regenerated.
36575
36576 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36577
36578         [BZ #11521]
36579         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36580         overflow or cancellation in calculating denominator.
36581         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36582         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36583         down expression to avoid unexpected rounding in newer GCCs.
36584         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36585
36586 2012-04-26  David S. Miller  <davem@davemloft.net>
36587
36588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36589         long-double compat symbols.
36590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36603
36604 2012-04-25  David S. Miller  <davem@davemloft.net>
36605
36606         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36607         HWCAP_* values only after the memory barriers have been defined.
36608         (atomic_full_barrier): Define.
36609         (atomic_read_barrier): Define.
36610         (atomic_write_barrier): Define.
36611
36612 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36613
36614         * shlib-versions: Add libgcc_s version information.
36615         * sysdeps/generic/libgcc_s.h: Remove.
36616         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36617         libgcc_s.h.
36618         * sysdeps/gnu/unwind-resume.c: Likewise.
36619         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36620
36621 2012-04-25  David S. Miller  <davem@davemloft.net>
36622
36623         * sysdeps/unix/sparc/brk.S: Delete.
36624         * sysdeps/unix/sparc/dl-brk.S: Delete.
36625         * sysdeps/unix/sparc/pipe.S: Delete.
36626         * sysdeps/unix/sparc/sysdep.S: Delete.
36627         * sysdeps/unix/sparc/sysdep.h: Delete.
36628         * sysdeps/unix/sparc/vfork.S: Delete.
36629         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36630         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36631         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36632         (ret_ERRVAL, r0, r1, MOVE): Define.
36633         (JUMPTARGET): Remove.
36634         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36635         sysdeps/unix/sparc/sysdep.h
36636         (ENTRY, END): Remove.
36637         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36638
36639 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36640
36641         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36642         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36643         -DIS_IN_build.
36644
36645         * timezone/README: Update upstream location and email address for
36646         tzcode and tzdata.
36647         * timezone/zdump.c: Update from tzcode 2012b.
36648         * timezone/zic.c: Likewise.
36649
36650         * configure.in (libc_cv_as_needed): Remove test.
36651         * configure: Regenerated.
36652         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36653         conditional definition.
36654         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36655         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36656         * config.make.in (have-as-needed): Remove variable.
36657
36658 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36659             Paul Pluzhnikov  <ppluzhnikov@google.com>
36660
36661         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36662         strings correctly.
36663
36664 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36665
36666         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36667         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36668         * sysdeps/sh/strlen.S: Likewise.
36669
36670 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36671
36672         * sysdeps/unix/fork.S: Remove file.
36673         * sysdeps/unix/i386/fork.S: Likewise.
36674         * sysdeps/unix/sparc/fork.S: Likewise.
36675
36676         * sysdeps/unix/system.c: Remove file.
36677         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36678
36679         * sysdeps/unix/getegid.S: Remove file.
36680         * sysdeps/unix/geteuid.S: Likewise.
36681
36682 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36683
36684         * scripts/check-localplt.awk: New file.
36685         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36686         of diff.
36687         * scripts/data/localplt-generic.data: Add a comment.
36688
36689         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36690         NODE when __dir_mkfile failed.
36691         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36692         Reported by Ludovic Courtès <ludo@gnu.org>.
36693
36694 2012-04-24  Andreas Jaeger  <aj@suse.de>
36695
36696         * Makerules (common-clean): Also remove gen-as-const-headers
36697         files.
36698
36699 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36700
36701         * Makerules (native-compile): Do not change working directory for
36702         build.  Use $(OUTPUT_OPTION) in command.
36703         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36704
36705 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36706
36707         [BZ #13886]
36708         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36709         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36710         * math/libm-test.inc (floor_test): Add more tests.
36711         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36712
36713 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36714
36715         * sysdeps/unix/getdents.c: Remove file.
36716         * sysdeps/unix/sysv/getdents.c: Likewise.
36717         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36718
36719         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36720         sysdeps/unix/mman/syscalls.list.
36721         (mmap): Likewise.
36722         (mprotect): Likewise.
36723         (msync): Likewise.
36724         (munmap): Likewise.
36725         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36726         * sysdeps/unix/mman/syscalls.list: Remove.
36727         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36728
36729         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36730         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36731         * configure: Regenerated.
36732         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36733         $(libgcc_s_suffix).
36734         * config.make.in (libgcc_s_suffix): Remove variable.
36735
36736 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36737
36738         * sysdeps/unix/sysv/gethostname.c: Move to ...
36739         * sysdeps/posix/gethostname.c: ... here.
36740
36741         * sysdeps/unix/execve.S: Remove file.
36742
36743         * sysdeps/unix/_exit.S: Remove file.
36744
36745 2012-04-23  Andreas Jaeger  <aj@suse.de>
36746
36747         [BZ #13739]
36748         * manual/Makefile: Remove make dist support, there's no
36749         need for a stand-alone documentation tar ball.
36750         (TEXI2DVI): Define always, it's not in Makeconfig.
36751         (dist): Removed.
36752         (tar-it): Removed.
36753         (edition): Removed.
36754         (glibc-doc-$(edition).tar): Removed
36755         (%.Z): Removed.
36756         (%.gz): Removed.
36757         (%.uu): Removed.
36758         (ETAGS): Remove, it's in Makeconfig.
36759         (move-if-change): Remove, it's in Makeconfig.
36760
36761 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36762
36763         [BZ #13970]
36764         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36765         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36766         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36767         (strtod_l, strtof_l, strtold_l): Remove __wur.
36768         It is not necessarily an error to ignore strtol's return value.
36769         One can reliably look at the stored endptr to decide whether
36770         the number had valid syntax.
36771
36772 2012-04-21  Andreas Jaeger  <aj@suse.de>
36773
36774         [BZ #13739]
36775         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36776
36777 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36778
36779         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36780         * sysdeps/unix/sysv/Versions: Remove file.
36781
36782 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36783
36784         [BZ #13927]
36785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36786
36787 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36788
36789         [BZ #7064]
36790         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36791         version from __vm86.
36792
36793 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36794
36795         * sysdeps/unix/common/lxstat.c: Remove file.
36796         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36797
36798         * sysdeps/unix/sysv/Makefile: Remove file.
36799
36800         * sysdeps/unix/sysv/direct.h: Remove file.
36801
36802         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36803         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36804         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36805         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36806         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36807         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36808         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36809
36810         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36811
36812         * sysdeps/unix/xmknod.c: Remove file.
36813         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36814
36815         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36816
36817         * sysdeps/unix/sysv/i386/time.S: Remove file.
36818
36819         * sysdeps/unix/fxstat.c: Remove file.
36820         * sysdeps/unix/xstat.c: Likewise.
36821         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36822
36823         * sysdeps/unix/sysv/sigaction.c: Remove file.
36824
36825         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36826         (sysdep_headers): Remove variable.
36827         [termio.h not in sysdep_headers] (generated): Likewise.
36828         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36829         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36830         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36831         * sysdeps/unix/sysv/tcflow.c: Likewise.
36832         * sysdeps/unix/sysv/tcflush.c: Likewise.
36833         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36834         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36835         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36836         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36837         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36838
36839         * sysdeps/unix/siglist.c: Remove file.
36840
36841         * sysdeps/unix/getppid.S: Remove file.
36842
36843         * sysdeps/unix/mkdir.c: Remove file.
36844         * sysdeps/unix/rmdir.c: Likewise.
36845
36846 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36847
36848         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36849         ERR_MAX value.
36850         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36851         errlist-compat value.
36852
36853 2012-04-18  David S. Miller  <davem@davemloft.net>
36854
36855         * sysdeps/generic/memcopy.h (reg_char): Delete.
36856         * debug/strcat_chk.c: Use char, not reg_char.
36857         * debug/strcpy_chk.c: Likewise.
36858         * debug/strncat_chk.c: Likewise.
36859         * debug/strncpy_chk.c: Likewise.
36860         * string/memchr.c: Likewise.
36861         * string/memrchr.c: Likewise.
36862         * string/rawmemchr.c: Likewise.
36863         * string/strcat.c: Likewise.
36864         * string/strchr.c: Likewise.
36865         * string/strchrnul.c: Likewise.
36866         * string/strcmp.c: Likewise.
36867         * string/strcpy.c: Likewise.
36868         * string/strncat.c: Likewise.
36869         * string/strncmp.c: Likewise.
36870         * string/strncpy.c: Likewise.
36871
36872 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36873
36874         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36875         __builtin_memcopy is called when src and dest ranges are known to not
36876         overlap.
36877
36878 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36879
36880         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36881         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36882         fwd_align_merge macro call.
36883         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36884         bwd_align_merge macro call.
36885         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36886
36887 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36888
36889         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36890         bwd_align_merge macros.
36891         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36892         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36893         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36894
36895 2012-04-18  David S. Miller  <davem@davemloft.net>
36896
36897         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36898
36899 2012-04-18  Andreas Jaeger  <aj@suse.de>
36900
36901         [BZ# 6794]
36902         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36903         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36904         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36905
36906         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36907         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36908         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36909
36910         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36911         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36912         Adjust for changed ldbl-128 files.
36913
36914         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36915         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36916         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36917
36918 2012-04-17  David S. Miller  <davem@davemloft.net>
36919
36920         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36921
36922 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36923
36924         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36925         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36926         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36927         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36928         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36929         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36930
36931 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36932
36933         [BZ #6794]
36934         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36935         * math/libm-test.inc: Add ilogb errno and exception tests.
36936         * math/w_ilogb.c: New file: ilogb wrapper.
36937         * math/w_ilogbf.c: New file: ilogbf wrapper.
36938         * math/w_ilogbl.c: New file: ilogbl wrapper.
36939         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36940         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36941         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36942         exception being thrown with 0.0 as argument.
36943         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36944         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36945         exception being thrown with 0.0 as argument.
36946         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36947         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36948         exception being thrown with 0.0 as argument.
36949         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36950         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36951         exception being thrown with 0.0 as argument.
36952         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36953         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36954         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36955         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36956         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36957         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36958         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36959         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36960         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36961
36962 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36963
36964         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36965         with altivec.
36966
36967 2012-04-16  Marek Polacek  <polacek@redhat.com>
36968
36969         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36970
36971 2012-04-16  Marek Polacek  <polacek@redhat.com>
36972
36973         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36974         operands of fdivp instruction.
36975
36976 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36977
36978         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36979         * elf/tst-auditmod3b.c: Likewise.
36980         * elf/tst-auditmod4b.c: Likewise.
36981         * elf/tst-auditmod5b.c: Likewise.
36982         * elf/tst-auditmod6b.c: Likewise.
36983         * elf/tst-auditmod6c.c: Likewise.
36984         * elf/tst-auditmod7b.c: Likewise.
36985         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36986         * sysdeps/x86_64/preconfigure.in: Likewise.
36987         * sysdeps/x86_64/preconfigure: Regenerated.
36988
36989 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36990
36991         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36992         __ILP32__.
36993
36994 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36995
36996         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36997         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36998
36999 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37000
37001         [BZ #13973]
37002         * locale/iso-639.def: Fix gl language name. Spotted by
37003         Yaron Shahrabani.
37004
37005 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37006
37007         [BZ #2074]
37008         * libio/libio.h (__io_write_fn): Update comment.
37009
37010 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37011
37012         [BZ #2074]
37013         * stdio.texi (Hook Functions): The user provided writer function
37014         is not allowed to return -1.
37015
37016 2012-04-11  David S. Miller  <davem@davemloft.net>
37017
37018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37019
37020 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37021
37022         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37023         Add a leading slash to rtkaio.
37024
37025 2012-04-11  Jim Meyering  <meyering@redhat.com>
37026
37027         [BZ #11959]
37028         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37029         It is not necessarily an error to ignore fwrite's return
37030         value.  One can reliably use ferror to test for errors after
37031         the fact.
37032
37033 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37034
37035         * bits/types.h (__snseconds_t): New type.
37036         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37037
37038         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37039         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37040         (__SNSECONDS_T_TYPE): Likewise.
37041         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37042         (__SNSECONDS_T_TYPE): Likewise.
37043         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37044         (__SNSECONDS_T_TYPE): Likewise.
37045
37046 2012-04-10  Andreas Jaeger  <aj@suse.de>
37047
37048         [BZ #2636]
37049         * manual/time.texi (Processor Time): Return type of times is
37050         elapsed real time since an arbitrary point in the past.
37051         (CPU Time): Move CLK_TCK from here...
37052         (Processor Time): ...to here.  Correct description.
37053         * manual/conf.texi (Constants for Sysconf): Correct description of
37054         _SC_CLK_TCK.
37055
37056 2012-04-10  David S. Miller  <davem@davemloft.net>
37057
37058         [BZ #13967]
37059         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37060         where the is a gap between DT_REL(A) and DT_JMPREL.
37061
37062 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37063
37064         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37065         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37066         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37067
37068 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37069
37070         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37071         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37072         (dl_main): Handle --inhibit-cache.
37073         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37074         _dl_inhibit_cache.
37075         * elf/dl-load.c (_dl_map_object): Use it.
37076         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37077
37078 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37079
37080         [BZ #13872]
37081         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37082         (__ieee754_powl): Saturate large exponents rather than testing for
37083         overflow of y*log2(x).
37084         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37085         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37086         exceptions.
37087
37088         [BZ #11521]
37089         * math/s_ctan.c: Include <float.h>.
37090         (__ctan): Avoid internal overflow or cancellation in calculating
37091         denominator.
37092         * math/s_ctanf.c: Likewise.
37093         * math/s_ctanl.c: Likewise.
37094         * math/s_ctanh.c: Likewise.
37095         * math/s_ctanhf.c: Likewise.
37096         * math/s_ctanhl.c: Likewise.
37097         * math/libm-test.inc (ctan_test): Add more tests.
37098         (ctanh_test): Likewise.
37099         * sysdeps/i386/fpu/libm-test-ulps: Update.
37100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37101
37102 2012-04-09  Andreas Jaeger  <aj@suse.de>
37103
37104         [BZ #6894]
37105         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37106         is an optional BSD extension.
37107
37108         [BZ #10254]
37109         * manual/stdio.texi (Opening Streams): Document additional fopen
37110         parameters.
37111
37112 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37113
37114         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37115         %eax without telling the compiler.
37116
37117 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37118
37119         [BZ # 13963]
37120         * manual/install.texi: Use sourceware.org.
37121
37122 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37123
37124         [BZ #13873]
37125         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37126         (__ieee754_pow): Generate overflow and underflow using huge*huge
37127         and tiny*tiny rather than just returning constant infinity or zero
37128         for large exponents.
37129         * math/libm-test.inc (pow_test): Require overflow exceptions for
37130         applicable cases of large exponents.
37131
37132         [BZ #706]
37133         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37134         (__ieee754_pow): Use iterative multiplication algorithm only for
37135         integer exponents with absolute value below 1024.  Check for odd
37136         integer exponents when using algorithm for real exponents.
37137         * math/libm-test.inc (pow_test): Add more tests.
37138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37139
37140 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37141
37142         [BZ #13705]
37143         * math/libm-test.inc (exp_test): Do not allow overflow exception
37144         on underflow test.
37145
37146 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37147
37148         [BZ #13705]
37149         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37150         instead of __kernel_standard_f.
37151
37152 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37153
37154         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37155         * sysdeps/x86_64/memset_chk.S: Likewise.
37156
37157 2012-04-08  Andreas Jaeger  <aj@suse.de>
37158
37159         [BZ #10153]
37160         * manual/startup.texi (Environment Access): Describe return value
37161         for putenv and setenv.
37162
37163         [BZ #6895]
37164         * manual/filesys.texi (Directory Entries): Add description for
37165         DT_LNK.
37166
37167         [BZ #6890]
37168         * manual/filesys.texi (Directory Entries): Clarify that it's file
37169         system not operating system in the description of DT_UNKNOWN.
37170
37171         [BZ #6578]
37172         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37173
37174 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37175
37176         [BZ #6649]
37177         * manual/llio.texi (Opening and Closing Files): Add cross
37178         reference to explain mode argument.
37179
37180 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37181
37182         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37183         * sysdeps/x86_64/memset_chk.S: Likewise.
37184
37185 2012-04-07  David S. Miller  <davem@davemloft.net>
37186
37187         * elf/elf.h (R_SPARC_WDISP10): Define.
37188         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37189         R_SPARC_SIZE32.
37190         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37191         R_SPARC_SIZE64 and R_SPARC_H34.
37192
37193 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37194
37195         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37196         conditions and remove no longer applicable assertion.
37197
37198 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37199
37200         * bits/byteswap.h: Include <features.h>.
37201         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37202         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37203
37204 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37205
37206         * bits/byteswap.h (__bswap_16): Removed.
37207         Include <bits/byteswap-16.h> to get __bswap_16.
37208         * sysdeps/i386/bits/byteswap.h: Likewise.
37209         * sysdeps/s390/bits/byteswap.h: Likewise.
37210         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37211         * bits/byteswap-16.h: New file.
37212         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37213         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37214         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37215         * string/Makefile (headers): Add bits/byteswap-16.h.
37216
37217 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37218
37219         [BZ #13895]
37220         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37221         extra indirection.
37222         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37223         * nss/tst-nss-static.c: New.
37224
37225 2012-04-06  Robert Millan  <rmh@gnu.org>
37226
37227         [BZ #6486]
37228         * manual/llio.texi (File Position Primitive): lseek
37229         refers to WHENCE when it really means OFFSET.
37230
37231 2012-04-06  Andreas Jaeger  <aj@suse.de>
37232
37233         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37234         strncmp declarations.
37235
37236         * abilist/libc.abilist: Add __poll and __ppoll.
37237
37238 2012-04-05  David S. Miller  <davem@davemloft.net>
37239
37240         * scripts/check-local-headers.sh: Accept a host triplet in the
37241         path matched by the exclude regexp.
37242
37243         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37244         definition.
37245         * sysdeps/powerpc/powerpc32/dl-machine.h
37246         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37247         * sysdeps/s390/s390-32/dl-machine.h
37248         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37249         * sysdeps/sparc/sparc32/dl-machine.h
37250         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37251         * sysdeps/sparc/sparc64/dl-machine.h
37252         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37253
37254         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37255         lazy binding.
37256         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37257         undefined symbol errors.
37258
37259         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37260         DT_NEEDED entries.
37261
37262 2012-04-05  Michael Matz  <matz@suse.de>
37263
37264         [BZ #13592]
37265         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37266
37267 2012-04-05  Andreas Jaeger  <aj@suse.de>
37268
37269         [BZ #13908]
37270         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37271         comment.
37272
37273 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37274
37275         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37276         which ROUND is no valid rounding mode.
37277
37278 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37279
37280         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37281         read again.
37282         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37283
37284 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37285
37286         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37287         an exception using FPU order intentionally.
37288
37289 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37290
37291         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37292         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37293         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37294         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37295
37296 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37297
37298         [BZ #12340]
37299         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37300         EINVAL when BUFLEN is too smal.
37301
37302 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37303
37304         [BZ #13553]
37305         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37306         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37307
37308 2012-04-03  Andreas Jaeger  <aj@suse.de>
37309
37310         [BZ #13938]
37311         * manual/setjmp.texi (System V contexts): Fix sentence.
37312
37313         [BZ #13926]
37314         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37315         New macro for this case.
37316         [!__GNUC__] (__bswap_64): New inline function for this case.
37317         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37318         * bits/byteswap.h: Likewise.
37319         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37320         ull, guard with __GLIBC_HAVE_LONG_LONG.
37321
37322         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37323         __GLIBC_HAVE_LONG_LONG.
37324
37325         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37326         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37327
37328 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37329
37330         [BZ #13691]
37331         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37332         inptr and inend, rather than using last_ch.
37333
37334 2012-04-02  David S. Miller  <davem@davemloft.net>
37335
37336         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37337         * stdio-common/printf-parse.h (read_int): Change return type to
37338         'int', return -1 on INT_MAX overflow.
37339         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37340         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37341         overflows INT_MAX.  Check for overflow of in-format-string precision
37342         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37343         SIZE_MAX not INT_MAX for integer overflow test.
37344         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37345         skip the construct in the format string but do not record anything.
37346         * stdio-common/bug22.c: Adjust to test both width/prevision
37347         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37348         explicitly for proper errno values.
37349
37350 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37351
37352         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37353         CHAR_MAX.
37354         * string/test-strcmp.c [! WIDE]: Likewise.
37355         * time/tst-mktime2.c: Likewise for INT_MAX.
37356         * string/test-string.h: #include <sys/param.h> for MIN.
37357
37358         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37359         * sysdeps/i386/init-first.c (init): Likewise.
37360         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37361         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37362         * sysdeps/sh/init-first.c (init): Likewise.
37363
37364 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37365
37366         * po/ru.po: Update from translation team.
37367         * po/vi.po: Likewise.
37368
37369 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37370
37371         * resolv/nss_dns/dns-host.c: Merge copyright years.
37372
37373 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37374
37375         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37376         Optimize memcpy with prefetch if
37377         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37378         src, dst pointers have unequal 16 byte alignments.
37379
37380 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37381
37382         [BZ #13928]
37383         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37384         from a CNAME entry and return the minimum ttl for the query.
37385         (gaih_getanswer_slice): Likewise.
37386
37387 2012-03-30  Jeff Law  <law@redhat.com>
37388
37389         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37390         due to long keys.
37391         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37392         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37393
37394         * resolv/nss_dns/dns-host.c: Update copyright year.
37395
37396 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37397
37398         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37399         requests to save a system call.  Fix check that all bytes are sent.
37400
37401         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37402         comments for sendmmsg.
37403
37404 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37405
37406         [BZ #13691]
37407         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37408         with only 1 character between 0x0041 and 0x01b0.
37409         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37410         * wcsmbs/tst-mbsnrtowcs.c: New file.
37411
37412 2012-03-29  David S. Miller  <davem@davemloft.net>
37413
37414         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37415         small copies by hand.
37416
37417 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37418
37419         [BZ #13761]
37420         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37421         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37422         group memberships.
37423
37424 2012-03-28  David S. Miller  <davem@davemloft.net>
37425
37426         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37427         that branches into memcpy.
37428         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37429         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37430         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37431         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37432         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37433         bits.
37434         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37435         implementation too.
37436         * sysdeps/sparc/mempcpy.S: New file.
37437
37438         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37439         the IFUNC routine in the libc case.
37440         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37441
37442         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37443         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37444         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37445         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37446         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37447         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37448         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37449         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37450
37451         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37452         loop to 256 bytes instead of 64 bytes and fix test signedness.
37453
37454         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37455         * sysdeps/sparc/sparc32/Makefile: rather than here...
37456         * sysdeps/sparc/sparc64/Makefile: and here.
37457
37458 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37459
37460         * malloc/mallocbug.c: Avoid warnings about unused variables.
37461
37462 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37463
37464         [BZ #13760]
37465         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37466         in the right place. Discard and retry query if response is
37467         larger than input buffer size.
37468
37469 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37470
37471         [BZ #369]
37472         [BZ #2678]
37473         [BZ #3866]
37474         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37475         x for large integer exponent.
37476         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37477         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37478         sign of result as needed afterwards.
37479         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37480         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37481         result for underflowing pow the same as for overflow.
37482         (__kernel_standard_l): Handle powl overflow and underflow here
37483         rather than calling __kernel_standard.
37484         * math/libm-test.inc (pow_test): Add more tests.
37485
37486         [BZ #3868]
37487         [BZ #13879]
37488         [BZ #13910]
37489         [BZ #13911]
37490         [BZ #13912]
37491         [BZ #13913]
37492         [BZ #13915]
37493         [BZ #13916]
37494         [BZ #13917]
37495         [BZ #13918]
37496         [BZ #13919]
37497         [BZ #13920]
37498         [BZ #13921]
37499         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37500         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37501         (__kernel_standard_l): New function.
37502         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37503         __kernel_standard.
37504         * math/w_acosl.c (__acosl): Likewise.
37505         * math/w_asinl.c (__asinl): Likewise.
37506         * math/w_atan2l.c (__atan2l): Likewise.
37507         * math/w_atanhl.c (__atanhl): Likewise.
37508         * math/w_coshl.c (__coshl): Likewise.
37509         * math/w_exp10l.c (__exp10l): Likewise.
37510         * math/w_exp2l.c (__exp2l): Likewise.
37511         * math/w_fmodl.c (__fmodl): Likewise.
37512         * math/w_hypotl.c (__hypotl): Likewise.
37513         * math/w_j0l.c (__j0l, __y0l): Likewise.
37514         * math/w_j1l.c (__j1l, __y1l): Likewise.
37515         * math/w_jnl.c (__jnl, __ynl): Likewise.
37516         * math/w_lgammal.c (__lgammal): Likewise.
37517         * math/w_log10l.c (__log10l): Likewise.
37518         * math/w_log2l.c (__log2l): Likewise.
37519         * math/w_logl.c (__logl): Likewise.
37520         * math/w_powl.c (__powl): Likewise.
37521         * math/w_remainderl.c (__remainderl): Likewise.
37522         * math/w_scalbl.c (sysv_scalbl): Likewise.
37523         * math/w_sinhl.c (__sinhl): Likewise.
37524         * math/w_sqrtl.c (__sqrtl): Likewise.
37525         * math/w_tgammal.c (__tgammal): Likewise.
37526         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37527         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37528         * math/libm-test.inc (acos_test): Add more tests.
37529         (acosh_test): Likewise.
37530         (asin_test): Likewise.
37531         (atanh_test): Likewise.
37532         (exp_test): Likewise.
37533         (exp10_test): Likewise.
37534         (exp2_test): Likewise.
37535         (expm1_test): Likewise.
37536         (lgamma_test): Likewise.
37537         (log_test): Likewise.
37538         (log10_test): Likewise.
37539         (log1p_test): Likewise.
37540         (log2_test): Likewise.
37541         (pow_test): Do not allow some spurious overflow exceptions.
37542         (sqrt_test): Add more tests.
37543         (tgamma_test): Likewise.
37544         (y0_test): Likewise.
37545         (y1_test): Likewise.
37546         (yn_test): Likewise.
37547
37548 2012-03-27  Anton Blanchard  <anton@samba.org>
37549
37550         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37551         MAP_HUGETLB.
37552         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37553         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37554         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37555
37556 2012-03-27  David S. Miller  <davem@davemloft.net>
37557
37558         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37559
37560         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37561         have-as-vis3 check.
37562
37563 2012-03-27  Andreas Jaeger  <aj@suse.de>
37564
37565         * sysdeps/x86_64/elf/configure.in: Moved to ...
37566         * sysdeps/x86_64/configure.in: ... here.
37567         * sysdeps/x86_64/elf/start.S: Moved to ...
37568         * sysdeps/x86_64/start.S: ... here.
37569         * sysdeps/x86_64/elf/configure: Delete.
37570
37571         * sysdeps/x86_64/configure.in: Merge contents from
37572         sysdeps/i386/configure.in (without i686 check).
37573
37574         * sysdeps/i386/elf/Versions: Merge into ...
37575         * sysdeps/i386/Versions: ... this.
37576         * sysdeps/i386/elf/Versions: Delete file.
37577         * sysdeps/i386/elf/start.S: Moved to ...
37578         * sysdeps/i386/start.S: ...here.
37579         * sysdeps/i386/elf/configure.in: Merge into...
37580         * sysdeps/i386/configure.in: ...here.
37581         * sysdeps/i386/elf/configure.in: Delete file.
37582         * sysdeps/i386/elf/configure: Delete file.
37583
37584         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37585         * debug/backtracesyms.c: ... here.
37586         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37587         * debug/backtracesymsfd.c: ... here.
37588         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37589         * sysdeps/generic/ifunc-sel.h: ... here.
37590
37591         * sysdeps/unix/i386/start.c: Delete file.
37592         * sysdeps/unix/sparc/start.c: Delete file.
37593         * sysdeps/unix/start.c: Delete file.
37594
37595         * sysdeps/sh/elf/configure.in: Moved to ...
37596         * sysdeps/sh/configure.in: ... here.
37597         * sysdeps/sh/elf/start.S: Moved to ...
37598         * sysdeps/sh/start.S: ... here.
37599         * sysdeps/sh/elf/configure: Delete file.
37600
37601         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37602         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37603         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37604         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37605         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37606         * sysdeps/powerpc/powerpc64/start.S: here.
37607         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37608         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37609         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37610         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37611         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37612
37613         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37614         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37615         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37616         * sysdeps/powerpc/powerpc32/start.S: ... here.
37617         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37618         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37619         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37620
37621         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37622         * sysdeps/powerpc/ifunc-sel.h: ... here.
37623         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37624         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37625
37626         * sysdeps/sparc/elf/configure.in: Moved to ...
37627         * sysdeps/sparc/configure.in: ... here.
37628         * sysdeps/sparc/elf/configure: Delete file.
37629         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37630         * sysdeps/sparc/sparc32/start.S: ... here.
37631         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37632         * sysdeps/sparc/sparc64/start.S: ... here.
37633         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37634         * sysdeps/sparc/sparc32/Makefile: ... this.
37635         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37636         * sysdeps/sparc/sparc64/Makefile: ... this.
37637
37638         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37639         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37640         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37641         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37642         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37643         * sysdeps/s390/s390-32/setjmp.S: ... here.
37644         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37645         * sysdeps/s390/s390-32/configure.in: ... here.
37646         * sysdeps/s390/s390-32/elf/configure: Delete file.
37647         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37648         * sysdeps/s390/s390-32/start.S: ... here.
37649
37650         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37651         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37652         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37653         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37654         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37655         * sysdeps/s390/s390-64/setjmp.S: ... here.
37656         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37657         * sysdeps/s390/s390-64/configure.in: ... here
37658         * sysdeps/s390/s390-64/elf/configure: Delete file.
37659         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37660         * sysdeps/s390/s390-64/start.S: ... here.
37661         * sysdeps/s390/s390-64/elf/configure: Delete.
37662
37663         * configure.in: Remove support for elf directories in sysdeps.
37664
37665         * configure: Regenerated.
37666         * sysdeps/i386/configure: Regenerated.
37667         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37668         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37669         * sysdeps/s390/s390-32/configure: Regenerated.
37670         * sysdeps/s390/s390-64/configure: Regenerated.
37671         * sysdeps/sh/configure: Regenerated.
37672         * sysdeps/sparc/configure: Regenerated.
37673         * sysdeps/x86_64/configure: Regenerated.
37674
37675 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37676
37677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37678
37679         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37680         denormal result into account.
37681
37682 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37683
37684         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37685         Reported by Allan McRae <allan@archlinux.org>.
37686
37687 2012-03-23  Jeff Law  <law@redhat.com>
37688
37689         * nss/getnssent.c (__nss_getent): Fix typo.
37690
37691 2012-03-23  David S. Miller  <davem@davemloft.net>
37692
37693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37694
37695 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37696
37697         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37698         to pad to uint64_t for each field.
37699         (dl_tls_index): Replace unsigned long with uint64_t.
37700
37701 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37702         Paul Pluzhnikov  <ppluzhnikov@google.com>
37703
37704         [BZ #6528]
37705         * grp/Makefile (otherlibs): Don't set it.
37706         * inet/Makefile (otherlibs): Likewise.
37707         * login/Makefile (otherlibs): Likewise.
37708         * nscd/Makefile (otherlibs): Likewise.
37709         * posix/Makefile (otherlibs): Likewise.
37710         * pwd/Makefile (otherlibs): Likewise.
37711         * rt/Makefile (otherlibs): Likewise.
37712         * sunrpc/Makefile (otherlibs): Likewise.
37713         * nss/Makefile (otherlibs): Likewise.
37714         Add libnss_files to routines and static-only-routines.
37715         ($(objpfx)getent): Remove rule.
37716         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37717         static-only-routines.
37718
37719 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37720
37721         [BZ #13892]
37722         * math/s_cexp.c: Include <float.h>.
37723         (__cexp): Handle exp result overflowing not necessarily
37724         overflowing both real and imaginary parts of result.
37725         * math/s_cexpf.c: Likewise.
37726         * math/s_cexpl.c: Likewise.
37727         * math/libm-test.inc (cexp_test): Add more tests.
37728         * sysdeps/i386/fpu/libm-test-ulps: Update.
37729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37730
37731 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37732
37733         * include/link.h (ELFW): New macro.
37734         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37735         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37736
37737 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37738
37739         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37740         with uint64_t.
37741
37742 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37743
37744         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37745         declaration.
37746         (struct La_x32_retval): Likewise.
37747
37748 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37749
37750         * sysdeps/x86_64/preconfigure.in: New file.
37751         * sysdeps/x86_64/preconfigure: New generated file.
37752
37753 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37754
37755         [BZ #13824]
37756         * math/e_exp2l.c: Include <float.h>.
37757         (__ieee754_exp2l): Handle overflow and underflow cases
37758         separately.  Only pass fractional part of argument to
37759         __ieee754_expl.
37760         * math/libm-test.inc (exp2_test): Add more tests.
37761
37762         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37763         negating x to take absolute value.
37764         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37765         Likewise.
37766         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37767         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37768         Likewise.
37769         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37770         computing low part if x was negated.
37771         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37772
37773 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37774
37775         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37776         la_x32_gnu_pltexit.
37777         (pltexit): Cast int_retval to ptrdiff_t.
37778         * elf/tst-auditmod3b.c: Likewise.
37779         * elf/tst-auditmod4b.c: Likewise.
37780         * elf/tst-auditmod5b.c: Likewise.
37781         * elf/tst-auditmod6b.c: Likewise.
37782         * elf/tst-auditmod6c.c: Likewise.
37783         * elf/tst-auditmod7b.c: Likewise.
37784
37785         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37786         and x32_gnu_pltexit.
37787
37788         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37789         __ELF_NATIVE_CLASS.
37790         (La_x32_regs): New macro.
37791         (La_x32_retval): Likewise.
37792         (la_x32_gnu_pltenter): New function prototype.
37793         (la_x32_gnu_pltexit): Likewise.
37794
37795 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37796
37797         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37798         exponent.
37799
37800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37801
37802         * configure.in (libc_cv_cc_nofma): Check for option to disable
37803         generation of FMA instructions.
37804         * configure: Regenerate.
37805         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37806         * sysdeps/ieee754/dbl-64/Makefile: New file.
37807         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37808         Remove brandred-fma4.
37809         (CFLAGS-brandred-fma4.c): Remove.
37810         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37811         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37812         define.
37813         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37814         define.
37815
37816 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37817
37818         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37819         LLONG_MAX != LONG_MAX.
37820         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37821         (_fitoa_word): Likewise.
37822         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37823         LLONG_MAX != LONG_MAX.
37824         * stdio-common/_itowa.h: Include <_itoa.h>.
37825         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37826         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37827         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37828         only if not defined.
37829         (_ITOA_WORD_TYPE): Likewise.
37830         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37831         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37832
37833 2012-03-21  David S. Miller  <davem@davemloft.net>
37834
37835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37836
37837 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37838
37839         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37840         of x86_64 when setting libc_cv_slibdir, libdir and
37841         libc_cv_localedir.
37842         * sysdeps/unix/sysv/linux/configure: Regenerated.
37843
37844 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37845
37846         * manual/lang.texi (Old Varargs): Remove section.
37847         (How Variadic): Update menu.
37848         (va_start): Do not mention varargs.h.
37849
37850 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37851             Joseph Myers  <joseph@codesourcery.com>
37852
37853         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37854         link test.
37855         * configure: Regenerated.
37856
37857 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37858
37859         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37860         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37861         conformtest.pl
37862
37863 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37864
37865         * NOTES: Remove.
37866         * Makefile (files-for-dist): Remove NOTES.
37867         (NOTES): Remove rule.
37868         * README: Don't refer to NOTES.
37869         * manual/creature.texi: Don't include macros.texi.
37870         * manual/intro.texi (creature.texi): Remove comment referring to
37871         NOTES.
37872
37873         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37874         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37875         * configure: Regenerated.
37876         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37877         LIBC_TRY_CC_OPTION.
37878         (libc_cv_as_i686): Likewise.
37879         (libc_cv_cc_avx): Likewise.
37880         (libc_cv_cc_sse2avx): Likewise.
37881         (libc_cv_cc_fma4): Likewise.
37882         (libc_cv_cc_novzeroupper): Likewise.
37883         * sysdeps/i386/configure: Regenerated.
37884
37885         [BZ #13883]
37886         * sysdeps/i386/fpu/s_cexp.S: Remove.
37887         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37888         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37889         * math/libm-test.inc (cexp_test): Add more tests.
37890         * sysdeps/i386/fpu/libm-test-ulps: Update.
37891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37892
37893 2012-03-21  Allan McRae  <allan@archlinux.org>
37894
37895         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37896
37897 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37898
37899         [BZ #13871]
37900         * math/w_exp2.c: Do not include <float.h>.
37901         (o_threshold, u_threshold): Remove.
37902         (__exp2): Calculate result before checking finiteness and calling
37903         __kernel_standard.
37904         * math/w_exp2f.c: Likewise.
37905         * math/w_exp2l.c: Likewise.
37906         * math/libm-test.inc (exp2_test): Require overflow exception for
37907         1e6 input.
37908
37909         [BZ #3866]
37910         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37911         range of signed 64-bit integers before using fistpll.  Remove
37912         checks for whether integers fit in mantissa bits.
37913         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37914         the range of signed 32-bit integers before using fistpl.  Remove
37915         checks for whether integers fit in mantissa bits.
37916         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37917         (__ieee754_powl): Test for y outside the range of signed 64-bit
37918         integers before using fistpll.  Reduce 64-bit values to 63-bit
37919         ones as needed.
37920         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37921         divide-by-zero is raised for zero to large negative powers.
37922         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37923         (__ieee754_powl): Test for y outside the range of signed 64-bit
37924         integers before using fistpll.  Reduce 64-bit values to 63-bit
37925         ones as needed.
37926         * math/libm-test.inc (pow_test): Add more tests.
37927
37928 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37929
37930         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37931         <stdio-common/_itoa.h>.
37932         * debug/segfault.c: Likewise.
37933         * elf/dl-cache.c: Likewise.
37934         * elf/dl-minimal.c: Likewise.
37935         * elf/dl-misc.c: Likewise.
37936         * elf/dl-sysdep.c: Likewise.
37937         * elf/dl-version.c: Likewise.
37938         * elf/rtld.c: Likewise.
37939         * hurd/hurdsock.c: Likewise.
37940         * hurd/lookup-retry.c: Likewise.
37941         * malloc/malloc.c: Likewise.
37942         * malloc/mtrace.c: Likewise.
37943         * nscd/nscd_getgr_r.c: Likewise.
37944         * nscd/nscd_getpw_r.c: Likewise.
37945         * nscd/nscd_getserv_r.c: Likewise.
37946         * posix/getopt_init.c: Likewise.
37947         * posix/wordexp.c: Likewise.
37948         * stdio-common/_itoa.c: Likewise.
37949         * stdio-common/printf_fphex.c: Likewise.
37950         * stdio-common/vfprintf.c: Likewise.
37951         * string/_strerror.c: Likewise.
37952         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37953         * sysdeps/i386/i686/hp-timing.h: Likewise.
37954         * sysdeps/mach/_strerror.c: Likewise.
37955         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37956         * sysdeps/mach/hurd/sethostid.c: Likewise.
37957         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37958         * sysdeps/mach/xpg-strerror.c: Likewise.
37959         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37960         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37961         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37962         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37963         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37964         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37965         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37966         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37967         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37968         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37969         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37970         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37971         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37972         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37973         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37974         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37975         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37976         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37977         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37978         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37979         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37980
37981         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37982
37983         * stdio-common/_itoa.h: Moved to ...
37984         * sysdeps/generic/_itoa.h: Here.
37985
37986         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37987
37988         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37989         instead of "_itoa.h" and "_itowa.h".
37990         * stdio-common/vfprintf.: Likewise.
37991
37992 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37993
37994         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37995         <bits/wordsize.h>.
37996         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37997         (__signbit): Likwise.
37998         (llrintf): Likwise.
37999         (llrint): Likwise.
38000
38001 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38002
38003         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38004         __WORDSIZE != 64.
38005
38006 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38007
38008         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38009         OVERFLOW_EXCEPTION_OK.
38010         * math/libm-test.inc ("Philosophy"): Update comment about
38011         exception testing.
38012         (OVERFLOW_EXCEPTION): Define.
38013         (OVERFLOW_EXCEPTION_OK): Likewise.
38014         (INVALID_EXCEPTION_OK): Renumber.
38015         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38016         (IGNORE_ZERO_INF_SIGN): Likewise.
38017         (test_exceptions): Handle FE_OVERFLOW.
38018         (exp10_test): Expect overflow exceptions.
38019         (exp2_test): Likewise.
38020         (expm1_test): Likewise.
38021         (nextafter_test): Likewise.
38022         (pow_test): Likewise.
38023         (scalbn_test): Likewise.
38024         (scalbln_test): Likewise.
38025
38026 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38027
38028         * sysdeps/x86_64/bits/atomic.h
38029         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38030         64bit integer.
38031         (atomic_exchange_acq): Likewise.
38032         (__arch_exchange_and_add_body): Likewise.
38033         (__arch_add_body): Likewise.
38034         (atomic_add_negative): Likewise.
38035         (atomic_add_zero): Likewise.
38036
38037 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38038
38039         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38040         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38041
38042 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38043
38044         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38045         Check __x86_64__ instead of __WORDSIZE.
38046
38047 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38048
38049         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38050
38051 2012-03-19  David S. Miller  <davem@davemloft.net>
38052
38053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38054
38055         * sysdeps/sparc/fpu/fenv_private.h: New file.
38056         * sysdeps/sparc/fpu/math_private.h: Use it.
38057         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38058         Remove.
38059         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38060         (libc_feholdexcept_setroundl): Remove.
38061         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38062         Remove.
38063         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38064         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38065
38066 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38067
38068         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38069         int64_t instead of long int.
38070         (INSERT_WORDS64): Likwise.
38071
38072 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38073
38074         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38075         _Unwind_GetCFA return to _Unwind_Ptr first.
38076
38077 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38078
38079         [BZ #13629]
38080         * math/s_clog.c: Include <float.h>.
38081         (__clog): Scale large or subnormal inputs.
38082         * math/s_clogf.c: Likewise.
38083         * math/s_clogl.c: Likewise.
38084         * math/s_clog10.c: Include <float.h>.
38085         (M_LOG10_2): Define.
38086         (__clog10): Scale large or subnormal inputs.
38087         * math/s_clog10f.c: Likewise.
38088         * math/s_clog10l.c: Likewise.
38089         * math/libm-test.inc (clog_test): Add more tests.
38090         (clog10_test): Likewise.
38091         * sysdeps/i386/fpu/libm-test-ulps: Update.
38092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38093
38094         [BZ #11451]
38095         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38096         x and y.
38097         * math/libm-test.inc (atan2_test): Add another test.
38098
38099         * Makerules (common-objdir-compile): Remove.
38100         * sysdeps/unix/Makefile (config-generated): Do not add
38101         $(unix-generated) to variable.
38102         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38103         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38104         Remove rule.
38105         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38106         Likewise.
38107         [generic bits/local_lim.h] (before-compile): Do not append to
38108         variable.
38109         [generic bits/local_lim.h] (common-generated): Likewise.
38110         [generic sys/param.h] (before-compile): Do not append to variable.
38111         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38112         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38113         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38114         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38115         include.
38116         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38117         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38118         [generic sys/param.h] ($(addprefix
38119         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38120         [generic sys/param.h] (common-generated): Do not append to
38121         variable.
38122         [generic sys/param.h] (sysdep_headers): Likewise.
38123         [generic bits/errno.h] (before-compile): Do not append to
38124         variable.
38125         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38126         rule.
38127         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38128         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38129         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38130         [generic bits/errno.h] (common-generated): Do not append to
38131         variable.
38132         [generic bits/ioctls.h] (before-compile): Do not append to
38133         variable.
38134         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38135         rule.
38136         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38137         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38138         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38139         rule.
38140         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38141         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38142         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38143         [generic bits/ioctls.h] (common-generated): Do not append to
38144         variable.
38145         [generic sys/syscall.h] (syscall.h): Remove variable.
38146         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38147         rule.
38148         [generic sys/syscall.h] (before-compile): Do not append to
38149         variable.
38150         [generic sys/syscall.h] (common-generated): Likewise.
38151         * sysdeps/unix/errnos-tmpl.c: Remove file.
38152         * sysdeps/unix/errnos.awk: Likewise.
38153         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38154         * sysdeps/unix/ioctls.awk: Likewise.
38155         * sysdeps/unix/mk-local_lim.c: Likewise.
38156         * sysdeps/unix/snarf-ioctls: Likewise.
38157
38158 2012-03-19  Richard Henderson  <rth@twiddle.net>
38159
38160         * sysdeps/i386/fpu/fenv_private.h: New file.
38161         * sysdeps/i386/fpu/math_private.h: Use it.
38162         (math_opt_barrier, math_force_eval): Remove.
38163         (libc_feholdexcept_setround_53bit): Remove.
38164         (libc_feupdateenv_53bit): Remove.
38165         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38166         (math_opt_barrier, math_force_eval): Remove.
38167         (libc_feholdexcept): Remove.
38168         (libc_feholdexcept_setround): Remove.
38169         (libc_fetestexcept, libc_fesetenv): Remove.
38170         (libc_feupdateenv_test): Remove.
38171         (libc_feupdateenv, libc_feholdsetround): Remove.
38172         (libc_feresetround): Remove.
38173
38174         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38175         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38176
38177         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38178         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38179         (libc_feupdateenv_testl): New.
38180         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38181         (libc_feupdateenv_testf): New.
38182         (libc_feupdateenv): Use libc_feupdateenv_test.
38183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38184         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38185
38186         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38187         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38188         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38189         (libc_feresetround_noex): New.
38190         (libc_feresetround_noexf): New.
38191         (libc_feresetround_noexl): New.
38192         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38193         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38194         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38195         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38196         SET_RESTORE_ROUND.
38197         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38198         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38199         (__cos): Likewise.
38200         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38201         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38202         SET_RESTORE_ROUND_NOEX.
38203         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38204         SET_RESTORE_ROUND_NOEXF.
38205         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38206         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38207         (libc_feholdsetroundf): New.
38208         (libc_feresetround, libc_feresetroundf): New.
38209
38210         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38211         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38212         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38213
38214         * sysdeps/generic/math_private.h: Include <fenv.h>.
38215         (default_libc_feholdexcept): New.
38216         (default_libc_feholdexcept_setround): New.
38217         (default_libc_fesetenv, default_libc_feupdateenv): New.
38218         (libc_feholdexcept): Only define if undefined.
38219         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38220         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38221         (libc_feholdexcept_setroundl): Likewise.
38222         (libc_feholdexcept_setround_53bit): Likewise.
38223         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38224         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38225         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38226         (libc_feupdateenv_53bit): Likewise.
38227         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38228         (libc_feholdexcept): Convert from macro to inline function.
38229         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38230         (libc_fesetenv, libc_feupdateenv): Likewise.
38231
38232         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38233         not previously defined.
38234         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38235         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38236         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38237         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38238         * sysdeps/ieee754/flt-32/math_private.h: New file.
38239         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38240         math_private.h below SET_FLOAT_WORD.
38241         (__isnan, __isinf_ns, __finite): Remove.
38242         (__isnanf, __isinf_nsf, __finitef): Remove.
38243
38244 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38245
38246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38247
38248 2012-03-17  David S. Miller  <davem@davemloft.net>
38249
38250         [BZ #6471]
38251         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38252         for 2.16.
38253
38254 2012-03-16  David S. Miller  <davem@davemloft.net>
38255
38256         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38257         warnings.
38258
38259         [BZ #6471]
38260         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38261         properly.
38262         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38263         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38264         sysdep_routines when subdir is sysvipc.
38265         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38266         __getshmlba helper.
38267
38268         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38269
38270 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38271
38272         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38273         [__LP64__].
38274
38275 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38276
38277         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38278         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38279         (__lround): Renamed to ...
38280         (__llround): This.  Replace long int with long long int.
38281         Define lround functions as aliases of llround functions.
38282         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38283
38284 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38285
38286         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38287         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38288         adresses to uintptr_t.  Replace "long int" and "unsigned long
38289         int" with "greg_t" on va_arg.
38290
38291 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38292
38293         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38294         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38295
38296         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38297         Move e_machine check before EI_CLASS check.  Handle x32
38298         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38299         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38300         SKIP_EM_IA_64 and include
38301         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38302
38303         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38304         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38305         (add_system_dir): New macro.
38306
38307         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38308         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38309
38310 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38311
38312         [BZ #2551]
38313         [BZ #2552]
38314         [BZ #2553]
38315         [BZ #2554]
38316         [BZ #2562]
38317         [BZ #2563]
38318         [BZ #2565]
38319         [BZ #2566]
38320         [BZ #2576]
38321         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38322         (y0): Likewise.
38323         * math/w_j0f.c (j0f): Likewise.
38324         (y0f): Likewise.
38325         * math/w_j0l.c (__j0l): Likewise.
38326         (__y0l): Likewise.
38327         * math/w_j1.c (j1): Likewise.
38328         (y1): Likewise.
38329         * math/w_j1f.c (j1f): Likewise.
38330         (y1f): Likewise.
38331         * math/w_j1l.c (__j1l): Likewise.
38332         (__y1l): Likewise.
38333         * math/w_jn.c (jn): Likewise.
38334         (yn): Likewise.
38335         * math/w_jnf.c (jnf): Likewise.
38336         (ynf): Likewise.
38337         * math/w_jnl.c (__jnl): Likewise.
38338         (__ynl): Likewise.
38339         * math/libm-test.inc (j0_test): Add more tests.
38340         (j1_test): Likewise.
38341         (jn_test): Likewise.  Add trailing semicolon to existing test.
38342         (y0_test): Likewise.
38343         (y1_test): Likewise.
38344         * sysdeps/i386/fpu/libm-test-ulps: Update.
38345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38346
38347         [BZ #13851]
38348         [BZ #13854]
38349         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38350         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38351         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38352         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38353         (__tanl): Set errno for infinite argument.
38354         * sysdeps/i386/fpu/mptan.c: Remove.
38355         * sysdeps/i386/fpu/s_tan.S: Likewise.
38356         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38357         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38358         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38359         * math/libm-test.inc (tan_test): Add more tests and enable more
38360         tests for double and long double.
38361         * sysdeps/i386/fpu/libm-test-ulps: Update.
38362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38363
38364 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38365
38366         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38367         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38368
38369 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38370
38371         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38372         * configure.in: Use it for both main tree and add-ons.
38373         * configure: Regenerated.
38374
38375 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38376
38377         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38378
38379 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38380
38381         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38382         in comment.
38383
38384         [BZ #13851]
38385         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38386         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38387         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38388         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38389         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38390         infinite argument.
38391         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38392         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38393         != 0 for prec == 2.
38394         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38395         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38396         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38397         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38398         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38399         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38400         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38401         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38402         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38403         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38404         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38405         * math/libm-test.inc (cos_test): Add more tests and enable more
38406         tests for long double.
38407         (sin_test): Likewise.
38408         (sincos_test): Likewise.
38409         * sysdeps/i386/fpu/libm-test-ulps: Update.
38410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38411
38412 2012-03-16  David S. Miller  <davem@davemloft.net>
38413
38414         * sysdeps/sparc/fpu/math_private.h: New file.
38415
38416 2012-03-15  David S. Miller  <davem@davemloft.net>
38417
38418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38419         file.
38420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38422         file.
38423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38424         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38428         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38429         sysdep routines.
38430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38431
38432         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38433         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38434
38435         * sysdeps/sparc/sparc-ifunc.h: New file.
38436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38437         sparc-ifunc.h
38438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38440         Likewise.
38441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38442         Likewise.
38443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38447         Likewise.
38448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38453         Likewise.
38454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38455         Likewise.
38456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38460         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38462         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38463         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38468         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38469         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38474         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38475         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38476         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38477         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38478         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38479         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38480
38481 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38482
38483         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38484         scaling.
38485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38486
38487 2012-03-15  Andreas Jaeger  <aj@suse.de>
38488
38489         [BZ #13852]
38490         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38491         ieee754/flt-32 implementation for sin, cos and sincos.
38492         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38493         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38494         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38495         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38496         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38497         ieee754/flt-32 implementation for tan.
38498
38499         * math/libm-test.inc (cos_test): Enable some large input tests for
38500         float as well
38501         (sin_test): Likewise.
38502         (sincos_test): Likewise.
38503         (tan_test): Add tests for large input.
38504
38505         * sysdeps/i386/fpu/libm-test-ulps: Update.
38506
38507 2012-03-15  Andreas Jaeger  <aj@suse.de>
38508
38509         [BZ #13658]
38510         * math/libm-test.inc (cos_test): Add more test cases.
38511         (sin_test): Likewise.
38512         (sincos_test): Likewise.
38513
38514 2012-03-15  Andreas Jaeger  <aj@suse.de>
38515
38516         [BZ #13837]
38517         * math/libm-test.inc (cos_test): Add a test case for large input
38518         value.
38519         (sin_test): Likewise.
38520         (sincos_test): Likewise.
38521
38522 2012-03-15  Andreas Jaeger  <aj@suse.de>
38523             Joseph Myers  <joseph@codesourcery.com>
38524
38525         [BZ #13658]
38526         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38527         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38528         * sysdeps/i386/fpu/branred.c: Likewise.
38529         * sysdeps/i386/fpu/dosincos.c: Likewise.
38530         * sysdeps/i386/fpu/mpa.c: Likewise.
38531         * sysdeps/i386/fpu/s_cos.S: Likewise.
38532         * sysdeps/i386/fpu/s_sin.S: Likewise.
38533         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38534         * sysdeps/i386/fpu/sincos32.c: Likewise.
38535
38536         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38537         Define.
38538         (libc_feupdateenv_53bit): Define.
38539         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38540         Define.
38541         (libc_feupdateenv_53bit): Define.
38542
38543         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38544         53 bit (without extend i386 double precision).
38545
38546         * math/libm-test.inc (sincos_test): Add tests for large input.
38547         (sin): Likewise.
38548         (cos): Likewise.
38549
38550         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38551
38552 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38553
38554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38555
38556 2012-03-15  David S. Miller  <davem@davemloft.net>
38557
38558         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38559         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38560         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38561         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38571         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38574         file.
38575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38577         file.
38578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38580         file.
38581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38583         file.
38584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38585         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38586         fmin/fmax sysdep routines.
38587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38588
38589 2012-03-14  David S. Miller  <davem@davemloft.net>
38590
38591         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38592         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38595         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38596         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38597         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38598         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38599         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38600         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38601         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38602         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38603         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38604         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38607         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38608         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38610         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38611         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38612         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38613         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38614         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38615         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38616         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38617         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38618         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38619         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38620         routines.
38621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38622         file.
38623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38625         file.
38626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38628         file.
38629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38631         file.
38632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38634         file.
38635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38637         file.
38638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38639         file.
38640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38641         file.
38642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38643         file.
38644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38645         New file.
38646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38647         file.
38648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38649         file.
38650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38652         file.
38653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38655         file.
38656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38658         file.
38659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38661         VIS3 routines.
38662
38663         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38664         New file.
38665
38666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38667
38668         * sysdeps/sparc/configure.in: New file.
38669         * sysdeps/sparc/configure: Generate.
38670         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38671         * configure: Regenerate.
38672         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38673         * config.make.in (have-as-vis3): New.
38674         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38675         available use -Av9d instead of -Av9a.
38676         * sysdeps/sparc/sparc64/Makefile: Likewise.
38677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38679         New file.
38680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38681         file.
38682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38683         New file.
38684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38685         file.
38686         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38687         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38688         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38689         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38690         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38691
38692         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38693         fzeros/fnegs to load 0x80000000 into a float register instead of
38694         using the stack.
38695         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38696
38697 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38698
38699         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38700         bits/syscall.h.
38701         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38702         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38703         ($(inst_includedir)/bits/syscall.h): Remove rule.
38704         ($(objpfx)bits/syscall.d): Include instead of
38705         $(objpfx)syscall-list.d.
38706         (generated): Change syscall-list.h and syscall-list.d to
38707         bits/syscall.h and bits/syscall.d.
38708
38709 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38710
38711         [BZ #13846]
38712         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38713
38714 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38715
38716         [BZ #13841]
38717         * math/s_csqrt.c: Include <float.h>.
38718         (__csqrt): Scale large or subnormal inputs.
38719         * math/s_csqrtf.c: Likewise.
38720         * math/s_csqrtl.c: Likewise.
38721         * math/libm-test.inc (csqrt_test): Add more tests.
38722         * sysdeps/i386/fpu/libm-test-ulps: Update.
38723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38724
38725         [BZ #13840]
38726         * math/libm-test.inc (hypot_test): Add more tests.
38727
38728 2012-03-13  David S. Miller  <davem@davemloft.net>
38729
38730         [BZ #13840]
38731         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38732         double-precision for the calculation instead of scaling.
38733
38734 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38735
38736         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38737         manipulate bits before adding and subtracting TWO52[sx].
38738         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38739         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38740         Likewise.
38741         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38742
38743 2012-03-13  David S. Miller  <davem@davemloft.net>
38744
38745         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38746         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38747         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38748         rtld-global-offsets.h
38749         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38750
38751         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38752         large parameters.
38753
38754         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38755
38756         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38757         'err' in the ifdef scope in which it is actually used.
38758
38759         * nss/nss_db/db-init.c: Include string.h
38760
38761 2012-03-12  David S. Miller  <davem@davemloft.net>
38762
38763         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38764         masking out of the most significant byte of random value used.
38765         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38766         Fix coding style in previous change.
38767
38768         * sysdeps/unix/sysv/linux/kernel-features.h
38769         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38770         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38771         expression.
38772         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38773         later.
38774
38775 2012-03-11  David S. Miller  <davem@davemloft.net>
38776
38777         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38778         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38779         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38780         for 'resultvar' otherwise things get truncated on 64-bit.
38781
38782         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38783         Fix masking out of the most significant byte of random value used.
38784
38785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38786
38787 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38788
38789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38790
38791 2012-03-09  David S. Miller  <davem@davemloft.net>
38792
38793         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38794         variables with appropriate CPP guards.
38795         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38796         from the frame pointer, not the stack pointer.  Correct layout
38797         comments.  Fix test on resulting framesize and the management of
38798         the outregs buffer for pltexit.  Preserve floating point return
38799         values across _dl_call_pltexit call.
38800         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38801         framesize and the management of the outregs buffer for pltexit.
38802         Preserve floating point return values across _dl_call_pltexit
38803         call.
38804         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38805         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38806         (la_sparc64_gnu_pltexit): New functions.
38807         (print_exit): Fix format string for return register value.
38808
38809 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38810
38811         * sunrpc/Makefile (others): Add rpcgen.
38812         ($(objpfx)rpcgen): Remove special build rule and dependency on
38813         libc.
38814         * sunrpc/rpcgen.c: New file.
38815
38816 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38817
38818         [BZ #13673]
38819         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38820         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38821         * sysdeps/i386/crti.S: Likewise.
38822         * sysdeps/i386/crtn.S: Likewise.
38823         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38824         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38825         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38826         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38827         * sysdeps/sh/crti.S: Likewise.
38828         * sysdeps/sh/crtn.S: Likewise.
38829         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38830
38831         [BZ #13673]
38832         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38833         with URL.
38834         * locale/programs/locfile-kw.gperf: Likewise.
38835         * locale/programs/charmap-kw.h: Regenerated.
38836         * locale/programs/locfile-kw.h: Likewise.
38837
38838         [BZ #13673]
38839         * intl/plural.y: Replace FSF snail mail address with URL.
38840         * intl/plural.c: Regenerated.
38841
38842 2012-03-09  Richard Henderson  <rth@twiddle.net>
38843
38844         * include/math_private.h: Remove file.
38845         * math/math_private.h: Move file ...
38846         * sysdeps/generic/math_private.h: ... here.
38847
38848         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38849         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38850         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38851
38852         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38853         and <math_private.h>.
38854         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38855         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38856         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38857         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38858         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38859         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38860         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38861         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38862         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38863         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38864         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38865         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38866         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38867         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38868         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38869         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38870         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38871         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38872         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38873         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38874         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38875         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38876         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38877         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38878         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38879         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38880         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38881         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38882         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38883         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38884         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38885         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38886         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38887         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38888         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38889         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38890         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38891         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38892         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38893         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38894         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38895         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38896         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38897         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38898         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38899         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38900         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38901         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38902         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38903         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38904         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38905         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38906         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38907         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38908         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38909         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38910         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38911         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38912         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38913         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38914         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38915         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38916         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38917         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38918         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38919         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38920         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38921         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38922         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38923         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38924         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38925         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38926         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38927         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38928         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38929         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38930         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38931         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38932         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38933         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38934         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38935         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38936         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38937         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38938         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38939         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38940         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38941         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38942         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38943         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38944         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38945         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38946         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38947         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38948         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38949         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38950         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38951         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38952         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38953         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38954         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38955         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38956         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38957         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38958         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38959         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38960         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38961         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38962         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38963         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38964         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38965         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38966         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38967         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38968         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38969         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38970         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38971         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38972         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38973         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38974         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38975         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38976         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38977         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38978         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38979         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38980         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38981         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38982         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38983         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38984         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38985         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38986         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38987         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38988         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38989         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38990         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38991         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38992         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38993         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38994         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38995         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38996         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38997         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38998         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38999         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39000         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39001         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39002         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39003         * sysdeps/ieee754/k_standard.c: Likewise.
39004         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39005         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39006         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39007         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39008         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39009         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39010         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39011         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39012         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39013         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39014         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39015         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39016         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39017         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39018         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39019         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39020         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39021         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39022         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39023         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39024         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39025         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39026         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39028         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39029         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39030         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39031         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39032         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39033         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39034         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39035         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39036         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39037         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39038         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39039         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39040         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39041         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39042         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39043         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39044         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39045         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39046         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39047         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39048         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39049         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39050         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39052         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39053         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39054         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39055         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39056         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39057         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39058         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39059         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39060         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39061         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39062         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39063         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39064         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39065         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39066         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39067         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39068         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39069         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39070         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39071         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39072         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39073         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39074         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39075         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39076         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39077         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39078         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39079         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39080         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39081         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39082         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39083         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39084         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39085         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39086         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39087         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39088         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39089         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39090         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39091         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39092         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39093         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39094         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39095         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39096         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39097         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39098         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39099         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39100         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39101         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39102         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39103         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39104         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39105         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39106         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39107         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39108         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39109         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39110         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39111         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39112         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39113         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39114         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39115         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39116         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39117         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39118         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39119         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39120         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39121         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39122         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39123         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39124         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39125         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39126         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39127         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39128         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39129         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39130         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39131         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39132         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39133         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39134         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39135         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39136         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39137         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39138         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39139         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39140         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39141         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39142         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39143         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39144         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39145         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39146         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39147         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39148         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39149         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39150         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39151         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39152         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39153         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39154         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39155         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39156         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39157         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39158         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39159         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39160         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39161         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39162         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39163         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39164         * sysdeps/ieee754/s_lib_version.c: Likewise.
39165         * sysdeps/ieee754/s_matherr.c: Likewise.
39166         * sysdeps/ieee754/s_signgam.c: Likewise.
39167         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39168         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39169         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39170         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39171         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39172         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39173         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39174         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39175         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39176         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39177         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39178         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39179         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39180         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39181         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39182         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39183         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39184         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39185         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39186         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39187         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39188
39189 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39190
39191         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39192         * sunrpc/rpc_main.c: Likewise.
39193         * sunrpc/rpc_svcout.c: Likewise.
39194
39195 2012-03-09  David S. Miller  <davem@davemloft.net>
39196
39197         * include/math_private.h: New file.
39198
39199 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39200
39201         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39202         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39203         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39204         from <bits/socket_type.h>.
39205         (enum __socket_type): Don't define here.
39206         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39208         bits/socket_type.h.
39209
39210         [BZ #13566]
39211         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39212         checking __USE_GNU.
39213
39214         * Makerules ($(inst_includedir)/%.h): New rule.
39215         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39216         (install-others): Remove variable setting.
39217         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39218
39219 2012-03-08  Richard Henderson  <rth@twiddle.net>
39220
39221         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39222         from macro to inline function; merge with the
39223         !__LIBC_INTERNAL_MATH_INLINES version.
39224         (__ieee754_sqrtf): Likewise.
39225
39226         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39227         to inline function.
39228         (__rintf, __floor, __floorf): Likewise.
39229
39230         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39231         macro to inline function.
39232         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39233
39234         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39235         not <math/math_private.h>.
39236
39237 2012-03-08  David S. Miller  <davem@davemloft.net>
39238
39239         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39240         copyright year.
39241         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39242
39243 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39244
39245         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39246         normalization.
39247         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39248         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39249
39250 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39251
39252         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39253         be defined individually, they must be defined as a block.  Define
39254         S for printing a string instead of hidint the different by using a
39255         macro for adding the 'l'.
39256         * stdio-common/tst-fphex-wide.c: Adjust.
39257
39258 2012-03-07  Marek Polacek  <polacek@redhat.com>
39259
39260         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39261
39262 2012-03-08  Marek Polacek  <polacek@redhat.com>
39263
39264         [BZ #13806]
39265         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39266         * stdio-common/tst-fphex.c: Define a few macros to make the
39267         test reusable.  Use them.
39268         * stdio-common/tst-fphex-wide.c: New file.
39269
39270 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39271
39272         [BZ #6911]
39273         * manual/macros.texi (gnusystems): New macro.
39274         (nongnusystems): Likewise.
39275         (gnulinuxhurdsystems): Likewise.
39276         (gnuhurdsystems): Likewise..
39277         (gnulinuxsystems): Likewise.
39278         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39279         variants of the GNU system, not "GNU system".
39280         * manual/conf.texi: Likewise.
39281         * manual/errno.texi: Likewise.  Update example of errno macro
39282         expansion.
39283         * manual/filesys.texi: Likewise.
39284         (getumask): Document as specific to GNU/Hurd.
39285         * manual/install.texi: Likewise.  Reword some references to
39286         GNU/Linux.
39287         * manual/intro.texi: Likewise.
39288         * manual/io.texi: Likewise.
39289         (File Name Portability): Detail which constraints are inapplicable
39290         to all GNU systems and which are only inapplicable to GNU/Hurd.
39291         * manual/job.texi: Likewise.
39292         * manual/llio.texi: Likewise.
39293         (O_NOCTTY): Document as present on GNU/Linux.
39294         * manual/maint.texi: Likewise.
39295         * manual/memory.texi: Likewise.
39296         * manual/pattern.texi: Likewise.
39297         * manual/pipe.texi: Likewise.
39298         * manual/process.texi: Likewise.
39299         * manual/resource.texi: Likewise.
39300         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39301         child on GNU/Hurd.
39302         * manual/setjmp.texi: Likewise.
39303         * manual/signal.texi: Likewise.
39304         * manual/startup.texi: Likewise.
39305         * manual/stdio.texi: Likewise.
39306         * manual/terminal.texi: Likewise.
39307         (ONLCR): Document as POSIX.
39308         (OXTABS): Document availability on GNU/Linux as XTABS.
39309         (ONOEOT): Document availability separately from other bits.
39310         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39311         * manual/time.texi: Likewise.
39312         * manual/users.texi: Likewise.
39313         * INSTALL: Regenerated.
39314         * sysdeps/gnu/errlist.c: Regenerated.
39315
39316         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39317         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39318         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39319         puts.
39320         * configure: Regenerated.
39321
39322 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39323
39324         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39325         default includes instead of AC_HEADER_CHECK.
39326         * sysdeps/i386/configure: Regenerated.
39327
39328         [BZ #10716]
39329         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39330         * math/s_cacoshf.c (__cacoshf): Likewise.
39331         * math/s_cacoshl.c (__cacoshl): Likewise.
39332         * math/s_casinh.c (__casinh): Set signs of result from argument.
39333         * math/s_casinhf.c (__casinhf): Likewise.
39334         * math/s_casinhl.c (__casinhl): Likewise.
39335         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39336         (casinh_test): Add more tests.
39337         * sysdeps/i386/fpu/libm-test-ulps: Update.
39338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39339
39340 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39341
39342         * po/zh_TW.po: Update from translation team.
39343
39344         * login/Makefile (distribute): Remove variable.
39345         * catgets/Makefile: Likewise.
39346         * mach/Makefile: Likewise.
39347         * malloc/Makefile: Likewise.
39348         * misc/Makefile: Likewise.
39349         * iconv/Makefile: Likewise.
39350         * nscd/Makefile: Likewise.
39351         * hurd/Makefile: Likewise.
39352         * manual/Makefile: Likewise.
39353         * locale/Makefile: Likewise.
39354         * intl/Makefile: Likewise.
39355         * conform/Makefile: Likewise.
39356         * nss/Makefile: Likewise.
39357         * time/Makefile: Likewise.
39358         * soft-fp/Makefile: Likewise.
39359         * dirent/Makefile: Likewise.
39360         * gmon/Makefile: Likewise.
39361         * po/Makefile: Likewise.
39362         * rt/Makefile: Likewise.
39363         * socket/Makefile: Likewise.
39364         * math/Makefile: Likewise.
39365         * signal/Makefile: Likewise.
39366         * debug/Makefile: Likewise.
39367         * elf/Makefile: Likewise.
39368         * timezone/Makefile: Likewise.
39369         * stdlib/Makefile: Likewise.
39370         * iconvdata/Makefile: Likewise.
39371         * sunrpc/Makefile: Likewise.
39372         * io/Makefile: Likewise.
39373         * argp/Makefile: Likewise.
39374         * inet/Makefile: Likewise.
39375         * hesiod/Makefile: Likewise.
39376         * grp/Makefile: Likewise.
39377         * csu/Makefile: Likewise.
39378         * wctype/Makefile: Likewise.
39379         * crypt/Makefile: Likewise.
39380         * libio/Makefile: Likewise.
39381         * string/Makefile: Likewise.
39382         * nis/Makefile: Likewise.
39383         * resolv/Makefile: Likewise.
39384         * stdio-common/Makefile: Likewise.
39385         * wcsmbs/Makefile: Likewise.
39386         * dlfcn/Makefile: Likewise.
39387         * posix/Makefile: Likewise.
39388
39389         [BZ #6959]
39390         * timezone/Makefile: Don't install timezone files, just the programs
39391         and scripts.
39392
39393 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39394
39395         * nss/databases.def: Add missing gshadow entry.
39396
39397         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39398
39399 2012-03-06  Marek Polacek  <polacek@redhat.com>
39400
39401         [BZ #13726]
39402         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39403         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39404         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39405         * stdio-common/tst-long-dbl-fphex.c: New file.
39406
39407 2012-03-06  David S. Miller  <davem@davemloft.net>
39408
39409         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39410         (set_obp_int): New function.
39411         (get_obp_int): New function.
39412         (__get_clockfreq_via_dev_openprom): Likewise.
39413         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39414         Avoid unused variable warnings on 'val' and use builtin_expect.
39415         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39416         __builtin_expect.
39417         (INLINE_CLONE_SYSCALL): Likewise.
39418
39419 2012-03-05  David S. Miller  <davem@davemloft.net>
39420
39421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39422
39423 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39424
39425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39426
39427         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39428         only for |x| >= 40.
39429         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39430
39431 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39432
39433         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39434         Replace gettimeofday with __vdso_gettimeofday.
39435
39436         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39437         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39438         __vdso_clock_gettime and __vdso_getcpu.
39439
39440         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39441         time with __vdso_time.
39442
39443 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39444
39445         * manual/lang.texi (size_t): Note types to which size_t may be
39446         equivalent with the GNU C Library, but do not describe when
39447         differences between them are significant.
39448
39449 2012-03-05  Andreas Jaeger  <aj@suse.de>
39450
39451         * sysdeps/i386/fpu/libm-test-ulps: Update.
39452
39453 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39454
39455         [BZ #3976]
39456         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39457         (__ieee754_pow): Save and restore rounding mode and use
39458         round-to-nearest for main computations.
39459         * math/libm-test.inc (pow_test_tonearest): New function.
39460         (pow_test_towardzero): Likewise.
39461         (pow_test_downward): Likewise.
39462         (pow_test_upward): Likewise.
39463         (main): Call the new functions.
39464         * sysdeps/i386/fpu/libm-test-ulps: Update.
39465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39466
39467         [BZ #3976]
39468         * math/libm-test.inc (cosh_test_tonearest): New function.
39469         (cosh_test_towardzero): Likewise.
39470         (cosh_test_downward): Likewise.
39471         (cosh_test_upward): Likewise.
39472         (sinh_test_tonearest): Likewise.
39473         (sinh_test_towardzero): Likewise.
39474         (sinh_test_downward): Likewise.
39475         (sinh_test_upward): Likewise.
39476         (main): Call the new functions.
39477         * sysdeps/i386/fpu/libm-test-ulps: Update.
39478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39479
39480 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39481
39482         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39483         default stack guard is set in last bytes.
39484         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39485
39486 2012-03-05  Kees Cook  <keescook@chromium.org>
39487
39488         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39489
39490         [BZ #13656]
39491         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39492         possibly allocate from heap instead of stack.
39493         * stdio-common/bug-vfprintf-nargs.c: New file.
39494         * stdio-common/Makefile (tests): Add nargs overflow test.
39495
39496 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39497
39498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39499
39500 2012-03-03  Marek Polacek  <polacek@redhat.com>
39501
39502         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39503         * math/math_private.h: Likewise.
39504         * stdlib/tst-strtod.c: Likewise.
39505         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39506         * sysdeps/x86_64/bits/atomic.h: Likewise.
39507
39508 2012-03-02  David S. Miller  <davem@davemloft.net>
39509
39510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39514         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39515         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39516         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39517         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39518
39519 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39520
39521         [BZ #13792]
39522         * manual/examples/README: New file, says the example source files
39523         can be used under GPL>=2.
39524         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39525         line containing just "*/".
39526         * manual/examples/add.c: Add copyright header (GPL>=2).
39527         * manual/examples/argp-ex1.c: Likewise.
39528         * manual/examples/argp-ex2.c: Likewise.
39529         * manual/examples/argp-ex3.c: Likewise.
39530         * manual/examples/argp-ex4.c: Likewise.
39531         * manual/examples/atexit.c: Likewise.
39532         * manual/examples/db.c: Likewise.
39533         * manual/examples/dir.c: Likewise.
39534         * manual/examples/dir2.c: Likewise.
39535         * manual/examples/execinfo.c: Likewise.
39536         * manual/examples/filecli.c: Likewise.
39537         * manual/examples/filesrv.c: Likewise.
39538         * manual/examples/fmtmsgexpl.c: Likewise.
39539         * manual/examples/genpass.c: Likewise.
39540         * manual/examples/inetcli.c: Likewise.
39541         * manual/examples/inetsrv.c: Likewise.
39542         * manual/examples/isockad.c: Likewise.
39543         * manual/examples/longopt.c: Likewise.
39544         * manual/examples/memopen.c: Likewise.
39545         * manual/examples/memstrm.c: Likewise.
39546         * manual/examples/mkfsock.c: Likewise.
39547         * manual/examples/mkisock.c: Likewise.
39548         * manual/examples/mygetpass.c: Likewise.
39549         * manual/examples/pipe.c: Likewise.
39550         * manual/examples/popen.c: Likewise.
39551         * manual/examples/rprintf.c: Likewise.
39552         * manual/examples/search.c: Likewise.
39553         * manual/examples/select.c: Likewise.
39554         * manual/examples/setjmp.c: Likewise.
39555         * manual/examples/sigh1.c: Likewise.
39556         * manual/examples/sigusr.c: Likewise.
39557         * manual/examples/stpcpy.c: Likewise.
39558         * manual/examples/strdupa.c: Likewise.
39559         * manual/examples/strftim.c: Likewise.
39560         * manual/examples/strncat.c: Likewise.
39561         * manual/examples/subopt.c: Likewise.
39562         * manual/examples/swapcontext.c: Likewise.
39563         * manual/examples/termios.c: Likewise.
39564         * manual/examples/testopt.c: Likewise.
39565         * manual/examples/testpass.c: Likewise.
39566         * manual/examples/timeval_subtract.c: Likewise.
39567
39568         [BZ #13792]
39569         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39570         function to ...
39571         * manual/timeval_subtract.c.texi: ... here, new file.
39572
39573 2012-03-02  David S. Miller  <davem@davemloft.net>
39574
39575         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39576
39577 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39578
39579         [BZ #3976]
39580         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39581         (__sin): Save and restore rounding mode and use round-to-nearest
39582         for all computations.
39583         (__cos): Save and restore rounding mode and use round-to-nearest
39584         for all computations.
39585         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39586         <fenv.h>.
39587         (tan): Save and restore rounding mode and use round-to-nearest for
39588         all computations.
39589         * math/libm-test.inc (cos_test_tonearest): New function.
39590         (cos_test_towardzero): Likewise.
39591         (cos_test_downward): Likewise.
39592         (cos_test_upward): Likewise.
39593         (sin_test_tonearest): Likewise.
39594         (sin_test_towardzero): Likewise.
39595         (sin_test_downward): Likewise.
39596         (sin_test_upward): Likewise.
39597         (tan_test_tonearest): Likewise.
39598         (tan_test_towardzero): Likewise.
39599         (tan_test_downward): Likewise.
39600         (tan_test_upward): Likewise.
39601         (main): Call the new functions.
39602         * sysdeps/i386/fpu/libm-test-ulps: Update.
39603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39604
39605         [BZ #10135]
39606         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39607         small n, then large n, before computing and testing k+n.
39608         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39609         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39610         Likewise.
39611         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39612         Likewise.
39613         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39614         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39615         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39616         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39617         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39618         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39619         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39620         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39621         * math/libm-test.inc (scalbn_test): Add more tests.
39622         (scalbln_test): Likewise.
39623
39624         * manual/filesys.texi (mode_t): Describe constraints on size and
39625         signedness, not exact equivalence to a particular type.
39626         (ino_t): Likewise.
39627         (ino64_t): Likewise.
39628         (dev_t): Likewise.
39629         (nlink_t): Likewise.
39630         (blkcnt_t): Likewise.
39631         (blkcnt64_t): Likewise.
39632         * manual/llio.texi (off_t): Likewise.
39633
39634         [BZ #3976]
39635         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39636         (__ieee754_exp): Save and restore rounding mode and use
39637         round-to-nearest for all computations.
39638         * math/libm-test.inc (exp_test_tonearest): New function.
39639         (exp_test_towardzero): Likewise.
39640         (exp_test_downward): Likewise.
39641         (exp_test_upward): Likewise.
39642         (main): Call the new functions.
39643         * sysdeps/i386/fpu/libm-test-ulps: Update.
39644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39645
39646 2012-03-01  Chris Demetriou  <cgd@google.com>
39647
39648         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39649         have predictable order.
39650
39651 2012-03-01  David S. Miller  <davem@davemloft.net>
39652
39653         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39654
39655         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39656         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39657         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39658         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39659
39660         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39661         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39662         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39664         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39665         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39666         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39667         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39668         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39669
39670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39671
39672         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39673         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39674         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39675
39676         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39677         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39678         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39679         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39680         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39681         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39682         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39683         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39684         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39685         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39686         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39687         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39688         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39689         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39690         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39691         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39692         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39693         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39694         * sysdeps/sparc/elf/configure: Regenerated.
39695
39696 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39697
39698         * configure.in (AS, LD): Require binutils 2.20 or later.
39699         * configure: Regenerated.
39700         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39701         as required minimum version.
39702         * INSTALL: Regenerated.
39703
39704         [BZ #2541]
39705         [BZ #4108]
39706         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39707         before squaring exponent.
39708         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39709         bottom long double and 27 bits of top long double before squaring
39710         exponent.
39711         * math/libm-test.inc (erfc_test): Add more tests.
39712         * sysdeps/i386/fpu/libm-test-ulps: Update.
39713         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39715
39716 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39717
39718         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39719         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39720         containing bit-fields.
39721         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39722         * soft-fp/single.h (_FP_UNION_S): Likewise.
39723         * soft-fp/double.h (_FP_UNION_D): Likewise.
39724
39725 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39726
39727         [BZ #13786]
39728         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39729         not include ../strcmp.S.
39730         [USE_AS_STRNCASECMP_L]: Likewise.
39731         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39732         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39733         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39734         (__strncasecmp_l_ia32): Define as alias to
39735         __strncasecmp_l_nonascii.
39736
39737         [BZ #5794]
39738         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39739         * sysdeps/i386/fpu/libm-test-ulps: Update.
39740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39741
39742         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39744
39745 2012-02-29  Jeff Law  <law@redhat.com>
39746
39747         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39748         out of bounds read.
39749
39750 2012-02-29  Marek Polacek  <polacek@redhat.com>
39751
39752         [BZ #13706]
39753         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39754         * elf/Makefile: Add rules to run tst-unused-dep.out.
39755
39756 2012-02-28  David S. Miller  <davem@davemloft.net>
39757
39758         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39759         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39760         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39761         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39762         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39763         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39764
39765 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39766
39767         * math/libm-test.inc (llround_test): Move one test from
39768         lround_test.  Use TEST_f_L in moved test.
39769         (lround_test): Move misplaced test to llround_test.  Add testcase
39770         from bug 2561.
39771
39772 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39773
39774         * sysdeps/x86_64/fpu/e_expf.S: New file.
39775         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39776
39777 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39778
39779         [BZ #13637]
39780         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39781         of remain_len that may cause incomplete multi-byte character and
39782         false match.
39783         * posix/bug-regex33.c: New file.
39784         * posix/Makefile (tests): Add bug-regex33.
39785
39786 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39787
39788         * manual/macros.texi: New file.
39789         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39790         * manual/libc.texinfo: Include macros.texi.
39791         * manual/creatute.texi: Likewise.
39792         * manual/install.texi: Likewise.
39793         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39794         @glibcadj{} in references to the GNU C Library.
39795         * manual/charset.texi: Likewise.
39796         * manual/conf.texi: Likewise.
39797         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39798         when not using those macros.
39799         * manual/creature.texi: Likewise.
39800         * manual/crypt.texi: Likewise.
39801         * manual/errno.texi: Likewise.
39802         * manual/filesys.texi: Likewise.
39803         * manual/header.texi: Likewise.
39804         * manual/install.texi: Likewise.
39805         * manual/intro.texi: Likewise.
39806         * manual/io.texi: Likewise.
39807         * manual/job.texi: Likewise.
39808         * manual/lang.texi: Likewise.
39809         * manual/libc.texiinfo: Likewise.
39810         * manual/llio.texi: Likewise.
39811         * manual/locale.texi: Likewise.
39812         * manual/maint.texi: Likewise.
39813         * manual/math.texi: Likewise.
39814         * manual/memory.texi: Likewise.
39815         * manual/message.texi: Likewise.
39816         * manual/nss.texi: Likewise.
39817         * manual/pattern.texi: Likewise.
39818         * manual/process.texi: Likewise.
39819         * manual/resource.texi: Likewise.
39820         * manual/search.texi: Likewise.
39821         * manual/setjmp.texi: Likewise.
39822         * manual/signal.texi: Likewise.
39823         * manual/socket.texi: Likewise.
39824         * manual/startup.texi: Likewise.
39825         * manual/stdio.texi: Likewise.
39826         * manual/string.texi: Likewise.
39827         * manual/sysinfo.texi: Likewise.
39828         * manual/syslog.texi: Likewise.
39829         * manual/terminal.texi: Likewise.
39830         * manual/time.texi: Likewise.
39831         * manual/users.texi: Likewise.
39832         * INSTALL: Regenerated.
39833         * NOTES: Regenerated.
39834         * sysdeps/gnu/errlist.c: Regenerated.
39835
39836 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39837
39838         * include/dirent.h: Include <dirstream.h> before
39839         <dirent/dirent.h>.
39840
39841 2012-02-28  David S. Miller  <davem@davemloft.net>
39842
39843         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39844         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39845         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39846         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39847
39848 2012-02-27  David S. Miller  <davem@davemloft.net>
39849
39850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39852         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39853         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39854
39855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39856         frame pointer instead of stack pointer relative arg slot.
39857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39858         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39859         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39860
39861 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39862
39863         [BZ #3992]
39864         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39865
39866 2012-02-27  David S. Miller  <davem@davemloft.net>
39867
39868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39872         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39873         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39874         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39875         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39876
39877 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39878
39879         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39880         later.  Allow versions 5-9.
39881         * configure: Regenerated.
39882         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39883         required minimum version and 4.6 as recommended version.  Do not
39884         mention bugs in GCC 2.7 and 2.8.
39885         * INSTALL: Regenerated.
39886
39887 2012-02-27  David S. Miller  <davem@davemloft.net>
39888
39889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39893         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39894         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39895         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39896         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39897
39898         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39899         manipulate bits before adding and subtracting TWO112[sx].
39900         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39901
39902 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39903
39904         [BZ #13775]
39905         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39906         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39907         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39908         being in POSIX, because they are in 1003.1-2008.
39909
39910         * rt/tst-aio.c: Include <fcntl.h>.
39911         * rt/tst-aio7.c: Likewise.
39912         * rt/tst-aio64.c: Likewise.
39913
39914         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39915
39916 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39917
39918         * manual/install.texi (--with-headers): Describe headers as
39919         interface headers, not private headers.
39920         (Specific advice for GNU/Linux systems): Describe use of headers
39921         from "make headers_install", not private headers from older
39922         kernels.
39923         * INSTALL: Regenerated.
39924         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39925         Change to 2.6.19.
39926         * sysdeps/unix/sysv/linux/configure: Regenerated.
39927
39928         * manual/llio.texi (fclean): Remove documentation.
39929
39930         * manual/Makefile (libc-texi-generated): New variable.  Include
39931         version.texi.
39932         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39933         $(libc-texi-generated), not duplicated list of files.
39934         (version.texi, stamp-version): New rules.
39935         (realclean): Remove $(libc-texi-generated), not individual files
39936         from that list.  Do not remove dir-add.texinfo.
39937         * manual/libc.texinfo: Comment out uses of edition numbers and
39938         references to printed manual.  Remove last-updated dates.
39939         (EDITION): Comment out.
39940         (ISBN): Likewise.
39941         (VERSION, UPDATED): Remove.
39942         (version.texi): Include.
39943
39944 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39945
39946         * sysdeps/posix/spawni.c: Include <signal.h>.
39947         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39948         * sysdeps/pthread/aio_fsync.c: Likewise.
39949
39950 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39951
39952         * conform/Makefile (tests): Run only when not cross-compiling and
39953         when fast-check is not defined.
39954
39955         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39956         * conform/data/limits.h-data: Fixes for POSIX2008.
39957         * conform/run-conformtest.sh: Run all tests.
39958         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39959         headers.
39960         * include/bits/dlfcn.h: Likewise.
39961         * include/langinfo.h: Likewise.
39962         * include/monetary.h: Likewise.
39963         * include/sys/poll.h: Likewise.
39964
39965         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39966         for __USE_GNU.
39967         * posix/spawn.h: Define __need_sigset_t.
39968         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39969         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39970         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39971         to get sigevent_t only.
39972         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39973         only for __USE_GNU.
39974         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39975         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39976         process_vm_writev only for __USE_GNU.
39977         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39978
39979         * conform/Makefile: For now ignore errors from run-conformtest.
39980         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39981         POSIX to avoid namespace pollution.  Don't prepend headers.
39982         * conform/data/aio.h-data: Fixes for POSIX testing.
39983         * conform/data/fcntl.h-data: Likewise.
39984         * conform/data/glob.h-data: Likewise.
39985         * conform/data/grp.h-data: Likewise.
39986         * conform/data/pthread.h-data: Likewise.
39987         * conform/data/pwd.h-data: Likewise.
39988         * conform/data/signal.h-data: Likewise.
39989         * conform/data/spawn.h-data: Likewise.
39990         * conform/data/stdio.h-data: Likewise.
39991         * conform/data/stdlib.h-data: Likewise.
39992         * conform/data/stropts.h-data: Likewise.
39993         * conform/data/sys/mman.h-data: Likewise.
39994         * conform/data/sys/stat.h-data: Likewise.
39995         * conform/data/sys/types.h-data: Likewise.
39996         * conform/data/sys/wait.h-data: Likewise.
39997         * conform/data/time.h-data: Likewise.
39998         * conform/data/unistd.h-data: Likewise.
39999         * conform/data/utime.h-data: Likewise.
40000
40001         * io/sys/stat.h: fchmod was always in POSIX.
40002         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40003         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40004         * rt/aio.h: Define __need_timespec before including <time.h>.
40005         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40006         struct.  Add forward declaration of pthread_attr_t and use it in
40007         sigevent.
40008         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40009         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40010         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40011         always remove CLK_TCK definition.
40012
40013 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40014
40015         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40016
40017 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40018
40019         * conform/run-conformtest.sh: New file.
40020         * conform/Makefile: Run run-conformtest for tests.
40021         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40022         support.
40023
40024         * conform/data/uchar.h-data: New file.
40025         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40026         * conform/data/arpa/inet.h-data: Likewise.
40027         * conform/data/assert.h-data: Likewise.
40028         * conform/data/complex.h-data: Likewise.
40029         * conform/data/cpio.h-data: Likewise.
40030         * conform/data/ctype.h-data: Likewise.
40031         * conform/data/dirent.h-data: Likewise.
40032         * conform/data/dlfcn.h-data: Likewise.
40033         * conform/data/errno.h-data: Likewise.
40034         * conform/data/fcntl.h-data: Likewise.
40035         * conform/data/float.h-data: Likewise.
40036         * conform/data/fmtmsg.h-data: Likewise.
40037         * conform/data/fnmatch.h-data: Likewise.
40038         * conform/data/ftw.h-data: Likewise.
40039         * conform/data/glob.h-data: Likewise.
40040         * conform/data/grp.h-data: Likewise.
40041         * conform/data/iconv.h-data: Likewise.
40042         * conform/data/inttypes.h-data: Likewise.
40043         * conform/data/langinfo.h-data: Likewise.
40044         * conform/data/libgen.h-data: Likewise.
40045         * conform/data/limits.h-data: Likewise.
40046         * conform/data/locale.h-data: Likewise.
40047         * conform/data/math.h-data: Likewise.
40048         * conform/data/monetary.h-data: Likewise.
40049         * conform/data/mqueue.h-data: Likewise.
40050         * conform/data/ndbm.h-data: Likewise.
40051         * conform/data/net/if.h-data: Likewise.
40052         * conform/data/netdb.h-data: Likewise.
40053         * conform/data/netinet/in.h-data: Likewise.
40054         * conform/data/nl_types.h-data: Likewise.
40055         * conform/data/poll.h-data: Likewise.
40056         * conform/data/pthread.h-data: Likewise.
40057         * conform/data/pwd.h-data: Likewise.
40058         * conform/data/regex.h-data: Likewise.
40059         * conform/data/sched.h-data: Likewise.
40060         * conform/data/search.h-data: Likewise.
40061         * conform/data/semaphore.h-data: Likewise.
40062         * conform/data/setjmp.h-data: Likewise.
40063         * conform/data/signal.h-data: Likewise.
40064         * conform/data/spawn.h-data: Likewise.
40065         * conform/data/stdarg.h-data: Likewise.
40066         * conform/data/stdio.h-data: Likewise.
40067         * conform/data/stdlib.h-data: Likewise.
40068         * conform/data/string.h-data: Likewise.
40069         * conform/data/strings.h-data: Likewise.
40070         * conform/data/stropts.h-data: Likewise.
40071         * conform/data/sys/ipc.h-data: Likewise.
40072         * conform/data/sys/mman.h-data: Likewise.
40073         * conform/data/sys/msg.h-data: Likewise.
40074         * conform/data/sys/resource.h-data: Likewise.
40075         * conform/data/sys/select.h-data: Likewise.
40076         * conform/data/sys/sem.h-data: Likewise.
40077         * conform/data/sys/shm.h-data: Likewise.
40078         * conform/data/sys/socket.h-data: Likewise.
40079         * conform/data/sys/stat.h-data: Likewise.
40080         * conform/data/sys/statvfs.h-data: Likewise.
40081         * conform/data/sys/time.h-data: Likewise.
40082         * conform/data/sys/timeb.h-data: Likewise.
40083         * conform/data/sys/times.h-data: Likewise.
40084         * conform/data/sys/types.h-data: Likewise.
40085         * conform/data/sys/uio.h-data: Likewise.
40086         * conform/data/sys/un.h-data: Likewise.
40087         * conform/data/sys/utsname.h-data: Likewise.
40088         * conform/data/sys/wait.h-data: Likewise.
40089         * conform/data/syslog.h-data: Likewise.
40090         * conform/data/tar.h-data: Likewise.
40091         * conform/data/termios.h-data: Likewise.
40092         * conform/data/utime.h-data: Likewise.
40093         * conform/data/utmpx.h-data: Likewise.
40094         * conform/data/varargs.h-data: Likewise.
40095         * conform/data/wchar.h-data: Likewise.
40096         * conform/data/wctype.h-data: Likewise.
40097         * conform/data/wordexp.h-data: Likewise.
40098
40099         * include/stropts.h: New file.
40100         * include/uchar.h: New file.
40101         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40102         * include/assert.h: Likewise.
40103         * include/ctype.h: Likewise.
40104         * include/dirent.h: Likewise.
40105         * include/dlfcn.h: Likewise.
40106         * include/fcntl.h: Likewise.
40107         * include/fnmatch.h: Likewise.
40108         * include/glob.h: Likewise.
40109         * include/grp.h: Likewise.
40110         * include/libio.h: Likewise.
40111         * include/locale.h: Likewise.
40112         * include/math.h: Likewise.
40113         * include/net/if.h: Likewise.
40114         * include/netdb.h: Likewise.
40115         * include/netinet/in.h: Likewise.
40116         * include/pthread.h: Likewise.
40117         * include/pwd.h: Likewise.
40118         * include/regex.h: Likewise.
40119         * include/sched.h: Likewise.
40120         * include/search.h: Likewise.
40121         * include/setjmp.h: Likewise.
40122         * include/signal.h: Likewise.
40123         * include/stdio.h: Likewise.
40124         * include/stdlib.h: Likewise.
40125         * include/string.h: Likewise.
40126         * include/sys/cdefs.h: Likewise.
40127         * include/sys/mman.h: Likewise.
40128         * include/sys/msg.h: Likewise.
40129         * include/sys/resource.h: Likewise.
40130         * include/sys/select.h: Likewise.
40131         * include/sys/socket.h: Likewise.
40132         * include/sys/stat.h: Likewise.
40133         * include/sys/statvfs.h: Likewise.
40134         * include/sys/time.h: Likewise.
40135         * include/sys/times.h: Likewise.
40136         * include/sys/uio.h: Likewise.
40137         * include/sys/utsname.h: Likewise.
40138         * include/sys/wait.h: Likewise.
40139         * include/termios.h: Likewise.
40140         * include/time.h: Likewise.
40141         * include/ulimit.h: Likewise.
40142         * include/unistd.h: Likewise.
40143         * include/utime.h: Likewise.
40144         * include/wchar.h: Likewise.
40145         * include/wctype.h: Likewise.
40146         * include/wordexp.h: Likewise.
40147
40148         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40149
40150         * time/time.h: TIME_UTC must be a macro.
40151         Make timespec_get available for ISO C11 only as well.
40152
40153 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40154
40155         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40156         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40157
40158 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40159
40160         * configure.in: Use -o not -a in test for unsupported multi-arch.
40161
40162 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40163
40164         * manual/texinfo.tex: Update to version 2012-01-19.16.
40165
40166 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40167
40168         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40169
40170 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40171
40172         [BZ #13738]
40173         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40174         * manual/fdl-1.3.texi: New file.
40175         * manual/fdl-1.1.texi: File removed.
40176
40177         [BZ #13738]
40178         * manual/libc.texinfo (FDL_VERSION): New @set.
40179         Use it for mention of FDL in cover text.
40180         (Documentation License): Use it in @include file name.
40181
40182 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40183             Roland McGrath  <roland@hack.frob.com>
40184
40185         [BZ #5461]
40186         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40187         (not LONG_LONG_MAX and LONG_LONG_MIN.
40188         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40189         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40190         name.
40191         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40192
40193 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40194
40195         [BZ #2547]
40196         [BZ #11365]
40197         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40198         manipulate bits before adding and subtracting TWO23[sx].
40199         * math/libm-test.inc (nearbyint_test): Add more tests.
40200
40201 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40202
40203         [BZ #2548]
40204         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40205         bits before adding and subtracting TWO23[sx].
40206         * math/libm-test.inc (rint_test): Add more tests.
40207         (rint_test_tonearest): Likewise.
40208         (rint_test_towardzero): Likewise.
40209         (rint_test_downward): Likewise.
40210         (rint_test_upward: Likewise.
40211
40212 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40213
40214         [BZ #10110]
40215         * include/stdc-predef.h: New file.  Extracted from features.h.
40216         * include/features.h: Include stdc-predef.h.
40217         * Makefile (headers): Add stdc-predef.h.
40218         * CONFORMANCE (Compiler limitations): Update.
40219
40220 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40221
40222         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40223
40224 2012-02-21  David S. Miller  <davem@davemloft.net>
40225
40226         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40227         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40228
40229 2012-02-20  David S. Miller  <davem@davemloft.net>
40230
40231         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40232         using a normal save/restore sequence, rather than allocating a
40233         dummy stack frame just to store a frame pointer and restore.
40234         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40235
40236 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40237
40238         * manual/install.texi: Fix stray word in line-wrapped comment.
40239
40240 2012-02-20  David S. Miller  <davem@davemloft.net>
40241
40242         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40243         both binutils and gcc support GOTDATA.
40244
40245         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40246         "rd %pc" in the PIC register setup sequences.
40247
40248         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40249         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40250         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40251         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40252         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40253         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40254         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40255         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40256         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40257         (SYSCALL_ERROR_HANDLER): Likewise.
40258         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40259         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40260         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40261         (SYSCALL_ERROR_HANDLER): Likewise.
40262
40263         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40264         (HAVE_GCC_GOTDATA): New.
40265         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40266         relocation support in both binutils and gcc.
40267         * sysdeps/sparc/elf/configure: Regenerate.
40268
40269         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40270         * sysdeps/sparc/sparc32/elf/configure: Delete.
40271         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40272         * sysdeps/sparc/sparc64/elf/configure: Delete.
40273         * sysdeps/sparc/elf/configure.in: New file.
40274         * sysdeps/sparc/elf/configure: Generate.
40275
40276         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40277         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40278         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40279         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40280         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40281
40282 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40283
40284         * manual/install.texi: Do not mention specific glibc version
40285         numbers.
40286         * manual/libc.texinfo (VERSION, UPDATED): Update.
40287         (@copying): Use @copyright{} and range of years.
40288
40289 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40290
40291         [BZ #13695]
40292         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40293         [crti.S not in sysdirs] (generated): Do not append.
40294         [crti.S not in sysdirs] (omit-deps): Likewise.
40295         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40296         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40297         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40298         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40299         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40300         Likewise.
40301         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40302         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40303         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40304         * csu/defs.awk: Remove file.
40305         * sysdeps/generic/initfini.c: Likewise.
40306         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40307         variable.
40308         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40309         Likewise.
40310
40311 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40312
40313         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40314         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40315         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40316         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40317         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40318         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40319         <bits/epoll.h>.
40320         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40321         (__EPOLL_PACKED): Define to empty if not defined by
40322         <bits/epoll.h>.
40323         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40324         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40325         bits/epoll.h.
40326
40327 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40328
40329         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40330         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40331         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40332         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40333         <bits/timerfd.h>.
40334         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40336         bits/timerfd.h.
40337
40338 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40339
40340         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40341         in C locale.
40342         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40343         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40344         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40346
40347 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40348
40349         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40350         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40351
40352 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40353
40354         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40355         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40356         defined.
40357         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40358         Likewise.
40359         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40360         entry for 2.16.
40361
40362 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40363
40364         * math/w_acos.c: Use non-signaling floating-point comparisons.
40365         * math/w_acosf.c: Likewise.
40366         * math/w_acosh.c: Likewise.
40367         * math/w_acoshf.c: Likewise.
40368         * math/w_acoshl.c: Likewise.
40369         * math/w_acosl.c: Likewise.
40370         * math/w_asin.c: Likewise.
40371         * math/w_asinf.c: Likewise.
40372         * math/w_asinl.c: Likewise.
40373         * math/w_atanh.c: Likewise.
40374         * math/w_atanhf.c: Likewise.
40375         * math/w_atanhl.c: Likewise.
40376         * math/w_exp2.c: Likewise.
40377         * math/w_exp2f.c: Likewise.
40378         * math/w_exp2l.c: Likewise.
40379         * math/w_j0.c: Likewise.
40380         * math/w_j0f.c: Likewise.
40381         * math/w_j0l.c: Likewise.
40382         * math/w_j1.c: Likewise.
40383         * math/w_j1f.c: Likewise.
40384         * math/w_j1l.c: Likewise.
40385         * math/w_jn.c: Likewise.
40386         * math/w_jnf.c: Likewise.
40387         * math/w_log.c: Likewise.
40388         * math/w_log10.c: Likewise.
40389         * math/w_log10f.c: Likewise.
40390         * math/w_log10l.c: Likewise.
40391         * math/w_log2.c: Likewise.
40392         * math/w_log2f.c: Likewise.
40393         * math/w_log2l.c: Likewise.
40394         * math/w_logf.c: Likewise.
40395         * math/w_logl.c: Likewise.
40396         * math/w_sqrt.c: Likewise.
40397         * math/w_sqrtf.c: Likewise.
40398         * math/w_sqrtl.c: Likewise.
40399         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40400         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40401         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40402         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40403         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40404
40405 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40406
40407         [BZ #9739]
40408         * manual/string.texi (strnlen): Use correct parameter name in
40409         equivalent expression.
40410
40411 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40412
40413         [BZ #11174]
40414         * manual/users.texi (seteuid): Consistently use neweuid for
40415         argument name.
40416
40417 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40418
40419         [BZ #13704]
40420         * manual/nss.texi (Services in the NSS configuration): Correct
40421         list of services in example configuration file.
40422
40423 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40424
40425         [BZ #11322]
40426         * manual/arith.texi: Remove statements about negative zero
40427         behaving identically to zero.
40428
40429 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40430
40431         [BZ #5993]
40432         * manual/install.texi: Do not document upgrading from libc5.
40433
40434 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40435
40436         [BZ #4596]
40437         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40438
40439 2012-02-18  David S. Miller  <davem@davemloft.net>
40440
40441         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40442         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40443         %o7 across the call.
40444         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40445         instead.
40446         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40447         SETUP_PIC_REG_LEAF.
40448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40449         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40450         * sysdeps/sparc/crtn.S: Likewise.
40451
40452 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40453
40454         * aout/Makefile: Remove.
40455
40456 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40457
40458         [BZ #13058]
40459         * manual/examples/argp-ex1.c (main): Format definition in GNU
40460         style.
40461         * manual/examples/argp-ex2.c (main): Likewise.
40462         * manual/examples/argp-ex3.c (main): Likewise.
40463         * manual/examples/argp-ex4.c (main): Likewise.
40464         * manual/examples/longopt.c (main): Use new-style prototype
40465         definition.
40466         * manual/examples/strncat.c (main): Specify return type and use
40467         (void) for arguments.
40468         * manual/examples/subopt.c (main): Use char **argv argument.
40469
40470 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40471
40472         [BZ #5077]
40473         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40474         rounding modes.
40475
40476 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40477
40478         [BZ #6907]
40479         * manual/string.texi (strchr): Change when strchrnul is
40480         recommended.
40481
40482 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40483
40484         [BZ #174]
40485         * manual/locale.texi (setlocale): Document LOCPATH.
40486
40487 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40488
40489         [BZ #10210]
40490         * manual/process.texi (execle): Move @dots{} before last argument.
40491
40492 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40493
40494         [BZ #12047]
40495         * manual/charset.texi (Generic Charset Conversion): Fix typo
40496         (LC_TYPE -> LC_CTYPE).
40497
40498 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40499
40500         [BZ #5805]
40501         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40502         (scalbnf): Likewise.
40503         (scalbnl): Likewise.
40504         (scalbln): Likewise.
40505         (scalblnf): Likewise.
40506         (scalblnl): Likewise.
40507         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40508         (vwarnx): Likewise.
40509         (verr): Likewise.
40510         (verrx): Likewise.
40511         * manual/filesys.texi (telldir): Use braces around return type.
40512         * manual/llio.texi (mmap): Add space after comma.
40513         (mmap64): Likewise.
40514         * manual/math.texi (jn): Use @var{} on parameter names.
40515         (jnf): Likewise.
40516         (jnl): Likewise.
40517         (yn): Likewise.
40518         (ynf): Likewise.
40519         (ynl): Likewise.
40520         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40521         line.
40522         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40523         "...".
40524         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40525         (sched_get_priority_max): Likewise.
40526         * manual/signal.texi (sigvec): Add space after comma.
40527         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40528         names.
40529         (if_indextoname): Likewise.
40530         (if_freenameindex): Likewise.
40531         (sendto): Use ',' instead of '.' in prototype.
40532         * manual/startup.texi (syscall): Use @dots{} instead of literal
40533         "...".
40534         * manual/stdio.texi (__fpending): Separate initial words of
40535         paragraph from @deftypefun line.
40536         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40537         "...".
40538         (vsyslog): Use @var{} on parameter names.
40539         * manual/terminal.texi (stty): Use @var{} on parameter names.
40540         * manual/users.texi (getutmp): Use @var{} on parameter names.
40541         (getutmpx): Likewise.
40542
40543 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40544
40545         [BZ #6884]
40546         * manual/stdio.texi (fopen): Fix typos in description of
40547         ",ccs=STRING".
40548
40549 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40550
40551         [BZ #4026]
40552         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40553         get clock_id definition.
40554
40555 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40556
40557         [BZ #4822]
40558         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40559         (madvise): Cast every argument to void on its own.
40560
40561 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40562
40563         [BZ #9902]
40564         * manual/startup.texi (Exit Status): Fix typo.
40565
40566 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40567
40568         [BZ #10140]
40569         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40570         * manual/examples/argp-ex2.c: Likewise.
40571         * manual/examples/argp-ex3.c: Likewise.
40572
40573 2012-02-16  Richard Henderson  <rth@redhat.com>
40574
40575         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40576         * sysdeps/s390/s390-32/initfini.c: Remove.
40577         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40578         * sysdeps/s390/s390-64/initfini.c: Remove.
40579
40580 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40581
40582         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40583         compiler output for sysdeps/generic/initfini.c.
40584         * sysdeps/sh/elf/initfini.c: Remove file.
40585
40586 2012-02-16  David S. Miller  <davem@davemloft.net>
40587
40588         [BZ #11494]
40589         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40590
40591         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40592         * sysdeps/sparc/crti.S: New file.
40593         * sysdeps/sparc/crtn.S: New file.
40594         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40595         * sysdeps/sparc/sparc64/Makefile: Likewise.
40596
40597 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40598
40599         [BZ #3335]
40600         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40601
40602 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40603
40604         [BZ #4822]
40605         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40606
40607         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40608         (write, read, close): Likewise.
40609         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40610
40611 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40612
40613         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40614         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40615         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40616         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40617         <bits/signalfd.h>.
40618         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40619         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40620         bits/signalfd.h.
40621
40622 2012-02-14  Marek Polacek  <polacek@redhat.com>
40623
40624         * sysdeps/x86_64/crti.S: New file.
40625         * sysdeps/x86_64/crtn.S: New file.
40626         * sysdeps/x86_64/elf/initfini.c: Remove file.
40627
40628 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40629
40630         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40631         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40632         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40633         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40634         <bits/inotify.h>.
40635         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40637         bits/inotify.h.
40638
40639 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40640
40641         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40642         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40643         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40644         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40645         <bits/eventfd.h>.
40646         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40647         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40648         bits/eventfd.h.
40649
40650 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40651
40652         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40653         __feraiseexcept instead of feraiseexcept.
40654
40655         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40656         nanosleep invocations.
40657         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40658         strings, and add error checking for a nanosleep invocations.
40659
40660 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40661
40662         Replace FSF snail mail address with URLs, as per GNU coding standards.
40663         Most of the snail mail addresses were wrong anyway, and omitting
40664         them makes the source code easier to maintain.  Almost all of the
40665         changes are to license notices and to locale LC_IDENTIFICATION
40666         addresses, except for this one:
40667         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40668         not its snail mail address.
40669
40670 2012-02-09  Richard Henderson  <rth@twiddle.net>
40671
40672         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40673         of kernel-features.h.
40674
40675         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40676
40677 2012-02-08  Marek Polacek  <polacek@redhat.com>
40678
40679         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40680         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40681         * sysdeps/gnu/_G_config.h: Likewise.
40682         * sysdeps/generic/_G_config.h: Likewise.
40683
40684 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40685
40686         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40687         tests.
40688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40689
40690         * sysdeps/powerpc/powerpc32/crti.S: New file.
40691         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40692         * sysdeps/powerpc/powerpc64/crti.S: New file.
40693         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40694
40695         * Makeconfig (have-initfini): Don't set.
40696         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40697         * configure.in (nopic_initfini): Don't substitute.
40698         * config.h.in (HAVE_INITFINI): Don't #undef.
40699         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40700         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40701
40702 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40703
40704         Support crti.S and crtn.S provided directly by architectures.
40705         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40706         [crti.S in sysdirs] (omit-deps): Likewise.
40707         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40708         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40709         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40710         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40711         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40712         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40713         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40714         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40715         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40716         compiler output for sysdeps/generic/initfini.c.
40717         * sysdeps/i386/elf/Makefile: Remove file.
40718         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40719
40720 2012-02-07  Marek Polacek  <polacek@redhat.com>
40721
40722         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40723         * sysdeps/gnu/_G_config.h: Likewise.
40724         * sysdeps/mach/hurd/_G_config.h: Likewise.
40725
40726 2012-02-07  Marek Polacek  <polacek@redhat.com>
40727
40728         * math/Makefile (tests): Add tst-CMPLX2.
40729         * math/tst-CMPLX2.c: New file.
40730
40731 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40732
40733         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40734
40735         * math/libm-test.inc (jn_test): Add missing L suffix.
40736
40737 2012-02-06  Marek Polacek  <polacek@redhat.com>
40738
40739         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40740         * sysdeps/i386/fpu/e_powf.S: Likewise.
40741         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40742         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40743         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40744         * sysdeps/i386/fpu/e_pow.S: Likewise.
40745         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40746         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40747         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40748         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40749         * sysdeps/i386/fpu/e_log2.S: Likewise.
40750         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40751         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40752         * sysdeps/i386/fpu/e_powl.S: Likewise.
40753         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40754         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40755         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40756         * sysdeps/i386/fpu/e_logl.S: Likewise.
40757         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40758         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40759         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40760         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40761         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40762         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40763         * sysdeps/i386/fpu/e_log.S: Likewise.
40764         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40765         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40766         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40767         * sysdeps/i386/fpu/e_logf.S: Likewise.
40768         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40769         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40770         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40771         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40772         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40773         * sysdeps/i386/fpu/e_log10.S: Likewise.
40774         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40775         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40776         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40777         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40778         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40779         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40780         * sysdeps/i386/asm-syntax.h: Likewise.
40781         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40782         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40783         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40784         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40785         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40786         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40787         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40788         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40789         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40790         * sysdeps/powerpc/sysdep.h: Likewise.
40791         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40792         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40793
40794 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40795
40796         [BZ #411]
40797         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40798
40799 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40800
40801         * sysdeps/i386/sysdep.h: Include <features.h>.
40802         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40803         version.
40804
40805 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40806
40807         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40808         Define.
40809         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40810         LOAD_PIC_REG_STR.
40811
40812 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40813
40814         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40815         (SETUP_PIC_REG): Use GET_PC_THUNK.
40816         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40817         macro.
40818
40819 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40820
40821         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40822         for non-PIC compilation.
40823         (SETUP_PIC_REG): Add .p2align directive.
40824         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40825         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40826         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40827         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40828         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40829         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40830         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40831         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40832         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40833         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40834         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40835         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40836         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40837         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40838         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40839         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40840         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40841         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40842         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40843         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40844         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40845         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40846         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40847         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40848         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40849         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40850         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40851         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40852         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40853         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40854         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40855         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40856         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40857         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40858         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40859         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40860         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40861         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40862         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40863         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40864         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40865
40866 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40867
40868         * math/tst-CMPLX.c: Include <stdio.h>.
40869
40870 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40871
40872         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40873         float.
40874         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40875         * sysdeps/sparc/bits/mathdef.h: Likewise.
40876
40877 2012-01-31  Marek Polacek  <polacek@redhat.com>
40878
40879         * libio/libio.h: Don't define _PARAMS.
40880         * locale/programs/config.h: Don't define PARAMS.
40881         * stdlib/strtol_l.c: Likewise.
40882         (__strtol_l): Remove PARAMS from the prototype.
40883
40884 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40885
40886         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40887         names.  Just use the correct names.  Remove unnecessary wrapper
40888         functions.
40889         * malloc/arena.c: Likewise.
40890         * malloc/hooks.c: Likewise.
40891
40892         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40893         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40894         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40895
40896 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40897
40898         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40899         into tail calls.
40900         (update_get_addr): New function.
40901         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40902         GET_ADDR_MODULE parameter.
40903
40904 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40905
40906         * crypt/cert.c: Remove __STDC__ conditionals.
40907         * crypt/crypt-entry.c: Likewise.
40908         * crypt/crypt_util.c: Likewise.
40909         * libio/filedoalloc.c: Likewise.
40910         * libio/fileops.c: Likewise.
40911         * libio/genops.c: Likewise.
40912         * libio/iofclose.c: Likewise.
40913         * libio/iofdopen.c: Likewise.
40914         * libio/iofopen.c: Likewise.
40915         * libio/iofopen64.c: Likewise.
40916         * libio/iogetdelim.c: Likewise.
40917         * libio/iopopen.c: Likewise.
40918         * libio/obprintf.c: Likewise.
40919         * libio/oldfileops.c: Likewise.
40920         * libio/oldiofclose.c: Likewise.
40921         * libio/oldiofdopen.c: Likewise.
40922         * libio/oldiofopen.c: Likewise.
40923         * libio/oldiopopen.c: Likewise.
40924         * libio/wfiledoalloc.c: Likewise.
40925         * libio/wgenops.c: Likewise.
40926         * locale/programs/xmalloc.c: Likewise.
40927         * misc/syslog.c: Likewise.
40928         * stdio-common/xbug.c: Likewise.
40929         * string/memchr.c: Likewise.
40930         * string/memcmp.c: Likewise.
40931         * string/memrchr.c: Likewise.
40932         * string/rawmemchr.c: Likewise.
40933         * sysdeps/posix/getcwd.c: Likewise.
40934         * time/strftime_l.c: Likewise.
40935
40936 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40937
40938         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40939         * config.make.in (config-cflags-sse2avx): Define.
40940         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40941         Fix typo.
40942
40943 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40944
40945         * scripts/config.guess: Update from upstream config git repository.
40946         * scripts/config.sub: Likewise.
40947
40948 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40949
40950         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40951         (EM_NUM): Update.
40952         (R_TILEPRO_*, R_TILEGX_*): New macros.
40953
40954         * scripts/firstversions.awk: Fix bug in version range handling.
40955
40956         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40957
40958         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40959
40960         * include/sys/epoll.h: New file.
40961         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40962         libc_hidden_def.
40963
40964 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40965
40966         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40967         Avoid unnecessary __WORDSIZE == 64 test.
40968         (fmaxf): Use VEX format if possible.
40969         (fmax): Likewise.
40970         (fminf): Likewise.
40971         (fmin): Likewise.
40972
40973         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40974         * math/math_private.h: Remove libc_fegetround* and
40975         libc_fesetround*.
40976         * sysdeps/i386/configure.in: Check for -msse2avx.
40977         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40978         also if SSE2AVX is defined.
40979         Remove libc_fegetround* and libc_fesetround*.
40980         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40981         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40982         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40983         of HAS_YMM_USABLE.
40984         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40985         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40986         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40987         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40988         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40989
40990         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40991
40992 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40993
40994         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40995         size is not set.
40996         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40997
40998 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40999
41000         [BZ #13618]
41001         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41002         relocation.
41003         * Makeconfig (libm): Define.
41004         * elf/Makefile: Add rules to build and run tst-relsort1.
41005         * elf/tst-relsort1.c: New file.
41006         * elf/tst-relsort1mod1.c: New file.
41007         * elf/tst-relsort1mod2.c: New file.
41008
41009 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41010
41011         * math/s_ldexp.c: Remove __STDC__ conditionals.
41012         * math/s_ldexpf.c: Likewise.
41013         * math/s_ldexpl.c: Likewise.
41014         * math/s_nextafter.c: Likewise.
41015         * math/s_nexttowardf.c: Likewise.
41016         * math/s_significand.c: Likewise.
41017         * math/s_significandf.c: Likewise.
41018         * math/s_significandl.c: Likewise.
41019         * math/w_jnl.c: Likewise.
41020         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41021         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41022         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41023         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41024         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41025         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41026         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41027         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41028         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41029         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41030         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41031         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41032         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41033         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41034         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41035         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41036         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41037         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41039         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41040         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41041         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41042         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41043         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41044         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41045         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41046         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41047         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41048         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41049         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41050         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41051         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41052         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41053         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41054         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41055         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41056         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41057         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41058         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41059         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41060         * sysdeps/ieee754/k_standard.c: Likewise.
41061         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41062         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41063         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41064         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41065         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41066         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41067         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41068         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41069         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41070         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41071         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41072         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41073         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41074         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41075         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41076         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41077         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41078         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41079         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41080         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41081         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41082         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41083         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41084         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41085         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41086         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41087         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41089         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41090         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41091         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41092         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41093         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41094         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41095         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41096         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41097         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41098         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41099         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41100         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41101         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41102         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41103         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41104         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41105         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41106         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41107         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41108         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41109         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41110         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41111         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41112         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41113         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41114         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41115         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41116         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41117         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41118         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41119         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41120         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41121         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41122         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41123         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41124         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41125         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41126         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41127         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41128         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41129         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41130         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41131         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41132         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41133         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41134         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41135         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41136         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41137         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41138         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41139         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41140         * sysdeps/ieee754/s_matherr.c: Likewise.
41141         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41142         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41143         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41144         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41145
41146 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41147
41148         * crypt/md5.h: Remove __STDC__ conditionals.
41149         * libio/libioP.h: Likewise.
41150         * locale/programs/config.h: Likewise.
41151         * sysdeps/generic/sysdep.h: Likewise.
41152         * sysdeps/i386/asm-syntax.h: Likewise.
41153         * sysdeps/s390/asm-syntax.h: Likewise.
41154         * sysdeps/unix/sysdep.h: Likewise.
41155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41157
41158 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41159
41160         * libio/libio.h: Remove __STDC__ conditionals.
41161         * malloc/obstack.h: Likewise.
41162         * math/complex.h: Likewise.
41163         * math/math.h: Likewise.
41164         * sysdeps/generic/_G_config.h: Likewise.
41165         * sysdeps/gnu/_G_config.h: Likewise.
41166         * sysdeps/mach/hurd/_G_config.h: Likewise.
41167         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41168         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41169         * sysdeps/sparc/bits/mathdef.h: Likewise.
41170
41171 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41172
41173         [BZ #13583]
41174         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41175         Clean up HAS_* macros.
41176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41177         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41178         possible.
41179         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41180         HAS_AVX.
41181         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41182         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41183         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41184         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41185         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41186
41187 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41188
41189         * elf/tst-unique3.cc (gets): Remove declaration.
41190         * elf/tst-unique3lib.cc (gets): Likewise.
41191         * elf/tst-unique3lib2.cc (gets): Likewise.
41192         * elf/tst-unique4.cc (gets): Likewise.
41193
41194 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41195
41196         * include/stdio.h: Add C++ protection.  Add gets declarations and
41197         definitions.
41198         * debug/tst-chk1.c: Don't declare gets here.
41199         * stdio-common/tst-gets.c: Likewise.
41200
41201 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41202
41203         * posix/glob: Remove directory.
41204
41205 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41206
41207         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41208
41209 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41210
41211         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41212         of the non-standard EPFNOSUPPORT.
41213
41214 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41215
41216         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41217         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41218         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41219
41220 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41221
41222         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41223
41224 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41225
41226         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41227         transient errors.
41228         * nscd/grpcache.c (cache_addgr): Likewise.
41229         * nscd/hstcache.c (cache_addhst): Likewise.
41230         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41231         * nscd/pwdcache.c (cache_addpw): Likewise.
41232         * nscd/servicescache.c (cache_addserv): Likewise.
41233
41234 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41235
41236         * malloc/malloc.c: Various cleanups.
41237         * malloc/hooks.c: Likewise.
41238
41239         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41240         * stdlib/bug-fmtmsg1.c: New file.
41241
41242         * stdlib/fmtmsg.c (init): Add missing unlock.
41243         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41244
41245 2012-01-12  Marek Polacek  <polacek@redhat.com>
41246
41247         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41248         and _GNU_SOURCE.
41249
41250 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41251
41252         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41253         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41254         macro to ensure uniqueness of label name.
41255         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41256         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41257
41258 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41259
41260         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41261
41262         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41263         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41264         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41265         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41266
41267 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41268
41269         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41270
41271         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41272         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41273         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41274
41275         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41276
41277         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41278         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41279         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41280         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41281
41282         * math/bits/math-finite.h: Add ldexp support.
41283
41284 2012-01-10  Marek Polacek  <polacek@redhat.com>
41285
41286         * locale/programs/localedef.h (show_archive_content): Add noreturn
41287         attribute.
41288
41289 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41290
41291         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41292
41293 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41294
41295         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41296
41297         * io/Makefile (headers): Add bits/poll2.h.
41298
41299 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41300
41301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41302         typo #include statement.
41303
41304 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41305
41306         * include/sys/cdefs.h: Define __attribute_alloc_size.
41307         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41308         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41309         * elf/pldd.c: Likewise.
41310         * iconv/iconv_charmap.c: Likewise.
41311         * iconv/iconvconfig.c: Likewise.
41312         * iconv/strtab.c: Likewise.
41313         * locale/programs/locale.c: Likewise.
41314         * locale/programs/localedef.h: Likewise.
41315         * locale/programs/simple-hash.c: Likewise.
41316         * nscd/nscd.h: Likewise.
41317         * nss/makedb.c: Likewise.
41318         * sysdeps/generic/ldconfig.h: Likewise.
41319         * locale/programs/localedef.c: Remove xmalloc prototype.
41320         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41321
41322 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41323
41324         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41325         appropriate.
41326
41327 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41328
41329         * math/Makefile (tests): Add tst-CMPLX.
41330         * math/tst-CMPLX.c: New file.
41331
41332         * math/complex.h (CMPLXL): Fix typo.
41333
41334         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41335         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41336         GLIBC_2.16.
41337         * debug/tst-chk1.c: Add poll and ppoll tests.
41338         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41339         * include/sys/poll.h: Add hidden proto for ppoll.
41340         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41341         * sysdeps/mach/hurd/ppoll.c: Likewise.
41342         * io/ppoll.c: Likewise.
41343         * debug/poll_chk.c: New file.
41344         * debug/ppoll_chk.c: New file.
41345         * include/bits/poll2.h: New file.
41346         * io/bits/poll2.h: New file.
41347
41348         [BZ #1350]
41349         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41350
41351         * configure.in: static is always set to yes.  Remove.
41352         * config.make.in: Don't set build-static.
41353         * Makeconfig: Remove use of build-static.
41354         * dlfcn/Makefile: Likewise.
41355         * elf/Makefile: Likewise.
41356         * math/Makefile: Likewise.
41357         * misc/Makefile: Likewise.
41358         * nptl/Makefile: Likewise.
41359         * sysdeps/mach/hurd/Makefile: Likewise.
41360
41361         * configure.in: PWD_P is not used anymore.
41362         * config.make.in: Remove PWD_P entry.
41363
41364         * configure.in: Remove last remnants of RANLIB.
41365         No need to check for signed size_t anymore.
41366         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41367         and IA-64.
41368         Remove __builtin_expect test because we require at least gcc 3.4.
41369         * aclocal.m4: Likewise.
41370
41371         * wcsmbs/mbrtoc16.c: Implement using towc function.
41372         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41373         * wcsmbs/wcsmbsload.c: Likewise.
41374         * iconv/gconv_simple.c: Likewise.
41375         * iconv/gconv_int.h: Likewise.
41376         * iconv/gconv_builtin.h: Likewise.
41377         * iconv/iconv_prog.c: Remove CHAR16 handling.
41378
41379         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41380
41381         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41382
41383         * configure.in: Remove --with-elf and --enable-bounded options.
41384         Dont set base_machine for ia64.  More non-ELF conditions removed.
41385         Remove testing and setting of leading underscore information.
41386         * config.make.in (build-bounded): Set to no.
41387         * config.h.in: Remove NO_UNDERSCORES entry.
41388         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41389         them.
41390         * csu/start.c: Remove !NO_UNDERSCORE code.
41391         * locale/localeinfo.h: Likewise.
41392         * sysdeps/generic/machine-gmon.h: Likewise.
41393         * sysdeps/generic/sysdep.h: Likewise.
41394         * sysdeps/i386/sysdep.h: Likewise.
41395         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41396         * sysdeps/mach/sysdep.h: Likewise.
41397         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41398         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41399         * sysdeps/sh/sysdep.h: Likewise.
41400         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41401         * sysdeps/unix/i386/sysdep.S: Likewise.
41402         * sysdeps/unix/sparc/start.c: Likewise.
41403         * sysdeps/unix/sparc/sysdep.S: Likewise.
41404         * sysdeps/unix/sparc/sysdep.h: Likewise.
41405         * sysdeps/unix/start.c: Likewise.
41406         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41407         * sysdeps/x86_64/sysdep.h: Likewise.
41408
41409 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41410
41411         [BZ #13553]
41412         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41413         for non-gcc.
41414         * argp/argp-fmtstream.h: Use const instead __const.
41415         * argp/argp.h: Likewise.
41416         * assert/assert.h: Likewise.
41417         * bits/fenv.h: Likewise.
41418         * bits/sched.h: Likewise.
41419         * bits/sigset.h: Likewise.
41420         * bits/sigthread.h: Likewise.
41421         * catgets/nl_types.h: Likewise.
41422         * conform/data/pthread.h-data: Likewise.
41423         * crypt/crypt-private.h: Likewise.
41424         * crypt/crypt.h: Likewise.
41425         * crypt/crypt_util.c: Likewise.
41426         * ctype/ctype.h: Likewise.
41427         * debug/execinfo.h: Likewise.
41428         * debug/mbsnrtowcs_chk.c: Likewise.
41429         * debug/mbsrtowcs_chk.c: Likewise.
41430         * debug/wcsnrtombs_chk.c: Likewise.
41431         * debug/wcsrtombs_chk.c: Likewise.
41432         * debug/wcstombs_chk.c: Likewise.
41433         * dirent/dirent.h: Likewise.
41434         * dlfcn/dlfcn.h: Likewise.
41435         * elf/neededtest4.c: Likewise.
41436         * grp/grp.h: Likewise.
41437         * gshadow/gshadow.h: Likewise.
41438         * iconv/gconv.h: Likewise.
41439         * iconv/gconv_int.h: Likewise.
41440         * iconv/gconv_simple.c: Likewise.
41441         * iconv/iconv.h: Likewise.
41442         * iconv/loop.c: Likewise.
41443         * iconv/skeleton.c: Likewise.
41444         * include/aio.h: Likewise.
41445         * include/aliases.h: Likewise.
41446         * include/argz.h: Likewise.
41447         * include/arpa/inet.h: Likewise.
41448         * include/assert.h: Likewise.
41449         * include/dirent.h: Likewise.
41450         * include/dlfcn.h: Likewise.
41451         * include/execinfo.h: Likewise.
41452         * include/fcntl.h: Likewise.
41453         * include/fenv.h: Likewise.
41454         * include/glob.h: Likewise.
41455         * include/grp.h: Likewise.
41456         * include/libintl.h: Likewise.
41457         * include/mntent.h: Likewise.
41458         * include/netdb.h: Likewise.
41459         * include/pwd.h: Likewise.
41460         * include/rpc/netdb.h: Likewise.
41461         * include/sched.h: Likewise.
41462         * include/search.h: Likewise.
41463         * include/shadow.h: Likewise.
41464         * include/signal.h: Likewise.
41465         * include/stdio.h: Likewise.
41466         * include/stdlib.h: Likewise.
41467         * include/string.h: Likewise.
41468         * include/sys/socket.h: Likewise.
41469         * include/sys/stat.h: Likewise.
41470         * include/sys/statfs.h: Likewise.
41471         * include/sys/statvfs.h: Likewise.
41472         * include/sys/syslog.h: Likewise.
41473         * include/sys/time.h: Likewise.
41474         * include/sys/uio.h: Likewise.
41475         * include/time.h: Likewise.
41476         * include/unistd.h: Likewise.
41477         * include/utmp.h: Likewise.
41478         * include/wchar.h: Likewise.
41479         * include/wctype.h: Likewise.
41480         * inet/aliases.h: Likewise.
41481         * inet/arpa/inet.h: Likewise.
41482         * inet/netinet/ether.h: Likewise.
41483         * inet/netinet/in.h: Likewise.
41484         * intl/libintl.h: Likewise.
41485         * io/bits/fcntl2.h: Likewise.
41486         * io/fcntl.h: Likewise.
41487         * io/ftw.h: Likewise.
41488         * io/sys/poll.h: Likewise.
41489         * io/sys/stat.h: Likewise.
41490         * io/sys/statfs.h: Likewise.
41491         * io/sys/statvfs.h: Likewise.
41492         * io/utime.h: Likewise.
41493         * libio/bits/stdio.h: Likewise.
41494         * libio/bits/stdio2.h: Likewise.
41495         * libio/libio.h: Likewise.
41496         * libio/libioP.h: Likewise.
41497         * libio/stdio.h: Likewise.
41498         * locale/lc-ctype.c: Likewise.
41499         * locale/locale.h: Likewise.
41500         * login/utmp.h: Likewise.
41501         * malloc/arena.c: Likewise.
41502         * malloc/malloc.c: Likewise.
41503         * malloc/malloc.h: Likewise.
41504         * malloc/mcheck.c: Likewise.
41505         * malloc/mtrace.c: Likewise.
41506         * math/bits/mathcalls.h: Likewise.
41507         * math/fenv.h: Likewise.
41508         * math/math_private.h: Likewise.
41509         * misc/bits/error.h: Likewise.
41510         * misc/bits/syslog.h: Likewise.
41511         * misc/err.h: Likewise.
41512         * misc/error.h: Likewise.
41513         * misc/fstab.h: Likewise.
41514         * misc/mntent.h: Likewise.
41515         * misc/regexp.h: Likewise.
41516         * misc/search.h: Likewise.
41517         * misc/sgtty.h: Likewise.
41518         * misc/sys/mman.h: Likewise.
41519         * misc/sys/syslog.h: Likewise.
41520         * misc/sys/uio.h: Likewise.
41521         * misc/sys/xattr.h: Likewise.
41522         * misc/ttyent.h: Likewise.
41523         * nis/rpcsvc/ypclnt.h: Likewise.
41524         * nss/nss.h: Likewise.
41525         * posix/bits/unistd.h: Likewise.
41526         * posix/fnmatch.h: Likewise.
41527         * posix/glob.h: Likewise.
41528         * posix/sched.h: Likewise.
41529         * posix/spawn.h: Likewise.
41530         * posix/sys/wait.h: Likewise.
41531         * posix/unistd.h: Likewise.
41532         * posix/wordexp.h: Likewise.
41533         * pwd/pwd.h: Likewise.
41534         * resolv/netdb.h: Likewise.
41535         * resource/sys/resource.h: Likewise.
41536         * rt/aio.h: Likewise.
41537         * rt/bits/mqueue2.h: Likewise.
41538         * rt/mqueue.h: Likewise.
41539         * shadow/shadow.h: Likewise.
41540         * signal/signal.h: Likewise.
41541         * socket/send.c: Likewise.
41542         * socket/sendto.c: Likewise.
41543         * socket/sys/socket.h: Likewise.
41544         * stdio-common/printf.h: Likewise.
41545         * stdlib/bits/stdlib.h: Likewise.
41546         * stdlib/fmtmsg.h: Likewise.
41547         * stdlib/monetary.h: Likewise.
41548         * stdlib/stdlib.h: Likewise.
41549         * stdlib/ucontext.h: Likewise.
41550         * streams/stropts.h: Likewise.
41551         * string/argz.h: Likewise.
41552         * string/bits/string2.h: Likewise.
41553         * string/string.h: Likewise.
41554         * string/strings.h: Likewise.
41555         * sunrpc/rpc/auth.h: Likewise.
41556         * sunrpc/rpc/auth_des.h: Likewise.
41557         * sunrpc/rpc/clnt.h: Likewise.
41558         * sunrpc/rpc/netdb.h: Likewise.
41559         * sunrpc/rpc/pmap_clnt.h: Likewise.
41560         * sunrpc/rpc/xdr.h: Likewise.
41561         * sysdeps/generic/inttypes.h: Likewise.
41562         * sysdeps/generic/net/if.h: Likewise.
41563         * sysdeps/generic/sys/swap.h: Likewise.
41564         * sysdeps/gnu/net/if.h: Likewise.
41565         * sysdeps/gnu/utmpx.h: Likewise.
41566         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41567         * sysdeps/i386/i486/bits/string.h: Likewise.
41568         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41569         * sysdeps/s390/bits/string.h: Likewise.
41570         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41571         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41572         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41573         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41574         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41575         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41576         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41577         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41578         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41579         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41580         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41581         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41582         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41583         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41584         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41585         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41586         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41587         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41588         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41589         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41590         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41591         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41592         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41593         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41594         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41595         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41596         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41597         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41598         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41599         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41600         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41601         * sysvipc/sys/ipc.h: Likewise.
41602         * sysvipc/sys/msg.h: Likewise.
41603         * sysvipc/sys/sem.h: Likewise.
41604         * sysvipc/sys/shm.h: Likewise.
41605         * termios/termios.h: Likewise.
41606         * time/sys/time.h: Likewise.
41607         * time/time.h: Likewise.
41608         * wcsmbs/bits/wchar2.h: Likewise.
41609         * wcsmbs/uchar.h: Likewise.
41610         * wcsmbs/wchar.h: Likewise.
41611         * wctype/wctype.h: Likewise.
41612
41613         [BZ #13551]
41614         * Makeconfig: Remove all but ELF support including AIX support.
41615         * Makerules: Likewise.
41616         * config.h.in: Likewise.
41617         * config.make.in: Likewise.
41618         * configure: Likewise.
41619         * configure.in: Likewise.
41620         * csu/Makefile: Likewise.
41621         * csu/version.c: Likewise.
41622         * debug/Makefile: Likewise.
41623         * dlfcn/Makefile: Likewise.
41624         * elf/Makefile: Likewise.
41625         * extra-lib.mk: Likewise.
41626         * iconv/Makefile: Likewise.
41627         * include/libc-symbols.h: Likewise.
41628         * include/shlib-compat.h: Likewise.
41629         * resolv/Makefile: Likewise.
41630         * resolv/res_libc.c: Likewise.
41631         * rt/Makefile: Likewise.
41632         * sysdeps/i386/asm-syntax.h: Likewise.
41633         * sysdeps/i386/sysdep.h: Likewise.
41634         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41635         * sysdeps/mach/sysdep.h: Likewise.
41636         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41637         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41638         * sysdeps/s390/asm-syntax.h: Likewise.
41639         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41640         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41641         * sysdeps/sh/sysdep.h: Likewise.
41642         * sysdeps/unix/sparc/sysdep.h: Likewise.
41643         * sysdeps/wordsize-32/divdi3.c: Likewise.
41644         * sysdeps/x86_64/sysdep.h: Likewise.
41645
41646         * argp/Versions: Remove _argp_unlock_xxx.
41647
41648         [BZ #13559]
41649         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41650         * abilist/libBrokenLocale.abilist: Likewise.
41651         * abilist/libanl.abilist: Likewise.
41652         * abilist/libc.abilist: Likewise.
41653         * abilist/libcrypt.abilist: Likewise.
41654         * abilist/libdl.abilist: Likewise.
41655         * abilist/libm.abilist: Likewise.
41656         * abilist/libnsl.abilist: Likewise.
41657         * abilist/libpthread.abilist: Likewise.
41658         * abilist/libresolv.abilist: Likewise.
41659         * abilist/librt.abilist: Likewise.
41660         * abilist/libthread_db.abilist: Likewise.
41661         * abilist/libutil.abilist: Likewise.
41662         * abilist/libnss_db.abilist: New file.
41663
41664         * scripts/abilist.awk: Add support for indirect functions.
41665
41666         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41667
41668         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41669
41670         * shlib-versions: Remove entries for ports architectures.
41671
41672         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41673         files in ports.
41674         * elf/stackguard-macros.h: Remove support for IA-64.
41675         * elf/tst-auditmod1.c: Likewise.
41676         * sysdeps/generic/ldsodefs.h: Likewise.
41677
41678         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41679         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41680         configure files.
41681
41682         [BZ #13552]
41683         * configure.in: Remove --enable-omitfp support.
41684         * FAQ.in: Adjust.
41685         * config.make.in: Likewise.
41686         * Makeconfig: Likewise.
41687         * manual/install.texi: Likewise.
41688
41689         In case anyone cares, the IA-64 architecture could move to ports.
41690         * sysdeps/ia64/*: Removed.
41691         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41692         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41693
41694         [BZ #13555]
41695         * configure.in: Remove entries for unsupported architectures.
41696
41697         [BZ #13533]
41698         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41699         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41700         routines.
41701         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41702         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41703         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41704         fall back to using wcrtomb.
41705         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41706         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41707         renaming.
41708         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41709         * wcsmbs/tst-c16c32-1.c: New file.
41710
41711         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41712         local variable.
41713
41714         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41715
41716         * elf/tst-unique3.cc: Add explicit declaration of gets.
41717         * elf/tst-unique3lib.cc: Likewise.
41718         * elf/tst-unique3lib2.cc: Likewise.
41719         * elf/tst-unique4.cc: Likewise.
41720
41721         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41722
41723 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41724
41725         [BZ #13566]
41726         * assert/assert.h (static_assert): Don't define for C++.
41727         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41728         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41729
41730 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41731
41732         * iconv/loop.c (single loop): Fix assertion in storing of
41733         remaining bytes.
41734
41735         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41736
41737 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41738
41739         * posix/getconf.c: Update copyright year.
41740         * nss/getent.c: Likewise.
41741         * nss/makedb.c: Likewise.
41742         * iconv/iconvconfig.c: Likewise.
41743         * iconv/iconv_prog.c: Likewise.
41744         * elf/ldconfig.c: Likewise.
41745         * elf/pldd.c: Likewise.
41746         * elf/sotruss.ksh: Likewise.
41747         * catgets/gencat.c: Likewise.
41748         * csu/version.c: Likewise.
41749         * elf/ldd.bash.in: Likewise.
41750         * elf/sprof.c (print_version): Likewise.
41751         * locale/programs/locale.c: Likewise.
41752         * locale/programs/localedef.c: Likewise.
41753         * login/programs/pt_chown.c: Likewise.
41754         * nscd/nscd.c (print_version): Likewise.
41755         * debug/xtrace.sh: Likewise.
41756         * malloc/memusage.sh: Likewise.
41757         * malloc/mtrace.pl: Likewise.
41758         * debug/catchsegv.sh: Likewise.
41759
41760 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41761
41762         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41763         pure attribute.
41764
41765 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41766
41767         [BZ #13533]
41768         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41769         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41770         transformations.
41771         * iconv/gconv_int.h: Likewise.
41772         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41773         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41774         from libc for GLIBC_2.16.
41775         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41776         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41777         * wcsmbs/uchar.h: Really define mbstate_t.
41778         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41779         * wcsmbs/c16rtomb.c: New file.
41780         * wcsmbs/mbrtoc16.c: New file.
41781         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41782         for C/POSIX locale.
41783         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41784         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41785
41786         * wcsmbs/wchar.h: Add missing __restrict.
41787
41788 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41789
41790         [BZ #13532]
41791         * time/Makefile (routines): Add timespec_get.
41792         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41793         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41794         timespec for ISO C11.
41795         * time/timespec_get.c: New file.
41796         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41797         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41798
41799         [BZ #13531]
41800         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41801         * stdlib/stdlib.h: Declare aligned_alloc.
41802         * Versions.def: Add GLIBC_2.16 for libc.
41803         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41804
41805         [BZ 13527]
41806         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41807         ISO C11.
41808
41809         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41810         code.
41811
41812         [BZ #13528]
41813         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41814
41815         [BZ #13529]
41816         * assert/assert.h (static_assert): Define.
41817
41818         * version.h: Update for 2.16 development version.
41819
41820         [BZ #13526]
41821         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41822         _ISOC11_SOURCE.
41823
41824         * version.h (RELEASE): Bump for 2.15 release.
41825         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41826
41827         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41828         Patch by Marek Polacek <mpolacek@redhat.com>.
41829
41830         * bits/byteswap.h: Protect long long constants with __extension__.
41831         * sysdeps/i386/bits/byteswap.h: Likewise.
41832         * sysdeps/ia64/bits/byteswap.h: Likewise.
41833         * sysdeps/s390/bits/byteswap.h: Likewise.
41834         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41835
41836 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41837
41838         [BZ #13540]
41839         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41840         destination buffer.
41841         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41842
41843 2011-12-23  Marek Polacek  <polacek@redhat.com>
41844
41845         * elf/dl-addr.c (determine_info): Add inline keyword.
41846         * elf/tst-auditmod4b.c (check_avx): Likewise.
41847         * elf/tst-auditmod6b.c (check_avx): Likewise.
41848         * elf/tst-auditmod6c.c (check_avx): Likewise.
41849         * elf/tst-auditmod7b.c (check_avx): Likewise.
41850
41851 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41852
41853         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41854         !__SSE_MATH__.
41855
41856 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41857
41858         [BZ #13540]
41859         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41860         processing for last bytes.
41861
41862 2011-08-06  Bruno Haible  <bruno@clisp.org>
41863
41864         [BZ #13061]
41865         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41866         U+0385, not to U+1FEE.
41867
41868         [BZ #13062]
41869         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41870         entry for U+00A5 U+0301.
41871
41872 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41873
41874         [BZ #13166]
41875         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41876         buffer for the output is too small.
41877
41878         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41879         optimization.
41880
41881         [BZ #13185]
41882         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41883         SSE flags if possible.
41884
41885 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41886
41887         [BZ #13540]
41888         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41889         processing for last bytes.
41890
41891 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41892
41893         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41894         (syscall-list-default-options, syscall-list-default-condition)
41895         (syscall-list-includes): Define.
41896         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41897         list of ABIs and options and #if conditions for each ABI.  Do not
41898         handle common syscalls between ABIs specially.
41899         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41900         Remove.
41901         (syscall-list-variants, syscall-list-32bit-options)
41902         (syscall-list-32bit-condition, syscall-list-64bit-options)
41903         (syscall-list-64bit-condition): Define.
41904         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41905         (syscall-list-variants, syscall-list-32bit-options)
41906         (syscall-list-32bit-condition, syscall-list-64bit-options)
41907         (syscall-list-64bit-condition): Define.
41908         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41909         Remove.
41910         (syscall-list-variants, syscall-list-32bit-options)
41911         (syscall-list-32bit-condition, syscall-list-64bit-options)
41912         (syscall-list-64bit-condition): Define.
41913         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41914         Remove.
41915         (syscall-list-variants, syscall-list-32bit-options)
41916         (syscall-list-32bit-condition, syscall-list-64bit-options)
41917         (syscall-list-64bit-condition): Define.
41918
41919 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41920
41921         * locale/iso-639.def: Add brx entry.
41922
41923         [BZ #13328]
41924         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41925         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41926
41927         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41928         __feraiseexcept_renamed.
41929
41930 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41931
41932         [BZ #13538]
41933         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41934         EPOLLET with unsigned values.
41935         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41936         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41937
41938         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41939         to large cancellation.
41940         * math/s_cacoshf.c: Likewise.
41941         * math/s_cacoshl.c: Likewise.
41942
41943 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41944
41945         [BZ #13305]
41946         [BZ #12786]
41947         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41948         * math/s_cacoshf.c: Likewise.
41949         * math/s_cacoshl.c: Likewise.
41950
41951 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41952
41953         [BZ #13439]
41954         * iconv/gconv.h: Define __GCONV_SWAP.
41955         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41956         * iconvdata/utf-16.c: Likewise.
41957         * iconvdata/utf-32.c: Likewise.
41958
41959 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41960
41961         [BZ #13524]
41962         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41963         numerator after shifting it by one limb.
41964
41965 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41966
41967         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41968         under [__USE_EXTERN_INLINES].
41969
41970 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41971
41972         [BZ #13446]
41973         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41974
41975 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41976
41977         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41978         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41979         optimized code.
41980         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41981         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41982         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41983         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41984         for strncasecmp/strncasecmp_l compilation.
41985         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41986         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41987
41988 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41989
41990         [BZ #13484]
41991         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41992         of __asm__.
41993
41994 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41995
41996         [BZ #13506]
41997         * time/tzfile.c (__tzfile_read): Check values from file header.
41998
41999 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42000
42001         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42002         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42003         * powerpc/powerpc32/dl-start.S: Likewise.
42004         * powerpc/powerpc32/elf/start.S: Likewise.
42005         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42006         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42007         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42008         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42009         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42010         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42011         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42012         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42013         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42014         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42015         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42016         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42017         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42018         * powerpc/powerpc32/memset.S: Likewise.
42019         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42020         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42021         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42022         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42023         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42024         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42025         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42026         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42027         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42028         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42029         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42030         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42031         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42032
42033 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42034
42035         * math/libm-test.inc: Added more nearbyint tests.
42036         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42037         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42038         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42039         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42040
42041 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42042
42043         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42044         FD_CLOEXEC.
42045
42046 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42047
42048         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42049         Add wcscpy-ssse3 wcscpy-c.
42050         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42051         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42052         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42053         * sysdeps/x86_64/wcschr.S: New file.
42054         * sysdeps/x86_64/wcsrchr.S: New file.
42055         * string/test-strcmp.c: Remove checking of wcscmp function for
42056         wrong alignments.
42057         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42058         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42059         wcsrchr-sse2 wcsrchr-c.
42060         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42061         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42062         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42063         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42064         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42065         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42066         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42067         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42068         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42069         * wcsmbc/wcschr.c (WCSCHR): New macro.
42070
42071 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42072
42073         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42074         * wcsmbs/test-wcsrchr.c: New file.
42075         * string/test-strrchr.c: Add wcsrchr support.
42076         (WIDE): New macro.
42077         * wcsmbs/test-wcscpy.c: New file.
42078         * string/test-strcpy.c: Add wcscpy support.
42079         (WIDE): New macro.
42080
42081 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42082
42083         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42084         the inner loop.
42085
42086 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42087
42088         [BZ #13472]
42089         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42090
42091 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42092
42093         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42094         Minor optimizations.
42095
42096         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42097         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42098         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42099
42100 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42101
42102         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42103         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42104         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42105         for gcc to avoid warnings.
42106         * inet/Makefile (tests): Add tst-checks.
42107         * inet/tst-checks.c: New file.
42108
42109         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42110         warning.
42111
42112         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42113         __wmemcmp_sse2.
42114
42115         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42116         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42117
42118         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42119
42120 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42121
42122         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42123         problem.
42124
42125         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42126
42127 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42128
42129         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42130         conditional on GCC version.
42131         (__arch_compare_and_exchange_val_8_acq)
42132         (__arch_compare_and_exchange_val_16_acq)
42133         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42134         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42135         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42136
42137 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42138
42139         * sysdeps/sh/backtrace.c: New file.
42140
42141 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42142
42143         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42144         parenthesis.
42145
42146 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42147
42148         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42149         falling back to utime.
42150
42151 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42152
42153         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42154         expectations for float.
42155
42156 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42157
42158         * locale/weight.h (findidx): Add parameter len.
42159         * locale/weightwc.h (findidx): Likewise.
42160         * posix/fnmatch_loop.c (FCT): Adjust caller.
42161         * posix/regcomp.c (build_equiv_class): Likewise.
42162         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42163         * posix/regexec.c (check_node_accept_bytes): Likewise.
42164         * string/strcoll_l.c (STRCOLL): Likewise.
42165         * string/strxfrm_l.c (STRXFRM): Likewise.
42166
42167 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42168
42169         * Makefile.in: Remove CVSOPT handling.
42170         * configure.in: Remove use of AC_REVISION.
42171         * iconvdata/Makefile (distribute): No need to filter out CVS.
42172         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42173         handling.
42174
42175 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42176
42177         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42178         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42179         [USE_AS_STRNCASECMP_L]: Likewise.
42180         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42181         NO_TLS_DIRECT_SEG_REFS.
42182         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42183         Fix argument offsets for non-PIC.
42184         [USE_AS_STRNCASECMP_L]: Likewise.
42185         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42186         NO_TLS_DIRECT_SEG_REFS.
42187
42188 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42189
42190         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42191         O_CLOEXEC.
42192         * locale/loadlocale.c (_nl_load_locale): Likewise.
42193
42194 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42195
42196         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42197         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42198         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42199         (SYSCALL_GETTIME): Set errno on error.
42200
42201         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42202         count references to noai6ai_cached.
42203
42204 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42205
42206         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42207
42208         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42209         FD_CLOEXEC for /proc/self/maps.
42210
42211         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42212         FD_CLOEXEC for /proc/meminfo.
42213
42214         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42215         gai.conf.
42216
42217         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42218         FD_CLOEXEC for given file.
42219
42220         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42221
42222         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42223         FD_CLOEXEC for /etc/hosts.
42224         (_gethtent): Likewise.
42225
42226         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42227
42228         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42229         cancellation and set FD_CLOEXEC for /etc/netgroup.
42230
42231         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42232         reading /etc/publickey.
42233
42234         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42235         allow cancellation when reading /etc/group.
42236
42237         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42238         cancellation.
42239         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42240
42241         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42242         when using data file.
42243
42244         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42245
42246         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42247         (write_nis_obj): Use "c" and "e" in fopen.
42248
42249         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42250
42251         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42252
42253         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42254
42255         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42256
42257         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42258         locale.alias.
42259
42260         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42261
42262         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42263
42264         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42265
42266         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42267         file parsing and set FD_CLOEXEC.
42268
42269 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42270
42271         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42272
42273 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42274
42275         * malloc/arena.c (arena_get2): Don't call reused_arena when
42276         _int_new_arena failed.
42277
42278 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42279
42280         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42281         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42282         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42283         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42284         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42285         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42286         to compile strcasecmp and strncasecmp.
42287         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42288         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42289
42290         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42291
42292 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42293
42294         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42295         locale-defines.sym to gen-as-const-headers.
42296         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42297         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42298         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42299         to compile strcasecmp and strncasecmp.
42300         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42301         strcasecmp_l and strncasecmp_l.
42302         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42303         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42304         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42305         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42306         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42307         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42308         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42309         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42310         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42311         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42312         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42313
42314 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42315
42316         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42317         result of SYSDEP_GETTIME_CPU to retval.
42318         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42319         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42320
42321         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42322         variable.
42323
42324         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42325         mantissa words.
42326         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42327
42328         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42329         from unused variable.
42330
42331         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42332         DWARF definitions.
42333         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42334         for assembling.
42335
42336         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42337         over namespaces.
42338
42339         * sunrpc/rpc_prot.c (rejected): Fix case value.
42340
42341         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42342         unsigned long long int to avoid warnings in shift.
42343
42344         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42345         of use of trans.
42346         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42347         variable tmp.
42348
42349         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42350         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42351         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42352
42353         * nis/nis_table.c (nis_list): Use variable of correct type for
42354         result of __follow_path call.
42355
42356 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42357
42358         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42359         of math functions ceil, trunc, floor, round, and sqrt, when
42360         avaliable on the platform.
42361         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42362         name clash.
42363         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42364         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42365         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42366
42367 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42368
42369         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42370         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42371
42372 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42373
42374         * include/unistd.h: Fix __readlink return type.
42375         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42376
42377 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42378
42379         * stdlib/ucontext.h: Undo last change for makecontext.
42380
42381 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42382
42383         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42384
42385         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42386         * setjmp/setjmp.h: Mark functions as non-leaf.
42387         * setjmp/bits/setjmp2.h: Likewise.
42388         * stdlib/ucontext.h: Likewise.
42389
42390 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42391
42392         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42393         (reused_arena): Don't check arena limit.
42394         (arena_get2): Atomically check arena limit.
42395
42396 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42397
42398         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42399         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42400
42401         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42402         instructions.
42403
42404 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42405
42406         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42407         handler when locking.
42408
42409         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42410         Fix size of allocated buffer.
42411
42412 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42413
42414         [BZ #10103]
42415         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42416         declarations for long double functions.
42417         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42418
42419         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42420
42421 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42422
42423         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42424         installed.
42425
42426         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42427         is disabled.
42428
42429 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42430
42431         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42432
42433 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42434
42435         * include/alloca.h (stackinfo_alloca_round): Define.
42436         (extend_alloca): Use it.
42437         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42438         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42439         here.
42440
42441         * scripts/check-local-headers.sh: Ignore libaudit.h.
42442
42443         * nscd/Makefile (extra-objs): Make recursively expanded.
42444
42445 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42446
42447         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42448         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42449
42450         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42451         * posix/tst-rfc3484-2.c: Likewise.
42452         * posix/tst-rfc3484-3.c: Likewise.
42453
42454         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42455         process_vm_writev.
42456         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42457         process_vm_writev.
42458         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42459         process_vm_writev from libc using GLIBC_2.15 version.
42460
42461         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42462
42463 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42464
42465         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42466         stack usage.
42467
42468 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42469
42470         [BZ #13367]
42471         * nss/getent.c (initgroups_keys): Show error message in case no group
42472         names are given.
42473
42474         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42475         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42476         __bump_nl_timestamp.
42477         * nscd/connections (nscd_init): When host database is served open
42478         netlink socket and request notification about configuration changes.
42479         (main_loop_poll): Track netlink file descriptor and bump timestamp
42480         in case data becomes available.
42481         (main_loop_epoll): Likewise.
42482         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42483         (database_pers_head): Add extra_data fileds.
42484         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42485         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42486         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42487         Adjust caller.
42488         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42489         in6ai data, call __free_in6ai.
42490         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42491         Add -DHAVE_NETLINK.
42492         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42493         interface information.  Reuse previous data if netlink timestamp
42494         is not changed.
42495         (__bump_nl_timestamp): New function.
42496         (__free_in6ai): New function.
42497
42498 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42499
42500         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42501         close_not_cancel_no_status here.
42502         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42503
42504 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42505
42506         [BZ #13276]
42507         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42508         return value.
42509
42510         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42511         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42512         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42513
42514 2011-07-03  Andreas Jaeger  <aj@suse.de>
42515
42516         [BZ #10709]
42517         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42518         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42519         * math/libm-test.inc (sin_test): Add test case.
42520
42521 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42522
42523         [BZ #13337]
42524         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42525         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42526
42527         * elf/chroot_canon.c (chroot_canon): Cleanups.
42528
42529         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42530
42531         [BZ #13335]
42532         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42533         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42534
42535         * string/test-strchr.c: Make usable for strchrnul testing.
42536         * string/test-strchrnul.c: New file.
42537         * string/Makefile (strop-tests): Add strchrnul.
42538
42539         * po/it.po: Update from translation team.
42540         * po/es.po: Likewise.
42541
42542 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42543
42544         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42545         the three constants needed as parameters.  Drop the others.
42546         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42547         __m128i_strloadu_tolower.
42548         Create and initialize variable zero and use it in all the places
42549         where _mm_setzero_si128 was used.
42550
42551         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42552         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42553         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42554         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42555         anymore.
42556         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42557         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42558         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42559         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42560         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42561         __mpranred, __mptan.
42562         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42563         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42564         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42565         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42566         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42567         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42568         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42569         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42570         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42571
42572 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42573
42574         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42575         redefine if SHARED.
42576         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42577
42578         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42579         wide char related routines to wcsmbs subdir.
42580
42581 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42582
42583         [BZ #13344]
42584         * misc/sys/cdefs.h (__THROWNL): Define.
42585         * posix/unistd.h: Use __THREADNL instead of __THREAD
42586         for memory synchronization functions.
42587
42588 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42589
42590         [BZ #13349]
42591         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42592         doesn't exist.
42593         * manual/stdio.texi (Obstack Streams): Node removed.
42594
42595 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42596
42597         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42598         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42599         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42600
42601         * math/math_private.h (math_force_eval): Allow non-addressable
42602         arguments.
42603         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42604
42605 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42606
42607         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42608         file is not needed.
42609
42610         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42611         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42612         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42613         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42614         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42615         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42616         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42617         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42618         Add AVX variants.
42619         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42620         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42621         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42622         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42623         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42624         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42625         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42626         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42627         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42628         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42629         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42630         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42631         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42632         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42633         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42634         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42635         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42636         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42637         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42638
42639         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42640         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42641
42642         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42643         place.  Use VEX encoding when compiling for AVX.
42644
42645 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42646
42647         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42648         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42649
42650         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42651
42652 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42653
42654         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42655         useless if() expression.
42656         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42657         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42658         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42659         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42660         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42661         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42662         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42663         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42664         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42665         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42666         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42667         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42668         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42669         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42670         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42671         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42672         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42673         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42674         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42675
42676         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42677
42678 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42679
42680         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42681         condition.
42682         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42683
42684 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42685
42686         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42687         .text section.  Avoid duplicate constants.
42688         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42689         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42690         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42691         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42692         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42693         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42694         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42695         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42696         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42697         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42698         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42699         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42700         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42701         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42702         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42703         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42704         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42705         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42706         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42707         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42708         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42709         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42710         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42711         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42712         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42713         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42714         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42715         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42716         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42717         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42718         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42719         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42720         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42721         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42722         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42723         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42724         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42725         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42726         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42727         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42728         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42729         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42730         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42731         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42732         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42733
42734 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42735
42736         * sysdeps/x86_64/dla.h: Move to ...
42737         * sysdeps/x86_64/fpu/dla.h: ...here.
42738         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42739         situations.  Use __builtin_fma only for gcc 4.6 and up.
42740
42741         * config.make.in: Add have-mfma4 entry.
42742         * configure.in: Substitute libc_cv_cc_fma4.
42743         * math/Makefile (dbl-only-routines): Add sincostab.
42744         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42745         Use __sincostab not sincos.
42746         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42747         name is a macro.
42748         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42749         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42750         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42751         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42752         using __copysign.
42753         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42754         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42755         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42756         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42757         and __inv.
42758         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42759         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42760         __copysign.
42761         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42762         define aliases when function name is a macro.
42763         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42764         sysdeps/ieee754/dbl-64/sincos.tbl.
42765         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42766         fma4-enabled routines.
42767         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42768         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42769         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42770         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42771         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42772         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42773         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42774         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42775         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42776         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42777         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42778         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42779         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42780         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42781         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42782         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42783         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42784         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42785         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42786         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42787         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42788         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42789         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42790         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42791         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42792         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42793         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42794         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42795         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42796         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42797
42798         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42799         rename.
42800         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42801         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42802         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42803         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42804         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42805         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42806         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42807         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42808
42809 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42810
42811         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42812
42813 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42814
42815         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42816
42817         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42818         prediction.
42819         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42820
42821         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42822         Remove unused variable magic_bits.
42823         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42824
42825         * string/strnlen.c: Define and use STRNLEN macro.
42826         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42827         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42828         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42829         * wcsmbs/wcslen.c: Define and use WCSLEN.
42830         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42831         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42832         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42833         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42834         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42835         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42836         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42837
42838 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42839
42840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42841         strnlen-sse2-no-bsf.
42842         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42843         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42844         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42845         Add strnlen support.
42846         (USE_AS_STRNLEN): New macro.
42847         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42848         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42849         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42850         * sysdeps/x86_64/wcslen.S: New file.
42851
42852 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42853
42854         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42855         XMM-moves are used for copying on small sizes.
42856
42857 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42858
42859         * wcsmbs/Makefile (strop-tests): Add wcschr.
42860         * wcsmbs/test-wcschr.c: New file.
42861         * string/test-strchr.c: Update.
42862         Add wcschr support.
42863         (WIDE): New macro.
42864
42865 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42866
42867         * wcsmbs/Makefile (strop-tests): Add wcslen.
42868         * wcsmbs/test-wcslen.c: New file.
42869         * string/test-strlen.c: Update.
42870         Add wcslen support.
42871         (WIDE): New macro.
42872
42873 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42874
42875         * po/it.po: Update from translation team.
42876
42877 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42878
42879         * sysdeps/x86_64/wcscmp.S: Update.
42880         Fix wrong comparison semantics.
42881         wcscmp shall use signed comparison not unsigned.
42882         Don't use substraction to avoid overflow bug.
42883         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42884         * wcsmbc/wcscmp.c: Likewise.
42885         * string/test-strcmp.c: Likewise.
42886         Add new tests to check cases with negative values.
42887
42888 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42889
42890         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42891         * sysdeps/x86_64/dla.h: ...here.  New file.
42892         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42893         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42894         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42895         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42896         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42897         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42898         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42899         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42900         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42901
42902 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42903
42904         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42905         __ynl_finite aliases.
42906
42907 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42908
42909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42910
42911         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42912         define DLA_FMA.
42913         [DLA_FMA] (EMULV): Use DLA_FMA.
42914         [DLA_FMA] (MUL12): Use EMULV.
42915         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42916         that are not needed.
42917         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42918         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42919         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42920         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42921         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42922         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42923         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42924
42925 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42926
42927         * math/s_nan.c: Undef __nan.
42928         * math/s_nanf.c: Undef __nanf.
42929         * math/s_nanl.c: Undef __nanl.
42930         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42931         "math_private.h".
42932
42933 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42934
42935         * math/s_catan.c: Add branch predictions.
42936         * math/s_catanf.c: Likewise.
42937         * math/s_catanh.c: Likewise.
42938         * math/s_catanhf.c: Likewise.
42939         * math/s_catanhl.c: Likewise.
42940         * math/s_catanl.c: Likewise.
42941         * math/s_cexp.c: Likewise.
42942         * math/s_cexpf.c: Likewise.
42943         * math/s_cexpl.c: Likewise.
42944         * math/s_clog.c: Likewise.
42945         * math/s_clog10.c: Likewise.
42946         * math/s_clog10f.c: Likewise.
42947         * math/s_clog10l.c: Likewise.
42948         * math/s_clogf.c: Likewise.
42949         * math/s_clogl.c: Likewise.
42950         * math/s_csqrt.c: Likewise.
42951         * math/s_csqrtf.c: Likewise.
42952         * math/s_csqrtl.c: Likewise.
42953         * math/s_ctanf.c: Likewise.
42954         * math/s_ctanh.c: Likewise.
42955         * math/s_ctanhf.c: Likewise.
42956         * math/s_ctanhl.c: Likewise.
42957         * math/s_ctanl.c: Likewise.
42958
42959         * math/math_private.h: Define __nan, __nanf, __nanl.
42960         * math/s_cacosh.c: Include <math_private.h>.
42961         * math/s_cacoshl.c: Likewise.
42962         * math/s_casinh.c: Likewise.
42963         * math/s_casinhf.c: Likewise.
42964         * math/s_casinhl.c: Likewise.
42965         * math/s_ccos.c: Rely entire on ccosh.
42966         * math/s_ccosf.c: Rely entire on ccoshf.
42967         * math/s_ccosl.c: Rely entirely on ccoshl.
42968         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42969         Remove tests for FE_INVALID.
42970         * math/s_ccoshf.c: Likewise.
42971         * math/s_ccoshl.c: Likewise.
42972         * math/s_csin.c: Likewise.
42973         * math/s_csinf.c: Likewise.
42974         * math/s_csinh.c Likewise.
42975         * math/s_csinhf.c: Likewise.
42976         * math/s_csinhl.c: Likewise.
42977         * math/s_csinl.c: Likewise.
42978         * math/s_ctan.c: Likewise.
42979         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42980         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42981         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42982
42983 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42984
42985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42986         compilation problems.
42987
42988         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42989         __builtin_expect.
42990
42991 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42992
42993         * sysdeps/i386/configure.in: Test for -mfma4 option.
42994         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42995         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42996         COMMON_CPUID_INDEX_80000001.
42997         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42998         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42999         use it if FMA3 is not supported.
43000         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43001
43002         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43003         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43004
43005 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43006
43007         [BZ #12892]
43008         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43009         it would create a cycle with a link time dependency.
43010
43011 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43012
43013         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43014         instruction.
43015         * string/Makefile (strop-tests): Add rawmemchr.
43016         * string/test-rawmemchr.c: New file.
43017
43018         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43019         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43020         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43021         when compiling str{,n}casecmp and when AVX is available.  Hook up
43022         new optimized code in initializers.
43023
43024 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43025
43026         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43027         __feraiseexcept instead of feraiseexcept.
43028
43029 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43030
43031         * math/math_private.h: Define defaults for libc_fetestexcept and
43032         libc_feupdateenv.
43033         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43034         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43035         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43036         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43037         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43038         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43039         libc_fetestexcept and libc_feupdateenv.
43040
43041         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43042         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43043         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43044         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43045         libc_feholdexcept_setround.
43046
43047         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43048         Add s_nearbyint-c and s_nearbyintf-c.
43049         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43050         nearbyintf inlines.
43051         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43052         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43053         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43054         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43055
43056         * math/math_private.h: Define defaults for libc_fegetround,
43057         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43058         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43059         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43060         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43061         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43062         standard functions.
43063         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43064         Remove comments and hacks for old compiler versions.
43065         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43066         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43067         libc_feholdexceptl.
43068
43069 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43070
43071         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43072         (__feraiseexcept_renamed): Add __NTH.
43073         (feraiseexcept): Add __NTH.  Rename local variables to fix
43074         namespace violations.
43075
43076 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43077
43078         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43079
43080         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43081
43082         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43083         recently added interfaces.
43084         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43085
43086         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43087         about macro parameter expansion.
43088
43089         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43090         __NO_MATH_INLINES is defined.  Cleanups.
43091
43092         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43093         and __floorf is target has SSE4.1.
43094         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43095         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43096         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43097         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43098
43099         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43100         name.
43101         (floorf): Likewise.
43102
43103         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43104
43105 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43106
43107         * misc/sys/cdefs.h: Fix last change.
43108
43109         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43110         database lookup.
43111
43112 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43113
43114         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43115
43116         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43117         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43118         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43119         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43120         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43121         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43122         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43123         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43124         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43125         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43126         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43127         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43128         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43129         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43130         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43131         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43132         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43133         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43134         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43135         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43136         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43137         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43138
43139         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43140         ceil, ceilf, floor, floorf.
43141
43142         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43143         Perform IRELATIVE relocations last.
43144
43145         * elf/do-rel.h: Add another parameter nrelative, replacing the
43146         local variable with the same name.  Change name of the function
43147         to end in Rel or Rela (uppercase).
43148         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43149         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43150         elf_dynamic_do_##reloc function.
43151
43152 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43153
43154         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43155         is sufficient, at least on modern CPUs.
43156
43157         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43158
43159         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43160         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43161
43162         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43163         __expl_finite.
43164         * math/bits/math-finite.h: Add entries for exp.
43165         * math/e_expl.c: Add __*_finite alias.
43166         * sysdeps/i386/fpu/e_exp.S: Likewise.
43167         * sysdeps/i386/fpu/e_expf.S: Likewise.
43168         * sysdeps/i386/fpu/e_expl.c: Likewise.
43169         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43170         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43171         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43172         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43173         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43174         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43175         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43176
43177         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43178         is sufficient, at least on modern CPUs.
43179
43180         * ctype/ctype-info.c (__ctype_init): Define.
43181         * include/ctype.h (__ctype_init): Declare.
43182         (__ctype_b_loc): The variable is always initialized.
43183         (__ctype_toupper_loc): Likewise.
43184         (__ctype_tolower_loc): Likewise.
43185         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43186         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43187
43188 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43189
43190         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43191
43192         * configure.in: Also look in $cxxmachine/include for C++ system
43193         headers.
43194
43195 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43196
43197         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43198         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43199         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43200         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43201         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43202         (USE_AS_WMEMCMP): New macro.
43203         Fixing indents.
43204         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43205         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43206         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43207         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43208         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43209         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43210         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43211         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43212         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43213         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43214         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43215         (USE_AS_WMEMCMP): New macro.
43216         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43217         * sysdeps/string/test-memcmp.c: Update.
43218         Fix simple_wmemcmp.
43219         Add new tests.
43220         * wcsmbs/wmemcmp.c: Update.
43221         (WMEMCMP): New macro.
43222         Fix overflow bug.
43223
43224 2011-10-12  Andreas Jaeger  <aj@suse.de>
43225
43226         [BZ #13268]
43227         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43228
43229 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43230
43231         * libio/iofwide.c (do_length): Avoid warning.
43232
43233         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43234
43235 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43236
43237         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43238
43239         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43240         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43241         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43242         * sysdeps/i386/i686/fpu/e_log.S: New file.
43243         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43244         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43245
43246         * ctype/ctype.h: Add support for inlined isXXX functions when
43247         compiling C++ code.
43248
43249 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43250
43251         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43252
43253         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43254
43255 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43256
43257         [BZ #13291]
43258         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43259
43260 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43261
43262         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43263         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43264         feraiseexcept.
43265
43266         * sysdeps/x86_64/memrchr.S: Check for zero size.
43267
43268         * string/stratcliff.c: Add memrchr tests.
43269
43270 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43271
43272         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43273         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43274         rawmemchr-sse2 rawmemchr-sse2-bsf.
43275         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43276         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43277         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43278         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43279         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43280         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43281         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43282         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43283         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43284         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43285         * string/memrchr.c (MEMRCHR): New macro.
43286
43287 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43288
43289         Add integration with gcc's -ffinite-math-only and optimize wrapper
43290         functions in libm.
43291         * Versions.def: Define GLIBC_2.15 version for libm.
43292         * math/Makefile (headers): Add bits/math-finite.h.
43293         * math/bits/math-finite.h: New file.
43294         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43295         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43296         * math/e_acoshl.c: Add __*_finite alias.
43297         * math/e_acosl.c: Likewise.
43298         * math/e_asinl.c: Likewise.
43299         * math/e_atan2l.c: Likewise.
43300         * math/e_atanhl.c: Likewise.
43301         * math/e_coshl.c: Likewise.
43302         * math/e_exp10.c: Likewise.
43303         * math/e_exp10f.c: Likewise.
43304         * math/e_exp10l.c: Likewise.
43305         * math/e_exp2l.c: Likewise.
43306         * math/e_fmodl.c: Likewise.
43307         * math/e_gammal_r.c: Likewise.
43308         * math/e_hypotl.c: Likewise.
43309         * math/e_j0l.c: Likewise.
43310         * math/e_j1l.c: Likewise.
43311         * math/e_jnl.c: Likewise.
43312         * math/e_lgammal_r.c: Likewise.
43313         * math/e_log10l.c: Likewise.
43314         * math/e_log2l.c: Likewise.
43315         * math/e_logl.c: Likewise.
43316         * math/e_powl.c: Likewise.
43317         * math/e_sinhl.c: Likewise.
43318         * math/e_sqrtl.c: Likewise.
43319         * math/e_scalb.c: Completely rewritten and optimized.
43320         * math/e_scalbf.c: Likewise.
43321         * math/e_scalbl.c: Likewise.
43322         * math/w_acos.c: Likewise.
43323         * math/w_acosf.c: Likewise.
43324         * math/w_acosl.c: Likewise.
43325         * math/w_acosh.c: Likewise.
43326         * math/w_acoshf.c: Likewise.
43327         * math/w_acoshl.c: Likewise.
43328         * math/w_asin.c: Likewise.
43329         * math/w_asinf.c: Likewise.
43330         * math/w_asinl.c: Likewise.
43331         * math/w_atan2.c: Likewise.
43332         * math/w_atan2f.c: Likewise.
43333         * math/w_atan2l.c: Likewise.
43334         * math/w_atanh.c: Likewise.
43335         * math/w_atanhf.c: Likewise.
43336         * math/w_atanhl.c: Likewise.
43337         * math/w_exp10.c: Likewise.
43338         * math/w_exp10f.c: Likewise.
43339         * math/w_exp10l.c: Likewise.
43340         * math/w_fmod.c: Likewise.
43341         * math/w_fmodf.c: Likewise.
43342         * math/w_fmodl.c: Likewise.
43343         * math/w_j0.c: Likewise.
43344         * math/w_j0f.c: Likewise.
43345         * math/w_j0l.c: Likewise.
43346         * math/w_j1.c: Likewise.
43347         * math/w_j1f.c: Likewise.
43348         * math/w_j1l.c: Likewise.
43349         * math/w_jn.c: Likewise.
43350         * math/w_jnf.c: Likewise.
43351         * math/w_log.c: Likewise.
43352         * math/w_logf.c: Likewise.
43353         * math/w_logl.c: Likewise.
43354         * math/w_log10.c: Likewise.
43355         * math/w_log10f.c: Likewise.
43356         * math/w_log10l.c: Likewise.
43357         * math/w_log2.c: Likewise.
43358         * math/w_log2f.c: Likewise.
43359         * math/w_log2l.c: Likewise.
43360         * math/w_pow.c: Likewise.
43361         * math/w_powf.c: Likewise.
43362         * math/w_powl.c: Likewise.
43363         * math/w_remainder.c: Likewise.
43364         * math/w_remainderf.c: Likewise.
43365         * math/w_remainderl.c: Likewise.
43366         * math/w_scalb.c: Likewise.
43367         * math/w_scalbf.c: Likewise.
43368         * math/w_scalbl.c: Likewise.
43369         * math/w_sqrt.c: Likewise.
43370         * math/w_sqrtf.c: Likewise.
43371         * math/w_sqrtl.c: Likewise.
43372         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43373         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43374         used.
43375         * math/math_private.h: Declare __kernel_standard_f.
43376         * math/w_cosh.c: Remove cruft and optimize a bit.
43377         * math/w_coshf.c: Likewise.
43378         * math/w_coshl.c: Likewise.
43379         * math/w_exp2.c: Likewise.
43380         * math/w_exp2f.c: Likewise.
43381         * math/w_exp2l.c: Likewise.
43382         * math/w_hypot.c: Likewise.
43383         * math/w_hypotf.c: Likewise.
43384         * math/w_hypotl.c: Likewise.
43385         * math/w_lgamma.c: Likewise.
43386         * math/w_lgamma_r.c: Likewise.
43387         * math/w_lgammaf.c: Likewise.
43388         * math/w_lgammaf_r.c: Likewise.
43389         * math/w_lgammal.c: Likewise.
43390         * math/w_lgammal_r.c: Likewise.
43391         * math/w_sinh.c: Likewise.
43392         * math/w_sinhf.c: Likewise.
43393         * math/w_sinhl.c: Likewise.
43394         * math/w_tgamma.c: Likewise.
43395         * math/w_tgammaf.c: Likewise.
43396         * math/w_tgammal.c: Likewise.
43397         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43398         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43399         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43400         Minor optimizations.  Pretty printing.  Remove cruft.
43401         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43402         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43403         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43404         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43405         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43406         * sysdeps/i386/fpu/e_asin.S: Likewise.
43407         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43408         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43409         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43410         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43411         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43412         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43413         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43414         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43415         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43416         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43417         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43418         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43419         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43420         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43421         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43422         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43423         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43424         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43425         * sysdeps/i386/fpu/e_log.S: Likewise.
43426         * sysdeps/i386/fpu/e_log10.S: Likewise.
43427         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43428         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43429         * sysdeps/i386/fpu/e_log2.S: Likewise.
43430         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43431         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43432         * sysdeps/i386/fpu/e_logf.S: Likewise.
43433         * sysdeps/i386/fpu/e_logl.S: Likewise.
43434         * sysdeps/i386/fpu/e_pow.S: Likewise.
43435         * sysdeps/i386/fpu/e_powf.S: Likewise.
43436         * sysdeps/i386/fpu/e_powl.S: Likewise.
43437         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43438         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43439         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43440         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43441         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43442         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43443         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43444         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43445         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43446         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43447         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43448         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43449         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43450         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43451         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43452         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43453         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43454         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43455         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43456         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43457         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43458         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43459         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43460         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43461         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43462         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43463         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43464         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43465         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43466         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43467         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43468         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43469         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43470         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43471         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43472         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43473         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43474         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43475         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43476         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43477         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43478         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43479         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43480         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43481         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43482         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43483         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43484         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43485         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43486         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43487         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43488         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43489         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43490         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43491         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43492         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43493         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43494         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43495         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43496         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43497         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43498         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43499         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43500         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43501         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43502         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43503         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43504         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43505         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43506         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43507         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43508         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43509         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43510         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43511         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43512         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43513         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43514         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43515         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43516         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43517         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43518         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43519         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43520         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43521         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43522         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43523         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43524         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43525         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43526         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43527         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43528         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43529         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43530         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43531         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43532         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43533         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43534         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43535         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43536         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43537         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43538         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43539         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43540         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43541         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43542         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43543         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43544         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43545         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43546         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43547         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43548         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43549         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43550         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43551         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43552         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43553         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43554         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43555         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43556         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43557         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43558         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43559         (__isnanf): Likewise.
43560         (__isinf_ns): Likewise.
43561         (__isinf_nsf): Likewise.
43562         (__finite): Likewise.
43563         (__finitef): Likewise.
43564         (__ieee754_sqrt): Define as macro.
43565         (__ieee754_sqrtf): Define as macro.
43566         (__ieee754_sqrtl): Define as macro.
43567         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43568         inlined copy.
43569         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43570         __FINITE_MATH_ONLY__ consistent.
43571         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43572
43573 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43574
43575         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43576         of rawmemchr.
43577
43578         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43579
43580 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43581
43582         * po/ja.po: Update from translation team.
43583
43584 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43585
43586         * locale/programs/locarchive.c (prepare_address_space): New function.
43587         (create_archive, enlarge_archive, open_archive): Use it.
43588
43589         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43590         inside [SHARED], where it is used.
43591
43592         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43593
43594         * nss/getent.c (netgroup_keys): Remove unused variable.
43595         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43596
43597 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43598
43599         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43600         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43601         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43602         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43603         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43604         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43605         * math/Makefile (libm-calls): Add s_isinf_ns.
43606         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43607         * math/multc3.c: Likewise.
43608         * math/s_casin.c: Likewise.
43609         * math/s_casinf.c: Likewise.
43610         * math/s_casinl.c: Likewise.
43611         * math/s_ccos.c: Likewise.
43612         * math/s_ccosf.c: Likewise.
43613         * math/s_ccosl.c: Likewise.
43614         * math/s_ctan.c: Likewise.
43615         * math/s_ctanf.c: Likewise.
43616         * math/s_ctanh.c: Likewise.
43617         * math/s_ctanhf.c: Likewise.
43618         * math/s_ctanhl.c: Likewise.
43619         * math/s_ctanl.c: Likewise.
43620         * math/w_fmod.c: Likewise.
43621         * math/w_fmodf.c: Likewise.
43622         * math/w_fmodl.c: Likewise.
43623         * math/w_remainder.c: Likewise.
43624         * math/w_remainderf.c: Likewise.
43625         * math/w_remainderl.c: Likewise.
43626         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43627         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43628         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43629         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43630         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43631         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43632         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43633         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43634
43635         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43636         of the number.
43637         * stdio-common/printf_fphex.c: Likewise.
43638         * stdio-common/printf_size.c: Likewise.
43639
43640         * math/e_exp10.c: Include math_private.h using <...> not "...".
43641         * math/e_exp10f.c: Likewise.
43642         * math/e_exp10l.c: Likewise.
43643         * math/e_exp2l.c: Likewise.
43644         * math/e_j0l.c: Likewise.
43645         * math/e_j1l.c: Likewise.
43646         * math/e_jnl.c: Likewise.
43647         * math/e_lgammal_r.c: Likewise.
43648         * math/e_rem_pio2l.c: Likewise.
43649         * math/e_scalb.c: Likewise.
43650         * math/e_scalbf.c: Likewise.
43651         * math/e_scalbl.c: Likewise.
43652         * math/k_cosl.c: Likewise.
43653         * math/k_sinl.c: Likewise.
43654         * math/k_tanl.c: Likewise.
43655         * math/s_cacoshf.c: Likewise.
43656         * math/s_catan.c: Likewise.
43657         * math/s_catanf.c: Likewise.
43658         * math/s_catanh.c: Likewise.
43659         * math/s_catanhf.c: Likewise.
43660         * math/s_catanhl.c: Likewise.
43661         * math/s_catanl.c: Likewise.
43662         * math/s_ccosh.c: Likewise.
43663         * math/s_ccoshf.c: Likewise.
43664         * math/s_ccoshl.c: Likewise.
43665         * math/s_cexp.c: Likewise.
43666         * math/s_cexpf.c: Likewise.
43667         * math/s_cexpl.c: Likewise.
43668         * math/s_clog.c: Likewise.
43669         * math/s_clog10.c: Likewise.
43670         * math/s_clog10f.c: Likewise.
43671         * math/s_clog10l.c: Likewise.
43672         * math/s_clogf.c: Likewise.
43673         * math/s_clogl.c: Likewise.
43674         * math/s_csin.c: Likewise.
43675         * math/s_csinf.c: Likewise.
43676         * math/s_csinh.c: Likewise.
43677         * math/s_csinhf.c: Likewise.
43678         * math/s_csinhl.c: Likewise.
43679         * math/s_csinl.c: Likewise.
43680         * math/s_csqrt.c: Likewise.
43681         * math/s_csqrtf.c: Likewise.
43682         * math/s_csqrtl.c: Likewise.
43683         * math/s_ctan.c: Likewise.
43684         * math/s_ctanf.c: Likewise.
43685         * math/s_ctanh.c: Likewise.
43686         * math/s_ctanhf.c: Likewise.
43687         * math/s_ctanhl.c: Likewise.
43688         * math/s_ctanl.c: Likewise.
43689         * math/s_ldexp.c: Likewise.
43690         * math/s_ldexpf.c: Likewise.
43691         * math/s_ldexpl.c: Likewise.
43692         * math/s_significand.c: Likewise.
43693         * math/s_significandf.c: Likewise.
43694         * math/s_significandl.c: Likewise.
43695         * math/w_acos.c: Likewise.
43696         * math/w_acosf.c: Likewise.
43697         * math/w_acosh.c: Likewise.
43698         * math/w_acoshf.c: Likewise.
43699         * math/w_acoshl.c: Likewise.
43700         * math/w_acosl.c: Likewise.
43701         * math/w_asin.c: Likewise.
43702         * math/w_asinf.c: Likewise.
43703         * math/w_asinl.c: Likewise.
43704         * math/w_atan2.c: Likewise.
43705         * math/w_atan2f.c: Likewise.
43706         * math/w_atan2l.c: Likewise.
43707         * math/w_atanh.c: Likewise.
43708         * math/w_atanhf.c: Likewise.
43709         * math/w_atanhl.c: Likewise.
43710         * math/w_cosh.c: Likewise.
43711         * math/w_coshf.c: Likewise.
43712         * math/w_coshl.c: Likewise.
43713         * math/w_dremf.c: Likewise.
43714         * math/w_exp10.c: Likewise.
43715         * math/w_exp10f.c: Likewise.
43716         * math/w_exp10l.c: Likewise.
43717         * math/w_exp2.c: Likewise.
43718         * math/w_exp2f.c: Likewise.
43719         * math/w_fmod.c: Likewise.
43720         * math/w_fmodf.c: Likewise.
43721         * math/w_fmodl.c: Likewise.
43722         * math/w_hypot.c: Likewise.
43723         * math/w_hypotf.c: Likewise.
43724         * math/w_hypotl.c: Likewise.
43725         * math/w_j0.c: Likewise.
43726         * math/w_j0f.c: Likewise.
43727         * math/w_j0l.c: Likewise.
43728         * math/w_j1.c: Likewise.
43729         * math/w_j1f.c: Likewise.
43730         * math/w_j1l.c: Likewise.
43731         * math/w_jn.c: Likewise.
43732         * math/w_jnf.c: Likewise.
43733         * math/w_jnl.c: Likewise.
43734         * math/w_lgamma.c: Likewise.
43735         * math/w_lgamma_r.c: Likewise.
43736         * math/w_lgammaf.c: Likewise.
43737         * math/w_lgammaf_r.c: Likewise.
43738         * math/w_lgammal.c: Likewise.
43739         * math/w_lgammal_r.c: Likewise.
43740         * math/w_log.c: Likewise.
43741         * math/w_log10.c: Likewise.
43742         * math/w_log10f.c: Likewise.
43743         * math/w_log10l.c: Likewise.
43744         * math/w_log2.c: Likewise.
43745         * math/w_log2f.c: Likewise.
43746         * math/w_log2l.c: Likewise.
43747         * math/w_logf.c: Likewise.
43748         * math/w_logl.c: Likewise.
43749         * math/w_pow.c: Likewise.
43750         * math/w_powf.c: Likewise.
43751         * math/w_powl.c: Likewise.
43752         * math/w_remainder.c: Likewise.
43753         * math/w_remainderf.c: Likewise.
43754         * math/w_remainderl.c: Likewise.
43755         * math/w_scalb.c: Likewise.
43756         * math/w_scalbf.c: Likewise.
43757         * math/w_scalbl.c: Likewise.
43758         * math/w_sinh.c: Likewise.
43759         * math/w_sinhf.c: Likewise.
43760         * math/w_sinhl.c: Likewise.
43761         * math/w_sqrt.c: Likewise.
43762         * math/w_sqrtf.c: Likewise.
43763         * math/w_sqrtl.c: Likewise.
43764         * math/w_tgamma.c: Likewise.
43765         * math/w_tgammaf.c: Likewise.
43766         * math/w_tgammal.c: Likewise.
43767
43768         * po/ja.po: Update from translation team.
43769
43770 2011-09-29  Andreas Jaeger  <aj@suse.de>
43771
43772         [BZ #13179]
43773         * sunrpc/netname.c (netname2host): Fix logic.
43774
43775         [BZ #6779]
43776         [BZ #6783]
43777         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43778         correctly.
43779         * math/w_remainder.c (__remainder): Likewise.
43780         * math/w_remainderf.c (__remainderf): Likewise.
43781         * math/libm-test.inc (remainder_test): Add test cases.
43782
43783 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43784
43785         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43786         sdiv_qrnnd.
43787
43788 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43789
43790         * string/test-memcmp.c: Avoid unncessary #defines.
43791         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43792
43793 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43794
43795         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43796         Use new sse2 version for core i3 - i7 as it's faster
43797         than sse42 version.
43798         (bit_Prefer_PMINUB_for_stringop): New.
43799         * sysdeps/x86_64/rawmemchr.S: Update.
43800         Replace with faster SSE2 version.
43801         * sysdeps/x86_64/memrchr.S: New file.
43802         * sysdeps/x86_64/memchr.S: Update.
43803         Replace with faster SSE2 version.
43804
43805 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43806
43807         * elf/dl-load.c (lose): Add cast to avoid warning.
43808
43809 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43810
43811         * po/ca.po: Update from translation team.
43812
43813         * inet/getnetgrent_r.c: Hook up nscd.
43814         * nscd/Makefile (routines): Add nscd_netgroup.
43815         (nscd-modules): Add netgroupcache.
43816         (CFLAGS-netgroupcache.c): Define.
43817         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43818         (cache_search): Add const to second parameter.
43819         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43820         INNETGR.
43821         (dbs): Add netgrdb entry.
43822         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43823         (verify_persistent_db): Handle netgrdb.
43824         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43825         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43826         GETFDNETGR.
43827         (netgroup_response_header): Define.
43828         (innetgroup_response_header): Define.
43829         (datahead): Add netgroup_response_header and innetgroup_response_header
43830         elements.
43831         * nscd/nscd.conf: Add entries for netgroup cache.
43832         * nscd/nscd.h (dbtype): Add netgrdb.
43833         (_PATH_NSCD_NETGROUP_DB): Define.
43834         (netgroup_iov_disabled): Declare.
43835         (xmalloc, xcalloc, xrealloc): Move declarations here.
43836         (cache_search): Adjust prototype.
43837         Add netgroup-related prototypes.
43838         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43839         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43840         (__nscd_innetgr): Declare.
43841         * nscd/selinux.c (perms): Use access_vector_t as element type and
43842         add netgroup-related initializers.
43843         * nscd/netgroupcache.c: New file.
43844         * nscd/nscd_netgroup.c: New file.
43845         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43846         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43847         For four parameters use innetgr.
43848         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43849         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43850         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43851         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43852
43853         * nscd/connections.c (register_traced_file): Don't register file
43854         for disabled databases.
43855
43856 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43857
43858         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43859
43860         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43861         from tree and freeing node.
43862
43863 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43864
43865         * nss/nsswitch.c (__nss_database_lookup): Handle
43866         nss_parse_service_list out of memory case.
43867
43868 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43869
43870         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43871         out of memory case.
43872
43873 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43874
43875         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43876         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43877         pass it down.
43878         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43879         elf_machine_rela, elf_machine_lazy_rel.
43880         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43881         (ELF_DYNAMIC_DO_REL): Likewise.
43882         (ELF_DYNAMIC_DO_RELA): Likewise.
43883         (ELF_DYNAMIC_RELOCATE): Likewise.
43884         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43885         to ELF_DYNAMIC_DO_REL.
43886         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43887         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43888         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43889         elf_machine_rela.
43890         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43891         skip_ifunc, don't call ifunc function if non-zero.
43892         (elf_machine_rela): Likewise.
43893         (elf_machine_lazy_rel): Likewise.
43894         (elf_machine_lazy_rela): Likewise.
43895         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43896         (elf_machine_lazy_rel): Likewise.
43897         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43898         Likewise.
43899         (elf_machine_lazy_rel): Likewise.
43900         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43901         Likewise.
43902         (elf_machine_lazy_rel): Likewise.
43903         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43904         (elf_machine_lazy_rel): Likewise.
43905         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43906         (elf_machine_lazy_rel): Likewise.
43907         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43908         (elf_machine_lazy_rel): Likewise.
43909         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43910         (elf_machine_lazy_rel): Likewise.
43911         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43912         (elf_machine_lazy_rel): Likewise.
43913         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43914         (elf_machine_lazy_rel): Likewise.
43915
43916 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43917
43918         * nss/nss_files/files-init.c (_nss_files_init): Use static
43919         initialization for all the *_traced_file variables.
43920
43921 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43922
43923         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43924
43925 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43926
43927         [BZ #13226]
43928         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43929
43930 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43931
43932         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43933         Reread the line before reparsing it.
43934
43935 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43936
43937         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43938
43939 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43940             Maxim Kuvyrkov  <maxim@codesourcery.com>
43941             Joseph Myers  <joseph@codesourcery.com>
43942
43943         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43944         if needed for __stack_chk_guard.
43945
43946 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43947
43948         * sysdeps/posix/spawni.c (script_execute): Always define it.
43949         It will be optimized away if unused.
43950         (maybe_script_execute): New function.
43951         (__spawni): Call it.
43952
43953         * Makerules: Don't include tls.make.
43954         (config-tls): Always set to thread.
43955         * tls.make.c: File removed.
43956
43957 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43958
43959         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43960         * config.make.in (CPPFLAGS-config): New substituted variable.
43961
43962 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43963
43964         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43965
43966         [BZ #13192]
43967         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43968         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43969
43970 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43971
43972         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43973         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43974         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43975         (CALL_FAIL): Likewise.
43976         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43977         (CALL_FAIL): Macro removed.
43978         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43979
43980 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43981
43982         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43983         for __FINITE_MATH_ONLY__ == 1.
43984
43985 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43986
43987         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43988         __ieee754_sqrt instead of sqrt.
43989         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43990         __ieee754_sqrtf instead of sqrtf.
43991         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43992         __floorf instead of floorf.
43993         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43994         __floorf, __truncf instead of floorf, truncf.
43995
43996 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43997
43998         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43999
44000         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44001         __extern_always_inline.
44002         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44003         32-bit.
44004
44005 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44006
44007         * elf/rtld.c (dl_main): Also relocate in dependency order when
44008         doing symbol dependency testing.
44009
44010 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44011
44012         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44013         Always define `refsym'.
44014
44015 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44016
44017         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44018         (__FD_ELT): Renamed from __FDELT.
44019         * misc/bits/select2.h (__FD_ELT): Likewise.
44020         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44021         __FD_MASK instead of __FDELT, __FDMASK.
44022         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44023         Likewise.
44024         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44025         Likewise.
44026
44027         * elf/Makefile (gen-ldd): Fix pattern.
44028
44029         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44030         (init_tls): Likewise.
44031
44032 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44033
44034         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44035
44036 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44037
44038         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44039         `struct cmsghdr *' instead of `void *'.
44040         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44041         Likewise.
44042
44043 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44044
44045         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44046         if non-absolute.
44047         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44048         ldd_rewrite_script.
44049
44050 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44051
44052         * configure.in: Remove --with-tls option.
44053         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44054         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44055         out in case it is missing.
44056         * sysdeps/ia64/elf/configure.in: Likewise.
44057         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44058         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44059         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44060         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44061         * sysdeps/sh/elf/configure.in: Likewise.
44062         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44063         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44064         * sysdeps/x86_64/elf/configure.in: Likewise.
44065         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44066         * sysdeps/mach/hurd/tls.h: Likewise.
44067
44068         [BZ #13067]
44069         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44070
44071         [BZ #13090]
44072         * configure.in: Fix use of AC_INIT.
44073
44074         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44075
44076 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44077
44078         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44079         __set_errno.
44080         * malloc/hooks.c: Likewise.
44081
44082         [BZ #11929]
44083         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44084         variables statically.
44085         (narenas): Initialize.
44086         (list_lock): Initialize.
44087         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44088         initializtion of main_arena and list_lock.  Small cleanups.
44089         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44090         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44091         Add initializers to main_arena and mp_.
44092         (malloc_state): Remove pagesize member.  Change all users to use
44093         GLRO(dl_pagesize).
44094
44095         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44096         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44097         is always initialized.
44098
44099         * malloc/malloc.c: Removed unused configurations and dead code.
44100         * malloc/arena.c: Likewise.
44101         * malloc/hooks.c: Likewise.
44102         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44103
44104         * include/tls.h: Removed.  USE___THREAD must always be defined.
44105         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44106         * elf/dl-libc.c: Likewise.
44107         * elf/dl-tsd.c: Likewise.
44108         * include/errno.h: Likewise.
44109         * include/netdb.h: Likewise.
44110         * include/resolv.h: Likewise.
44111         * inet/herrno-loc.c: Likewise.
44112         * inet/herrno.c: Likewise.
44113         * malloc/arena.c: Likewise.
44114         * malloc/hooks.c: Likewise.
44115         * malloc/malloc.c: Likewise.
44116         * resolv/res-state.c: Likewise.
44117         * resolv/res_libc.c: Likewise.
44118         * sysdeps/i386/dl-machine.h: Likewise.
44119         * sysdeps/ia64/dl-machine.h: Likewise.
44120         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44121         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44122         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44123         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44124         * sysdeps/sh/dl-machine.h: Likewise.
44125         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44126         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44127         * sysdeps/unix/i386/sysdep.S: Likewise.
44128         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44129         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44130         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44131         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44132         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44133         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44134         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44135         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44136         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44137         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44138         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44139         * sysdeps/x86_64/dl-machine.h: Likewise.
44140         * tls.make.c: Likewise.
44141
44142         * configure.in: Remove --with-__thread option.  Make tests for
44143         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44144         tls_model attribute fail if no support is available.  Remove
44145         USE_IN_LIBIO.
44146         * Makeconfig: Adjust for dropped configure option.  All features are
44147         now mandatory.
44148         * Makerules: Likewise.
44149         * Versions.def: Likewise.
44150         * argp/argp-fmtstream.c: Likewise.
44151         * argp/argp-fmtstream.h: Likewise.
44152         * argp/argp-help.c: Likewise.
44153         * assert/assert.c: Likewise.
44154         * config.h.in: Likewise.
44155         * config.make.in: Likewise.
44156         * configure: Likewise.
44157         * configure.in: Likewise.
44158         * csu/Versions: Likewise.
44159         * csu/init.c: Likewise.
44160         * elf/tst-audit2.c: Likewise.
44161         * elf/tst-tls10.c: Likewise.
44162         * elf/tst-tls10.h: Likewise.
44163         * elf/tst-tls11.c: Likewise.
44164         * elf/tst-tls12.c: Likewise.
44165         * elf/tst-tls14.c: Likewise.
44166         * elf/tst-tlsmod11.c: Likewise.
44167         * elf/tst-tlsmod12.c: Likewise.
44168         * elf/tst-tlsmod13.c: Likewise.
44169         * elf/tst-tlsmod13a.c: Likewise.
44170         * elf/tst-tlsmod14a.c: Likewise.
44171         * elf/tst-tlsmod15b.c: Likewise.
44172         * elf/tst-tlsmod16a.c: Likewise.
44173         * elf/tst-tlsmod16b.c: Likewise.
44174         * elf/tst-tlsmod7.c: Likewise.
44175         * elf/tst-tlsmod8.c: Likewise.
44176         * elf/tst-tlsmod9.c: Likewise.
44177         * gmon/gmon.c: Likewise.
44178         * grp/fgetgrent_r.c: Likewise.
44179         * grp/putgrent.c: Likewise.
44180         * hurd/fopenport.c: Likewise.
44181         * include/libc-symbols.h: Likewise.
44182         * include/tls.h: Likewise.
44183         * intl/gettextP.h: Likewise.
44184         * intl/loadinfo.h: Likewise.
44185         * locale/global-locale.c: Likewise.
44186         * locale/localeinfo.h: Likewise.
44187         * mach/devstream.c: Likewise.
44188         * malloc/arena.c: Likewise.
44189         * malloc/set-freeres.c: Likewise.
44190         * misc/err.c: Likewise.
44191         * misc/getttyent.c: Likewise.
44192         * misc/mntent_r.c: Likewise.
44193         * posix/getopt.c: Likewise.
44194         * posix/wordexp.c: Likewise.
44195         * pwd/fgetpwent_r.c: Likewise.
44196         * resolv/Versions: Likewise.
44197         * resolv/res_hconf.c: Likewise.
44198         * shadow/fgetspent_r.c: Likewise.
44199         * shadow/putspent.c: Likewise.
44200         * stdio-common/printf_fphex.c: Likewise.
44201         * stdio-common/tmpfile.c: Likewise.
44202         * stdlib/abort.c: Likewise.
44203         * stdlib/fmtmsg.c: Likewise.
44204         * sunrpc/auth_unix.c: Likewise.
44205         * sunrpc/clnt_perr.c: Likewise.
44206         * sunrpc/clnt_tcp.c: Likewise.
44207         * sunrpc/clnt_udp.c: Likewise.
44208         * sunrpc/clnt_unix.c: Likewise.
44209         * sunrpc/openchild.c: Likewise.
44210         * sunrpc/svc_simple.c: Likewise.
44211         * sunrpc/svc_tcp.c: Likewise.
44212         * sunrpc/svc_udp.c: Likewise.
44213         * sunrpc/svc_unix.c: Likewise.
44214         * sunrpc/xdr.c: Likewise.
44215         * sunrpc/xdr_array.c: Likewise.
44216         * sunrpc/xdr_rec.c: Likewise.
44217         * sunrpc/xdr_ref.c: Likewise.
44218         * sunrpc/xdr_stdio.c: Likewise.
44219
44220 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44221
44222         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44223
44224 2011-07-03  Andreas Jaeger  <aj@suse.de>
44225
44226         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44227         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44228         regenerate with gen-libm-tests.pl.
44229
44230 2010-05-12  Petr Baudis  <pasky@suse.cz>
44231
44232         [BZ #11589]
44233         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44234         around j0() zero points by switching to j1().
44235         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44236         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44237         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44238         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44239
44240 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44241
44242         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44243         instead of 0.
44244         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44245         instead of 0.
44246         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44247         Patch in part by Pavel Roskin <proski@gnu.org>.
44248
44249         [BZ #13138]
44250         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44251         realloc.
44252         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44253         Free memory block if necessary.
44254
44255         [BZ #12847]
44256         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44257         be NULL.  Don't lock in this case.
44258
44259 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44260
44261         * elf/elf.h (ELFOSABI_GNU): New macro.
44262         (ELFOSABI_LINUX): Define to that.
44263
44264 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44265
44266         * string/strncat.c (strncat): Undef the symbol in case it has been
44267         defined in bits/string.h.
44268
44269 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44270
44271         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44272
44273         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44274         link map.
44275
44276 2011-08-17  Andreas Jaeger  <aj@suse.de>
44277
44278         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44279
44280 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44281             Ian Lance Taylor  <iant@google.com>
44282
44283         * math/libm-test.inc (lround_test): New testcase.
44284         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44285
44286 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44287
44288         * Makefile: Remove support for automatic cvs check-ins.
44289         * Makerules: Likewise.
44290         * config.make.in: Likewise.
44291         * configure.in: Likewise.
44292         * intl/Makefile: Likewise.
44293         * locale/Makefile: Likewise.
44294         * po/Makefile: Likewise.
44295         * posix/Makefile: Likewise.
44296         * sysdeps/gnu/Makefile: Likewise.
44297         * sysdeps/mach/hurd/Makefile: Likewise.
44298         * sysdeps/sparc/sparc32/Makefile: Likewise.
44299
44300         [BZ #13118]
44301         * posix/Makefile (bug-regex32-ENV): Define.
44302         Patch by John Stanley <jpsinthemix@verizon.net>.
44303
44304         * misc/Makefile (headers): Add bits/select2.h.
44305         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44306         * misc/bits/select2.h: New file.
44307         * include/bits/select2.h: New file.
44308         * debug/Makefile (routines): Add fdelt_chk.
44309         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44310         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44311         FD_ISSET.
44312         * debug/fdelt_chk.c: New file.
44313
44314         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44315         * wcsmbs/test-wmemcmp.c: Likewise.
44316         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44317         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44318
44319 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44320
44321         * string/Makefile (strop-tests): Add memcmp.
44322         * string/test-wmemcmp.c: New file.
44323         * string/test-memcmp.c: Add wmemcmp support.
44324
44325 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44326
44327         [BZ #13153]
44328         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44329         2011-07-19 change.
44330
44331         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44332         garbage value in a __mach_port_mod_refs call in the cases of the
44333         task-self and thread-self ports.
44334
44335 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44336
44337         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44338
44339 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44340
44341         * elf/dl-load.c (lose): Check for non-null L.
44342
44343 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44344
44345         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44346
44347         * elf/dl-libc.c (dlerror_run): Pass back error code from
44348         dl_catch_error.
44349
44350         [BZ #13123]
44351         * elf/dl-load.c (lose): Free l_origin if it is valid.
44352
44353         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44354         names.
44355         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44356         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44357         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44358         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44359         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44360         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44361
44362 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44363
44364         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44365         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44366         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44367         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44368         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44369         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44370         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44371         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44372         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44373         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44374
44375 2011-08-15  Alan Modra  <amodra@gmail.com>
44376
44377         [BZ #13092]
44378         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44379         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44380         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44381         ppc_mcount to static-only-routines.
44382         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44383         __mcount_internal.
44384         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44385         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44386
44387 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44388
44389         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44390         for finite and infinity parameters.
44391
44392 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44393
44394         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44395         and add nop instructions for throughput optimization.
44396         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44397
44398 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44399
44400         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44401         aligned copy for power7 with vector-scalar instructions.
44402         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44403
44404 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44405
44406         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44407         AVX check.
44408
44409 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44410
44411         [BZ #13144]
44412         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44413         last change.
44414
44415 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44416
44417         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44418         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44419         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44420         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44421         clock_gettime.
44422
44423 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44424
44425         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44426         Forgot to demangle the pointer.
44427
44428         * sysdeps/i386/sysdep.h: Define atom_text_section.
44429         * sysdeps/x86_64/sysdep.h: Likewise.
44430         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44431         section with atom_text_section.
44432         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44433         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44434         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44435         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44436         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44437
44438         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44439         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44440         already be defined.  Change to take two parameters and don't assign
44441         result to variable.  Adjust all users.
44442         Define INTERNAL_GETTIME if not already defined.
44443         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44444         call.
44445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44446         HAVE_CLOCK_GETTIME_VSYSCALL.
44447         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44448
44449         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44450         gettimeofday vsyscall, just use time.
44451
44452 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44453
44454         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44455         <errno.h>.
44456
44457 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44458
44459         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44460         syscall on x86-64.
44461         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44462         syscall.
44463         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44464         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44465         syscall if possible.
44466
44467 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44468
44469         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44470         e_ident.  Don't pass to find_mapsXX.
44471         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44472
44473 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44474
44475         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44476         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44477         * sysdeps/x86_64/multiarch/strchr.S: Update.
44478         Check bit_slow_BSF bit.
44479         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44480         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44481         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44482
44483 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44484
44485         [BZ #13134]
44486         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44487         before glibc 2.15.
44488         (tryshell): Define.
44489         (__spawni): Change last parameter to be flag.  Test
44490         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44491         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44492         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44493         * posix/spawni.c: Likewise.
44494         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44495         * posix/spawnp.c: Likewise.  Change normal version to use
44496         SPAWN_XFLAGS_USE_PATH.
44497         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44498         SPAWN_XFLAGS_TRY_SHELL.
44499
44500         [BZ #13150]
44501         * posix/glob.h: Remove gcc 1.x support.
44502
44503         [BZ #13068]
44504         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44505
44506 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44507
44508         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44509         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44510         strrchr-sse2-bsf
44511         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44512         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44513         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44514         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44515         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44516         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44517
44518 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44519
44520         * sysdeps/x86_64/wcscmp.S: New file.
44521
44522         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44523         wcscmp-c wcscmp-sse2
44524         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44525         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44526         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44527         * wcsmbs/wcscmp.c: Allow renaming.
44528
44529 2011-09-05  David S. Miller  <davem@davemloft.net>
44530
44531         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44532         stack slot, rather than the struct return pointer slot.
44533         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44534         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44536         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44537
44538 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44539
44540         * po/ja.po: Update from translation team.
44541
44542         [BZ #13144]
44543         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44544         kernel in 64-bit binaries.
44545
44546 2011-09-01  David S. Miller  <davem@davemloft.net>
44547
44548         * elf/elf.h (HWCAP_SPARC_*): Move to..
44549         * sysdeps/sparc/sysdep.h: this new file and add new values.
44550         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44551         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44552         _DL_HWCAP_COUNT to 24.
44553         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44554         entries.
44555         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44556         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44557         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44558         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44559         instead of magic constants.
44560         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44561
44562 2011-08-31  David S. Miller  <davem@davemloft.net>
44563
44564         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44566         Reimplement to do errno handling inline.
44567         (SYSCALL_ERROR_HANDLER): New macro.
44568         (__SYSCALL_STRING): Do not do errno handling in asm.
44569         (__CLONE_SYSCALL_STRING): Delete.
44570         (__INTERNAL_SYSCALL_STRING): Delete.
44571         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44572         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44573         (PSEUDO): Reimplement to do errno handling inline.
44574         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44575         (SYSCALL_ERROR_HANDLER): New macro.
44576         (__SYSCALL_STRING): Do not do errno handling in asm.
44577         (__CLONE_SYSCALL_STRING): Delete.
44578         (__INTERNAL_SYSCALL_STRING): Delete.
44579         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44580         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44581         i386.
44582         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44583         (inline_syscall*): Add 'err' argument.
44584         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44585         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44586         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44587         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44588
44589         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44590         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44591
44592 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44593
44594         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44595
44596 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44597
44598         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44599         directive.
44600
44601 2011-08-24  David S. Miller  <davem@davemloft.net>
44602
44603         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44604
44605 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44606
44607         * elf/Makefile: Add rules to build and run unload8 test.
44608         * elf/unload8.c: New file.
44609         * elf/unload8mod1.c: New file.
44610         * elf/unload8mod1x.c: New file.
44611         * elf/unload8mod2.c: New file.
44612         * elf/unload8mod3.c: New file.
44613
44614         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44615         it wasn't used.
44616
44617 2011-08-23  David S. Miller  <davem@davemloft.net>
44618
44619         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44620         subtract stack bias.
44621         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44622         %sp not %fp in calculations.
44623         (_JMPBUF_UNWINDS_ADJ): Likewise.
44624
44625         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44626         (aio_suspend): Call it to force an exception region around the
44627         AIO_MISC_WAIT() invocation.
44628
44629 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44630
44631         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44632         backslash.
44633
44634 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44635
44636         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44637         protection macro.
44638         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44639         and <dl-machine.h>.
44640         (Elf64_FuncDesc): Remove.
44641
44642 2011-08-22  David S. Miller  <davem@davemloft.net>
44643
44644         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44645         sigaltstack check, add missing cfi directives.
44646         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44647         missing cfi directives, and sigaltstack handling.
44648
44649 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44650
44651         [BZ #11724]
44652         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44653         object is seen twice.
44654         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44655
44656         * elf/Makefile (distribute): Add tst-initorder2.c.
44657         (tests): Add tst-initorder2.
44658         (modules-names): Add tst-initorder2a tst-initorder2b
44659         tst-initorder2c tst-initorder2d.  Add rules to build them.
44660         ($(objpfx)tst-initorder2.out): New rule.
44661         * elf/tst-initorder2.c: New file.
44662         * elf/tst-initorder2.exp: New file.
44663
44664 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44665
44666         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44667
44668         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44669         dependencies back to end of function.
44670
44671         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44672         $(elfobjdir)/ld.so.
44673
44674 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44675
44676         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44677         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44678         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44679         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44680         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44681         of __vdso_gettimeofday.
44682         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44683         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44684         attribute_hidden.
44685         (_libc_vdso_platform_setup): Remove initialization of
44686         __vdso_gettimeofday and __vdso_time.
44687
44688 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44689
44690         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44691         and fgetc_unlocked.
44692         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44693         getc_unlocked.
44694
44695         * elf/dl-open.c (add_to_global): Report additions to the global scope
44696         for LD_DEBUG=scopes.
44697         (dl_open_worker): Also print scope of newly loaded dependencies.
44698         (_dl_show_scope): Indicate if there is no scope.
44699
44700         [BZ #13114]
44701         * stdio-common/Makefile (tests): Add bug24.
44702         * stdio-common/bug24.c: New file.
44703
44704 2011-08-19  Andreas Jaeger  <aj@suse.de>
44705
44706         [BZ #13114]
44707         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44708         non-existant file when using close-on-exec mode.
44709
44710 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44711
44712         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44713         the very first instruction.
44714
44715         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44716         the CFI state in the end.
44717         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44718         inclusion of dl-trampoline.h.
44719         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44720
44721 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44722
44723         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44724         expectations for long double.
44725
44726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44727         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44728
44729 2011-08-14  David S. Miller  <davem@davemloft.net>
44730
44731         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44732         artificual limit depends upon the system page size.
44733
44734 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44735
44736         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44737         * resolv/Makefile: Define CFLAGS-libresolv.
44738
44739 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44740
44741         * nss/makedb.c (compute_tables): Make variables used in nested
44742         function static.
44743
44744 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44745
44746         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44747         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44748         if buffer was too small.
44749
44750         * elf/pldd.c (main): Attach to all threads in the process.
44751         Rewrite /proc handling to use *at functions.
44752
44753 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44754
44755         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44756         specifies first scope to show.
44757         (dl_open_worker): Update callers.  Move printing scope of new
44758         object to before the relocation.
44759         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44760         * sysdeps/generic/ldsodefs.h: Update declaration.
44761
44762         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44763         string for the scope number.
44764
44765 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44766
44767         * nscd/servicescache.c (cache_addserv): Make sure written is always
44768         initialized.
44769
44770 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44771
44772         * sysdeps/i386/i486/bits/atomic.h
44773         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44774         statement expression, so as to suppress "set but not used" warning.
44775         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44776
44777         * string/strncat.c (STRNCAT): Use prototype definition.
44778
44779         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44780         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44781         -Iprograms here.
44782         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44783         (localedef-modules): Add localedef.
44784         (locale-modules): Add locale.
44785
44786         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44787         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44788         to avoid a warning.
44789
44790 2011-08-14  David S. Miller  <davem@davemloft.net>
44791
44792         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44793         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44794
44795 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44796
44797         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44798         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44799         * elf/rtld.c (dl_main): Set l_name of vDSO.
44800         Call _dl_show_scope when DL_DEBUG_SCOPES.
44801         (process_dl_debug): Recognize scopes flag and also set it for all.
44802         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44803         Declare _dl_show_scope.
44804
44805         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44806         (do_dlopen): Pass caller_dlopen to dl_open.
44807         (__libc_dlopen_mode): Initialize caller_dlopen.
44808
44809         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44810         of libc.  Make tolower call locale-independent.  Optimize a bit by
44811         using isdigit instead of isalnum.
44812         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44813
44814 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44815
44816         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44817         was a dependency or dynamically loaded.
44818
44819 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44820
44821         * intl/l10nflist.c: Allow architecture-specific pop function.
44822         * sysdeps/x86_64/l10nflist.c: New file.
44823
44824         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44825         classification.
44826
44827 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44828
44829         * include/dirent.h: Add libc_hidden_proto for scandirat and
44830         scandirat64.  Don't declare __scandirat64.
44831         * dirent/scandirat.c: Add libc_hidden_def.
44832         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44833         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44834
44835 2011-08-10  David S. Miller  <davem@davemloft.net>
44836
44837         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44838         enum.
44839         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44840         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44841         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44842
44843 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44844
44845         * Versions.def [libc]: Add GLIBC_2.15.
44846         * dirent/Makefile (routines): Add scandirat and scandirat64.
44847         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44848         GLIBC_2.15.
44849         * dirent/dirent.h: Declare scandirat and scandirat64.
44850         * dirent/scandirat.c: New file.
44851         * dirent/scandirat64.c: New file.
44852         * sysdeps/wordsize-64/scandirat.c: New file.
44853         * sysdeps/wordsize-64/scandirat64.c: New file.
44854         * dirent/opendir.c: Define opendirat.
44855         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44856         using scandirat.
44857         * dirent/scandir64.c: Adjust for scandir.c change.
44858         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44859         __scandirat64, and __scandir_cancel_handler.
44860         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44861         additional parameter and use openat instead of open (outside of ld.so).
44862         Add new __opendir as wrapper around __opendirat.
44863         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44864         here without requiring old scandirat implementation.
44865
44866 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44867
44868         * dirent/scandir.c (cancel_handler): Renamed to
44869         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44870         defined.  Adjust users.
44871         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44872         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44873
44874 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44875
44876         * string/test-string.h (IMPL): Use __STRING to expand name and then
44877         stringify it.
44878
44879         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44880         of cleanups.
44881
44882 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44883
44884         * string/Makefile: Update.
44885         (strop-tests): Append strncat.
44886         * string/test-wcscmp.c: New file.
44887         New comprehensive test for wcscmp.
44888         * string/test-strcmp.c: Update.
44889         (WIDE): New define.
44890
44891 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44892
44893         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44894         line.
44895
44896 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44897
44898         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44899         encoding to ACE if AI_IDN.
44900
44901 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44902
44903         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44904         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44905
44906 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44907
44908         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44909         Fix overflow bug in strncat.
44910         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44911
44912         * string/test-strncat.c: Update.
44913         Add new tests for checking overflow bugs.
44914
44915 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44916
44917         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44918         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44919         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44920         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44921         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44922         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44923         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44924         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44925         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44926
44927         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44928         (USE_AS_STRCAT): Define.
44929         Add strcat and strncat support.
44930         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44931
44932 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44933
44934         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44935         __n bigger than INT_MAX+1.
44936         (__strncmp_g): Likewise.
44937
44938 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44939
44940         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44941         * libio/stido.h: Likewise.
44942
44943         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44944         (AF_NFC): Define.
44945         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44946         (AF_NFC): Define.
44947
44948         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44949         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44950         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44951         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44952         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44953
44954         [BZ #13021]
44955         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44956         installed.
44957
44958         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44959         typo.
44960         (_dl_x86_64_save_sse): Likewise.
44961
44962 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44963
44964         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44965         OSXSAVE.
44966         (_dl_x86_64_save_sse): Likewise.
44967
44968         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44969
44970         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44971
44972 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44973
44974         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44975         change.
44976         (_dl_x86_64_save_sse): Use correct AVX check.
44977
44978 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44979
44980         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44981         bug in strncpy/strncat.
44982         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44983
44984 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44985
44986         * string/tester.c (test_strcat): Add tests for different alignments
44987         of source and destination.
44988         (test_strncat): Likewise.
44989
44990 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44991
44992         [BZ #12852]
44993         * posix/glob.c (glob): Check passed in values before using them in
44994         expressions to avoid some overflows.
44995         (glob_in_dir): Likewise.
44996
44997         [BZ #13007]
44998         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44999         check for AVX enablement so that we don't crash with old kernels and
45000         new hardware.
45001         * elf/tst-audit4.c: Add same checks here.
45002         * elf/tst-audit6.c: Likewise.
45003
45004         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45005
45006 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45007
45008         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45009
45010 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45011
45012         * po/cs.po: Update from translation team.
45013         * po/bg.po: Likewise.
45014
45015 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45016
45017         * misc/sys/cdefs.h: Add support for const attribute.
45018         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45019         to gnu_dev_{major,minor,makedev} functions.
45020
45021 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45022
45023         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45024
45025 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45026
45027         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45028         strlen results.
45029
45030 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45031
45032         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45033         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45034         register in order to avoid conflicts with the soft frame pointer
45035         being held in r11 when necessary.
45036         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45037         (INTERNAL_VSYSCALL_NCS): Likewise.
45038
45039 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45040
45041         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45042         * elf/dl-fini.c (_dl_fini): Adjust caller.
45043         * elf/dl-close.c (_dl_close_worker): Likewise.
45044         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45045
45046 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45047
45048         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45049         "aux_cache->nlibs < 0".
45050
45051         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45052         in the reload-count case.
45053
45054 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45055
45056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45057         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45058         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45059         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45060         * sysdeps/x86_64/multiarch/strcat.S: New file.
45061         * sysdeps/x86_64/multiarch/strncat.S: New file.
45062         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45063         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45064         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45065         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45066         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45067         (USE_AS_STRCAT): Define.
45068         Add strcat and strncat support.
45069         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45070         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45071         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45072         * string/strncat.c: Update.
45073         (USE_AS_STRNCAT): Define.
45074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45075         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45076         and i7.
45077         * sysdeps/x86_64/multiarch/init-arch.h
45078         (bit_Prefer_PMINUB_for_stringop): New.
45079         (index_Prefer_PMINUB_for_stringop): Likewise.
45080         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45081         bit_Prefer_PMINUB_for_stringop.
45082
45083 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45084
45085         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45086         buffer64.
45087         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45088         of casting of buffer.
45089         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45090         buffer32 and buffer64.
45091         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45092         writes instead of casting of buffer.
45093         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45094         buffer32.
45095         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45096         casting of buffer.
45097
45098 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45099
45100         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45101
45102 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45103
45104         * nscd/nscd.c (termination_handler): Don't do anything for a database
45105         if it has not yet been initialized.
45106
45107 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45108
45109         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45110
45111 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45112
45113         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45114
45115 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45116
45117         * po/nl.po: Update from translation team.
45118         * po/sv.po: Likewise.
45119
45120 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45121
45122         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45123         now disallowed by GCC.
45124
45125         * configure.in (use-default-link): Default to yes if a test -shared
45126         link meets our qualifications.
45127         * configure: Regenerated.
45128
45129         * config.make.in (output-format): New variable.
45130         * configure.in: Check for ld --print-output-format support.
45131         * configure: Regenerated.
45132         * Makerules ($(common-objpfx)format.lds)
45133         [$(output-format) != unknown]: Just use $(output-format),
45134         instead of the linker-script munging.
45135
45136 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45137
45138         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45139         of $(common-objpfx)shlib.lds.
45140         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45141
45142         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45143         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45144
45145         * configure.in (-z relro check): Adjust test code to add a large
45146         writable data section after it.
45147         * configure: Regenerated.
45148
45149 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45150
45151         * configure.in (-z relro check): Fix test code to make the variable
45152         truly const.
45153         * configure: Regenerated.
45154
45155 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45156
45157         * nscd/nscd.h (struct traced_file): Define.
45158         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45159         elements.  Add traced_files.
45160         (inotify_fd): Declare.
45161         (register_traced_file): Declare.
45162         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45163         (inotify_fd): Export.
45164         (resolv_conf_descr): Remove.
45165         (nscd_init): Move inotify descriptor creation to main.
45166         Don't register files for notification here.
45167         (register_traced_file): New function.
45168         (invalidate_cache): Don't use reset_res to determine whether to call
45169         res_init, go through the list of registered files.
45170         (main_loop_poll): The inotify descriptors are now stored in the
45171         structures for the traced files.
45172         (main_loop_epoll): Likewise
45173         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45174         to __nss_disable_nscd.
45175         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45176         for a database anymore.  Check the records for all the registered
45177         files instead.
45178         * nss/Makefile (libnss_files-routines): Add files-init.
45179         (libnss_db-routines): Add db-init.
45180         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45181         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45182         * nss/nss_db/db-init.c: New file.
45183         * nss/nss_files/files-init.c: New file.
45184         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45185         __nss_lookup_function.
45186         (__nss_lookup_function): Call nss_load_library.
45187         (nss_load_all_libraries): New function.
45188         (__nss_disable_nscd): Take parameter with callback function for files
45189         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45190         used for the cached services.
45191         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45192         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45193         options for features to all the files in nscd.
45194
45195         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45196
45197 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45198
45199         * csu/elf-init.c (__libc_csu_init): Comment typo.
45200
45201 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45202
45203         * po/pl.po: Update from translation team.
45204         * po/ja.po: Likewise.
45205         * po/ru.po: Likewise.
45206         * po/ko.po: Likewise.
45207         * po/fr.po: Likewise.
45208
45209 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45210
45211         * configure.in (.ctors/.dtors header and trailer check):
45212         Use an empirical test on a built program.
45213         * configure: Regenerated.
45214
45215         * configure.in (-z relro check): Use an empirical test on a built DSO.
45216         Detect, but do not require, on ia64.
45217         * configure: Regenerated.
45218
45219         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45220         Update tests that use readelf to use $READELF instead.
45221         * configure: Regenerated.
45222
45223 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45224
45225         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45226         if the result is not used.
45227
45228 2011-07-05  Andreas Jaeger  <aj@suse.de>
45229
45230         [BZ#9696]
45231         * stdlib/tst-strtod.c: Add testcase.
45232
45233 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45234
45235         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45236         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45237         The latter has a higher limit.  Take additional parameter to pass to
45238         the new function.
45239         (__pathconf): Pass file to __statfs_link_max.
45240         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45241         __statfs_link_max.
45242         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45243         __statfs_link_max.
45244
45245         [BZ #12868]
45246         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45247         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45248         Handle Lustre.
45249         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45250         (__statfs_filesize_max): Likewise.
45251         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45252
45253 2011-07-05  Andreas Jaeger  <aj@suse.de>
45254
45255         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45256
45257 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45258
45259         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45260         `status' variable.
45261         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45262         Likewise.
45263
45264 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45265
45266         * Makefile (strop-tests): Add strncat.
45267         * string/test-strncat.c: New file.
45268
45269 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45270
45271         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45272
45273 2011-06-21  Andreas Jaeger  <aj@suse.de>
45274
45275         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45276         Copy rule from iconvdata/Makefile.
45277
45278 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45279
45280         [BZ #12922]
45281         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45282         but no long options are defined, just return 'W'.
45283
45284 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45285
45286         [BZ #9696]
45287         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45288
45289 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45290
45291         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45292         netgroups to read.
45293         (innetgr): Likewise.
45294
45295 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45296
45297         * config.make.in (install_root): Default to $(DESTDIR).
45298
45299 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45300
45301         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45302
45303 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45304
45305         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45306
45307         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45308         containing directory rather than embedding absolute directory names.
45309
45310         * scripts/check-local-headers.sh: Rewritten using awk.
45311         Match by word, not by line.  Print error messages for matches.
45312         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45313
45314         * Makerules [shlib-lds-flags empty]:
45315         ($(common-objpfx)libc_pic.opts): New target.
45316         ($(common-objpfx)libc_pic.os.clean): New target.
45317         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45318
45319         * config.make.in (OBJCOPY): New variable.
45320         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45321         * configure: Regenerated.
45322
45323         * config.make.in (use-default-link): New variable.
45324         * configure.in (use_default_link): Grok --with-default-link to set it.
45325         * configure: Regenerated.
45326         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45327         (shlib-lds, shlib-lds-flags): Define to empty.
45328
45329         * Makerules (shlib-lds): New variable.
45330         (shlib-lds-flags): New variable.
45331         (build-shlib, build-moduile, build-module-asneeded): Use it.
45332         ($(common-objpfx)libc.so): Use $(shlib-lds).
45333         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45334         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45335
45336         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45337         DT_FLAGS/DT_FLAGS_1 with zero flags.
45338
45339         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45340         linker script munging.
45341
45342 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45343
45344         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45345         as 128-bit value.
45346         * crypt/sha512.c (sha512_process_block): Perform total addition using
45347         128-bit if possible.
45348         (__sha512_finish_ctx): Likewise.
45349         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45350         as 64-bit value.
45351         * crypt/sha256.c (SWAP64): Define.
45352         (sha256_process_block): Perform total addition using 64-bit if
45353         possible.
45354         (__sha256_finish_ctx): Likewise.
45355
45356 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45357
45358         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45359         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45360         * nscd/hstcache.c (cache_addhst): Likewise.
45361         * nscd/grpcache.c (cache_addgr): Likewise.
45362         * nscd/aicache.c (addhstaiX): Likewise
45363         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45364
45365 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45366
45367         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45368         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45369         * nscd/hstcache.c (cache_addhst): Likewise.
45370         * nscd/grpcache.c (cache_addgr): Likewise.
45371         * nscd/aicache.c (addhstaiX): Likewise
45372
45373 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45374
45375         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45376         domain only when needed.
45377
45378 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45379
45380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45381         is always restored.
45382
45383 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45384
45385         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45386         are re-adding the entry.
45387         * nscd/servicescache.c (cache_addserv): Likewise.
45388
45389 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45390
45391         * sysdeps/generic/dl-irel.h: fix protection against multiple
45392         inclusions.
45393         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45394
45395 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45396
45397         [BZ #12935]
45398         * malloc/memusage.sh: Fix quoting in message.
45399         * debug/xtrace.sh: Likewise.
45400
45401         * configure.in: Remove support for --experimental-malloc option, make
45402         it the default.
45403         * config.make.in: Likewise.
45404         * malloc/Makefile: Likewise.
45405
45406 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45407
45408         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45409         two-byte characters.
45410
45411 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45412
45413         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45414         AC_CACHE_CHECK invocation.
45415         * configure: Regenerated.
45416
45417         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45418
45419 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45420
45421         [BZ #12350]
45422         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45423         bit from old_res_options.
45424
45425         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45426
45427         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45428         value type for setfct.
45429
45430 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45431
45432         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45433         __gettimeofday instead of gettimeofday.
45434
45435 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45436
45437         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45438
45439 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45440
45441         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45442
45443         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45444         info.
45445
45446 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45447
45448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45449         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45450         strcpy-sse2-unaligned strncpy-sse2-unaligned
45451         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45452         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45453         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45454         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45455         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45456         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45457         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45458         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45459         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45460         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45461         (STRCPY): Support SSE2 and SSSE3 versions.
45462
45463 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45464
45465         [BZ #12874]
45466         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45467         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45468         kernels which artificially limit size of requests.
45469
45470 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45471
45472         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45473         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45474         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45475         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45476         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45477         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45478         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45479         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45480         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45481         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45482         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45483         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45484         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45485         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45486         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45488         Enable unaligned load optimization for Intel Core i3, i5 and i7
45489         processors.
45490         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45491         Define.
45492         (index_Fast_Unaligned_Load): Define.
45493         (HAS_FAST_UNALIGNED_LOAD): Define.
45494
45495 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45496
45497         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45498
45499 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45500
45501         [BZ #12907]
45502         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45503         until it is clear that the information is realy needed.
45504         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45505
45506 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45507
45508         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45509
45510 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45511
45512         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45513         /sys/devices/system/cpu/online if it is usable.
45514
45515         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45516         reading the information from the /proc filesystem to once a second.
45517
45518 2011-06-21  Andreas Jaeger  <aj@suse.de>
45519
45520         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45521         NULL after inclusion of kernel headers.
45522
45523 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45524
45525         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45526         calls to internal_setent.
45527
45528         [BZ #12885]
45529         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45530         addresses using gethostbyname4_r ignore IPv4 addresses.
45531
45532         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45533         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45534
45535         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45536
45537 2011-06-20  David S. Miller  <davem@davemloft.net>
45538
45539         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45540         inclusions.
45541         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45542
45543         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45544         (elf_irel): Use it.
45545         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45546         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45547         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45548         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45549         * sysdeps/x86_64/dl-irel.h: Likewise.
45550
45551         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45552         * elf/dl-sym.c: Likewise.
45553
45554 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45555
45556         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45557         need to dereference resplen2.
45558
45559 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45560
45561         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45562
45563 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45564
45565         * Makeconfig: Define vardbdir and inst_vardbdir.
45566         * nss/Makefile: Add rules to install db-Makefile.
45567
45568         * nss/nss_db/db-XXX.c: Cleanup.
45569
45570         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45571         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45572         GLIBC_PRIVATE.
45573         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45574         * nss/makedb.c: Implement -g option to specify that value strings
45575         are generated and should not be added to table iterated over for
45576         get*ent calls.
45577         * nss/nss_db/db-initgroups.c: New file.
45578
45579         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45580         interface.
45581
45582         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45583         (internal_getgrouplist): Adjust to name change.
45584         Update use_initgroups_entry if this is not the first call.
45585         * nss/databases.def: Add initgroups entry.
45586
45587         * nss/makedb.c (compute_tables): Check result of multiple hash table
45588         sizes to minimize maximum chain length.
45589
45590 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45591
45592         * Versions.def: Add entry for libnss_db.
45593         * shlib-versions: Likewise.
45594         * nss/Makefile: Add rules to build libnss_db.
45595         * nss/Versions: Add libnss_db information.  Organize libnss_files
45596         entries better.
45597         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45598         makedb progra.  Some minor improvements to generate smaller files.
45599         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45600         here from...
45601         * nss/makedb.c: ...here.
45602         Improve database format to be smaller and require less memory at
45603         runtime.
45604         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45605         db anymore.
45606         * nss/nss_db/db-netgrp.c: Likewise.
45607         * nss/nss_db/db-open.c: Likewise.
45608         * nss/nss_files/flies-XXX.x: Adjust comments.
45609         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45610         * nss/nss_files/files-grp.c: Likewise.
45611         * nss/nss_files/files-hosts.c: Likewise.
45612         * nss/nss_files/files-network.c: Likewise.
45613         * nss/nss_files/files-proto.c: Likewise.
45614         * nss/nss_files/files-pwd.c: Likewise.
45615         * nss/nss_files/files-rpc.c: Likewise.
45616         * nss/nss_files/files-service.c: Likewise.
45617         * nss/nss_files/files-sgrp.c: Likewise.
45618         * nss/nss_files/files-spwd.c: Likewise.
45619         * nss/nss_db/db-alias.c: Removed.
45620         * nss/nss_db/dummy-db.h: Removed.
45621
45622 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45623
45624         * nss/makedb.c: Rewritten to not use database library.
45625         * nss/Makefile: Update to build new makedb program.
45626
45627 2011-06-14  Andreas Jaeger  <aj@suse.de>
45628
45629         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45630         memset declaration.
45631
45632 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45633
45634         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45635         tmpbuf.
45636
45637 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45638
45639         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45640         * elf/Makefile ($(objpfx)ld.so): Likewise.
45641
45642         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45643         Don't list ld.so twice in dependencies.
45644
45645         * posix/bug-regex31.c: Include <stdlib.h>.
45646
45647         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45648
45649         * nis/nss_compat/compat-spwd.c
45650         (getspent_next_nss_netgr): Remove unused variable.
45651         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45652
45653         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45654         nonmembers" output to use the right array.
45655
45656         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45657
45658         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45659
45660         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45661         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45662         * catgets/gencat.c (read_input_file): Likewise.
45663         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45664
45665         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45666         variable definition inside #if's controlling its use.
45667
45668         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45669
45670         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45671
45672         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45673
45674         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45675         unreachable code.
45676
45677         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45678
45679         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45680         * configure: Regenerated.
45681
45682         * Makerules: Revert last change.
45683         * elf/Makefile: Likewise.
45684
45685 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45686
45687         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45688         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45689         (reloc-link): Likewise.
45690
45691 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45692
45693         * elf/Makefile: Add rules to build pldd.
45694         * elf/pldd.c: New file.
45695         * elf/pldd-xx.c: New file.
45696
45697 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45698
45699         * version.h: Update for 2.15 development version.
45700
45701 2011-06-07  David S. Miller  <davem@davemloft.net>
45702
45703         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45704         ifuncs.
45705         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45706         elf_machine_lazy_rel): Likewise.
45707         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45708         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45709         elf_machine_lazy_rel): Likewise.
45710         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45711         dl_hwcap via passed in argument.
45712         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45713         Likewise.
45714
45715 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45716
45717         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45718
45719 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45720
45721         [BZ #12849]
45722         * manual/fdl-1.1.texi: New file, verbatim from:
45723         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45724         * manual/lgpl-2.1.texi: New file, verbatim from:
45725         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45726         * manual/Makefile (licenses): New variable, list those new file names.
45727         (texis): Use it.
45728         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45729
45730         * manual/fdl.texi: File removed.
45731         * manual/lesser.texi: File removed.
45732         * manual/libc.texinfo (Copying, Documentation License):
45733         Use new @include file names, put @appendix directive before @include.
45734
45735 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45736
45737         [BZ #12841]
45738         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45739         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45740         (mq_open): Add __NTH.
45741
45742 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45743
45744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45745         Assume Intel Core i3/i5/i7 processor if AVX is available.
45746
45747 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45748
45749         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45750         typo.
45751
45752 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45753
45754         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45755         memory.  Use alloca_account.  Fix memory leak when retrying.
45756
45757 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45758
45759         * version.h (RELEASE): Bump for 2.14 release.
45760         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45761
45762         * config.make.in (RANLIB): Remove entry.
45763
45764 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45765
45766         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45767         (libc.pot): Work around missing support for .ksh extension in xgettext.
45768
45769         [BZ #12684]
45770         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45771         if both request failed.
45772         (send_dg): In case of server errors clear resplen or *resplen2.
45773
45774         [BZ #12454]
45775         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45776         when there are multiple maps.
45777         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45778         (_dl_fini): Remove test here.
45779
45780         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45781
45782 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45783
45784         [BZ #12350]
45785         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45786         bit from old_res_options.
45787         (gaih_inet): Likewise.
45788
45789         [BZ #11099]
45790         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45791         as signed.
45792
45793         * resolv/res_init.c (res_setoptions): Make the code more compact.
45794
45795         [BZ #11558]
45796         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45797         set RES_USEVC.
45798
45799         [BZ #11634]
45800         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45801
45802         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45803
45804         [BZ #11781]
45805         * malloc/malloc.h: Declare malloc hook variables as volatile.
45806
45807         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45808         in last patch.
45809
45810         [BZ #11799]
45811         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45812         raise in the comment.
45813         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45814         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45815         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45816
45817 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45818
45819         [BZ #12811]
45820         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45821         grow the buffers more if it already has to be sufficient.
45822         (build_wcs_upper_buffer): Likewise.
45823         * posix/regexec.c (check_matching): Likewise.
45824         (clean_state_log_if_needed): Likewise.
45825         (extend_buffers): Don't enlarge buffers beyond size of the input
45826         buffer.
45827         Patches mostly by Emil Wojak <emil@wojak.eu>.
45828         * posix/bug-regex32.c: New file.
45829         * posix/Makefile (tests): Add bug-regex32.
45830
45831         * locale/findlocale.c (_nl_find_locale): Return right away if
45832         _nl_explode_name failed.
45833         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45834
45835         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45836
45837         * debug/xtrace.sh: Unify messages.
45838         * malloc/memusage.sh: Likewise.
45839
45840         [BZ #12813]
45841         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45842         time symbol from vDSO.  Substitute with vsyscall if not available.
45843         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45844         __vdso_time.
45845
45846         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45847         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45848         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45849         Add sendmmsg and internal_sendmmsg.
45850         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45851         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45852         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45853
45854         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45855         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45856         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45857
45858 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45859
45860         [BZ #12813]
45861         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45862         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45863         available.
45864         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45865         __vdso_getcpu.
45866
45867         [BZ #12814]
45868         * iconvdata/Makefile (tests): Add bug-iconv9.
45869         * iconvdata/bug-iconv9.c: New file.
45870
45871 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45872
45873         [BZ #12814]
45874         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45875
45876 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45877
45878         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45879         (struct user_regs_struct): Change intcs field back to cs.
45880
45881 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45882
45883         * po/ja.po: Update from translation team.
45884
45885 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45886
45887         [BZ #12795]
45888         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45889         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45890
45891 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45892
45893         * stdlib/longlong.h: Update from GCC.
45894
45895 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45896
45897         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45898         parameter name.
45899         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45900         Add parameter name.
45901         (__sysconf): Pass it down.
45902
45903 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45904
45905         [BZ #12671]
45906         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45907         some situations.
45908         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45909         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45910         add in in __libc_use_alloca calls.  Adjust callers.
45911         (glob): Use malloc in some situations.
45912
45913         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45914         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45915         pltexit.
45916
45917 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45918
45919         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45920         and CLOCK_BOOTTIME_ALARM.
45921
45922         [BZ #12782]
45923         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45924         is returned.
45925
45926         * string/_strerror.c (__strerror_r): Print negative errors as signed
45927         numbers.
45928
45929         [BZ #12777]
45930         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45931         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45932         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45933
45934         * configure.in: Fix typo in redirection and correct removal of test
45935         files in two cases.
45936
45937         [BZ #12788]
45938         * locale/setlocale.c (new_composite_name): Fix test to check for
45939         identical name of all categories.
45940
45941         [BZ #12792]
45942         * libio/filedoalloc.c (local_isatty): New function.
45943         (_IO_file_doallocate): Use local_isatty.
45944         * stdio-common/perror.c (perror): In case a new stream is used
45945         forward the stream error.
45946         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45947         error flag.
45948
45949 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45950
45951         [BZ #11869]
45952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45953         alloca.
45954         * include/alloca.h (extend_alloca_account): Define.
45955
45956         [BZ #11857]
45957         * posix/regex.h: Fix comments with documentation of user-accessible
45958         fields after compilation and describe correct free'ing of pattern
45959         after re_compile_pattern.
45960         Patch by Reuben Thomas <rrt@sc3d.org>.
45961
45962 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45963
45964         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45965         and -mno-altivec to prevent the compiler from using Altivec and/or
45966         VSX instructions when the corresponding registers are not available.
45967
45968 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45969
45970         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45971
45972 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45973
45974         * libio/freopen.c (freopen): Use __dup2, not dup2.
45975         * libio/freopen64.c (freopen64): Likewise.
45976
45977 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45978
45979         [BZ #12775]
45980         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45981         * math/Makefile (tests): Add test-powl.
45982         (CFLAGS-test-powl.c): Define.
45983         * math/test-powl.c: New file.
45984
45985 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45986
45987         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45988
45989 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45990
45991         [BZ #11837]
45992         * iconvdata/gb18030.c: Update to GB18020-2005.
45993
45994 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45995
45996         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45997         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45998         Patch by Aharon Robbins <arnold@skeeve.com>.
45999
46000         [BZ #11892]
46001         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46002         on the stack.
46003
46004         [BZ #11895]
46005         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46006         through underflows.
46007
46008         [BZ #12766]
46009         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46010         point to strings before performing equality test for error_one_per_line
46011         mode.
46012
46013         [BZ #11697]
46014         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46015
46016         [BZ #11820]
46017         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46018         (struct user_fpregs_struct): Avoid __uint*_t types.
46019
46020         [BZ #6420]
46021         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46022         symbol info.  Use it instead of calling _dl_addr locally.
46023         (lock_and_info): New function.
46024         (tr_freehook): Call lock_and_info and pass symbol info as additional
46025         parameter to tr_where.
46026         (tr_mallochook): Likewise.
46027         (tr_reallochook): Likewise.
46028         (tr_memalignhook): Likewise.
46029
46030         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46031         used and couldn't be at all thread-safe.
46032
46033 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46034
46035         * libio/freopen.c (freopen): Don't close old file descriptor
46036         before the new one is opened.  Instead dup the new file descriptor
46037         to the old one after the new stream is created.
46038         * libio/freopen64.c (freopen64): Likewise.
46039         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46040         * libio/fileops.c (_IO_new_file_close_it): Handle new
46041         _IO_FLAGS2_NOCLOSE flag.
46042         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46043         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46044         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46045         _IO_FLAGS2_NOCLOSE flag.
46046         * include/unistd.h: Add hidden_proto for dup3.
46047         Define __have_dup3.
46048         * io/dup3.c: Define hidden symbol.
46049         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46050
46051         [BZ #7101]
46052         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46053         when an incomplete long option is used.
46054         * posix/tst-getopt_long1.c: New file.
46055         * posix/Makefile (tests): Add tst-getopt_long1.
46056
46057         [BZ #10138]
46058         * scripts/config.guess: Update from autoconf-2.68.
46059         * scripts/config.sub: Likewise.
46060
46061         [BZ #10157]
46062         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46063         tests into ...
46064         (has_cpuclock): ...this.  New function.
46065         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46066         macro here based on has_cpuclock code.
46067
46068         [BZ #10149]
46069         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46070         First byte (not low byte) is now always NUL.
46071         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46072
46073         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46074         Use non-cancelable interfaces.
46075
46076         [BZ #9809]
46077         * locale/iso-639.def: Add entry for Sorani.
46078
46079         [BZ #11901]
46080         * include/stdlib.h: Move include protection to the right place.
46081         Define abort_msg_s.  Declare __abort_msg with it.
46082         * stdlib/abort.c (__abort_msg): Adjust type.
46083         * assert/assert.c (__assert_fail_base): New function.  Majority
46084         of code from __assert_fail.  Allocate memory for __abort_msg with
46085         mmap.
46086         (__assert_fail): Now call __assert_fail_base.
46087         * assert/assert-perr.c: Remove bulk of implementation.  Use
46088         __assert_fail_base.
46089         * include/assert.hL Declare __assert_fail_base.
46090         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46091         mmap.
46092         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46093
46094 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46095
46096         [BZ #11952]
46097         [BZ #12453]
46098         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46099         until all modules are registered in the DTV.
46100         * elf/Makefile: Add rules to build and run tst-tls19.
46101         * elf/tst-tls19.c: New file.
46102         * elf/tst-tls19mod1.c: New file.
46103         * elf/tst-tls19mod2.c: New file.
46104         * elf/tst-tls19mod3.c: New file.
46105         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46106
46107         [BZ #12083]
46108         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46109         correctly.
46110
46111         [BZ #12601]
46112         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46113         two-byte sequence errors.
46114         * iconvdata/Makefile (tests): Add bug-iconv8.
46115         * iconvdata/bug-iconv8.c: New file.
46116
46117         [BZ #12626]
46118         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46119         buf2 definition.
46120
46121         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46122
46123         [BZ #12432]
46124         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46125         (dummy_getcfa): New function.
46126         (init): Get _Unwind_GetCFA address, use dummy if not found.
46127         (backtrace_helper): In recursion check, also check whether CFA changes.
46128         (__backtrace): Completely initialize arg.
46129
46130         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46131         storing incomplete byte sequence in state object.  Avoid testing for
46132         guaranteed too small input if we know there is enough data available.
46133
46134 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46135
46136         * Makeconfig (+link-pie): Indent.
46137         * Rules (binaries-pie): Define if $(have-fpie) and
46138         $(build-shared).
46139         (binaries-shared): Also filter out $(binaries-pie).
46140         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46141         * nscd/Makefile (others-pie): Add nscd.
46142         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46143         ($(objpfx)nscd): Remove command override.
46144         * login/Makefile (others-pie): Add pt_chown.
46145         ($(objpfx)pt_chown): Remove command override.
46146         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46147         remove command overrides.
46148
46149 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46150
46151         * libio/tst_putwc.c: Fix error messages.
46152
46153         [BZ #12724]
46154         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46155         currently writing and seek to current position when not.
46156         * libio/Makefile (tests): Add bug-fclose1.
46157         * libio/bug-fclose1.c: New file.
46158
46159 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46160
46161         [BZ #12511]
46162         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46163         don't set DF_1_NODELETE here.
46164         (do_lookup_x): When entering new entry test for copy relocation
46165         and if necessary set DF_1_NODELETE flag.
46166         * elf/tst-unique4.cc: New file.
46167         * elf/tst-unique4.h: New file.
46168         * elf/tst-unique4lib.cc: New file.
46169         * elf/Makefile: Add rules to build and run tst-unique4.
46170         Patch by Piotr Bury <pbury@goahead.com>.
46171
46172 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46173
46174         [BZ #12052]
46175         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46176
46177         [BZ #12625]
46178         * misc/mntent_r.c (addmntent): Flush the stream after the output
46179
46180         [BZ #12393]
46181         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46182         (is_trusted_path_normalize): Skip initial colon.  Append slash
46183         to empty buffer.  Duplicate is_trusted_path code but allow
46184         constructed patch to be prefix.
46185         (is_dst): Allow $ORIGIN followed by /.
46186         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46187         Correct testing of result of is_trusted_path_normalize
46188         (decompose_rpath): Fix warning.
46189
46190 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46191
46192         [BZ #11257]
46193         * grp/initgroups.c (internal_getgrouplist): When we found the service
46194         list through the initgroups entry in nsswitch.conf do not always
46195         continue on a successful lookup.  Don't always use the
46196         __nss_group_database value if it is set.
46197         * nss/nsswitch.conf (initgroups): Change action for successful db
46198         lookup to continue for compatibility.
46199
46200 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46201
46202         [BZ #11532]
46203         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46204         and CP774 modules.
46205         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46206         and CP774 modules.
46207         * iconvdata/tst-tables.sh: Likewise.
46208         * iconvdata/cp770.c: New file.
46209         * iconvdata/cp771.c: New file.
46210         * iconvdata/cp772.c: New file.
46211         * iconvdata/cp773.c: New file.
46212         * iconvdata/cp774.c: New file.
46213         * iconvdata/testdata/CP770: New file.
46214         * iconvdata/testdata/CP770..UTF8: New file.
46215         * iconvdata/testdata/CP771: New file.
46216         * iconvdata/testdata/CP771..UTF8: New file.
46217         * iconvdata/testdata/CP772: New file.
46218         * iconvdata/testdata/CP772..UTF8: New file.
46219         * iconvdata/testdata/CP773: New file.
46220         * iconvdata/testdata/CP773..UTF8: New file.
46221         * iconvdata/testdata/CP774: New file.
46222         * iconvdata/testdata/CP774..UTF8: New file.
46223
46224         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46225         END CHARMAP line.
46226         * iconvdata/gen-8bit-gap.sh: Likewise.
46227         * iconvdata/gen-8bit.sh: Likewise.
46228
46229         * locale/iso-639.def: Add ary entry.
46230
46231         [BZ #11258]
46232         * locale/C-translit.h.in: Add U20A1 transliteration.
46233
46234         [BZ #12178]
46235         * locale/iso-639.def: Add wae entry.
46236         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46237
46238         [BZ #12545]
46239         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46240         for n.
46241
46242         [BZ #12711]
46243         * locale/C-translit.h.in: Add entry for U20B9.
46244         Patch by pravin.d.s@gmail.com.
46245
46246 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46247
46248         [BZ #12713]
46249         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46250         ENAMETOOLONG use generic getcwd.
46251         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46252         in rtld.  Use *stat64.
46253         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46254         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46255         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46256         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46257         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46258         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46259         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46260         __fstatat64 macros.
46261         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46262         * dirent/rewinddir.c: Add libc_hidden_def.
46263         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46264         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46265
46266         * include/dirent.h (__alloc_dir): Add flags parameter.
46267         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46268         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46269         __alloc_dir.
46270         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46271         from fdopendir if O_CLOEXEC is already set.
46272
46273 2011-03-15  Alan Modra  <amodra@gmail.com>
46274
46275         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46276         l_tls_firstbyte_offset non-zero.  Save padding offset in
46277         l_tls_firstbyte_offset for later use.
46278         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46279         freeing static tls block.
46280
46281 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46282
46283         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46284         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46285         being defined by the kernel headers.
46286
46287 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46288
46289         [BZ #12734]
46290         * resolv/resolv.h: Define RES_NOTLDQUERY.
46291         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46292         no-tld-query and set RES_NOTLDQUERY.
46293         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46294         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46295         modern BIND to search name as TLD unless forbidden.
46296
46297 2011-05-07  Petr Baudis  <pasky@suse.cz>
46298             Ulrich Drepper  <drepper@gmail.com>
46299
46300         [BZ #12393]
46301         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46302         (is_trusted_path): ...to here.
46303         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46304         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46305         using is_trusted_path_normalize() in setuid scripts.
46306
46307 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46308
46309         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46310         __BEGIN/__END_DECLS.
46311
46312 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46313
46314         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46315         NSS_STATUS_NOTFOUND if no record was found.
46316
46317 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46318
46319         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46320         (headers-not-in-tirpc): Remove rpc/netdb.h
46321         * resolv/netdb.h: Revert last change.
46322
46323 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46324
46325         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46326         circular dependency between libgcc.a and libc.a.
46327
46328 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46329
46330         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46331         * nis/Makefile: Don't install rpcsvc/*.
46332         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46333         instead of <rpc/types.h>.
46334         (MAXHOSTNAMELEN): Define.
46335
46336 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46337
46338         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46339
46340 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46341
46342         [BZ #12714]
46343         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46344         gethostbyname4_r when IPv6 results are possible.
46345
46346 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46347
46348         [BZ #12723]
46349         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46350         _PC_PIPE_BUF handling.
46351
46352 2011-04-30  Bruno Haible  <bruno@clisp.org>
46353
46354         [BZ #12717]
46355         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46356         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46357         to 'int'.
46358         * inet/getnameinfo.c (getnameinfo): Likewise.
46359
46360 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46361
46362         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46363         to groups setting in database lookup.
46364         * nss/nsswitch.conf: Add initgroups entry.
46365
46366 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46367
46368         [BZ #12685]
46369         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46370         mode string.
46371         Patch by Eric Blake <eblake@redhat.com>.
46372
46373 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46374
46375         * sunrpc/Makefile (need-export-routines): Add svc_run.
46376         (routines): Remove svc_run.
46377         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46378         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46379         * sunrpc/svc_run.c (svc_run): Likewise.
46380         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46381
46382 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46383
46384         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46385         problem in reallocation in last patch.
46386
46387 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46388
46389         * sunrpc/Makefile: Move inclusion of Rules.
46390
46391 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46392
46393         * nss/nss_files/files-initgroups.c: New file.
46394         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46395         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46396         _nss_files_initgroups_dyn.
46397
46398 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46399
46400         * elf/elf.h (R_ARM_IRELATIVE): Define.
46401
46402 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46403
46404         * po/ru.po: Update from translation team.
46405
46406 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46407
46408         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46409         dependencies.
46410
46411 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46412
46413         [BZ #12653]
46414         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46415         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46416         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46417         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46418         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46419
46420 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46421
46422         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46423         differing bytes.
46424         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46425         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46426         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46427
46428 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46429
46430         [BZ #12420]
46431         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46432         storing it.
46433         * stdlib/bug-getcontext.c: New file.
46434         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46435
46436 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46437
46438         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46439         instructions into .machine "z9-109".
46440         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46441         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46442
46443 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46444
46445         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46446         between environment variables and auxiliary vector.
46447
46448 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46449
46450         * Makefile: Add rules to build linkobj/libc.so.
46451         * include/libc-symbols.h: Define libc_hidden_nolink.
46452         * include/rpc/auth.h: Mark functions which are to be hidden.
46453         * include/rpc/auth_des.h: Likewise.
46454         * include/rpc/auth_unix.h: Likewise.
46455         * include/rpc/clnt.h: Likewise.
46456         * include/rpc/des_crypt.h: Likewise.
46457         * include/rpc/key_prot.h: Likewise.
46458         * include/rpc/pmap_clnt.h: Likewise.
46459         * include/rpc/pmap_prot.h: Likewise.
46460         * include/rpc/pmap_rmt.h: Likewise.
46461         * include/rpc/rpc_msg.h: Likewise.
46462         * include/rpc/svc.h: Likewise.
46463         * include/rpc/svc_auth.h: Likewise.
46464         * include/rpc/xdr.h: Likewise.
46465         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46466         * nss/Makefile: Likewise.
46467         * sunrpc/Makefile: Don't install headers.  Build library with normal
46468         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46469         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46470         for the compat linking library.  Remove use of INTDEF/INTUSE.
46471         * sunrpc/auth_none.c: Likewise.
46472         * sunrpc/auth_unix.c: Likewise.
46473         * sunrpc/authdes_prot.c: Likewise.
46474         * sunrpc/authuxprot.c: Likewise.
46475         * sunrpc/clnt_gen.c: Likewise.
46476         * sunrpc/clnt_perr.c: Likewise.
46477         * sunrpc/clnt_raw.c: Likewise.
46478         * sunrpc/clnt_simp.c: Likewise.
46479         * sunrpc/clnt_tcp.c: Likewise.
46480         * sunrpc/clnt_udp.c: Likewise.
46481         * sunrpc/clnt_unix.c: Likewise.
46482         * sunrpc/des_crypt.c: Likewise.
46483         * sunrpc/des_soft.c: Likewise.
46484         * sunrpc/get_myaddr.c: Likewise.
46485         * sunrpc/key_call.c: Likewise.
46486         * sunrpc/key_prot.c: Likewise.
46487         * sunrpc/netname.c: Likewise.
46488         * sunrpc/pm_getmaps.c: Likewise.
46489         * sunrpc/pm_getport.c: Likewise.
46490         * sunrpc/pmap_clnt.c: Likewise.
46491         * sunrpc/pmap_prot.c: Likewise.
46492         * sunrpc/pmap_prot2.c: Likewise.
46493         * sunrpc/pmap_rmt.c: Likewise.
46494         * sunrpc/publickey.c: Likewise.
46495         * sunrpc/rpc_cmsg.c: Likewise.
46496         * sunrpc/rpc_common.c: Likewise.
46497         * sunrpc/rpc_dtable.c: Likewise.
46498         * sunrpc/rpc_prot.c: Likewise.
46499         * sunrpc/rpc_thread.c: Likewise.
46500         * sunrpc/rtime.c: Likewise.
46501         * sunrpc/svc.c: Likewise.
46502         * sunrpc/svc_auth.c: Likewise.
46503         * sunrpc/svc_authux.c: Likewise.
46504         * sunrpc/svc_raw.c: Likewise.
46505         * sunrpc/svc_run.c: Likewise.
46506         * sunrpc/svc_simple.c: Likewise.
46507         * sunrpc/svc_tcp.c: Likewise.
46508         * sunrpc/svc_udp.c: Likewise.
46509         * sunrpc/svc_unix.c: Likewise.
46510         * sunrpc/svcauth_des.c: Likewise.
46511         * sunrpc/xcrypt.c: Likewise.
46512         * sunrpc/xdr.c: Likewise.
46513         * sunrpc/xdr_array.c: Likewise.
46514         * sunrpc/xdr_float.c: Likewise.
46515         * sunrpc/xdr_intXX_t.c: Likewise.
46516         * sunrpc/xdr_mem.c: Likewise.
46517         * sunrpc/xdr_rec.c: Likewise.
46518         * sunrpc/xdr_ref.c: Likewise.
46519         * sunrpc/xdr_sizeof.c: Likewise.
46520         * sunrpc/xdr_stdio.c: Likewise.
46521
46522 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46523
46524         [BZ #12650]
46525         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46526         * sysdeps/ia64/dl-tls.h: Likewise.
46527         * sysdeps/powerpc/dl-tls.h: Likewise.
46528         * sysdeps/s390/dl-tls.h: Likewise.
46529         * sysdeps/sh/dl-tls.h: Likewise.
46530         * sysdeps/sparc/dl-tls.h: Likewise.
46531         * sysdeps/x86_64/dl-tls.h: Likewise.
46532         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46533
46534 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46535
46536         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46537         rpath element also skip the following colon.
46538         (expand_dynamic_string_token): Add is_path parameter and pass
46539         down to DL_DST_REQUIRED and _dl_dst_substitute.
46540         (decompose_rpath): Call expand_dynamic_string_token with
46541         non-zero is_path.  Ignore empty rpaths.
46542         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46543         with zero is_path.
46544
46545 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46546
46547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46548         Make cancelable.
46549
46550 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46551
46552         [BZ #12655]
46553         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46554         Patch by Filipe David Manana <fdmanana@apache.org>.
46555
46556 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46557
46558         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46559         Maintain aligned stack.
46560         (CHECK_RSP): Remove unused macro.
46561
46562 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46563
46564         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46565         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46566
46567 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46568
46569         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46570
46571         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46572
46573 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46574
46575         [BZ #12518]
46576         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46577         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46578         * sysdeps/x86_64/memmove.c: New file.
46579         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46580         (memcpy): Renamed to ...
46581         (__new_memcpy): This.
46582         (memcpy): Provide GLIBC_2_14 memcpy.
46583         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46584         (memcpy): Provide GLIBC_2_2_5 memcpy.
46585
46586 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46587
46588         [BZ #12631]
46589         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46590
46591 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46592
46593         * misc/syncfs.c: New file.
46594         * misc/Makefile (routines): Add syncfs.
46595         * posix/unistd.h: Declare syncfs.
46596         * sysdeps/unix/syscalls.list: Add syncfs.
46597
46598 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46599
46600         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46601         open_by_handle_at.
46602         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46603         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46604         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46605         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46606         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46607         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46608         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46609
46610 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46611
46612         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46613         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46614         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46615         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46616         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46617         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46618         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46619
46620         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46621         sync_file_range.c with -fexceptions.
46622         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46623         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46624         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46625         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46626         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46627         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46628         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46629         sync_file_range as cancellation point
46630         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46631         now a wrapper around __call_sync_file_range with cancellation handling.
46632         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46633         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46634         function name to __call_sync_file_range.
46635         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46636         Add call_sync_file_range.
46637
46638 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46639
46640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46641         bits/timex.h.
46642
46643 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46644
46645         * iconv/iconv.h: Fix typo in comment.
46646         * io/fcntl.h: Likewise.
46647         * libio/stdio.h: Likewise.
46648         * posix/spawn.h: Likewise.
46649         * posix/unistd.h: Likewise.
46650         * stdlib/stdlib.h: Likewise.
46651         * time/time.h: Likewise.
46652         * wcsmbs/wchar.h: Likewise.
46653
46654         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46655         open_by_handle): Add.
46656         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46657         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46658         Augment a few comments.
46659         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46660         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46661         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46662         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46663         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46664         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46665         open_by_handle.
46666
46667         * io/fcntl.h (AT_EMPTY_PATH): Define.
46668
46669 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46670
46671         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46672         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46673         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46674         to...
46675         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46676         * Versions.def: Add GLIBC_2.14.
46677         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46678         Export.
46679
46680 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46681
46682         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46683         round counter.
46684         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46685
46686 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46687
46688         [BZ #12597]
46689         * string/test-strncmp.c (do_page_test): New function.
46690         (check2): Likewise.
46691         (test_main): Call check2.
46692         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46693
46694 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46695
46696         [BZ #12587]
46697         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46698         Handle cache information in CPU leaf 4.
46699         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46700
46701 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46702
46703         [BZ #12583]
46704         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46705         character representation.
46706         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46707
46708 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46709
46710         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46711         END(__isnan) to END(__isnanf) to match function entry point/label
46712         EALIGN(__isnanf,...).
46713
46714 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46715
46716         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46717
46718 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46719
46720         [BZ #12510]
46721         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46722         copy from the symbol referenced in the relocation to initialize the
46723         used variable.
46724         Patch by Piotr Bury <pbury@goahead.com>.
46725         * elf/Makefile: Add rules to build and tst-unique3.
46726         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46727         * elf/tst-unique3.cc: New file.
46728         * elf/tst-unique3.h: New file.
46729         * elf/tst-unique3lib.cc: New file.
46730         * elf/tst-unique3lib2.cc: New file.
46731
46732         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46733
46734 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46735
46736         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46737         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46738         to _start.
46739
46740 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46741
46742         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46743         to-be-loaded object along a path to loader is ld.so.
46744
46745 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46746             Ulrich Drepper  <drepper@gmail.com>
46747
46748         * sysdeps/x86_64/memset.S: After aligning destination, code
46749         branches to different locations depending on the value of
46750         misalignment, when multiarch is enabled. Fix this.
46751
46752 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46753
46754         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46755         Set _x86_64_preferred_memory_instruction for AMD processsors.
46756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46757         Set bit_Prefer_SSE_for_memop for AMD processors.
46758
46759 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46760
46761         * libio/fmemopen.c (fmemopen): Optimize a bit.
46762
46763 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46764
46765         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46766
46767 2011-03-03  Roland McGrath  <roland@redhat.com>
46768
46769         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46770
46771 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46772
46773         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46774         __bzero_ultra1 instead of __memset_ultra1.
46775
46776 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46777             Ulrich Drepper  <drepper@gmail.com>
46778
46779         [BZ #12509]
46780         * include/link.h (struct link_map): Add l_orig_initfini.
46781         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46782         returning unsuccessfully.
46783         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46784         close of a file loaded at startup, restore the original l_initfini
46785         list.
46786         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46787         list, store the pointer.
46788         * elf/Makefile ($(objpfx)noload-mem): New rule.
46789         (noload-ENV): Define.
46790         (tests): Add $(objpfx)noload-mem.
46791         * elf/noload.c: Include <memcheck.h>.
46792         (main): Call mtrace.  Close all opened handles.
46793
46794 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46795
46796         [BZ #12454]
46797         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46798         dependencies are missing.
46799
46800 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46801
46802         Fix __if_freereq crash: Unlike the generic version which uses free,
46803         Hurd needs munmap.
46804         * sysdeps/mach/hurd/ifreq.h: New file.
46805
46806 2011-01-27  Petr Baudis  <pasky@suse.cz>
46807             Ulrich Drepper  <drepper@gmail.com>
46808
46809         [BZ 12445]#
46810         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46811         to extend_alloca().
46812         * stdio-common/bug23.c: New file.
46813         * stdio-common/Makefile (tests): Add bug23.
46814
46815 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46816             Ulrich Drepper  <drepper@gmail.com>
46817
46818         [BZ #12489]
46819         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46820         before performing relro protection.  At old place add assertion
46821         to make sure nothing changed.
46822
46823 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46824             Glauber de Oliveira Costa  <glommer@gmail.com>
46825
46826         * elf/elf.h: Add new ARM TLS relocs.
46827
46828 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46829
46830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46831         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46832         cast from r3.
46833         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46834         'tests' variable.
46835         * sysdeps/wordsize-64/tst-writev.c: New file.
46836
46837 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46838
46839         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46840         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46841         insns in _dl_start to prevent a TOC reference before relocs are
46842         resolved.
46843
46844 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46845
46846         [BZ #12469]
46847         * Makeconfig: Remove RANLIB definition.
46848         * Makerules: Don't use RANLIB.
46849         * aclocal.m4: Remove ranlib test.
46850         * configure.in: No need to check for ranlib.
46851         * elf/rtld-Rules: Don't use RANLIB.
46852
46853 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46854
46855         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46856         protection macro.
46857         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46858         inclusion protection macro.
46859
46860         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46861         SIGRTMIN and SIGRTMAX and print information in that case only when
46862         SIGRTMIN is defined.
46863
46864 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46865
46866         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46867         arginfo fn returning -1.
46868
46869         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46870         and thousands string is zero terminated.
46871
46872 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46873
46874         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46875         sysdeps/unix/sysv/linux/bits/socket.h.
46876
46877 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46878
46879         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46880         (__CPU_COUNT): Remove old macros.
46881         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46882         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46883         (__CPU_ALLOC, __CPU_FREE): Add macros.
46884         (__sched_cpualloc, __sched_cpufree): Add declarations.
46885
46886 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46887
46888         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46889         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46890         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46891         (readdhstai): Return value of addhstaiX call.
46892         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46893         (addgrbyX): Return value returned by cache_addgr.
46894         (readdgrbyname): Return value returned by addgrbyX.
46895         (readdgrbygid): Likewise.
46896         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46897         (addpwbyX): Return value returned by cache_addpw.
46898         (readdpwbyname): Return value returned by addhstbyX.
46899         (readdpwbyuid): Likewise.
46900         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46901         (addservbyX): Return value returned by cache_addserv.
46902         (readdservbyname): Return value returned by addservbyX:
46903         (readdservbyport): Likewise.
46904         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46905         (addhstbyX): Return value returned by cache_addhst.
46906         (readdhstbyname): Return value returned by addhstbyX.
46907         (readdhstbyaddr): Likewise.
46908         (readdhstbynamev6): Likewise.
46909         (readdhstbyaddrv6): Likewise.
46910         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46911         (readdinitgroups): Return value returned by addinitgroupsX.
46912         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46913         (prune_cache): Keep track of timeout value of re-added entries.
46914         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46915         * nscd/nscd.h: Adjust prototypes of readd* functions.
46916
46917 2011-02-04  Roland McGrath  <roland@redhat.com>
46918
46919         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46920         (nis_stats): Likewise.
46921         * nis/nis_modify.c (nis_modify): Likewise.
46922         * nis/nis_remove.c (nis_remove): Likewise.
46923         * nis/nis_add.c (nis_add): Likewise.
46924
46925         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46926
46927         * posix/fnmatch_loop.c: Add some consts.
46928
46929         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46930
46931 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46932
46933         [BZ #12460]
46934         * config.make.in (config-cflags-novzeroupper): Define.
46935         * configure.in: Substitute libc_cv_cc_novzeroupper.
46936         * elf/Makefile (AVX-CFLAGS): Define.
46937         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46938         (CFLAGS-tst-auditmod4a.c): Likewise.
46939         (CFLAGS-tst-auditmod4b.c): Likewise.
46940         (CFLAGS-tst-auditmod6b.c): Likewise.
46941         (CFLAGS-tst-auditmod6c.c): Likewise.
46942         (CFLAGS-tst-auditmod7b.c): Likewise.
46943         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46944
46945 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46946
46947         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46948         function to the callback.
46949         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46950
46951 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46952
46953         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46954         of errno.
46955
46956 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46957
46958         [BZ #11724]
46959         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46960         of constructors.
46961         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46962         of destructors.
46963         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46964
46965         [BZ #11724]
46966         * elf/Makefile: Add rules to build and run new test.
46967         * elf/tst-initorder.c: New file.
46968         * elf/tst-initorder.exp: New file.
46969         * elf/tst-initordera1.c: New file.
46970         * elf/tst-initordera2.c: New file.
46971         * elf/tst-initordera3.c: New file.
46972         * elf/tst-initordera4.c: New file.
46973         * elf/tst-initorderb1.c: New file.
46974         * elf/tst-initorderb2.c: New file.
46975         * elf/tst-order-a1.c: New file.
46976         * elf/tst-order-a2.c: New file.
46977         * elf/tst-order-a3.c: New file.
46978         * elf/tst-order-a4.c: New file.
46979         * elf/tst-order-b1.c: New file.
46980         * elf/tst-order-b2.c: New file.
46981         * elf/tst-order-main.c: New file.
46982         New test case by George Gensure <werkt0@gmail.com>.
46983
46984 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46985
46986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46987         decoding ACE if AI_CANONIDN.
46988
46989 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46990
46991         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46992
46993 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46994
46995         * version.h (RELEASE): Bump for 2.13 release.
46996         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46997
46998         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46999
47000         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47001         MADV_NOHUGEPAGE.
47002         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47003         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47004         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47005         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47006         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47007         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47008
47009         * posix/getconf.c: Update copyright year.
47010         * catgets/gencat.c: Likewise.
47011         * csu/version.c: Likewise.
47012         * debug/catchsegv.sh: Likewise.
47013         * debug/xtrace.sh: Likewise.
47014         * elf/ldconfig.c: Likewise.
47015         * elf/ldd.bash.in: Likewise.
47016         * elf/sprof.c (print_version): Likewise.
47017         * iconv/iconv_prog.c: Likewise.
47018         * iconv/iconvconfig.c: Likewise.
47019         * locale/programs/locale.c: Likewise.
47020         * locale/programs/localedef.c: Likewise.
47021         * malloc/memusage.sh: Likewise.
47022         * malloc/mtrace.pl: Likewise.
47023         * nscd/nscd.c (print_version): Likewise.
47024         * nss/getent.c: Likewise.
47025
47026         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47027         PF_CAIF, and PF_ALG.
47028         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47029
47030 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47031
47032         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47033         (modules-names): Use them.
47034         (ifunc-test-modules, ifunc-pie-tests): Define.
47035         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47036         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47037         (test-extras): Likewise.
47038         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47039         $(compile-command.c).
47040         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47041         (all-built-dso): Define.
47042         (check-textrel.out, check-execstack.out): Depend on it.
47043
47044         * configure.in: Don't override --enable-multi-arch.
47045
47046 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47047
47048         [BZ #6812]
47049         * nscd/hstcache.c (tryagain): Define.
47050         (cache_addhst): Return tryagain not notfound for temporary errors.
47051         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47052         failed.
47053
47054 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47055
47056         [BZ #10563]
47057         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47058         to make the syscall.
47059         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47060
47061         [BZ #12378]
47062         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47063         and fall back to matching as normal character if the string ends before
47064         the matching ']' is found.  This is what POSIX requires.
47065         * posix/testfnm.c: Adjust test result.
47066         * posix/globtest.sh: Adjust test result.  Add new test.
47067         * posix/tst-fnmatch.input: Likewise.
47068         * posix/tst-fnmatch2.c: Add new test.
47069
47070 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47071
47072         * elf/Makefile (check-execstack): Revert last change.  Depend on
47073         check-execstack.h.
47074         (check-execstack.h): New target.
47075         (generated): Add check-execstack.h.
47076         * elf/check-execstack.c: Include "check-execstack.h".
47077         (main): Revert last change.
47078         (handle_file): Return zero if GNU_STACK is absent and
47079         DEFAULT_STACK_PERMS doesn't include PF_X.
47080
47081 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47082
47083         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47084         in child fails because the descriptor is already closed.
47085         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47086         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47087         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47088
47089         [BZ #12397]
47090         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47091         syscall.
47092
47093         [BZ #10484]
47094         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47095         temporary buffer used to handle multi lookups locally.
47096         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47097
47098 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47099
47100         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47101         loader is ld.so.
47102
47103 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47104
47105         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47106         alignment for SSE2.
47107
47108 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47109
47110         [BZ #12394]
47111         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47112         characters.  When rounding increased number of integer digits recompute
47113         number of groups.
47114         * stdio-common/tst-grouping.c: New file.
47115         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47116
47117 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47118
47119         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47120         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47121
47122         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47123         void.
47124         * bits/select.h: Likewise.
47125
47126 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47127
47128         * po/ja.po: Update from translation team.
47129
47130 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47131
47132         [BZ #11155]
47133         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47134         implementation just like for lxstat, fxstatat, et al.
47135
47136 2010-12-27  Jim Meyering  <meyering@redhat.com>
47137
47138         [BZ #12348]
47139         * posix/regexec.c (build_trtable): Return failure indication upon
47140         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47141
47142 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47143
47144         [BZ #12201]
47145         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47146         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47147         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47148         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47149
47150         [BZ #12207]
47151         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47152
47153         [BZ #12204]
47154         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47155         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47156
47157 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47158
47159         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47160         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47161         script has SORT_BY_INIT_PRIORITY.
47162         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47163         NO_CTORS_DTORS_SECTIONS is defined.
47164         * elf/soinit.c: Likewise.
47165         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47166         NO_CTORS_DTORS_SECTIONS is defined.
47167         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47168         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47169         * sysdeps/sh/init-first.c: Likewise.
47170         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47171
47172 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47173
47174         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47175         always use the slow path.
47176
47177 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47178
47179         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47180         similar rule which adds the sysdep directories to the header search in
47181         order to pick up the correct platform stackinfo.h.
47182         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47183         perform test if it is, otherwise return successfully without testing.
47184         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47185         DEFAULT_STACK_PERMS define in stackinfo.h.
47186         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47187         defined in stackinfo.h.
47188         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47189         DEFAULT_STACK_PERMS defined in stackinfo.h.
47190         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47191         * sysdeps/ia64/stackinfo.h: Likewise.
47192         * sysdeps/s390/stackinfo.h: Likewise.
47193         * sysdeps/sh/stackinfo.h: Likewise.
47194         * sysdeps/sparc/stackinfo.h: Likewise.
47195         * sysdeps/x86_64/stackinfo.h: Likewise.
47196         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47197         PF_X for powerpc64.  Retain PF_X for powerpc32.
47198
47199 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47200
47201         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47202         accurately.
47203         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47204         GETDENTS_64BIT_ALIGNED.
47205
47206 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47207
47208         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47209
47210 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47211
47212         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47213         _GNU_SOURCE.
47214
47215         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47216         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47217         Remove __restrict.
47218         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47219         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47220
47221 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47222
47223         [BZ #11655]
47224         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47225         are initialized.
47226
47227 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47228
47229         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47230
47231 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47232
47233         * po/it.po: Update from translation team.
47234
47235 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47236
47237         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47238         unused codes.
47239
47240 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47241
47242         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47243
47244 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47245
47246         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47247         specially.
47248         (gaih_getanswer_slice): Likewise.
47249
47250 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47251
47252         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47253
47254 2010-05-31  Petr Baudis  <pasky@suse.cz>
47255
47256         [BZ #11149]
47257         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47258         silently even in the chroot mode.
47259
47260 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47261
47262         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47263         last patch a bit.  Pretty printing
47264
47265 2010-05-31  Petr Baudis <pasky@suse.cz>
47266
47267         [BZ #10085]
47268         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47269         initialization of skip_initgroups_dyn.
47270
47271 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47272
47273         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47274         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47275
47276 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47277
47278         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47279
47280 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47281
47282         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47283         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47284         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47285         ($(objpfx)tst-fnmatch-mem): New rule.
47286         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47287         * posix/tst-fnmatch.c (main): Call mtrace.
47288
47289 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47290
47291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47292         Support Intel processor model 6 and model 0x2c.
47293
47294 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47295
47296         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47297           signed comparison.
47298
47299 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47300
47301         [BZ #12205]
47302         * string/test-strncasecmp.c (check_result): New function.
47303         (do_one_test): Use it.
47304         (check1): New function.
47305         (test_main): Use it.
47306         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47307         Support strcasecmp and strncasecmp.
47308
47309 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47310
47311         [BZ #12194]
47312         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47313         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47314
47315 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47316
47317         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47318         IFUNC support.
47319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47320         memset-x86-64.
47321         * sysdeps/x86_64/multiarch/bzero.S: New file.
47322         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47323         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47324         * sysdeps/x86_64/multiarch/memset.S: New file.
47325         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47326         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47327         Set bit_Prefer_SSE_for_memop for Intel processors.
47328         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47329         Define.
47330         (index_Prefer_SSE_for_memop): Define.
47331         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47332
47333 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47334
47335         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47336         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47337
47338 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47339
47340         [BZ #12191]
47341         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47342         (__x86_64_raw_data_cache_size_half): Likewise.
47343         (__x86_64_raw_shared_cache_size): Likewise.
47344         (__x86_64_raw_shared_cache_size_half): Likewise.
47345
47346         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47347         (__x86_64_raw_data_cache_size_half): Likewise.
47348         (__x86_64_raw_shared_cache_size): Likewise.
47349         (__x86_64_raw_shared_cache_size_half): Likewise.
47350         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47351         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47352         and __x86_64_raw_shared_cache_size_half.  Round
47353         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47354         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47355         to multiple of 256 bytes.
47356
47357 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47358
47359         [BZ #12167]
47360         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47361         of inacessible symlinks.  Verify result of symlink before returning it.
47362         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47363         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47364
47365 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47366
47367         * math/math.h (isinf): Fix typo in comment.
47368
47369 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47370
47371         * po/da.po: Update from translation team.
47372
47373 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47374
47375         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47376         is added to the list.
47377
47378 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47379             Ulrich Drepper  <drepper@gmail.com>
47380
47381         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47382         the global list here.  Move code to...
47383         (_dl_add_to_namespace_list): ...here.  New function.
47384         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47385         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47386         * elf/dl-load.c (lose): Don't remove the element from the list.
47387         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47388         (_dl_map_object): Likewise.
47389
47390 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47391
47392         [BZ #12159]
47393         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47394         into all bytes of SSE register.
47395         Patch by Richard Li <richardpku@gmail.com>.
47396
47397 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47398
47399         [BZ #12140]
47400         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47401         perturbing.
47402
47403 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47404
47405         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47406         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47407         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47408         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47410         submachine.
47411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47412
47413 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47414
47415         * include/dlfcn.h (__RTLD_SECURE): Define.
47416         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47417         mode & __RTLD_SECURE instead.
47418         (open_path): Rename preloaded parameter to secure.
47419         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47420         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47421         * elf/dl-deps.c (openaux): Likewise.
47422         * elf/rtld.c (struct map_args): Remove is_preloaded.
47423         (map_doit): Don't use it.
47424         (dl_main): Likewise.
47425         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47426         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47427
47428 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47429
47430         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47431         (sysd-rules-targets): Remove duplicates.
47432         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47433         rtld-%.$o dependency.
47434
47435 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47436
47437         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47438         _dl_map_object do it.
47439
47440 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47441
47442         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47443         fast fma builtins, define the macros in the C99 standard.
47444         (FP_FAST_FMAF): Likewise.
47445         (FP_FAST_FMAL): Likewise.
47446         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47447
47448         * bits/mathdef.h: Update copyright year.
47449         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47450
47451 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47452
47453         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47454         builtins, define the macros in the C99 standard.
47455         (FP_FAST_FMAF): Likewise.
47456         (FP_FAST_FMAL): Likewise.
47457         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47458         multiply/add.
47459         (FP_FAST_FMAF): Likewise.
47460
47461 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47462
47463         [BZ #3268]
47464         * math/libm-test.inc (fma_test): Some new testcases.
47465         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47466         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47467         y and infinite z.  Do multiplication by C already in long double.
47468         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47470         y and infinite z.  Do bitwise or of inexact bit into u.d.
47471         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47472         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47473         * sysdeps/i386/fpu/s_fma.S: Removed.
47474         * sysdeps/i386/fpu/s_fmal.S: Removed.
47475
47476 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47477
47478         [BZ #3268]
47479         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47480         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47481         computation is not scheduled after fetestexcept.  Fix value
47482         of minimum denormal long double.
47483
47484 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47485
47486         [BZ #3268]
47487         * math/libm-test.inc (fma_test): Add some more tests.
47488         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47489         correctly.
47490
47491 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47492
47493         * scripts/data/localplt-s390-linux-gnu.data: New file.
47494         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47495
47496 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47497
47498         [BZ #3268]
47499         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47500         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47501         instead of dbl-64.
47502         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47503         inlines.
47504         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47506         if one of x and y is very large and the other is subnormal.
47507         * sysdeps/s390/fpu/s_fmaf.c: New file.
47508         * sysdeps/s390/fpu/s_fma.c: New file.
47509         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47510         * sysdeps/powerpc/fpu/s_fma.S: New file.
47511         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47512         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47513         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47514
47515 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47516
47517         [BZ #3268]
47518         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47519         fma tests.
47520         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47521         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47522         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47523         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47524         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47525         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47526         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47527
47528 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47529
47530         [BZ #12078]
47531         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47532         * posix/bug-regex31.input: Add test case.
47533
47534 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47535
47536         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47537         * posix/bug-regex31.input: New file.
47538
47539         [BZ #12078]
47540         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47541         (parse_sub_exp): Fix last change, use postorder.
47542
47543         * posix/bug-regex31.c: New file.
47544         * posix/Makefile: Add rules to build and run bug-regex31.
47545
47546         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47547
47548         [BZ #12078]
47549         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47550
47551         [BZ #12108]
47552         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47553         to have entries in sys_siglist.
47554
47555         [BZ #12093]
47556         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47557         be NULL.
47558
47559 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47560
47561         [BZ #3268]
47562         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47563         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47564         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47565         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47566         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47567         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47568         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47569         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47570         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47571         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47572         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47573         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47574         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47575         * math/ftestexcept.c (fetestexcept): Likewise.
47576         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47577         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47578         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47579         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47580         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47581         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47582         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47583
47584 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47585
47586         [BZ #12107]
47587         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47588         newline.
47589
47590 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47591
47592         * string/bug-strstr1.c: New file.
47593         * string/Makefile: Add rules to build and run bug-strstr1.
47594
47595 2010-10-05  Eric Blake  <eblake@redhat.com>
47596
47597         [BZ #12092]
47598         * string/str-two-way.h (two_way_long_needle): Always clear memory
47599         when skipping input due to the shift table.
47600
47601 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47602
47603         [BZ #12005]
47604         * malloc/mcheck.c: Handle large requests.
47605
47606         [BZ #12077]
47607         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47608         for strncmp and strncasecmp.
47609         * string/stratcliff.c: Add tests for strcmp and strncmp.
47610         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47611
47612 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47613
47614         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47615         __set_fpscr.
47616
47617 2010-09-30  Andreas Jaeger  <aj@suse.de>
47618
47619         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47620         (CGROUP_SUPER_MAGIC): Define.
47621         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47622         Handle btrfs and cgroup file systems.
47623         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47624         Likewise.
47625
47626 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47627
47628         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47629         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47630
47631 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47632
47633         [BZ #12067]
47634         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47635         trying to locate the ELF header.
47636
47637 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47638
47639         [BZ #11611]
47640         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47641         Mask out sign-bit copies when constructing f_fsid.
47642
47643 2010-09-24  Petr Baudis <pasky@suse.cz>
47644
47645         * debug/stack_chk_fail_local.c: Add missing licence exception.
47646         * debug/warning-nop.c: Likewise.
47647
47648 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47649
47650         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47651         implementing getdents64 using getdents syscall, set d_type if
47652         __ASSUME_GETDENTS32_D_TYPE.
47653
47654 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47655
47656         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47657         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47658
47659 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47660
47661         [BZ #12037]
47662         * posix/unistd.h: Undo change of feature selection for ftruncate from
47663         2010-01-11.
47664
47665 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47666
47667         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47668         detection.
47669
47670 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47671
47672         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47673         fanotify_mark.
47674         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47675
47676 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47677
47678         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47679         variables after CHECK_SP call.
47680         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47681
47682 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47683             Ulrich Drepper  <drepper@redhat.com>
47684
47685         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47686         re-relocationg ld.so.
47687         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47688         _dl_init_paths call.
47689         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47690         here anymore.
47691
47692 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47693
47694         * resolv/res_init.c (__res_vinit): Count the default server we added.
47695
47696 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47697             Ulrich Drepper  <drepper@redhat.com>
47698
47699         [BZ #11968]
47700         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47701         (____longjmp_chk): Use %ebx for saving value across system call.
47702         Add unwind info.
47703
47704 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47705
47706         * manual/Makefile: Don't mix pattern rules with normal rules.
47707
47708 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47709
47710         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47711         operation.
47712         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47713         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47714         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47715         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47716         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47717         Likewise.
47718
47719 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47720
47721         [BZ #11979]
47722         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47723         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47724
47725 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47726
47727         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47728         * sysdeps/x86_64/addmul_1.S: Likewise.
47729         * sysdeps/x86_64/lshift.S: Likewise.
47730         * sysdeps/x86_64/mul_1.S: Likewise.
47731         * sysdeps/x86_64/rshift.S: Likewise.
47732         * sysdeps/x86_64/sub_n.S: Likewise.
47733         * sysdeps/x86_64/submul_1.S: Likewise.
47734
47735 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47736
47737         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47738         Define __sched_param instead of SCHED_* and sched_param when
47739         <bits/sched.h> is included with __need_schedparam defined.
47740         * bits/sched.h [__need_schedparam]
47741         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47742         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47743         (__defined_schedparam): Define to 1.
47744         (__sched_param): New structure, identical to sched_param.
47745         (__need_schedparam): Undefine.
47746
47747 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47748
47749         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47750         (epoll_create1): Declare.
47751
47752         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47753
47754 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47755
47756         [BZ #7066]
47757         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47758         shifting retval into place.
47759
47760 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47761
47762         * nis/rpcsvc/nis.h: Update copyright notice.
47763         * nis/rpcsvc/nis.x: Likewise.
47764         * nis/rpcsvc/nis_callback.h: Likewise.
47765         * nis/rpcsvc/nis_callback.x: Likewise.
47766         * nis/rpcsvc/nis_object.x: Likewise.
47767         * nis/rpcsvc/nis_tags.h: Likewise.
47768         * nis/rpcsvc/yp.h: Likewise.
47769         * nis/rpcsvc/yp.x: Likewise.
47770         * nis/rpcsvc/ypupd.h: Likewise.
47771         * nis/yp_xdr.c: Likewise.
47772         * nis/ypupdate_xdr.c: Likewise.
47773
47774         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47775         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47776         (pmap_getport): Use __libc_rpc_getport.
47777         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47778         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47779         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47780
47781 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47782
47783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47784         fanotify_mark.
47785
47786 2010-08-27  Roland McGrath  <roland@redhat.com>
47787
47788         * sysdeps/i386/i686/multiarch/Makefile
47789         (CFLAGS-varshift.c): New variable.
47790
47791 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47792
47793         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47794         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47795
47796         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47797
47798         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47799
47800 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47801
47802         * sysdeps/x86_64/strlen.S: Unroll the loop.
47803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47804         strlen-sse2 strlen-sse2-bsf.
47805         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47806         __strlen_no_bsf if bit_Slow_BSF is set.
47807         (__strlen_sse42): Removed.
47808         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47809         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47810
47811 2010-08-25  Roland McGrath  <roland@redhat.com>
47812
47813         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47814         * sysdeps/x86_64/multiarch/varshift.c: New file.
47815         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47816         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47817         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47818         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47819
47820 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47821
47822         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47823         strlen-sse2 strlen-sse2-bsf.
47824         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47825         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47826         (__strlen_sse2): Removed.
47827         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47828         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47830         bit_Slow_BSF for Atom.
47831         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47832         (index_Slow_BSF): Define.
47833         (HAS_SLOW_BSF): Define.
47834
47835 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47836
47837         [BZ #10851]
47838         * resolv/res_init.c (__res_vinit): When no server address at all
47839         is given default to loopback.
47840
47841 2010-08-24  Roland McGrath  <roland@redhat.com>
47842
47843         * configure.in: Remove config-name.h generation.
47844         * configure: Regenerated.
47845         * config-name.in: File removed.
47846         * scripts/config-uname.sh: New file.
47847         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47848         ($(objdir)config-name.h): New target.
47849
47850         * sunrpc/rpc_parse.h: Avoid nested comment.
47851
47852 2010-08-24  Richard Henderson  <rth@redhat.com>
47853             Ulrich Drepper  <drepper@redhat.com>
47854             H.J. Lu  <hongjiu.lu@intel.com>
47855
47856         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47858         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47859         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47860         _mm_alignr_epi8 with _mm_loadu_si128.
47861         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47862         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47863         (__m128i_shift_right): Removed.
47864         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47865         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47866         * sysdeps/x86_64/multiarch/varshift.h: New file.
47867         * sysdeps/x86_64/multiarch/varshift.S: New file.
47868
47869 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47870
47871         * configure.in: Move assembler checks to before sysdep dir checking.
47872
47873 2010-08-20  Petr Baudis  <pasky@suse.cz>
47874
47875         * LICENSES: Sync the sunrpc license.
47876
47877 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47878
47879         * sunrpc/auth_des.c: Update copyright notice once again.
47880         * sunrpc/auth_none.c: Likewise.
47881         * sunrpc/auth_unix.c: Likewise.
47882         * sunrpc/authdes_prot.c: Likewise.
47883         * sunrpc/authuxprot.c: Likewise.
47884         * sunrpc/bindrsvprt.c: Likewise.
47885         * sunrpc/clnt_gen.c: Likewise.
47886         * sunrpc/clnt_perr.c: Likewise.
47887         * sunrpc/clnt_raw.c: Likewise.
47888         * sunrpc/clnt_simp.c: Likewise.
47889         * sunrpc/clnt_tcp.c: Likewise.
47890         * sunrpc/clnt_udp.c: Likewise.
47891         * sunrpc/clnt_unix.c: Likewise.
47892         * sunrpc/des_crypt.c: Likewise.
47893         * sunrpc/des_soft.c: Likewise.
47894         * sunrpc/get_myaddr.c: Likewise.
47895         * sunrpc/getrpcport.c: Likewise.
47896         * sunrpc/key_call.c: Likewise.
47897         * sunrpc/key_prot.c: Likewise.
47898         * sunrpc/openchild.c: Likewise.
47899         * sunrpc/pm_getmaps.c: Likewise.
47900         * sunrpc/pm_getport.c: Likewise.
47901         * sunrpc/pmap_clnt.c: Likewise.
47902         * sunrpc/pmap_prot.c: Likewise.
47903         * sunrpc/pmap_prot2.c: Likewise.
47904         * sunrpc/pmap_rmt.c: Likewise.
47905         * sunrpc/rpc/auth.h: Likewise.
47906         * sunrpc/rpc/auth_unix.h: Likewise.
47907         * sunrpc/rpc/clnt.h: Likewise.
47908         * sunrpc/rpc/des_crypt.h: Likewise.
47909         * sunrpc/rpc/key_prot.h: Likewise.
47910         * sunrpc/rpc/netdb.h: Likewise.
47911         * sunrpc/rpc/pmap_clnt.h: Likewise.
47912         * sunrpc/rpc/pmap_prot.h: Likewise.
47913         * sunrpc/rpc/pmap_rmt.h: Likewise.
47914         * sunrpc/rpc/rpc.h: Likewise.
47915         * sunrpc/rpc/rpc_des.h: Likewise.
47916         * sunrpc/rpc/rpc_msg.h: Likewise.
47917         * sunrpc/rpc/svc.h: Likewise.
47918         * sunrpc/rpc/svc_auth.h: Likewise.
47919         * sunrpc/rpc/types.h: Likewise.
47920         * sunrpc/rpc/xdr.h: Likewise.
47921         * sunrpc/rpc_clntout.c: Likewise.
47922         * sunrpc/rpc_cmsg.c: Likewise.
47923         * sunrpc/rpc_common.c: Likewise.
47924         * sunrpc/rpc_cout.c: Likewise.
47925         * sunrpc/rpc_dtable.c: Likewise.
47926         * sunrpc/rpc_hout.c: Likewise.
47927         * sunrpc/rpc_main.c: Likewise.
47928         * sunrpc/rpc_parse.c: Likewise.
47929         * sunrpc/rpc_parse.h: Likewise.
47930         * sunrpc/rpc_prot.c: Likewise.
47931         * sunrpc/rpc_sample.c: Likewise.
47932         * sunrpc/rpc_scan.c: Likewise.
47933         * sunrpc/rpc_scan.h: Likewise.
47934         * sunrpc/rpc_svcout.c: Likewise.
47935         * sunrpc/rpc_tblout.c: Likewise.
47936         * sunrpc/rpc_util.c: Likewise.
47937         * sunrpc/rpc_util.h: Likewise.
47938         * sunrpc/rpcinfo.c: Likewise.
47939         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47940         * sunrpc/rpcsvc/key_prot.x: Likewise.
47941         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47942         * sunrpc/rpcsvc/mount.x: Likewise.
47943         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47944         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47945         * sunrpc/rpcsvc/rex.x: Likewise.
47946         * sunrpc/rpcsvc/rstat.x: Likewise.
47947         * sunrpc/rpcsvc/rusers.x: Likewise.
47948         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47949         * sunrpc/rpcsvc/spray.x: Likewise.
47950         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47951         * sunrpc/rtime.c: Likewise.
47952         * sunrpc/svc.c: Likewise.
47953         * sunrpc/svc_auth.c: Likewise.
47954         * sunrpc/svc_authux.c: Likewise.
47955         * sunrpc/svc_raw.c: Likewise.
47956         * sunrpc/svc_run.c: Likewise.
47957         * sunrpc/svc_simple.c: Likewise.
47958         * sunrpc/svc_tcp.c: Likewise.
47959         * sunrpc/svc_udp.c: Likewise.
47960         * sunrpc/svc_unix.c: Likewise.
47961         * sunrpc/svcauth_des.c: Likewise.
47962         * sunrpc/xcrypt.c: Likewise.
47963         * sunrpc/xdr.c: Likewise.
47964         * sunrpc/xdr_array.c: Likewise.
47965         * sunrpc/xdr_float.c: Likewise.
47966         * sunrpc/xdr_mem.c: Likewise.
47967         * sunrpc/xdr_rec.c: Likewise.
47968         * sunrpc/xdr_ref.c: Likewise.
47969         * sunrpc/xdr_sizeof.c: Likewise.
47970         * sunrpc/xdr_stdio.c: Likewise.
47971
47972         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47973         handling.
47974
47975 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47976
47977         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47978
47979 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47980
47981         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47982         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47983         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47984         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47985         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47986         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47987         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47988         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47989         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47990         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47991         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47992         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47993         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47994         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47995
47996 2010-07-26  Anton Blanchard  <anton@samba.org>
47997
47998         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47999         * malloc/arena.c (heap_trim): Likewise.
48000
48001 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48002
48003         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48004         here.  Not...
48005         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48006         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48007
48008 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48009
48010         * sysdeps/i386/elf/Makefile: New file.
48011
48012 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48013
48014         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48015         from fanotify_init.
48016         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48017         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48018
48019 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48020
48021         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48022         of strncasecmp_l.
48023         * sysdeps/multiarch/strcmp.S: Likewise.
48024
48025 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48026
48027         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48028         strncase_l-nonascii.
48029         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48030         Add strncase_l-ssse3.
48031         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48032         * sysdeps/x86_64/strcmp.S: Likewise.
48033         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48034         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48035         * sysdeps/x86_64/strncase.S: New file.
48036         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48037         * sysdeps/x86_64/strncase_l.S: New file.
48038         * string/Makefile (strop-tests): Add strncasecmp.
48039         * string/test-strncasecmp.c: New file.
48040
48041         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48042         warning.
48043
48044         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48045         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48046
48047 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48048
48049         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48050
48051 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48052
48053         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48054         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48055         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48056
48057 2010-05-01  Alan Modra  <amodra@gmail.com>
48058
48059         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48060         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48061         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48062         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48063         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48064         tidying.  Don't tail-call __sigjmp_save for static lib.
48065         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48066         save location.
48067         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48068         (CALL_MCOUNT): Add eh info, and nop after bl.
48069         (TAIL_CALL_SYSCALL_ERROR): New macro.
48070         (PSEUDO_RET): Use it.
48071         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48072         Correct save location of integer regs and cr.
48073         (_dl_profile_resolve): Correct cr save location.  Delete nops
48074         after bl when SHARED.  Reduce cfi size a little by better
48075         placement of cfi directives.
48076         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48077         make a stack frame.  Instead use parm save area as a temp.
48078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48079         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48081         Don't make a stack frame for parent, use parm save area.
48082         Increase child stack frame to 112 bytes.  Don't save unused reg,
48083         and adjust reg usage.  Set up cfi on error recovery and
48084         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48086         (__makecontext): Add dummy nop after jump to exit.
48087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48088         Use correct parm save area and cr save, reduce stack frame.
48089         Correct cfi for possible PSEUDO_RET frame setup.
48090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48091         Branch to local label emitted by PSEUDO_RET rather than
48092         __syscall_error.
48093
48094 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48095
48096         [BZ #11904]
48097         * locale/programs/locale.c (print_assignment): New function.
48098         (show_locale_vars): Use it.
48099
48100 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48101
48102         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48103         field.
48104         (struct statfs64): Likewise.
48105         (_STATFS_F_FLAGS): Define.
48106         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48107         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48108         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48109         (ST_VALID): Define locally.
48110         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48111         __statvfs_getflags, use the provided value.
48112         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48113         __ASSUME_STATFS_F_FLAGS.
48114
48115         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48116
48117         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48118         Add sys/fanotify.h.
48119         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48120         fanotify_mask for GLIBC_2.13.
48121         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48122         fanotify_init and fanotify_mark.
48123         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48124         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48125
48126         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48127         Add prlimit.
48128         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48129         prlimit64 for GLIBC_2.13.
48130         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48131         prlimit64.
48132         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48133         syscall.
48134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48135         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48136         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48137         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48138         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48139         add prlimit alias.
48140         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48141
48142         [BZ #11903]
48143         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48144         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48145
48146         * nss/Makefile: Add rules to build and run tst-nss-test1.
48147         * shlib-versions: Add entry for libnss_test1.
48148         * nss/nss_test1.c: New file.
48149         * nss/tst-nss-test1.c: New file.
48150
48151         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48152         (__nss_configure_lookup): Set appropriate entry in
48153         __nss_configure_lookup to true.
48154         * nss/nsswitch.h: Define enum with indeces of databases in
48155         databases and __nss_database_custom arrays.  Declare
48156         __nss_database_custom.
48157         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48158         to avoid using nscd when custom rules are installed.
48159         * nss/getXXbyYY_r.c: Likewise.
48160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48161
48162         * nss/nss_files/files-parse.c: Whitespace fixes.
48163
48164 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48165
48166         [BZ #11883]
48167         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48168         * posix/fnmatch_loop.c: Likewise.
48169
48170 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48171
48172         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48173         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48174         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48175         * Versions.def [GLIBC_2.13]: Add.
48176
48177 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48178
48179         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48180         Also fail if tpwd after pwuid call is NULL.
48181
48182 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48183
48184         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48185         when converting to ms.
48186
48187 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48188
48189         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48190         EOPNOTSUPP errors with ENOTTY.
48191         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48192         EOPNOTSUPP errors with ENOTTY.
48193
48194 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48195
48196         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48197         Add strcasecmp_l-ssse3.
48198         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48199         strcasecmp.
48200         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48201         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48202         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48203
48204 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48205
48206         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48207
48208         * string/Makefile (strop-tests): Add strcasecmp.
48209         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48210         strcasecmp_l-nonascii.
48211         (gen-as-const-headers): Add locale-defines.sym.
48212         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48213         * sysdeps/x86_64/strcasecmp.S: New file.
48214         * sysdeps/x86_64/strcasecmp_l.S: New file.
48215         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48216         * sysdeps/x86_64/locale-defines.sym: New file.
48217         * string/test-strcasecmp.c: New file.
48218
48219         * string/test-strcasestr.c: Test both ends of the range of characters.
48220         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48221
48222 2010-07-29  Roland McGrath  <roland@redhat.com>
48223
48224         [BZ #11856]
48225         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48226
48227 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48228
48229         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48230         for ld.so.
48231
48232 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48233
48234         * manual/memory.texi (Malloc Tunable Parameters): Document
48235         M_PERTURB.
48236
48237 2010-07-26  Roland McGrath  <roland@redhat.com>
48238
48239         [BZ #11840]
48240         * configure.in (-fgnu89-inline check): Set and substitute
48241         gnu89_inline, not libc_cv_gnu89_inline.
48242         * configure: Regenerated.
48243         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48244
48245 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48246
48247         * string/test-strnlen.c: New file.
48248         * string/Makefile (strop-tests): Add strnlen.
48249         * string/tester.c (test_strnlen): Add a few more test cases.
48250         * string/tst-strlen.c: Better error reporting.
48251
48252         * sysdeps/x86_64/strnlen.S: New file.
48253
48254 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48255
48256         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48257         lower-latency instructions.
48258
48259 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48260
48261         * string/test-strcasestr.c: New file.
48262         * string/test-strstr.c: New file.
48263         * string/Makefile (strop-tests): Add strstr and strcasestr.
48264         * string/str-two-way.h: Don't undefine MAX.
48265         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48266
48267 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48268
48269         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48270         strcasestr-nonascii.
48271         (CFLAGS-strcasestr-nonascii.c): Define.
48272         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48273         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48274         Remove unused attribute.
48275
48276 2010-07-20  Roland McGrath  <roland@redhat.com>
48277
48278         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48279         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48280         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48281         like LD_HWCAP_MASK can disable hwcaps.
48282
48283 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48284
48285         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48286
48287 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48288
48289         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48290         call in strcasestr.
48291         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48292         __strcasestr_sse42_nonascii.
48293         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48294         strcasestr-nonascii.c.
48295         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48296
48297 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48298
48299         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48300         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48301         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48302         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48303
48304 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48305
48306         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48307         fcntl.
48308
48309 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48310
48311         [BZ #11577]
48312         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48313         dl_signal_cerror.
48314
48315 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48316
48317         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48318         _PC_PIPE_BUF using F_GETPIPE_SZ.
48319
48320 2010-07-05  Roland McGrath  <roland@redhat.com>
48321
48322         * manual/arith.texi (Rounding Functions): Fix rint description
48323         implicit in round description.
48324
48325 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48326
48327         * elf/Makefile: Fix linking for a few tests to make recent linker
48328         happy.
48329
48330 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48331
48332         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48333         $(common-objpfx)libc_nonshared.a.
48334
48335 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48336
48337         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48338         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48339         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48340         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48341         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48342         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48343         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48344         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48359         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48360         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48361         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48362         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48363         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48364         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48365         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48366         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48367         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48368         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48369         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48370         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48385
48386 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48387
48388         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48389         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48390         * string/memmove.c (memmove): Renamed to ...
48391         (MEMMOVE): ...this.  Default to memmove.
48392         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48393         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48394         (END_CHK): Define.
48395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48396         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48397         mempcpy-ssse3-back memmove-ssse3-back.
48398         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48399         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48400         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48401         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48402         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48403         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48404         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48405         * sysdeps/x86_64/multiarch/memmove.c: New file.
48406         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48407         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48408         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48409         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48410         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48411         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48412         Define.
48413         (index_Fast_Copy_Backward): Define.
48414         (HAS_ARCH_FEATURE): Define.
48415         (HAS_FAST_REP_STRING): Define.
48416         (HAS_FAST_COPY_BACKWARD): Define.
48417
48418 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48419
48420         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48421         Restore proper fallback handling.
48422
48423 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48424
48425         [BZ #11701]
48426         * posix/group_member.c (__group_member): Correct checking loop.
48427
48428         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48429         OOM in getpwuid_r correctly.  Return error number when the caller
48430         should return, otherwise -1.
48431         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48432         call returning > 0 value.
48433         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48434
48435 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48436
48437         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48438         libc_nonshared.a from targets in modules-names.
48439
48440 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48441
48442         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48443         requires it.
48444
48445 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48446
48447         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48448         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48449         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48450         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48451
48452 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48453
48454         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48455
48456 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48457
48458         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48459         and F_GETPIPE_SZ.
48460         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48461         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48462         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48463         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48464         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48465         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48466
48467 2010-06-14  Roland McGrath  <roland@redhat.com>
48468
48469         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48470
48471 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48472
48473         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48474         __REDIRECT followed by __THROW.
48475         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48476         * posix/getopt.h (getopt): Likewise.
48477
48478 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48479
48480         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48481         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48482         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48483         in AT_FLAGS.
48484         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48485         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48486
48487 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48488
48489         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48490
48491 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48492
48493         [BZ #11640]
48494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48495         Properly check family and model.
48496
48497 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48498
48499         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48500
48501 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48502
48503         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48504
48505 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48506
48507         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48508         symbol reference.
48509
48510 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48511
48512         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48513         symbol reference.
48514
48515 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48516
48517         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48518         and internal_recvmmsg.
48519         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48520         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48521         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48522         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48523
48524         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48525         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48526         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48527
48528 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48529
48530         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48531
48532 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48533
48534         POWER7 optimizations.
48535         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48536         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48537
48538 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48539
48540         * version.h: Update for 2.13 development version.
48541
48542 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48543
48544         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48545         exceptions.  Return 0.
48546
48547 2010-05-07  Roland McGrath  <roland@redhat.com>
48548
48549         * elf/ldconfig.c (main): Add a const.
48550
48551 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48552
48553         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48554         (args_options): Add no-idn option.
48555         (ahosts_keys_int): Add idn_flags to ai_flags.
48556         (parse_option): Handle 'i' option to clear idn_flags.
48557
48558         * malloc/malloc.c (_int_free): Possible race in the most recently
48559         added check.  Only act on the data if no current modification
48560         happened.
48561
48562 See ChangeLog.17 for earlier changes.