e84fbbf7397f3dcd17248cad8212a9a9fae2eaaf
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-03  Richard Henderson  <rth@redhat.com>
2
3         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4         (math_force_eval): New.
5
6         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8
9         * sysdeps/alpha/fpu/s_round.c: Remove file.
10         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11
12         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16         (_dl_start, print_statistics): Likewise.
17         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
18         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
19
20         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25         (HP_SMALL_TIMING_AVAIL): Define.
26         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28         (HP_SMALL_TIMING_AVAIL): Define.
29         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31
32         * sysdeps/aarch64/hp-timing.h: New file.
33
34         * sysdeps/generic/hp-timing.h: Remove dead comment.
35         * sysdeps/generic/hp-timing-common.h: New file.
36         * sysdeps/alpha/hp-timing.h: Include it.
37         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
38         * sysdeps/i386/i686/hp-timing.h: Likewise.
39         * sysdeps/ia64/hp-timing.h: Likewise.
40         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
45         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46         (hp_timing_t): New.
47
48         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
49         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
50         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
51         * elf/rtld.c (_dl_start_final): Likewise.
52         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
53         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
54         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
55         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
56         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
57         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
58         (HP_TIMING_DIFF_INIT): Remove.
59         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
60         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
61         (HP_TIMING_DIFF_INIT): Remove.
62         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
63         * sysdeps/i386/i686/hp-timing.c: Remove file.
64         * sysdeps/x86_64/hp-timing.c: Remove file.
65         * sysdeps/ia64/hp-timing.c: Remove file.
66         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
67         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
68         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
69         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
70
71         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
72         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
73         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
74         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
75         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
76         (HP_TIMING_ACCUM): Remove.
77         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
78         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
79         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
80
81         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
82         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
83         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
84         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
85         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
86         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
87         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
88         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
89
90         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
91
92 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
93
94         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
95
96 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
97
98         Sync up with gettext.
99         * intl/loadmsgcat.c: Define O_BINARY if not defined.
100         [_MSC_VER]: Include malloc.h
101         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
102         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
103         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
104         TEMP_FAILURE_RETRY.  Cast return of alloca.
105         [!_LIBC] Call gl_rwlock_init.
106         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
107
108 2014-07-02  Roland McGrath  <roland@hack.frob.com>
109
110         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
111         before checking its value.
112
113 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
114
115         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
116
117         * debug/memcpy_chk.c: Don't include pagecopy.h.
118         * debug/mempcpy_chk.c: Likewise.
119         * string/memcpy.c: Likewise.
120         * string/memmove.c: Likewise.
121         * sysdeps/powerpc/memmove.c: Likewise.
122         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
123         definition of PAGE_COPY_FWD_MAYBE here...
124         * sysdeps/generic/pagecopy.h: ... from here.
125         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
126
127 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
128             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
129
130         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
132         optimizations.
133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
134         (__libc_ifunc_impl_list): Likewise.
135         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
136         multiarch strcat for PPC64.
137         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
138         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
139
140 2014-07-02  Roland McGrath  <roland@hack.frob.com>
141
142         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
143
144 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
145
146         * intl/loadmsgcat.c: Remove declaration of
147         get_sysdep_segment_value.
148         (get_sysdep_segment_value): Use ISO C style.
149         (_nl_load_domain): Use ISO C style.  Get rid of redundant
150         semicolon.  Fix typo and formatting in comment.
151         (_nl_unload_domain): Use ISO C style.
152
153         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
154
155 2014-07-02  Will Newton  <will.newton@linaro.org>
156
157         * malloc/obstack.c: Merge from gnulib master.
158         [HAVE_CONFIG_H]: Remove conditional code.
159         [!_LIBC]: Include config.h.
160         [!ELIDE_CODE]: Don't include inttypes.h, include
161         stdint.h unconditionally.
162         (print_and_abort): Mark as _Noreturn.
163         (_obstack_allocated_p): Mark as __attribute_pure__.
164         (obstack_free): Rename to __obstack_free.
165         [!__attribute__]: Remove conditional code.
166         * malloc/obstack.h: Merge from gnulib master.
167         [__cplusplus]: Move conditional down.
168         [!__attribute_pure__]: Define __attribute_pure__ here
169         if it is not already defined.
170         (_obstack_memory_used): Mark as __attribute_pure__.
171         [!__obstack_free]: Define as obstack_free.
172         [__GNUC__]: Remove check for ancient NeXT gcc.
173
174 2014-07-02  Will Newton  <will.newton@linaro.org>
175             Paul Eggert  <eggert@cs.ucla.edu>
176
177         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
178
179 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
180
181         * resolv/gethnamaddr.c: Add comment warning that the file is
182         not maintained.
183
184 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
185
186         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
187         entries.
188
189         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
190         entry for aio_cancel and aio_cancel64.
191         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
192         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
193         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
194         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
195         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
196         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
197         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
198         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
199         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
200         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
201         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
202         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
203         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
204
205 2014-07-01  Roland McGrath  <roland@hack.frob.com>
206
207         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
208         * nptl/pthread_mutex_lock.c: Likewise.
209         * nptl/pthread_mutex_timedlock.c: Likewise.
210         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
211
212 2014-07-01  Richard henderson  <rth@redhat.com>
213
214         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
215         (__isnan, __isnanl): Remove.
216         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
217
218         * sysdeps/alpha/fpu/libm-test-ulps: Update.
219
220 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
221
222         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
223
224 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
225
226         * resolv/nss_dns/dns-host.c (getanswer_r)
227         [MULTI_PTRS_ARE_ALIASES]: Remove code.
228
229 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
230
231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
232         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
233         undefine.
234         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
235         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
236
237 2014-07-01  Roland McGrath <roland@hack.frob.com>
238
239         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
240         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
241
242         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
243         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
244
245         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
246         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
247         ... here.
248         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
249         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
250
251         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
252         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
253         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
254         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
255
256         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
257         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
258         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
259         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
260         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
261         Moved ...
262         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
263         ... here.
264         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
265         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
266         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
267         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
268         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
269         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
270         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
271         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
272         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
273         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
274         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
275         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
276         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
277         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
278         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
279         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
280         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
281         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
282         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
283         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
284         ... here.
285         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
286         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
287         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
288         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
289         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
290         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
291         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
292         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
293
294 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
295
296         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
297         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
298         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
299         Add sysdep.
300
301 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
302
303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
304
305 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
306
307         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
308         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
309
310         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
311
312         * sysdeps/arm/libm-test-ulps: Regenerated.
313
314 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
315             Roland McGrath <roland@hack.frob.com>
316
317         * test-skeleton.c (signal_handler): Kill the whole process group
318         before killing the child individually.
319         (main): Report any failure on `setpgid'.
320
321 2014-06-30  Roland McGrath  <roland@hack.frob.com>
322
323         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
324         from _TLS_H to _ARM_NPTL_TLS_H.
325         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
326         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
327
328 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
329
330         [BZ #16539]
331         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
332         (__expm1l): Return argument unchanged when small but not
333         subnormal.
334
335         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
336         include macro name.
337         (_FP_UNPACK_RAW_1_P): Likewise.
338         (_FP_PACK_RAW_1): Likewise.
339         (_FP_PACK_RAW_1_P): Likewise.
340         (_FP_MUL_MEAT_1_wide): Likewise.
341         (_FP_MUL_MEAT_DW_1_hard): Likewise.
342         (_FP_MUL_MEAT_1_hard): Likewise.
343         (_FP_DIV_MEAT_1_imm): Likewise.
344         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
345         (_FP_DIV_MEAT_1_udiv): Likewise.
346         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
347         (_FP_UNPACK_RAW_2): Likewise.
348         (_FP_UNPACK_RAW_2_P): Likewise.
349         (_FP_PACK_RAW_2): Likewise.
350         (_FP_PACK_RAW_2_P): Likewise.
351         (_FP_MUL_MEAT_DW_2_wide): Likewise.
352         (_FP_MUL_MEAT_2_wide): Likewise.
353         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
354         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
355         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
356         (_FP_MUL_MEAT_2_gmp): Likewise.
357         (_FP_DIV_MEAT_2_udiv): Likewise.
358         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
359         (_FP_FRAC_SRL_4): Likewise.
360         (_FP_FRAC_SRST_4): Likewise.
361         (_FP_FRAC_SRS_4): Likewise.
362         (_FP_UNPACK_RAW_4): Likewise.
363         (_FP_UNPACK_RAW_4_P): Likewise.
364         (_FP_PACK_RAW_4): Likewise.
365         (_FP_PACK_RAW_4_P): Likewise.
366         (_FP_MUL_MEAT_DW_4_wide): Likewise.
367         (_FP_MUL_MEAT_4_wide): Likewise.
368         (_FP_MUL_MEAT_4_gmp): Likewise.
369         (umul_ppppmnnn): Likewise.
370         (_FP_DIV_MEAT_4_udiv): Likewise.
371         (__FP_FRAC_ADD_4): Likewise.
372         (__FP_FRAC_SUB_3): Likewise.
373         (__FP_FRAC_SUB_4): Likewise.
374         (__FP_FRAC_DEC_3): Likewise.
375         (__FP_FRAC_DEC_4): Likewise.
376         (__FP_FRAC_ADDI_4): Likewise.
377         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
378         (_FP_FRAC_SRL_8): Likewise.
379         (_FP_FRAC_SRS_8): Likewise.
380
381         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
382         include macro name.
383         (FP_UNPACK_RAW_EP): Likewise.
384         (FP_PACK_RAW_E): Likewise.
385         (FP_PACK_RAW_EP): Likewise.
386         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
387         (_FP_ISSIGNAN): Likewise.
388         (_FP_ADD_INTERNAL): Likewise.
389         (_FP_FMA): Likewise.
390         (_FP_CMP): Likewise.
391         (_FP_SQRT): Likewise.
392         (_FP_TO_INT): Likewise.
393         (_FP_FROM_INT): Likewise.
394         (FP_EXTEND): Likewise.
395         (_FP_DIV_MEAT_N_loop): Likewise.
396
397 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
398
399         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
400         throughout.
401
402 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
403
404         [BZ #17097]
405         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
406         result with correct sign in case of exponents that produce
407         overflow except for X very close to 1.
408
409 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
410
411         mktime: merge #if/#ifdef usage from glibc
412         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
413         as that works with both Glibc's and Gnulib's style.
414         See thread starting at Siddhesh Poyarekar's bug report at:
415         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
416
417 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
418
419         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
420         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
421         * sysdeps/tile/tilegx/memmove.c: Remove file.
422
423 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
424
425         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
426         abi-name definition.
427         * scripts/soversions.awk: Do not handle or generate ABI lines.
428         * shlib-versions: Remove ABI entries.
429         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
430         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
431
432 2014-06-27  Roland McGrath  <roland@hack.frob.com>
433
434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
435         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
436         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
437         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
439         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
441         Moved ...
442         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
443         ... here.
444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
445         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
447         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
449         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
451         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
453         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
455         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
457         Moved ...
458         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
460         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
461         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
462         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
463         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
464         Moved ...
465         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
466         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
467         Moved ...
468         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
470         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
472         Moved ...
473         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
475         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
477         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
478         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
479         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
481         Moved ...
482         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
484         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
485         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
486         Moved ...
487         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
488         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
489         Moved ...
490         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
492         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
493         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
494         Moved ...
495         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
496         ... here.
497         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
498         Identical file removed.
499         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
500         Moved ...
501         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
502         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
503         Identical file removed.
504         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
505         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
506         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
507         Moved ...
508         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
510         Identical file removed.
511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
512         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
513         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
514         Identical file removed.
515         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
516         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
517         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
518         Identical file removed.
519         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
520         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
522         Identical file removed.
523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
524         Moved ...
525         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
526         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
527         Identical file removed.
528         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
529         Moved ...
530         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
531         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
532         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
534         Identical file removed.
535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
536         Moved ...
537         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
538         ... here.
539         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
540         Identical file removed.
541         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
542         Moved ...
543         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
544         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
545         Identical file removed.
546         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
547         Moved ...
548         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
549         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
550         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
551         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
552         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
553         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
554         Moved ...
555         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
556         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
557         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
558
559         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
560         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
561         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
562         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
563         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
564
565 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
566
567         [BZ #17092]
568         * nscd/nscd.c (monitor_child): Return exit status of child
569         instead of return value from wait syscall.
570
571 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
572
573         * configure.ac (libc_commonpagesize): Remove variable.
574         (libc_relro_required): Likewise.
575         (libc_cv_z_relro): Remove configure test.
576         * configure: Regenerated.
577         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
578         variable.
579         (libc_relro_required): Likewise.
580         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
581         (libc_relro_required): Likewise.
582         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
583         (libc_relro_required): Likewise.
584         * sysdeps/arm/preconfigure: Regenerated.
585         * sysdeps/ia64/preconfigure: Remove file.
586         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
587         variable.
588         (libc_relro_required): Likewise.
589
590         [BZ #16561]
591         [BZ #16562]
592         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
593         (__ieee754_yn): Set FE_TONEAREST mode internally and then
594         recompute overflowing results in original rounding mode.
595         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
596         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
597         recompute overflowing results in original rounding mode.
598         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
599         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
600         recompute overflowing results in original rounding mode.
601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
602         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
603         recompute overflowing results in original rounding mode.
604         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
605         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
606         recompute overflowing results in original rounding mode.
607         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
608         (libc_feholdsetround_ctx): New macro.
609         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
610         * sysdeps/i386/fpu/libm-test-ulps: Update.
611         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
612
613 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
614
615         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
616         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
617         corresponding .cpsetup call.
618
619 2014-06-26  Roland McGrath  <roland@hack.frob.com>
620
621         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
622         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
623         * sysdeps/arm/Makefile [$(subdir) = csu]
624         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
625         (static-only-routines): Add aeabi_read_tp here.
626         (shared-only-routines): Add libc-aeabi_read_tp here.
627         (CFLAGS-libc-start.c): Add -fexceptions here.
628         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
629         (sysdep_routines, static-only-routines, shared-only-routines):
630         Don't add to these here.
631         (CFLAGS-libc-start.c): Likewise.
632
633         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
634         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
635         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
636         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
637         * sysdeps/arm/Makefile [$(subdir) = rt]
638         (librt-sysdep_routines, librt-shared-only-routines):
639         Append rt-aeabi_unwind_cpp_pr1 here.
640         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
641         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
642         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
643         (libpthread-sysdep_routines, libpthread-shared-only-routines):
644         Append nptl-aeabi_unwind_cpp_pr1 here.
645         (tests): Filter out tst-cleanupx4 here.
646         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
647         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
648         Don't do those here.
649
650 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
651
652         * scripts/list-sources.sh: Do not handle ports specially.
653
654 2014-06-26  Roland McGrath  <roland@hack.frob.com>
655
656         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
657         * sysdeps/arm/feupdateenv.c: Likewise.
658
659         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
660
661 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
662
663         * manual/texinfo.tex: Update to version 2014-05-05.10 with
664         trailing whitespace removed.
665         * scripts/config.guess: Update to version 2014-03-23.
666         * scripts/config.sub: Update to version 2014-05-01
667         * scripts/install-sh: Update to version 2013-12-25.23.
668         * scripts/move-if-change: Update from gnulib.
669
670 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
671
672         * debug/memmove_chk.c: Remove pagecopy.h include.
673
674 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
675
676         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
677         identical to gnulib mktime.
678
679 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
680
681         * configure.ac: Do not test for machine being rs6000.  Do not test
682         for powerpc*-*soft.
683         * configure: Regenerated.
684
685         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
686         test.
687         * configure: Regenerated.
688         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
689         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
690         Remove configure test.
691         * sysdeps/arm/configure: Regenerated.
692         * sysdeps/nptl/configure.ac: Do not check
693         libc_cv_asm_cfi_directives.
694         * sysdeps/nptl/configure: Regenerated.
695         * sysdeps/x86_64/nptl/configure.ac: Remove file.
696         * sysdeps/x86_64/nptl/configure: Remove generated file.
697         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
698         unconditional.
699         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
700
701 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
702
703         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
704         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
705         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
706         it is defined.
707
708         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
709         instead of whether it is defined.
710         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
711         * sysdeps/hppa/dl-machine.h: Likewise.
712         * sysdeps/ia64/dl-machine.h: Likewise.
713         * sysdeps/m68k/dl-machine.h: Likewise.
714         * sysdeps/microblaze/dl-machine.h: Likewise.
715         * sysdeps/mips/dl-machine.: Likewise.
716         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
717         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
718         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
719         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
720         * sysdeps/sh/dl-machine.h: Likewise.
721         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
722         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
723         * sysdeps/tile/dl-machine.h: Likewise.
724         * sysdeps/x86_64/dl-machine.h: Likewise.
725
726         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
727         code.
728         (verify_persistent_db): Likewise.
729
730 2014-06-26  Roland McGrath  <roland@hack.frob.com>
731
732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
733         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
735         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
737         Moved ...
738         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
739         ... here.
740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
741         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
743         Identical file removed.
744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
745         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
747         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
749         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
751         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
753         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
755         Moved ...
756         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
758         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
760         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
762         Moved ...
763         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
765         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
767         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
769         Identical file removed.
770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
771         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
773         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
775         Moved ...
776         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
777         ... here.
778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
779         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
781         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
783         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
785         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
787         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
789         Moved ...
790         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
792         Moved ...
793         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
795         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
797         Moved ...
798         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
800         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
801
802         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
803         folded into ...
804         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
805         * sysdeps/unix/sysv/linux/s390/Versions
806         (libpthread: GLIBC_2.19): New version set.
807         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
808         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
809         (librt: GLIBC_2.3.3): New version set.
810         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
811         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
812         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
813         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
814         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
815         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
816         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
817         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
818         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
819         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
820         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
821         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
822         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
823         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
824         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
825         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
826         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
827         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
828         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
829         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
830         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
831         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
832         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
833         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
834         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
835         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
836         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
837         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
838         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
839         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
840         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
841         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
843         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
845         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
846         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
848         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
849         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
850         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
851         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
852         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
853         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
854         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
855
856         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
857         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
858         (__libc_vfork): Define the function under this name.
859         [!NOT_IN_libc] (__vfork): Make this an alias.
860         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
861         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
862         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
863         (__libc_vfork): Define the function under this name.
864         [!NOT_IN_libc] (__vfork): Make this an alias.
865         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
866         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
867         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
868         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
869         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
870         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
871
872         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
873         code that was previously under [RESET_PID].
874         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
875         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
877
878         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
879         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
880         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
881         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
882         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
883         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
884         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
885         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
886         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
887         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
888         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
889         Moved ...
890         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
891         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
892         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
893         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
894         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
895         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
896         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
897         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
898         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
899         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
900         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
901         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
902         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
903         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
904         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
905         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
906         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
907         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
908         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
909         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
910         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
911         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
912         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
913         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
914         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
915         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
916         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
917         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
918         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
919
920 2014-06-25  Roland McGrath  <roland@hack.frob.com>
921
922         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
923         that was previously under [RESET_PID].
924         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
925
926 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
927
928         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
929         not undefine and redefine.
930         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
931         [O_CLOEXEC]: Make code unconditional.
932         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
933         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
934         <kernel-features.h>.
935         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
936         conditional variable definition.
937         (shm_open) [O_CLOEXEC]: Make code unconditional.
938         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
939         code.
940
941         * configure.ac (USE_REGPARMS): Don't define here.
942         * configure: Regenerated.
943         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
944         * sysdeps/i386/configure: Regenerated.
945
946         * nptl/createthread.c: Don't include kernel-features.h.
947         * nptl/pthread_cancel.c: Likewise.
948         * nptl/pthread_condattr_setclock.c: Likewise.
949         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
950         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
951         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
952         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
953         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
954         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
955         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
956         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
957         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
958         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
959         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
960         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
961         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
962         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
963         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
964         * nscd/gai.c: Likewise.
965         * nss/nss_db/db-open.c: Likewise.
966         * sysdeps/generic/ldsodefs.h: Likewise.
967         * sysdeps/sh/nptl/tls.h: Likewise.
968         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
969         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
970         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
971         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
972         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
973         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
974         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
975         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
976         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
977         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
978         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
979         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
980         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
981         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
982         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
983         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
984         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
985         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
986         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
987         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
988         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
989         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
990         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
991         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
992         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
993         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
994         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
995         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
996         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
997         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
998         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
999         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1000         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1001         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1002         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1003         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1004         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1005         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1006         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1007         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1008         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1009         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1010         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1011         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1012         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1013         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1014         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1015         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1016         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1017         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1018         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1019         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1020         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1021         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1022         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1023         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1024         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1025         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1048         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1049         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1050         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1051         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1052         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1053         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1054         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1055         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1056         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1057         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1058         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1059         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1060         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1061         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1062         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1063         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1064         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1065         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1066         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1067         * sysdeps/unix/sysv/linux/system.c: Likewise.
1068         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1069         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1070         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1071         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1072         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1073         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1074         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1075
1076         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1077         * configure: Regenerated.
1078         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1079
1080         * configure.ac (base_machine): Do not set specially for particular
1081         machines here.
1082         * configure: Regenerated.
1083         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1084         settings from configure.ac.
1085         * sysdeps/i386/preconfigure: New file.
1086         * sysdeps/s390/preconfigure: Likewise.
1087         * sysdeps/sh/preconfigure: Likewise.
1088         * sysdeps/sparc/preconfigure: Likewise.
1089
1090 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1091
1092         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1093         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1094         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1095         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1096         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1097         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1098         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1099         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1100         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1101         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1102         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1103         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1104         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1105         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1106         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1107         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1108         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1109         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1110         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1111
1112         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1113         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1114         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1115         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1116         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1117         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1118         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1119         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1120         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1121         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1122         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1123         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1124         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1125         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1126         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1127         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1128         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1129         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1130         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1131         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1132         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1133         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1134         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1135         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1136         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1137         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1138         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1139         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1140         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1141         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1142         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1143         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1144         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1145         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1146         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1147         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1148         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1149         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1150
1151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1152         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1154         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1156         Moved ...
1157         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1158         ... here.
1159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1160         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1162         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1164         Moved ...
1165         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1167         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1169         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1171         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1173         Moved ...
1174         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1176         Moved ...
1177         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1179         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1181         Moved ...
1182         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1184         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1186         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1188         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1190         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1192         Moved ...
1193         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1194         ... here.
1195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1196         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1198         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1200         Moved ...
1201         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1203         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1205         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1207         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1209         Moved ...
1210         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1212         Moved ...
1213         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1215         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1217         Moved ...
1218         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1220         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1222         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1223
1224 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1225
1226         * timezone/checktab.awk: Update from tzcode 2014e.
1227         * timezone/private.h: Likewise.
1228         * timezone/tzfile.h: Likewise.
1229         * timezone/zdump.c: Likewise.
1230         * timezone/zic.c: Likewise.
1231
1232         * sysdeps/unix/sysv/linux/kernel-features.h
1233         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1234         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1235         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1236         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1237         Remove conditional code.
1238
1239 2014-06-25  Will Newton  <will.newton@linaro.org>
1240
1241         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1242         (_dl_arm_cap_flags): Add HWCAP2 values.
1243         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1244         (_DL_HWCAP_COUNT): Increase to 37.
1245         (_DL_HWCAP_LAST): New define.
1246         (_DL_HWCAP2_LAST): New define.
1247         (_dl_procinfo): Add support for printing
1248         AT_HWCAP2 entries.
1249         (_dl_string_hwcap): Use _dl_hwcap_string.
1250
1251 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1252
1253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1254
1255 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1256
1257         * README: Do not mention ports directory.
1258
1259         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1260         Remove macro.
1261         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1262         <kernel-features.h>.
1263         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1264         conditional variable definition.
1265         (__futimes): Update comment.
1266         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1267         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1268
1269         [BZ #16560]
1270         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1271         arguments close to 0.
1272         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1273         Likewise.
1274         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1275         Likewise.
1276         * math/auto-libm-test-in: Add more tests of exp10.
1277         * math/auto-libm-test-out: Regenerated.
1278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1279
1280         * sysdeps/unix/sysv/linux/kernel-features.h
1281         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1282         * sysdeps/unix/sysv/linux/readv.c: Do not include
1283         <kernel-features.h>.
1284         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1285         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1286         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1287         unconditional.
1288         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1289         conditional code.
1290         * sysdeps/unix/sysv/linux/writev.c: Do not include
1291         <kernel-features.h>.
1292         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1293         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1294         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1295         unconditional.
1296         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1297         conditional code.
1298
1299 2014-06-25  Will Newton  <will.newton@linaro.org>
1300
1301         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1302         comment changes throughout the file.  Remove checks
1303         for HAVE_*_H definitions that are not required.
1304         (__gen_tempname): Call abort if an unknown kind value is
1305         passed.
1306
1307 2014-06-25  Andreas Schwab  <schwab@suse.de>
1308
1309         [BZ #17086]
1310         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1311         scalbln, scalblnf, scalblnl in libc.
1312
1313 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1314
1315         [BZ #17086]
1316         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1317         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1318         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1319
1320 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1321
1322         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1323         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1324         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1325         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1326         Update #include.
1327         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1328         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1329         Update #include.
1330         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1331         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1332         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1333         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1334         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1335         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1336         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1337         * sysdeps/x86/bits/semaphore.h: ... here.
1338         * sysdeps/x86/nptl/elide.h: Moved ...
1339         * sysdeps/x86/elide.h: ... here.
1340         * sysdeps/x86_64/nptl/Implies: File removed.
1341         * sysdeps/i386/nptl/Implies: File removed.
1342
1343 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1344
1345         [BZ #16539]
1346         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1347         return the argument for normal arguments with exponent below -64.
1348         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1349         Likewise.
1350         * math/auto-libm-test-in: Add another test of expm1.
1351         * math/auto-libm-test-out: Regenerated.
1352
1353         [BZ #16287]
1354         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1355         calling __erfcl for arguments at least 16.
1356         * math/auto-libm-test-in: Add more tests of erf.
1357         * math/auto-libm-test-out: Regenerated.
1358
1359         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1360         individual architectures.
1361         * sysdeps/unix/sysv/linux/configure: Regenerated.
1362         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1363         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1364         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1365         (ldd_rewrite_script): Define variable.
1366         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1368         file.
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1370         generated file.
1371         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1372         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1373         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1374         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1375         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1376         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1377         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1378         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1379
1380 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1381
1382         [BZ #17084]
1383         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1384         Rename member __data.d to __data.__elision_data.
1385
1386 2014-06-24  Wilco  <wdijkstr@arm.com>
1387
1388         * NEWS: Add 16918 to fixed bug list.
1389
1390 2014-06-24  Wilco  <wdijkstr@arm.com>
1391
1392         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1393
1394 2014-06-24  Wilco  <wdijkstr@arm.com>
1395
1396         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1397         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1398         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1399         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1400         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1401         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1402         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1403         Use _FPU_MASK_RM.
1404
1405 2014-06-24  Wilco  <wdijkstr@arm.com>
1406
1407         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1408
1409 2014-06-24  Wilco  <wdijkstr@arm.com>
1410
1411         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1412         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1413         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1414         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1415
1416 2014-06-24  Wilco  <wdijkstr@arm.com>
1417
1418         [BZ #16918]
1419         * sysdeps/arm/feupdateenv.c (feupdateenv):
1420         Rewrite to reduce FPSCR accesses and fix return value.
1421
1422 2014-06-24  Wilco  <wdijkstr@arm.com>
1423
1424         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1425         Optimize to avoid unnecessary FPSCR writes.
1426         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1427         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1428         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1429         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1430
1431 2014-06-24  Wilco  <wdijkstr@arm.com>
1432
1433         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1434         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1435         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1436         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1437         Call libc_fetestexcept_vfp.
1438         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1439         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1440         __SOFTFP__ ifdef so that they can be built for softfp.
1441
1442 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1443
1444         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1445         argument type signed char.
1446
1447         * Makerules (check-abi): Dump diff of symlist if the test
1448         fails.
1449
1450 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1451
1452         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1453         using abort.
1454
1455         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1456         Remove unused variable ST.
1457
1458 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1459
1460         [BZ #16354]
1461         [BZ #17061]
1462         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1463         small arguments before calling __expm1.
1464         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1465         small arguments before calling __expm1f.
1466         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1467         small arguments before calling __expm1l.
1468         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1469         Likewise.
1470         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1471         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1472         spurious underflow for some cosh tests.
1473         * math/auto-libm-test-out: Regenerated.
1474         * sysdeps/i386/fpu/libm-test-ulps: Update.
1475
1476         [BZ #17050]
1477         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1478         (__ieee754_y1): Set errno if return value overflows.
1479         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1480         (__ieee754_y1f): Set errno if return value overflows.
1481         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1482         (__ieee754_y1l): Set errno if return value overflows.
1483         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1484         (__ieee754_y1l): Set errno if return value overflows.
1485         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1486         * math/auto-libm-test-out: Regenerated.
1487
1488         * math/gen-auto-libm-tests.c: Document use of
1489         ignore-zero-inf-sign.
1490         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1491         (input_flags): Add ignore-zero-inf-sign.
1492         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1493         * math/gen-libm-test.pl (generate_testfile): Handle
1494         ignore-zero-inf-sign.
1495         * math/auto-libm-test-in: Mark some cpow tests with
1496         ignore-zero-inf-sign and some with xfail-rounding.
1497         * math/auto-libm-test-out: Regenerated.
1498         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1499         * sysdeps/i386/fpu/libm-test-ulps: Update.
1500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1501
1502         [BZ #16315]
1503         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1504         overflowing or underflowing operations take place with sign of
1505         result.
1506         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1507         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1508         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1509         (__ieee754_pow): Recompute overflowing and underflowing results in
1510         original rounding mode.
1511         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1512         (__powl_helper): Allow negative argument X and scale negated value
1513         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1514         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1515         overflowing or underflowing operations take place with sign of
1516         result.
1517         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1518         Include <math.h>.
1519         * math/auto-libm-test-in: Add more tests of pow.
1520         * math/auto-libm-test-out: Regenerated.
1521         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1522         (pow_tonearest_test_data): Remove.
1523         (pow_test_tonearest): Likewise.
1524         (pow_towardzero_test_data): Likewise.
1525         (pow_test_towardzero): Likewise.
1526         (pow_downward_test_data): Likewise.
1527         (pow_test_downward): Likewise.
1528         (pow_upward_test_data): Likewise.
1529         (pow_test_upward): Likewise.
1530         (main): Don't call removed functions.
1531         * sysdeps/i386/fpu/libm-test-ulps: Update.
1532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1533
1534 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1535
1536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1537         Moved ...
1538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1540         Moved ...
1541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1543         Moved ...
1544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1546         Moved ...
1547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1549         File removed.
1550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1551         File removed.
1552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1553         File removed.
1554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1555         File removed.
1556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1557         File removed.
1558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1559         File removed.
1560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1561         File removed.
1562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1563         File removed.
1564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1565         File removed.
1566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1567         File removed.
1568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1569         File removed.
1570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1571         File removed.
1572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1573         Moved ...
1574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1576         Moved ...
1577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1578         ... here.
1579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1580         Moved ...
1581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1583         Moved ...
1584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1586         Moved ...
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1589         Moved ...
1590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1592         Moved ...
1593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1595         Moved ...
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1598         Moved ...
1599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1602         ... here.
1603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1604         Moved ...
1605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1607         Moved ...
1608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1609         ... here.
1610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1611         Moved ...
1612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1613         ... here.
1614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1615         Moved ...
1616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1617         ... here.
1618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1619         Moved ...
1620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1622         Moved ...
1623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1627         Moved ...
1628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1629         ... here.
1630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1631         Moved ...
1632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1633         ... here.
1634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1635         Moved ...
1636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1638         Moved ...
1639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1641         Moved ...
1642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1644         Moved ...
1645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1647         Moved ...
1648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1649         ... here.
1650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1651         Moved ...
1652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1654         Moved ...
1655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1657         Moved ...
1658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1660         Moved ...
1661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1665         Moved ...
1666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1668         Moved ...
1669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1671         Moved ...
1672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1673         ... here.
1674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1675         Moved ...
1676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1677         ... here.
1678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1679         Moved ...
1680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1681         ... here.
1682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1683         Moved ...
1684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1686         Moved ...
1687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1689         Moved ...
1690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1692         Moved ...
1693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1694         ... here.
1695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1696         Moved ...
1697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1698         ... here.
1699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1700         Moved ...
1701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1702         ... here.
1703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1704         Moved ...
1705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1707         Moved ...
1708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1709
1710 2014-06-23  Will Newton  <will.newton@linaro.org>
1711             Wilco  <wdijkstr@arm.com>
1712
1713         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1714         implementation.  Include get-rounding-mode.h.
1715         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1716         [!libc_feholdsetround_noex_ctx]: Define
1717         libc_feholdsetround_noex_ctx.
1718         [!libc_feholdsetround_noexf_ctx]: Define
1719         libc_feholdsetround_noexf_ctx.
1720         [!libc_feholdsetround_noexl_ctx]: Define
1721         libc_feholdsetround_noexl_ctx.
1722         (libc_feholdsetround_ctx): New function.
1723         (libc_feresetround_ctx): New function.
1724         (libc_feholdsetround_noex_ctx): New function.
1725         (libc_feresetround_noex_ctx): New function.
1726
1727 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1728
1729         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1730         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1731         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1732         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1733         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1734         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1735
1736         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1737         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1738         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1739         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1740         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1741         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1742         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1743         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1744         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1745         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1746         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1747         Moved ...
1748         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1749         ... here.
1750         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1751         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1753         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1754         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1755         Moved ...
1756         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1757         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1758         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1759         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1760         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1761         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1762         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1763         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1764         Moved ...
1765         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1766         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1767         Moved ...
1768         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1769         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1770         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1771         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1772         Moved ...
1773         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1775         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1776         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1777         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1778         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1779         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1780         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1781         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1782         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1783         Moved ...
1784         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1785         ... here.
1786         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1787         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1788         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1789         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1790         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1791         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1792         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1793         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1794         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1795         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1796         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1797         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1798         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1799         Moved ...
1800         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1801         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1802         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1803         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1804         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1805         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1806         Moved ...
1807         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1808         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1809         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1810         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1811         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1812
1813         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1814         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1815         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1816         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1817         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1818         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1819         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1820         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1822         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1823         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1824         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1825         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1826         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1827         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1828         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1829         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1830         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1831         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1832         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1833         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1834         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1835         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1836         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1837         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1838         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1839         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1840         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1841
1842 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1843
1844         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1845         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1846         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1847         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1848         (IPV6_PMTUDISC_INTERFACE): Likewise.
1849         (IPV6_PMTUDISC_OMIT): Likewise.
1850
1851 2014-06-23  Andreas Schwab  <schwab@suse.de>
1852
1853         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1854         Remove unused errout label.
1855
1856 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1857
1858         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1859         macro: hardware supports Vector Crypto instructions.
1860
1861 2014-06-23  Will Newton  <will.newton@linaro.org>
1862
1863         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1864         rather than __builtin_expect.
1865
1866         * elf/dl-lookup.c (undefined_msg): Remove variable.
1867         (_dl_lookup_symbol_x): Replace undefined_msg with string
1868         literal.
1869
1870         * elf/dl-lookup.c (do_lookup_unique): New function.
1871         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1872         to a separate function.
1873
1874 2014-06-23  Andreas Schwab  <schwab@suse.de>
1875
1876         [BZ #17079]
1877         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1878         before reading the next line.
1879
1880 2014-06-23  Will Newton  <will.newton@linaro.org>
1881
1882         * test-skeleton.c (signal_handler): Use printf and %m
1883         rather than perror.  Use printf rather than fprintf to
1884         stderr.  Use puts rather than fputs to stderr.
1885         (main): Likewise.
1886
1887 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1888
1889         * nscd/nscd.c (thread_info_t): Remove typedef.
1890         (thread_info): Remove variable.
1891
1892 2014-06-21  Allan McRae  <allan@archlinux.org>
1893
1894         * NEWS: Mention CVE-2014-4043.
1895
1896 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1897
1898         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1899         * nptl/smp.h: ... here.
1900
1901         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1902
1903         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1904         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1905         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1906         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1907
1908         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1909         * nptl/stack-aliasing.h: New file.
1910         * sysdeps/i386/i686/stack-aliasing.h: New file.
1911         * sysdeps/i386/i686/nptl/Makefile: File removed.
1912         * sysdeps/x86_64/stack-aliasing.h: New file.
1913         * sysdeps/x86_64/nptl/Makefile
1914         (CFLAGS-pthread_create.c): Variable removed.
1915
1916         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1917         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1918         old file.
1919         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1920         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1921         old file.
1922
1923 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1924
1925         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1926         (__ASSUME_SIGFRAME_V2): Remove macro.
1927         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1928         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1929         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1930         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1931         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1932         Declare as function.  Remove conditional macro definitions.
1933         (__default_rt_sa_restorer): Likewise.
1934         (__default_sa_restorer_v1): Remove declaration.
1935         (__default_sa_restorer_v2): Likewise.
1936         (__default_rt_sa_restorer_v1): Likewise.
1937         (__default_rt_sa_restorer_v2): Likewise.
1938         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1939         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1940         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1941
1942 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1943
1944         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1945         (libpthread-routines): Add sysdep.
1946         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1947         * sysdeps/unix/sysv/linux/sparc/Versions
1948         (libpthread: GLIBC_2.3.3): New version set.
1949         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1950         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1951         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1952         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1953         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1954         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1955         Moved ...
1956         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1957         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1958         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1959         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1960         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1961         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1962         * sysdeps/sparc/nptl/sem_init.c: ... here.
1963         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1964         * sysdeps/sparc/nptl/sem_post.c: ... here.
1965         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1966         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1967         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1968         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1969         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1970         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1971         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1972         (libpthread-routines): Add cpu_relax.
1973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1974         File removed.
1975         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1976         (librt: GLIBC_2.3.3): New version set.
1977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1978         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1979         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1980         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1983         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1985         Moved ...
1986         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1988         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1990         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1992         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1994         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1996         Moved ...
1997         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1998         Update #include.
1999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2000         Moved ...
2001         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2002         Update #include.
2003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2004         Moved ...
2005         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2006         Update #include.
2007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2008         Moved ...
2009         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2010         Update #include.
2011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2012         Moved ...
2013         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2014         Update #include.
2015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2016         Moved ...
2017         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2018         Update #include.
2019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2020         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2024         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2026         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2028         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2030         Moved ...
2031         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2033         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2035         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2036
2037 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2038
2039         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2040         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2041         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2042         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2043         * nscd/nscd.c: Likewise.
2044         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2045         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2046         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2047         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2048
2049         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2050         <kernel-features.h>.
2051         (init_mq_netlink): Remove conditional have_sock_cloexec
2052         definitions.  Remove code conditional on have_sock_cloexec < 0.
2053         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2054         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2055         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2056         <kernel-features.h>.
2057         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2058         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2059
2060 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2061
2062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2063         Add tests for memset_chk and memset.
2064
2065         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2066         with AVX2_Usable.
2067
2068 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2069
2070         [BZ #16046]
2071         * elf/tst-dl-iter-static.c: New file.
2072         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2073
2074         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2075         error.
2076
2077 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2078
2079         * sysdeps/unix/sysv/linux/kernel-features.h
2080         (__ASSUME_F_GETOWN_EX): Remove macro.
2081         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2082         <kernel-features.h>.
2083         (miss_F_GETOWN_EX): Remove variable or macro.
2084         (do_fcntl): Do not check miss_F_GETOWN_EX.
2085         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2086
2087         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2088         Remove macro.
2089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2090         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2091         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2092
2093         * sysdeps/unix/sysv/linux/kernel-features.h
2094         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2095         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2096         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2097         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2098
2099 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2100
2101         [BZ #17075]
2102         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2103         Fix calculation of the symbol's value.
2104         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2105         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2106         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2107         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2108         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2109         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2110         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2111         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2112         (modules-names): Add `tst-armtlsdescmod',
2113         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2114         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2115         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2116         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2117         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2118         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2119         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2120         ($(objpfx)tst-armtlsdescloc): New dependency.
2121         ($(objpfx)tst-armtlsdescextnow): Likewise.
2122         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2123         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2124         TLS scheme support.
2125         * sysdeps/arm/configure: Regenerate.
2126
2127 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2128
2129         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2130         (__atfct_seterrno_2): Likewise.
2131         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2132         <kernel-features.h>.
2133         (__ASSUME_ATFCTS): Do not undefine and redefine.
2134         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2135         (__have_atfcts): Remove conditional definition.
2136         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2137         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2138         unreachable if [__ASSUME_ATFCTS].
2139         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2140         not undefine and redefine.
2141         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2142         <kernel-features.h>.
2143         (faccessat) [__NR_faccessat]: Make code unconditional.
2144         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2145         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2146         <kernel-features.h>.
2147         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2148         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2149         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2150         <kernel-features.h>.
2151         (fchownat) [__NR_fchownat]: Make code unconditional.
2152         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2153         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2154         <kernel-features.h>.
2155         (futimesat) [__NR_futimesat]: Make code unconditional.
2156         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2157         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2158         <kernel-features.h>.
2159         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2160         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2161         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2162         <kernel-features.h>.
2163         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2164         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2165         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2166         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2167         <kernel-features.h>.
2168         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2169         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2170         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2171         <kernel-features.h>.
2172         (linkat) [__NR_linkat]: Make code unconditional.
2173         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2174         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2175         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2176         <kernel-features.h>.
2177         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2178         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2179         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2180         <kernel-features.h>.
2181         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2182         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2183         * sysdeps/unix/sysv/linux/openat.c: Do not include
2184         <kernel-features.h>.
2185         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2186         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2187         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2188         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2189         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2190         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2191         <kernel-features.h>.
2192         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2193         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2194         result of INLINE_SYSCALL directly, not via int variable.
2195         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2196         <kernel-features.h>.
2197         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2198         (renameat) [__NR_renameat]: Make code unconditional.
2199         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2200         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2201         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2202         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2203         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2204         (__ASSUME_ATFCTS): Do not undefine and redefine.
2205         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2206         <kernel-features.h>.
2207         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2208         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2209         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2210         <kernel-features.h>.
2211         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2212         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2213         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2214         (__ASSUME_ATFCTS): Do not undefine and redefine.
2215         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2216         <kernel-features.h>.
2217         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2218         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2219         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2220         <kernel-features.h>.
2221         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2222         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2223
2224 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2225
2226         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2227
2228 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2229
2230         [BZ #17069]
2231         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2232         constructed tree before returning error.
2233         * posix/bug-regexp36.c: Expand test case.
2234
2235 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2236
2237         [BZ #6803]
2238         * math/libm-test.inc (scalbln_test_date):
2239         Add errno expectations.
2240         * math/w_scalblnf.c: New File.
2241         Add wrapper which checks for setting errno to ERANGE.
2242         Add weak_alias for corresponding scalbln function.
2243         * math/w_scalbln.c: Likewise.
2244         * math/w_scalblnl.c: Likewise.
2245         * math/Makefile (libm-calls): Add w_scalbln.
2246         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2247         Remove weak_alias for corresponding scalbln function.
2248         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2249         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2250         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2251         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2252         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2253         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2254         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2255         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2256         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2257         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2258         Remove long_double_symbol for scalblnl function in libm, libc.
2259         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2260         Add wrapper which checks for setting errno to ERANGE.
2261         Add long_double_symbol for scalblnl function in libm, libc.
2262         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2263         Remove long_double_symbol for scalblnl in libm.
2264         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2265         Add wrapper which checks for setting errno to ERANGE.
2266         Add long_double_symbol for scalblnl function in libm.
2267         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2268         Do not use wrapper because of own implementation.
2269
2270 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2271
2272         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2273         3 bytes for __pad1 for x32.
2274         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2275
2276 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2277             H.J. Lu  <hongjiu.lu@intel.com>
2278
2279         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2280         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2281         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2282         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2283         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2284
2285 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2286
2287         [BZ #17069]
2288         * posix/regcomp.c (parse_expression): Deallocate partially
2289         constructed tree before returning error.
2290         * posix/Makefile.c (tests): Add bug-regex36.
2291         (generated): Add bug-regex36.mtrace.
2292         (tests-special): Add $(objpfx)bug-regex36-mem.out
2293         (bug-regex36-ENV): New variable.
2294         ($(objpfx)bug-regex36-mem.out): New rule.
2295         * posix/bug-regex36.c: New file.
2296
2297 2014-06-19  Will Newton  <will.newton@linaro.org>
2298
2299         * malloc/malloc.c (systrim): If extra is zero then return
2300         early.
2301
2302 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2303
2304         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2305
2306 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2307
2308         * sysdeps/aarch64/strchr.S: New file.
2309
2310 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2311
2312         [BZ #17022]
2313         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2314         from arguments -2 or below.
2315         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2316         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2317
2318 2014-06-18  Andreas Schwab  <schwab@suse.de>
2319
2320         [BZ #17062]
2321         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2322         of a bracket expr not to run off the end of the string.
2323         * posix/Makefile (tests): Add tst-fnmatch3.
2324         * posix/tst-fnmatch3.c: New file.
2325
2326 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2327
2328         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2329         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2330         [$(cross-compiling) = no]: Likewise.
2331         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2332         [$(cross-compiling) = no]: Likewise.
2333
2334 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2335
2336         [BZ #17031]
2337         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2338         double, adjusted for any remainder from the high double.
2339         * math/libm-test.inc (nearbyint): Add tests.
2340         (rint): Likewise.
2341
2342 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2343
2344         * nptl/sysdeps/powerpc/Makefile: Moved ...
2345         * sysdeps/powerpc/nptl/Makefile: ... here.
2346         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2347         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2348         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2349         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2350         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2351         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2352         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2353         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2354         * nptl/sysdeps/powerpc/tls.h: Moved ...
2355         * sysdeps/powerpc/nptl/tls.h: ... here.
2356
2357 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2358
2359         [BZ #16681]
2360         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2361         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2362         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2363         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2364         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2365         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2366         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2367         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2368         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2369
2370 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2371
2372         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2373
2374 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2375
2376         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2377         defined operator.
2378
2379         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2380         $TIMEOUTFACTOR.
2381
2382 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2383
2384         [BZ #17058]
2385         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2386         non-executed part of the test.
2387
2388 2014-06-16  Andreas Schwab  <schwab@suse.de>
2389
2390         * string/bits/string2.h (strdup, strndup): Update feature guard.
2391
2392 2014-06-14  David S. Miller  <davem@davemloft.net>
2393
2394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2395
2396 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2397
2398         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2399         that was previously under [RESET_PID].
2400         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2401
2402         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2403         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2404         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2405         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2406         (__libc_vfork): New strong alias.
2407         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2408
2409 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2410
2411         * sysdeps/generic/elide.h: New file.
2412
2413 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2414
2415         * Makefile (installed-headers): Adjust path of pthread.h header.
2416
2417 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2418
2419         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2420         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2421         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2422         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2423
2424         * nptl/sysdeps/s390/Makefile: Moved ...
2425         * sysdeps/s390/nptl/Makefile: ... here.
2426         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2427         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2428         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2429         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2430         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2431         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2432         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2433         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2434         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2435         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2436         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2437         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2438         * nptl/sysdeps/s390/tls.h: Moved ...
2439         * sysdeps/s390/nptl/tls.h: ... here.
2440
2441         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2442         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2443
2444 2014-06-13  David S. Miller  <davem@davemloft.net>
2445
2446         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2449         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2453         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2454         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2455         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2456         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2457         Remove RESET_PID cpp guards.
2458         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2459         Remove RESET_PID cpp guards.
2460         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2461
2462 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2463
2464         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2465         __sp to uintptr_t.
2466
2467 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2468
2469         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2470         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2471         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2472         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2473         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2474         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2475         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2476         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2477         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2478         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2479         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2480         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2481         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2482         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2483         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2484         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2485         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2486         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2487         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2488         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2489
2490         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2491         (pthread_rwlock_rdlock): Add elision.
2492         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2493         (pthread_rwlock_wrlock): Add elision.
2494         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2495         (pthread_rwlock_trywrlock): Add elision.
2496         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2497         (pthread_rwlock_tryrdlock): Add elision.
2498         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2499         (pthread_rwlock_tryrdlock): Add elision unlock.
2500         * nptl/sysdeps/pthread/pthread.h:
2501         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2502         (PTHREAD_RWLOCK_INITIALIZER,
2503         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2504         Handle new elision field.
2505         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2506         * sysdeps/arm/nptl/bits/pthreadtypes.h
2507         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2508         * sysdeps/sh/nptl/bits/pthreadtypes.h
2509         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2510         * sysdeps/tile/nptl/bits/pthreadtypes.h
2511         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2512         * sysdeps/a/nptl/bits/pthreadtypes.h
2513         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2514         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2515         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2516         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2517         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2518         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2519         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2520         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2521         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2522         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2524         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2525         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2526         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2527         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2528         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2529         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2530         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2531         (elision_init): Set try_xbegin to zero when no RTM.
2532         * sysdeps/x86/nptl/bits/pthreadtypes.h
2533         (pthread_rwlock_t): Change __pad1 to __rwelision.
2534         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2535
2536 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2537
2538         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2539         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2540         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2541         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2542
2543 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2544
2545         [BZ #16996]
2546         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2547         that the cached result has been set before returning it.
2548
2549 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2550
2551         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2552         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2553         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2554         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2555         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2556         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2557
2558         * nptl/sysdeps/sparc/Makefile: Moved ...
2559         * sysdeps/sparc/nptl/Makefile: ... here.
2560         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2561         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2562         * nptl/sysdeps/sparc/tls.h: Moved ...
2563         * sysdeps/sparc/nptl/tls.h: ... here.
2564         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2565         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2566         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2567         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2568         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2569         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2570         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2571         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2572         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2573         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2574         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2575         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2576         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2577         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2578         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2579         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2580         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2581         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2582         Update #include.
2583         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2584         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2585         Update #include.
2586         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2587         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2588         Update #include.
2589         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2590         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2591         Update #include.
2592
2593         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2594
2595         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2596         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2597
2598         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2599         (struct list_links): Type removed.
2600         (struct thread_node, struct timer_node): Replace struct list_links
2601         with struct list_head.
2602         (list_unlink_ip): Likewise.
2603         * sysdeps/pthread/timer_routines.c
2604         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2605         (list_append, list_insbefore): Likewise.
2606         (list_init): Function removed.
2607         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2608         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2609         * sysdeps/pthread/Makefile: ... here, new file.
2610
2611         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2612         * sysdeps/nptl/Implies: ... here.
2613         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2614         * nptl/sysdeps/pthread/list.h: Moved ...
2615         * include/list.h: ... here.
2616         * nptl/sysdeps/pthread/createthread.c: Moved ...
2617         * nptl/createthread.c: ... here.
2618         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2619         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2620         * nptl/pt-longjmp.c: ... here.
2621         * nptl/sysdeps/pthread/Makefile: Moved ...
2622         * sysdeps/nptl/Makefile: ... here.
2623         * nptl/sysdeps/pthread/Subdirs: Moved ...
2624         * sysdeps/nptl/Subdirs: ... here.
2625         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2626         * sysdeps/nptl/aio_misc.h: ... here.
2627         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2628         * sysdeps/nptl/bits/libc-lock.h: ... here.
2629         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2630         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2631         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2632         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2633         * nptl/sysdeps/pthread/configure: Moved ...
2634         * sysdeps/nptl/configure: ... here.
2635         * nptl/sysdeps/pthread/configure.ac: Moved ...
2636         * sysdeps/nptl/configure.ac: ... here.
2637         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2638         * sysdeps/nptl/gai_misc.h: ... here.
2639         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2640         * sysdeps/nptl/librt-cancellation.c: ... here.
2641         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2642         * sysdeps/nptl/malloc-machine.h: ... here.
2643         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2644         * sysdeps/nptl/pthread-functions.h: ... here.
2645         * nptl/sysdeps/pthread/pthread.h: Moved ...
2646         * sysdeps/nptl/pthread.h: ... here.
2647         * nptl/sysdeps/pthread/setxid.h: Moved ...
2648         * sysdeps/nptl/setxid.h: ... here.
2649         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2650         * sysdeps/nptl/sigfillset.c: ... here.
2651         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2652         * sysdeps/nptl/tcb-offsets.h: ... here.
2653         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2654         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2655         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2656         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2657         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2658         * sysdeps/pthread/allocalim.h: ... here.
2659         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2660         * sysdeps/pthread/bits/sigthread.h: ... here.
2661         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2662         * sysdeps/pthread/flockfile.c: ... here.
2663         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2664         * sysdeps/pthread/ftrylockfile.c: ... here.
2665         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2666         * sysdeps/pthread/funlockfile.c: ... here.
2667         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2668         * sysdeps/pthread/posix-timer.h: ... here.
2669         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2670         * sysdeps/pthread/timer_create.c: ... here.
2671         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2672         * sysdeps/pthread/timer_delete.c: ... here.
2673         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2674         * sysdeps/pthread/timer_getoverr.c: ... here.
2675         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2676         * sysdeps/pthread/timer_gettime.c: ... here.
2677         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2678         * sysdeps/pthread/timer_routines.c: ... here.
2679         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2680         * sysdeps/pthread/timer_settime.c: ... here.
2681         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2682         * sysdeps/pthread/tst-timer.c: ... here.
2683         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2684         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2685
2686         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2687         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2688
2689         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2690         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2691         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2692         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2693         Update #include target.
2694         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2695         * sysdeps/i386/i686/nptl/Makefile: ... here.
2696         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2697         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2698         Update #include target.
2699         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2700         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2701         * nptl/sysdeps/i386/Makefile: Moved ...
2702         * sysdeps/i386/nptl/Makefile: ... here.
2703         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2704         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2705         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2706         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2707         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2708         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2709         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2710         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2711         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2712         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2713         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2714         * nptl/sysdeps/i386/tls.h: Moved ...
2715         * sysdeps/i386/nptl/tls.h: ... here.
2716
2717         * sysdeps/sh/Makefile [$(subdir) = csu]
2718         (gen-as-const-headers): Add tcb-offsets.sym.
2719         * nptl/sysdeps/sh/Makefile: File removed.
2720         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2721         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2722         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2723         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2724         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2725         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2726         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2727         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2728         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2729         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2730         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2731         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2732         * nptl/sysdeps/sh/tls.h: Moved ...
2733         * sysdeps/sh/nptl/tls.h: ... here.
2734         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2735         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2736         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2737         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2738         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2739         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2740         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2741         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2742         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2743         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2744         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2745         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2746         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2747         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2748         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2749         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2750         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2751         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2752         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2753         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2754         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2755         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2756         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2757         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2758         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2759         Moved ...
2760         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2761         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2762         Moved ...
2763         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2764         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2765         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2766         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2767         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2768         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2769         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2770         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2771         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2772         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2773         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2774         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2775         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2776         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2777         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2778         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2779         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2780         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2781         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2782
2783 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2784
2785         * posix/spawn_faction_addopen.c: Include string.h.
2786
2787 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2788
2789         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2790         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2791         * nptl/sysdeps/x86_64/Makefile: Moved ...
2792         * sysdeps/x86_64/nptl/Makefile: ... here.
2793         * nptl/sysdeps/x86_64/configure: Moved ...
2794         * sysdeps/x86_64/nptl/configure: ... here.
2795         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2796         * sysdeps/x86_64/nptl/configure.ac: ... here.
2797         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2798         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2799         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2800         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2801         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2802         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2803         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2804         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2805         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2806         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2807         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2808         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2809         * nptl/sysdeps/x86_64/tls.h: Moved ...
2810         * sysdeps/x86_64/nptl/tls.h: ... here.
2811         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2812         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2813         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2814         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2815
2816         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2817
2818 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2819
2820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2821
2822 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2823
2824         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2825         type.
2826         [POSIX] (off_t): Likewise.
2827         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2828         [POSIX] (S_ISBLK): Require macro.
2829         [POSIX] (S_ISCHR): Likewise.
2830         [POSIX] (S_ISDIR): Likewise.
2831         [POSIX] (S_ISFIFO): Likewise.
2832         [POSIX] (S_ISREG): Likewise.
2833         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2834         optional-macro.
2835         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2836         type.
2837         [POSIX] (time_t): Likewise.
2838         [POSIX] (timer_t): Likewise.
2839
2840 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2841
2842         [BZ #17048]
2843         * posix/spawn_int.h (struct __spawn_action): Make the path string
2844         non-const to support deallocation.
2845         * posix/spawn_faction_addopen.c
2846         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2847         * posix/spawn_faction_destroy.c
2848         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2849         path in all spawn_do_open actions.
2850         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2851         posix_spawn_file_actions_addopen.
2852
2853 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2854
2855         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2856         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2857         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2858         conditional code always true.
2859         (__libc_vfork): New alias.
2860
2861 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2862
2863         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2864         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2865
2866         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2867
2868         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2869         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2870
2871         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2872         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2873
2874         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2875         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2876
2877 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2878
2879         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2880         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2881         multiarch strcmp for PPC64.
2882         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2883         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2885         multiarch optimizations.
2886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2887         (__libc_ifunc_impl_list): Likewise.
2888
2889 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2890
2891         * benchtests/scripts/validate_benchout.py: New script.
2892         * benchtests/Makefile (bench-func): Call it.
2893         * benchtests/scripts/benchout.schema.json: New file.
2894
2895 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2896
2897         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2898         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2899         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2900         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2901         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2902         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2903         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2904         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2905         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2906         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2907         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2908         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2909         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2910         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2911         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2912         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2914         Moved ...
2915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2916         ... here.
2917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2918         Moved ...
2919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2921         Moved ...
2922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2923         ... here.
2924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2925         Moved ...
2926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2927         ... here.
2928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2929         Moved ...
2930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2932         Moved ...
2933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2934         ... here.
2935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2936         Moved ...
2937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2938         ... here.
2939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2940         Moved ...
2941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2943         Moved ...
2944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2945         ... here.
2946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2947         Moved ...
2948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2949         ... here.
2950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2951         Moved ...
2952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2953         ... here.
2954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2955         Moved ...
2956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2958         Moved ...
2959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2960         ... here.
2961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2962         Moved ...
2963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2964         ... here.
2965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2966         Moved ...
2967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2968         ... here.
2969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2970         Moved ...
2971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2973         Moved ...
2974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2975         ... here.
2976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2977         Moved ...
2978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2979         ... here.
2980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2981         Moved ...
2982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2984         Moved ...
2985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2986         ... here.
2987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2988         Moved ...
2989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2991         Moved ...
2992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2994         Moved ...
2995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2996         ... here.
2997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2998         Moved ...
2999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3000         ... here.
3001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3002         Moved ...
3003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3004         ... here.
3005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3006         Moved ...
3007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3009         Moved ...
3010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3011         ... here.
3012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3013         Moved ...
3014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3015         ... here.
3016         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3017         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3018         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3019         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3020         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3021         Moved ...
3022         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3023         ... here.
3024         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3025         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3026         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3027         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3028         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3029         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3030         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3031         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3032         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3033         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3034         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3035         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3036         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3037         Moved ...
3038         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3039         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3040         Moved ...
3041         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3042         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3043         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3044         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3045         Moved ...
3046         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3047         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3048         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3049         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3050         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3051         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3052         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3053
3054 2014-06-10  Wilco  <wdijkstr@arm.com>
3055
3056         * math/test-fenv-return.c: New file.
3057         * math/Makefile: Add new test test-fenv-return.
3058
3059 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3060
3061         [BZ #17042]
3062         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3063         when x - 1 is zero.
3064         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3065         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3066         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3067         0.0L for an argument of 1.0L.
3068         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3069         Likewise.
3070         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3071         value when x - 1 is zero.
3072         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3073         * sysdeps/i386/fpu/libm-test-ulps: Update.
3074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3075
3076 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3077
3078         [BZ #15119]
3079         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3080
3081 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3082
3083         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3084         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3085
3086 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3087
3088         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3089         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3090
3091         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3092         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3093
3094         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3095         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3096
3097         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3098         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3099
3100         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3101         if not already defined.
3102         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3103         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3104         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3105         (TLS_INIT_TP): Use it.
3106         (TLS_DEFINE_INIT_TP): New macro.
3107         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3108
3109 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3110
3111         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3112         constant.
3113         [POSIX] (IXANY): Likewise.
3114         [POSIX] (OLCUC): Likewise.
3115         [POSIX || POSIX2008] (CBAUD): Do not allow.
3116         [POSIX || POSIX2008] (DEFECHO): Likewise.
3117         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3118         [POSIX || POSIX2008] (ECHOKE): Likewise.
3119         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3120         [POSIX || POSIX2008] (EXTA): Likewise.
3121         [POSIX || POSIX2008] (EXTB): Likewise.
3122         [POSIX || POSIX2008] (FLUSHO): Likewise.
3123         [POSIX || POSIX2008] (LOBLK): Likewise.
3124         [POSIX || POSIX2008] (PENDIN): Likewise.
3125         [POSIX || POSIX2008] (SWTCH): Likewise.
3126         [POSIX || POSIX2008] (VDISCARD): Likewise.
3127         [POSIX || POSIX2008] (VDSUSP): Likewise.
3128         [POSIX || POSIX2008] (VLNEXT): Likewise.
3129         [POSIX || POSIX2008] (VREPRINT): Likewise.
3130         [POSIX || POSIX2008] (VSTATUS): Likewise.
3131         [POSIX || POSIX2008] (VWERASE): Likewise.
3132         (B*): Change to B[0123456789]*.
3133         * conform/data/time.h-data [POSIX || UNIX98]
3134         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3135         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3136         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3137         [POSIX] (tm_*): Do not allow.
3138
3139 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3140
3141         * Makefile (install): Don't set LANGUAGE.
3142         * Makefile.in (install): Likewise.
3143         * assert/Makefile (test-assert-ENV): Remove variable.
3144         (test-assert-perr-ENV): Likewise.
3145         * elf/Makefile (neededtest4-ENV): Likewise.
3146         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3147         [$(cross-compiling) = no]: Don't set LANGUAGE.
3148         * io/ftwtest-sh (LANG): Remove variable.
3149         * libio/Makefile (tst-widetext-ENV): Likewise.
3150         * manual/install.texi (Running make install): Don't refer to
3151         environment settings for make install.
3152         * INSTALL: Regenerated.
3153         * nptl/tst-tls6.sh: Don't set LANG.
3154         * posix/globtest.sh (LANG): Remove variable.
3155         * string/Makefile (tester-ENV): Likewise.
3156         (inl-tester-ENV): Likewise.
3157         (noinl-tester-ENV): Likewise.
3158         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3159         [$(cross-compiling) = no]: Don't set LANGUAGE.
3160         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3161         without explicit environment settings.
3162
3163 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3164
3165         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3166         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3167         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3168         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3169
3170 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3171
3172         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3173         other files in the crypt directory.
3174         * crypt/crypt.c: Remove duplicate includes.
3175         * crypt/crypt-entry.c: Likewise.
3176         * crypt/crypt_util.c: Likewise.
3177
3178 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3179
3180         * Makeconfig (run-program-env): New variable.
3181         (run-program-prefix-before-env): Likewise.
3182         (run-program-prefix-after-env): Likewise.
3183         (run-program-prefix): Define in terms of new variables.
3184         (built-program-cmd-before-env): New variable.
3185         (built-program-cmd-after-env): Likewise.
3186         (built-program-cmd): Define in terms of new variables.
3187         (test-program-prefix-before-env): New variable.
3188         (test-program-prefix-after-env): Likewise.
3189         (test-program-prefix): Define in terms of new variables.
3190         (test-program-cmd-before-env): New variable.
3191         (test-program-cmd-after-env): Likewise.
3192         (test-program-cmd): Define in terms of new variables.
3193         * Rules (make-test-out): Use $(run-program-env).
3194         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3195         (help): Do not mention environment variables.  Mention
3196         --timeoutfactor option.
3197         (timeoutfactor): New variable.
3198         (blacklist_exports): Remove function.
3199         (exports): Remove variable.
3200         (command): Do not include ${exports}.
3201         * manual/install.texi (Configuring and compiling): Do not mention
3202         test wrappers preserving environment variables.  Mention that last
3203         assignment to a variable must take precedence.
3204         * INSTALL: Regenerated.
3205         * benchtests/Makefile (run-bench): Use $(run-program-env).
3206         * catgets/Makefile ($(objpfx)test1.cat): Use
3207         $(built-program-cmd-before-env), $(run-program-env) and
3208         $(built-program-cmd-after-env).
3209         ($(objpfx)test2.cat): Do not specify environment variables
3210         explicitly.
3211         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3212         $(run-program-env) and $(built-program-cmd-after-env).
3213         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3214         $(run-program-env) and $(test-program-cmd-after-env).
3215         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3216         explicitly.
3217         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3218         run_program_env and test_program_cmd_after_env arguments.
3219         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3220         * elf/tst-pathopt.sh: Use run_program_env argument.
3221         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3222         $(test-wrapper-env) and $(run-program-env).
3223         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3224         run_program_env arguments.
3225         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3226         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3227         $(test-program-prefix-before-env), $(run-program-env) and
3228         $(test-program-prefix-after-env).
3229         ($(objpfx)tst-gettext2.out): Likewise.
3230         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3231         run_program_env and test_program_prefix_after_env arguments.
3232         * intl/tst-gettext2.sh: Likewise.
3233         * intl/tst-gettext4.sh: Do not set environment variables
3234         explicitly.
3235         * intl/tst-gettext6.sh: Likewise.
3236         * intl/tst-translit.sh: Likewise.
3237         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3238         $(test-program-prefix-before-env), $(run-program-env) and
3239         $(test-program-prefix-after-env).
3240         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3241         run_program_env and test_program_prefix_after_env arguments.
3242         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3243         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3244         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3245         explicitly with each use of ${test_wrapper_env}.
3246         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3247         $(test-program-prefix-before-env), $(run-program-env) and
3248         $(test-program-prefix-after-env).
3249         * posix/tst-getconf.sh: Do not set environment variables
3250         explicitly.
3251         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3252         run_program_env and test_program_prefix_after_env arguments.
3253         * stdio-common/tst-printf.sh: Do not set environment variables
3254         explicitly.
3255         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3256         $(test-program-prefix-before-env), $(run-program-env) and
3257         $(test-program-prefix-after-env).
3258         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3259         run_program_env and test_program_prefix_after_env arguments.
3260         Split $test calls into $test_pre and $test.
3261         * timezone/Makefile (build-testdata): Use
3262         $(built-program-cmd-before-env), $(run-program-env) and
3263         $(built-program-cmd-after-env).
3264
3265 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3266
3267         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3268         strlen for non SHARED builds.
3269
3270 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3271
3272         * nptl/allocatestack.c (check_list): Inlined function...
3273         (__reclaim_stacks): ... here.
3274
3275 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3276
3277         [BZ #15698]
3278         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3279         memory overrun.
3280
3281 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3282
3283         * Rules (make-test-out): Include
3284         LOCPATH=$(common-objpfx)localedata in default environment.
3285         * debug/Makefile (tst-chk1-ENV): Remove variable.
3286         (tst-chk2-ENV): Likewise.
3287         (tst-chk3-ENV): Likewise.
3288         (tst-chk4-ENV): Likewise.
3289         (tst-chk5-ENV): Likewise.
3290         (tst-chk6-ENV): Likewise.
3291         (tst-lfschk1-ENV): Likewise.
3292         (tst-lfschk2-ENV): Likewise.
3293         (tst-lfschk3-ENV): Likewise.
3294         (tst-lfschk4-ENV): Likewise.
3295         (tst-lfschk5-ENV): Likewise.
3296         (tst-lfschk6-ENV): Likewise.
3297         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3298         (tst-iconv7-ENV): Likewise.
3299         * intl/Makefile (LOCPATH-ENV): Likewise.
3300         (tst-codeset-ENV): Likewise.
3301         (tst-gettext3-ENV): Likewise.
3302         (tst-gettext5-ENV): Likewise.
3303         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3304         (tst-fopenloc-ENV): Likewise.
3305         (tst-fgetws-ENV): Remove variable.
3306         (tst-ungetwc1-ENV): Likewise.
3307         (tst-ungetwc2-ENV): Likewise.
3308         (bug-ungetwc2-ENV): Likewise.
3309         (tst-swscanf-ENV): Likewise.
3310         (bug-ftell-ENV): Likewise.
3311         (tst-fgetwc-ENV): Likewise.
3312         (tst-fseek-ENV): Likewise.
3313         (tst-ftell-partial-wide-ENV): Likewise.
3314         (tst-ftell-active-handler-ENV): Likewise.
3315         (tst-ftell-append-ENV): Likewise.
3316         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3317         (tst-regexloc-ENV): Likewise.
3318         (bug-regex1-ENV): Likewise.
3319         (tst-regex-ENV): Likewise.
3320         (tst-regex2-ENV): Likewise.
3321         (bug-regex5-ENV): Likewise.
3322         (bug-regex6-ENV): Likewise.
3323         (bug-regex17-ENV): Likewise.
3324         (bug-regex18-ENV): Likewise.
3325         (bug-regex19-ENV): Likewise.
3326         (bug-regex20-ENV): Likewise.
3327         (bug-regex22-ENV): Likewise.
3328         (bug-regex23-ENV): Likewise.
3329         (bug-regex25-ENV): Likewise.
3330         (bug-regex26-ENV): Likewise.
3331         (bug-regex30-ENV): Likewise.
3332         (bug-regex32-ENV): Likewise.
3333         (bug-regex33-ENV): Likewise.
3334         (bug-regex34-ENV): Likewise.
3335         (bug-regex35-ENV): Likewise.
3336         (tst-rxspencer-ENV): Likewise.
3337         (tst-rxspencer-no-utf8-ENV): Likewise.
3338         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3339         (tst-sscanf-ENV): Likewise.
3340         (tst-swprintf-ENV): Likewise.
3341         (tst-swscanf-ENV): Likewise.
3342         (test-vfprintf-ENV): Likewise.
3343         (scanf13-ENV): Likewise.
3344         (bug14-ENV): Likewise.
3345         (tst-grouping-ENV): Likewise.
3346         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3347         (tst-strtod3-ENV): Likewise.
3348         (tst-strtod4-ENV): Likewise.
3349         (tst-strtod5-ENV): Likewise.
3350         (testmb2-ENV): Likewise./
3351         * string/Makefile (tst-strxfrm-ENV): Likewise.
3352         (tst-strxfrm2-ENV): Likewise.
3353         (bug-strcoll1-ENV): Likewise.
3354         (test-strcasecmp-ENV): Likewise.
3355         (test-strncasecmp-ENV): Likewise.
3356         * time/Makefile (tst-strptime-ENV): Likewise.
3357         (tst-ftime_l-ENV): Likewise.
3358         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3359         (tst-mbrtowc-ENV): Likewise.
3360         (tst-wcrtomb-ENV): Likewise.
3361         (tst-mbrtowc2-ENV): Likewise.
3362         (tst-c16c32-1-ENV): Likewise.
3363         (tst-mbsnrtowcs-ENV): Likewise.
3364
3365 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3366
3367         * manual/resource.texi (How to get information about the memory
3368         subsystem?): Fix typo.
3369         Reported by Peon de la Parra Ivan <peon@keba.com>
3370
3371 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3372
3373         [BZ #16882]
3374         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3375         (pthread_spin_lock): Branch out of spin loop to proper location.
3376         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3377         (pthread_spin_lock): Likewise.
3378
3379         * nptl/tst-spin4.c: New test.
3380         * nptl/Makefile (tests): Add tst-spin4.
3381
3382 2014-06-03  Andreas Schwab  <schwab@suse.de>
3383
3384         [BZ #15946]
3385         * resolv/res_send.c (send_dg): Reload file descriptor after
3386         calling reopen.
3387
3388 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3389
3390         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3391
3392 2014-06-03  Richard Henderson  <rth@redhat.com>
3393
3394         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3395         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3396         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3397         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3398         in the SAVE_PID block.
3399         (__libc_vfork): New alias.
3400         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3401
3402         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3403         child in registers, not on the stack.  Remove RESET_PID conditionals.
3404         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3405
3406 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3407
3408         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3409
3410 2014-06-03  Wilco  <wdijkstr@arm.com>
3411
3412         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3413         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3414         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3415         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3416         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3417         Likewise.
3418
3419 2014-06-03  Wilco  <wdijkstr@arm.com>
3420
3421         * sysdeps/aarch64/fpu/math_private.h
3422         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3423         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3424         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3425         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3426         Fix declarations.
3427
3428 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3429
3430         * crypt/crypt-private.h: Include ufc-crypt.h.
3431         (__b64_from_24bit): Declare extern.
3432         * crypt/crypt_util.c(__b64_from_24bit): New function.
3433         (b64t): New static const variable.
3434         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3435         (b64t): Remove variable.
3436         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3437         * crypt/sha256-crypt.c: Include crypt-private.h.
3438         (b64t): Remove variable.
3439         (__sha256_crypt_r): Remove b64_from_24bit and replace
3440         with __b64_from_24bit.
3441         * crypt/sha512-crypt.c: Likewise.
3442
3443 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3444
3445         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3446         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3447         Label the code __libc_vfork rather than __vfork.
3448         [!NOT_IN_libc] (vfork): Define as weak alias.
3449         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3450         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3451         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3452
3453 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3454
3455         * malloc/malloc.c (malloc_info): Fix format specifier for
3456         n_mmaps.
3457
3458 2014-06-02  Wilco  <wdijkstr@arm.com>
3459
3460         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3461         FPCR write.
3462
3463 2014-06-02  Wilco  <wdijkstr@arm.com>
3464
3465         [BZ #17009]
3466         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3467         Rewrite to reduce FPCR/FPSR accesses.
3468
3469 2014-06-01  David S. Miller  <davem@davemloft.net>
3470
3471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3472
3473 2014-05-31  David S. Miller  <davem@davemloft.net>
3474
3475         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3476         to occur in round to nearest mode when |x| >= 2.0
3477
3478 2014-05-30  Richard Henderson  <rth@twiddle.net>
3479
3480         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3481         (PSEUDO_RET_NOERRNO): Remove.
3482         (ret): Don't redefine.
3483         (ret_NOERRNO): Define in terms of ret.
3484         (ret_ERRVAL): Likewise.
3485
3486         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3487         use of PSEUDO_RET; perform the error check directly.
3488
3489 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3490
3491         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3492         with __int128_t.
3493
3494 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3495
3496         * malloc/malloc (malloc_info): Fix formatting.
3497
3498 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3499             Roland McGrath  <roland@hack.frob.com>
3500
3501         * malloc/malloc (malloc_info): Also print mmapped statistics.
3502
3503 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3504
3505         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3506         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3507
3508 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3509
3510         * malloc/malloc.c (malloc_info): Inline mi_arena.
3511
3512 2014-05-29  Richard Henderson  <rth@twiddle.net>
3513
3514         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3515         Remove comma before expanding ASM_ARGS_##nr.
3516         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3517         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3518         of ASM_ARGS_##nr.
3519         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3520         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3521         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3522         (ASM_ARGS_1): Add leading comma.
3523
3524         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3525         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3526         to __errno_location.
3527         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3528         Remove the expected plt for __errno_location.
3529
3530         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3531         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3532         call to __read_tp.
3533
3534         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3535         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3536         it and break it down.
3537         (DOCARGS_0, DOCARGS_1): Do nothing.
3538         (DOCARGS_2): Update to store into the new stack frame.
3539         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3540         (UNDOCARGS_1): Update to restore from the new stack frame.
3541         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3542         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3543
3544         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3545         (SINGLE_THREAD_P): New parameter for result regno.
3546         (PSEUDO): Update to match; use cbz instead of beq.
3547
3548         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3549         Use ENTRY to define the _nocancel entry point.  Share the syscall
3550         and syscall error check paths with the cancel path.
3551         (PSEUDO_END): New.
3552
3553         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3554         whitespace; tabs before and after asm mnemonics.
3555
3556 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3557
3558         [BZ #15132]
3559         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3560         Call fstat64 or stat64 internally, depending on arguments passed.
3561         Replace stat buffer argument with file descriptor argument.
3562         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3563         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3564         Pass fd to __internal_statvfs instead of calling fstat64.
3565         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3566         Pass fd to __internal_statvfs64 instead of calling fstat64.
3567         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3568         Pass -1 to __internal_statvfs instead of calling stat64.
3569         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3570         Pass -1 to __internal_statvfs64 instead of calling stat64.
3571
3572 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3573
3574         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3575         that was previously under [RESET_PID].
3576         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3577
3578         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3579         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3580
3581 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3582
3583         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3584
3585         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3586         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3587
3588 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3589
3590         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3591
3592 2014-05-27  Andreas Schwab  <schwab@suse.de>
3593
3594         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3595         TLS_INIT_TP macro.
3596         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3597         * elf/rtld.c (init_tls, dl_main): Likewise.
3598         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3599         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3600         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3601         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3602         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3603         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3604         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3605         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3606         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3607         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3608         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3609         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3610         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3611         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3612         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3613         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3614         * sysdeps/generic/tls.h: Update description.
3615
3616 2014-05-27  Will Newton  <will.newton@linaro.org>
3617
3618         [BZ #16990]
3619         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3620         and restore r2 rather than just restoring.
3621
3622 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3623
3624         [BZ #16724]
3625         * libio/tst-ftell-append.c: New test case.
3626         * libio/Makefile (tests): Add test case.
3627         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3628         append mode.
3629         * libio/wfileops.c (do_ftell_wide): Likewise.
3630
3631 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3632
3633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3634
3635         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3636         ...
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3639         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3640         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3641         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3642         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3643         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3644         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3646         Moved ...
3647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3648         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3649         Moved ...
3650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3651         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3652         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3653         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3654         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3655         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3656         ...
3657         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3658         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3659         Moved ...
3660         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3661         here.
3662         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3663         ...
3664         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3665         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3666         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3667
3668         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3669         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3670         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3671         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3672
3673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3674         merge into ...
3675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3677         ...
3678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3679         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3680         ...
3681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3682         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3683         Moved ...
3684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3685         here.
3686         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3687         Moved ...
3688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3689         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3690         Moved ...
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3692
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3694         conditional [RESET_PID].
3695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3697         removed.
3698         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3699         removed.
3700
3701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3702         <tcb-offsets.h>.
3703         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3704         (__libc_vfork): New strong alias.
3705         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3706         removed.
3707         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3708         Removed.
3709
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3711         <tcb-offsets.h>.
3712         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3713         (__libc_vfork): New strong alias.
3714         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3715         removed.
3716         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3717         removed.
3718
3719 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3720
3721         * malloc/malloc.c (mi_arena): New function.
3722         (malloc_info): Remove nested function mi_arena. Call non-nosted
3723         function mi_arena.
3724
3725 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3726
3727         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3728         by insrwi.
3729         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3730         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3731         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3732         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3733         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3734         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3735         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3736
3737 2014-05-26  Andreas Schwab  <schwab@suse.de>
3738
3739         [BZ #16984]
3740         * locale/programs/repertoire.c (repertoire_read): Add slash
3741         between I18NPATH element and file name.
3742         * locale/programs/locfile.c (locfile_read): Likewise.
3743
3744 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3745
3746         * nptl/pthread_mutexattr_settype.c
3747         (__pthread_mutexattr_settype):
3748         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3749
3750 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3751
3752         * nptl/tst-mutex5 (do_test):
3753         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3754
3755 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3756
3757         * benchtests/README: Document 'init' directive.
3758         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3759         BENCH_INIT.
3760         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3761         (parse_file): Recognize 'init' directive.
3762
3763 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3764
3765         [BZ #16796]
3766         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3767         alignment of struct pthread.
3768
3769 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3770
3771         [BZ #16878]
3772         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3773         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3774         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3775         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3776
3777 2014-05-25  Richard Henderson  <rth@twiddle.net>
3778
3779         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3780         (SINGLE_THREAD_P_PIC): Remove.
3781         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3782         (SINGLE_THREAD_P_PIC): Remove.
3783
3784         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3785         branch to syscall error ...
3786         (PSEUDO): ... here.
3787         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3788         from __local_syscall_error to .Lsyscall_error.
3789         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3790         (SYSCALL_ERROR): Update label name.
3791
3792         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3793         Do not use DOARGS/UNDOARGS.
3794         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3795         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3796         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3797         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3798         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3799
3800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3801         block comment.
3802
3803         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3804         define if !NOT_IN_libc.
3805         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3806         define with non-default symbol versions.
3807
3808 2014-05-23  Richard Henderson  <rth@twiddle.net>
3809
3810         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3811         (vfork, __vfork): Define via compat_symbol.
3812
3813         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3814         [!HAVE_IFUNC] (vfork_compat): Remove.
3815         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3816
3817 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3818
3819         [BZ #16978]
3820         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3821         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3822         variable.
3823
3824 2014-05-23  Richard Henderson  <rth@twiddle.net>
3825
3826         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3827         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3828         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3829         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3830
3831         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3832         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3833         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3834         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3835         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3836         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3837         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3838         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3839         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3840         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3841         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3842         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3843         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3844         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3845         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3846         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3847         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3848         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3849         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3850         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3851         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3852         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3853         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3854         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3855         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3856         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3857         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3858         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3859         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3860         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3861         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3862         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3863         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3864         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3865         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3866         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3867         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3868         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3869         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3870         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3871         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3872         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3873         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3874         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3875         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3876         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3877         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3878         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3879         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3880         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3881         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3882         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3883         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3884         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3885         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3886         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3887
3888         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3889         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3890         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3891         before exiting on error.
3892         (__libc_vfork): New strong alias.
3893         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3894         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3895
3896         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3897         that was previously under [RESET_PID].
3898         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3899
3900         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3901
3902 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3903
3904         [BZ #16977]
3905         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3906         value when x - 1 is zero.
3907         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3908         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3909         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3910         0.0L for an argument of 1.0L.
3911         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3912         Likewise.
3913         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3914         value when x - 1 is zero.
3915         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3916         * sysdeps/i386/fpu/libm-test-ulps: Update.
3917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3918
3919 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3920
3921         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3922         alphasort and versionsort.
3923
3924 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3925
3926         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3927         macro.
3928         [copysignf]: Likewise.
3929
3930 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3931
3932         * crypt/md5-crypt.c: Fix formatting.
3933
3934 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3935
3936         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3937         (b64_from_24bit): New function.
3938
3939 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3940
3941         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3942         libc_hidden_builtin_def to ifunc.
3943         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3944         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3945
3946 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3947
3948         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3949         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3950
3951 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3952
3953         * nscd/Depend (linuxthreads): Remove.
3954         (nptl): Add.
3955         * resolv/Depend (linuxthreads): Remove.
3956         * rt/Depend (linuxthreads): Remove.
3957
3958         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3959         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3960         $(common-objpfx)elf/.
3961         (link-libc-before-gnulib): Likewise.
3962         (elfobjdir): Remove variable.
3963         * Makefile (install): Use $(elf-objpfx) instead of
3964         $(common-objpfx)elf/.
3965         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3966         $(elfobjdir)/.
3967         (link-libc-deps): Likewise.
3968         ($(common-objpfx)libc.so): Likewise.
3969         ($(common-objpfx)linkobj/libc.so): Likewise.
3970         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3971         instead of $(common-objpfx)elf/.
3972         (symbolic-link-list): Likewise.
3973         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3974         [$(cross-compiling) = no]: Likewise.
3975         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3976         $(elfobjdir)/.
3977         (static-gnulib-arch): Likewise.
3978         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3979         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3980         $(common-objpfx)elf/.
3981
3982 2014-05-21  Richard Henderson  <rth@redhat.com>
3983
3984         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3985         (SINGLE_THREAD_P): Use the correct width load.  Fold
3986         into the ldr offset.
3987
3988         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3989         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3990
3991 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3992
3993         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3994         (libgcc_s_resume): Use __attribute_used__.
3995         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3996         Likewise.
3997
3998 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3999
4000         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4001         optimization when used with float constants.
4002
4003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4004
4005 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4006
4007         [BZ #16915]
4008         * locale/nl_langinfo_l.c: Make direct reference to every
4009         _nl_current_CATEGORY symbol.
4010         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4011         (tests-static): Add tst-langinfo-static.
4012         (tests-special): Add tst-langinfo-static.out.
4013         ($(objpfx)tst-langinfo.out): Redirect output.
4014         ($(objpfx)tst-langinfo-static.out): New.
4015         * localedata/tst-langinfo.sh: Send output to stdout.
4016         * localedata/tst-langinfo-static.c: New file.
4017
4018         [BZ #16965]
4019         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4020         when the shift amount is modulo the limb size.
4021
4022 2014-05-20  Richard Henderson  <rth@redhat.com>
4023
4024         [BZ #16967]
4025         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4026         Change type of sa_flags from unsigned int to int.
4027
4028         [BZ #16966]
4029         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4030
4031         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4032
4033 2014-05-20  Will Newton  <will.newton@linaro.org>
4034
4035         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4036         Test the return value of the system call in the nocancel case.
4037
4038 2014-05-20  Will Newton  <will.newton@linaro.org>
4039             Yvan Roux  <yvan.roux@linaro.org>
4040
4041         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4042         #include of asm/ptrace.h.
4043         (PTRACE_GET_THREAD_AREA): Remove #undef.
4044         (PTRACE_GETHBPREGS): Likewise.
4045         (PTRACE_SETHBPREGS): Likewise.
4046         (struct user_regs_struct): New structure.
4047         (struct user_fpsimd_struct): New structure.
4048         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4049         #include of asm/ptrace.h and second #include of sys/user.h.
4050         (PTRACE_GET_THREAD_AREA): Remove #undef.
4051         (PTRACE_GETHBPREGS): Likewise.
4052         (PTRACE_SETHBPREGS): Likewise.
4053         (ELF_NGREG): Use new struct user_regs_struct.
4054         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4055
4056 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4057
4058         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4059         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4060
4061 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4062
4063         [BZ #16958]
4064         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4065         membar to avoid block loads/stores to overlap previous stores.
4066
4067 2014-05-17  Richard Henderson  <rth@redhat.com>
4068
4069         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4070         Create the __##syscall_name##_nocancel entry point.
4071         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4072         Remove; let the sysdep-cancel.h code create it.
4073
4074 2014-05-17  David S. Miller  <davem@davemloft.net>
4075
4076         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4077         Protect with __USE_GNU.
4078         (TIOCSET_TEMPT): Likewise.
4079         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4080         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4081         these are already provided in bits/ioctl-types.h
4082
4083 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4084
4085         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4086         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4087
4088         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4089         Use wait4 regardless of [__NR_waitpid].
4090
4091 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4092
4093         PR libgcc/60166
4094         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4095         (_FP_NANSIGN_Q): Set the quiet bit.
4096
4097 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4098
4099         * benchtests/Makefile
4100         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4101         not $(common-objpfx)math/libm.so.
4102         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4103         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4104         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4105         $(common-objpfx)dlfcn/libdl.so.
4106         ($(objpfx)tst-audit8): Depend on $(libm), not
4107         $(common-objpfx)math/libm.so.
4108         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4109         not $(common-objpfx)dlfcn/libdl.so.
4110         * math/Makefile
4111         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4112         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4113         [$(build-shared) = yes].
4114         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4115         $(common-objpfx)nptl/libpthread.so.
4116         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4117         $(common-objpfx)math/libm.so$(libm.so-version) or
4118         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4119         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4120         $(common-objpfx)dlfcn/libdl.so.
4121         * setjmp/Makefile (link-libm): Remove variable.
4122         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4123         * stdio-common/Makefile (link-libm): Remove variable.
4124         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4125         * stdlib/Makefile (link-libm): Remove variable.
4126         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4127         ($(objpfx)tst-strtod-round): Likewise.
4128         ($(objpfx)tst-tininess): Likewise.
4129         ($(objpfx)tst-strtod-underflow): Likewise.
4130         ($(objpfx)tst-strtod6): Likewise.
4131         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4132         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4133         $(common-objpfx)dlfcn/libdl.so.
4134
4135 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4136
4137         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4138         BSD terminal modes definitions.
4139
4140 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4141
4142         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4143         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4144
4145         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4146         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4147         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4148         Don't do #include_next.
4149         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4150         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4151         Don't do #include_next.
4152         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4153         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4154         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4155         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4156
4157 2014-05-16  Allan McRae  <allan@archlinux.org>
4158
4159         * po/sv.po: Update Swedish translation from translation project.
4160
4161         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4162         in sed expression.
4163
4164 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4165
4166         [BZ #16917]
4167         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4168         errno if the TIOCGPTN ioctl fails with an error different than
4169         EINVAL.
4170         * login/tst-ptsname.c: New file.
4171         * login/Makefile (tests): Add tst-ptsname.
4172
4173         [BZ #16943]
4174         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4175         and prlimit64.
4176
4177 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4178
4179         [BZ #16849]
4180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4181         herrno to return EAI_AGAIN.
4182
4183 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4184
4185         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4186         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4187         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4188         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4189         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4190         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4191         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4192         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4193         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4194         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4195         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4196         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4197         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4198         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4199         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4200         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4201         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4202         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4203         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4204         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4205         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4206         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4207         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4208         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4209         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4210         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4211         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4212         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4213         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4214         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4216         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4218         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4220         Moved ...
4221         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4223         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4225         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4227         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4229         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4231         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4233         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4235         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4237         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4239         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4241         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4243         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4245         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4247         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4249         Moved ...
4250         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4252         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4254         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4256         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4258         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4260         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4262         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4264         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4266         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4268         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4270         Moved ...
4271         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4273         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4274
4275         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4276         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4277         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4278         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4279         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4280         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4281         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4282         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4283         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4284         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4285         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4286         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4287         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4288         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4289         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4290         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4291         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4292         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4293         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4294         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4295         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4296         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4297         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4298         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4299         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4300         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4301         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4302         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4303         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4304         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4305         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4306
4307         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4308         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4309
4310         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4311         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4312         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4313         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4314         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4315         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4316         Moved ...
4317         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4318         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4319         Moved ...
4320         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4321         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4322         Moved ...
4323         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4324         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4325         Moved ...
4326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4327         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4328         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4329         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4330         Moved ...
4331         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4332         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4333         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4334         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4335         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4336         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4337         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4338         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4339         Moved ...
4340         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4341         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4342         Moved ...
4343         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4344         ... here.
4345         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4346         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4347         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4348         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4349         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4350         Moved ...
4351         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4352         ... here.
4353         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4354         Moved ...
4355         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4356         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4357         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4358         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4359         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4360         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4361         Moved ...
4362         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4363         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4364         Moved ...
4365         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4366         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4367         Moved ...
4368         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4369         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4370         Moved ...
4371         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4372         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4373         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4374         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4375         Moved ...
4376         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4377         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4378         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4379         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4380         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4381         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4382         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4383         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4384         Moved ...
4385         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4386         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4387         Moved ...
4388         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4389         ... here.
4390         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4391         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4392         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4393         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4394         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4395         Moved ...
4396         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4397         ... here.
4398         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4399         Moved ...
4400         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4401         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4402         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4403         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4404         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4405         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4406         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4407         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4408         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4409         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4410         Moved ...
4411         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4412         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4413         Moved ...
4414         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4415         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4416         Moved ...
4417         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4418         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4419         Moved ...
4420         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4421         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4422         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4423         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4424         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4425         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4426         Moved ...
4427         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4428         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4429         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4430         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4431         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4432         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4433         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4434         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4435         Moved ...
4436         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4437         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4438         Moved ...
4439         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4440         ... here.
4441         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4442         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4443         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4444         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4445         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4446         Moved ...
4447         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4448         ... here.
4449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4450         Moved ...
4451         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4452         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4453         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4454         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4455         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4456         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4457         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4458         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4459         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4460         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4461         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4462
4463         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4464         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4465
4466         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4467         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4468
4469         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4470         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4471         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4472         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4473         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4474         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4475         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4476         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4477         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4478         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4479         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4480         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4481         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4482         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4483         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4484         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4485         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4486         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4487         Moved ...
4488         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4489         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4490         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4491         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4492         Moved ...
4493         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4494         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4495         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4496         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4497         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4498         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4499         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4500         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4501         Moved ...
4502         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4503         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4504         Moved ...
4505         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4506         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4507         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4509         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4510         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4511         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4512         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4513         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4514         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4515         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4516         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4517         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4518         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4519         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4520         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4521         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4522
4523         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4524         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4525         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4526         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4527         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4528
4529         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4530         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4531         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4532         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4533         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4534         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4535         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4536         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4537         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4538         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4539
4540         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4541         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4542
4543         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4544         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4545         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4546         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4547         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4548         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4549         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4550         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4551         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4552         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4553         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4554         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4555         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4556         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4558         Update #include.
4559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4560         Likewise.
4561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4562         Likewise.
4563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4564         Likewise.
4565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4566         Likewise.
4567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4568         Likewise.
4569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4570         Likewise.
4571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4572         Likewise.
4573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4574         Likewise.
4575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4576         Likewise.
4577         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4578         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4579         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4580         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4582         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4583         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4584         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4585         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4586         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4587         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4588         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4589         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4590         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4591         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4592
4593         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4594         that was previously under [RESET_PID].
4595         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4596         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4597         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4598
4599         * sysdeps/i386/nptl/Implies: New file.
4600         * sysdeps/x86_64/nptl/Implies: New file.
4601         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4602         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4603         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4604         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4605
4606         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4607         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4608         (__libc_vfork): New strong alias.
4609         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4610         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4611
4612         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4613         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4614         (__libc_vfork): New strong alias.
4615         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4616         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4617
4618         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4619         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4620         (__libc_vfork): New strong alias.
4621         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4622         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4623         * nptl/pt-vfork.c: New file.
4624         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4625         (libpthread: GLIBC_2.20): New version set (empty).
4626
4627 2014-05-14  Will Newton  <will.newton@linaro.org>
4628
4629         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4630         rather than #if.
4631
4632 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4633
4634         [BZ #16564]
4635         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4636         arguments with exponent 65 or above.
4637         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4638         arguments 0x1p113L or above.
4639         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4640         to arguments 0x1p107L or above.
4641         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4642         positive arguments with exponent 65 or above.
4643         * math/auto-libm-test-in: Add more tests of log1p.
4644         * math/auto-libm-test-out: Regenerated.
4645
4646         [BZ #16928]
4647         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4648         non-finite arguments is +0.
4649         * math/s_cacosf.c (__cacosf): Likewise.
4650         * math/s_cacosl.c (__cacosl): Likewise.
4651         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4652         * sysdeps/i386/fpu/libm-test-ulps: Update.
4653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4654
4655         [BZ #16927]
4656         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4657         value.
4658         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4659         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4660         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4661         for explicit high bit of mantissa when testing for argument equal
4662         to 1.
4663         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4664         * sysdeps/i386/fpu/libm-test-ulps: Update.
4665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4666
4667         [BZ #16516]
4668         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4669         (__erf): Scale by 16 instead of 8 in potentially underflowing
4670         case.  Ensure exception if result actually underflows.
4671         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4672         (__erff): Scale by 16 instead of 8 in potentially underflowing
4673         case.  Ensure exception if result actually underflows.
4674         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4675         (efx8): Remove variable.
4676         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4677         case.  Ensure exception if result actually underflows.
4678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4679         (efx8): Remove variable.
4680         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4681         case.  Ensure exception if result actually underflows.
4682         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4683         (efx8): Remove variable.
4684         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4685         case.  Ensure exception if result actually underflows.
4686         * math/auto-libm-test-in: Add more tests of erf.
4687         * math/auto-libm-test-out: Regenerated.
4688
4689 2014-05-14  Andreas Schwab  <schwab@suse.de>
4690
4691         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4692         Remove code conditionalized on USE___THREAD.
4693
4694         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4695         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4696         not definedness.
4697
4698 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4699
4700         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4701         Define unconditionally.
4702         (__ASSUME_O_CLOEXEC): Likewise.
4703         (__ASSUME_SOCK_CLOEXEC): Likewise.
4704         (__ASSUME_IN_NONBLOCK): Likewise.
4705         (__ASSUME_PIPE2): Likewise.
4706         (__ASSUME_EVENTFD2): Likewise.
4707         (__ASSUME_SIGNALFD4): Likewise.
4708         (__ASSUME_DUP3): Likewise.
4709         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4710         (__ASSUME_DUP3): Do not define.
4711         (__ASSUME_EVENTFD2): Likewise.
4712         (__ASSUME_IN_NONBLOCK): Likewise.
4713         (__ASSUME_O_CLOEXEC): Likewise.
4714         (__ASSUME_PIPE2): Likewise.
4715         (__ASSUME_SIGNALFD4): Likewise.
4716         (__ASSUME_SOCK_CLOEXEC): Likewise.
4717         (__ASSUME_UTIMES): Undefine.
4718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4719         (__ASSUME_UTIMES): Do not define.
4720         (__ASSUME_O_CLOEXEC): Likewise.
4721         (__ASSUME_SOCK_CLOEXEC): Likewise.
4722         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4723         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4724         0x020621].
4725         (__ASSUME_PIPE2): Likewise.
4726         (__ASSUME_EVENTFD2): Likewise.
4727         (__ASSUME_SIGNALFD4): Likewise.
4728         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4729         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4730         Do not define.
4731         (__ASSUME_EVENTFD2): Likewise.
4732         (__ASSUME_SIGNALFD4): Likewise.
4733         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4734         (__ASSUME_32BITUIDS): Likewise.
4735         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4736         (__ASSUME_IPC64): Likewise.
4737         (__ASSUME_ST_INO_64_BIT): Likewise.
4738         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4739         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4740         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4741         (__ASSUME_UTIMES): Do not define.
4742         (__ASSUME_PSELECT): Likewise.
4743         (__ASSUME_PPOLL): Likewise.
4744         (__ASSUME_O_CLOEXEC): Likewise.
4745         (__ASSUME_SOCK_CLOEXEC): Likewise.
4746         (__ASSUME_IN_NONBLOCK): Likewise.
4747         (__ASSUME_PIPE2): Likewise.
4748         (__ASSUME_EVENTFD2): Likewise.
4749         (__ASSUME_SIGNALFD4): Likewise.
4750         (__ASSUME_DUP3): Likewise.
4751         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4752         (__ASSUME_UTIMES): Likewise.
4753         (__ASSUME_O_CLOEXEC): Likewise.
4754         (__ASSUME_SOCK_CLOEXEC): Likewise.
4755         (__ASSUME_IN_NONBLOCK): Likewise.
4756         (__ASSUME_PIPE2): Likewise.
4757         (__ASSUME_EVENTFD2): Likewise.
4758         (__ASSUME_SIGNALFD4): Likewise.
4759         (__ASSUME_DUP3): Likewise.
4760         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4761         (__ASSUME_UTIMES): Likewise.
4762         (__ASSUME_O_CLOEXEC): Likewise.
4763         (__ASSUME_SOCK_CLOEXEC): Likewise.
4764         (__ASSUME_IN_NONBLOCK): Likewise.
4765         (__ASSUME_PIPE2): Likewise.
4766         (__ASSUME_EVENTFD2): Likewise.
4767         (__ASSUME_SIGNALFD4): Likewise.
4768         (__ASSUME_DUP3): Likewise.
4769         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4770         Likewise.
4771         (__ASSUME_UTIMES): Likewise.
4772         (__ASSUME_EVENTFD2): Likewise.
4773         (__ASSUME_SIGNALFD4): Likewise.
4774         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4775         (__ASSUME_O_CLOEXEC): Likewise.
4776         (__ASSUME_SOCK_CLOEXEC): Likewise.
4777         (__ASSUME_IN_NONBLOCK): Likewise.
4778         (__ASSUME_PIPE2): Likewise.
4779         (__ASSUME_EVENTFD2): Likewise.
4780         (__ASSUME_SIGNALFD4): Likewise.
4781         (__ASSUME_DUP3): Likewise.
4782         (__ASSUME_UTIMES): Undefine.
4783
4784         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4785         feclearexcept.  Remove symbol versioning code.
4786         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4787         symbol versioning code.
4788         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4789         symbol versioning code.
4790         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4791         feupdateenv.  Remove symbol versioning code.
4792         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4793         fegetexceptflag.  Remove symbol versioning code.
4794         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4795         fesetexceptflag.  Remove symbol versioning code.
4796         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4797         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4798         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4799         (__posix_fadvise64_l32): Remove prototype.
4800         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4801         code.
4802
4803 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4804
4805         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4806         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4807         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4808         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4809
4810 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4811
4812         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4813         current working directory
4814
4815 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4816
4817         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4818         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4819         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4820         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4821         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4822         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4823         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4824         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4825         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4826         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4827         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4828         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4829         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4830         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4831         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4832         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4833         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4834         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4835         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4836         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4837         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4838         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4839         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4840         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4841         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4842         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4843         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4844         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4845         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4846         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4847         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4848         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4849         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4850         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4851         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4852         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4853         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4854         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4855         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4856         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4857         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4858         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4859
4860         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4861         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4862
4863         * sysdeps/unix/sysv/linux/arm/Makefile
4864         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4865         Add rt-aeabi_unwind_cpp_pr1.
4866         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4867         Add nptl-aeabi_unwind_cpp_pr1.
4868         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4869         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4870         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4871         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4872         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4873         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4874
4875         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4876         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4877         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4878         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4879
4880         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4881         Deconditionalize the code that was previously under [RESET_PID].
4882         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4883
4884         * sysdeps/generic/exit-thread.h: New file.
4885         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4886         * include/unistd.h (__exit_thread): Remove declaration.
4887         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4888         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4889         * csu/libc-start.c: Include <exit-thread.h>.
4890         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4891         * nptl/pthread_create.c: Include <exit-thread.h>.
4892         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4893         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4894         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4895         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4896         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4897         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4898         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4899         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4900         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4901         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4902         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4903         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4904         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4905         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4906         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4907         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4908         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4909
4910 2014-05-13  Andreas Schwab  <schwab@suse.de>
4911
4912         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4913
4914 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4915
4916         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4917         (__ASSUME_UTIMES): Do not condition on kernel version.
4918         (__ASSUME_PSELECT): Define unconditionally.
4919         (__ASSUME_PPOLL): Likewise.
4920         (__ASSUME_ATFCTS): Likewise.
4921         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4922         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4923         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4924         (__ASSUME_UTIMENSAT): Define unconditionally.
4925         (__ASSUME_PRIVATE_FUTEX): Likewise.
4926         (__ASSUME_FALLOCATE): Likewise.
4927         (__ASSUME_O_CLOEXEC): Likewise.
4928         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4929         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4930         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4931         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4932         (__ASSUME_IN_NONBLOCK): Likewise.
4933         (__ASSUME_PIPE2): Likewise.
4934         (__ASSUME_EVENTFD2): Likewise.
4935         (__ASSUME_SIGNALFD4): Likewise.
4936         (__ASSUME_DUP3): Likewise.
4937         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4938         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4939         (__ASSUME_AT_RANDOM): Likewise.
4940         (__ASSUME_PREADV): Likewise.
4941         (__ASSUME_PWRITEV): Likewise.
4942         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4943         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4944         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4945         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4946         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4947         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4948         (__ASSUME_O_CLOEXEC): Define unconditionally.
4949         (__ASSUME_PSELECT): Do not undefine conditionally.
4950         (__ASSUME_PPOLL): Likewise.
4951         (__ASSUME_ATFCTS): Likewise.
4952         (__ASSUME_SET_ROBUST_LIST): Likewise.
4953         (__ASSUME_UTIMENSAT): Likewise.
4954         (__ASSUME_FDATASYNC): Define unconditionally.
4955         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4956         (__ASSUME_SIGFRAME_V2): Likewise.
4957         )__ASSUME_EVENTFD2): Likewise.
4958         (__ASSUME_SIGNALFD4): Likewise.
4959         (__ASSUME_PSELECT): Do not undefine conditionally.
4960         (__ASSUME_PPOLL): Likewise.
4961         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4962         (__ASSUME_PSELECT): Define unconditionally.
4963         (__ASSUME_PPOLL): Likewise.
4964         (__ASSUME_O_CLOEXEC): Likewise.
4965         (__ASSUME_SOCK_CLOEXEC): Likewise.
4966         (__ASSUME_IN_NONBLOCK): Likewise.
4967         (__ASSUME_PIPE2): Likewise.
4968         (__ASSUME_EVENTFD2): Likewise.
4969         (__ASSUME_SIGNALFD4): Likewise.
4970         (__ASSUME_DUP3): Likewise.
4971         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4972         (__ASSUME_O_CLOEXEC): Likewise.
4973         (__ASSUME_SOCK_CLOEXEC): Likewise.
4974         (__ASSUME_IN_NONBLOCK): Likewise.
4975         (__ASSUME_PIPE2): Likewise.
4976         (__ASSUME_EVENTFD2): Likewise.
4977         (__ASSUME_SIGNALFD4): Likewise.
4978         (__ASSUME_DUP3): Likewise.
4979         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4980         (__ASSUME_EVENTFD2): Likewise.
4981         (__ASSUME_SIGNALFD4): Likewise.
4982         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4983
4984 2014-05-12  Andreas Schwab  <schwab@suse.de>
4985
4986         [BZ #16932]
4987         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4988         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4989         than maximum RPC packet size.
4990         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4991         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4992         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4993         (_nss_nis_getservbyport_r): Likewise.
4994
4995 2014-05-12  Will Newton  <will.newton@linaro.org>
4996
4997         * malloc/Makefile (tests): Add tst-mallopt.
4998         * malloc/tst-mallopt.c: New file.
4999
5000 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5001
5002         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5003         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5004
5005 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5006
5007         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5008         (tst-tlsmod6.so): Likewise.
5009
5010 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5011
5012         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5013
5014 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5015
5016         [BZ #16064]
5017         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5018         and <dl-procinfo.h>.
5019         (__fegetenv): Save SSE state in envp->__eip if supported.
5020         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5021         envp->__eip if supported.
5022         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5023         and <dl-procinfo.h>.
5024         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5025         __data_offset and __data_selector in environment to 0.  Set SSE
5026         state if supported.
5027         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5028         test-fenv-sse.
5029         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5030         -mfpmath=sse.
5031         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5032
5033 2014-05-09  Will Newton  <will.newton@linaro.org>
5034
5035         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5036         and libc_relro_required for ARM.
5037         * sysdeps/arm/preconfigure: Regenerate.
5038
5039 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5040             Stefan Liebler  <stli@linux.vnet.ibm.com>
5041
5042         * config.make.in (enable-lock-elision): New Makefile variable.
5043         * configure.ac: Likewise.
5044         * configure: Regenerate.
5045         * sysdeps/s390/configure.ac:
5046         Add check for gcc transactions support.
5047         * sysdeps/s390/configure: Regenerate.
5048         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5049         Build elision files if enabled.
5050         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5051         Add lock elision support for s390.
5052         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5053         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5054         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5055         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5056         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5057         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5058         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5059         Likewise.
5060         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5061         Likewise.
5062         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5063         Likewise.
5064         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5065         Likewise.
5066         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5067         (__lll_timedlock_elision, __lll_lock_elision)
5068         (__lll_unlock_elision, __lll_trylock_elision)
5069         (lll_timedlock_elision, lll_lock_elision)
5070         (lll_unlock_elision, lll_trylock_elision): Add.
5071         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5072         (pthread_mutex_t): Add lock elision support for s390.
5073
5074 2014-05-14  Wilco  <wdijkstr@arm.com>
5075
5076         * sysdeps/arm/fclrexcpt.c: Cleanup.
5077         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5078         * sysdeps/arm/feenablxcpt.c: Cleanup.
5079         * sysdeps/arm/fegetenv.c: Cleanup.
5080         * sysdeps/arm/fegetexcept.c: Cleanup.
5081         * sysdeps/arm/fegetround.c: Cleanup.
5082         * sysdeps/arm/feholdexcpt.c: Cleanup.
5083         * sysdeps/arm/fesetenv.c: Cleanup.
5084         * sysdeps/arm/fesetround.c: Cleanup.
5085         * sysdeps/arm/feupdateenv.c: Cleanup.
5086         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5087         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5088         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5089         * sysdeps/arm/ftestexcept.c: Cleanup.
5090         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5091         * sysdeps/arm/setfpucw.c: Cleanup.
5092
5093 2014-05-09  Will Newton  <will.newton@linaro.org>
5094
5095         * sysdeps/arm/armv7/strcmp.S: New file.
5096         * NEWS: Mention addition of ARMv7 optimized strcmp.
5097
5098 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5099
5100         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5101         look for %.ac rather than %.in.
5102
5103         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5104         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5105         * sysdeps/mach/hurd/configure: Regenerated.
5106         * sysdeps/unix/sysv/linux/configure: Regenerated.
5107
5108         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5109
5110 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5111
5112         [BZ# 16922]
5113         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5114         (LONG_SUB): Ditto.
5115         (PTR_SUB): Ditto.
5116
5117 2014-05-07  Andreas Schwab  <schwab@suse.de>
5118
5119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5120         when skipping over non-matching result from nscd.
5121
5122 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5123
5124         [BZ #16876]
5125         * nptl/sockperf.c (client): Check socket return value.
5126
5127         [BZ #16877]
5128         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5129         nscd security class.
5130
5131 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5132
5133         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5134         * sysdeps/arm/unwind.h: ... here.
5135
5136 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5137
5138         [BZ# 16916]
5139         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5140         Define.
5141
5142 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5143
5144         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5145         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5146         multiarch strncpy for PPC64.
5147         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5148         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5150         multiarch optimizations.
5151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5152         (__libc_ifunc_impl_list): Likewise.
5153         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5154         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5155         multiarch stpncpy for PPC64.
5156         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5157         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5158
5159 2014-05-06  Andreas Schwab  <schwab@suse.de>
5160
5161         [BZ #16912]
5162         * gmon/mcount.c (_MCOUNT_DECL): Use
5163         atomic_compare_and_exchange_bool_acq instead of
5164         catomic_compare_and_exchange_bool_acq.
5165
5166 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5167
5168         * elf/Makefile (others, install-bin): Remove pldd.
5169         (pldd-modules): Variable removed.
5170         ($(objpfx)pldd): Target removed.
5171         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5172         (others, install-bin): Append pldd here.
5173         ($(objpfx)pldd): New target.
5174
5175         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5176         to 0, so the first #if test emitted later doesn't see it undefined.
5177         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5178         * sysdeps/gnu/errlist.c: Regenerated.
5179
5180 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5181
5182         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5183         [libc_hidden_builtin_def]: Define to empty value.
5184         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5185         [libc_hidden_builtin_def]: Likewise.
5186         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5187         [libc_hidden_builtin_def]: Likewise.
5188         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5189         [libc_hidden_builtin_def]: Likewise.
5190         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5191         __redirect_memcpy and define ifunc as default hidden symbol.
5192         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5193         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5194
5195 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5196
5197         * locale/iso-4217.def: Reintroduce XDR currency.
5198
5199 2014-05-04  Allan McRae  <allan@archlinux.org>
5200
5201         * po/eo.po: Update Esperanto translation from translation project.
5202
5203 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5204
5205         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5206         and FEATURE_INDEX_MAX to 1.
5207         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5208
5209 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5210
5211         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5212         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5213         * iconvdata/big5.c (ONE_DIRECTION): Define.
5214         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5215         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5216         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5217         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5218         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5219         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5220         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5221         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5222         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5223         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5224         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5225         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5226         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5227         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5228         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5229         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5230         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5231         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5232         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5233         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5234         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5235         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5236         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5237         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5238         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5239         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5240         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5241         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5242         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5243         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5244         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5245         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5246         * iconvdata/johab.c (ONE_DIRECTION): Define.
5247         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5248         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5249         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5250         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5251         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5252         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5253         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5254         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5255         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5256         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5257
5258 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5259
5260         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5261         (_IO_JUMPS_OFFSET): Define to 0.
5262
5263         * nptl/sysdeps/pthread/bits/libc-lock.h
5264         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5265         (__libc_lock_define_initialized_recursive): Always define using
5266         initializer.  Modern compilers treat uninitialized (implicit zero) and
5267         explicit zero initializers the same (i.e. put the datum in bss).
5268
5269 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5270
5271         * nscd/nscd-client.h: Include <string.h>.
5272
5273 2014-05-01  David S. Miller  <davem@davemloft.net>
5274
5275         [BZ #16885]
5276         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5277         multiple zero bytes exist at the end of a string.
5278         Reported by Aurelien Jarno <aurelien@aurel32.net>
5279
5280         * string/test-strcmp.c (check): Add explicit test for situations where
5281         there are multiple zero bytes after the first.
5282
5283 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5284
5285         [BZ #16890]
5286         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5287         when compiling wprintf.
5288         * stdio-common/tstdiomisc.c (t3): New function.
5289         (main): Call it.
5290
5291 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5292
5293         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5294         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5295         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5296         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5297
5298 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5299
5300         * stdlib/longlong.h: Updated from GCC.
5301
5302 2014-05-01  Will Newton  <will.newton@linaro.org>
5303             Bernard Ogden  <bernie.ogden@linaro.org>
5304
5305         * NEWS: Update fixed bug list.
5306
5307         [BZ #15119]
5308         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5309
5310 2014-04-30  David S. Miller  <davem@davemloft.net>
5311
5312         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5313         (libc_feholdexcept_setround_sparc_ctx): New function.
5314         (libc_fesetenv_sparc_ctx): Likewise.
5315         (libc_feupdateenv_sparc_ctx): Likewise.
5316         (libc_feholdsetround_sparc_ctx): Likewise.
5317         (libc_feholdexcept_setround_ctx): Define.
5318         (libc_feholdexcept_setroundf_ctx): Likewise.
5319         (libc_feholdexcept_setroundl_ctx): Likewise.
5320         (libc_fesetenv_ctx): Likewise.
5321         (libc_fesetenvf_ctx): Likewise.
5322         (libc_fesetenvl_ctx): Likewise.
5323         (libc_feupdateenv_ctx): Likewise.
5324         (libc_feupdateenvf_ctx): Likewise.
5325         (libc_feupdateenvl_ctx): Likewise.
5326         (libc_feresetround_ctx): Likewise.
5327         (libc_feresetroundf_ctx): Likewise.
5328         (libc_feresetroundl_ctx): Likewise.
5329         (libc_feholdsetround_ctx): Likewise.
5330         (libc_feholdsetroundf_ctx): Likewise.
5331         (libc_feholdsetroundl_ctx): Likewise.
5332
5333         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5334         with __USE_GNU instead of XOPEN cpp guards.
5335
5336         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5337         0.
5338
5339         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5340         with XOPEN cpp guards.
5341
5342 2014-04-30  Julian Brown  <julian@codesourcery.com>
5343
5344         [BZ #16888]
5345         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5346         handling.
5347
5348 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5349
5350         [BZ #9894]
5351         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5352         Change to 2.6.32.
5353         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5354         * sysdeps/unix/sysv/linux/configure: Regenerated.
5355         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5356         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5357         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5358         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5359         * README: Update reference to required Linux kernel version.
5360         * manual/install.texi (Linux): Update reference to required Linux
5361         kernel headers version.
5362         * INSTALL: Regenerated.
5363
5364         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5365         header inclusion.
5366         [POSIX] (limits.h): Likewise.
5367         [POSIX] (math.h): Likewise.
5368         [POSIX] (sys/wait.h): Likewise.
5369         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5370         function.
5371         [POSIX] (stddef.h): Do not allow header inclusion.
5372
5373 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5374
5375         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5376
5377 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5378
5379         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5380         Return immediately after lll_futex_wake.
5381
5382 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5383
5384         [BZ #16791]
5385         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5386         structure.
5387         (datahead_init_pos): Call datahead_init_common early.
5388         (datahead_init_neg): Likewise.
5389
5390         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5391         datahead_init_neg): New functions.
5392         * nscd/aicache.c (addhstaiX): Use them.
5393         * nscd/grpcache.c (cache_addgr): Likewise.
5394         * nscd/hstcache.c (cache_addhst): Likewise.
5395         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5396         * nscd/netgroupcache.c (do_notfound): Likewise.
5397         (addgetnetgrentX): Likewise.
5398         (addinnetgrX): Likewise.
5399         * nscd/pwdcache.c (cache_addpw): Likewise.
5400         * nscd/servicescache.c (cache_addserv): Likewise.
5401
5402 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5403             Atsushi Onoe  <atsushi@onoe.org>
5404
5405         [BZ #14308]
5406         [BZ #12994]
5407         [BZ #13651]
5408         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5409         one response is valid.
5410         * resolv/res_send.c (send_dg): Check for validity of other
5411         response if the current response is a referral.
5412
5413 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5414
5415         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5416
5417 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5418
5419         [BZ #16823]
5420         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5421         Always divide by positive zero when computing -Inf result.
5422         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5423         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5424
5425 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5426
5427         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5428         FPSCR if value do not change.
5429         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5430         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5431         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5432         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5433         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5434         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5435         function.
5436
5437 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5438
5439         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5440         * sysdeps/unix/sysv/linux/hppa: Move directory from
5441         ports/systeps/unix/sysv/linux/hppa.
5442         * README: Update listing for hppa-*-linux-gnu.
5443
5444 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5445
5446         [BZ #16754]
5447         * manual/stdio.texi (Hook functions): Fix types of stream hook
5448         functions.
5449         [BZ #16854]
5450         * socket/sys/socket.h: Fix typo in comment.
5451
5452 2014-04-28  Wilco  <wdijkstr@arm.com>
5453
5454         * sysdeps/arm/fenv_private.h: New file.
5455         * sysdeps/arm/math_private.h: New file.
5456         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5457
5458 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5459
5460         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5461         with __int128_t.
5462         (La_x86_64_retval): Likewise.
5463
5464 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5465
5466         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5467         fpsr if value didn't change.
5468         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5469         to fpcr if value didn't change.
5470         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5471         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5472         fpsr or fpcr if value didn't change.
5473         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5474         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5475         fpcr if value didn't change.
5476         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5477         to fpsr if value didn't change.
5478
5479 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5480
5481         * nptl/tst-sem3.c: Use test-skeleton.c
5482         (main): Rename to do_test.  Use return instead of
5483         exit.
5484         * nptl/tst-sem4.c: Use test-skeleton.c
5485         (main): Rename to do_test.
5486
5487 2014-04-22  David S. Miller  <davem@davemloft.net>
5488
5489         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5490         (struct sigaction): New struct member __glibc_reserved0, change
5491         type of sa_flags to int.
5492
5493 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5494
5495         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5496         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5497
5498 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5499
5500         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5501         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5502
5503 2014-04-22  Will Newton  <will.newton@linaro.org>
5504             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5505
5506         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5507         (__longjmp): Add longjmp and longjmp_target SystemTap
5508         probes.
5509         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5510         (__sigsetjmp): Add setjmp SystemTap probe.
5511
5512 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5513
5514         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5515         match manual order.
5516
5517 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5518
5519         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5520
5521         * sysdeps/powerpc/fpu/fenv_private.h
5522         (libc_feholdexcept_setroundl_ctx): Define to
5523         libc_feholdexcept_setround_ppc_ctx.
5524         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5525         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5526         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5527         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5528
5529 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5530
5531         * sysdeps/aarch64/math-tests.h: New file.
5532
5533 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5534
5535         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5536         New.
5537         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5538         Check and set bit_AVX2_Usable.
5539         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5540         macro.
5541         (bit_AVX2): Likewise.
5542         (index_AVX2_Usable): Likewise.
5543         (CPUID_AVX2): Likewise.
5544         (HAS_AVX2): Likewise.
5545
5546 2014-04-17  Will Newton  <will.newton@linaro.org>
5547
5548         * manual/setjmp.texi (System V contexts): Add note that
5549         calling setcontext on a context created by a call to a
5550         signal handler is undefined.  Update text to note that
5551         setcontext from a signal handler is possible but not
5552         recommended.
5553
5554         [BZ #16629]
5555         * stdlib/tst-setcontext.c: Include signal.h.
5556         (main): Check that the signal stack before and
5557         after swapcontext is the same.
5558
5559         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5560         Re-implement to restore registers in user code and avoid
5561         rt_sigreturn system call.
5562
5563 2014-04-17  Wilco  <wdijkstr@arm.com>
5564
5565         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5566         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5567         * math/test-fenv.c: Skip exception trap tests on targets which only
5568         support non-stop mode.
5569
5570 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5571             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5572
5573         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5574         (libc_feholdsetround_aarch64_ctx)
5575         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5576         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5577         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5578         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5579         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5580         (libc_feresetround_noexl_ctx): Define.
5581
5582 2014-04-16  Richard Henderson  <rth@redhat.com>
5583
5584         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5585
5586         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5587         unwind tables.
5588
5589         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5590         const from the non-libc, non-ldso copy.
5591
5592         * sysdeps/alpha/libm-test-ulps: Regenerate.
5593
5594 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5595             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5596
5597         * sysdeps/aarch64/fpu/math_private.h: New file.
5598
5599 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5600
5601         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5602
5603 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5604
5605         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5606         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5607         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5608         Intel MPX bound registers before _dl_profile_fixup.
5609         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5610         registers after _dl_profile_fixup.  Save and restore bound
5611         registers bnd0/bnd1 when calling _dl_call_pltexit.
5612         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5613         (LR_BND_OFFSET): Likewise.
5614         (LRV_BND0_OFFSET): Likewise.
5615         (LRV_BND1_OFFSET): Likewise.
5616
5617 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5618
5619         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5620         to...
5621         * sysdeps/mach/hurd/i386/tls.h: ... here.
5622         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5623         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5624         fields.
5625
5626 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5627
5628         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5629
5630 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5631
5632         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5633
5634 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5635
5636         [BZ #14770]
5637         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5638         * sysdeps/s390/configure: Regenerate.
5639
5640         [BZ #16824]
5641         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5642         Set round-to-nearest internally to reduce error accumulation.
5643
5644 2014-04-16  Alan Modra  <amodra@gmail.com>
5645
5646         [BZ #16740]
5647         [BZ #16619]
5648         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5649         * math/libm-test.inc (frexp_test_data): Add tests.
5650         * NEWS: Update fixed bug list.
5651
5652 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5653
5654         * benchtests/Makefile: Depend on libraries in build directory.
5655         (bench-math): Separate out math tests.
5656         (bench-pthread): Separate out pthread tests.
5657         (bench): Include math and pthread tests.
5658
5659 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5660
5661         [BZ #16831]
5662         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5663         _dl_debug_initialize.
5664
5665         * configure.ac: Remove SELinux header check.
5666         * configure: Regenerate.
5667         * nscd/selinux.c (perms): Array of const char* to permission names.
5668         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5669         default policy. Call string_to_security_class and string_to_av_perm to
5670         translate strings. Enforce default policy and call avs_has_perm with
5671         results of translated strings.
5672
5673 2014-04-13  David S. Miller  <davem@davemloft.net>
5674
5675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5676
5677 2014-04-12  Allan McRae  <allan@archlinux.org>
5678
5679         [BZ #16838]
5680         * manual/string.texi (Collation Functions): Fix qsort argument
5681         order in example.
5682         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5683
5684 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5685
5686         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5687         Make the test a no-op if there are no exceptions defined.
5688
5689 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5690
5691         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5692         enable-hardcoded-path-in-tests
5693
5694 2014-04-11  Will Newton  <will.newton@linaro.org>
5695
5696         * benchtests/Makefile (extra-objs): Add json-lib.o.
5697         (bench-func): Tidy up JSON output.
5698         * benchtests/bench-skeleton.c: Include json-lib.h.
5699         (main): Use JSON library functions to do output of
5700         benchmark results.
5701         * benchtests/bench-timing-type.c (main): Output the
5702         timing type simply, leaving formatting to the user.
5703         * benchtests/json-lib.c: New file.
5704         * benchtests/json-lib.h: Likewise.
5705
5706 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5707
5708         [BZ #15215]
5709         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5710         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5711         memory barriers.  Add comments.
5712         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5713         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5714         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5715         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5716         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5717         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5718
5719 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5720
5721         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5722         * sysdeps/s390/s390-64/configure.ac: ... this ...
5723         * sysdeps/s390/configure.ac: ... to here.
5724         * sysdeps/s390/s390-32/configure: Delete file.
5725         * sysdeps/s390/s390-64/configure: Delete file.
5726         * sysdeps/s390/configure: Regenerate.
5727
5728 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5729
5730         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5731
5732 2014-04-11  Will Newton  <will.newton@linaro.org>
5733
5734         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5735         to zero if it is not defined elsewhere.  (mtrim): Test
5736         the value of MALLOC_DEBUG with #if rather than #ifdef.
5737
5738 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5739
5740         * benchtests/pthread_once-inputs: New file.
5741         * benchtests/pthread_once-source.c: New file.
5742         * benchtests/README: Update documentation.
5743
5744 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5745             H.J. Lu  <hongjiu.lu@intel.com>
5746
5747         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5748         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5749         * sysdeps/x86_64/configure: Regenerated.
5750         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5751         macro.
5752         (REGISTER_SAVE_RAX): Likewise.
5753         (REGISTER_SAVE_RCX): Likewise.
5754         (REGISTER_SAVE_RDX): Likewise.
5755         (REGISTER_SAVE_RSI): Likewise.
5756         (REGISTER_SAVE_RDI): Likewise.
5757         (REGISTER_SAVE_R8): Likewise.
5758         (REGISTER_SAVE_R9): Likewise.
5759         (REGISTER_SAVE_BND0): Likewise.
5760         (REGISTER_SAVE_BND1): Likewise.
5761         (REGISTER_SAVE_BND2): Likewise.
5762         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5763         bound registers when calling _dl_fixup.
5764
5765 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5766
5767         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5768         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5769         of its definition.
5770         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5771         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5772         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5773         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5774         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5775         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5776         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5777
5778 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5779
5780         [BZ #15514]
5781         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5782         pathconf(_PC_NAME_MAX).
5783
5784 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5785
5786         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5787         Remove macro usage.
5788         (__PTHREAD_SPINS): Move definition to ...
5789         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5790         (__PTHREAD_SPINS): ... here.
5791         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5792         (__PTHREAD_SPIN): Likewise.
5793         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5794         (__PTHREAD_SPIN): Likewise.
5795         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5796         (__PTHREAD_SPIN): Likewise.
5797         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5798         (__PTHREAD_SPIN): Likewise.
5799         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5800         (__PTHREAD_SPIN): Likewise.
5801         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5802         (__PTHREAD_SPIN): Likewise.
5803         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5804         (__PTHREAD_SPIN): Likewise.
5805         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5806         (__PTHREAD_SPIN): Likewise.
5807         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5808         (__PTHREAD_SPIN): Likewise.
5809         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5810         (__PTHREAD_SPIN): Likewise.
5811         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5812         (__PTHREAD_SPIN): Likewise.
5813         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5814         (__PTHREAD_SPIN): Likewise.
5815
5816         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5817         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5818         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5819         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5820         imply folder.
5821         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5822         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5823         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5824         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5825         correct imply path.
5826         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5827         strlen symbol for non multi-arch builds.
5828         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5829         missing hidden_def and weak_alias.
5830
5831 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5832
5833         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5834
5835 2014-04-07  Will Newton  <will.newton@linaro.org>
5836
5837         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5838         and contents.  [!_LIBC] Remove #ifndef and contents.
5839         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5840         * string/memccpy.c (__memccpy): Use ANSI prototype.
5841         * string/memfrob.c (memfrob): Likewise.
5842         * string/strcoll.c (STRCOLL): Likewise.
5843         * string/strlen.c (strlen): Likewise.
5844         * string/strtok.c (STRTOK): Likewise.
5845         * string/strcat.c: Remove unused #include of memcopy.h.
5846         (strcat): Use ANSI prototype.
5847         * string/strchr.c: Remove unused #include of memcopy.h.
5848         (strchr): Use ANSI prototype.
5849         * string/strcmp.c: Remove unused #include of memcopy.h.
5850         (strcmp): Use ANSI prototype.
5851         * string/strcpy.c: Remove unused #include of memcopy.h.
5852         (strcpy): Use ANSI prototype.
5853
5854 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5855
5856         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5857         * config.make.in (config-extra-cppflags): Set it from
5858         libc_extra_cppflags.
5859         * configure.ac (libc_extra_cflags): Make it accumulate over
5860         configure fragments.
5861         (libc_extra_cppflags): New flag.
5862         * configure. Regenerate.
5863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5864         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5865         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5867
5868         [BZ #16815]
5869         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5870         result for FE_DOWNWARD rounding mode.
5871         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5872         Likewise.
5873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5874
5875 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5876
5877         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5878         in function argument name.
5879
5880 2014-04-03  David Svoboda  <svoboda@cert.org>
5881
5882         [BZ #5666]
5883         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5884         explicitly.
5885
5886 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5887
5888         * elf/dl-unmap-segments.h: New file.
5889         * sysdeps/generic/ldsodefs.h
5890         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5891         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5892         * elf/dl-fptr.c: Likewise.
5893         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5894         * sysdeps/aarch64/tlsdesc.c: Likewise.
5895         * sysdeps/arm/tlsdesc.c: Likewise.
5896         * sysdeps/i386/tlsdesc.c: Likewise.
5897         * sysdeps/tile/dl-runtime.c: Likewise.
5898         * sysdeps/x86_64/tlsdesc.c: Likewise.
5899         * elf/dl-load.h: New file.
5900         * elf/dl-load.c: Include it.
5901         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5902         Macros moved to dl-load.h.
5903         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5904         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5905         Use _dl_unmap_segments in place of __munmap.
5906         Break out segment-mapping loop into ...
5907         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5908
5909 2014-04-03  Will Newton  <will.newton@linaro.org>
5910
5911         * elf/dl-lookup.c (do_lookup_x): Remove comment
5912         referring to nested function and move variable
5913         declarations down to before first use.
5914
5915 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5916
5917         [BZ #16799]
5918         [BZ #16800]
5919         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5920         with 0 numerator.
5921         * math/s_catanf.c (__catanf): Likewise.
5922         * math/s_catanh.c (__catanh): Likewise.
5923         * math/s_catanhf.c (__catanhf): Likewise.
5924         * math/s_catanhl.c (__catanhl): Likewise.
5925         * math/s_catanl.c (__catanl): Likewise.
5926         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5927         by positive zero when computing -Inf result.
5928         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5929         (catanh_test): Likewise.
5930         * sysdeps/i386/fpu/libm-test-ulps: Update.
5931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5932
5933         [BZ #16789]
5934         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5935         instead of using underflowing value in computing result.
5936         * math/s_clog10.c (__clog10): Likewise.
5937         * math/s_clog10f.c (__clog10f): Likewise.
5938         * math/s_clog10l.c (__clog10l): Likewise.
5939         * math/s_clogf.c (__clogf): Likewise.
5940         * math/s_clogl.c (__clogl): Likewise.
5941         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5942         (clog10_test): Likewise.
5943         * sysdeps/i386/fpu/libm-test-ulps: Update.
5944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5945
5946 2014-04-02  Alan Modra  <amodra@gmail.com>
5947
5948         [BZ #16739]
5949         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5950         output when value is near a power of two.  Use int64_t for lx and
5951         remove casts.  Use decimal rather than hex exponent constants.
5952         Don't use long double multiplication when double will suffice.
5953         * math/libm-test.inc (nextafter_test_data): Add tests.
5954         * NEWS: Add 16739 and 16786 to bug list.
5955
5956         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5957
5958         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5959
5960 2014-04-01  Will Newton  <will.newton@linaro.org>
5961
5962         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5963         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5964
5965 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5966
5967         [BZ #13347]
5968         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5969         * nptl/tst-setuid2.c: New file.
5970         * nptl/Makefile (xtests): Add tst-setuid2.
5971
5972 2014-04-01  Alan Modra  <amodra@gmail.com>
5973
5974         [BZ #16786]
5975         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5976
5977 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5978
5979         [BZ #6803]
5980         [BZ #6804]
5981         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5982         set errno as appropriate.
5983         * math/w_scalbf.c (__scalbf): Likewise.
5984         * math/w_scalbl.c (__scalbl): Likewise.
5985         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5986         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5987         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5988         Add more NaN tests.
5989
5990         [BZ #16349]
5991         * math/w_atan2.c: Include <errno.h>.
5992         (__atan2): Set errno for result underflowing to zero.
5993         * math/w_atan2f.c: Include <errno.h>.
5994         (__atan2f): Set errno for result underflowing to zero.
5995         * math/w_atan2l.c: Include <errno.h>.
5996         (__atan2l): Set errno for result underflowing to zero.
5997         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5998         tests.
5999         * math/auto-libm-test-out: Regenerated.
6000
6001 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6002
6003         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6004         Encode instruction correctly in little endian.
6005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6006         Likewise.
6007         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6008         Likewise.
6009         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6010         Likewise.
6011         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6012         Likewise.
6013
6014 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6015
6016         [BZ #9894]
6017         * sysdeps/unix/sysv/linux/kernel-features.h
6018         [__sparc__ && !__arch64__ && !__sparc_v9__]
6019         (__ASSUME_SET_ROBUST_LIST): Do not define.
6020         [__sparc__ && !__arch64__ && !__sparc_v9__]
6021         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6022         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6023         Likewise.
6024         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6025         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6026         (__ASSUME_REQUEUE_PI): Likewise.
6027         (__ASSUME_SET_ROBUST_LIST): Likewise.
6028         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6029         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6030         Undefine.
6031         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6032         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6033         Likewise.
6034         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6035         Likewise.
6036         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6039         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6040         Undefine.
6041         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6042         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6043         Likewise.
6044
6045         [BZ #16648]
6046         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6047         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6048         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6049
6050 2014-03-31  Will Newton  <will.newton@linaro.org>
6051
6052         * benchtests/Makefile (bench): Add ffs and ffsll to list
6053         of tests.
6054         * benchtests/ffs-inputs: New file.
6055         * benchtests/ffsll-inputs: Likewise.
6056
6057 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6058
6059         [BZ #16770]
6060         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6061         too large before casting to int.
6062         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6063         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6064         * math/libm-test.inc (scalb_test_data): Add more tests.
6065
6066 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6067
6068         * benchtests/Makefile (DETAILED_OPT): New make option.
6069         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6070         set.
6071         * benchtests/bench-skeleton.c: Include stdbool.h.
6072         (main): Store and print timings per input.
6073         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6074         member to each argument value.
6075         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6076         (_print_arg_data): Initialize per-input timing to 0.
6077
6078         * benchtests/Makefile (timing-type): New binary.
6079         (bench-clean): Also remove bench-timing-type.
6080         (bench): New target for timing-type.
6081         (bench-func): Print output in JSON format.
6082         * benchtests/bench-skeleton.c (main): Print output in JSON
6083         format.
6084         * benchtests/bench-timing-type.c: New file.
6085         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6086         (TIMING_PRINT_STATS): Remove.
6087         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6088         name separately.
6089
6090         * benchtests/bench-modf.c: Remove.
6091         * benchtests/modf-inputs: New inputs file.
6092
6093 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6094
6095         [BZ #16362]
6096         * math/s_clog10.c (M_PI_LOG10E): New macro.
6097         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6098         imaginary parts are 0.
6099         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6100         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6101         imaginary parts are 0.
6102         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6103         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6104         imaginary parts are 0.
6105         * math/libm-test.inc (clog10_test_data): Update expected results
6106         for when real and imaginary parts are 0.
6107
6108 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6109
6110         * elf/dl-load.c: Finish conversion of __builtin_expect into
6111         __glibc_{un}likely.
6112
6113 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6114
6115         [BZ #16348]
6116         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6117         1+x for argument with exponent below -67.
6118         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6119         Likewise.
6120         * math/auto-libm-test-in: Add more tests of exp.
6121         * math/auto-libm-test-out: Regenerated.
6122
6123 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6124
6125         [BZ #16759]
6126         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6127         (nscd_getnetgrent): Use it.
6128
6129         [BZ #16760]
6130         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6131         of stpcpy.
6132
6133 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6134
6135         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6136         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6137         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6138         (lll_robust_unlock): Remove out of line section. Use cfi
6139         intrinsics.
6140         (LLL_STUB_UNWIND_INFO*): Remove.
6141         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6142         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6143         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6144         (lll_robust_unlock): Remove out of line section. Use cfi
6145         intrinsics.
6146         (LLL_STUB_UNWIND_INFO*): Remove.
6147
6148 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6149
6150         [BZ #16758]
6151         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6152         blank values.
6153
6154 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6155
6156         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6157
6158 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6159
6160         [BZ #16198]
6161         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6162         fnstenv.
6163         * math/test-fenv-preserve.c: New file.
6164         * math/Makefile (tests): Add test-fenv-preserve.
6165
6166 2014-03-26  Will Newton <will.newton@linaro.org>
6167
6168         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6169
6170 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6171
6172         * scripts/versionlist.awk: Partition the version sets and emit all
6173         GLIBC_* (sorted) before all others (sorted).
6174
6175 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6176
6177         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6178         GLIBC_2.2.5 version.
6179
6180 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6181
6182         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6183         calls.
6184
6185         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6186         previous change.
6187
6188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6189
6190 2014-03-25  Andreas Schwab  <schwab@suse.de>
6191
6192         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6193         label to be used after in6ailist is initialized.
6194
6195 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6196
6197         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6198         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6199
6200 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6201
6202         [BZ #16357]
6203         [BZ #16599]
6204         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6205         min_plus_half.
6206         (fp_formats): Update initializers.
6207         (init_fp_formats): Initialize new field.
6208         (output_for_one_input_case): Allow underflow for results up to
6209         min_plus_half.
6210         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6211         * math/auto-libm-test-in: Don't mark some underflows from asin and
6212         atanh as spurious.
6213         * math/auto-libm-test-out: Regenerated.
6214         * sysdeps/i386/fpu/libm-test-ulps: Update.
6215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6216
6217 2014-03-25  Andreas Schwab  <schwab@suse.de>
6218
6219         * libio/Makefile (tst-ftell-partial-wide-ENV)
6220         (tst-ftell-active-handler-ENV): Define.
6221
6222 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6223
6224         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6225
6226 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6227
6228         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6229
6230 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6231
6232         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6233         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6234         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6235
6236 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6237
6238         [BZ #16634]
6239         * elf/dl-load.c (open_verify): Add mode parameter.
6240         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6241         (open_path): Change from boolean 'secure' to complete flag 'mode'
6242         (_dl_map_object): Adjust.
6243         * elf/Makefile (tests): Add tst-dlopen-aout.
6244         * elf/tst-dlopen-aout.c: New test.
6245
6246 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6247
6248         [BZ #16714]
6249         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6250         (struct stat): Rename member pad0 to __glibc_reserved0.
6251
6252         [BZ #16712]
6253         * sysdeps/s390/s390-32/bits/wordsize.h
6254         (__WORDSIZE32_SIZE_ULONG): New define.
6255         * sysdeps/s390/s390-64/bits/wordsize.h
6256         (__WORDSIZE32_SIZE_ULONG): Likewise.
6257         * sysdeps/generic/stdint.h (SIZE_MAX):
6258         Define as UL if __WORDSIZE32_SIZE_ULONG.
6259
6260         [BZ #16713]
6261         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6262         (__glibc_reserved0): New variable.
6263         (sa_flags): Change type to int.
6264
6265         * posix/Makefile (before-compile): Use += before-compile instead
6266         of a :=.
6267
6268         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6269         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6270
6271 2014-03-20  Andreas Schwab  <schwab@suse.de>
6272
6273         [BZ #16743]
6274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6275         non-matching result from nscd.
6276
6277 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6278
6279         * scripts/bench.py: Moved to ...
6280         * benchtests/scripts/bench.py: ... here.
6281         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6282
6283 2014-03-24  Andreas Schwab  <schwab@suse.de>
6284
6285         [BZ #16002]
6286         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6287         alloca_account and account alloca use for struct in6ailist.
6288
6289 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6290
6291         [BZ #16284]
6292         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6293         rounding mode to recompute results that overflow to infinity or
6294         underflow to zero.
6295         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6296         bug 16284.
6297         * math/auto-libm-test-out: Regenerated.
6298         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6299         (ccosh_test): Likewise.
6300         (csin_test_data): Use plus_oflow.
6301         (csin_test): Use ALL_RM_TEST.
6302         (csinh_test_data): Use plus_oflow.
6303         (csinh_test): Use ALL_RM_TEST.
6304         * sysdeps/i386/fpu/libm-test-ulps: Update.
6305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6306
6307 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6308
6309         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6310         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6311         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6312
6313         [BZ #16731]
6314         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6315         when x - 1 is zero.
6316         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6317         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6318         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6319         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6320         argument is 1.
6321         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6322         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6323         zero.
6324         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6325         * sysdeps/i386/fpu/libm-test-ulps: Update.
6326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6327
6328 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6329
6330         * scripts/bench.pl: Remove file.
6331         * scripts/bench.py: New benchmark script.
6332         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6333         * benchtests/README: Mention python dependency.
6334         * scripts/pylintrc: New file.
6335         * scripts/pylint: New file.
6336
6337         * bits/mathdef.h: Use #ifdef instead of #if.
6338         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6339         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6340         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6341         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6342         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6343         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6344
6345 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6346             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6347
6348         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6350         and strpbrk-ppc64 objects.
6351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6352         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6353         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6354         multiarch strpbrk for POWER7.
6355         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6356         multiarch strpbrk for PPC64.
6357         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6358         ifunc selector.
6359         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6360         strpbrk for POWER7.
6361
6362 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6363
6364         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6365         (atan_test): Likewise.
6366         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6367         (atanh_test): Use ALL_RM_TEST.
6368         (atan2_test_data): Likewise.
6369         (cabs_test): Likewise.
6370         (cacosh_test): Likewise.
6371         (carg_test): Likewise.
6372         (casin_test): Likewise.
6373         (casinh_test): Likewise.
6374         (cbrt_test): Likewise.
6375         (csqrt_test): Likewise.
6376         (erf_test): Likewise.
6377         (erfc_test): Likewise.
6378         (pow10_test): Likewise.
6379         (exp2_test): Likewise.
6380         (hypot_test): Likewise.
6381         (j0_test): Likewise.
6382         (j1_test): Likewise.
6383         (lgamma_test): Likewise.
6384         (gamma_test): Likewise.
6385         (sincos_test): Likewise.
6386         (tanh_test): Likewise.
6387         (y0_test): Likewise.
6388         (y1_test): Likewise.
6389         * sysdeps/i386/fpu/libm-test-ulps: Update.
6390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6391
6392 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6393
6394         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6396         and strcspn-ppc64 objects.
6397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6398         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6399         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6400         multiarch strcspn for POWER7.
6401         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6402         multiarch strcspn for PPC64.
6403         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6404         ifunc selector.
6405         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6406         strcspn for POWER7.
6407
6408 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6409
6410         * math/gen-libm-test.pl (generate_testfile): Expect only function
6411         name as argument to AUTO_TESTS_* and pass results for all rounding
6412         modes to parse_args.
6413         (parse_auto_input): Separate inputs of automatic tests from
6414         outputs before storing in %auto_tests.
6415         * math/libm-test.inc (acos_test_data): Update call to
6416         AUTO_TESTS_f_f.
6417         (acos_test): Use ALL_RM_TEST.
6418         (acos_tonearest_test_data): Remove.
6419         (acos_test_tonearest): Likewise.
6420         (acos_towardzero_test_data): Likewise.
6421         (acos_test_towardzero): Likewise.
6422         (acos_downward_test_data): Likewise.
6423         (acos_test_downward): Likewise.
6424         (acos_upward_test_data): Likewise.
6425         (acos_test_upward): Likewise.
6426         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6427         (asin_test_data): Likewise.
6428         (asin_test): Use ALL_RM_TEST.
6429         (asin_tonearest_test_data): Remove.
6430         (asin_test_tonearest): Likewise.
6431         (asin_towardzero_test_data): Likewise.
6432         (asin_test_towardzero): Likewise.
6433         (asin_downward_test_data): Likewise.
6434         (asin_test_downward): Likewise.
6435         (asin_upward_test_data): Likewise.
6436         (asin_test_upward): Likewise.
6437         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6438         (atan_test_data): Likewise.
6439         (atanh_test_data): Likewise.
6440         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6441         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6442         (carg_test_data): Likewise.
6443         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6444         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6445         (ccosh_test_data): Likewise.
6446         (cexp_test_data): Likewise.
6447         (clog_test_data): Likewise.
6448         (clog10_test_data): Likewise.
6449         (cos_test_data): Update call to AUTO_TESTS_f_f.
6450         (cos_test): Use ALL_RM_TEST.
6451         (cos_tonearest_test_data): Remove.
6452         (cos_test_tonearest): Likewise.
6453         (cos_towardzero_test_data): Likewise.
6454         (cos_test_towardzero): Likewise.
6455         (cos_downward_test_data): Likewise.
6456         (cos_test_downward): Likewise.
6457         (cos_upward_test_data): Likewise.
6458         (cos_test_upward): Likewise.
6459         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6460         (cosh_test): Use ALL_RM_TEST.
6461         (cosh_tonearest_test_data): Remove.
6462         (cosh_test_tonearest): Likewise.
6463         (cosh_towardzero_test_data): Likewise.
6464         (cosh_test_towardzero): Likewise.
6465         (cosh_downward_test_data): Likewise.
6466         (cosh_test_downward): Likewise.
6467         (cosh_upward_test_data): Likewise.
6468         (cosh_test_upward): Likewise.
6469         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6470         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6471         (ctan_test_data): Likewise.
6472         (ctan_test): Use ALL_RM_TEST.
6473         (ctan_tonearest_test_data): Remove.
6474         (ctan_test_tonearest): Likewise.
6475         (ctan_towardzero_test_data): Likewise.
6476         (ctan_test_towardzero): Likewise.
6477         (ctan_downward_test_data): Likewise.
6478         (ctan_test_downward): Likewise.
6479         (ctan_upward_test_data): Likewise.
6480         (ctan_test_upward): Likewise.
6481         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6482         (ctanh_test): Use ALL_RM_TEST.
6483         (ctanh_tonearest_test_data): Remove.
6484         (ctanh_test_tonearest): Likewise.
6485         (ctanh_towardzero_test_data): Likewise.
6486         (ctanh_test_towardzero): Likewise.
6487         (ctanh_downward_test_data): Likewise.
6488         (ctanh_test_downward): Likewise.
6489         (ctanh_upward_test_data): Likewise.
6490         (ctanh_test_upward): Likewise.
6491         (erf_test_data): Update call to AUTO_TESTS_f_f.
6492         (erfc_test_data): Likewise.
6493         (exp_test_data): Likewise.
6494         (exp_test): Use ALL_RM_TEST.
6495         (exp_tonearest_test_data): Remove.
6496         (exp_test_tonearest): Likewise.
6497         (exp_towardzero_test_data): Likewise.
6498         (exp_test_towardzero): Likewise.
6499         (exp_downward_test_data): Likewise.
6500         (exp_test_downward): Likewise.
6501         (exp_upward_test_data): Likewise.
6502         (exp_test_upward): Likewise.
6503         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6504         (exp10_test): Use ALL_RM_TEST.
6505         (exp10_tonearest_test_data): Remove.
6506         (exp10_test_tonearest): Likewise.
6507         (exp10_towardzero_test_data): Likewise.
6508         (exp10_test_towardzero): Likewise.
6509         (exp10_downward_test_data): Likewise.
6510         (exp10_test_downward): Likewise.
6511         (exp10_upward_test_data): Likewise.
6512         (exp10_test_upward): Likewise.
6513         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6514         (expm1_test_data): Likewise.
6515         (expm1_test): Use ALL_RM_TEST.
6516         (expm1_tonearest_test_data): Remove.
6517         (expm1_test_tonearest): Likewise.
6518         (expm1_towardzero_test_data): Likewise.
6519         (expm1_test_towardzero): Likewise.
6520         (expm1_downward_test_data): Likewise.
6521         (expm1_test_downward): Likewise.
6522         (expm1_upward_test_data): Likewise.
6523         (expm1_test_upward): Likewise.
6524         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6525         (fma_test): Use ALL_RM_TEST.
6526         (fma_towardzero_test_data): Remove.
6527         (fma_test_towardzero): Likewise.
6528         (fma_downward_test_data): Likewise.
6529         (fma_test_downward): Likewise.
6530         (fma_upward_test_data): Likewise.
6531         (fma_test_upward): Likewise.
6532         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6533         (j0_test_data): Update call to AUTO_TESTS_f_f.
6534         (j1_test_data): Likewise.
6535         (jn_test_data): Update call to AUTO_TESTS_if_f.
6536         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6537         (log_test_data): Update call to AUTO_TESTS_f_f.
6538         (log10_test_data): Likewise.
6539         (log1p_test_data): Likewise.
6540         (log2_test_data): Likewise.
6541         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6542         (pow_tonearest_test_data): Likewise.
6543         (sin_test_data): Update call to AUTO_TESTS_f_f.
6544         (sin_test): Use ALL_RM_TEST.
6545         (sin_tonearest_test_data): Remove.
6546         (sin_test_tonearest): Likewise.
6547         (sin_towardzero_test_data): Likewise.
6548         (sin_test_towardzero): Likewise.
6549         (sin_downward_test_data): Likewise.
6550         (sin_test_downward): Likewise.
6551         (sin_upward_test_data): Likewise.
6552         (sin_test_upward): Likewise.
6553         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6554         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6555         (sinh_test): Use ALL_RM_TEST.
6556         (sinh_tonearest_test_data): Remove.
6557         (sinh_test_tonearest): Likewise.
6558         (sinh_towardzero_test_data): Likewise.
6559         (sinh_test_towardzero): Likewise.
6560         (sinh_downward_test_data): Likewise.
6561         (sinh_test_downward): Likewise.
6562         (sinh_upward_test_data): Likewise.
6563         (sinh_test_upward): Likewise.
6564         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6565         (sqrt_test): Use ALL_RM_TEST.
6566         (sqrt_tonearest_test_data): Remove.
6567         (sqrt_test_tonearest): Likewise.
6568         (sqrt_towardzero_test_data): Likewise.
6569         (sqrt_test_towardzero): Likewise.
6570         (sqrt_downward_test_data): Likewise.
6571         (sqrt_test_downward): Likewise.
6572         (sqrt_upward_test_data): Likewise.
6573         (sqrt_test_upward): Likewise.
6574         (tan_test_data): Update call to AUTO_TESTS_f_f.
6575         (tan_test): Use ALL_RM_TEST.
6576         (tan_tonearest_test_data): Remove.
6577         (tan_test_tonearest): Likewise.
6578         (tan_towardzero_test_data): Likewise.
6579         (tan_test_towardzero): Likewise.
6580         (tan_downward_test_data): Likewise.
6581         (tan_test_downward): Likewise.
6582         (tan_upward_test_data): Likewise.
6583         (tan_test_upward): Likewise.
6584         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6585         (tgamma_test_data): Likewise.
6586         (y0_test_data): Likewise.
6587         (y1_test_data): Likewise.
6588         (yn_test_data): Update call to AUTO_TESTS_if_f.
6589         (main): Do not call removed functions.
6590
6591 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6592
6593         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6594         (ldexp_test_data): Remove.
6595         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6596         scalbn_test_data.
6597         (scalb_test): Use ALL_RM_TEST.
6598
6599 2014-03-19  Andreas Schwab  <schwab@suse.de>
6600
6601         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6602
6603 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6604
6605         [BZ #16649]
6606         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6607         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6608         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6610         (__ASSUME_PREADV): Undefine.
6611         (__ASSUME_PWRITEV): Likewise.
6612
6613 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6614
6615         * bits/mman-linux.h: Add comment about non-Linux use.
6616         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6617         bits/mman-linux.h resting place.
6618
6619         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6620         * bits/mman-linux.h: ... here.
6621
6622 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6623
6624         * conform/conformtest.pl: Add standard definition when calling C
6625         preprocessor on data files.
6626         (checknamespace): Remove unused variable.
6627
6628 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6629
6630         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6631         minus_oflow, plus_uflow and minus_uflow in expected results.
6632         * math/libm-test.inc (scalbn_test_data): Add more tests of
6633         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6634         minus_uflow.
6635         (scalbn_test): Use ALL_RM_TEST.
6636         (scalbln_test_data): Add more tests of negative arguments.  Use
6637         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6638         (scalbln_test): Use ALL_RM_TEST.
6639
6640 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6641
6642         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6643
6644 2014-03-18  Will Newton  <will.newton@linaro.org>
6645
6646         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6647         inaccurate comment.
6648
6649 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6650
6651         * Makerules [!subdir] (check-abi): Exit with error status if a
6652         test failed.
6653
6654 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6655
6656         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6657         for rint.  Include results for all rounding modes.
6658         (nearbyint_test): Use ALL_RM_TEST.
6659         (rint_test_data): Include all tests used for nearbyint.
6660
6661 2014-03-17  Will Newton  <will.newton@linaro.org>
6662
6663         * nptl/sysdeps/pthread/pthread.h: Revert previous
6664         change.
6665
6666         * sysdeps/generic/ldsodefs.h: Revert previous
6667         change.
6668
6669         * libio/genops.c: Revert previous change.
6670         * libio/libioP.h: Likewise.
6671         * stdio-common/vfprintf.c: Likewise.
6672
6673         * sysdeps/generic/math_private.h: Revert previous
6674         change.
6675
6676         * sysdeps/generic/math_private.h: Check whether
6677         HAVE_RM_CTX is defined with #ifdef rather
6678         than #if.
6679
6680         * argp/argp-fmtstream.h: Check whether
6681         __STRICT_ANSI__ is defined with #ifdef rather
6682         than #if.
6683         * argp/argp.h: Likewise.
6684
6685         * libio/genops.c: Check whether
6686         _IO_JUMPS_OFFSET is defined with #ifdef rather
6687         than #if.
6688         * libio/libioP.h: Likewise.
6689         * stdio-common/vfprintf.c: Likewise.
6690
6691         * sysdeps/generic/ldsodefs.h: Check whether
6692         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6693         than #if.
6694
6695         * nptl/sysdeps/pthread/pthread.h: Check
6696         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6697         its value.
6698
6699 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6700
6701         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6702         setting O_APPEND.
6703         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6704         test case.
6705
6706         [BZ #16680]
6707         * libio/fileops.c (_IO_file_open): Seek to end of file but
6708         don't cache the offset.
6709         (get_file_offset): Remove function.
6710         (do_ftell): Use cached offset when available.
6711         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6712         don't cache the offset.
6713         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6714         case.
6715         (do_one_test): Call it.
6716         (do_ftell_test): Fix up expected old offset for a+ mode.
6717         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6718         available.
6719
6720         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6721         up test status with function return status.
6722         (do_write_test): Likewise.
6723         (do_append_test): Likewise.
6724
6725         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6726         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6727         Remove.
6728
6729 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6730
6731         * math/gen-libm-test.pl (parse_args): Handle results specified for
6732         each rounding mode separately.
6733         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6734         tests and results from lrint_tonearest_test_data,
6735         lrint_towardzero_test_data, lrint_downward_test_data and
6736         lrint_upward_test_data.
6737         (lrint_test): Use ALL_RM_TEST.
6738         (lrint_tonearest_test_data): Remove.
6739         (lrint_test_tonearest): Likewise.
6740         (lrint_towardzero_test_data): Likewise.
6741         (lrint_test_towardzero): Likewise.
6742         (lrint_downward_test_data): Likewise.
6743         (lrint_test_downward): Likewise.
6744         (lrint_upward_test_data): Likewise.
6745         (lrint_test_upward): Likewise.
6746         (llrint_test_data): Merge in per-rounding-mode tests and results
6747         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6748         llrint_downward_test_data and llrint_upward_test_data.
6749         (llrint_test): Use ALL_RM_TEST.
6750         (llrint_tonearest_test_data): Remove.
6751         (llrint_test_tonearest): Likewise.
6752         (llrint_towardzero_test_data): Likewise.
6753         (llrint_test_towardzero): Likewise.
6754         (llrint_downward_test_data): Likewise.
6755         (llrint_test_downward): Likewise.
6756         (llrint_upward_test_data): Likewise.
6757         (llrint_test_upward): Likewise.
6758         (rint_test_data): Merge in per-rounding-mode tests and results
6759         from rint_tonearest_test_data, rint_towardzero_test_data,
6760         rint_downward_test_data and rint_upward_test_data.  Add
6761         per-rounding-mode results for tests not in those arrays.
6762         (rint_test): Use ALL_RM_TEST.
6763         (rint_tonearest_test_data): Remove.
6764         (rint_test_tonearest): Likewise.
6765         (rint_towardzero_test_data): Likewise.
6766         (rint_test_towardzero): Likewise.
6767         (rint_downward_test_data): Likewise.
6768         (rint_test_downward): Likewise.
6769         (rint_upward_test_data): Likewise.
6770         (rint_test_upward): Likewise.
6771         (main): Don't call removed functions.
6772
6773 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6774
6775         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6776         "Compiled on ..." crapola.  It is anti-useful.
6777
6778 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6779
6780         * scripts/evaluate-test.sh: Handle fourth argument to determine
6781         whether test run should stop on failure.
6782         * Makeconfig (stop-on-test-failure): New variable.
6783         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6784         $(stop-on-test-failure).
6785         * Makefile (tests): Give a summary of results from testing and
6786         exit with failure status if they include an ERROR or FAIL.
6787         (xtests): Likewise.
6788         * manual/install.texi (Configuring and compiling): Mention
6789         stop-on-test-failure=y.
6790         * INSTALL: Regenerated.
6791
6792 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6793
6794         * scripts/versionlist.awk: New file.
6795         * Makerules [$(build-shared) = yes]
6796         (postclean-generated): Add Versions.def, not Versions.def.v and
6797         Versions.def.v.i.
6798         ($(common-objpfx)Versions.def.v.i): Target removed.
6799         ($(common-objpfx)Versions.def): New target.
6800         ($(common-objpfx)Versions.all): Depend on that rather that
6801         $(common-objpfx)Versions.def.v.
6802         * Versions.def: File removed.
6803
6804         * Makeconfig (+gccwarn): Add -Wundef.
6805         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6806         a dl-sysdep.h breaking its contract.
6807         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6808         * include/stackinfo.h: New file.
6809         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6810         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6811         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6812         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6813         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6814         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6815         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6816         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6817         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6818         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6819         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6820         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6821         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6822         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6823         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6824
6825 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6826
6827         [BZ #16707]
6828         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6829         implementation.
6830         * math/libm-test.inc (round_test_data): Add more tests.
6831
6832         [BZ #16706]
6833         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6834         implementation.
6835         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6836
6837         [BZ #16701]
6838         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6839         implementation.
6840         * math/libm-test.inc (ceil_test_data): Add more tests.
6841
6842         * math/libm-test.inc (trunc_test_data): Add more tests related to
6843         BZ#16414.
6844
6845 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6846
6847         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6848         with #if rather than #ifdef.
6849         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6850
6851 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6852
6853         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6854         first.  Disable AVX-512 GCC support if assembler doesn't support
6855         it.
6856         * sysdeps/x86_64/configure: Regenerated.
6857
6858 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6859
6860         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6861         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6862         (__old_pthread_attr_setstack): Likewise.
6863         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6864         [!_STACK_GROWS_DOWN]: Likewise.
6865
6866 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6867
6868         * config.make.in (have-bash2): Delete.
6869         * configure.ac (libc_cv_have_bash2): Delete.
6870         * configure: Regenerate.
6871         * elf/Makefile (common-ldd-rewrite): Rename to ...
6872         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6873         (sh-ldd-rewrite): Delete.
6874         (bash-ldd-rewrite): Delete.
6875         (have-bash2): Delete checks.
6876         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6877         ldd-rewrite.
6878
6879         * config.make.in (have-ksh): Delete.
6880         (KSH): Delete.
6881         * configure.ac (libc_cv_have_ksh): Delete.
6882         * configure: Regenerate.
6883
6884         * elf/Makefile: Delete $(have-ksh) check.
6885         ($(objpfx)sotruss): Change KSH to BASH.
6886         * elf/sotruss.ksh: Rename to ...
6887         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6888         function style to match POSIX.  Drop ksh vim mode setting.
6889
6890         * manual/time.texi (Specifying the Time Zone with TZ): Change
6891         Tuesday to Thursday.
6892
6893         * debug/tst-longjmp_chk2.c: Update header comment.
6894         (stackoverflow_handler): Add comment.  Call assert on pass value.
6895
6896 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6897
6898         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6899         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6900         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6901         (La_x86_64_vector): Add zmm.
6902         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6903         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6904         ($(objpfx)tst-audit10): New target.
6905         ($(objpfx)tst-audit10.out): Likewise.
6906         (tst-audit10-ENV): New.
6907         (AVX512-CFLAGS): Likewise.
6908         (CFLAGS-tst-audit10.c): Likewise.
6909         (CFLAGS-tst-auditmod10a.c): Likewise.
6910         (CFLAGS-tst-auditmod10b.c): Likewise.
6911         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6912         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6913         * sysdeps/x86_64/configure: Regenerated.
6914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6915         AVX-512 zmm register support.
6916         (_dl_x86_64_save_sse): Likewise.
6917         (_dl_x86_64_restore_sse): Likewise.
6918         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6919         size vector registers.
6920         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6921         (ZMM_SIZE): Likewise.
6922         * sysdeps/x86_64/tst-audit10.c: New file.
6923         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6924         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6925
6926 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6927
6928         * configure.ac (HAVE_EHDR_START): New check.
6929         * configure: Regenerated.
6930         * config.h.in (HAVE_EHDR_START): New #undef.
6931         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6932         assuming the lowest-addressed segment maps the start of the file.
6933
6934 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6935
6936         * INSTALL: Regenerated.
6937
6938 2014-03-13  Will Newton  <will.newton@linaro.org>
6939
6940         * manual/setjmp.texi (System V contexts): Improve
6941         clarity and grammar of documentation.
6942
6943 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6944
6945         [BZ #16381]
6946         * elf/Makefile (tests): Add tst-pie2.
6947         (tests-pie): Add tst-pie2.
6948         * elf/tst-pie2.c: New file.
6949         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6950         for ET_EXEC.
6951         * elf/rtld.c (map_doit): Load executable as lt_executable.
6952         (dl_main): Likewise.
6953
6954 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6955
6956         [BZ #16642]
6957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6958         (__ASSUME_PSELECT): Undefine.
6959
6960 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6961
6962         [BZ #16689]
6963         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6964         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6965         static build.
6966         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6967         selector for static builds.
6968
6969 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6970
6971         [BZ #16695]
6972         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6973         key in the buffer.
6974
6975 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6976
6977         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6978         IFUNC selector for static builds.
6979
6980 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6981
6982         * sysdeps/mips/math_private.h [__mips_hard_float]
6983         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6984         libc_feresetround_mips_ctx.
6985         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6986         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6987         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6988
6989         [BZ #16677]
6990         * math/s_nextafter.c (__nextafter): Do not return value from
6991         overflowing computation.
6992         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6993         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6994         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6995         Likewise.
6996         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6997         Likewise.
6998         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6999         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7000
7001 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7002
7003         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7004         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7005         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7006         the new mov targetting sp.
7007
7008 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7009
7010         [BZ #16683]
7011         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7012         Define it for static builds as well.
7013         (NO_BZERO_IMPL): Likewise.
7014
7015 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7016
7017         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7018         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7019         multiarch strspn for PPC64.
7020         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7021         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7023         (__libc_ifunc_impl_list): Likewise.
7024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7025         multiarch optimizations
7026         * string/strspn.c (strspn): Using macro to redefine symbol name.
7027
7028 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7029             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7030
7031         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7032         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7033         multiarch strncat for PPC64.
7034         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7035         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7037         (__libc_ifunc_impl_list): Likewise.
7038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7039         multiarch optimizations
7040
7041 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7042
7043         [BZ #16639]
7044         * nscd/nscd.service: Make service type forking.
7045
7046 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7047
7048         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7049         sign in non default rounding modes.
7050         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7051
7052 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7053
7054         * math/libm-test.inc (ALL_RM_TEST): New macro.
7055         (ceil_test): Use ALL_RM_TEST.
7056         (cimag_test): Likewise.
7057         (conj_test): Likewise.
7058         (copysign_test): Likewise.
7059         (cproj_test): Likewise.
7060         (creal_test): Likewise.
7061         (fabs_test): Likewise.
7062         (floor_test): Likewise.
7063         (fmax_test): Likewise.
7064         (fmin_test): Likewise.
7065         (fmod_test): Likewise.
7066         (fpclassify_test): Likewise.
7067         (frexp_test): Likewise.
7068         (ilogb_test): Likewise.
7069         (isfinite_test): Likewise.
7070         (finite_test): Likewise.
7071         (isgreater_test): Likewise.
7072         (isgreaterequal_test): Likewise.
7073         (isinf_test): Likewise.
7074         (isless_test): Likewise.
7075         (islessequal_test): Likewise.
7076         (islessgreater_test): Likewise.
7077         (isnan_test): Likewise.
7078         (isnormal_test): Likewise.
7079         (issignaling_test): Likewise.
7080         (isunordered_test): Likewise.
7081         (logb_test): Likewise.
7082         (logb_downward_test_data): Remove.
7083         (logb_test_downward): Likewise.
7084         (lround_test): Use ALL_RM_TEST.
7085         (llround_test): Likewise.
7086         (modf_test): Likewise.
7087         (nexttoward_test): Likewise.
7088         (remainder_test): Likewise.
7089         (drem_test): Likewise.
7090         (remainder_tonearest_test_data): Likewise.
7091         (remainder_test_tonearest): Likewise.
7092         (drem_test_tonearest): Likewise.
7093         (remainder_towardzero_test_data): Likewise.
7094         (remainder_test_towardzero): Likewise.
7095         (drem_test_towardzero): Likewise.
7096         (remainder_downward_test_data): Likewise.
7097         (remainder_test_downward): Likewise.
7098         (drem_test_downward): Likewise.
7099         (remainder_upward_test_data): Likewise.
7100         (remainder_test_upward): Likewise.
7101         (drem_test_upward): Likewise.
7102         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7103         (round_test): Use ALL_RM_TEST.
7104         (signbit_test): Likewise.
7105         (trunc_test): Likewise.
7106         (significand_test): Likewise.
7107         (main): Don't call removed functions.
7108
7109 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7110
7111         [BZ #16674]
7112         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7113         || __USE_XOPEN2K8].
7114         (ILL_ILLOPN): Likewise.
7115         (ILL_ILLADR): Likewise.
7116         (ILL_ILLTRP): Likewise.
7117         (ILL_PRVOPC): Likewise.
7118         (ILL_PRVREG): Likewise.
7119         (ILL_COPROC): Likewise.
7120         (ILL_BADSTK): Likewise.
7121         (FPE_INTDIV): Likewise.
7122         (FPE_INTOVF): Likewise.
7123         (FPE_FLTDIV): Likewise.
7124         (FPE_FLTOVF): Likewise.
7125         (FPE_FLTUND): Likewise.
7126         (FPE_FLTRES): Likewise.
7127         (FPE_FLTINV): Likewise.
7128         (FPE_FLTSUB): Likewise.
7129         (SEGV_MAPERR): Likewise.
7130         (SEGV_ACCERR): Likewise.
7131         (BUS_ADRALN): Likewise.
7132         (BUS_ADRERR): Likewise.
7133         (BUS_OBJERR): Likewise.
7134         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7135         (TRAP_TRACE): Likewise.
7136         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7137         __USE_XOPEN2K8].
7138         (CLD_KILLED): Likewise.
7139         (CLD_DUMPED): Likewise.
7140         (CLD_TRAPPED): Likewise.
7141         (CLD_STOPPED): Likewise.
7142         (CLD_CONTINUED): Likewise.
7143         (POLL_IN): Likewise.
7144         (POLL_OUT): Likewise.
7145         (POLL_MSG): Likewise.
7146         (POLL_ERR): Likewise.
7147         (POLL_PRI): Likewise.
7148         (POLL_HUP): Likewise.
7149         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7150         Likewise.
7151         (ILL_ILLOPN): Likewise.
7152         (ILL_ILLADR): Likewise.
7153         (ILL_ILLTRP): Likewise.
7154         (ILL_PRVOPC): Likewise.
7155         (ILL_PRVREG): Likewise.
7156         (ILL_COPROC): Likewise.
7157         (ILL_BADSTK): Likewise.
7158         (FPE_INTDIV): Likewise.
7159         (FPE_INTOVF): Likewise.
7160         (FPE_FLTDIV): Likewise.
7161         (FPE_FLTOVF): Likewise.
7162         (FPE_FLTUND): Likewise.
7163         (FPE_FLTRES): Likewise.
7164         (FPE_FLTINV): Likewise.
7165         (FPE_FLTSUB): Likewise.
7166         (SEGV_MAPERR): Likewise.
7167         (SEGV_ACCERR): Likewise.
7168         (BUS_ADRALN): Likewise.
7169         (BUS_ADRERR): Likewise.
7170         (BUS_OBJERR): Likewise.
7171         (BUS_MCEERR_AR): Likewise.
7172         (BUS_MCEERR_AO): Likewise.
7173         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7174         (TRAP_TRACE): Likewise.
7175         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7176         __USE_XOPEN2K8].
7177         (CLD_KILLED): Likewise.
7178         (CLD_DUMPED): Likewise.
7179         (CLD_TRAPPED): Likewise.
7180         (CLD_STOPPED): Likewise.
7181         (CLD_CONTINUED): Likewise.
7182         (POLL_IN): Likewise.
7183         (POLL_OUT): Likewise.
7184         (POLL_MSG): Likewise.
7185         (POLL_ERR): Likewise.
7186         (POLL_PRI): Likewise.
7187         (POLL_HUP): Likewise.
7188         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7189         (ILL_ILLOPN): Likewise.
7190         (ILL_ILLADR): Likewise.
7191         (ILL_ILLTRP): Likewise.
7192         (ILL_PRVOPC): Likewise.
7193         (ILL_PRVREG): Likewise.
7194         (ILL_COPROC): Likewise.
7195         (ILL_BADSTK): Likewise.
7196         (FPE_INTDIV): Likewise.
7197         (FPE_INTOVF): Likewise.
7198         (FPE_FLTDIV): Likewise.
7199         (FPE_FLTOVF): Likewise.
7200         (FPE_FLTUND): Likewise.
7201         (FPE_FLTRES): Likewise.
7202         (FPE_FLTINV): Likewise.
7203         (FPE_FLTSUB): Likewise.
7204         (SEGV_MAPERR): Likewise.
7205         (SEGV_ACCERR): Likewise.
7206         (BUS_ADRALN): Likewise.
7207         (BUS_ADRERR): Likewise.
7208         (BUS_OBJERR): Likewise.
7209         (BUS_MCEERR_AR): Likewise.
7210         (BUS_MCEERR_AO): Likewise.
7211         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7212         (TRAP_TRACE): Likewise.
7213         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7214         __USE_XOPEN2K8].
7215         (CLD_KILLED): Likewise.
7216         (CLD_DUMPED): Likewise.
7217         (CLD_TRAPPED): Likewise.
7218         (CLD_STOPPED): Likewise.
7219         (CLD_CONTINUED): Likewise.
7220         (POLL_IN): Likewise.
7221         (POLL_OUT): Likewise.
7222         (POLL_MSG): Likewise.
7223         (POLL_ERR): Likewise.
7224         (POLL_PRI): Likewise.
7225         (POLL_HUP): Likewise.
7226         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7227         Likewise.
7228         (ILL_ILLOPN): Likewise.
7229         (ILL_ILLADR): Likewise.
7230         (ILL_ILLTRP): Likewise.
7231         (ILL_PRVOPC): Likewise.
7232         (ILL_PRVREG): Likewise.
7233         (ILL_COPROC): Likewise.
7234         (ILL_BADSTK): Likewise.
7235         (ILL_BADIADDR): Likewise.
7236         (ILL_BREAK): Likewise.
7237         (FPE_INTDIV): Likewise.
7238         (FPE_INTOVF): Likewise.
7239         (FPE_FLTDIV): Likewise.
7240         (FPE_FLTOVF): Likewise.
7241         (FPE_FLTUND): Likewise.
7242         (FPE_FLTRES): Likewise.
7243         (FPE_FLTINV): Likewise.
7244         (FPE_FLTSUB): Likewise.
7245         (FPE_DECOVF): Likewise.
7246         (FPE_DECDIV): Likewise.
7247         (FPE_DECERR): Likewise.
7248         (FPE_INVASC): Likewise.
7249         (FPE_INVDEC): Likewise.
7250         (SEGV_MAPERR): Likewise.
7251         (SEGV_ACCERR): Likewise.
7252         (SEGV_PSTKOVF): Likewise.
7253         (BUS_ADRALN): Likewise.
7254         (BUS_ADRERR): Likewise.
7255         (BUS_OBJERR): Likewise.
7256         (BUS_MCEERR_AR): Likewise.
7257         (BUS_MCEERR_AO): Likewise.
7258         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7259         (TRAP_TRACE): Likewise.
7260         (TRAP_BRANCH): Likewise.
7261         (TRAP_HWBKPT): Likewise.
7262         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7263         __USE_XOPEN2K8].
7264         (CLD_KILLED): Likewise.
7265         (CLD_DUMPED): Likewise.
7266         (CLD_TRAPPED): Likewise.
7267         (CLD_STOPPED): Likewise.
7268         (CLD_CONTINUED): Likewise.
7269         (POLL_IN): Likewise.
7270         (POLL_OUT): Likewise.
7271         (POLL_MSG): Likewise.
7272         (POLL_ERR): Likewise.
7273         (POLL_PRI): Likewise.
7274         (POLL_HUP): Likewise.
7275         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7276         (ILL_ILLOPN): Likewise.
7277         (ILL_ILLADR): Likewise.
7278         (ILL_ILLTRP): Likewise.
7279         (ILL_PRVOPC): Likewise.
7280         (ILL_PRVREG): Likewise.
7281         (ILL_COPROC): Likewise.
7282         (ILL_BADSTK): Likewise.
7283         (FPE_INTDIV): Likewise.
7284         (FPE_INTOVF): Likewise.
7285         (FPE_FLTDIV): Likewise.
7286         (FPE_FLTOVF): Likewise.
7287         (FPE_FLTUND): Likewise.
7288         (FPE_FLTRES): Likewise.
7289         (FPE_FLTINV): Likewise.
7290         (FPE_FLTSUB): Likewise.
7291         (SEGV_MAPERR): Likewise.
7292         (SEGV_ACCERR): Likewise.
7293         (BUS_ADRALN): Likewise.
7294         (BUS_ADRERR): Likewise.
7295         (BUS_OBJERR): Likewise.
7296         (BUS_MCEERR_AR): Likewise.
7297         (BUS_MCEERR_AO): Likewise.
7298         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7299         (TRAP_TRACE): Likewise.
7300         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7301         __USE_XOPEN2K8].
7302         (CLD_KILLED): Likewise.
7303         (CLD_DUMPED): Likewise.
7304         (CLD_TRAPPED): Likewise.
7305         (CLD_STOPPED): Likewise.
7306         (CLD_CONTINUED): Likewise.
7307         (POLL_IN): Likewise.
7308         (POLL_OUT): Likewise.
7309         (POLL_MSG): Likewise.
7310         (POLL_ERR): Likewise.
7311         (POLL_PRI): Likewise.
7312         (POLL_HUP): Likewise.
7313         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7314         (ILL_ILLOPN): Likewise.
7315         (ILL_ILLADR): Likewise.
7316         (ILL_ILLTRP): Likewise.
7317         (ILL_PRVOPC): Likewise.
7318         (ILL_PRVREG): Likewise.
7319         (ILL_COPROC): Likewise.
7320         (ILL_BADSTK): Likewise.
7321         (FPE_INTDIV): Likewise.
7322         (FPE_INTOVF): Likewise.
7323         (FPE_FLTDIV): Likewise.
7324         (FPE_FLTOVF): Likewise.
7325         (FPE_FLTUND): Likewise.
7326         (FPE_FLTRES): Likewise.
7327         (FPE_FLTINV): Likewise.
7328         (FPE_FLTSUB): Likewise.
7329         (SEGV_MAPERR): Likewise.
7330         (SEGV_ACCERR): Likewise.
7331         (BUS_ADRALN): Likewise.
7332         (BUS_ADRERR): Likewise.
7333         (BUS_OBJERR): Likewise.
7334         (BUS_MCEERR_AR): Likewise.
7335         (BUS_MCEERR_AO): Likewise.
7336         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7337         (TRAP_TRACE): Likewise.
7338         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7339         __USE_XOPEN2K8].
7340         (CLD_KILLED): Likewise.
7341         (CLD_DUMPED): Likewise.
7342         (CLD_TRAPPED): Likewise.
7343         (CLD_STOPPED): Likewise.
7344         (CLD_CONTINUED): Likewise.
7345         (POLL_IN): Likewise.
7346         (POLL_OUT): Likewise.
7347         (POLL_MSG): Likewise.
7348         (POLL_ERR): Likewise.
7349         (POLL_PRI): Likewise.
7350         (POLL_HUP): Likewise.
7351         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7352         (ILL_ILLOPN): Likewise.
7353         (ILL_ILLADR): Likewise.
7354         (ILL_ILLTRP): Likewise.
7355         (ILL_PRVOPC): Likewise.
7356         (ILL_PRVREG): Likewise.
7357         (ILL_COPROC): Likewise.
7358         (ILL_BADSTK): Likewise.
7359         (FPE_INTDIV): Likewise.
7360         (FPE_INTOVF): Likewise.
7361         (FPE_FLTDIV): Likewise.
7362         (FPE_FLTOVF): Likewise.
7363         (FPE_FLTUND): Likewise.
7364         (FPE_FLTRES): Likewise.
7365         (FPE_FLTINV): Likewise.
7366         (FPE_FLTSUB): Likewise.
7367         (SEGV_MAPERR): Likewise.
7368         (SEGV_ACCERR): Likewise.
7369         (BUS_ADRALN): Likewise.
7370         (BUS_ADRERR): Likewise.
7371         (BUS_OBJERR): Likewise.
7372         (BUS_MCEERR_AR): Likewise.
7373         (BUS_MCEERR_AO): Likewise.
7374         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7375         (TRAP_TRACE): Likewise.
7376         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7377         __USE_XOPEN2K8].
7378         (CLD_KILLED): Likewise.
7379         (CLD_DUMPED): Likewise.
7380         (CLD_TRAPPED): Likewise.
7381         (CLD_STOPPED): Likewise.
7382         (CLD_CONTINUED): Likewise.
7383         (POLL_IN): Likewise.
7384         (POLL_OUT): Likewise.
7385         (POLL_MSG): Likewise.
7386         (POLL_ERR): Likewise.
7387         (POLL_PRI): Likewise.
7388         (POLL_HUP): Likewise.
7389         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7390         (ILL_ILLOPN): Likewise.
7391         (ILL_ILLADR): Likewise.
7392         (ILL_ILLTRP): Likewise.
7393         (ILL_PRVOPC): Likewise.
7394         (ILL_PRVREG): Likewise.
7395         (ILL_COPROC): Likewise.
7396         (ILL_BADSTK): Likewise.
7397         (ILL_DBLFLT): Likewise.
7398         (ILL_HARDWALL): Likewise.
7399         (FPE_INTDIV): Likewise.
7400         (FPE_INTOVF): Likewise.
7401         (FPE_FLTDIV): Likewise.
7402         (FPE_FLTOVF): Likewise.
7403         (FPE_FLTUND): Likewise.
7404         (FPE_FLTRES): Likewise.
7405         (FPE_FLTINV): Likewise.
7406         (FPE_FLTSUB): Likewise.
7407         (SEGV_MAPERR): Likewise.
7408         (SEGV_ACCERR): Likewise.
7409         (BUS_ADRALN): Likewise.
7410         (BUS_ADRERR): Likewise.
7411         (BUS_OBJERR): Likewise.
7412         (BUS_MCEERR_AR): Likewise.
7413         (BUS_MCEERR_AO): Likewise.
7414         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7415         (TRAP_TRACE): Likewise.
7416         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7417         __USE_XOPEN2K8].
7418         (CLD_KILLED): Likewise.
7419         (CLD_DUMPED): Likewise.
7420         (CLD_TRAPPED): Likewise.
7421         (CLD_STOPPED): Likewise.
7422         (CLD_CONTINUED): Likewise.
7423         (POLL_IN): Likewise.
7424         (POLL_OUT): Likewise.
7425         (POLL_MSG): Likewise.
7426         (POLL_ERR): Likewise.
7427         (POLL_PRI): Likewise.
7428         (POLL_HUP): Likewise.
7429         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7430         (ILL_ILLOPN): Likewise.
7431         (ILL_ILLADR): Likewise.
7432         (ILL_ILLTRP): Likewise.
7433         (ILL_PRVOPC): Likewise.
7434         (ILL_PRVREG): Likewise.
7435         (ILL_COPROC): Likewise.
7436         (ILL_BADSTK): Likewise.
7437         (FPE_INTDIV): Likewise.
7438         (FPE_INTOVF): Likewise.
7439         (FPE_FLTDIV): Likewise.
7440         (FPE_FLTOVF): Likewise.
7441         (FPE_FLTUND): Likewise.
7442         (FPE_FLTRES): Likewise.
7443         (FPE_FLTINV): Likewise.
7444         (FPE_FLTSUB): Likewise.
7445         (SEGV_MAPERR): Likewise.
7446         (SEGV_ACCERR): Likewise.
7447         (BUS_ADRALN): Likewise.
7448         (BUS_ADRERR): Likewise.
7449         (BUS_OBJERR): Likewise.
7450         (BUS_MCEERR_AR): Likewise.
7451         (BUS_MCEERR_AO): Likewise.
7452         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7453         (TRAP_TRACE): Likewise.
7454         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7455         __USE_XOPEN2K8].
7456         (CLD_KILLED): Likewise.
7457         (CLD_DUMPED): Likewise.
7458         (CLD_TRAPPED): Likewise.
7459         (CLD_STOPPED): Likewise.
7460         (CLD_CONTINUED): Likewise.
7461         (POLL_IN): Likewise.
7462         (POLL_OUT): Likewise.
7463         (POLL_MSG): Likewise.
7464         (POLL_ERR): Likewise.
7465         (POLL_PRI): Likewise.
7466         (POLL_HUP): Likewise.
7467         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7468         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7469
7470         [BZ #16670]
7471         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7472         before #include of <time.h>.
7473         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7474         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7475         (test-xfail-UNIX98/sched.h/conform): Likewise.
7476
7477 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7478
7479         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7480         error absence of trapping exception support.
7481         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7482
7483 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7484
7485         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7486         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7487         * timezone/Makefile (testdata): Move definition above include of
7488         Rules.
7489         (test-zones): New variable.
7490         (tests-special): Add zone files.
7491         (build-testdata): Use $(evaluate-test).
7492
7493         * elf/Makefile (tests-special): Rename tests to end with .out.
7494         ($(objpfx)noload-mem): Likewise.
7495         ($(objpfx)tst-leaks1-mem): Likewise.
7496         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7497         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7498         $(objpfx)test-iconvconfig.out.
7499         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7500         set -e inside subshell and redirect output to file.
7501         * iconvdata/Makefile (generated): Rename tests to end with .out.
7502         Correct type.
7503         (tests-special): Rename tests to end with .out.
7504         ($(objpfx)mtrace-tst-loading): Likewise.
7505         * intl/Makefile (generated): Likewise.
7506         (tests-special): Likewise.
7507         ($(objpfx)mtrace-tst-gettext): Likewise.
7508         * misc/Makefile (generated): Likewise.
7509         (tests-special): Likewise.
7510         ($(objpfx)tst-error1-mem): Likewise.
7511         * nptl/Makefile (tests-special): Likewise.
7512         ($(objpfx)tst-stack3-mem): Likewise.
7513         (generated): Likewise.
7514         * posix/Makefile (generated): Likewise.
7515         (tests-special): Likewise.
7516         (xtests-special): Likewise.
7517         ($(objpfx)tst-fnmatch-mem): Likewise.
7518         ($(objpfx)bug-regex2-mem): Likewise.
7519         ($(objpfx)bug-regex14-mem): Likewise.
7520         ($(objpfx)bug-regex21-mem): Likewise.
7521         ($(objpfx)bug-regex31-mem): Likewise.
7522         ($(objpfx)tst-vfork3-mem): Likewise.
7523         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7524         ($(objpfx)tst-pcre-mem): Likewise.
7525         ($(objpfx)tst-boost-mem): Likewise.
7526         ($(objpfx)bug-ga2-mem): Likewise.
7527         ($(objpfx)bug-glob2-mem): Likewise.
7528         * resolv/Makefile (generate): Likewise.
7529         (tests-special): Likewise.
7530         (xtests-special): Likewise.
7531         (generated): Likewise.
7532         ($(objpfx)mtrace-tst-leaks): Likewise.
7533         ($(objpfx)mtrace-tst-leaks2): Likewise.
7534
7535         * scripts/merge-test-results.sh: New file.
7536         * Makefile (tests-special-notdir): New variable.
7537         (tests): Run merge-test-results.sh.
7538         (xtests): Likewise.
7539         * Rules (tests-special-notdir): New variable.
7540         (xtests-special-notdir): Likewise.
7541         (tests): Run merge-test-results.sh
7542         (xtests): Likewise.
7543
7544         * Makeconfig (test-xfail-name): New variable.
7545         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7546         compute variable name for expected failures.
7547         * conform/Makefile (conformtest-headers-data): New variable.
7548         (conformtest-standards): Likewise.
7549         (conformtest-headers-ISO): Likewise.
7550         (conformtest-headers-ISO99): Likewise.
7551         (conformtest-headers-ISO11): Likewise.
7552         (conformtest-headers-POSIX): Likewise.
7553         (conformtest-headers-XPG3): Likewise.
7554         (conformtest-headers-XPG4): Likewise.
7555         (conformtest-headers-UNIX98): Likewise.
7556         (conformtest-headers-XOPEN2K): Likewise.
7557         (conformtest-headers-POSIX2008): Likewise.
7558         (conformtest-headers-XOPEN2K8): Likewise.
7559         (conformtest-header-list-base): Likewise.
7560         (conformtest-header-list-tests): Likewise.
7561         (conformtest-header-base): Likewise.
7562         (conformtest-header-tests): Likewise.
7563         (tests-special): Add $(conformtest-header-list-tests).  If
7564         [$(fast-check) && !$(cross-compiling)], add
7565         $(conformtest-header-tests) instead of
7566         $(objpfx)run-conformtest.out.
7567         (generated): Add $(conformtest-header-list-base).  If
7568         [$(fast-check) && !$(cross-compiling)], add
7569         $(conformtest-header-base).  Remove previous setting.
7570         ($(conformtest-header-list-tests)): New target.
7571         (test-xfail-run-conformtest): Remove variable.
7572         ($(objpfx)run-conformtest.out): Remove target.
7573         (test-xfail-ISO11/complex.h/conform): New variable.
7574         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7575         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7576         (test-xfail-XPG3/varargs.h/conform): Likewise.
7577         (test-xfail-XPG4/varargs.h/conform): Likewise.
7578         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7579         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7580         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7581         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7582         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7583         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7584         (test-xfail-XPG3/ftw.h/conform): Likewise.
7585         (test-xfail-XPG3/grp.h/conform): Likewise.
7586         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7587         (test-xfail-XPG3/limits.h/conform): Likewise.
7588         (test-xfail-XPG3/pwd.h/conform): Likewise.
7589         (test-xfail-XPG3/search.h/conform): Likewise.
7590         (test-xfail-XPG3/signal.h/conform): Likewise.
7591         (test-xfail-XPG3/stdio.h/conform): Likewise.
7592         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7593         (test-xfail-XPG3/string.h/conform): Likewise.
7594         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7595         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7596         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7597         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7598         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7599         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7600         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7601         (test-xfail-XPG3/termios.h/conform): Likewise.
7602         (test-xfail-XPG3/time.h/conform): Likewise.
7603         (test-xfail-XPG3/unistd.h/conform): Likewise.
7604         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7605         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7606         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7607         (test-xfail-XPG4/netdb.h/conform): Likewise.
7608         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7609         (test-xfail-XPG4/signal.h/conform): Likewise.
7610         (test-xfail-XPG4/stdio.h/conform): Likewise.
7611         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7612         (test-xfail-XPG4/stropts.h/conform): Likewise.
7613         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7614         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7615         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7616         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7617         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7618         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7619         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7620         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7621         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7622         (test-xfail-XPG4/termios.h/conform): Likewise.
7623         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7624         (test-xfail-XPG4/unistd.h/conform): Likewise.
7625         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7626         (test-xfail-POSIX/sched.h/conform): Likewise.
7627         (test-xfail-POSIX/signal.h/conform): Likewise.
7628         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7629         (test-xfail-POSIX/tar.h/conform): Likewise.
7630         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7631         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7632         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7633         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7634         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7635         (test-xfail-UNIX98/sched.h/conform): Likewise.
7636         (test-xfail-UNIX98/signal.h/conform): Likewise.
7637         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7638         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7639         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7640         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7641         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7642         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7643         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7644         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7645         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7646         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7647         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7648         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7649         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7650         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7651         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7652         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7653         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7654         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7655         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7656         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7657         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7658         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7659         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7660         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7661         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7662         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7663         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7664         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7665         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7666         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7667         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7668         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7669         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7670         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7671         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7672         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7673         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7674         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7675         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7676         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7677         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7678         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7679         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7680         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7681         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7682         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7683         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7684         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7685         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7686         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7687         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7688         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7689         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7690         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7691         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7692         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7693         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7694         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7695         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7696         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7697         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7698         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7699         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7700         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7701         (conformtest-cc-flags): Likewise.
7702         ($(conformtest-header-tests): New target.
7703         * conform/check-header-lists.sh: New file.
7704         * conform/run-conformtest.sh: Remove.
7705
7706         * conform/conformtest.pl: Allow ' and \ in values given for
7707         constants.
7708         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7709         inclusion.
7710         [POSIX] (sys/types.h): Likewise.
7711         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7712         inclusion.
7713         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7714         inclusion.
7715         * conform/data/signal.h-data (SIGIO): Remove expectation.
7716         [XPG3] (SIGBUS): Do not expect.
7717         [POSIX || XPG3] (SIGPOLL): Likewise.
7718         [POSIX || XPG3] (SIGPROF): Likewise.
7719         [POSIX || XPG3] (SIGSYS): Likewise.
7720         [XPG3] (SIGTRAP): Likewise.
7721         [POSIX || XPG3] (SIGURG): Likewise.
7722         [POSIX || XPG3] (SIGVTALRM): Likewise.
7723         [POSIX || XPG3] (SIGXCPU): Likewise.
7724         [POSIX || XPG3] (SIGXFSZ): Likewise.
7725         [POSIX] (SA_SIGINFO): Expect.
7726         [XPG3] (siginfo_t): Do not expect type or contents.
7727         [POSIX] (si_pid): Do not expect element.
7728         [POSIX] (si_uid): Likewise.
7729         [POSIX] (si_addr): Likewise.
7730         [POSIX] (si_status): Likewise.
7731         [POSIX] (si_band): Likewise.
7732         [XPG4] (si_value): Likewise.
7733         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7734         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7735         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7736         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7737         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7738         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7739         [POSIX || XPG3] (ILL_COPROC): Likewise.
7740         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7741         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7742         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7743         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7744         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7745         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7746         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7747         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7748         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7749         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7750         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7751         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7752         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7753         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7754         [POSIX || XPG3] (CLD_EXITED): Likewise.
7755         [POSIX || XPG3] (CLD_KILLED): Likewise.
7756         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7757         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7758         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7759         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7760         [POSIX || XPG3] (POLL_IN): Likewise.
7761         [POSIX || XPG3] (POLL_OUT): Likewise.
7762         [POSIX || XPG3] (POLL_MSG): Likewise.
7763         [POSIX || XPG3] (POLL_ERR): Likewise.
7764         [POSIX || XPG3] (POLL_PRI): Likewise.
7765         [POSIX || XPG3] (POLL_HUP): Likewise.
7766         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7767         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7768         (SIG*): Do not allow.
7769         [XPG3] (si_*): Likewise.
7770         [XPG3] (SI_*): Likewise.
7771         [XPG3 || XPG4] (sigev_*): Likewise.
7772         [XPG3 || XPG4] (SIGEV_*): Likewise.
7773         [XPG3 || XPG4] (sival_*): Likewise.
7774         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7775         [POSIX || XPG3] (BUS_*): Likewise.
7776         [POSIX || XPG3] (CLD_*): Likewise.
7777         [POSIX || XPG3] (FPE_*): Likewise.
7778         [POSIX || XPG3] (ILL_*): Likewise.
7779         [POSIX || XPG3] (POLL_*): Likewise.
7780         [POSIX || XPG3] (SEGV_*): Likewise.
7781         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7782         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7783         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7784         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7785         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7786         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7787         Specify type and value.
7788         (TVERSLEN): Likewise.
7789         (REGTYPE): Likewise.
7790         (AREGTYPE): Likewise.
7791         (LNKTYPE): Likewise.
7792         (SYMTYPE): Likewise.
7793         (CHRTYPE): Likewise.
7794         (BLKTYPE): Likewise.
7795         (DIRTYPE): Likewise.
7796         (FIFOTYPE): Likewise.
7797         (CONTTYPE): Likewise.
7798         (TSUID): Likewise.
7799         (TSGID): Likewise.
7800         (TSVTX): Likewise.
7801         (TUREAD): Likewise.
7802         (TUWRITE): Likewise.
7803         (TUEXEC): Likewise.
7804         (TGREAD): Likewise.
7805         (TGWRITE): Likewise.
7806         (TGEXEC): Likewise.
7807         (TOREAD): Likewise.
7808         (TOWRITE): Likewise.
7809         (TOEXEC): Likewise.
7810         [POSIX] (TSVTX): Expect constant.
7811
7812 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7813
7814         * Makefile (tests): Change dependencies to ....
7815         (tests-special): ... additions to this variable.
7816         (tests): Depend on $(tests-special).
7817         * Makerules (check-abi-list): New variable.
7818         (check-abi): Depend on $(check-abi-list).
7819         [$(subdir) = elf] (tests-special): Add
7820         $(objpfx)check-abi-libc.out.
7821         [$(build-shared) = yes && subdir] (tests-special): Add
7822         $(check-abi-list).
7823         [$(build-shared) = yes && subdir] (tests): Do not depend on
7824         check-abi.
7825         * Rules (tests): Depend on $(tests-special).
7826         (xtests): Depend on $(xtests-special).
7827         * catgets/Makefile (tests): Change dependencies to ....
7828         (tests-special): ... additions to this variable.
7829         * conform/Makefile (tests): Change dependencies to ....
7830         (tests-special): ... additions to this variable.
7831         * elf/Makefile (tests): Change dependencies to ....
7832         (tests-special): ... additions to this variable.
7833         * grp/Makefile (tests): Change dependencies to ....
7834         (tests-special): ... additions to this variable.
7835         * iconv/Makefile (xtests): Change dependencies to ....
7836         (xtests-special): ... additions to this variable.
7837         * iconvdata/Makefile (tests): Change dependencies to ....
7838         (tests-special): ... additions to this variable.
7839         * intl/Makefile (tests): Change dependencies to ....
7840         (tests-special): ... additions to this variable.  Also add
7841         $(objpfx)tst-gettext.out.
7842         * io/Makefile (tests): Change dependencies to ....
7843         (tests-special): ... additions to this variable.
7844         * libio/Makefile (tests): Change dependencies to ....
7845         (tests-special): ... additions to this variable.
7846         * malloc/Makefile (tests): Change dependencies to ....
7847         (tests-special): ... additions to this variable.
7848         * misc/Makefile (tests): Change dependencies to ....
7849         (tests-special): ... additions to this variable.
7850         * nptl/Makefile (tests): Change dependencies to ....
7851         (tests-special): ... additions to this variable.
7852         * nptl_db/Makefile (tests): Change dependencies to ....
7853         (tests-special): ... additions to this variable.
7854         * posix/Makefile (tests): Change dependencies to ....
7855         (tests-special): ... additions to this variable.
7856         (xtests): Change dependencies to ....
7857         (xtests-special): ... additions to this variable.
7858         * resolv/Makefile (tests): Change dependencies to ....
7859         (tests-special): ... additions to this variable.
7860         (xtests): Change dependencies to ....
7861         (xtests-special): ... additions to this variable.
7862         * stdio-common/Makefile (tests): Change dependencies to ....
7863         (tests-special): ... additions to this variable.
7864         (do-tst-unbputc): Remove target.
7865         (do-tst-printf): Likewise.
7866         * stdlib/Makefile (tests): Change dependencies to ....
7867         (tests-special): ... additions to this variable.
7868         * string/Makefile (tests): Change dependencies to ....
7869         (tests-special): ... additions to this variable.
7870         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7871         (tests-special): ... additions to this variable.
7872
7873         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7874         whole file.
7875         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7876         whole file.
7877         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7878         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7879
7880         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7881         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7882         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7883         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7884         * conform/data/libgen.h-data [XPG3]: Likewise.
7885         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7886         * conform/data/ndbm.h-data [XPG3]: Likewise.
7887         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7888         * conform/data/netdb.h-data [XPG3]: Likewise.
7889         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7890         * conform/data/poll.h-data [XPG3]: Likewise.
7891         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7892         * conform/data/strings.h-data [XPG3]: Likewise.
7893         * conform/data/stropts.h-data [XPG3]: Likewise.
7894         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7895         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7896         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7897         Likewise.
7898         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7899         * conform/data/sys/time.h-data [XPG3]: Likewise.
7900         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7901         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7902         * conform/data/sys/un.h-data [XPG3]: Likewise.
7903         * conform/data/syslog.h-data [XPG3]: Likewise.
7904         * conform/data/ucontext.h-data [XPG3]: Likewise.
7905         * conform/data/utmpx.h-data [XPG3]: Likewise.
7906         * conform/data/varargs.h-data [UNIX98]: Enable file.
7907
7908         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7909
7910         * math/libm-test.inc (struct test_f_f_data): Move expected results
7911         into structure for each rounding mode.
7912         (struct test_ff_f_data): Likewise.
7913         (struct test_ff_f_data_nexttoward): Likewise.
7914         (struct test_fi_f_data): Likewise.
7915         (struct test_fl_f_data): Likewise.
7916         (struct test_if_f_data): Likewise.
7917         (struct test_fff_f_data): Likewise.
7918         (struct test_c_f_data): Likewise.
7919         (struct test_f_f1_data): Likewise.
7920         (struct test_fF_f1_data): Likewise.
7921         (struct test_ffI_f1_data): Likewise.
7922         (struct test_c_c_data): Likewise.
7923         (struct test_cc_c_data): Likewise.
7924         (struct test_f_i_data): Likewise.
7925         (struct test_ff_i_data): Likewise.
7926         (struct test_f_l_data): Likewise.
7927         (struct test_f_L_data): Likewise.
7928         (struct test_fFF_11_data): Likewise.
7929         (RM_): New macro.
7930         (RM_FE_DOWNWARD): Likewise.
7931         (RM_FE_TONEAREST): Likewise.
7932         (RM_FE_TOWARDZERO): Likewise.
7933         (RM_FE_UPWARD): Likewise.
7934         (RUN_TEST_LOOP_f_f): Update references to expected results.
7935         (RUN_TEST_LOOP_2_f): Likewise.
7936         (RUN_TEST_LOOP_fff_f): Likewise.
7937         (RUN_TEST_LOOP_c_f): Likewise.
7938         (RUN_TEST_LOOP_f_f1): Likewise.
7939         (RUN_TEST_LOOP_fF_f1): Likewise.
7940         (RUN_TEST_LOOP_fI_f1): Likewise.
7941         (RUN_TEST_LOOP_ffI_f1): Likewise.
7942         (RUN_TEST_LOOP_c_c): Likewise.
7943         (RUN_TEST_LOOP_cc_c): Likewise.
7944         (RUN_TEST_LOOP_f_i): Likewise.
7945         (RUN_TEST_LOOP_f_i_tg): Likewise.
7946         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7947         (RUN_TEST_LOOP_f_b): Likewise.
7948         (RUN_TEST_LOOP_f_b_tg): Likewise.
7949         (RUN_TEST_LOOP_f_l): Likewise.
7950         (RUN_TEST_LOOP_f_L): Likewise.
7951         (RUN_TEST_LOOP_fFF_11): Likewise.
7952         * math/gen-libm-test.pl (parse_args): Output four copies of
7953         expected results for each test.
7954
7955         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7956         (__ASSUME_UTIMES): Remove.
7957         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7958         (__ASSUME_UTIMES): Likewise.
7959
7960         * math/gen-auto-libm-tests.c: Update comment on output format.
7961         (output_for_one_input_case): Generate before-rounding and
7962         after-rounding information as conditions on output flags not
7963         floating-point format.
7964         * math/auto-libm-test-out: Regenerated.
7965         * math/gen-libm-test.pl (cond_value): New function.
7966         (or_cond_value): Use cond_value.
7967         (generate_testfile): Handle conditional exceptions.
7968
7969 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7970
7971         * math/libm-test.inc (max_valid_error): New variable.
7972         (init_max_error): Take new argument specifying whether function
7973         results are exactly determined.  Set max_valid_error and bound
7974         other variables for errors based on this argument.
7975         (set_max_error): Do not record results above max_valid_error.
7976         (check_float_internal): Only accept errors of up to 0.5ulps if
7977         also at most max_valid_error.
7978         (START): Take new argument EXACT and pass it to init_max_error.
7979         (acos_test): Update call to START.
7980         (acos_test_tonearest): Likewise.
7981         (acos_test_towardzero): Likewise.
7982         (acos_test_downward): Likewise.
7983         (acos_test_upward): Likewise.
7984         (acosh_test): Likewise.
7985         (asin_test): Likewise.
7986         (asin_test_tonearest): Likewise.
7987         (asin_test_towardzero): Likewise.
7988         (asin_test_downward): Likewise.
7989         (asin_test_upward): Likewise.
7990         (asinh_test): Likewise.
7991         (atan_test): Likewise.
7992         (atanh_test): Likewise.
7993         (atan2_test): Likewise.
7994         (cabs_test): Likewise.
7995         (cacos_test): Likewise.
7996         (cacosh_test): Likewise.
7997         (carg_test): Likewise.
7998         (casin_test): Likewise.
7999         (casinh_test): Likewise.
8000         (catan_test): Likewise.
8001         (catanh_test): Likewise.
8002         (cbrt_test): Likewise.
8003         (ccos_test): Likewise.
8004         (ccosh_test): Likewise.
8005         (ceil_test): Likewise.
8006         (cexp_test): Likewise.
8007         (cimag_test): Likewise.
8008         (clog_test): Likewise.
8009         (clog10_test): Likewise.
8010         (conj_test): Likewise.
8011         (copysign_test): Likewise.
8012         (cos_test): Likewise.
8013         (cos_test_tonearest): Likewise.
8014         (cos_test_towardzero): Likewise.
8015         (cos_test_downward): Likewise.
8016         (cos_test_upward): Likewise.
8017         (cosh_test): Likewise.
8018         (cosh_test_tonearest): Likewise.
8019         (cosh_test_towardzero): Likewise.
8020         (cosh_test_downward): Likewise.
8021         (cosh_test_upward): Likewise.
8022         (cpow_test): Likewise.
8023         (cproj_test): Likewise.
8024         (creal_test): Likewise.
8025         (csin_test): Likewise.
8026         (csinh_test): Likewise.
8027         (csqrt_test): Likewise.
8028         (ctan_test): Likewise.
8029         (ctan_test_tonearest): Likewise.
8030         (ctan_test_towardzero): Likewise.
8031         (ctan_test_downward): Likewise.
8032         (ctan_test_upward): Likewise.
8033         (ctanh_test): Likewise.
8034         (ctanh_test_tonearest): Likewise.
8035         (ctanh_test_towardzero): Likewise.
8036         (ctanh_test_downward): Likewise.
8037         (ctanh_test_upward): Likewise.
8038         (erf_test): Likewise.
8039         (erfc_test): Likewise.
8040         (exp_test): Likewise.
8041         (exp_test_tonearest): Likewise.
8042         (exp_test_towardzero): Likewise.
8043         (exp_test_downward): Likewise.
8044         (exp_test_upward): Likewise.
8045         (exp10_test): Likewise.
8046         (exp10_test_tonearest): Likewise.
8047         (exp10_test_towardzero): Likewise.
8048         (exp10_test_downward): Likewise.
8049         (exp10_test_upward): Likewise.
8050         (pow10_test): Likewise.
8051         (exp2_test): Likewise.
8052         (expm1_test): Likewise.
8053         (expm1_test_tonearest): Likewise.
8054         (expm1_test_towardzero): Likewise.
8055         (expm1_test_downward): Likewise.
8056         (expm1_test_upward): Likewise.
8057         (fabs_test): Likewise.
8058         (fdim_test): Likewise.
8059         (floor_test): Likewise.
8060         (fma_test): Likewise.
8061         (fma_test_towardzero): Likewise.
8062         (fma_test_downward): Likewise.
8063         (fma_test_upward): Likewise.
8064         (fmax_test): Likewise.
8065         (fmin_test): Likewise.
8066         (fmod_test): Likewise.
8067         (fpclassify_test): Likewise.
8068         (frexp_test): Likewise.
8069         (hypot_test): Likewise.
8070         (ilogb_test): Likewise.
8071         (isfinite_test): Likewise.
8072         (finite_test): Likewise.
8073         (isgreater_test): Likewise.
8074         (isgreaterequal_test): Likewise.
8075         (isinf_test): Likewise.
8076         (isless_test): Likewise.
8077         (islessequal_test): Likewise.
8078         (islessgreater_test): Likewise.
8079         (isnan_test): Likewise.
8080         (isnormal_test): Likewise.
8081         (issignaling_test): Likewise.
8082         (isunordered_test): Likewise.
8083         (j0_test): Likewise.
8084         (j1_test): Likewise.
8085         (jn_test): Likewise.
8086         (ldexp_test): Likewise.
8087         (lgamma_test): Likewise.
8088         (gamma_test): Likewise.
8089         (lrint_test): Likewise.
8090         (lrint_test_tonearest): Likewise.
8091         (lrint_test_towardzero): Likewise.
8092         (lrint_test_downward): Likewise.
8093         (lrint_test_upward): Likewise.
8094         (llrint_test): Likewise.
8095         (llrint_test_tonearest): Likewise.
8096         (llrint_test_towardzero): Likewise.
8097         (llrint_test_downward): Likewise.
8098         (llrint_test_upward): Likewise.
8099         (log_test): Likewise.
8100         (log10_test): Likewise.
8101         (log1p_test): Likewise.
8102         (log2_test): Likewise.
8103         (logb_test): Likewise.
8104         (logb_test_downward): Likewise.
8105         (lround_test): Likewise.
8106         (llround_test): Likewise.
8107         (modf_test): Likewise.
8108         (nearbyint_test): Likewise.
8109         (nextafter_test): Likewise.
8110         (nexttoward_test): Likewise.
8111         (pow_test): Likewise.
8112         (pow_test_tonearest): Likewise.
8113         (pow_test_towardzero): Likewise.
8114         (pow_test_downward): Likewise.
8115         (pow_test_upward): Likewise.
8116         (remainder_test): Likewise.
8117         (drem_test): Likewise.
8118         (remainder_test_tonearest): Likewise.
8119         (drem_test_tonearest): Likewise.
8120         (remainder_test_towardzero): Likewise.
8121         (drem_test_towardzero): Likewise.
8122         (remainder_test_downward): Likewise.
8123         (drem_test_downward): Likewise.
8124         (remainder_test_upward): Likewise.
8125         (drem_test_upward): Likewise.
8126         (remquo_test): Likewise.
8127         (rint_test): Likewise.
8128         (rint_test_tonearest): Likewise.
8129         (rint_test_towardzero): Likewise.
8130         (rint_test_downward): Likewise.
8131         (rint_test_upward): Likewise.
8132         (round_test): Likewise.
8133         (scalb_test): Likewise.
8134         (scalbn_test): Likewise.
8135         (scalbln_test): Likewise.
8136         (signbit_test): Likewise.
8137         (sin_test): Likewise.
8138         (sin_test_tonearest): Likewise.
8139         (sin_test_towardzero): Likewise.
8140         (sin_test_downward): Likewise.
8141         (sin_test_upward): Likewise.
8142         (sincos_test): Likewise.
8143         (sinh_test): Likewise.
8144         (sinh_test_tonearest): Likewise.
8145         (sinh_test_towardzero): Likewise.
8146         (sinh_test_downward): Likewise.
8147         (sinh_test_upward): Likewise.
8148         (sqrt_test): Likewise.
8149         (sqrt_test_tonearest): Likewise.
8150         (sqrt_test_towardzero): Likewise.
8151         (sqrt_test_downward): Likewise.
8152         (sqrt_test_upward): Likewise.
8153         (tan_test): Likewise.
8154         (tan_test_tonearest): Likewise.
8155         (tan_test_towardzero): Likewise.
8156         (tan_test_downward): Likewise.
8157         (tan_test_upward): Likewise.
8158         (tanh_test): Likewise.
8159         (tgamma_test): Likewise.
8160         (trunc_test): Likewise.
8161         (y0_test): Likewise.
8162         (y1_test): Likewise.
8163         (yn_test): Likewise.
8164         (significand_test): Likewise.
8165
8166         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8167         individual tests in comment.
8168         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8169         (prev_max_error): New variable.
8170         (prev_real_max_error): Likewise.
8171         (prev_imag_max_error): Likewise.
8172         (compare_ulp_data): Don't refer to test names in comment.
8173         (find_test_ulps): Remove function.
8174         (find_function_ulps): Likewise.
8175         (find_complex_function_ulps): Likewise.
8176         (init_max_error): Take function name as argument.  Look up ulps
8177         for that function.
8178         (print_ulps): Remove function.
8179         (print_max_error): Use prev_max_error instead of calling
8180         find_function_ulps.
8181         (print_complex_max_error): Use prev_real_max_error and
8182         prev_imag_max_error instead of calling find_complex_function_ulps.
8183         (check_float_internal): Take max_ulp parameter instead of calling
8184         find_test_ulps.  Don't call print_ulps.
8185         (check_float): Update call to check_float_internal.
8186         (check_complex): Update calls to check_float_internal.
8187         (START): Pass argument to init_max_error.
8188         * math/gen-libm-test.pl (%results): Don't include "kind"
8189         information.
8190         (parse_ulps): Don't handle ulps of individual tests.
8191         (print_ulps_file): Likewise.
8192         (output_ulps): Likewise.
8193         * math/README.libm-test: Update.
8194         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8195         individual tests.
8196         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8197         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8198         * sysdeps/arm/libm-test-ulps: Likewise.
8199         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8200         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8201         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8202         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8203         * sysdeps/microblaze/libm-test-ulps: Likewise.
8204         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8205         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8206         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8207         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8208         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8209         * sysdeps/sh/libm-test-ulps: Likewise.
8210         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8211         * sysdeps/tile/libm-test-ulps: Likewise.
8212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8213
8214 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8215
8216         * math/libm-test.inc (print_complex_max_error): Check separately
8217         whether real and imaginary errors are within allowed range and
8218         pass 0 to print_complex_function_ulps instead of value within
8219         allowed range.
8220
8221 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8222
8223         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8224         formatting.
8225         (get_handles_fopen): Likewise.
8226         (do_write_test): Likewise.
8227
8228         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8229
8230         * libio/fileops.c (do_ftell): Use cached offset when
8231         available.
8232         * libio/iofwide.c (do_ftell_wide): Likewise.
8233         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8234         _IO_file_attach.
8235         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8236
8237         [BZ #16532]
8238         * libio/libioP.h (get_file_offset): New function.
8239         * libio/fileops.c (get_file_offset): Likewise.
8240         (do_ftell): Likewise.
8241         (_IO_new_file_seekoff): Split out ftell logic.
8242         * libio/wfileops.c (do_ftell_wide): Likewise.
8243         (_IO_wfile_seekoff): Split out ftell logic.
8244         * libio/tst-ftell-active-handler.c: New test case.
8245         * libio/Makefile (tests): Add it.
8246
8247 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8248
8249         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8250         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8251
8252 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8253
8254         [BZ #16639]
8255         * nscd/connections.c (nscd_init): Call do_exit.
8256         (start_threads): Call do_exit and notify_parent.
8257         (begin_drop_privileges): Call do_exit.
8258         (finish_drop_privileges): Likewise.
8259         * nscd/selinux.c (preserve_capabilities): Likewise.
8260         (install_real_capabilities): Likewise.
8261         (nscd_selinux_enabled): Likewise.
8262         (avc_create_thread): Likewise.
8263         (avc_alloc_lock): Likewise.
8264         (nscd_avc_init): Likewise.
8265         * nscd/nscd.c (parent_fd): New static variable.
8266         (main): Create a pipe between parent and child processes.
8267         Skip closing parent_fd.
8268         (monitor_child): New function.
8269         (do_exit): Likewise.
8270         (notify_parent): Likewise.
8271         * nscd/nscd.h (notify_parent): Likewise.
8272         (do_exit): Likewise.
8273
8274 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8275
8276         * malloc/malloc.c (__libc_calloc): Revert last change.
8277
8278 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8279
8280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8281
8282 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8283
8284         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8286         implementation.
8287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8288         (__libc_ifunc_impl_list): Likewise.
8289         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8290         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8291         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8292         * string/strrchr.c: Define STRRCHR.
8293
8294 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8295
8296         * benchtest/bench-strtok.c (simple_strtok): Delete.
8297         (strtok_string): Use as benchmark.
8298         * string/strtok (STRTOK): New macro.
8299
8300 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8301
8302         * manual/threads.texi: Add header and standard comments to all
8303         functions.
8304
8305         * elf/dl-lookup.c (check_match): New function.
8306         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8307         (do_lookup_x): Remove nested function check_match. Use non-nested
8308         function check_match.
8309
8310 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8311
8312         * csu/Makefile (generated, before-compile): Use += rather than =.
8313         * catgets/Makefile (generated, generated-dirs): Likewise.
8314         * debug/Makefile (generated): Likewise.
8315         * dlfcn/Makefile (generated): Likewise.
8316         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8317         * iconvdata/Makefile (before-compile, generated): Likewise.
8318         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8319         * libio/Makefile (generated): Likewise.
8320         * malloc/Makefile (generated): Likewise.
8321         * manual/Makefile (generated, generated-dirs): Likewise.
8322         * misc/Makefile (generated): Likewise.
8323         * posix/Makefile (generated): Likewise.
8324         * resolv/Makefile (generated): Likewise.
8325         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8326         * timezone/Makefile (generated, generated-dirs): Likewise.
8327
8328         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8329
8330 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8331
8332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8333         power8 implementation.
8334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8335         file: POWER8 llround ifunc implementation.
8336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8337         (__lllround): Add POWER8 implementation.
8338         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8339         POWER8 llround implementation.
8340
8341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8342         power8 implementation.
8343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8344         file: POWER8 llrint ifunc implementation.
8345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8346         Add POWER8 implementation.
8347         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8348         POWER8 llrint implementation.
8349
8350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8351         power8 implementation.
8352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8353         file: POWER8 finite ifunc implementation.
8354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8355         Add POWER8 implementation.
8356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8357         Likewise.
8358         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8359         POWER8 finite implementation.
8360         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8361
8362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8363         power8 implementation.
8364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8365         file: POWER8 isinf ifunc implementation.
8366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8367         POWER8 implementation.
8368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8369         Likewise.
8370         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8371         isinf implementation.
8372         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8373
8374         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8375         (INIT_ARCH): Add hwcap2 initialization.
8376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8377         power8 implementation.
8378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8379         file: POWER8 isnan ifunc implementation.
8380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8381         POWER8 implementation.
8382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8383         Likewise.
8384         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8385         isnan implementation.
8386         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8387
8388 2014-02-27  Joey Ye  <joey.ye@arm.com>
8389
8390         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8391         (_FP_NANFRAC_Q): Set to zero.
8392
8393 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8394
8395         [BZ #16623]
8396         * math/auto-libm-test-in: New test inputs.
8397         * math/auto-libm-test-out: Regenerate.
8398         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8399         and DA.
8400         (__cos): Likewise.
8401         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8402
8403 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8404
8405         * scripts/evaluate-test.sh: Take new argument indicating whether
8406         failure is expected.
8407         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8408         indicating whether failure is expected.
8409         * conform/Makefile (test-xfail-run-conformtest): New variable.
8410         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8411         level.
8412         * posix/Makefile (test-xfail-annexc): New variable.
8413         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8414
8415 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8416
8417         * argp/Makefile: Include Makeconfig immediately after defining
8418         subdir.
8419         * assert/Makefile: Likewise.
8420         * benchtests/Makefile: Likewise.
8421         * catgets/Makefile: Likewise.
8422         * conform/Makefile: Likewise.
8423         * crypt/Makefile: Likewise.
8424         * csu/Makefile: Likewise.
8425         (all): Remove target.
8426         * ctype/Makefile: Include Makeconfig immediately after defining
8427         subdir.
8428         * debug/Makefile: Likewise.
8429         * dirent/Makefile: Likewise.
8430         * dlfcn/Makefile: Likewise.
8431         * gmon/Makefile: Likewise.
8432         * gnulib/Makefile: Likewise.
8433         * grp/Makefile: Likewise.
8434         * gshadow/Makefile: Likewise.
8435         * hesiod/Makefile: Likewise.
8436         * hurd/Makefile: Likewise.
8437         (all): Remove target.
8438         * iconvdata/Makefile: Include Makeconfig immediately after
8439         defining subdir.
8440         * inet/Makefile: Likewise.
8441         * intl/Makefile: Likewise.
8442         * io/Makefile: Likewise.
8443         * libio/Makefile: Likewise.
8444         (all): Remove target.
8445         * locale/Makefile: Include Makeconfig immediately after defining
8446         subdir.
8447         * login/Makefile: Likewise.
8448         * mach/Makefile: Likewise.
8449         (all): Remove target.
8450         * malloc/Makefile: Include Makeconfig immediately after defining
8451         subdir.
8452         (all): Remove target.
8453         * manual/Makefile: Include Makeconfig immediately after defining
8454         subdir.
8455         * math/Makefile: Likewise.
8456         * misc/Makefile: Likewise.
8457         * nis/Makefile: Likewise.
8458         * nss/Makefile: Likewise.
8459         * po/Makefile: Likewise.
8460         (all): Remove target.
8461         * posix/Makefile: Include Makeconfig immediately after defining
8462         subdir.
8463         * pwd/Makefile: Likewise.
8464         * resolv/Makefile: Likewise.
8465         * resource/Makefile: Likewise.
8466         * rt/Makefile: Likewise.
8467         * setjmp/Makefile: Likewise.
8468         * shadow/Makefile: Likewise.
8469         * signal/Makefile: Likewise.
8470         * socket/Makefile: Likewise.
8471         * soft-fp/Makefile: Likewise.
8472         * stdio-common/Makefile: Likewise.
8473         * stdlib/Makefile: Likewise.
8474         * streams/Makefile: Likewise.
8475         * string/Makefile: Likewise.
8476         * sunrpc/Makefile: Likewise.
8477         (all): Remove target.
8478         * sysvipc/Makefile: Include Makeconfig immediately after defining
8479         subdir.
8480         * termios/Makefile: Likewise.
8481         * time/Makefile: Likewise.
8482         * timezone/Makefile: Likewise.
8483         (all): Remove target.
8484         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8485         subdir.
8486         * wctype/Makefile: Likewise.
8487
8488 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8489
8490         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8491         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8492         (libc_feholdexcept_setround_mips): Ditto.
8493         (libc_feholdsetround): New.
8494         (libc_feholdsetroundf): New.
8495         (libc_feholdsetroundl): New.
8496         (libc_feupdateenv_test_mips): New.
8497         (libc_feupdateenv_test): New.
8498         (libc_feupdateenv_testf): New.
8499         (libc_feupdateenv_testl): New.
8500         (libc_feresetround): New.
8501         (libc_feresetroundf): New.
8502         (libc_feresetroundl): New.
8503         (libc_fetestexcept_mips): New.
8504         (libc_fetestexcept): New.
8505         (libc_fetestexceptf): New.
8506         (libc_fetestexceptl): New.
8507         (HAVE_RM_CTX): New.
8508         (libc_feholdexcept_setround_mips_ctx): New.
8509         (libc_feholdexcept_setround_ctx): New.
8510         (libc_feholdexcept_setroundf_ctx): New.
8511         (libc_feholdexcept_setroundl_ctx): New.
8512         (libc_fesetenv_mips_ctx): New.
8513         (libc_fesetenv_ctx): New.
8514         (libc_fesetenv_ctxf): New.
8515         (libc_fesetenv_ctxl): New.
8516         (libc_feupdateenv_mips_ctx): New.
8517         (libc_feupdateenv_ctx): New.
8518         (libc_feupdateenvf_ctx): New.
8519         (libc_feupdateenvl_ctx): New.
8520         (libc_feholdsetround_mips_ctx): New.
8521         (libc_feholdsetround_ctx): New.
8522         (libc_feholdsetroundf_ctx): New.
8523         (libc_feholdsetroundl_ctx): New.
8524         (libc_feresetround_mips_ctx): New.
8525         (libc_feresetround_ctx): New.
8526         (libc_feresetroundf_ctx): New.
8527         (libc_feresetroundl_ctx): New.
8528
8529 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8530
8531         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8532
8533         * manual/ipc.texi: New file.
8534         * manual/Makefile (chapters): Add ipc.
8535         * manual/job.texi: Add "Inter-Process Communication" to next.
8536         * manual/process.texi: Add "Inter-Process Communication" to prev.
8537
8538 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8539
8540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8541
8542 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8543
8544         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8545
8546         * manual/arith.texi: Fix spaces after sentences.
8547         * manual/charset.texi: Likewise.
8548         * manual/errno.texi: Likewise.
8549         * manual/install.texi: Likewise.
8550         * manual/llio.texi: Likewise.
8551         * manual/locale.texi: Likewise.
8552         * manual/maint.texi: Likewise.
8553         * manual/math.texi: Likewise.
8554         * manual/memory.texi: Likewise.
8555         * manual/message.texi: Likewise.
8556         * manual/probes.texi: Likewise.
8557         * manual/resource.texi: Likewise.
8558         * manual/signal.texi: Likewise.
8559         * manual/socket.texi: Likewise.
8560         * manual/stdio.texi: Likewise.
8561         * manual/string.texi: Likewise.
8562         * manual/time.texi: Likewise.
8563         * manual/users.texi: Likewise.
8564
8565 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8566
8567         [BZ #16632]
8568         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8569         _DEFAULT_SOURCE is defined.
8570
8571 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8572             Carlos O'Donell  <carlos@redhat.com>
8573
8574         [BZ #16613]
8575         * elf/dl-tls.c (_dl_count_modids): New function.
8576         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8577         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8578         audit library and increment generation counter.
8579         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8580         * elf/tst-audit9.c: New file.
8581         * elf/tst-auditmod9a.c: New file.
8582         * elf/tst-auditmod9b.c: New file.
8583         * elf/Makefile: Add rules to build and run tst-audit9.
8584
8585 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8586
8587         [BZ #15347]
8588         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8589
8590 2014-02-25  Will Newton  <will.newton@linaro.org>
8591
8592         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8593         (__longjmp): Restore sp and lr before restoring callee
8594         saved registers.  Add longjmp and longjmp_target
8595         SystemTap probe point.
8596         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8597         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8598         Define to zero to match jmpbuf layout.
8599         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8600         (__sigsetjmp): Save sp and lr before saving callee
8601         saved registers.  Add setjmp SystemTap probe point.
8602
8603 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8604
8605         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8606
8607 2014-02-24  Andreas Schwab  <schwab@suse.de>
8608
8609         [BZ #15804]
8610         * elf/pldd.c (wait_for_ptrace_stop): New function.
8611         (main): Call it after attaching.
8612
8613 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8614
8615         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8616         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8617         Versions files is now verboten.
8618         * hurd/Versions (libc: GLIBC_2.0):
8619         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8620         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8621         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8622         * mach/Versions: Likewise.
8623
8624         * csu/Versions: Remove unused %include.
8625         * resolv/Versions: Likewise.
8626
8627 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8628
8629         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8630         ($(objpfx)check-local-headers.out): Likewise.
8631         ($(objpfx)begin-end-check.out): Likewise.
8632         * Makerules (check-abi-%.out): Likewise.
8633         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8634         ($(objpfx)test2.cat): Likewise.
8635         ($(objpfx)de/libc.cat): Likewise.
8636         ($(objpfx)test-gencat.out): Likewise.
8637         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8638         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8639         ($(objpfx)noload-mem): Likewise.
8640         ($(objpfx)tst-pathopt.out): Likewise.
8641         ($(objpfx)tst-rtld-load-self.out): Likewise.
8642         ($(objpfx)tst-array1-cmp.out): Likewise.
8643         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8644         ($(objpfx)tst-array2-cmp.out): Likewise.
8645         ($(objpfx)tst-array3-cmp.out): Likewise.
8646         ($(objpfx)tst-array4-cmp.out): Likewise.
8647         ($(objpfx)tst-array5-cmp.out): Likewise.
8648         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8649         ($(objpfx)check-textrel.out): Likewise.
8650         ($(objpfx)check-execstack.out): Likewise.
8651         ($(objpfx)check-localplt.out): Likewise.
8652         ($(objpfx)order2-cmp.out): Likewise.
8653         ($(objpfx)tst-leaks1-mem): Likewise.
8654         ($(objpfx)tst-leaks1-static-mem): Likewise.
8655         ($(objpfx)tst-initorder-cmp.out): Likewise.
8656         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8657         ($(objpfx)tst-unused-dep.out): Likewise.
8658         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8659         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8660         * iconv/Makefile (test-iconvconfig): Likewise.
8661         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8662         ($(objpfx)iconv-test.out): Likewise.
8663         ($(objpfx)tst-tables.out): Likewise.
8664         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8665         ($(objpfx)tst-gettext.out): Likewise.
8666         ($(objpfx)tst-translit.out): Likewise.
8667         ($(objpfx)tst-gettext2.out): Likewise.
8668         ($(objpfx)tst-gettext4.out): Likewise.
8669         ($(objpfx)tst-gettext6.out): Likewise.
8670         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8671         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8672         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8673         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8674         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8675         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8676         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8677         ($(objpfx)wordexp-tst.out): Likewise.
8678         ($(objpfx)annexc.out): Likewise.
8679         ($(objpfx)tst-fnmatch-mem): Likewise.
8680         ($(objpfx)bug-regex2-mem): Likewise.
8681         ($(objpfx)bug-regex14-mem): Likewise.
8682         ($(objpfx)bug-regex21-mem): Likewise.
8683         ($(objpfx)bug-regex31-mem): Likewise.
8684         ($(objpfx)tst-vfork3-mem): Likewise.
8685         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8686         ($(objpfx)tst-pcre-mem): Likewise.
8687         ($(objpfx)tst-boost-mem): Likewise.
8688         ($(objpfx)tst-getconf.out): Likewise.
8689         ($(objpfx)bug-ga2-mem): Likewise.
8690         ($(objpfx)bug-glob2-mem): Likewise.
8691         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8692         ($(objpfx)mtrace-tst-leaks2): Likewise.
8693         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8694         ($(objpfx)tst-printf.out): Likewise.
8695         ($(objpfx)tst-setvbuf1.out): Likewise.
8696         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8697         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8698         ($(objpfx)tst-fmtmsg.out): Likewise.
8699         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8700         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8701
8702         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8703         * bits/sigaction.h [__USE_MISC]: Likewise.
8704         * bits/waitstatus.h: Update #endif comments.
8705         * ctype/ctype.h: Likewise.
8706         * dirent/dirent.h: Likewise.
8707         [__USE_MISC]: Remove redundant conditionals.
8708         * grp/grp.h: Update #endif comments.
8709         [__USE_GNU]: Remove redundant conditionals.
8710         [__USE_MISC]: Likewise.
8711         * inet/netinet/in.h [__USE_GNU]: Likewise.
8712         * io/sys/stat.h [__USE_MISC]: Likewise.
8713         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8714         * libio/bits/stdio.h: Update #endif comments.
8715         [__USE_MISC]: Remove redundant conditionals.
8716         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8717         * libio/stdio.h: Update #endif comments.
8718         [__USE_MISC]: Remove redundant conditionals.
8719         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8720         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8721         * math/math.h: Update #else and #endif comments.
8722         [__USE_MISC]: Remove redundant conditionals.
8723         * misc/sys/uio.h: Update #endif comments.
8724         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8725         * posix/glob.h [__USE_MISC]: Likewise.
8726         * posix/sys/types.h: Update #endif comments.
8727         [__USE_MISC]: Remove redundant conditionals.
8728         * posix/sys/wait.h: Update #endif comments.
8729         [__USE_MISC]: Remove redundant conditionals.
8730         * posix/unistd.h: Update #endif comments.
8731         [__USE_MISC]: Remove redundant conditionals.
8732         * pwd/pwd.h [__USE_GNU]: Likewise.
8733         [__USE_MISC]: Likewise.
8734         * resolv/netdb.h [__USE_GNU]: Likewise.
8735         * signal/signal.h: Update #endif comments.
8736         [__USE_MISC]: Remove redundant conditionals.
8737         * stdlib/stdlib.h: Update #else and #endif comments.
8738         [__USE_MISC]: Remove redundant conditionals.
8739         [__USE_GNU]: Likewise.
8740         * string/bits/string2.h [__USE_MISC]: Likewise.
8741         * string/string.h: Update #endif comments.
8742         [__USE_MISC]: Remove redundant conditionals.
8743         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8744         Likewise.
8745         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8746         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8747         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8748         Likewise.
8749         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8750         Likewise.
8751         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8752         comments.
8753         [__USE_MISC]: Remove redundant conditionals.
8754         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8755         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8756         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8757         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8758         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8759         Likewise.
8760         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8761         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8762         Likewise.
8763         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8764         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8765         Likewise.
8766         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8767         Likewise.
8768         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8769         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8770         Likewise.
8771         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8772         Likewise.
8773         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8774         * sysdeps/x86/bits/string.h: Update #endif comments.
8775         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8776         conditionals.
8777         * time/sys/time.h: Update #endif comments.
8778         * time/time.h: Likewise.
8779         [__USE_MISC]: Remove redundant conditionals.
8780
8781 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8782
8783         [BZ #16600]
8784         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8785
8786 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8787
8788         * Versions.def (librt): Add GLIBC_2.17.
8789
8790 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8791
8792         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8793         synonym for _SYS_AUXV_H to allow direct inclusion.
8794         * sysdeps/sparc/bits/hwcap.h: Likewise.
8795         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8796         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8797         * sysdeps/sparc/sysdep.h: Likewise.
8798
8799 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8800
8801         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8802
8803 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8804
8805         * benchtests/bench-strrchr.c: Print length instead of position.
8806
8807 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8808
8809         [BZ #16611]
8810         * sysdeps/unix/sysv/linux/kernel-features.h
8811         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8812         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8813         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8814         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8815         Likewise.
8816         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8817         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8818         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8819         (__ASSUME_SENDMMSG): Define instead of using previous
8820         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8821         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8822         (__ASSUME_SENDMMSG_SYSCALL): Define.
8823         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8824         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8825         Likewise.
8826         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8827         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8828         Likewise.
8829         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8830         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8831         Likewise.
8832         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8833         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8834         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8835         [__ASSUME_SENDMMSG]: Change conditionals to
8836         [__ASSUME_SENDMMSG_SOCKETCALL].
8837         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8838         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8839         Define.
8840         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8841         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8842         Likewise.
8843         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8844         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8845         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8846         [!__ASSUME_SENDMMSG]: Change conditional to
8847         [!__ASSUME_SENDMMSG_SOCKETCALL].
8848         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8849         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8850         Define.
8851
8852         [BZ #16610]
8853         * sysdeps/unix/sysv/linux/kernel-features.h
8854         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8855         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8856         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8857         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8858         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8859         [__i386__ || __sparc__]
8860         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8861         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8862         (__ASSUME_RECVMMSG): Define instead of using previous
8863         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8864         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8865         (__ASSUME_RECVMMSG_SYSCALL): Define.
8866         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8867         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8868         Likewise.
8869         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8870         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8871         Likewise.
8872         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8873         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8874         Likewise.
8875         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8876         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8877         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8878         [__ASSUME_RECVMMSG]: Change condition to
8879         [__ASSUME_RECVMMSG_SOCKETCALL].
8880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8881         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8882         Define.
8883         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8884         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8885         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8886         Likewise.
8887         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8888         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8889         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8890         [!__ASSUME_RECVMMSG]: Change condition to
8891         [!__ASSUME_RECVMMSG_SOCKETCALL].
8892         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8893         (__ASSUME_RECVMMSG_SYSCALL): Define.
8894
8895         [BZ #16609]
8896         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8897         __powerpc__ || __s390__ || __sh__ || __sparc__]
8898         (__ASSUME_SOCKETCALL): Define.
8899         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8900         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8901         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8902         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8903         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8904         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8905         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8906         (__ASSUME_ACCEPT4): Define instead of using previous
8907         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8908         __powerpc__ || __sparc__ || __s390__)] condition.
8909         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8910         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8911         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8912         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8913         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8914         [!__ASSUME_ACCEPT4]: Change condition to
8915         [!__ASSUME_ACCEPT4_SOCKETCALL].
8916         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8917         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8918         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8919         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8920         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8921         __ASSUME_ACCEPT4_SYSCALL.
8922         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8923         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8924         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8925         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8926         __ASSUME_ACCEPT4_SYSCALL.
8927         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8928         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8929         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8930         [__ASSUME_ACCEPT4]: Change condition to
8931         [__ASSUME_ACCEPT4_SOCKETCALL].
8932         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8933         (__ASSUME_SOCKETCALL): Define.
8934         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8935         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8936         (__ASSUME_SOCKETCALL): Define.
8937         (__ASSUME_ACCEPT4): Remove.
8938         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8939         Define.
8940         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8941         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8942         Likewise.
8943         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8944         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8945
8946         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8947         macro.
8948         (HWCAP_ARM_LPAE): Likewise.
8949         (HWCAP_ARM_EVTSTRM): Likewise.
8950         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8951         Add vpfd32, lpae and evtstrm.
8952         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8953         Increase to 22.
8954
8955 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8956
8957         * math/auto-libm-test-in: Add tests of clog10.
8958         * math/auto-libm-test-out: Regenerated.
8959         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8960         * sysdeps/i386/fpu/libm-test-ulps: Update.
8961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8962
8963 2014-02-18  Andreas Schwab  <schwab@suse.de>
8964
8965         [BZ #16574]
8966         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8967         Store non-zero if the second buffer was newly allocated.
8968         (send_dg): Likewise.
8969         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8970         to send_vc and send_dg.
8971         (res_nsend): Pass NULL for ansp2_malloced.
8972         * resolv/res_query.c (__libc_res_nquery): Add parameter
8973         answerp2_malloced and pass it down to __libc_res_nsend.
8974         (res_nquery): Pass additional NULL to __libc_res_nquery.
8975         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8976         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8977         second answer buffer if answerp2_malloced was set.
8978         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8979         (__libc_res_nquerydomain): Add parameter
8980         answerp2_malloced and pass it down to __libc_res_nquery.
8981         (res_nquerydomain): Pass additional NULL to
8982         __libc_res_nquerydomain.
8983         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8984         additional NULL to __libc_res_nsend and __libc_res_nquery.
8985         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8986         additional NULL to __libc_res_nsearch.
8987         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8988         parameter of __libc_res_nsearch to check for separately allocated
8989         second buffer.
8990         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8991         __libc_res_nquery.
8992         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8993         additional NULL to __libc_res_nquery.
8994         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8995         __libc_res_nsearch.
8996         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8997         * include/resolv.h: Update prototypes of __libc_res_nquery,
8998         __libc_res_nsearch, __libc_res_nsend.
8999
9000 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9001
9002         * math/auto-libm-test-in: Add tests of fma.
9003         * math/auto-libm-test-out: Regenerated.
9004         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9005         (fma_towardzero_test_data): Likewise.
9006         (fma_downward_test_data): Likewise.
9007         (fma_upward_test_data): Likewise.
9008         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9009         mpc_mode.
9010         (rounding_modes): Add values for new field.
9011         (func_calc_method): Add value mpfr_fff_f.
9012         (func_calc_desc): Add mpfr_fff_f union field.
9013         (test_function): Add field exact_args.
9014         (FUNC): Add macro argument EXACT_ARGS.
9015         (FUNC_mpfr_f_f): Update call to FUNC.
9016         (FUNC_mpfr_f_f): Likewise.
9017         (FUNC_mpfr_ff_f): Likewise.
9018         (FUNC_mpfr_if_f): Likewise.
9019         (FUNC_mpc_c_f): Likewise.
9020         (FUNC_mpc_c_c): Likewise.
9021         (test_functions): Add fma.  Update calls to FUNC.
9022         (handle_input_arg): Add argument exact_args.
9023         (add_test): Update call to handle_input_arg.
9024         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9025         (output_for_one_input_case): Update call to calc_generic_results.
9026         Recalculate exact zero results in each rounding mode.
9027
9028         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9029         non-negative before setting low bit.
9030         * math/auto-libm-test-in: Mark one asin test possibly having
9031         spurious underflow.
9032         * math/auto-libm-test-out: Regenerated.
9033         * sysdeps/i386/fpu/libm-test-ulps: Update.
9034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9035
9036 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9037
9038         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9039         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9040         ports/sysdeps/unix/sysv/linux/microblaze.
9041         * README: Add missing listing for microblaze*-*-linux-gnu.
9042
9043 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9044
9045         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9046         * sysdeps/unix/sysv/linux/ia64: Move directory from
9047         ports/sysdeps/unix/sysv/linux/ia64.
9048         * README: Update listing for ia64-*-linux-gnu.
9049
9050 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9051             Joseph Myers  <joseph@codesourcery.com>
9052
9053         * Makeconfig (test-name): New variable.
9054         (evaluate-test): Likewise.
9055         * Makerules (do-test-clean): Remove .test-result files.
9056         (common-mostlyclean): Likewise.
9057         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9058         * scripts/evaluate-test.sh: New file.
9059
9060 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9061
9062         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9063         separate $(objpfx)tst-fopenloc-cmp.out and
9064         $(objpfx)tst-fopenloc-mem.out targets.
9065         (tests): Update dependencies.
9066         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9067         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9068         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9069         (tst-rxspencer-no-utf8-ARGS): New variable.
9070         (tst-rxspencer-no-utf8-ENV): Likewise.
9071         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9072         instead of $(objpfx)tst-rxspencer-mem.
9073         ($(objpfx)tst-rxspencer-mem): Change target to
9074         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9075         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9076         * posix/tst-rxspencer-no-utf8.c: New file.
9077
9078         * elf/Makefile ($(objpfx)order.out): Remove rule.
9079         [$(run-built-tests) = yes] (tests): Depend on
9080         $(objpfx)order-cmp.out.
9081         ($(objpfx)order-cmp.out): New rule.
9082         [$(run-built-tests) = yes] (tests): Depend on
9083         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9084         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9085         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9086         $(objpfx)tst-array5-static-cmp.out.
9087         ($(objpfx)tst-array1.out): Remove rule.
9088         ($(objpfx)tst-array1-cmp.out): New rule.
9089         ($(objpfx)tst-array1-static.out): Remove rule.
9090         ($(objpfx)tst-array1-static-cmp.out): New rule.
9091         ($(objpfx)tst-array2.out): Remove rule.
9092         ($(objpfx)tst-array2-cmp.out): New rule.
9093         ($(objpfx)tst-array3.out): Remove rule.
9094         ($(objpfx)tst-array3-cmp.out): New rule.
9095         ($(objpfx)tst-array4.out): Remove rule.
9096         ($(objpfx)tst-array4-cmp.out): New rule.
9097         ($(objpfx)tst-array5.out): Remove rule.
9098         ($(objpfx)tst-array5-cmp.out): New rule.
9099         ($(objpfx)tst-array5-static.out): Remove rule.
9100         ($(objpfx)tst-array5-static-cmp.out): New rule.
9101         [$(run-built-tests) = yes] (tests): Depend on
9102         $(objpfx)order2-cmp.out.
9103         ($(objpfx)order2.out): Remove rule.
9104         ($(objpfx)order2-cmp.out): New rule.
9105         ($(objpfx)tst-initorder.out): Remove rule.
9106         [$(run-built-tests) = yes] (tests): Depend on
9107         $(objpfx)tst-initorder-cmp.out.
9108         ($(objpfx)tst-initorder-cmp.out): New rule.
9109         ($(objpfx)tst-initorder2.out): Remove rule.
9110         [$(run-built-tests) = yes] (tests): Depend on
9111         $(objpfx)tst-initorder2-cmp.out.
9112         ($(objpfx)tst-initorder2-cmp.out): New rule.
9113         [$(run-built-tests) = yes] (tests): Depend on
9114         $(objpfx)tst-unused-dep-cmp.out.
9115         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9116         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9117         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9118         on $(objpfx)tst-setvbuf1-cmp.out.
9119         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9120         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9121         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9122         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9123         ($(objpfx)tst-svc.out): Remove rule.
9124         ($(objpfx)tst-svc-cmp.out): New rule.
9125
9126 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9127
9128         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9129         * ctype/ctype.h [__USE_MISC]: Likewise.
9130         * dirent/dirent.h [__USE_MISC]: Likewise.
9131         * grp/grp.h [__USE_MISC]: Likewise.
9132         * io/fcntl.h [__USE_MISC]: Likewise.
9133         * io/sys/stat.h [__USE_MISC]: Likewise.
9134         * libio/stdio.h [__USE_MISC]: Likewise.
9135         * posix/unistd.h [__USE_MISC]: Likewise.
9136         * pwd/pwd.h [__USE_MISC]: Likewise.
9137         * stdlib.h [__USE_MISC]: Likewise.
9138         * string/bits/string2.h [__USE_MISC]: Likewise.
9139         * string/string.h [__USE_MISC]: Likewise.
9140         * time/time.h [__USE_MISC]: Likewise.
9141
9142 2014-02-13  Andreas Schwab  <schwab@suse.de>
9143
9144         [BZ #16574]
9145         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9146         second answer buffer if it was separately allocated.
9147
9148 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9149
9150         * sysdeps/mips/math-tests.h: Include <features.h>.
9151         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9152         (ROUNDING_TESTS_long_double): Do not define.
9153         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9154         (EXCEPTION_TESTS_long_double): Likewise.
9155         * sysdeps/mips/mips64/libm-test-ulps: Update.
9156
9157         * include/features.h (__USE_BSD): Remove macro definitions.
9158         (__USE_SVID): Likewise.
9159         (_BSD_SOURCE): Likewise.
9160         (_SVID_SOURCE): Likewise.
9161         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9162         from definition of _DEFAULT_SOURCE.
9163         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9164         [_DEFAULT_SOURCE].
9165         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9166         * bits/mman.h [__USE_BSD]: Likewise.
9167         * bits/termios.h [__USE_BSD]: Likewise.
9168         * bits/waitstatus.h [__USE_BSD]: Likewise.
9169         * ctype/ctype.h [__USE_SVID]: Likewise.
9170         * dirent/dirent.h [__USE_BSD]: Likewise.
9171         * grp/grp.h [__USE_SVID]: Likewise.
9172         [__USE_BSD]: Likewise.
9173         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9174         * io/fcntl.h [__USE_BSD]: Likewise.
9175         * io/ftw.h [__USE_BSD]: Likewise.
9176         * io/sys/stat.h [__USE_BSD]: Likewise.
9177         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9178         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9179         * libio/stdio.h [__USE_SVID]: Likewise.
9180         [__USE_BSD]: Likewise.
9181         * math/math.h [__USE_SVID]: Likewise.
9182         [__USE_BSD]: Likewise.
9183         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9184         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9185         * misc/search.h [__USE_SVID]: Likewise.
9186         * misc/sys/mman.h [__USE_BSD]: Likewise.
9187         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9188         * misc/sys/uio.h [__USE_BSD]: Likewise.
9189         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9190         * posix/glob.h [__USE_BSD]: Likewise.
9191         * posix/regex.h [__USE_BSD]: Likewise.
9192         * posix/sys/types.h [__USE_BSD]: Likewise.
9193         [__USE_SVID]: Likewise.
9194         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9195         * posix/sys/wait.h [__USE_BSD]: Likewise.
9196         [__USE_SVID]: Likewise.
9197         * posix/unistd.h [__USE_BSD]: Likewise.
9198         [__USE_SVID]: Likewise.
9199         * pwd/pwd.h [__USE_SVID]: Likewise.
9200         * resolv/netdb.h [__USE_BSD]: Likewise.
9201         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9202         * signal/signal.h [__USE_BSD]: Likewise.
9203         [__USE_SVID]: Likewise.
9204         * socket/sys/socket.h [__USE_BSD]: Likewise.
9205         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9206         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9207         [__USE_SVID]: Likewise.
9208         * string/bits/string2.h [__USE_BSD]: Likewise.
9209         [__USE_SVID]: Likewise.
9210         * string/bits/string3.h [__USE_BSD]: Likewise.
9211         * string/endian.h [__USE_BSD]: Likewise.
9212         * string/string.h [__USE_SVID]: Likewise.
9213         [__USE_BSD]: Likewise.
9214         * string/strings.h [__USE_BSD]: Likewise.
9215         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9216         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9217         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9218         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9219         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9220         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9221         Likewise.
9222         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9223         Likewise.
9224         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9225         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9226         Likewise.
9227         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9228         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9229         Likewise.
9230         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9231         Likewise.
9232         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9233         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9234         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9235         Likewise.
9236         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9237         Likewise.
9238         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9239         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9240         * termios/termios.h [__USE_BSD]: Likewise.
9241         * time/sys/time.h [__USE_BSD]: Likewise.
9242         * time/time.h [__USE_BSD]: Likewise.
9243         [__USE_SVID]: Likewise.
9244
9245         * Makefile (subdir_targets): Remove subdir_lint.out.
9246
9247         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9248         (do-tst-printf): Likewise.
9249         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9250         $(objpfx)tst-printf.out.
9251
9252         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9253
9254         * Makerules (check-abi-%): Change target to
9255         $(objpfx)check-abi-%.out.
9256         (check-abi target): Update dependencies.
9257         (check-abi-pattern variable): Redirect output of diff to $@.
9258         (check-abi variable): Likewise.
9259         * elf/Makefile (check-abi): Update dependencies.
9260
9261         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9262         unused.
9263         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9264         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9265         subnormal range.
9266         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9267         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9268         value has largest subnormal exponent.
9269         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9270         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9271         * sysdeps/aarch64/soft-fp/sfp-machine.h
9272         (_FP_TININESS_AFTER_ROUNDING): New macro.
9273         * sysdeps/alpha/soft-fp/sfp-machine.h
9274         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9275         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9276         Likewise.
9277         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9278         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9279         * sysdeps/mips/soft-fp/sfp-machine.h
9280         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9281         * sysdeps/powerpc/soft-fp/sfp-machine.h
9282         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9283         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9284         Likewise.
9285         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9286         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9287         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9288         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9289         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9290         Likewise.
9291
9292 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9293
9294         [BZ #16545]
9295         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9296         model 1.
9297
9298 2014-02-12  Richard Henderson  <rth@redhat.com>
9299
9300         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9301         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9302         * sysdeps/unix/sysv/linux/alpha: Move directory from
9303         ports/sysdeps/unix/sysv/linux/alpha.
9304         * README: Update listing for alpha-*-linux-gnu.
9305
9306 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9307
9308         * include/features.h: Update comment documenting feature test
9309         macros.
9310         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9311         _DEFAULT_SOURCE.
9312         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9313         (_SVID_SOURCE): Likewise.
9314         (_DEFAULT_SOURCE): Update description of default features.
9315         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9316         with _GNU_SOURCE.
9317         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9318         (S_ISVTX): Likewise.
9319         * manual/math.texi (Mathematical Constants): Likewise.
9320         * manual/signal.texi (Interrupted Primitives): Likewise.
9321         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9322         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9323         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9324         Don't refer to _SVID_SOURCE in warning text.
9325
9326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9327
9328         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9329         already defined.
9330         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9331         * sysdeps/mips/dl-lookup.c: Remove.
9332         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9333
9334 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9335
9336         [BZ #16447]
9337         * math/auto-libm-test-in: Add testcase for expl.
9338         * math/auto-libm-test-out: Regenerate.
9339         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9340         calculation of unsafe.
9341         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9342
9343 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9344
9345         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9346         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9347         ports/sysdeps/unix/sysv/linux/aarch64.
9348         * README: Update listing for aarch64*-*-linux-gnu.
9349
9350 2014-02-11  Will Newton  <will.newton@linaro.org>
9351
9352         * manual/probes.texi (Mathematical Function Probes): Use
9353         "triggered" instead of "hit".
9354
9355         * manual/probes.texi (Internal Probes): Add documentation
9356         of setjmp, longjmp and longjmp_target probes.
9357
9358         * include/stap-probe.h: Add comment about probe argument
9359         format.
9360
9361         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9362         definition.  (tr_where, tr_freehook, tr_mallochook,
9363         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9364
9365 2014-02-11  David S. Miller  <davem@davemloft.net>
9366
9367         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9368         processing int_tests.
9369
9370 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9371
9372         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9373         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9374         * sysdeps/unix/sysv/linux/mips: Move directory from
9375         ports/sysdeps/unix/sysv/linux/mips.
9376         * README: Update listing for mips-*-linux-gnu and
9377         mips64-*-linux-gnu.
9378
9379 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9380
9381         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9382         * sysdeps/unix/sysv/linux/m68k: Move directory from
9383         ports/sysdeps/unix/sysv/linux/m68k.
9384         * README: Update listing for m68k-*-linux-gnu.
9385
9386 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9387
9388         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9389         * sysdeps/unix/sysv/linux/generic: Move directory from
9390         ports/sysdeps/unix/sysv/linux/generic.
9391         * sysdeps/unix/sysv/linux/tile: Move directory from
9392         ports/sysdeps/unix/sysv/linux/tile.
9393         * README: Update listing for tile*-*-linux-gnu.
9394
9395 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9396
9397         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9398         __builtin_expect.
9399         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9400         * catgets/open_catalog.c (__open_catalog): Likewise.
9401         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9402         * debug/confstr_chk.c: Likewise.
9403         * debug/fread_chk.c (__fread_chk): Likewise.
9404         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9405         * debug/getgroups_chk.c: Likewise.
9406         * debug/mbsnrtowcs_chk.c: Likewise.
9407         * debug/mbsrtowcs_chk.c: Likewise.
9408         * debug/mbstowcs_chk.c: Likewise.
9409         * debug/memcpy_chk.c: Likewise.
9410         * debug/memmove_chk.c: Likewise.
9411         * debug/mempcpy_chk.c: Likewise.
9412         * debug/memset_chk.c: Likewise.
9413         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9414         * debug/strcat_chk.c (__strcat_chk): Likewise.
9415         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9416         * debug/strncat_chk.c (__strncat_chk): Likewise.
9417         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9418         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9419         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9420         * debug/wcpncpy_chk.c: Likewise.
9421         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9422         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9423         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9424         * debug/wcsncpy_chk.c: Likewise.
9425         * debug/wcsnrtombs_chk.c: Likewise.
9426         * debug/wcsrtombs_chk.c: Likewise.
9427         * debug/wcstombs_chk.c: Likewise.
9428         * debug/wmemcpy_chk.c: Likewise.
9429         * debug/wmemmove_chk.c: Likewise.
9430         * debug/wmempcpy_chk.c: Likewise.
9431         * debug/wmemset_chk.c: Likewise.
9432         * dirent/scandirat.c (SCANDIRAT): Likewise.
9433         * dlfcn/dladdr1.c (dladdr1): Likewise.
9434         * dlfcn/dladdr.c (dladdr): Likewise.
9435         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9436         * dlfcn/dlerror.c (__dlerror): Likewise.
9437         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9438         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9439         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9440         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9441         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9442         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9443         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9444         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9445         Likewise.
9446         * elf/dl-conflict.c: Likewise.
9447         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9448         * elf/dl-dst.h: Likewise.
9449         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9450         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9451         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9452         * elf/dl-init.c (call_init, _dl_init): Likewise.
9453         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9454         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9455         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9456         Likewise.
9457         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9458         Likewise.
9459         * elf/dl-minimal.c (__libc_memalign): Likewise.
9460         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9461         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9462         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9463         * elf/dl-sym.c (do_sym): Likewise.
9464         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9465         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9466         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9467         * elf/dl-writev.h (_dl_writev): Likewise.
9468         * elf/ldconfig.c (search_dir): Likewise.
9469         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9470         (dl_main): Likewise.
9471         * elf/setup-vdso.h (setup_vdso): Likewise.
9472         * grp/compat-initgroups.c (compat_call): Likewise.
9473         * grp/fgetgrent.c (fgetgrent): Likewise.
9474         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9475         * grp/putgrent.c (putgrent): Likewise.
9476         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9477         Likewise.
9478         * hurd/hurdinit.c: Likewise.
9479         * iconvdata/8bit-gap.c (struct): Likewise.
9480         * iconvdata/ansi_x3.110.c : Likewise.
9481         * iconvdata/big5.c : Likewise.
9482         * iconvdata/big5hkscs.c : Likewise.
9483         * iconvdata/cp1255.c: Likewise.
9484         * iconvdata/cp1258.c : Likewise.
9485         * iconvdata/cp932.c : Likewise.
9486         * iconvdata/euc-cn.c: Likewise.
9487         * iconvdata/euc-jisx0213.c : Likewise.
9488         * iconvdata/euc-jp.c: Likewise.
9489         * iconvdata/euc-jp-ms.c : Likewise.
9490         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9491         * iconvdata/gb18030.c : Likewise.
9492         * iconvdata/gbbig5.c (const): Likewise.
9493         * iconvdata/gbgbk.c: Likewise.
9494         * iconvdata/gbk.c : Likewise.
9495         * iconvdata/ibm1364.c : Likewise.
9496         * iconvdata/ibm930.c : Likewise.
9497         * iconvdata/ibm932.c: Likewise.
9498         * iconvdata/ibm933.c : Likewise.
9499         * iconvdata/ibm935.c : Likewise.
9500         * iconvdata/ibm937.c : Likewise.
9501         * iconvdata/ibm939.c : Likewise.
9502         * iconvdata/ibm943.c: Likewise.
9503         * iconvdata/iso_11548-1.c: Likewise.
9504         * iconvdata/iso-2022-cn.c : Likewise.
9505         * iconvdata/iso-2022-cn-ext.c : Likewise.
9506         * iconvdata/iso-2022-jp-3.c: Likewise.
9507         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9508         * iconvdata/iso-2022-kr.c : Likewise.
9509         * iconvdata/iso646.c (gconv_end): Likewise.
9510         * iconvdata/iso_6937-2.c : Likewise.
9511         * iconvdata/iso_6937.c : Likewise.
9512         * iconvdata/iso8859-1.c: Likewise.
9513         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9514         * iconvdata/shift_jisx0213.c : Likewise.
9515         * iconvdata/sjis.c : Likewise.
9516         * iconvdata/t.61.c : Likewise.
9517         * iconvdata/tcvn5712-1.c : Likewise.
9518         * iconvdata/tscii.c: Likewise.
9519         * iconvdata/uhc.c : Likewise.
9520         * iconvdata/unicode.c (gconv_end): Likewise.
9521         * iconvdata/utf-16.c (gconv_end): Likewise.
9522         * iconvdata/utf-32.c (gconv_end): Likewise.
9523         * iconvdata/utf-7.c (base64): Likewise.
9524         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9525         * iconv/gconv_close.c (__gconv_close): Likewise.
9526         * iconv/gconv_open.c (__gconv_open): Likewise.
9527         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9528         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9529         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9530         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9531         (ucs4le_internal_loop_single): Likewise.
9532         * iconv/iconv.c (iconv): Likewise.
9533         * iconv/iconv_close.c: Likewise.
9534         * iconv/loop.c (SINGLE): Likewise.
9535         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9536         * include/atomic.h: Likewise.
9537         * inet/inet6_option.c (option_alloc): Likewise.
9538         * intl/bindtextdom.c (set_binding_values): Likewise.
9539         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9540         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9541         * intl/localealias.c (read_alias_file): Likewise.
9542         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9543         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9544         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9545         * libio/fmemopen.c (fmemopen): Likewise.
9546         * libio/iofgets.c (_IO_fgets): Likewise.
9547         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9548         * libio/iofgetws.c (fgetws): Likewise.
9549         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9550         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9551         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9552         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9553         * locale/findlocale.c (_nl_find_locale): Likewise.
9554         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9555         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9556         Likewise.
9557         * locale/setlocale.c (setlocale): Likewise.
9558         * login/programs/pt_chown.c (main): Likewise.
9559         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9560         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9561         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9562         (mmap, mmap64, mremap, munmap): Likewise.
9563         * math/e_exp2l.c: Likewise.
9564         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9565         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9566         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9567         * math/s_catan.c (__catan): Likewise.
9568         * math/s_catanf.c (__catanf): Likewise.
9569         * math/s_catanh.c (__catanh): Likewise.
9570         * math/s_catanhf.c (__catanhf): Likewise.
9571         * math/s_catanhl.c (__catanhl): Likewise.
9572         * math/s_catanl.c (__catanl): Likewise.
9573         * math/s_ccosh.c (__ccosh): Likewise.
9574         * math/s_ccoshf.c (__ccoshf): Likewise.
9575         * math/s_ccoshl.c (__ccoshl): Likewise.
9576         * math/s_cexp.c (__cexp): Likewise.
9577         * math/s_cexpf.c (__cexpf): Likewise.
9578         * math/s_cexpl.c (__cexpl): Likewise.
9579         * math/s_clog10.c (__clog10): Likewise.
9580         * math/s_clog10f.c (__clog10f): Likewise.
9581         * math/s_clog10l.c (__clog10l): Likewise.
9582         * math/s_clog.c (__clog): Likewise.
9583         * math/s_clogf.c (__clogf): Likewise.
9584         * math/s_clogl.c (__clogl): Likewise.
9585         * math/s_csin.c (__csin): Likewise.
9586         * math/s_csinf.c (__csinf): Likewise.
9587         * math/s_csinh.c (__csinh): Likewise.
9588         * math/s_csinhf.c (__csinhf): Likewise.
9589         * math/s_csinhl.c (__csinhl): Likewise.
9590         * math/s_csinl.c (__csinl): Likewise.
9591         * math/s_csqrt.c (__csqrt): Likewise.
9592         * math/s_csqrtf.c (__csqrtf): Likewise.
9593         * math/s_csqrtl.c (__csqrtl): Likewise.
9594         * math/s_ctan.c (__ctan): Likewise.
9595         * math/s_ctanf.c (__ctanf): Likewise.
9596         * math/s_ctanh.c (__ctanh): Likewise.
9597         * math/s_ctanhf.c (__ctanhf): Likewise.
9598         * math/s_ctanhl.c (__ctanhl): Likewise.
9599         * math/s_ctanl.c (__ctanl): Likewise.
9600         * math/w_pow.c: Likewise.
9601         * math/w_powf.c: Likewise.
9602         * math/w_powl.c: Likewise.
9603         * math/w_scalb.c (sysv_scalb): Likewise.
9604         * math/w_scalbf.c (sysv_scalbf): Likewise.
9605         * math/w_scalbl.c (sysv_scalbl): Likewise.
9606         * misc/error.c (error_tail): Likewise.
9607         * misc/pselect.c (__pselect): Likewise.
9608         * nis/nis_callback.c (__nis_create_callback): Likewise.
9609         * nis/nis_call.c (__nisfind_server): Likewise.
9610         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9611         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9612         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9613         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9614         * nis/nis_lookup.c (nis_lookup): Likewise.
9615         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9616         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9617         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9618         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9619         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9620         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9621         * nis/nss_compat/compat-initgroups.c (add_group)
9622         (internal_getgrent_r): Likewise.
9623         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9624         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9625         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9626         (internal_getspnam_r): Likewise.
9627         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9628         (_nss_nis_getaliasbyname_r): Likewise.
9629         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9630         (_nss_nis_getntohost_r): Likewise.
9631         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9632         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9633         (_nss_nis_getgrgid_r): Likewise.
9634         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9635         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9636         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9637         (_nss_nis_gethostbyname4_r): Likewise.
9638         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9639         (initgroups_netid): Likewise.
9640         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9641         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9642         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9643         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9644         (_nss_nis_getprotobynumber_r): Likewise.
9645         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9646         (_nss_nis_getsecretkey): Likewise.
9647         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9648         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9649         (_nss_nis_getpwuid_r): Likewise.
9650         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9651         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9652         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9653         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9654         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9655         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9656         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9657         Likewise.
9658         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9659         (_nss_nisplus_getntohost_r): Likewise.
9660         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9661         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9662         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9663         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9664         Likewise.
9665         * nis/nss_nisplus/nisplus-initgroups.c
9666         (_nss_nisplus_initgroups_dyn): Likewise.
9667         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9668         (_nss_nisplus_getnetbyaddr_r): Likewise.
9669         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9670         (_nss_nisplus_getprotobynumber_r): Likewise.
9671         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9672         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9673         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9674         Likewise.
9675         * nis/nss_nisplus/nisplus-service.c
9676         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9677         (_nss_nisplus_getservbyport_r): Likewise.
9678         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9679         (_nss_nisplus_getspnam_r): Likewise.
9680         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9681         Likewise.
9682         * nscd/aicache.c (addhstaiX): Likewise.
9683         * nscd/cache.c (cache_search, prune_cache): Likewise.
9684         * nscd/connections.c (register_traced_file, send_ro_fd)
9685         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9686         (main_loop_epoll): Likewise.
9687         * nscd/grpcache.c (addgrbyX): Likewise.
9688         * nscd/hstcache.c (addhstbyX): Likewise.
9689         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9690         * nscd/mem.c (gc, mempool_alloc): Likewise.
9691         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9692         (addinnetgrX): Likewise.
9693         * nscd/nscd-client.h (__nscd_acquire_maplock)
9694         (__nscd_drop_map_ref): Likewise.
9695         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9696         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9697         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9698         Likewise.
9699         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9700         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9701         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9702         (__nscd_get_map_ref): Likewise.
9703         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9704         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9705         Likewise.
9706         * nscd/pwdcache.c (addpwbyX): Likewise.
9707         * nscd/selinux.c (preserve_capabilities): Likewise.
9708         * nscd/servicescache.c (addservbyX): Likewise.
9709         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9710         * posix/fnmatch.c (fnmatch): Likewise.
9711         * posix/getopt.c (_getopt_internal_r): Likewise.
9712         * posix/glob.c (glob, glob_in_dir): Likewise.
9713         * posix/wordexp.c (exec_comm_child): Likewise.
9714         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9715         (getanswer_r, gaih_getanswer_slice): Likewise.
9716         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9717         * resolv/res_init.c: Likewise.
9718         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9719         * resolv/res_query.c (__libc_res_nquery): Likewise.
9720         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9721         Likewise.
9722         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9723         * stdio-common/perror.c (perror): Likewise.
9724         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9725         * stdio-common/tmpnam.c (tmpnam): Likewise.
9726         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9727         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9728         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9729         Likewise.
9730         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9731         * stdlib/putenv.c (putenv): Likewise.
9732         * stdlib/setenv.c (__add_to_environ): Likewise.
9733         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9734         * stdlib/strtol_l.c (INTERNAL): Likewise.
9735         * string/memmem.c (memmem): Likewise.
9736         * string/strerror.c (strerror): Likewise.
9737         * string/strnlen.c (__strnlen): Likewise.
9738         * string/test-memmem.c (simple_memmem): Likewise.
9739         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9740         * sunrpc/pm_getport.c (__get_socket): Likewise.
9741         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9742         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9743         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9744         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9745         Likewise.
9746         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9747         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9748         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9749         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9750         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9751         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9752         Likewise.
9753         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9754         Likewise.
9755         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9756         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9757         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9758         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9759         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9761         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9762         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9763         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9764         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9765         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9766         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9767         Likewise.
9768         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9769         Likewise.
9770         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9771         Likewise.
9772         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9773         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9774         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9775         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9776         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9777         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9778         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9779         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9780         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9781         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9782         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9783         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9784         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9785         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9786         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9787         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9788         Likewise.
9789         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9790         Likewise.
9791         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9792         Likewise.
9793         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9794         Likewise.
9795         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9796         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9797         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9798         Likewise.
9799         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9800         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9801         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9802         * sysdeps/posix/sleep.c: Likewise.
9803         * sysdeps/posix/tempname.c: Likewise.
9804         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9805         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9806         Likewise.
9807         * sysdeps/powerpc/powerpc32/dl-machine.h
9808         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9809         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9810         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9811         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9812         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9813         Likewise.
9814         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9815         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9816         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9817         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9818         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9819         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9820         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9821         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9822         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9823         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9824         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9825         (elf_machine_lazy_rel): Likewise.
9826         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9827         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9828         (elf_machine_lazy_rel): Likewise.
9829         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9830         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9831         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9832         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9833         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9834         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9835         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9836         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9837         Likewise.
9838         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9839         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9840         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9841         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9842         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9843         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9844         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9845         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9846         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9847         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9848         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9849         Likewise.
9850         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9851         (__posix_fallocate64_l64): Likewise.
9852         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9853         (posix_fallocate): Likewise.
9854         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9855         Likewise.
9856         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9857         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9858         (getifaddrs_internal): Likewise.
9859         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9860         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9861         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9862         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9863         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9864         (__posix_fallocate64_l64): Likewise.
9865         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9866         Likewise.
9867         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9868         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9869         (__get_clockfreq): Likewise.
9870         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9871         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9872         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9873         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9874         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9875         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9876         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9877         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9878         Likewise.
9879         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9880         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9881         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9882         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9883         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9884         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9885         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9886         Likewise.
9887         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9888         (posix_fallocate): Likewise.
9889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9890         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9891         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9892         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9893         (elf_machine_rela, elf_machine_rela_relative)
9894         (elf_machine_lazy_rel): Likewise.
9895         * time/asctime.c (asctime_internal): Likewise.
9896         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9897         * time/tzset.c (__tzset_parse_tz): Likewise.
9898         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9899         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9900         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9901         * wcsmbs/wcsmbsload.h: Likewise.
9902
9903         [BZ #15894]
9904         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9905
9906         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9907         (arena_get2): Remove THREAD_STATS conditionals.
9908         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9909         (__malloc_stats, int): Likewise.
9910
9911 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9912
9913         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9914         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9915
9916         * manual/setjmp.texi: Fix typos/grammar errors.
9917
9918         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9919         Only return early when n is <= 0.  Delete unused return statement.
9920
9921         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9922         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9923         * debug/tst-longjmp_chk3.c: New file.
9924
9925         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9926         (test_main): Replace code with set_fortify_handler call.
9927         * debug/test-strcpy_chk.c: Likewise.
9928         * debug/tst-chk1.c: Likewise.
9929         * debug/tst-longjmp_chk.c: Likewise.
9930         * test-skeleton.c: Include fcntl.h & paths.h
9931         (set_fortify_handler): Define.
9932
9933         * debug/tst-longjmp_chk.c: Add header comment and include
9934         ../test-skeleton.c.
9935         (do_test): Mark static.
9936         (TEST_FUNCTION): Define.
9937
9938         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9939         (IP_PMTUDISC_INTERFACE): Likewise.
9940         (IP_MULTICAST_IF): Likewise.
9941         (IP_MULTICAST_TTL): Likewise.
9942         (IP_MULTICAST_LOOP): Likewise.
9943         (IP_ADD_MEMBERSHIP): Likewise.
9944         (IP_DROP_MEMBERSHIP): Likewise.
9945         (IP_UNBLOCK_SOURCE): Likewise.
9946         (IP_BLOCK_SOURCE): Likewise.
9947         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9948         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9949         (IP_MSFILTER): Likewise.
9950         (MCAST_JOIN_GROUP): Likewise.
9951         (MCAST_BLOCK_SOURCE): Likewise.
9952         (MCAST_UNBLOCK_SOURCE): Likewise.
9953         (MCAST_LEAVE_GROUP): Likewise.
9954         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9955         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9956         (MCAST_MSFILTER): Likewise.
9957         (IP_MULTICAST_ALL): Likewise.
9958         (IP_UNICAST_IF): Likewise.
9959
9960         * timezone/Makefile: Delete $(have-ksh) check.
9961         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9962         * timezone/tzselect.ksh: Add +x mode bits.
9963
9964         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9965         (ANON_INODE_FS_MAGIC): Likewise.
9966         (BDEVFS_MAGIC): Likewise.
9967         (BINFMTFS_MAGIC): Likewise.
9968         (BTRFS_TEST_MAGIC): Likewise.
9969         (CRAMFS_MAGIC_WEND): Likewise.
9970         (DEBUGFS_MAGIC): Likewise.
9971         (ECRYPTFS_SUPER_MAGIC): Likewise.
9972         (EXT3_SUPER_MAGIC): Likewise.
9973         (EXT4_SUPER_MAGIC): Likewise.
9974         (FUTEXFS_SUPER_MAGIC): Likewise.
9975         (HOSTFS_SUPER_MAGIC): Likewise.
9976         (HUGETLBFS_MAGIC): Likewise.
9977         (MINIX3_SUPER_MAGIC): Likewise.
9978         (MTD_INODE_FS_MAGIC): Likewise.
9979         (NILFS_SUPER_MAGIC): Likewise.
9980         (OPENPROM_SUPER_MAGIC): Likewise.
9981         (PIPEFS_MAGIC): Likewise.
9982         (PSTOREFS_MAGIC): Likewise.
9983         (QNX6_SUPER_MAGIC): Likewise.
9984         (RAMFS_MAGIC): Likewise.
9985         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9986         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9987         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9988         (SECURITYFS_MAGIC): Likewise.
9989         (SELINUX_MAGIC): Likewise.
9990         (SMACK_MAGIC): Likewise.
9991         (SOCKFS_MAGIC): Likewise.
9992         (SQUASHFS_MAGIC): Likewise.
9993         (STACK_END_MAGIC): Likewise.
9994         (TMPFS_MAGIC): Likewise.
9995         (USBDEVICE_SUPER_MAGIC): Likewise.
9996         (V9FS_MAGIC): Likewise.
9997         (XENFS_SUPER_MAGIC): Likewise.
9998         (CRAMFS_MAGIC): Fix typo in comment.
9999         (EXT2_SUPER_MAGIC): Update comment.
10000         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10001
10002 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10003
10004         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10005         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10006         * sysdeps/unix/sysv/linux/arm: Move directory from
10007         ports/sysdeps/unix/sysv/linux/arm.
10008         * README: Update listing for arm-*-linux-gnueabi.
10009
10010         * README: Remove mention of am33.
10011
10012 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10013
10014         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10015         than the comma operator, to avoid "rhs of comma has no effect"
10016         compiler warnings.
10017         (__sigfillset, __sigandset, __sigorset): Likewise.
10018         * include/signal.h (__sigemptyset): Likewise.
10019         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10020
10021 2014-02-07  Allan McRae  <allan@archlinux.org>
10022
10023         * version.h (RELEASE): Set to "development".
10024         (VERSION): Set to "2.19.90"
10025         * NEWS: Add 2.20 section.
10026
10027 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10028
10029         [BZ #16529]
10030         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10031
10032 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10033
10034         * manual/contrib.texi: Update entry for Carlos O'Donell,
10035         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10036
10037 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10038
10039         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10040
10041         * sysdeps/unix/sysv/linux/kernel-features.h
10042         [__LINUX_KERNEL_VERSION >= 0x020621]
10043         (__ASSUME_PROC_PID_TASK_COMM): Define.
10044
10045 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10046
10047         [BZ #16398]
10048         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10049         conversion when destination buffer does not have enough space.
10050         * libio/tst-ftell-partial-wide.c: New test case.
10051         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10052
10053         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10054         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10055         Leonard and Allan McRae.
10056
10057 2014-02-04  David S. Miller  <davem@davemloft.net>
10058
10059         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10060         32-bit.
10061
10062 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10063
10064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10065         New file
10066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10067         New file
10068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10069         New file.
10070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10071         New file.
10072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10073         New file.
10074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10075         New file.
10076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10077         New file.
10078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10079         New file.
10080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10081         New file.
10082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10083         New file.
10084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10085         New file.
10086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10087         New file.
10088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10089         New file.
10090
10091 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10092
10093         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10094         * shlib-versions: Likewise.
10095
10096 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10097             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10098
10099         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10100         (abilist-pattern): New variable, set to %-le.abilist.
10101
10102         * Makerules (abilist-pattern): New variable.
10103         (vpath): Use $(abilist-pattern) in place of %.abilist.
10104         (check-abi-% pattern rule): Likewise.
10105         (check-abi, update-abi): Likewise.
10106
10107 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10108
10109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10110
10111 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10112
10113         * manual/startup.texi: Add next, previous, and top entries for
10114         the `Program Arguments' and `Environment Variables' nodes.
10115
10116 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10117
10118         * manual/macros.texi: Add comments before MTASC-safety macros.
10119
10120         * manual/users.texi: Document MTASC-safety properties.
10121
10122         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10123         (pthread_getspecific, pthread_setspecific): Format with
10124         @deftypefun, and add @safety note.
10125         * manual/signal.texi: Move comments that analyze the above
10126         functions to their home place.
10127
10128 2014-02-03  Allan McRae  <allan@archlinux.org>
10129
10130         * po/sl.po: Update Slovenian translation from translation project.
10131
10132 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10133
10134         * manual/time.texi (timegm): Add missing blank after @c.
10135         Reported by Joseph Myers <joseph@codesourcery.com>.
10136
10137 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10138
10139         * manual/check-safety.sh: New.
10140         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10141
10142         * manual/terminal.texi: Document MTASC-safety properties.
10143
10144         * manual/filesys.texi: Document MTASC-safety properties.
10145
10146         * manual/errno.texi: Document MTASC-safety properties.
10147
10148         * manual/intro.texi: Document safety identifiers and
10149         conditionals.
10150
10151         * manual/string.texi (wcstok): Fix prototype.
10152         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10153
10154         * manual/time.texi: Document MTASC-safety properties.
10155
10156         * manual/string.texi: Document MTASC-safety properties.
10157
10158         * manual/threads.texi: Document MTASC-safety properties.
10159
10160         * manual/stdio.texi: Document MTASC-safety properties.
10161
10162         * manual/syslog.texi: Document MTASC-safety properties.
10163
10164         * manual/sysinfo.texi: Document MTASC-safety properties.
10165
10166         * manual/startup.texi: Document MTASC-safety properties.
10167
10168         * manual/socket.texi: Document MTASC-safety properties.
10169
10170         * manual/signal.texi: Document MTASC-safety properties.
10171
10172 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10173
10174         * manual/setjmp.texi: Document MTASC-safety properties.
10175
10176         * manual/search.texi: Document MTASC-safety properties.
10177
10178         * manual/resource.texi: Document MTASC-safety properties.
10179
10180         * manual/process.texi: Document MTASC-safety properties.
10181
10182         * manual/platform.texi: Document MTASC-safety properties.
10183
10184         * manual/pipe.texi: Document MTASC-safety properties.
10185
10186         * manual/pattern.texi: Document MTASC-safety properties.
10187
10188         * manual/message.texi: Document MTASC-safety properties.
10189
10190         [BZ #12751]
10191         * manual/memory.texi: Document MTASC-safety properties.
10192
10193         * manual/math.texi: Document MTASC-safety properties.
10194
10195         * manual/locale.texi: Document MTASC-safety properties.
10196
10197         * manual/llio.texi: Document MTASC-safety properties.
10198
10199         * manual/libdl.texi: New.
10200
10201         * manual/lang.texi: Document MTASC-safety properties.
10202
10203         * manual/job.texi: Document MTASC-safety properties.
10204
10205         * manual/getopt.texi: Document MTASC-safety properties.
10206
10207         * manual/ctype.texi: Document MTASC-safety properties.
10208
10209 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10210
10211         [BZ #16046]
10212         * csu/libc-tls.c (static_map): Remove variable.
10213         (__libc_setup_tls): Use main executable's link map for TLS data.
10214         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10215         casing for LM_ID_BASE and GL(dl_nns).
10216         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10217         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10218         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10219         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10220         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10221         member.
10222         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10223         l_phnum members.
10224
10225 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10226
10227         * manual/debug.texi: Document MTASC-safety properties.
10228
10229 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10230
10231         [BZ #16510]
10232         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10233         of __x86_64__ when disabling x87 inline functions.
10234
10235 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10236
10237         * manual/charset.texi: Document MTASC-safety properties.
10238
10239         * manual/crypt.texi: Document MTASC-safety properties.
10240
10241         * manual/conf.texi: Document MTASC-safety properties.
10242
10243         * manual/arith.texi: Document MTASC-safety properties.
10244
10245         * manual/argp.texi: Document MTASC-safety properties.
10246
10247         * manual/macros.texi: Introduce macros to document multi
10248         thread, asynchronous signal and asynchronous cancellation
10249         safety properties.
10250         * manual/intro.texi: Introduce the properties themselves.
10251
10252 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10253
10254         * sysdeps/sh/sh4/Makefile: New file.
10255
10256 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10257
10258         * math/gen-libm-test.pl ($srcdir): New variable.
10259         ($auto_input): Use it.
10260
10261 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10262
10263         [BZ #16506]
10264         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10265         access beyond array bounds when parsing netgroups file.
10266
10267         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10268         the old buffer before realloc.
10269
10270 2014-01-27  Allan McRae  <allan@archlinux.org>
10271
10272         * po/fr.po: Update French translation from translation project.
10273
10274 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10275
10276         * sysdeps/sh/libm-test-ulps: Regenerate.
10277
10278 2014-01-24  David S. Miller  <davem@davemloft.net>
10279
10280         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10281
10282 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10283
10284         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10285         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10286
10287 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10288
10289         [BZ #16474]
10290         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10291         string pointers after reallocation.
10292
10293 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10294
10295         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10296         __SH4A__ instead of __SH_FPU_ANY__.
10297
10298 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10299
10300         * sysdeps/sh/fpu_control.h: New file.
10301         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10302         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10303         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10304         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10305         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10306         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10307         * sysdeps/sh/sys/ucontext.h: Remove.
10308         * sysdeps/sh/sys: Remove directory.
10309
10310 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10311
10312         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10313         s390/sys/ucontext.h.
10314         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10315         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10316
10317 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10318
10319         [BZ #15605]
10320         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10321
10322 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10323
10324         [BZ#16431]
10325         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10326         Adjust the vDSO correctly for internal calls.
10327         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10328
10329 2014-01-20  Allan McRae  <allan@archlinux.org>
10330
10331         * po/ca.po: Update Catalan translation from translation project.
10332
10333 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10334
10335         * sysdeps/s390/sotruss-lib.c: New file.
10336
10337 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10338
10339         [BZ#16430]
10340         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10341         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10342         local calls issues by not having a PLT stub required for IFUNC calls.
10343         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10344
10345 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10346
10347         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10348         * math/test-fpucw-static.c: Likewise.
10349
10350 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10351
10352         [BZ #16453]
10353         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10354
10355 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10356
10357         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10358         implementation for powerpc.
10359
10360 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10361
10362         [BZ #14782]
10363         * sysdeps/posix/system.c (__libc_system): Do not enable
10364         asynchronous cancellation.
10365
10366 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10367
10368         [BZ #16427]
10369         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10370         handling only for numbers special also in the IEEE case.
10371
10372 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10373
10374         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10375
10376 2014-01-11  Allan McRae  <allan@archlinux.org>
10377
10378         * po/bg.po: Update Bulgarian translation from translation project.
10379
10380         * po/de.po: Update German translation from translation project.
10381
10382 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10383
10384         * sysdeps/generic/gcc-compat.h: New file.
10385
10386 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10387
10388         * benchtests/asin-inputs: Correct slow inputs.
10389         * benchtests/acos-inputs: Likewise.
10390
10391 2014-01-10  Allan McRae  <allan@archlinux.org>
10392
10393         * po:sv.po: Update Swedish translation from translation project.
10394
10395         * po/vi.po: Update Vietnamese translation from translation project.
10396
10397         * po/eo.po: Update Esperanto translation from translation project.
10398
10399         * po/cs.po: Update Czech translation from translation project.
10400
10401         * po/nl.po: Update Dutch translation from translation project.
10402
10403         * po/pl.po: Update Polish translation from translation project.
10404
10405         * po/ru.po: Update Russian translation from translation project.
10406
10407         * po/uk.po: Update Ukrainian translation from translation project.
10408
10409 2014-01-08  Brooks Moses  <bmoses@google.com>
10410
10411         * elf/dl-load.c: Fix comment typo.
10412
10413 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10414
10415         * po/header.pot: Rename to...
10416         * po/pot.header: ... this.
10417         * po/Makefile: Use pot.header.
10418
10419 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10420             Maxim Kuvyrkov  <maxim@kugelworks.com>
10421
10422         [BZ #16394]
10423         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10424         SRC and DEST against LEN.
10425
10426 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10427
10428         [BZ #16414]
10429         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10430         implementation.
10431         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10432
10433 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10434
10435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10436
10437 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10438
10439         [BZ #16408]
10440         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10441         for large positive arguments.
10442
10443 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10444
10445         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10446
10447         * math/auto-libm-test-in: Mark various tests with
10448         xfail-rounding:ldbl-128ibm.
10449         * math/auto-libm-test-out: Regenerated.
10450
10451         [BZ #16407]
10452         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10453         Increase overflow threshold.
10454
10455 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10456
10457         [BZ #14286]
10458         * stdio-common/vfprintf.c: Check for integer overflow.
10459
10460 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10461
10462         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10463         the first argument and return value of __tls_get_addr_internal.
10464
10465 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10466
10467         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10468         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10469
10470 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10471
10472         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10473         * sysdeps/s390/rtld-global-offsets.sym: New file.
10474         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10475         GLIBC_2.19 symbol.
10476         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10477         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10478         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10479         ... this.
10480         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10481         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10482         ... this.
10483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10484         Regenerate.
10485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10486         Regenerate.
10487         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10488         halfs of GPRs for high_gprs contexts.
10489         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10490         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10491         field.
10492         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10493         uc_flags field.
10494         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10495         64 bit versions:
10496         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10497         for high GPRs (uc_high_gprs) and for future extensions
10498         (__reserved).
10499         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10500         for future extensions (__reserved).
10501         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10502         64 bit versions:
10503         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10504         SC_HIGHGPRS offset definition.
10505         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10506         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10507
10508         * Versions.def: Add GLIBC_2.19 for libpthread.
10509         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10510         siglongjmp for libpthread with GLIBC_2.19 symver.
10511         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10512         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10513         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10514         * sysdeps/s390/__longjmp.c: New file.
10515         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10516         * sysdeps/s390/longjmp.c: New file.
10517         * sysdeps/s390/setjmp.S: New file.
10518         * sysdeps/s390/sigjmp.S: New file.
10519         * sysdeps/s390/v1-longjmp.c: New file.
10520         * sysdeps/s390/v1-setjmp.h: New file.
10521         * sysdeps/s390/v1-sigjmp.c: New file.
10522         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10523         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10524         GLIBC_2.19 version.
10525         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10526         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10527         versioned symbols for ____longjmp_chk.
10528         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10529         Likewise.
10530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10531         Regenerate.
10532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10533         Regenerate.
10534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10535         Regenerate.
10536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10537         Regenerate.
10538         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10539         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10540         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10541         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10542         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10543         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10544         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10545         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10546         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10547         * sysdeps/s390/rtld-__longjmp.c: New file.
10548         * sysdeps/s390/rtld-setjmp.S: New file.
10549
10550 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10551
10552         [BZ #16400]
10553         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10554         Return -__logl (x) for small positive arguments without evaluating
10555         a polynomial.
10556
10557 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10558
10559         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10560         Rename to ...
10561         (__ptrace_peeksiginfo_args): ... this.
10562         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10563         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10564         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10565
10566 2014-01-06  Allan McRae  <allan@archlinux.org>
10567
10568         * inet/netinet/in.h: Fix typo in comment.
10569
10570 2014-01-05  Andreas Jaeger  <aj@suse.de>
10571
10572         * sysdeps/i386/fpu/libm-test-ulps: Update.
10573
10574 2014-01-05  Allan McRae  <allan@archlinux.org>
10575
10576         * po/libc.pot: Regenerated.
10577
10578         * malloc/memusagestat.c: Fix gettext call formatting.
10579
10580 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10581
10582         * nscd/nscd.c: Improve usage() output.
10583
10584 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10585
10586         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10587         * sysdeps/unix/sysv/linux/configure: Regenerated.
10588         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10589         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10590
10591 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10592
10593         [BZ #16390]
10594         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10595         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10596
10597 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10598
10599         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10600         extra tokens at end of #undef directive.
10601         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10602         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10603         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10604
10605 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10606
10607         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10608
10609         * math/auto-libm-test-in: Mark various tests with
10610         xfail-rounding:ldbl-128ibm.
10611         * math/auto-libm-test-out: Regenerated.
10612
10613 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10614
10615         [BZ #16386]
10616         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10617         numbers with subnormal high part when calculating exponent.
10618
10619         [BZ #16385]
10620         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10621         fabs.
10622
10623         [BZ #16384]
10624         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10625         M_LN2l.
10626         (__ieee754_acoshl): Use __log1pl not __log1p.
10627
10628 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10629
10630         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10631         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10632         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10633         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10634         (reused_arena, arena_get2): Convert to GNU style.
10635         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10636         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10637         (memalign_check, __malloc_set_state): Likewise.
10638         * malloc/mallocbug.c (main): Likewise.
10639         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10640         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10641         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10642         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10643         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10644         (__posix_memalign, malloc_info): Likewise.
10645         * malloc/malloc.h: Likewise.
10646         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10647         (mallochook, memalignhook, reallochook, mabort): Likewise.
10648         * malloc/mcheck.h: Likewise.
10649         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10650         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10651         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10652         * malloc/morecore.c (__default_morecore): Likewise.
10653         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10654         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10655         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10656         (print_and_abort): Likewise.
10657         * malloc/obstack.h: Likewise.
10658         * malloc/set-freeres.c (__libc_freeres): Likewise.
10659         * malloc/tst-mallocstate.c (main): Likewise.
10660         * malloc/tst-mtrace.c (main): Likewise.
10661         * malloc/tst-realloc.c (do_test): Likewise.
10662
10663 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10664
10665         [BZ #16366]
10666         * nscd/netgroupcache.c (do_notfound): New function.
10667         (addgetnetgrentX): Use it.
10668
10669         [BZ # 16365]
10670         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10671         NSS_STATUS_NOTFOUND.
10672
10673 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10674
10675         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10677
10678 2014-01-01  Allan McRae  <allan@archlinux.org>
10679
10680         * scripts/update-copyrights: Update configure input file suffix.
10681
10682         * NEWS: Update copyright year.
10683         * catgets/gencat.c: Likewise.
10684         * csu/version.c: Likewise.
10685         * debug/catchsegv.sh: Likewise.
10686         * debug/pcprofiledump.c: Likewise.
10687         * debug/xtrace.sh: Likewise.
10688         * elf/ldconfig.c: Likewise.
10689         * elf/ldd.bash.in: Likewise.
10690         * elf/pldd.c: Likewise.
10691         * elf/sotruss.ksh: Likewise.
10692         * elf/sprof.c: Likewise.
10693         * iconv/iconv_prog.c: Likewise.
10694         * iconv/iconvconfig.c: Likewise.
10695         * locale/programs/locale.c: Likewise.
10696         * locale/programs/localedef.c: Likewise.
10697         * login/programs/pt_chown.c: Likewise.
10698         * malloc/memusage.sh: Likewise.
10699         * malloc/memusagestat.c: Likewise.
10700         * malloc/mtrace.pl: Likewise.
10701         * manual/libc.texinfo: Likewise.
10702         * nscd/nscd.c: Likewise.
10703         * nss/getent.c: Likewise.
10704         * nss/makedb.c: Likewise.
10705         * posix/getconf.c: Likewise.
10706         * scripts/test-installation.pl: Likewise.
10707
10708         * All files with FSF copyright notices: Update copyright dates
10709         using scripts/update-copyrights.
10710         * intl/plural.c: Regenerated.
10711         * locale/programs/charmap-kw.h: Likewise.
10712         * locale/programs/locfile-kw.h: Likewise.
10713
10714 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10715
10716         * sysdeps/unix/sysv/linux/configure: Regenerated.
10717         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10718         the linux/fanotify.h header.
10719         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10720         HAVE_LINUX_FANOTIFY_H is defined.
10721
10722 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10723
10724         * benchtests/cos-inputs: New inputs.
10725         * benchtests/sin-inputs: Likewise.
10726
10727         * benchtests/atan-inputs: New inputs. Fix name of multiple
10728         precision fallback inputs.
10729
10730         * benchtests/atanh-inputs: New inputs.
10731         * benchtests/tanh-inputs: Likewise.
10732
10733         * benchtests/acosh-inputs: New inputs.
10734         * benchtests/asinh-inputs: Likewise.
10735
10736         * benchtests/cosh-inputs: New inputs.
10737         * benchtests/sinh-inputs: Likewise.
10738
10739         * benchtests/acos-inputs: Add more inputs.
10740         * benchtests/asin-inputs: Likewise.
10741
10742 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10743
10744         [BZ #16375]
10745         * manual/arith.texi: Fix spelling.
10746         * manual/charset.texi: Likewise.
10747         * manual/errno.texi: Likewise.
10748         * manual/filesys.texi: Likewise.
10749         * manual/lang.texi: Likewise.
10750         * manual/llio.texi: Likewise.
10751         * manual/locale.texi: Likewise.
10752         * manual/message.texi: Likewise.
10753         * manual/resource.texi: Likewise.
10754         * manual/search.texi: Likewise.
10755         * manual/setjmp.texi: Likewise.
10756         * manual/stdio.texi: Likewise.
10757         * manual/string.texi: Likewise.
10758         * manual/sysinfo.texi: Likewise.
10759         * manual/time.texi: Likewise.
10760
10761 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10762
10763         * po/sl.po: New file.
10764
10765 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10766
10767         * .gitignore: Add core/.gdbinit/.gdb_history.
10768
10769 2013-12-27  Allan McRae  <allan@archlinux.org>
10770
10771         [BZ #16369]
10772         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10773         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10774
10775 2013-12-24  Brooks Moses  <bmoses@google.com>
10776
10777         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10778         all compilers that claim C++98 compliance, not just GCC.
10779         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10780         Likewise.
10781
10782 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10783
10784         * NEWS: Restore accidentally deleted bug-fix entries.
10785
10786 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10787             Ondřej Bílka  <neleai@seznam.cz>
10788
10789         [BZ #15073]
10790         * malloc/malloc.c (_int_free): Perform sanity check only if we
10791         have_lock.
10792
10793 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10794
10795         [BZ #12986]
10796         * manual/stdio.texi (String Input Conversions): Clarify that character
10797         classes are not supported.
10798
10799 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10800
10801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10802
10803 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10804
10805         [BZ #16337]
10806         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10807         Calculate results for small negative arguments directly rather
10808         than using reflection formula with special underflow handling.
10809
10810         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10811         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10812         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10813         (fchflags): Likewise.
10814         (revoke): Likewise.
10815         (setlogin): Likewise.
10816         (sigaltstack): Likewise.
10817         (wait4): Likewise.
10818         (sigblock): Remove.
10819         (sigsetmask): Likewise.
10820         (wait3): Likewise.
10821         (waitpid): Likewise.
10822         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10823         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10824         file.
10825         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10826         * sysdeps/unix/bsd/Makefile: ... here.
10827         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10828         * sysdeps/unix/bsd/Versions: ... here.
10829         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10830         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10831         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10832         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10833         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10834         * sysdeps/unix/bsd/sigblock.c: ... here.
10835         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10836         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10837         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10838         * sysdeps/unix/bsd/sigvec.c: ... here.
10839         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10840         * sysdeps/unix/bsd/tcdrain.c: ... here.
10841         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10842         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10843         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10844         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10845         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10846         * sysdeps/unix/bsd/wait.c: ... here.
10847         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10848         * sysdeps/unix/bsd/wait3.c: ... here.
10849         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10850         * sysdeps/unix/bsd/waitpid.c: ... here.
10851
10852 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10853
10854         [BZ #16356]
10855         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10856         round-to-nearest for [!USE_AS_EXPM1L].
10857         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10858         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10859         more tests of exp and exp10.  Expect some exp10 tests to miss
10860         exceptions or fail in directed rounding modes.
10861         * math/auto-libm-test-out: Regenerated.
10862         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10863         (exp10_test_tonearest): New function.
10864         (exp10_towardzero_test_data): New array.
10865         (exp10_test_towardzero): New function.
10866         (exp10_downward_test_data): New array.
10867         (exp10_test_downward): New function.
10868         (exp10_upward_test_data): New array.
10869         (exp10_test_upward): New function.
10870         (main): Call the new functions.
10871         * sysdeps/i386/fpu/libm-test-ulps: Update.
10872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10873
10874 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10875
10876         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10877         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10878         * math/auto-libm-test-out: Regenerated.
10879         * math/libm-test.inc (acosh_test_data): Add more tests.
10880         (atanh_test_data): Likewise.
10881         (ceil_test_data): Likewise.
10882         (copysign_test_data): Likewise.
10883         * sysdeps/i386/fpu/libm-test-ulps: Update.
10884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10885
10886         * timezone/checktab.awk: Update from tzcode 2013i.
10887         * timezone/private.h: Likewise.
10888         * timezone/scheck.c: Likewise.
10889         * timezone/tzfile.h: Likewise.
10890         * timezone/tzselect.ksh: Likewise.
10891         * timezone/zdump.c: Likewise.
10892         * timezone/zic.c: Likewise.
10893
10894         * math/auto-libm-test-in: Add tests of cpow.
10895         * math/auto-libm-test-out: Regenerated.
10896         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10897         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10898         mpc_cc_c.
10899         (func_calc_desc): Add mpc_cc_c union field.
10900         (test_functions): Add cpow.
10901         (special_fill_2pi): New function.
10902         (special_real_inputs): Add 2pi.
10903         (calc_generic_results): Handle mpc_cc_c.
10904         * sysdeps/i386/fpu/libm-test-ulps: Update.
10905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10906
10907         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10908         csqrt, ctan and ctanh.
10909         * math/auto-libm-test-out: Regenerated.
10910         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10911         (TEST_COND_x86): Likewise.
10912         (ccos_test_data): Use AUTO_TESTS_c_c.
10913         (ccosh_test_data): Likewise.
10914         (cexp_test_data): Likewise.
10915         (clog_test_data): Likewise.
10916         (csqrt_test_data): Likewise.
10917         (ctan_test_data): Likewise.
10918         (ctan_tonearest_test_data): Likewise.
10919         (ctan_towardzero_test_data): Likewise.
10920         (ctan_downward_test_data): Likewise.
10921         (ctan_upward_test_data): Likewise.
10922         (ctanh_test_data): Likewise.
10923         (ctanh_tonearest_test_data): Likewise.
10924         (ctanh_towardzero_test_data): Likewise.
10925         (ctanh_downward_test_data): Likewise.
10926         (ctanh_upward_test_data): Likewise.
10927         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10928         mpc_c_c.
10929         (func_calc_desc): Add mpc_c_c union field.
10930         (FUNC_mpc_c_c): New macro.
10931         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10932         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10933         ctanh.
10934         (special_fill_min_subnorm_p120): New function.
10935         (special_real_inputs): Add min_subnorm_p120.
10936         (calc_generic_results): Handle mpc_c_c.
10937         * sysdeps/i386/fpu/libm-test-ulps: Update.
10938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10939
10940 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10941
10942         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10943         (do_sin_slow): New functions.
10944         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10945         (cslow2, csloww1, csloww2): Use the new functions.
10946
10947         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10948         Use M to change sign of result instead of X.  Assume X is
10949         positive.
10950         (csloww1): Likewise.
10951         (__sin): Adjust.
10952         (__cos): Adjust.
10953
10954         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10955         arguments A and DA.
10956         (__sin): Adjust.
10957         (__cos): Likewise.
10958
10959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10960         (__cos): Likewise.
10961         (sloww1): Don't adjust sign of DX.
10962         (csloww1): Likewise.
10963         (sloww2): Use X directly and don't adjust sign of DX.
10964         (csloww2): Likewise.
10965
10966 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10967
10968         * math/auto-libm-test-in: Add tests of cabs and carg.
10969         * math/auto-libm-test-out: Regenerated.
10970         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10971         (carg_test_data): Likewise.
10972         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10973         mpc_c_f.
10974         (func_calc_desc): Add mpc_c_f union field.
10975         (test_functions): Add cabs and carg.
10976         (calc_generic_results): Handle mpc_c_f.
10977
10978         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10979         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10980         as a macro and a compat symbol.
10981         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10982         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10983         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10984         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10985         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10986         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10987         not use .hidden.
10988         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10989         Likewise.
10990         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10991         Likewise.
10992         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10993         Likewise.
10994         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10995         Likewise.
10996         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10997         Likewise.
10998         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10999         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11000         from GLIBC_2.3.2.
11001
11002 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11003
11004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11005
11006 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11007
11008         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11009         trailing whitespace removed.
11010         * scripts/config.guess: Update to version 2013-11-29.
11011         * scripts/config.sub: Update to version 2013-10-01.
11012
11013         * math/auto-libm-test-in: Add tests of sincos.
11014         * math/auto-libm-test-out: Regenerated.
11015         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11016         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11017         mpfr_f_11.
11018         (func_calc_desc): Add mpfr_f_11 union field.
11019         (test_functions): Add sincos.
11020         (calc_generic_results): Handle mpfr_f_11.
11021         * sysdeps/i386/fpu/libm-test-ulps: Update.
11022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11023
11024 2013-12-19  Andreas Schwab  <schwab@suse.de>
11025
11026         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11027         CALL_MCOUNT.
11028         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11029         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11030         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11031
11032 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11033
11034         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11035         * sysdeps/i386/fpu/libm-test-ulps: Update.
11036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11037
11038         [BZ #16293]
11039         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11040         round-to-nearest mode when using frndint.
11041         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11042         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11043         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11044         Likewise.
11045         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11046         sinh test to fail.
11047         * math/auto-libm-test-out: Regenerated.
11048         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11049         (TEST_COND_x86): Likewise.
11050         (expm1_tonearest_test_data): New array.
11051         (expm1_test_tonearest): New function.
11052         (expm1_towardzero_test_data): New array.
11053         (expm1_test_towardzero): New function.
11054         (expm1_downward_test_data): New array.
11055         (expm1_test_downward): New function.
11056         (expm1_upward_test_data): New array.
11057         (expm1_test_upward): New function.
11058         (main): Run the new test functions.
11059         * sysdeps/i386/fpu/libm-test-ulps: Update.
11060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11061
11062         * include/features.h: Update comment documenting feature test
11063         macros.  Mention _DEFAULT_SOURCE in comment.
11064         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11065         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11066         _BSD_SOURCE and _SVID_SOURCE.
11067         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11068         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11069         !_SVID_SOURCE]: Likewise.
11070         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11071         (__USE_POSIX_IMPLICITLY): Define.
11072         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11073         (_POSIX_SOURCE): Undefine and redefine.
11074         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11075         (_POSIX_C_SOURCE): Likewise.
11076         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11077         (Feature Test Macros): Update documentation of default features.
11078
11079 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11080
11081         * benchtests/Makefile: Add bench-strtok.
11082         * benchtests/bench-strtok.c: New file: strtok benchtest.
11083
11084 2013-12-19  Allan McRae  <allan@archlinux.org>
11085
11086         * manual/install.texi: Suppress menu for plain text output.
11087         * INSTALL: Regenerated.
11088
11089 2013-12-18  Brooks Moses  <bmoses@google.com>
11090
11091         [BZ #15846]
11092         * misc/getauxval.c: Include errno.h.
11093         (__getauxval): Set errno to ENOENT if the requested type is not
11094         found.
11095         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11096         don't declare with __attribute_const__.
11097         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11098         * manual/startup.texi: Document that getauxval sets errno.
11099
11100 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11101
11102         * math/auto-libm-test-in: Add tests of jn and yn.
11103         * math/auto-libm-test-out: Regenerated.
11104         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11105         (yn_test_data): Likewise.
11106         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11107         mpfr_if_f.
11108         (func_calc_desc): Add mpfr_if_f union field.
11109         (FUNC_mpfr_if_f): New macro.
11110         (test_functions): Add jn and yn.
11111         (calc_generic_results): Assert type of second input for
11112         mpfr_ff_f.  Handle mpfr_if_f.
11113         (output_for_one_input_case): Disable all checking for arguments
11114         fitting floating-point types in case of an integer argument.
11115         * sysdeps/i386/fpu/libm-test-ulps: Update.
11116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11117
11118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11119         Don't expect fegetround reference in libm.so.
11120
11121 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11122
11123         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11124         $(config-cflags-nofma).
11125
11126 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11127
11128         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11129         * math/auto-libm-test-out: Regenerated.
11130
11131         [BZ #16338]
11132         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11133         to determine exponent and adjust argument to have exponent of -1.
11134         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11135         log2.
11136         * math/auto-libm-test-out: Regenerated.
11137         * sysdeps/i386/fpu/libm-test-ulps: Update.
11138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11139
11140 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11141
11142         * manual/probes.texi: Remove cases when per-thread arenas are
11143         disabled.
11144
11145 2013-12-18  Andreas Schwab  <schwab@suse.de>
11146
11147         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11148         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11149         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11150         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11151         * sysdeps/i386/i686/multiarch/Makefile: Update.
11152         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11153
11154 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11155
11156         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11157         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11158
11159 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11160
11161         [BZ #15968]
11162         Support TZ transition times < 00:00:00.
11163         This is needed for version-3 tz-format files; it supports time
11164         stamps past 2037 for America/Godthab (the only entry in the tz
11165         database for which this change is relevant).
11166         * manual/time.texi (TZ Variable): Document transition times
11167         from -167:59:59 through -00:00:01.
11168         * time/tzset.c (tz_rule): Time of day is now signed.
11169         (__tzset_parse_tz): Parse negative time of day.
11170
11171         Document TZ transition times >= 25:00:00.
11172         * manual/time.texi (TZ Variable): Document transition times from
11173         25:00:00 through 167:59:59.  These are already supported, and this
11174         support will help with version-3 tz-format files.
11175
11176         * manual/time.texi (TZ Variable): Modernize North America example
11177         to reflect current (i.e., 2007-and-later) daylight saving rules.
11178
11179         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11180
11181 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11182
11183         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11184         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11185         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11186         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11187         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11188         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11189         * sysdeps/unix/bsd/clock.c: Likewise.
11190         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11191         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11192         * sysdeps/unix/bsd/init-posix.c: Likewise.
11193         * sysdeps/unix/bsd/poll.c: Likewise.
11194         * sysdeps/unix/bsd/ptsname.c: Likewise.
11195         * sysdeps/unix/bsd/seekdir.c: Likewise.
11196         * sysdeps/unix/bsd/setegid.c: Likewise.
11197         * sysdeps/unix/bsd/seteuid.c: Likewise.
11198         * sysdeps/unix/bsd/setgid.c: Likewise.
11199         * sysdeps/unix/bsd/setrgid.c: Likewise.
11200         * sysdeps/unix/bsd/setruid.c: Likewise.
11201         * sysdeps/unix/bsd/setsid.c: Likewise.
11202         * sysdeps/unix/bsd/setuid.c: Likewise.
11203         * sysdeps/unix/bsd/sigaction.c: Likewise.
11204         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11205         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11206         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11207         * sysdeps/unix/bsd/telldir.c: Likewise.
11208         * sysdeps/unix/bsd/times.c: Likewise.
11209         * sysdeps/unix/bsd/usleep.c: Likewise.
11210
11211         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11212         ($(objpfx)libbsd-compat.a): Remove rule.
11213
11214         * include/features.h (__FAVOR_BSD): Do not define.
11215         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11216         features conflicting with POSIX.
11217         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11218         (_BSD_SOURCE): Remove description of not being a subset of other
11219         feature test macros.
11220         * manual/job.texi (getpgrp): Do not document BSD version.
11221         (getpgid): Do not document by reference to BSD getpgrp.
11222         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11223         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11224         * signal/signal.h [__FAVOR_BSD]: Likewise.
11225         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11226         instead of making contents conditional on [__FAVOR_BSD].
11227         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11228
11229 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11230
11231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11232
11233 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11234
11235         [BZ #16314]
11236         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11237         values below 2**-450, not 2**-500.
11238         * math/auto-libm-test-in: Don't allow spurious underflow from
11239         hypot.
11240         * math/auto-libm-test-out: Regenerated.
11241
11242         [BZ #16316]
11243         [BZ #16330]
11244         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11245         values of ha and hb and sort them after adjusting subnormal
11246         arguments.
11247         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11248         Likewise.
11249         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11250         values of ea and eb and sort them after adjusting subnormal
11251         arguments.
11252         * math/auto-libm-test-in: Do not expect some hypot tests of
11253         subnormals to fail.  Add more hypot tests.
11254         * math/auto-libm-test-out: Regenerated.
11255
11256 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11257
11258         [BZ #13304]
11259         * sysdeps/sh/s_fma.c: New file.
11260         * sysdeps/sh/s_fmaf.c: New file.
11261         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11262         version.
11263         * sysdeps/sh/Implies: Add sh/soft-fp.
11264
11265 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11266
11267         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11268         level of indirection to members `objname', `errstring', `malloced'.
11269         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11270         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11271         it as the __longjmp argument (just pass 1 instead).
11272         (_dl_catch_error): Initialize C with argument pointers and address of
11273         volatile local ERRCODE rather than copying values out of C at return.
11274
11275 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11276
11277         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11278         * math/auto-libm-test-out: Regenerated.
11279         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11280         (hypot_test_data): Likewise.
11281         (pow_test_data): Likewise.
11282         (pow_tonearest_test_data): Likewise.
11283         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11284         mpfr_ff_f.
11285         (func_calc_desc): Add mpfr_ff_f union field.
11286         (FUNC_mpfr_ff_f): New macro.
11287         (test_functions): Add atan2, hypot and pow.
11288         (special_fill_min): New function.
11289         (special_fill_minus_min): Likewise.
11290         (special_fill_min_subnorm): Likewise.
11291         (special_fill_minus_min_subnorm): Likewise.
11292         (special_real_inputs): Add min, -min, min_subnorm and
11293         -min_subnorm.
11294         (calc_generic_results): Handle mpfr_ff_f.
11295         * sysdeps/i386/fpu/libm-test-ulps: Update.
11296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11297
11298 2013-12-16  Will Newton  <will.newton@linaro.org>
11299
11300         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11301         (Aligned Memory Blocks): Add documentation for aligned_alloc
11302         and suggest it as an alternative to posix_memalign.
11303         (Hooks for Malloc): Document __memalign_hook is also called
11304         for aligned_alloc.  (Summary of Malloc): Add summary for
11305         aligned alloc.  Document __memalign_hook is also called
11306         for aligned_alloc.
11307
11308 2013-12-16  Will Newton  <will.newton@linaro.org>
11309
11310         * manual/memory.texi (Malloc Examples): Clarify default
11311         alignment documentation.  Suggest posix_memalign rather
11312         than memalign or valloc.
11313         (Aligned Memory Blocks): Remove suggestion to use memalign
11314         or valloc.  Remove obsolete comment about BSD.
11315         Document memalign errno values and mark the function obsolete.
11316         Document posix_memalign returned error codes.  Mark valloc
11317         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11318         called for posix_memalign and valloc.
11319         (Summary of Malloc): Add posix_memalign to function summary.
11320         __memalign_hook is also called for posix_memalign and valloc.
11321
11322 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11323
11324         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11325         TAYLOR_SIN.
11326         (__sin): Adjust.
11327         (__cos): Likewise.
11328         (sloww): Use mynumber union.  Expand ternary operator into
11329         if-else statements.
11330         (cslow): use mynumber union.
11331
11332 2013-12-16  Allan McRae  <allan@archlinux.org>
11333
11334         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11335         * configure: Regenerated.
11336
11337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11338
11339         [BZ #14120]
11340         * configure.ac: Added --enable-maintainer-mode. Check for
11341         autoconf when enabled.
11342         * configure: Regenerated.
11343
11344         * nscd/nscd.service: New file.
11345         * nscd/nscd.tmpfiles: New file.
11346
11347 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11348
11349         [BZ #12100]
11350         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11351         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11352         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11353         (strstr): Add __strstr_sse2_unaligned ifunc.
11354         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11355         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11356         (strcasestr): Remove __strcasestr_sse42 ifunc.
11357         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11360
11361 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11362
11363         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11364         * sysdeps/sh/bits/fenv.h: ... here.
11365         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11366
11367 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11368
11369         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11370
11371         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11372         hypotf multiarch implementations.
11373         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11374         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11375         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11376         multiarch hypot for PPC64.
11377         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11378         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11379         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11380         multiarch hypotf for PPC64.
11381
11382         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11383         modff multiarch implementations.
11384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11387         multiarch modf for PPC64.
11388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11391         multiarch modff for PPC64.
11392
11393         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11394         and logl multiarch implementations.
11395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11398         multiarch logb for PPC64.
11399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11402         multiarch logb for PPC64.
11403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11406         multiarch logb for PPC64.
11407
11408         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11409         isinff multiarch implementation.
11410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11411         file.
11412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11414         multiarch isinf for PPC64.
11415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11416         file.
11417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11418         multiarch isinff for PPC64.
11419
11420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11421         finitef multiarch implementation.
11422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11423         file.
11424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11426         multiarch finite for PPC64.
11427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11428         file.
11429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11430         multiarch finitef for PPC64.
11431
11432         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11433         lrint multiarch implementation.
11434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11435         file.
11436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11438         multiarch llrint for PPC64.
11439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11440         multiarch lrint for PPC64.
11441
11442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11443         copysignf multiarch implementation.
11444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11445         file.
11446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11447         file.
11448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11449         multiarch copysign for PPC64.
11450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11451         multiarch copysignf for PPC64.
11452
11453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11454         multiarch implementation.
11455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11456         file.
11457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11458         file.
11459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11460         file.
11461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11462         file.
11463         multiarch llround for PPC64.
11464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11465         multiarch trunc for PPC64.
11466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11467         multiarch truncf for PPC64.
11468
11469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11470         multiarch implementation.
11471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11472         file.
11473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11474         file.
11475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11476         file.
11477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11478         file.
11479         multiarch llround for PPC64.
11480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11481         multiarch round for PPC64.
11482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11483         multiarch roundf for PPC64.
11484
11485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11486         multiarch implementation.
11487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11488         file.
11489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11490         file.
11491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11492         file.
11493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11494         file.
11495         multiarch llround for PPC64.
11496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11497         multiarch floor for PPC64.
11498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11499         multiarch floorf for PPC64.
11500
11501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11502         multiarch implementation.
11503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11504         file.
11505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11506         file.
11507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11508         file.
11509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11510         file.
11511         multiarch llround for PPC64.
11512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11513         multiarch ceil for PPC64.
11514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11515         multiarch ceilf for PPC64.
11516
11517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11518         multiarch implementation.
11519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11520         file.
11521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11522         file.
11523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11524         file.
11525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11526         multiarch llround for PPC64.
11527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11528         multiarch lround for PPC64.
11529
11530         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11531         multiarch implementation.
11532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11535         file.
11536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11539         multiarch isnan for PPC64.
11540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11541         multiarch isnanf for PPC64.
11542
11543         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11544         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11545         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11546         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11547         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11549
11550         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11551         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11552         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11553         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11554
11555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11556         multiarch implementations.
11557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11558         (__libc_ifunc_impl_list): Likewise.
11559         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11560         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11561         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11562         multiarch stpcpy for PPC64.
11563
11564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11565         multiarch implementations.
11566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11567         (__libc_ifunc_impl_list): Likewise.
11568         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11569         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11570         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11571         multiarch strcpy for PPC64.
11572
11573         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11574         redefine function name.
11575         (_wordcopy_fwd_dest_aligned): Likewise.
11576         (_wordcopy_bwd_aligned): Likewise.
11577         (_wordcopy_bwd_dest_aligned): Likewise.
11578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11579         multiarch implementations.
11580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11581         (__libc_ifunc_impl_list): Likewise.
11582         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11583         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11584         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11585         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11586         multiarch wcscpy for PPC64.
11587
11588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11589         multiarch implementations.
11590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11591         (__libc_ifunc_impl_list): Likewise.
11592         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11593         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11594         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11595         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11596         multiarch wcscpy for PPC64.
11597
11598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11599         multiarch implementations.
11600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11601         (__libc_ifunc_impl_list): Likewise.
11602         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11603         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11604         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11605         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11606         multiarch wcsrchr for PPC64.
11607
11608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11609         multiarch implementations.
11610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11611         (__libc_ifunc_impl_list): Likewise.
11612         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11613         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11614         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11615         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11616         multiarch wcschr for PPC64.
11617
11618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11619         multiarch implementations.
11620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11621         (__libc_ifunc_impl_list): Likewise.
11622         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11623         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11624         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11625         multiarch strchrnul for PPC64.
11626
11627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11628         implementations.
11629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11630         (__libc_ifunc_impl_list): Likewise.
11631         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11632         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11633         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11634         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11635         strchr for PPC64.
11636
11637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11638         implementations.
11639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11640         (__libc_ifunc_impl_list): Likewise.
11641         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11642         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11643         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11644         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11645         strncmp for PPC64.
11646
11647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11648         multiarch implementations.
11649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11650         (__libc_ifunc_impl_list): Likewise.
11651         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11652         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11653         strncasecmp for PPC64.
11654         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11655         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11656         multiarch strncasecmp_l for PPC64.
11657
11658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11659         multiarch implementations.
11660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11661         (__libc_ifunc_impl_list): Likewise.
11662         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11663         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11664         multiarch strcasecmp for PPC64.
11665         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11666         file.
11667         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11668         multiarch strcasecmp_l for PPC64.
11669
11670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11671         implementations.
11672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11673         (__libc_ifunc_impl_list): Likewise.
11674         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11675         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11676         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11677         strnlen for PPC64.
11678
11679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11680         implementations.
11681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11682         (__libc_ifunc_impl_list): Likewise.
11683         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11684         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11685         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11686         strlen for PPC64.
11687
11688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11689         implementations.
11690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11691         (__libc_ifunc_impl_list): Likewise.
11692         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11693         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11694         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11695         rawmemrchr for PPC64.
11696
11697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11698         implementation.
11699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11700         (__libc_ifunc_impl_list): Likewise.
11701         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11702         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11703         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11704         memrchr for PPC64.
11705
11706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11707         implementation.
11708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11709         (__libc_ifunc_impl_list): Likewise.
11710         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11711         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11712         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11713         memchr for PPC64.
11714
11715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11716         implementation.
11717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11718         (__libc_ifunc_impl_list): Likewise.
11719         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11720         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11721         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11722         mempcpy for PPC64.
11723
11724         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11725         avoid cretion of __bzero symbol.
11726         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11727         Likewise.
11728         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11729         Likewise.
11730         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11731         Likewise.
11732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11733         multiarch implementations.
11734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11735         (__libc_ifunc_impl_list): Likewise.
11736         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11737         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11738         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11739         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11740         bzero for PPC32.
11741         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11742         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11743         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11744         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11745         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11746         memset for PPC64.
11747         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11748
11749         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11751         implementations.
11752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11753         (__libc_ifunc_impl_list): Likewise.
11754         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11755         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11756         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11757         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11758         memcmp for PPC64.
11759
11760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11761         multiarch for POWER/PPC64.
11762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11763         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11764         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11765         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11766         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11767         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11768         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11769         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11770         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11771         memcpy for PPC64.
11772
11773         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11774         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11775         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11776         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11777         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11778         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11779         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11780         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11781         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11782         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11783         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11784         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11785         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11786         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11787         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11795
11796 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11797
11798         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11799
11800 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11801
11802         * benchtests/Makefile (bench): Add exp2 and log2.
11803         (LDLIBS-bench-exp2): Add -lm.
11804         (LDLIBS-bench-log2): Likewise.
11805         * benchtests/exp2-inputs: New inputs file.
11806         * benchtests/log2-inputs: New inputs file.
11807         * benchtests/log-inputs: Add new inputs.
11808         * benchtests/tan-inputs: Likewise.
11809
11810 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11811
11812         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11813         definition...
11814         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11815         (csloww2): ... from here.
11816
11817         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11818         instead of structures.
11819         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11820         (POLYNOMIAL): Likewise.
11821         (TAYLOR_SLOW): Likewise.
11822         (__sin): Likewise.
11823         (__cos): Likewise.
11824         (slow1): Likewise.
11825         (slow2): Likewise.
11826         (sloww): Likewise.
11827         (sloww1); Likewise.
11828         (sloww2): Likewise.
11829         (bsloww1): Likewise.
11830         (bsloww2): Likewise.
11831         (cslow2): Likewise.
11832         (csloww): Likewise.
11833         (csloww1): Likewise.
11834         (csloww2): Likewise.
11835
11836 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11837
11838         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11839         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11840         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11841         * malloc/hooks.c (realloc_check): Likewise.
11842
11843         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11844         * malloc/arena.c: Remove PER_THREAD conditional.
11845         [!PER_THREAD]: Remove code.
11846         (ptmalloc_unlock_all2): Likewise.
11847         (ptmalloc_init): Likewise.
11848         (_int_new_arena): Likewise.
11849         (arena_get2): Likewise.
11850         * malloc/hooks.c (__malloc_get_state): Likewise.
11851         (__malloc_set_state): Likewise.
11852         * malloc/malloc.c: Likewise.
11853         (struct malloc_state): Likewise.
11854         (struct malloc_par): Likewise.
11855         (__libc_realloc): Likewise.
11856         (__libc_mallopt): Likewise.
11857
11858 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11859
11860         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11861
11862 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11863
11864         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11865         macro to a function.  Check for zero perturb_byte.
11866         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11867
11868         * malloc/malloc.c: (force_reg): Remove.
11869         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11870         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11871         force_reg by atomic_forced_read.
11872         * malloc/arena.c (ptmalloc_init): Likewise.
11873         * malloc/hooks.c (top_check): Likewise.
11874
11875 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11876
11877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11878
11879 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11880
11881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11882
11883 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11884
11885         * math/auto-libm-test-in: Add tests of lgamma.
11886         * math/auto-libm-test-out: Regenerated.
11887         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11888         (M_LOG_2_SQRT_PIl): Likewise.
11889         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11890         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11891         mpfr_f_f1.
11892         (func_calc_desc): Add mpfr_f_f1 union field.
11893         (ARGS1): New macro.
11894         (ARGS2): Likewise.
11895         (ARGS3): Likewise.
11896         (ARGS4): Likewise.
11897         (RET1): Likewise.
11898         (RET2): Likewise.
11899         (CALC): Likewise.
11900         (FUNC): Likewise.
11901         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11902         (test_functions): Add lgamma.
11903         (calc_generic_results): Handle mpfr_f_f1.
11904         * sysdeps/i386/fpu/libm-test-ulps: Update.
11905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11906
11907 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11908
11909         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11910         __mpn_add_n for PowerPC64/POWER7.
11911         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11912         __mpn_sub_n for PowerPC64/POWER7.
11913
11914         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11915         __mpn_addmul_1 for PowerPC64.
11916         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11917         __mpn_submul_1 for PowerPC64.
11918         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11919         for PowerPC64.
11920         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11921         for PowerPC64.
11922
11923 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11924
11925         [BZ #15089]
11926         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11927
11928 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11929
11930         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11931
11932         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11933         add multiarch folders.
11934         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11935         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11936         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11937         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11938         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11939         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11940         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11941         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11942         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11943         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11944         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11951
11952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11953         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11955         New file.
11956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11957         New file.
11958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11959         multiarch __ieee754_hypot for PowerPC32.
11960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11961         New file.
11962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11963         New file.
11964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11965         multiarch __ieee754_hypotf for PowerPC32.
11966
11967         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11968         long_double_symbol only if __logbl is defined.
11969         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11970         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11971         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11972         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11973         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11974         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11975         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11976         path for implementation.
11977         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11978         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11980         logb, and logbl multiarch implementations for PowerPC32.
11981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11982         file.
11983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11984         file.
11985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11986         multiarch logb for PowerPC32.
11987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11988         file.
11989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11990         file.
11991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11992         multiarch logbf for PowerPC32.
11993         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11995         file.
11996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11997         multiarch logbl implementation for PowerPC32.
11998
11999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12000         and modff multiarch implementations.
12001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12002         New file.
12003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12004         New file.
12005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12006         multiarch modf for PowerPC32.
12007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12008         New file.
12009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12010         New file.
12011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12012         multiarch modff for PowerPC32.
12013
12014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12015         and lrintf multiarch implementations.
12016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12017         New file.
12018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12019         New file.
12020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12021         multiarch lrint for PowerPC32.
12022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12023         file: multiarch lrintf for PowerPC32.
12024
12025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12026         and lroundf multiarch implementations.
12027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12028         New file.
12029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12030         New file.
12031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12032         New file.
12033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12034         multiarch lround for PowerPC32.
12035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12036         file: multiarch lroundf for PowerPC32.
12037
12038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12039         copysign and copysignf multiarch implementations.
12040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12041         New file.
12042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12043         New file.
12044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12045         file: multiarch copysign for PowerPC32.
12046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12047         file: multiarch copysignf for PowerPC32.
12048
12049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12050         and truncf multiarch implementations.
12051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12052         New file.
12053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12054         file.
12055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12056         multiarch trunc for PowerPC32.
12057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12058         New file.
12059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12060         New file.
12061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12062         multiarch truncf for PowerPC32.
12063
12064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12065         and roundf multiarch implementations.
12066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12067         New file.
12068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12069         file.
12070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12071         multiarch round for PowerPC32.
12072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12073         New file.
12074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12075         New file.
12076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12077         multiarch roundf for PowerPC32.
12078
12079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12080         and floorf multiarch implementations.
12081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12082         New file.
12083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12084         file.
12085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12086         multiarch floor for PowerPC32.
12087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12088         New file.
12089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12090         New file.
12091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12092         multiarch floorf for PowerPC32.
12093
12094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12095         and ceilf multiarch implementations.
12096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12097         New file.
12098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12099         file.
12100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12101         multiarch ceil for PowerPC32.
12102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12103         New file.
12104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12105         file.
12106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12107         multiarch ceilf for PowerPC32.
12108
12109         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12110         is defined.
12111         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12112         FINITEF is defined.
12113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12114         and finitef multiarch implementations.
12115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12116         New file.
12117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12118         file.
12119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12120         multiarch finite for PowerPC32.
12121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12122         New file.
12123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12124         file: multiarch finitef for PowerPC32.
12125
12126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12127         and isinff multiarch implementations.
12128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12129         file.
12130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12131         file.
12132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12133         multiarch isinf for PowerPC32.
12134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12135         New file.
12136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12137         multiarch isinff for PowerPC32.
12138
12139         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12140         alias when __isnan is defined.
12141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12142         and isnanf multiarch implementations.
12143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12144         file.
12145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12146         file.
12147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12148         file.
12149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12150         file.
12151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12152         multiarch isnan for PowerPC32.
12153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12154         New file.
12155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12156         New file.
12157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12158         multiarch isnanf for PowerPC32.
12159
12160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12161         and sqrtf multiarch implementations.
12162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12163         file.
12164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12165         file.
12166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12167         multiarch sqrt for PowerPC32.
12168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12169         file.
12170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12171         file.
12172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12173         multiarch sqrtf for PowerPC32.
12174
12175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12176         and llroundf multiarch implementations.
12177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12178         New file.
12179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12180         New file.
12181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12182         New file.
12183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12184         file: multiarch llround for PowerPC32.
12185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12186         file: multiarch llroundf for PowerPC32.
12187
12188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12189         multiarch PowerPC32 fpu implementations.
12190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12191         New file.
12192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12193         New file.
12194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12195         multiarch llrint for PowerPC32.
12196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12197         New file.
12198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12199         New file.
12200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12201         file.
12202
12203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12204
12205         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12206         file.
12207         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12208         file.
12209         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12210         file.
12211         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12212         multiarch wordcopy for PPC32.
12213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12214         wordcopy objects.
12215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12216         (__libc_ifunc_impl_list): Likewise.
12217         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12218         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12219         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12220         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12221         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12222         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12223
12224         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12226         file.
12227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12228         file.
12229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12230         file.
12231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12232         multiarch wcscpy for PPC32.
12233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12234         multiarch objects.
12235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12236         (__libc_ifunc_impl_list): Likewise.
12237         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12238         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12239         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12240         sysdeps/powerpc/power6/wcscpy.c.
12241
12242         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12243         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12244         file.
12245         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12246         file.
12247         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12248         file.
12249         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12250         multiarch wcsrchr for PPC32.
12251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12252         multiarch objects.
12253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12254         (__libc_ifunc_impl_list): Likewise.
12255         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12256         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12257         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12258         sysdeps/powerpc/power6/wcsrchr.c.
12259
12260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12261         file.
12262         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12263         file.
12264         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12265         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12266         multiarch wcschr for PPc32.
12267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12268         multiarch objects.
12269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12270         (__libc_ifunc_impl_list): Likewise.
12271         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12272         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12273         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12274         sysdeps/powerpc/power6/wcschr.c.
12275
12276         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12277         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12278         file.
12279         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12280         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12281         file: multiarch strchr for PPC32.
12282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12283         multiarch objects.
12284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12285         (__libc_ifunc_impl_list): Likewise.
12286
12287         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12288         name.
12289         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12290         file.
12291         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12292         file.
12293         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12294         multiarch strchrnul for PPC32.
12295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12296         multiarch objects.
12297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12298         (__libc_ifunc_impl_list): Likewise.
12299
12300         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12301         file.
12302         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12303         multiarch strncasecmp for PPC32.
12304         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12305         file.
12306         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12307         multiarch strncasecmp_l for PPC32.
12308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12309         strncasecmp multiarch objects.
12310         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12311         (__libc_ifunc_impl_list): Likewise.
12312
12313         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12314         file.
12315         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12316         multiarch strncasecmp for PPC32.
12317         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12318         New file.
12319         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12320         multiarch strcasecmp_l for PPC32.
12321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12322         multiarch objects.
12323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12324         (__libc_ifunc_impl_list): Likewise.
12325
12326         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12327         file.
12328         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12329         file.
12330         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12331         multiarch strncmp for PPC32.
12332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12333         multiarch objects.
12334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12335         (__libc_ifunc_impl_list): Likewise.
12336
12337         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12338         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12339         file.
12340         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12341         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12343         multiarch objects.
12344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12345         (__libc_ifunc_impl_list): Likewise.
12346
12347         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12348         file.
12349         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12350         file.
12351         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12353         multiarch objects.
12354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12355         (__libc_ifunc_impl_list): Likewise.
12356
12357         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12358         file.
12359         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12360         file.
12361         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12362         multiarch rawmemchr for PPC32.
12363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12364         multiarch objects.
12365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12366         (__libc_ifunc_impl_list): Likewise.
12367
12368         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12369         file.
12370         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12371         file.
12372         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12373         file: memrchr multiarch for PPC32.
12374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12375         multiarch objects.
12376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12377         (__libc_ifunc_impl_list): Likewise.
12378
12379         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12380         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12381         file.
12382         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12383         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12384         multiarch memchr for PPC32.
12385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12386         multiarch objects.
12387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12388         (__libc_ifunc_impl_list): Likewise.
12389
12390         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12391         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12392         file.
12393         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12394         file.
12395         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12396         file: multiarch mempcpy for PPC32.
12397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12398         multiarch objects.
12399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12400         (__libc_ifunc_impl_list): Likewise.
12401
12402         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12403         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12404         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12405         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12406         multiarch bzero for PPC32.
12407         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12408         file.
12409         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12410         file.
12411         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12412         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12413         file: multiarch memset for PPC32.
12414         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12415         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12416         memset multiarch objects.
12417         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12418         (__libc_ifunc_impl_list): Likewise.
12419
12420         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12421         file.
12422         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12423         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12424         memcmp for PPC32.
12425         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12426         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12427         multiarch objects.
12428         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12429         (__libc_ifunc_impl_list): Likewise.
12430
12431         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12432         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12433         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12434         file.
12435         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12436         file.
12437         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12438         file.
12439         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12440         multiarch memcpy for PPC32.
12441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12442         multiarch objects.
12443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12444         (__libc_ifunc_impl_list): Likewise.
12445
12446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12447         support multiarch for POWER/PPC32.
12448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12449         Likewise.
12450         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12452         Implies file to make multiarch folder appers before the fpu and
12453         default folder for power4 configuration.
12454
12455 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12456
12457         * scripts/bench.pl: Append volatile keyword to type.
12458
12459 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12460
12461         * sysdeps/sh/sotruss-lib.c: New file.
12462         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12463
12464 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12465
12466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12467
12468 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12469
12470         [BZ #6810]
12471         * math/w_tgamma.c: Include <errno.h>.
12472         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12473         * math/w_tgammaf.c: Include <errno.h>.
12474         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12475         * math/w_tgammal.c: Include <errno.h>.
12476         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12477         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12478         underflow.  Add more tgamma tests.
12479         * math/auto-libm-test-out: Regenerated.
12480         * sysdeps/i386/fpu/libm-test-ulps: Update.
12481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12482
12483         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12484         sin, sinh, tan, tanh, tgamma, y0 and y1.
12485         * math/auto-libm-test-out: Regenerated.
12486         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12487         (TEST_COND_x86): Likewise.
12488         (M_E2l): Remove macro.
12489         (M_E3l): Likewise.
12490         (M_2_SQRT_PIl): Likewise.
12491         (M_SQRT_PIl): Likewise.
12492         (M_1_DIV_El): Likewise.
12493         (log_test_data): Use AUTO_TESTS_f_f.
12494         (log10_test_data): Likewise.
12495         (log1p_test_data): Likewise.
12496         (log2_test_data): Likewise.
12497         (sin_test_data): Likewise.
12498         (sin_tonearest_test_data): Likewise.
12499         (sin_towardzero_test_data): Likewise.
12500         (sin_downward_test_data): Likewise.
12501         (sin_upward_test_data): Likewise.
12502         (sinh_test_data): Likewise.
12503         (sinh_tonearest_test_data): Likewise.
12504         (sinh_towardzero_test_data): Likewise.
12505         (sinh_downward_test_data): Likewise.
12506         (sinh_upward_test_data): Likewise.
12507         (tan_test_data): Likewise.
12508         (tan_tonearest_test_data): Likewise.
12509         (tan_towardzero_test_data): Likewise.
12510         (tan_downward_test_data): Likewise.
12511         (tan_upward_test_data): Likewise.
12512         (tanh_test_data): Likewise.
12513         (tgamma_test_data): Likewise.
12514         (y0_test_data): Likewise.
12515         (y1_test_data): Likewise.
12516         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12517         (special_real_inputs): Add pi/4.
12518         * sysdeps/i386/fpu/libm-test-ulps: Update.
12519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12520
12521 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12522
12523         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12524         "longjmp_target" static probes.
12525         (__longjmp): Rename to __longjmp_symbol.
12526         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12527         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12528         on which longjmp to generate.
12529         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12530         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12531         probe.
12532         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12533         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12534         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12535         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12536         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12537         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12539         __longjmp_symbol based on which __longjmp to generate.
12540         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12541         probe.
12542         (setjmp): Rename to setjmp_symbol.
12543         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12544         (_setjmp): Rename to _setjmp_symbol.
12545         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12546         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12547         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12548         which setjmp to generate.
12549         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12550         "longjmp_target" static probes.
12551
12552 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12553
12554         * benchtests/README: Add note about output arguments.
12555         * benchtests/bench-sincos.c: Remove file.
12556         * benchtests/sincos-inputs: New file.
12557         * scripts/bench.pl: Identify output arguments and define
12558         static variables for them.
12559
12560         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12561
12562         [BZ #15941]
12563         * Makefile (INSTALL): Add install-plain.texi as the primary
12564         dependency.
12565         * manual/install-plain.texi: New file.
12566         * manual/install.texi: Include node directive only for
12567         non-plaintext output.
12568
12569 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12570
12571         * stdlib/longlong.h: Update from GCC.
12572
12573         [BZ #6807]
12574         [BZ #15901]
12575         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12576         * math/w_j0f.c (y0f): Likewise.
12577         * math/w_j0l.c (__y0l): Likewise.
12578         * math/w_j1.c (y1): Likewise.
12579         * math/w_j1f.c (y1f): Likewise.
12580         * math/w_j1l.c (__y1l): Likewise
12581         * math/w_jn.c (yn): Likewise.
12582         * math/w_jnf.c (ynf): Likewise.
12583         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12584         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12585         value for Bessel function domain errors outside _SVID_ mode.
12586         Adjust sign of return value for yn (negative integer, 0).
12587         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12588         by zero in return for negative x and set sign appropriately for
12589         negative n.
12590         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12591         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12592         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12593         expectations in error cases.
12594         (y1_test_data): Likewise.
12595         (yn_test_data): Likewise.
12596         * sysdeps/i386/fpu/libm-test-ulps: Update.
12597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12598
12599 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12600
12601         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12602         "64" to "64-v1".  Add "64-v2".
12603         (abi-64-options): Rename to ...
12604         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12605         (abi-64-condition): Rename to ...
12606         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12607         (abi-64-ld-soname): Rename to ...
12608         (abi-64-v1-ld-soname): ... this.
12609         (abi-64-v2-options): Define.
12610         (abi-64-v2-condition): Likewise.
12611         (abi-64-v2-ld-soname): Likewise.
12612         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12613         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12617
12618 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12619             Alan Modra  <amodra@gmail.com>
12620
12621         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12622         New versions for use with the ELFv2 ABI.
12623         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12624         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12625         declaration.
12626         (struct La_ppc64v2_retval): Likewise.
12627         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12628         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12629         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12630         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12631         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12632         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12633         Do not save or restore CR.
12634         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12635         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12636         return values for ELFv2 ABI.  Fix location of FPR return registers.
12637         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12638         updated values for _CALL_ELF == 2.
12639         (La_regs, La_retval, int_retval): Likewise.
12640
12641 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12642
12643         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12644         (FRAME_MIN_SIZE_PARM): Likewise.
12645         (FRAME_BACKCHAIN): Likewise.
12646         (FRAME_CR_SAVE): Likewise.
12647         (FRAME_LR_SAVE): Likewise.
12648         (FRAME_TOC_SAVE): Likewise.
12649         (FRAME_PARM_SAVE): Likewise.
12650         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12651         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12652         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12653         (call_mcount_parm_offset): New macro.
12654         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12655         (PROF): Use symbolic stack frame offsets.
12656         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12657         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12658         Redefine in terms of FRAME_MIN_SIZE.
12659         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12660         (_dl_profile_resolve): Likewise.  Update comment.
12661         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12662         symbols stack frame offsets.
12663         (__sigsetjmp): Likewise.
12664         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12665         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12666         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12667         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12668
12669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12670         (FRAME_BACKCHAIN): Remove.
12671         (FRAME_CR_SAVE): Likewise.
12672         (FRAME_LR_SAVE): Likewise.
12673         (FRAME_COMPILER_DW): Likewise.
12674         (FRAME_LINKER_DW): Likewise.
12675         (FRAME_TOC_SAVE): Likewise.
12676         (FRAME_PARM_SAVE): Likewise.
12677         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12678         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12679         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12681         (CHECK_SP): Use symbolic stack frame offsets.
12682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12683         zone" instead of caller's parameter save area for temp storage.
12684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12685         Likewise.  Also, use symbolic stack frame offsets.
12686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12687         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12688         our own stack frame instead of the caller's.
12689         (__socket): Use symbolic stack frame offsets.
12690
12691 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12692             Alan Modra  <amodra@gmail.com>
12693
12694         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12695         Define.
12696         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12697         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12698         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12699         New function.
12700         (elf_machine_fixup_plt): Call it.
12701         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12702         reloc arguments.
12703         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12704         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12705         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12706         r2 before calling target.
12707
12708 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12709             Alan Modra  <amodra@gmail.com>
12710
12711         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12712         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12713         versions of macros to support ELFv2 ABI.
12714         (LOCALENTRY): New macro.
12715         (ENTRY, EALIGN): Use it.
12716         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12717         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12718         fall through into ENTRY entry point.
12719         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12720         Only define if _CALL_ELF != 2.
12721
12722         (elf_machine_matches_host): Verify ABI version matches.
12723         (RTLD_START): Use LOCALENTRY.
12724         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12725         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12726         (PLT_ENTRY_WORDS): New macro.
12727         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12728         (elf_machine_runtime_setup): Support ELFv2 ABI.
12729         (elf_machine_fixup_plt): Likewise.
12730         (elf_machine_plt_conflict): Likewise.
12731         (resolve_ifunc): Likewise.
12732         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12733         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12734         Likewise.
12735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12736         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12738         (makecontext): Support ELFv2 ABI.
12739         * elf/elf.h (EF_PPC64_ABI): Define.
12740
12741 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12742
12743         * sysdeps/powerpc/powerpc64/sysdep.h
12744         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12745         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12746         (ENTRY) [ASSEMBLER]: ... but instead here ...
12747         (EALIGN) [ASSEMBLER]: ... and here.
12748         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12749         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12750         (ENTRY_2) [!ASSEMBLER]: Use it.
12751         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12752         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12753         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12754         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12755         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12757         Use PPC64_LOAD_FUNCPTR.
12758
12759         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12760
12761 2013-12-04  Alan Modra  <amodra@gmail.com>
12762
12763         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12764         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12765         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12766         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12767
12768         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12769         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12770         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12771         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12772         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12773         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12774
12775 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12776
12777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12778         (__makecontext): Fix incorrect CFI when backtracing out of
12779         context created via makecontext.
12780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12781         (__setcontext): Fix incorrect CFI during switch to new context.
12782         (__novec_setcontext): Likewise.
12783
12784 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12785
12786         [BZ #4772]
12787         * time/strptime_l.c (__strptime_internal): Allow modifiers
12788         in strptime.
12789         * time/tst-strptime.c (day_tests): Add testcase.
12790
12791 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12792
12793         * scripts/bench.pl: Skip over blank lines.
12794
12795 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12796
12797         [BZ #926]
12798         * manual/time.texi (Calendar Time): Clarify what timezone functions
12799         use.
12800
12801 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12802
12803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12804
12805 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12806
12807         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12808         implementation.
12809         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12810         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12811         * debug/memset_chk.c (__memset_chk): Likewise.
12812         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12813         * debug/strncpy_chk.c: Likewise.
12814
12815 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12816
12817         [BZ #15268]
12818         [BZ #15425]
12819         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12820         (__ieee754_exp): For possibly underflowing results, check size of
12821         result and force underflow exception if required.
12822         * math/auto-libm-test-in: Add more tests of exp.
12823         * math/auto-libm-test-out: Regenerated.
12824         * sysdeps/i386/fpu/libm-test-ulps: Update.
12825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12826
12827         [BZ #16283]
12828         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12829         * math/w_exp2f.c (__exp2f): Likewise.
12830         * math/w_exp2l.c (__exp2l): Likewise.
12831         * math/auto-libm-test-in: Do not allow missing errno on exp2
12832         underflow.
12833         * math/auto-libm-test-out: Regenerated.
12834
12835 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12836
12837         [BZ #16274]
12838         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12839         handle filename validation.
12840         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12841         (do_open): Delete.
12842
12843 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12844
12845         [BZ #6786]
12846         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12847         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12848         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12849         <float.h>.
12850         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12851         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12852         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12853         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12854         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12855         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12856         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12857         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12858         Add more erfc tests.
12859         * math/auto-libm-test-out: Regenerated.
12860         * sysdeps/i386/fpu/libm-test-ulps: Update.
12861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12862
12863         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12864         exp2, expm1, j0 and j1.
12865         * math/auto-libm-test-out: Regenerated.
12866         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12867         (erfc_test_data): Likewise.
12868         (exp_test_data): Likewise.
12869         (exp_tonearest_test_data): Likewise.
12870         (exp_towardzero_test_data): Likewise.
12871         (exp_downward_test_data): Likewise.
12872         (exp_upward_test_data): Likewise.
12873         (exp10_test_data): Likewise.
12874         (exp2_test_data): Likewise.
12875         (expm1_test_data): Likewise.
12876         (j0_test_data): Likewise.
12877         (j1_test_data): Likewise.
12878         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12879         (input_flag_type): Add flag_xfail_rounding.
12880         (input_flags): Add xfail-rounding.
12881         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12882         (output_for_one_input_case): Handle flag_xfail_rounding.
12883         * sysdeps/i386/fpu/libm-test-ulps: Update.
12884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12885
12886 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12887
12888         [BZ #16289]
12889         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12890         division by 0.
12891
12892 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12893
12894         [BZ #16195]
12895         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12896         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12897         (STAP_PROBE0): New macro.
12898         (STAP_PROBE1): Likewise.
12899         (STAP_PROBE2): Likewise.
12900         (STAP_PROBE3): Likewise.
12901         (STAP_PROBE4): Likewise.
12902
12903 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12904
12905         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12906
12907 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12908
12909         * benchtests/Makefile (bench): Add sqrt.
12910         (LDLIBS-bench-sqrt): New.
12911         * benchtests/sqrt-input: New.
12912
12913 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12914
12915         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12916         (GAIH_EAI): Likewise.
12917         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12918         (gaih_inet): Likewise.
12919         (getaddrinfo): Don't use GAIH_EAI.
12920
12921         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12922         (struct gaih): Remove definition.
12923
12924 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12925
12926         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12927         Use HERRNOP directly.
12928
12929 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12930
12931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12932
12933 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12934
12935         * math/gen-auto-libm-tests.c (test_functions): Add more
12936         single-argument functions.
12937         (special_fill_pi_2): New function.
12938         (special_fill_minus_pi_2): Likewise.
12939         (special_fill_pi_6): Likewise.
12940         (special_fill_minus_pi_6): Likewise.
12941         (special_fill_pi_3): Likewise.
12942         (special_fill_2pi_3): Likewise.
12943         (special_fill_e): Likewise.
12944         (special_fill_1_e): Likewise.
12945         (special_fill_e_minus_1): Likewise.
12946         (special_real_inputs): Add more special inputs.
12947         (output_for_one_input_case): Do not require ERANGE on underflow to
12948         zero if round-to-nearest result does not underflow to zero, unless
12949         exact results required.
12950         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12951         atan, atanh, cbrt, cos and cosh.
12952         * math/auto-libm-test-out: Regenerated.
12953         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12954         (acos_tonearest_test_data): Likewise.
12955         (acos_towardzero_test_data): Likewise.
12956         (acos_downward_test_data): Likewise.
12957         (acos_upward_test_data): Likewise.
12958         (acosh_test_data): Likewise.
12959         (asin_test_data): Likewise.
12960         (asin_tonearest_test_data): Likewise.
12961         (asin_towardzero_test_data): Likewise.
12962         (asin_upward_test_data): Likewise.
12963         (asinh_test_data): Likewise.
12964         (atan_test_data): Likewise.
12965         (atanh_test_data): Likewise.
12966         (cbrt_test_data): Likewise.
12967         (cos_test_data): Likewise.
12968         (cos_tonearest_test_data): Likewise.
12969         (cos_towardzero_test_data): Likewise.
12970         (cos_downward_test_data): Likewise.
12971         (cos_upward_test_data): Likewise.
12972         (cosh_test_data): Likewise.
12973         (cosh_tonearest_test_data): Likewise.
12974         (cosh_towardzero_test_data): Likewise.
12975         (cosh_downward_test_data): Likewise.
12976         (cosh_upward_test_data): Likewise.
12977         * sysdeps/i386/fpu/libm-test-ulps: Update.
12978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12979
12980 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12981
12982         [BZ #6787]
12983         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12984         * math/w_exp10f.c (__exp10f): Likewise.
12985         * math/w_exp10l.c (__exp10l): Likewise.
12986         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12987         errno settings in existing tests.
12988
12989         [BZ #14032]
12990         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12991         precision control set to double precision.
12992         * sysdeps/i386/fpu/w_sqrt.c: New file.
12993         * math/auto-libm-test-in: Add more tests.
12994         * math/auto-libm-test-out: Update.
12995
12996         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12997         (sqrt_test_tonearest): New function.
12998         (sqrt_towardzero_test_data): New variable.
12999         (sqrt_test_towardzero): New function.
13000         (sqrt_downward_test_data): New variable.
13001         (sqrt_test_downward): New function.
13002         (sqrt_upward_test_data): New variable.
13003         (sqrt_test_upward): New function.
13004         (main): Call the new functions.
13005
13006         * math/gen-auto-libm-tests.c: New file.
13007         * math/auto-libm-test-in: Likewise.
13008         * math/auto-libm-test-out: New generated file.
13009         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13010         variables.
13011         (%beautify): Add generated representations of zero.
13012         (top level): Set $auto_input and call parse_auto_input.
13013         (beautify): Remove trailing "f" from hex float constants.
13014         (parse_args): Handle XFAIL_TEST.
13015         (convert_condition): New function.
13016         (or_value): Likewise.
13017         (or_cond_value): Likewise.
13018         (generate_testfile): Handle AUTO_TESTS_* lines.
13019         (parse_auto_input): New function.
13020         * math/libm-test.inc (XFAIL_TEST): New macro.
13021         (ERRNO_UNCHANGED): Update value.
13022         (ERRNO_EDOM): Likewise.
13023         (ERRNO_ERANGE): Likewise.
13024         (IGNORE_RESULT): Likewise.
13025         (TEST_COND_flt_32): New macro.
13026         (TEST_COND_dbl_64): Likewise.
13027         (TEST_COND_ldbl_96_intel): Likewise.
13028         (TEST_COND_ldbl_96_m68k): Likewise.
13029         (TEST_COND_ldbl_128): Likewise.
13030         (TEST_COND_ldbl_128ibm): Likewise.
13031         (TEST_COND_long32): Likewise.
13032         (TEST_COND_long64): Likewise.
13033         (TEST_COND_before_rounding): Likewise.
13034         (TEST_COND_after_rounding): Likewise.
13035         (enable_test): Handle XFAIL_TEST flag.
13036         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13037         with finite results.
13038         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13039         auto-libm-test-out.
13040
13041 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13042             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13043
13044         [BZ #16214]
13045         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13046         __tls_get_addr_internal instead of __tls_get_offset in order to
13047         avoid GOT pointer dependency.  Make rtld export
13048         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13049         __tls_get_addr since we are a __tls_get_offset platform.
13050         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13051         GOT pointer being set up before.
13052         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13053
13054 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13055
13056         * manual/math.texi (Errors in Math Functions): Document accuracy
13057         goals.
13058
13059         [BZ #15004]
13060         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13061         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13062         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13063         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13064         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13065         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13066         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13067         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13068         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13069         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13070         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13071         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13072         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13073         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13074         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13075         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13076
13077         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13078         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13079         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13080         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13081         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13082         Likewise.
13083         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13084         Likewise.
13085         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13086         Likewise.
13087         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13088         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13089         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13090         atomic-feupdateenv and flt-rounds.
13091         * sysdeps/powerpc/nofpu/Versions (libc): Add
13092         __atomic_feholdexcept, __atomic_feclearexcept,
13093         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13094         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13095         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13096         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13097         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13098         here.
13099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13100         Update.
13101
13102         * manual/arith.texi (FP Exceptions): Document that exceptions may
13103         not be raised when matherr is used.
13104         (Math Error Reporting): Document overflow in directed rounding
13105         modes.  Document that errno may not be set when finite values are
13106         returned on overflow.  Document intent to set errno on underflow
13107         only for underflow to zero.
13108
13109         [BZ #16271]
13110         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13111         round-to-nearest then adjust result for other rounding modes.
13112         * include/fenv.h (fegetround): Use libm_hidden_proto.
13113         * math/fegetround.c (fegetround): Use libm_hidden_def.
13114         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13115         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13116         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13117         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13118         Likewise.
13119         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13120         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13121         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13122         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13123
13124 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13125
13126         [BZ #16077]
13127         * nss/Versions (libnss_files): Add
13128         _nss_files_gethostbyname3_r.
13129         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13130         New function.
13131         (HOST_DB_LOOKUP): Remove macro.
13132         (_nss_files_gethostbyname_r): Implement function without the
13133         HOST_DB_LOOKUP macro.
13134         (_nss_files_gethostbyname2_r): Likewise.
13135
13136 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13137
13138         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13139
13140 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13141
13142         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13143         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13144         warning.
13145
13146 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13147
13148         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13149         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13150         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13151         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13152         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13153         __fe_nomask_env_priv and attribute_hidden.
13154         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13155         (libc_feupdateenv_test_ppc): Likewise.
13156         (libc_feresetround_ppc): Likewise.
13157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13158         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13159         compat_symbol macro.
13160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13161         (__fe_nomask_env): Likewise.
13162         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13163
13164 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13165
13166         * string/Makefile: Remove ifunc tests.
13167         * string/test-string.h: Define TEST_IFUNC.
13168         * string/test-bcopy-ifunc.c: Remove.
13169         * string/test-bzero-ifunc.c: Likewise.
13170         * string/test-memccpy-ifunc.c: Likewise.
13171         * string/test-memchr-ifunc.c: Likewise.
13172         * string/test-memcmp-ifunc.c: Likewise.
13173         * string/test-memcpy-ifunc.c: Likewise.
13174         * string/test-memmem-ifunc.c: Likewise.
13175         * string/test-memmove-ifunc.c: Likewise.
13176         * string/test-mempcpy-ifunc.c: Likewise.
13177         * string/test-memrchr-ifunc.c: Likewise.
13178         * string/test-memset-ifunc.c: Likewise.
13179         * string/test-rawmemchr-ifunc.c: Likewise.
13180         * string/test-stpcpy-ifunc.c: Likewise.
13181         * string/test-stpncpy-ifunc.c: Likewise.
13182         * string/test-strcasecmp-ifunc.c: Likewise.
13183         * string/test-strcasestr-ifunc.c: Likewise.
13184         * string/test-strcat-ifunc.c: Likewise.
13185         * string/test-strchr-ifunc.c: Likewise.
13186         * string/test-strchrnul-ifunc.c: Likewise.
13187         * string/test-strcmp-ifunc.c: Likewise.
13188         * string/test-strcpy-ifunc.c: Likewise.
13189         * string/test-strcspn-ifunc.c: Likewise.
13190         * string/test-strlen-ifunc.c: Likewise.
13191         * string/test-strncasecmp-ifunc.c: Likewise.
13192         * string/test-strncat-ifunc.c: Likewise.
13193         * string/test-strncmp-ifunc.c: Likewise.
13194         * string/test-strncpy-ifunc.c: Likewise.
13195         * string/test-strnlen-ifunc.c: Likewise.
13196         * string/test-strpbrk-ifunc.c: Likewise.
13197         * string/test-strrchr-ifunc.c: Likewise.
13198         * string/test-strspn-ifunc.c: Likewise.
13199         * string/test-strstr-ifunc.c: Likewise.
13200
13201 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13202
13203         * benchtests/Makefile: Remove ifunc tests.
13204         * benchtests/bench-string.h: Define TEST_IFUNC.
13205         * benchtests/bench-bcopy-ifunc.c: Remove.
13206         * benchtests/bench-bzero-ifunc.c: Likewise.
13207         * benchtests/bench-memccpy-ifunc.c: Likewise.
13208         * benchtests/bench-memchr-ifunc.c: Likewise.
13209         * benchtests/bench-memcmp-ifunc.c: Likewise.
13210         * benchtests/bench-memcpy-ifunc.c: Likewise.
13211         * benchtests/bench-memmem-ifunc.c: Likewise.
13212         * benchtests/bench-memmove-ifunc.c: Likewise.
13213         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13214         * benchtests/bench-memrchr-ifunc.c: Likewise.
13215         * benchtests/bench-memset-ifunc.c: Likewise.
13216         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13217         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13218         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13219         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13220         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13221         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13222         * benchtests/bench-strcat-ifunc.c: Likewise.
13223         * benchtests/bench-strchr-ifunc.c: Likewise.
13224         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13225         * benchtests/bench-strcmp-ifunc.c: Likewise.
13226         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13227         * benchtests/bench-strcpy-ifunc.c: Likewise.
13228         * benchtests/bench-strcspn-ifunc.c: Likewise.
13229         * benchtests/bench-strlen-ifunc.c: Likewise.
13230         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13231         * benchtests/bench-strncat-ifunc.c: Likewise.
13232         * benchtests/bench-strncmp-ifunc.c: Likewise.
13233         * benchtests/bench-strncpy-ifunc.c: Likewise.
13234         * benchtests/bench-strnlen-ifunc.c: Likewise.
13235         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13236         * benchtests/bench-strrchr-ifunc.c: Likewise.
13237         * benchtests/bench-strsep-ifunc.c: Likewise.
13238         * benchtests/bench-strspn-ifunc.c: Likewise.
13239         * benchtests/bench-strstr-ifunc.c: Likewise.
13240
13241 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13242
13243         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13244
13245 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13246
13247         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13248         * rt/aio.h: Likewise.
13249         * sysdeps/gnu/bits/utmp.h: Likewise.
13250         * sysdeps/gnu/bits/utmpx.h: Likewise.
13251         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13252         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13253         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13254         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13255         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13256         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13257         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13258         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13259         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13260         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13261         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13262         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13263         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13265         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13266         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13267         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13268         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13269         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13270         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13271         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13272         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13273         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13274         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13275         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13276         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13277         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13278         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13279         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13280         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13281         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13282         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13283         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13284         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13285         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13286         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13287         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13288         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13289         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13290         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13291         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13292         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13293
13294 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13295
13296         [BZ #16245]
13297         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13298         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13299
13300 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13301
13302         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13303         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13304         Likewise.
13305
13306 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13307
13308         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13309         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13310         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13311         (__fesetround): Remove define.
13312         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13313         rounding and exceptions handling.
13314         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13315         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13316         (__fe_nomask_env): Likewise.
13317         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13318         __fegetround instead of fegetround.
13319         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13320         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13321
13322 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13323
13324         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13325         it's there.
13326
13327         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13328
13329 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13330
13331         [BZ #11157]
13332         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13333         (encrypt_r): Likewise.
13334         * malloc/obstack.h (obstack_free): Likewise.
13335         * posix/unistd.h (encrypt): Likewise.
13336
13337 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13338
13339         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13340         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13341         DL_CALL_DT_FINI() that call the functions directly.
13342         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13343         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13344         * elf/dl-fini.c: Likewise.
13345
13346 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13347
13348         * malloc/hooks.c (memalign_check): Add alignment rounding.
13349         * malloc/malloc.c (_mid_memalign): New function.
13350         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13351         Implement by calling _mid_memalign.
13352         * manual/probes.texi (Memory Allocation Probes): Remove
13353         memory_valloc_retry and memory_pvalloc_retry.
13354
13355 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13356
13357         * locale/programs/locarchive.c (open_archive): Add const
13358         qualifier to ARCHIVEFNAME and copy default fname to
13359         DEFAULT_FNAME.
13360
13361         [BZ #15601]
13362         * libio/tst-widetext.input: Rename Oriya to Odia.
13363         * locale/iso-639.def: Likewise.
13364
13365         * manual/probes.texi (Mathematical Function Probes): Add
13366         documentation for sin, cos, asin and acos probes.
13367         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13368         (__sin32): Add slowasin probe.
13369         (__cos32): Add slowacos probe.
13370         (__mpsin): Add slowsin probe.
13371         (__mpcos): Add slowcos probe.
13372
13373 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13374
13375         [BZ #15483]
13376         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13377         thread-local __sim_exceptions_thread and global
13378         __sim_exceptions_global.
13379         (__sim_disabled_exceptions): Change to thread-local
13380         __sim_disabled_exceptions_thread and global
13381         __sim_disabled_exceptions_global.
13382         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13383         and global __sim_round_mode_global.
13384         (__simulate_exceptions): Use thread-local floating-point state and
13385         set global state from it as needed.
13386         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13387         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13388         __sim_round_mode_thread.
13389         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13390         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13391         and global __sim_exceptions_global.
13392         (__sim_disabled_exceptions): Change to thread-local
13393         __sim_disabled_exceptions_thread and global
13394         __sim_disabled_exceptions_global.
13395         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13396         and global __sim_round_mode_global.
13397         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13398         (SIM_SET_GLOBAL): Likewise.
13399         * sysdeps/powerpc/soft-fp/sfp-machine.h
13400         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13401         __sim_round_mode_thread.
13402         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13403         __sim_disabled_exceptions_thread.
13404         (__sim_exceptions): Change to __sim_exceptions_thread.
13405         (__sim_disabled_exceptions): Change to
13406         __sim_disabled_exceptions_thread.
13407         (__sim_round_mode): Change to __sim_round_mode_thread.
13408         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13409         thread-local floating-point state and set global state from it as
13410         needed.
13411         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13412         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13413         (__sim_disabled_exceptions): Remove extern declaration.
13414         (feenableexcept): Use thread-local floating-point state and set
13415         global state from it as needed.
13416         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13417         extern declaration.
13418         (__sim_disabled_exceptions): Likewise.
13419         (__sim_round_mode): Likewise.
13420         (__fegetenv): Use thread-local floating-point state.
13421         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13422         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13423         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13424         floating-point state and set global state from it as needed.
13425         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13426         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13427         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13428         Likewise.
13429         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13430         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13431         Likewise.
13432         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13433         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13434         Use __sim_round_mode_thread.
13435         * math/test-fenv-tls.c: New file.
13436         * math/Makefile (tests): Add test-fenv-tls.
13437         ($(objpfx)test-fenv-tls): Depend on
13438         $(common-objpfx)nptl/libpthread.so.
13439
13440 2013-11-19  Andreas Schwab  <schwab@suse.de>
13441
13442         * locale/programs/locale.c (show_info): Decode wordarray elements.
13443         * locale/categories.def (LC_MONETARY): Add element for
13444         _NL_MONETARY_CRNCYSTR.
13445         * locale/C-monetary.c (conversion_rate): New variable.
13446         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13447         element.
13448
13449 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13450
13451         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13452         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13453
13454 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13455
13456         * elf/Makefile (tst-auxv): New test.
13457         * elf/tst-auxv.c: New
13458         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13459
13460 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13461
13462         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13463         (hidden_proto): Caller changed.
13464         (hidden_tls_proto): New macro.
13465         (libc_hidden_tls_proto): Likewise.
13466         (rtld_hidden_tls_proto): Likewise.
13467         (libm_hidden_tls_proto): Likewise.
13468         (libresolv_hidden_tls_proto): Likewise.
13469         (librt_hidden_tls_proto): Likewise.
13470         (libdl_hidden_tls_proto): Likewise.
13471         (libnss_files_hidden_tls_proto): Likewise.
13472         (libnsl_hidden_tls_proto): Likewise.
13473         (libnss_nisplus_hidden_tls_proto): Likewise.
13474         (libutil_hidden_tls_proto): Likewise.
13475
13476 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13477
13478         [BZ #10253]
13479         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13480         (decompose_rpath): Defer expansion to fillin_rpath.
13481         (_dl_init_paths): Pass linkmap to fillin_rpath.
13482
13483 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13484
13485         * benchtests/Makefile: Add strsep.
13486         * benchtests/bench-strsep.c: New file: strsep benchtest.
13487         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13488
13489 2013-11-18  Andreas Schwab  <schwab@suse.de>
13490
13491         * locale/programs/locale.c (show_info) [case byte]: Check for
13492         '\377' instead of '\177'.
13493         * locale/C-monetary.c (not_available): Always use "\377".
13494         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13495         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13496         detect unavailable sign_posn locale elements.
13497         * locale/localeconv.c (__localeconv): For grouping and
13498         mon_grouping handle "\177" and "\377" like no grouping.
13499         (INT_ELEM): New macro.  Use it to set all numeric members.
13500         * locale/programs/ld-monetary.c (monetary_read)
13501         <tok_mon_grouping>: Normalize single -1 to the empty string.
13502         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13503         Likewise.
13504
13505 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13506
13507         [BZ #16055]
13508         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13509         when we match (nil).
13510         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13511
13512 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13513
13514         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13515         (NO_TEST_INLINE): Update value.
13516         (ERRNO_UNCHANGED): Likewise.
13517         (ERRNO_EDOM): Likewise.
13518         (ERRNO_ERANGE): Likewise.
13519         (IGNORE_RESULT): Likewise.
13520         (check_float_internal): Check signs of NaN results if
13521         TEST_NAN_SIGN used.
13522         (check_complex): Pass TEST_NAN_SIGN flag through to second
13523         check_float_internal call.
13524         (copysign_test_data): Add tests with quiet NaNs as second
13525         argument.  Use TEST_NAN_SIGN.
13526         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13527         TEST_NAN_SIGN.
13528         (signbit_test_data): Add tests of quiet NaN argument.
13529         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13530
13531         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13532         $ignore_result.
13533         (parse_args): Handle function results specified as IGNORE.
13534         * math/libm-test.inc (IGNORE_RESULT): New macro.
13535         (check_float_internal): Do not check numerical result if flag
13536         IGNORE_RESULT set.
13537         (check_complex): Pass through IGNORE_RESULT to second
13538         check_float_internal call.
13539         (check_int): Do not check numerical result if flag IGNORE_RESULT
13540         set.
13541         (check_long): Likewise.
13542         (check_bool): Likewise.
13543         (check_longlong): Likewise.
13544         (lrint_test_data): Add tests of infinite and NaN arguments.
13545         (lrint_tonearest_test_data): Likewise.
13546         (lrint_towardzero_test_data): Likewise.
13547         (lrint_downward_test_data): Likewise.
13548         (lrint_upward_test_data): Likewise.
13549         (llrint_test_data): Likewise.
13550         (llrint_tonearest_test_data): Likewise.
13551         (llrint_towardzero_test_data): Likewise.
13552         (llrint_downward_test_data): Likewise.
13553         (llrint_upward_test_data): Likewise.
13554         (lround_test_data): Likewise.
13555         (llround_test_data): Likewise.
13556
13557         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13558         (ERRNO_UNCHANGED): Update value.
13559         (ERRNO_EDOM): Likewise.
13560         (ERRNO_ERANGE): Likewise.
13561         (NO_TEST_INLINE_FLOAT): New macro.
13562         (NO_TEST_INLINE_DOUBLE): Likewise.
13563         (enable_test): New function.
13564         (RUN_TEST_f_f): Check enable_test before running test.
13565         (RUN_TEST_2_f): Likewise.
13566         (RUN_TEST_fff_f): Likewise.
13567         (RUN_TEST_c_f): Likewise.
13568         (RUN_TEST_f_f1): Likewise.
13569         (RUN_TEST_fF_f1): Likewise.
13570         (RUN_TEST_fI_f1): Likewise.
13571         (RUN_TEST_ffI_f1): Likewise.
13572         (RUN_TEST_c_c): Likewise.
13573         (RUN_TEST_cc_c): Likewise.
13574         (RUN_TEST_f_i): Likewise.
13575         (RUN_TEST_f_i_tg): Likewise.
13576         (RUN_TEST_ff_i_tg): Likewise.
13577         (RUN_TEST_f_b): Likewise.
13578         (RUN_TEST_f_b_tg): Likewise.
13579         (RUN_TEST_f_l): Likewise.
13580         (RUN_TEST_f_L): Likewise.
13581         (RUN_TEST_fFF_11): Likewise.
13582         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13583         conditionals.
13584         (cosh_test_data): Likewise.
13585         (exp_test_data): Likewise.
13586         (expm1_test_data): Likewise.
13587         (hypot_test_data): Likewise.
13588         (pow_test_data): Likewise.
13589         (sinh_test_data): Likewise.
13590         (tanh_test_data): Likewise.
13591         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13592         flags argument.
13593
13594         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13595         tests with quiet NaN input and output.
13596         (acosh_test_data): Likewise.
13597         (asin_test_data): Likewise.
13598         (asinh_test_data): Likewise.
13599         (atan_test_data): Likewise.
13600         (atanh_test_data): Likewise.
13601         (atan2_test_data): Likewise.
13602         (cbrt_test_data): Likewise.
13603         (cos_test_data): Likewise.
13604         (cosh_test_data): Likewise.
13605         (erf_test_data): Likewise.
13606         (erfc_test_data): Likewise.
13607         (exp_test_data): Likewise.
13608         (exp10_test_data): Likewise.
13609         (exp2_test_data): Likewise.
13610         (expm1_test_data): Likewise.
13611         (hypot_test_data): Likewise.
13612         (j0_test_data): Likewise.
13613         (j1_test_data): Likewise.
13614         (jn_test_data): Likewise.
13615         (lgamma_test_data): Likewise.
13616         (log_test_data): Likewise.
13617         (log10_test_data): Likewise.
13618         (log1p_test_data): Likewise.
13619         (log2_test_data): Likewise.
13620         (pow_test_data): Likewise.
13621         (scalb_test_data): Likewise.
13622         (sin_test_data): Likewise.
13623         (sincos_test_data): Likewise.
13624         (sinh_test_data): Likewise.
13625         (tan_test_data): Likewise.
13626         (tanh_test_data): Likewise.
13627         (tgamma_test_data): Likewise.
13628         (y0_test_data): Likewise.
13629         (y1_test_data): Likewise.
13630         (yn_test_data): Likewise.
13631
13632         [BZ #16167]
13633         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13634         argument being NaN and avoid computations with second argument in
13635         that case.
13636         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13637         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13638         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13639
13640 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13641
13642         * locale/iso-639.def: Add Chitwani Tharu (the).
13643
13644 2013-11-14  Andreas Schwab  <schwab@suse.de>
13645
13646         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13647         word instead of empty string.
13648
13649 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13650
13651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13652         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13654         (__fe_nomask_env): Likewise.
13655
13656 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13657
13658         * benchtests/bench-timing.h: Include time.h.
13659
13660 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13661
13662         [BZ #15997]
13663         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13664         to 3.4.0 for x32.
13665         * sysdeps/unix/sysv/linux/configure: Regenerated.
13666
13667 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13668
13669         [BZ #16151]
13670         * stdlib/strtod_l.c (round_and_return): Do not consider
13671         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13672         exponent one less than half the least subnormal exponent.
13673         * stdlib/test-strtod-round-data: Add more tests.
13674         * stdlib/tst-strtod-round.c (tests): Regenerated.
13675
13676 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13677
13678         [BZ #14143]
13679         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13680         (__fe_mask_env): Likewise.
13681         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13682         libm_hidden_proto and add function prototype.
13683         (__fe_mask_env): Add function prototype.
13684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13685         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13687         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13689         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13690
13691 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13692
13693         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13694         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13695
13696 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13697
13698         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13699         of htab_find_slot().
13700
13701 2013-11-11  David S. Miller  <davem@davemloft.net>
13702
13703         [BZ #16150]
13704         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13705         symbol in the non-vis3 case in static builds.
13706         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13707         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13708         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13709         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13710
13711 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13712
13713         [BZ #387]
13714         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13715         it is empty.
13716
13717 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13718
13719         * benchtests/Makefile: Add bench-strtod.
13720         * benchtests/bench-strtod.c: New file: strtod benchtest
13721
13722 2013-11-11  Andreas Schwab  <schwab@suse.de>
13723
13724         [BZ #16153]
13725         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13726         terminating NUL in key length.
13727
13728 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13729
13730         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13731         Add artificial ODP entry for vDSO symbol for PPC64.
13732         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13733         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13734
13735 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13736
13737         [BZ #15374]
13738         * nss/getent.c (services_keys): Recognize services starting with digit.
13739
13740 2013-11-06  David S. Miller  <davem@davemloft.net>
13741
13742         [BZ #15985]
13743         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13744         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13745
13746 2013-11-06  Will Newton  <will.newton@linaro.org>
13747
13748         * manual/memory.texi (Malloc Examples): Remove register
13749         keyword from examples.
13750
13751 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13752
13753         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13754
13755 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13756
13757         [BZ #6981]
13758         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13759         depending on [__GCC_IEC_559 > 0].
13760         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13761         depending on [__GCC_IEC_559_COMPLEX > 0].
13762
13763 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13764
13765         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13766         to iso-639.def.
13767
13768 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13769
13770         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13771
13772 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13773
13774         [BZ #16112]
13775         * malloc/malloc (malloc_info): Do not handle first bin as
13776         special case.
13777
13778 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13779
13780         * locale/iso-639.def: Add Central Nahuatl (nhn).
13781
13782 2013-11-01  Bruno Haible  <bruno@clisp.org>
13783
13784         [BZ #7003]
13785         * manual/math.texi (BSD Random): Specify range upper bound as
13786         in POSIX.
13787
13788 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13789
13790         * locale/iso-639.def: Add Meadow Mari (mhr).
13791
13792 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13793
13794         [BZ #14752], [BZ #15763]
13795         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13796         Validate name.
13797         * rt/tst_shm.c: Add test for escaping directory.
13798
13799 2013-10-31  Andreas Schwab  <schwab@suse.de>
13800
13801         [BZ #15917]
13802         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13803         followed by 'x' as part of digit sequence.
13804         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13805
13806 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13807
13808         [BZ #16037]
13809         * configure.ac: allow GNU Make 4.0 and greater.
13810         * configure: Regenerated.
13811
13812 2013-10-30  Will Newton  <will.newton@linaro.org>
13813
13814         [BZ #16038]
13815         * malloc/hooks.c (memalign_check): Limit alignment to the
13816         maximum representable power of two.
13817         * malloc/malloc.c (__libc_memalign): Likewise.
13818         * malloc/tst-memalign.c (do_test): Add test for very
13819         large alignment values.
13820         * malloc/tst-posix_memalign.c (do_test): Likewise.
13821
13822 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13823
13824         [BZ #11087]
13825         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13826         (munmap_chunk): Likewise.
13827         (mremap_chunk): Likewise.
13828
13829 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13830
13831         [BZ #15799]
13832         * stdlib/div.c (div): Remove obsolete code.
13833         * stdlib/ldiv.c (ldiv): Likewise.
13834         * stdlib/lldiv.c (lldiv): Likewise.
13835
13836 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13837
13838         [BZ #16071]
13839         * nss/nss_files/files-XXX.c (get_contents_ret): New
13840         enumerator.
13841         (get_contents): New function.
13842         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13843
13844 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13845
13846         * configure.in: Moved to ...
13847         * configure.ac: ... here. Change reference to configure.in
13848         to configure.ac.
13849         * sysdeps/arm/preconfigure.ac: ... here.
13850         configure.in to configure.ac.
13851         * sysdeps/gnu/configure.in: Moved to ...
13852         * sysdeps/gnu/configure.ac: ... here.
13853         * sysdeps/i386/configure.in: Moved to ...
13854         * sysdeps/i386/configure.ac: ... here.
13855         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13856         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13857         * sysdeps/mach/configure.in: Moved to ...
13858         * sysdeps/mach/configure.ac: ... here.
13859         * sysdeps/mach/hurd/configure.in: Moved to ...
13860         * sysdeps/mach/hurd/configure.ac: ... here.
13861         * sysdeps/powerpc/configure.in: Moved to ...
13862         * sysdeps/powerpc/configure.ac: ... here.
13863         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13864         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13865         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13866         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13867         * sysdeps/s390/s390-32/configure.in: Moved to ...
13868         * sysdeps/s390/s390-32/configure.ac: ... here.
13869         * sysdeps/s390/s390-64/configure.in: Moved to ...
13870         * sysdeps/s390/s390-64/configure.ac: ... here.
13871         * sysdeps/sh/configure.in: Moved to ...
13872         * sysdeps/sh/configure.ac: ... here.
13873         * sysdeps/sparc/configure.in: Moved to ...
13874         * sysdeps/sparc/configure.ac: ... here.
13875         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13876         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13877         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13878         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13879         * sysdeps/x86_64/configure.in: Moved to ...
13880         * sysdeps/x86_64/configure.ac: ... here.
13881         * sysdeps/x86_64/preconfigure.in: Moved to ...
13882         * sysdeps/x86_64/preconfigure.ac: ... here.
13883         * aclocal.m4: Change reference to configure.in to configure.ac.
13884         * config.h.in: Likewise.
13885         * manual/install.texi: Likewise.
13886         * manual/maint.texi: Likewise.
13887         * Makefile: Likewise.
13888         * malloc/Makefile: Likewise.
13889         * nscd/Makefile: Likewise.
13890         * Makeconfig: Change reference to configure.in and
13891         preconfigure.in to configure.ac and preconfigure.ac
13892         respectively.
13893         * INSTALL: Regenerated.
13894         * configure: Likewise.
13895         * sysdeps/gnu/configure: Likewise.
13896         * sysdeps/i386/configure: Likewise.
13897         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13898         * sysdeps/mach/configure: Likewise.
13899         * sysdeps/mach/hurd/configure: Likewise.
13900         * sysdeps/powerpc/configure: Likewise.
13901         * sysdeps/powerpc/powerpc32/configure: Likewise.
13902         * sysdeps/powerpc/powerpc64/configure: Likewise.
13903         * sysdeps/s390/s390-32/configure: Likewise.
13904         * sysdeps/s390/s390-64/configure: Likewise.
13905         * sysdeps/sh/configure: Likewise.
13906         * sysdeps/sparc/configure: Likewise.
13907         * sysdeps/unix/sysv/linux/configure: Likewise.
13908         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13909         * sysdeps/x86_64/configure: Likewise.
13910         * sysdeps/x86_64/preconfigure: Likewise.
13911
13912 2013-10-29  Andreas Schwab  <schwab@suse.de>
13913
13914         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13915
13916 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13917
13918         * benchtests/pow-inputs: Add new inputs.
13919
13920         * benchtests/exp-inputs: Add new inputs.
13921
13922         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13923         conditional check for return value.
13924         (__cos32): Likewise.
13925
13926 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13927
13928         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13929         to provide a boost for large inputs with word alignment.
13930         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13931         implementation based on optimized PPC64 strcpy.
13932         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13933         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13934         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13935         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13936
13937 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13938
13939         [BZ #2801]
13940         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13941
13942 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13943
13944         [BZ #14876]
13945         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13946         * time/tst-strptime.c (day_tests): Add testcase.
13947
13948 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13949
13950         [BZ #14029]
13951         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13952
13953 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13954
13955         [BZ #16074]
13956         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13957         MAP_FAILED on error.
13958
13959 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13960
13961         [BZ #16072]
13962         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13963         heap for large requests.
13964
13965 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13966
13967         [BZ #9954]
13968         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13969         result if the result has no associated interface.
13970         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13971         interface for all 127.X.Y.Z addresses.
13972
13973 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13974
13975         * locale/iso-639.def: Add Ligurian (lij)
13976
13977 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13978
13979         [BZ #15825]
13980         * sunrpc/rpc_main.c: Document rpcgen -5.
13981
13982 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13983
13984         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13985
13986 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13987
13988         [BZ #10278]
13989         * posix/glob.c: Match only directories when trailing slash is present.
13990         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13991         (main): Add testcase.
13992
13993 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13994
13995         [BZ #15670]
13996         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13997
13998 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13999
14000         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14001         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14002         AUTH_DES and cindex for FIPS 140-2.
14003         (DES Encryption): Add cindex FIPS 46-3.
14004
14005         * locale/locarchive.h (struct locarhandle): Add fname.
14006         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14007         if an optional argument was specified to --list-archive,
14008         otherwise NULL.
14009         * locale/programs/locarchive.c (show_archive_content): Take new
14010         argument fname and pass it via ah.fname to open_archive.
14011         * locale/programs/localedef.h: Update decl.
14012         (open_archive): If AH->fname is non-null, open that file
14013         rather than the default file name, and don't ignore ENOENT.
14014         (create_archive): Set AH.fname to NULL.
14015         (delete_locales_from_archive): Likewise.
14016         (add_locales_to_archive): Likewise.
14017         * locale/programs/locfile.c (write_all_categories): Likewise.
14018
14019 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14020             Aldy Hernandez  <aldyh@redhat.com>
14021
14022         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14023         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14024         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14025         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14026         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14027         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14028         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14029         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14030         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14031         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14032         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14033         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14034         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14035         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14036         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14037         Likewise.
14038         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14039         Likewise.
14040         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14041         Likewise.
14042         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14043         Likewise.
14044         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14045         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14046         Likewise.
14047         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14048         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14049         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14050         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14051         Likewise.
14052         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14053         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14054         * sysdeps/powerpc/preconfigure: Likewise.
14055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14056         Likewise.
14057         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14058         Replace contents of file by #include of <fenv_libc.h>.
14059         * sysdeps/powerpc/soft-fp/sfp-machine.h
14060         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14061         and <sys/prctl.h>.
14062         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14063         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14064         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14065         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14066         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14067         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14069         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14070         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14071         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14072         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14073         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14075         Allow copysignl PLT reference to be missing.
14076
14077 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14078             Joseph Myers  <joseph@codesourcery.com
14079
14080         [BZ #15948]
14081         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14082         single character.
14083         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14084
14085 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14086
14087         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14088         * elf/tst-tls1.c: Likewise.
14089         * elf/tst-tls10.h: Likewise.
14090         * elf/tst-tls14.c: Likewise.
14091         * elf/tst-tls2.c: Likewise.
14092         * elf/tst-tls3.c: Likewise.
14093         * elf/tst-tls4.c: Likewise.
14094         * elf/tst-tls5.c: Likewise.
14095         * elf/tst-tls6.c: Likewise.
14096         * elf/tst-tls7.c: Likewise.
14097         * elf/tst-tls8.c: Likewise.
14098         * elf/tst-tls9.c: Likewise.
14099         * elf/tst-tlsmod1.c: Likewise.
14100         * elf/tst-tlsmod13.c: Likewise.
14101         * elf/tst-tlsmod13a.c: Likewise.
14102         * elf/tst-tlsmod14a.c: Likewise.
14103         * elf/tst-tlsmod16a.c: Likewise.
14104         * elf/tst-tlsmod16b.c: Likewise.
14105         * elf/tst-tlsmod2.c: Likewise.
14106         * elf/tst-tlsmod3.c: Likewise.
14107         * elf/tst-tlsmod4.c: Likewise.
14108         * elf/tst-tlsmod5.c: Likewise.
14109         * elf/tst-tlsmod6.c: Likewise.
14110
14111 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14112
14113         [BZ #12486]
14114         * malloc/malloc.c: remove checks for statistics.
14115
14116 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14117
14118         [BZ #15277]
14119         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14120         * inet/tst-network.c: Add testcase.
14121
14122 2013-10-17  Andreas Schwab  <schwab@suse.de>
14123
14124         [BZ #15218]
14125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14126         to determine canonical name.
14127
14128 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14129
14130         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14131         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14132         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14133         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14134         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14135         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14136         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14137         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14138         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14139         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14140         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14141         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14142         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14143         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14144         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14145         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14146         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14147         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14148         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14149         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14150         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14151         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14152         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14153         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14154         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14155         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14156         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14157         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14158         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14159         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14160         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14161         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14162         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14163         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14164         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14165         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14166         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14167         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14168         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14169         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14170         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14171         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14172         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14173         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14174         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14175         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14176         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14177         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14178         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14179         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14180         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14181         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14182         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14183         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14184         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14185         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14186         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14187         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14188
14189 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14190
14191         [BZ #16041]
14192         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14193         make result into a quiet NaN.
14194
14195 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14196
14197         * soft-fp/adddf3.c: Fix horizontal whitespace.
14198         * soft-fp/addsf3.c: Likewise.
14199         * soft-fp/addtf3.c: Likewise.
14200         * soft-fp/divdf3.c: Likewise.
14201         * soft-fp/divsf3.c: Likewise.
14202         * soft-fp/divtf3.c: Likewise.
14203         * soft-fp/double.h: Likewise.
14204         * soft-fp/eqdf2.c: Likewise.
14205         * soft-fp/eqsf2.c: Likewise.
14206         * soft-fp/eqtf2.c: Likewise.
14207         * soft-fp/extenddftf2.c: Likewise.
14208         * soft-fp/extended.h: Likewise.
14209         * soft-fp/extendsfdf2.c: Likewise.
14210         * soft-fp/extendsftf2.c: Likewise.
14211         * soft-fp/extendxftf2.c: Likewise.
14212         * soft-fp/fixdfdi.c: Likewise.
14213         * soft-fp/fixdfsi.c: Likewise.
14214         * soft-fp/fixdfti.c: Likewise.
14215         * soft-fp/fixsfdi.c: Likewise.
14216         * soft-fp/fixsfsi.c: Likewise.
14217         * soft-fp/fixsfti.c: Likewise.
14218         * soft-fp/fixtfdi.c: Likewise.
14219         * soft-fp/fixtfsi.c: Likewise.
14220         * soft-fp/fixtfti.c: Likewise.
14221         * soft-fp/fixunsdfdi.c: Likewise.
14222         * soft-fp/fixunsdfsi.c: Likewise.
14223         * soft-fp/fixunsdfti.c: Likewise.
14224         * soft-fp/fixunssfdi.c: Likewise.
14225         * soft-fp/fixunssfsi.c: Likewise.
14226         * soft-fp/fixunssfti.c: Likewise.
14227         * soft-fp/fixunstfdi.c: Likewise.
14228         * soft-fp/fixunstfsi.c: Likewise.
14229         * soft-fp/fixunstfti.c: Likewise.
14230         * soft-fp/floatdidf.c: Likewise.
14231         * soft-fp/floatdisf.c: Likewise.
14232         * soft-fp/floatditf.c: Likewise.
14233         * soft-fp/floatsidf.c: Likewise.
14234         * soft-fp/floatsisf.c: Likewise.
14235         * soft-fp/floatsitf.c: Likewise.
14236         * soft-fp/floattidf.c: Likewise.
14237         * soft-fp/floattisf.c: Likewise.
14238         * soft-fp/floattitf.c: Likewise.
14239         * soft-fp/floatundidf.c: Likewise.
14240         * soft-fp/floatundisf.c: Likewise.
14241         * soft-fp/floatunditf.c: Likewise.
14242         * soft-fp/floatunsidf.c: Likewise.
14243         * soft-fp/floatunsisf.c: Likewise.
14244         * soft-fp/floatunsitf.c: Likewise.
14245         * soft-fp/floatuntidf.c: Likewise.
14246         * soft-fp/floatuntisf.c: Likewise.
14247         * soft-fp/floatuntitf.c: Likewise.
14248         * soft-fp/fmadf4.c: Likewise.
14249         * soft-fp/fmasf4.c: Likewise.
14250         * soft-fp/fmatf4.c: Likewise.
14251         * soft-fp/gedf2.c: Likewise.
14252         * soft-fp/gesf2.c: Likewise.
14253         * soft-fp/getf2.c: Likewise.
14254         * soft-fp/ledf2.c: Likewise.
14255         * soft-fp/lesf2.c: Likewise.
14256         * soft-fp/letf2.c: Likewise.
14257         * soft-fp/muldf3.c: Likewise.
14258         * soft-fp/mulsf3.c: Likewise.
14259         * soft-fp/multf3.c: Likewise.
14260         * soft-fp/negdf2.c: Likewise.
14261         * soft-fp/negsf2.c: Likewise.
14262         * soft-fp/negtf2.c: Likewise.
14263         * soft-fp/op-1.h: Likewise.
14264         * soft-fp/op-2.h: Likewise.
14265         * soft-fp/op-4.h: Likewise.
14266         * soft-fp/op-8.h: Likewise.
14267         * soft-fp/op-common.h: Likewise.
14268         * soft-fp/quad.h: Likewise.
14269         * soft-fp/single.h: Likewise.
14270         * soft-fp/soft-fp.h: Likewise.
14271         * soft-fp/sqrtdf2.c: Likewise.
14272         * soft-fp/sqrtsf2.c: Likewise.
14273         * soft-fp/sqrttf2.c: Likewise.
14274         * soft-fp/subdf3.c: Likewise.
14275         * soft-fp/subsf3.c: Likewise.
14276         * soft-fp/subtf3.c: Likewise.
14277         * soft-fp/truncdfsf2.c: Likewise.
14278         * soft-fp/trunctfdf2.c: Likewise.
14279         * soft-fp/trunctfsf2.c: Likewise.
14280         * soft-fp/trunctfxf2.c: Likewise.
14281         * soft-fp/unorddf2.c: Likewise.
14282         * soft-fp/unordsf2.c: Likewise.
14283         * soft-fp/unordtf2.c: Likewise.
14284
14285 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14286
14287         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14288         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14289
14290 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14291
14292         * elf/dl-libc.c: Clear initfini list after freeing.
14293
14294 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14295
14296         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14297         * soft-fp/addsf3.c: Likewise.
14298         * soft-fp/addtf3.c: Likewise.
14299         * soft-fp/divdf3.c: Likewise.
14300         * soft-fp/divsf3.c: Likewise.
14301         * soft-fp/divtf3.c: Likewise.
14302         * soft-fp/double.h: Likewise.
14303         * soft-fp/eqdf2.c: Likewise.
14304         * soft-fp/eqsf2.c: Likewise.
14305         * soft-fp/eqtf2.c: Likewise.
14306         * soft-fp/extenddftf2.c: Likewise.
14307         * soft-fp/extended.h: Likewise.
14308         * soft-fp/extendsfdf2.c: Likewise.
14309         * soft-fp/extendsftf2.c: Likewise.
14310         * soft-fp/extendxftf2.c: Likewise.
14311         * soft-fp/fixdfdi.c: Likewise.
14312         * soft-fp/fixdfsi.c: Likewise.
14313         * soft-fp/fixdfti.c: Likewise.
14314         * soft-fp/fixsfdi.c: Likewise.
14315         * soft-fp/fixsfsi.c: Likewise.
14316         * soft-fp/fixsfti.c: Likewise.
14317         * soft-fp/fixtfdi.c: Likewise.
14318         * soft-fp/fixtfsi.c: Likewise.
14319         * soft-fp/fixtfti.c: Likewise.
14320         * soft-fp/fixunsdfdi.c: Likewise.
14321         * soft-fp/fixunsdfsi.c: Likewise.
14322         * soft-fp/fixunsdfti.c: Likewise.
14323         * soft-fp/fixunssfdi.c: Likewise.
14324         * soft-fp/fixunssfsi.c: Likewise.
14325         * soft-fp/fixunssfti.c: Likewise.
14326         * soft-fp/fixunstfdi.c: Likewise.
14327         * soft-fp/fixunstfsi.c: Likewise.
14328         * soft-fp/fixunstfti.c: Likewise.
14329         * soft-fp/floatdidf.c: Likewise.
14330         * soft-fp/floatdisf.c: Likewise.
14331         * soft-fp/floatditf.c: Likewise.
14332         * soft-fp/floatsidf.c: Likewise.
14333         * soft-fp/floatsisf.c: Likewise.
14334         * soft-fp/floatsitf.c: Likewise.
14335         * soft-fp/floattidf.c: Likewise.
14336         * soft-fp/floattisf.c: Likewise.
14337         * soft-fp/floattitf.c: Likewise.
14338         * soft-fp/floatundidf.c: Likewise.
14339         * soft-fp/floatundisf.c: Likewise.
14340         * soft-fp/floatunsidf.c: Likewise.
14341         * soft-fp/floatunsisf.c: Likewise.
14342         * soft-fp/floatuntidf.c: Likewise.
14343         * soft-fp/floatuntisf.c: Likewise.
14344         * soft-fp/floatuntitf.c: Likewise.
14345         * soft-fp/fmadf4.c: Likewise.
14346         * soft-fp/fmasf4.c: Likewise.
14347         * soft-fp/fmatf4.c: Likewise.
14348         * soft-fp/gedf2.c: Likewise.
14349         * soft-fp/gesf2.c: Likewise.
14350         * soft-fp/getf2.c: Likewise.
14351         * soft-fp/ledf2.c: Likewise.
14352         * soft-fp/lesf2.c: Likewise.
14353         * soft-fp/letf2.c: Likewise.
14354         * soft-fp/muldf3.c: Likewise.
14355         * soft-fp/mulsf3.c: Likewise.
14356         * soft-fp/multf3.c: Likewise.
14357         * soft-fp/negdf2.c: Likewise.
14358         * soft-fp/negsf2.c: Likewise.
14359         * soft-fp/negtf2.c: Likewise.
14360         * soft-fp/op-1.h: Likewise.
14361         * soft-fp/op-2.h: Likewise.
14362         * soft-fp/op-4.h: Likewise.
14363         * soft-fp/op-8.h: Likewise.
14364         * soft-fp/op-common.h: Likewise.
14365         * soft-fp/quad.h: Likewise.
14366         * soft-fp/single.h: Likewise.
14367         * soft-fp/soft-fp.h: Likewise.
14368         * soft-fp/sqrtdf2.c: Likewise.
14369         * soft-fp/sqrtsf2.c: Likewise.
14370         * soft-fp/sqrttf2.c: Likewise.
14371         * soft-fp/subdf3.c: Likewise.
14372         * soft-fp/subsf3.c: Likewise.
14373         * soft-fp/subtf3.c: Likewise.
14374         * soft-fp/truncdfsf2.c: Likewise.
14375         * soft-fp/trunctfdf2.c: Likewise.
14376         * soft-fp/trunctfsf2.c: Likewise.
14377         * soft-fp/trunctfxf2.c: Likewise.
14378         * soft-fp/unorddf2.c: Likewise.
14379         * soft-fp/unordsf2.c: Likewise.
14380         * soft-fp/unordtf2.c: Likewise.
14381
14382 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14383
14384         [BZ #15672]
14385         * misc/error.c (error_tail): Fix possible buffer overflow.
14386
14387 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14388
14389         [BZ #13028]
14390         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14391         address.
14392
14393 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14394
14395         [BZ #832]
14396         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14397         testing pipefail option.
14398
14399 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14400
14401         * soft-fp/double.h: Indent preprocessor directives inside #if.
14402         * soft-fp/extended.h: Likewise.
14403         * soft-fp/op-2.h: Likewise.
14404         * soft-fp/op-4.h: Likewise.
14405         * soft-fp/op-common.h: Likewise.
14406         * soft-fp/quad.h: Likewise.
14407         * soft-fp/single.h: Likewise.
14408         * soft-fp/soft-fp.h: Likewise.
14409
14410 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14411
14412         * iconv/iconv_prog.c: Fix typos.
14413         * stdio-common/psiginfo-data.h: Likewise.
14414
14415 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14416
14417         [BZ #15764]
14418         * locale/setlocale.c: Fix typo.
14419
14420 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14421
14422         [BZ #16036]
14423         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14424         signaling NaN arguments.
14425         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14426         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14427
14428         [BZ #14910]
14429         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14430         unordered operands.
14431         * soft-fp/gesf2.c (__gesf2): Likewise.
14432         * soft-fp/getf2.c (__getf2): Likewise.
14433         * soft-fp/ledf2.c (__ledf2): Likewise.
14434         * soft-fp/lesf2.c (__lesf2): Likewise.
14435         * soft-fp/letf2.c (__letf2): Likewise.
14436
14437         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14438         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14439         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14440         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14441         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14442         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14443         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14444         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14445         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14446         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14447         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14448         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14449         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14450         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14451         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14452         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14453         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14454         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14455         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14456         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14457         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14458         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14459         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14460         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14461         * soft-fp/floattidf.c (__floattidf): Likewise.
14462         * soft-fp/floattisf.c (__floattisf): Likewise.
14463         * soft-fp/floattitf.c (__floattitf): Likewise.
14464         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14465         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14466         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14467         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14468         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14469         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14470         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14471         * soft-fp/gesf2.c (__gesf2): Likewise.
14472         * soft-fp/getf2.c (__getf2): Likewise.
14473         * soft-fp/ledf2.c (__ledf2): Likewise.
14474         * soft-fp/lesf2.c (__lesf2): Likewise.
14475         * soft-fp/letf2.c (__letf2): Likewise.
14476
14477         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14478         Undefine and redefine.
14479         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14480         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14481         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14482         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14483         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14484         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14485         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14486         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14487         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14488         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14489         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14490         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14491         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14492         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14493         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14494
14495         [BZ #16032]
14496         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14497         without decrementing exponent if mantissa >= that for the
14498         denominator, not >.
14499         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14500         denominator, not >.  Decrement exponent in < case instead of
14501         incrementing in >= case.
14502         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14503         without decrementing exponent if mantissa >= that for the
14504         denominator, not >.
14505
14506         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14507         computing saturated result for unsigned overflow.
14508
14509 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14510             Jeff Law  <law@redhat.com>
14511
14512         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14513         (atan2Mp): Add systemtap probe marker.
14514         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14515         (__ieee754_log): Add systemtap probe marker.
14516         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14517         (atanMp): Add systemtap probe marker.
14518         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14519         (tanMp): Add systemtap probe marker.
14520         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14521         (__slowexp): Add systemtap probe marker.
14522         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14523         (__slowpow): Add systemtap probe marker.
14524         * manual/probes.texi: Document probes.
14525
14526 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14527
14528         [BZ #15362]
14529         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14530         written.
14531         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14532         written.
14533         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14534         written to buffer but not flushed.
14535         * libio/iofwrite_u.c:  Likewise.
14536         * libio/iopadn.c:  Return bytes returned even if EOF was
14537         encountered.
14538         * libio/iowpadn.c:  Likewise.
14539         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14540         if _IO_padn does not write the whole buffer.
14541         [!COMPILE_WPRINTF] (PAD): Likewise.
14542
14543 2013-10-10  David S. Miller  <davem@davemloft.net>
14544
14545         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14546         directory block.
14547
14548 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14549
14550         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14551         instead of FSF address.
14552         * soft-fp/fixdfti.c: Likewise.
14553         * soft-fp/fixsfti.c: Likewise.
14554         * soft-fp/fixtfti.c: Likewise.
14555         * soft-fp/fixunsdfti.c: Likewise.
14556         * soft-fp/fixunssfti.c: Likewise.
14557         * soft-fp/fixunstfti.c: Likewise.
14558         * soft-fp/floattidf.c: Likewise.
14559         * soft-fp/floattisf.c: Likewise.
14560         * soft-fp/floattitf.c: Likewise.
14561         * soft-fp/floatuntidf.c: Likewise.
14562         * soft-fp/floatuntisf.c: Likewise.
14563         * soft-fp/floatuntitf.c: Likewise.
14564         * soft-fp/trunctfxf2.c: Likewise.
14565
14566         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14567         * soft-fp/fixdfti.c: Likewise.
14568         * soft-fp/fixsfti.c: Likewise.
14569         * soft-fp/fixtfti.c: Likewise.
14570         * soft-fp/fixunsdfti.c: Likewise.
14571         * soft-fp/fixunssfti.c: Likewise.
14572         * soft-fp/fixunstfti.c: Likewise.
14573         * soft-fp/floattidf.c: Likewise.
14574         * soft-fp/floattisf.c: Likewise.
14575         * soft-fp/floattitf.c: Likewise.
14576         * soft-fp/floatuntidf.c: Likewise.
14577         * soft-fp/floatuntisf.c: Likewise.
14578         * soft-fp/floatuntitf.c: Likewise.
14579         * soft-fp/trunctfxf2.c: Likewise.
14580
14581 2013-10-10  David S. Miller  <davem@davemloft.net>
14582
14583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14584
14585 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14586
14587         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14588         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14589         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14590         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14591         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14592         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14593         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14594
14595         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14596         for NaNs before doing comparisons on argument.
14597         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14598         Likewise.
14599
14600 2013-10-10  Will Newton  <will.newton@linaro.org>
14601
14602         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14603         passed to _int_memalign does not overflow.
14604
14605 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14606
14607         * scripts/bench.pl: Add include-sources directive.
14608         * benchtests/README: Update documentation.
14609
14610 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14611
14612         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14613         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14614         instead of FP_INIT_ROUNDMODE.
14615         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14616         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14617
14618         [BZ #16034]
14619         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14620         copy class of input value.
14621         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14622         not handle exceptions.
14623         * soft-fp/negsf2.c (__negsf2): Likewise.
14624         * soft-fp/negtf2.c (__negtf2): Likewise.
14625         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14626
14627 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14628
14629         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14630         semicolon.  From Linux kernel.
14631
14632 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14633
14634         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14635
14636 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14637
14638         [BZ #156]
14639         * manual/socket.texi: Added statement about buffer
14640         for gethostbyname2_r.
14641
14642 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14643
14644         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14645         Use .p2align directive instead, throughout.
14646         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14647         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14648         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14649         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14650         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14651         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14652         * sysdeps/x86_64/strchr.S: Likewise.
14653         * sysdeps/x86_64/strrchr.S: Likewise.
14654
14655 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14656
14657         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14658
14659         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14660
14661         * sysdeps/generic/math_private.h (__mpsin1): Remove
14662         declaration.
14663         (__mpcos1): Likewise.
14664         (__mpsin): New argument __range_reduce.
14665         (__mpcos): Likewise.
14666         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14667         (slow): Use __mpsin and __mpcos.
14668         (slow1): Likewise.
14669         (slow2): Likewise.
14670         (sloww): Likewise.
14671         (sloww1): Likewise.
14672         (sloww2): Likewise.
14673         (bsloww): Likewise.
14674         (bsloww1): Likewise.
14675         (bsloww2): Likewise.
14676         (cslow2): Likewise.
14677         (csloww): Likewise.
14678         (csloww1): Likewise.
14679         (csloww2): Likewise.
14680         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14681         range_reduce.  Merge in __mpsin1.
14682         (__mpcos): Likewise.
14683         (__mpsin1): Remove.
14684         (__mpcos1): Likewise.
14685
14686 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14687
14688         * locale/loadlocale.c (_nl_intern_locale_data): Use
14689         LOCFILE_ALIGNED_P.
14690         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14691         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14692         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14693         obstack data is appropriately aligned.
14694         (obstack_int32_grow_fast): Likewise.
14695         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14696         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14697         (add_locale_uint32_array): Likewise.
14698
14699 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14700
14701         * benchtests/Makefile: Remove ARGLIST and RET variables.
14702         ($(objpfx)bench-%.c): Pass only function name to the script.
14703         * benchtests/README: Update documentation.
14704         * benchtests/acos-inputs: Add new directives.
14705         * benchtests/acosh-inputs: Likewise.
14706         * benchtests/asin-inputs: Likewise.
14707         * benchtests/asinh-inputs: Likewise.
14708         * benchtests/atan-inputs: Likewise.
14709         * benchtests/atanh-inputs: Likewise.
14710         * benchtests/cos-inputs: Likewise.
14711         * benchtests/cosh-inputs: Likewise.
14712         * benchtests/exp-inputs: Likewise.
14713         * benchtests/log-inputs: Likewise.
14714         * benchtests/pow-inputs: Likewise.
14715         * benchtests/rint-inputs: Likewise.
14716         * benchtests/sin-inputs: Likewise.
14717         * benchtests/sinh-inputs: Likewise.
14718         * benchtests/tan-inputs: Likewise.
14719         * benchtests/tanh-inputs: Likewise.
14720         * scripts/bench.pl: Add support for new directives.
14721
14722 2013-10-07  Alan Modra  <amodra@gmail.com>
14723
14724         * README: Fix careless merge.
14725
14726 2013-10-05  Alan Modra  <amodra@gmail.com>
14727
14728         * NEWS: Mention powerpc64le support and bugs fixed.
14729         * README: Both big-endian and little-endian powerpc64 supported.
14730
14731 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14732
14733         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14734         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14735         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14736         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14737
14738 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14739
14740         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14741         match prototype.
14742
14743 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14744
14745         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14746         Move -mhard-float appending from
14747         ports/sysdeps/powerpc/powerpc32/Makefile.
14748         [$(with-fp) = yes] (ASFLAGS): Likewise.
14749         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14750         * sysdeps/powerpc/nofpu: Move directory from
14751         ports/sysdeps/powerpc/nofpu.
14752         * sysdeps/powerpc/soft-fp: Move directory from
14753         ports/sysdeps/powerpc/soft-fp.
14754         * sysdeps/powerpc/powerpc32/405: Move directory from
14755         ports/sysdeps/powerpc/powerpc32/405.
14756         * sysdeps/powerpc/powerpc32/440: Move directory from
14757         ports/sysdeps/powerpc/powerpc32/440.
14758         * sysdeps/powerpc/powerpc32/464: Move directory from
14759         ports/sysdeps/powerpc/powerpc32/464.
14760         * sysdeps/powerpc/powerpc32/476: Move directory from
14761         ports/sysdeps/powerpc/powerpc32/476.
14762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14763         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14765         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14767         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14769         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14771         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14772         * README: Update for powerpc-*-linux-gnu software floating point
14773         support in libc.
14774
14775         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14776         case to powerpc/powerpc32*.
14777         * sysdeps/unix/sysv/linux/configure: Regenerated.
14778
14779         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14780         (_FPU_MASK_OM): Define as 0x04.
14781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14783         0x00c10080.
14784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14785         0x0000003c.
14786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14787
14788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14789         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14790         getcontext_e500.
14791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14792         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14793         setcontext_e500.
14794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14795         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14796         and setcontext_e500.
14797
14798 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14799
14800         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14801
14802 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14803
14804         * manual/threads.texi (Default Thread Attributes): Fix typo.
14805
14806 2013-10-04  Will Newton  <will.newton@linaro.org>
14807
14808         * malloc/Makefile: Add tst-memalign.
14809         * malloc/tst-memalign.c: New file.
14810
14811         * malloc/tst-posix_memalign.c: Add comments.
14812         (do_test): Add comments and call free on all potentially
14813         allocated pointers. Add space after cast.
14814
14815         * malloc/tst-pvalloc.c: Add comments.
14816         (do_test): Add comments and call free on all potentially
14817         allocated pointers. Remove duplicate check for NULL pointer.
14818         Add space after cast.
14819
14820         * malloc/tst-valloc.c: Add comments.
14821         (do_test): Add comments and call free on all potentially
14822         allocated pointers. Remove duplicate check for NULL pointer.
14823         Add space after cast.
14824
14825 2013-10-04  Alan Modra  <amodra@gmail.com>
14826
14827         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14828         Use stdint types in rather than __attribute__((mode())).
14829         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14830
14831 2013-10-04  Alan Modra  <amodra@gmail.com>
14832
14833         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14834         Correct handling of unaligned relocs for little-endian.
14835         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14836
14837 2013-10-04  Alan Modra  <amodra@gmail.com>
14838
14839         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14840         * configure: Regenerate.
14841         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14842         * shlib-versions: Likewise.
14843
14844 2013-10-04  Alan Modra  <amodra@gmail.com>
14845
14846         * string/tester.c (test_memrchr): Increment reported test cycle.
14847
14848 2013-10-04  Alan Modra  <amodra@gmail.com>
14849
14850         * string/test-memcpy.c (do_one_test): When reporting errors, print
14851         string address and don't overrun end of string.
14852
14853 2013-10-04  Alan Modra  <amodra@gmail.com>
14854
14855         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14856         insrdi.  Make better use of reg selection to speed exit slightly.
14857         Schedule entry path a little better.  Remove useless "are we done"
14858         checks on entry to main loop.  Handle wrapping around zero address.
14859         Correct main loop count.  Handle single left-over word from main
14860         loop inline rather than by using loop_small.  Remove extra word
14861         case in loop_small caused by wrong loop count.  Add little-endian
14862         support.
14863         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14864         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14865         cache hint.
14866         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14867         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14868         support.  Avoid rlwimi.
14869         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14870
14871 2013-10-04  Alan Modra  <amodra@gmail.com>
14872
14873         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14874         insrdi.  Formatting.
14875         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14876         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14877         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14878         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14879         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14880         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14881
14882 2013-10-04  Alan Modra  <amodra@gmail.com>
14883
14884         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14885         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14886         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14887         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14888         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14889         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14890         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14891         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14892         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14893         use of regs.  Use power7 mtocrf.  Tidy function tails.
14894
14895 2013-10-04  Alan Modra  <amodra@gmail.com>
14896
14897         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14898         Formatting.  Consistently use rXXX register defines or rN defines.
14899         Use early exit labels that avoid restoring unused non-volatile regs.
14900         Make cr field use more consistent with rWORDn compares.  Rename
14901         regs used as shift registers for unaligned loop, using rN defines
14902         for short lifetime/multiple use regs.
14903         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14904         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14905         addi 1,1,64 to pop stack frame.  Simplify return value code.
14906         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14907
14908 2013-10-04  Alan Modra  <amodra@gmail.com>
14909
14910         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14911         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14912         rather than rlwimi.
14913         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14914         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14915         little-endian support.  Correct typos.
14916         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14917         rather than rlwimi.
14918         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14919         in loop and entry code to keep "and." results.
14920         (strchr): Add little-endian support.  Comment.  Move cntlzd
14921         earlier in tail.
14922         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14923
14924 2013-10-04  Alan Modra  <amodra@gmail.com>
14925
14926         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14927         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14928         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14929         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14930
14931 2013-10-04  Alan Modra  <amodra@gmail.com>
14932
14933         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14934         (rTMP): Define as r11.
14935         (strcmp): Add little-endian support.  Optimise tail.
14936         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14937         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14938         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14939         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14940         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14942         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14943
14944 2013-10-04  Alan Modra  <amodra@gmail.com>
14945
14946         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14947         little-endian support.  Remove unnecessary "are we done" tests.
14948         Handle "s" wrapping around zero and extremely large "size".
14949         Correct main loop count.  Handle single left-over word from main
14950         loop inline rather than by using small_loop.  Correct comments.
14951         Delete "zero" tail, use "end_max" instead.
14952         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14953
14954 2013-10-04  Alan Modra  <amodra@gmail.com>
14955
14956         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14957         support.  Don't branch over align.
14958         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14959         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14960         support.  Rearrange tmp reg use to suit.  Comment.
14961         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14962
14963 2013-10-04  Alan Modra  <amodra@gmail.com>
14964
14965         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14966
14967 2013-10-04  Alan Modra  <amodra@gmail.com>
14968
14969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14970         conditional form of branch and link when obtaining pc.
14971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14972
14973 2013-10-04  Alan Modra  <amodra@gmail.com>
14974
14975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14976         HIWORD/LOWORD.
14977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14979
14980 2013-10-04  Alan Modra  <amodra@gmail.com>
14981
14982         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14983         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14984         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14985         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14986         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14987         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14988         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14989         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14990         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14991         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14992
14993 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14994             Alistair Popple <alistair@ozlabs.au.ibm.com>
14995             Alan Modra <amodra@gmail.com>
14996
14997         [BZ #15723]
14998         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14999         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15000         _dl_hwcap access for little-endian.
15001         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15002         destroy vmx regs when saving unaligned.
15003         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15004         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15005         destroy vmx regs when saving unaligned.
15006
15007 2013-10-04  Alan Modra  <amodra@gmail.com>
15008
15009         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15010         Don't use a union to pack hi/low value.
15011
15012 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15013
15014         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15015         for little-endian.
15016         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15017         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15018         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15019         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15020         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15021
15022 2013-10-04  Alan Modra  <amodra@gmail.com>
15023
15024         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15025         constants to usual value for .cst8 section, and remove redundant
15026         high address load.
15027         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15028         constant for 0x1p52.  Load little-endian words of double from
15029         correct stack offsets.
15030
15031 2013-10-04  Alan Modra  <amodra@gmail.com>
15032
15033         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15034         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15035         words of double from correct stack offsets.
15036         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15037         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15038         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15039         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15040         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15041         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15042         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15043         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15044         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15045         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15046         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15047         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15048         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15049         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15050         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15051         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15052         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15053
15054 2013-10-04  Alan Modra  <amodra@gmail.com>
15055
15056         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15057         64-bit int/double union.
15058         (_FPU_SETCW): Likewise.
15059         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15060         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15061
15062 2013-10-04  Alan Modra  <amodra@gmail.com>
15063
15064         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15065         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15066
15067 2013-10-04  Alan Modra  <amodra@gmail.com>
15068
15069         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15070         use vector int constants.
15071         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15072
15073 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15074
15075         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15076         array with long long.
15077         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15078         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15079         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15080         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15081         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15082         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15083         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15084         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15085         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15086         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15087         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15088         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15089         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15090
15091 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15092
15093         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15094         (__signbit): Likewise.  Correct for little-endian.
15095         (__signbitl): Call __signbit.
15096         (lrint): Correct for little-endian.
15097         (lrintf): Call lrint.
15098
15099 2013-10-04  Alan Modra  <amodra@gmail.com>
15100
15101         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15102         union 32-bit int array member with 64-bit int array.
15103         (t515, tm256): Double rather than long double.
15104         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15105
15106 2013-10-04  Alan Modra  <amodra@gmail.com>
15107
15108         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15109         Delete.
15110         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15112         version of math_ldbl.h.
15113
15114 2013-10-04  Alan Modra  <amodra@gmail.com>
15115
15116         [BZ #15734], [BZ #15735]
15117         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15118         all uses of ieee875 long double macros and unions.  Simplify test
15119         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15120         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15121         normalize after ldbl_extract_mantissa, and don't add hidden bit
15122         already handled.  Don't treat low word of ieee854 mantissa like
15123         low word of IBM long double and mask off bit when testing for
15124         zero.
15125         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15126         all uses of ieee875 long double macros and unions.  Simplify tests
15127         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15128         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15129         two1022, instead use their values.  Recognise that tests for large
15130         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15131         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15132         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15133         test for 0.0L and nan.  Correct negation.
15134         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15135         ieee875 long double macros and unions.  Correct output for large
15136         magnitude x.  Correct absolute value calculation.
15137         (__erfcl): Likewise.
15138         * math/libm-test.inc: Add tests for errors discovered in IBM long
15139         double versions of fmodl, remainderl, erfl and erfcl.
15140
15141 2013-10-04  Alan Modra  <amodra@gmail.com>
15142
15143         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15144         all uses of ieee854 long double macros and unions.  Simplify tests
15145         for long doubles that are fully specified by the high double.
15146         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15147         Likewise.
15148         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15149         Remove dead code too.
15150         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15151         (__ieee754_ynl): Likewise.
15152         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15153         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15154         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15155         Remove dead code too.
15156         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15157         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15158         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15159         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15160         Simplify.
15161         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15162         Simplify.
15163         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15164         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15165         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15166         Comment on variable precision.
15167         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15168         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15169         Likewise.
15170         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15171         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15172         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15173         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15174         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15175
15176 2013-10-04  Alan Modra  <amodra@gmail.com>
15177
15178         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15179         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15180         all uses of ieee854 long double macros and unions.
15181         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15182         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15183         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15184         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15185         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15186         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15187         Likewise.
15188         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15189         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15190         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15191         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15192         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15193         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15194         Simplify sign and nan test too.
15195         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15196         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15197         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15198         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15199         Likewise.
15200         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15201         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15202         Likewise.
15203         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15204         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15205         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15206         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15207         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15208         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15209
15210 2013-10-04  Alan Modra  <amodra@gmail.com>
15211
15212         * stdio-common/printf_size.c (__printf_size): Don't use
15213         union ieee854_long_double in fpnum union.
15214         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15215         signbit macro to retrieve sign from long double.
15216         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15217         retrieve sign from long double.
15218         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15219         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15220         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15221         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15222         * math/test-misc.c (main): Don't use union ieee854_long_double.
15223
15224 2013-10-04  Alan Modra  <amodra@gmail.com>
15225
15226         [BZ #15680]
15227         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15228         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15229         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15230         calculation.  Remove unnecessary test for denormal exponent.
15231         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15232         Correct handling of denormals.  Avoid undefined shift behaviour.
15233         Correct normalisation of low mantissa when low double is denormal.
15234         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15235         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15236         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15237         Correct normalisation of low mantissa.  Test for overflow of high
15238         mantissa and normalise.
15239         (ldbl_nearbyint): Use more readable constant for two52.
15240         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15241         (__mpn_construct_long_double): Fix test for overflow of high
15242         mantissa and correct normalisation.  Avoid undefined shift.
15243
15244 2013-10-04  Alan Modra  <amodra@gmail.com>
15245
15246         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15247         (union ibm_extended_long_double): Define as an array of ieee754_double.
15248         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15249         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15250         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15251         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15252         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15253         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15254         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15255         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15256         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15257         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15258         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15259
15260 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15261
15262         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15263         page size instead of calling getpagesize.
15264
15265         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15266         (LOCFILE_ALIGN_MASK): Likewise.
15267         (LOCFILE_ALIGN_UP): Likewise.
15268         (LOCFILE_ALIGNED_P): Likewise.
15269         * locale/programs/ld-collate.c (collate_output): Use the new
15270         macros instead of __alignof__ (int32_t).
15271         * locale/weight.h (findidx): Likewise.
15272
15273 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15274
15275         [BZ #431]
15276         * manual/string.texi: Fix strncat and wcsncat.
15277
15278 2013-10-03  Brooks Moses  <bmoses@google.com>
15279
15280         [BZ #15915]
15281         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15282         * Makerules: ...here, and adjust associated comments.
15283
15284 2013-10-02  Will Newton  <will.newton@linaro.org>
15285
15286         * malloc/Makefile: Add tst-pvalloc.
15287         * malloc/tst-pvalloc.c: New file.
15288
15289 2013-10-02  Will Newton  <will.newton@linaro.org>
15290
15291         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15292         improve test coverage.
15293
15294 2013-10-02  Will Newton  <will.newton@linaro.org>
15295
15296         * malloc/Makefile: Add tst-posix_memalign.
15297         * malloc/tst-posix_memalign.c: New file.
15298
15299 2013-10-01  Eric Blake  <eblake@redhat.com>
15300
15301         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15302         Use __THROWNL rather than __THROW on static functions.
15303
15304 2013-09-30  Petr Machata  <pmachata@redhat.com>
15305
15306         * elf/elf.h (R_AARCH64_ABS16): New macro.
15307         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15308         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15309         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15310         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15311         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15312         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15313         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15314         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15315         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15316         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15317         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15318         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15319         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15320         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15321         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15322         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15323         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15324         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15325         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15326         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15327         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15328         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15329         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15330         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15331         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15332         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15333         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15334         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15335         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15336         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15337         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15338         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15339         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15340         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15341         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15342         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15343         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15344         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15345         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15346         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15347         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15348         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15349         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15350         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15351         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15352         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15353         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15354         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15355         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15356         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15357         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15358         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15359         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15360         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15361         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15362         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15363         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15364         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15365         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15366         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15367         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15368         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15369         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15370         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15371         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15372         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15373         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15374         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15375         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15376         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15377         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15378         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15379         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15380         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15381         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15382         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15383         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15384         (R_AARCH64_TLSDESC_LDR): Likewise.
15385         (R_AARCH64_TLSDESC_ADD): Likewise.
15386         (R_AARCH64_TLSDESC_CALL): Likewise.
15387
15388 2013-09-30  Andreas Schwab  <schwab@suse.de>
15389
15390         [BZ #15048]
15391         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15392         the nss database lookup.
15393         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15395
15396 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15397
15398         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15399
15400 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15401
15402         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15403         ${Bash-specific parameter/pattern/string} parameter expansion.
15404         * sysdeps/unix/make-syscalls.sh: Likewise.
15405
15406 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15407
15408         * sysdeps/sh/stackguard-macros.h: New file.
15409
15410 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15411
15412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15413         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15414         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15415         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15416         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15417         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15418
15419 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15420
15421         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15422         Fix thread ID register.
15423
15424 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15425
15426         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15427         [POSIX || UNIX98]: Require rather than permitting all symbols from
15428         <time.h>.
15429         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15430         element of struct sched_param.
15431         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15432         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15433         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15434         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15435         constant.
15436
15437 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15438
15439         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15440         argument calculation.
15441
15442 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15443
15444         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15445         Expect macro.
15446         [POSIX] (pthread_attr_t): Do not require type.
15447         [POSIX] (pthread_cond_t): Likewise.
15448         [POSIX] (pthread_condattr_t): Likewise.
15449         [POSIX] (pthread_key_t): Likewise.
15450         [POSIX] (pthread_mutex_t): Likewise.
15451         [POSIX] (pthread_mutexattr_t): Likewise.
15452         [POSIX] (pthread_once_t): Likewise.
15453         [POSIX] (pthread_t): Likewise.
15454         [POSIX-based standards] (pthread_atfork): Expect function.
15455
15456 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15457             Richard Sandiford  <richard@codesourcery.com>
15458
15459         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15460         (swap_endianness_p): New extern variable.
15461         (set_big_endian): New inline function.
15462         (maybe_swap_uint32): Likewise.
15463         (maybe_swap_uint32_array): Likewise.
15464         (maybe_swap_uint32_obstack): Likewise.
15465         * locale/programs/locfile.c: Include <stdbool.h>.
15466         (swap_endianness_p): New variable.
15467         (add_locale_uint32): Call maybe_swap_uint32.
15468         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15469         (write_locale_data): Call maybe_swap_uint32_array.
15470         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15471         maybe_swap_uint32.
15472         (obstack_int32_grow_fast): Likewise.
15473         (output_weightwc): Call maybe_swap_uint32_obstack.
15474         (collate_output): Likewise.
15475         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15476         (OPT_LITTLE_ENDIAN): Likewise.
15477         (options): Add --little-endian and --big-endian options.
15478         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15479         * locale/programs/locarchive.c: Include "locfile.h".
15480         (GET): New macro.
15481         (SET): Likewise.
15482         (INC): Likewise.
15483         (create_archive): Use the new macros to access fields of
15484         structures directly mapped from or written to locale archives.
15485         (oldlocrecentcmp): Likewise.
15486         (enlarge_archive): Likewise.
15487         (insert_name): Likewise.
15488         (add_alias): Likewise.
15489         (add_locale): Likewise.
15490         (delete_locales_from_archive): Likewise.
15491         (show_archive_content): Likewise.
15492         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15493         locale data.
15494
15495 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15496
15497         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15498         http://www.gnu.org/doc/freemanuals.texi.
15499         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15500
15501 2013-09-24  Will Newton  <will.newton@linaro.org>
15502
15503         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15504         macro.
15505
15506 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15507
15508         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15509         unsigned char.
15510
15511 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15512
15513         * manual/threads.texi (POSIX Threads): Fix a typo.
15514
15515 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15516
15517         [BZ #14547]
15518         * string/tst-strcoll-overflow.c: New test case.
15519         * string/Makefile (xtests): Add tst-strcoll-overflow.
15520         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15521         cache if string sizes may cause integer overflow.
15522
15523         [BZ #14547]
15524         * string/strcoll_l.c (coll_seq): New members rule, idx,
15525         save_idx and back_us.
15526         (get_next_seq_nocache): New function.
15527         (do_compare_nocache): New function.
15528         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15529         when malloc fails.
15530
15531 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15532
15533         [BZ #15754]
15534         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15535         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15536         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15537
15538         [BZ #15754]
15539         * elf/Makefile (tests): Add tst-ptrguard1.
15540         (tests-static): Add tst-ptrguard1-static.
15541         (tst-ptrguard1-ARGS): Define.
15542         (tst-ptrguard1-static-ARGS): Define.
15543         * elf/tst-ptrguard1.c: New file.
15544         * elf/tst-ptrguard1-static.c: New file.
15545         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15546         * sysdeps/i386/stackguard-macros.h: Likewise.
15547         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15548         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15549         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15550         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15551         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15552         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15553
15554 2013-09-23  Hector Marco  <hecmargi@upv.es>
15555             Ismael Ripoll  <iripoll@disca.upv.es>
15556             Carlos O'Donell  <carlos@redhat.com>
15557
15558         [BZ #15754]
15559         * sysdeps/generic/stackguard-macros.h: Define
15560         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15561         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15562         Define __pointer_chk_guard_local.
15563         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15564         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15565
15566 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15567
15568         [BZ #15859]
15569         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15570
15571 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15572
15573         * include/string.h (__ffs): Declare as hidden.
15574         * string/ffs.c (__ffs): Define as hidden.
15575         * sysdeps/i386/ffs.c (__ffs): Likewise.
15576         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15577         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15578         * sysdeps/s390/ffs.c (__ffs): Likewise.
15579         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15580
15581 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15582
15583         * NEWS: Mention malloc probes.
15584
15585         * malloc/arena.c (new_heap): New memory_heap_new probe.
15586         (grow_heap): New memory_heap_more probe.
15587         (shrink_heap): New memory_heap_less probe.
15588         (heap_trim): New memory_heap_free probe.
15589         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15590         (systrim): New memory_sbrk_less probe.
15591         * manual/probes.texi: Document them.
15592
15593         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15594         * manual/probes.texi: Document it.
15595
15596         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15597         (__libc_realloc): Add memory_realloc_retry probe.
15598         (__libc_memalign): Add memory_memalign_retry probe.
15599         (__libc_valloc): Add memory_valloc_retry probe.
15600         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15601         (__libc_calloc): Add memory_calloc_retry probe.
15602         * manual/probes.texi: Document them.
15603
15604         * malloc/arena.c (get_free_list): Add probe
15605         memory_arena_reuse_free_list.
15606         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15607         and memory_arena_reuse.
15608         (arena_get2) [!PER_THREAD]: Likewise.
15609         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15610         memory_arena_reuse_realloc.
15611         * manual/probes.texi: Document them.
15612
15613         * malloc/malloc.c (__libc_free): Add
15614         memory_mallopt_free_dyn_thresholds probe.
15615         (__libc_mallopt): Add multiple memory_mallopt probes.
15616         * manual/probes.texi: Document them.
15617
15618         * malloc/malloc.c: Include stap-probe.h.
15619         (__libc_mallopt): Add memory_mallopt probe.
15620         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15621         * manual/probes.texi: New.
15622         * manual/Makefile (chapters): Add probes.
15623         * manual/threads.texi: Set next node.
15624
15625 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15626
15627         [BZ #15963, #13985]
15628         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15629         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15630         Add `Chinese' to `nan' entry name.
15631
15632 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15633
15634         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15635         (POLYNOMIAL): Likewise.
15636         (TAYLOR_SINCOS): Likewise.
15637         (TAYLOR_SLOW): Likewise.
15638         (__sin): Use TAYLOR_SINCOS.
15639         (__cos): Likewise.
15640         (slow): Use TAYLOR_SLOW.
15641         (sloww): Likewise.
15642         (bsloww): Likewise.
15643         (csloww): Likewise.
15644
15645 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15646
15647         * stdlib/strtod_l.c: Fix buffer overrun.
15648
15649 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15650
15651         * benchtests/Makefile (bench): Add sincos.
15652         * benchtests/bench-sincos.c: New file.
15653
15654         * math/libm-test.inc (cos_test_data): New test inputs.
15655         (sin_test_data): Likewise.
15656
15657         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15658         macro.
15659         (__sin): Use it.
15660         (__cos): Likewise.
15661         (slow1): Likewise.
15662         (slow2): Likewise.
15663         (sloww1): Likewise.
15664         (sloww2): Likewise.
15665         (bsloww1): Likewise.
15666         (bsloww2): Likewise.
15667         (cslow2): Likewise.
15668         (csloww1): Likewise.
15669         (csloww2): Likewise.
15670
15671         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15672         function.
15673         (__sin): Use it.
15674         (__cos): Likewise.
15675
15676         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15677         gotos.
15678         (__cos): Likewise.
15679
15680 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15681
15682         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15683         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15684         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15685         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15686         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15687         * elf/cache.c (print_entry): Handle the new cache flags.
15688
15689 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15690             Aldy Hernandez  <aldyh@redhat.com>
15691
15692         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15693         Change condition to [_SOFT_FLOAT].
15694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15700         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15703         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15706         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15709         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15710         declaration.
15711
15712 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15713
15714         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15715         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15716         (__longjmp): Use LOAD_GP to load saved GPRs.
15717         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15718         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15719         (__sigsetjmp): Use SAVE_GP to save GPRs.
15720
15721         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15722         Do not append -msoft-float.
15723         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15724
15725 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15726
15727         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15728
15729 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15730
15731         [BZ #15966]
15732         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15733         (_FPU_GETCW): Use initial "__" on variable and field names but not
15734         on macro parameter name.
15735         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15736         parentheses around reference to macro parameter.
15737
15738 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15739
15740         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15741         prototype.
15742         (ctype_startup): Use uint32_t in cast and sizeof for
15743         ctype->charnames.
15744
15745 2013-09-11  Jia Liu  <proljc@gmail.com>
15746
15747         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15748         __daddr_t_defined.
15749         [__FreeBSD__]: Likewise.
15750
15751 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15752
15753         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15754         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15755         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15756         (strchr): Remove __strchr_sse42 ifunc selection.
15757         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15758         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15759
15760 2013-09-11  Will Newton  <will.newton@linaro.org>
15761
15762         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15763         parameter to RES. Remove hardcoded 1000 value.
15764         * benchtests/bench-skeleton.c (main): Pass RES parameter
15765         to TIMING_INIT and multiply result by 1000.
15766
15767 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15768
15769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15770
15771 2013-09-11  Andreas Schwab  <schwab@suse.de>
15772
15773         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15774         if not defined.
15775         (O_TMPFILE) [__USE_GNU]: Define.
15776         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15777         Define.
15778
15779 2013-09-11  Will Newton  <will.newton@linaro.org>
15780
15781         [BZ #15857]
15782         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15783         does not overflow.
15784
15785 2013-09-11  Will Newton  <will.newton@linaro.org>
15786
15787         [BZ #15856]
15788         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15789         does not overflow.
15790
15791 2013-09-11  Will Newton  <will.newton@linaro.org>
15792
15793         [BZ #15855]
15794         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15795         does not overflow.
15796
15797 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15798
15799         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15800         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15801         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15802         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15803         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15804
15805 2013-09-10  Allan McRae  <allan@archlinux.org>
15806
15807         [BZ #15748]
15808         * manual/arith.texi (Parsing of Floats): Clarify
15809         cross-reference.
15810
15811         [BZ #15849]
15812         * manual/install.texi (Running make install): Mention
15813         --enable-pt-chown.
15814         * INSTALL: Regenerated.
15815
15816 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15817
15818         * csu/init-first.c (_init): Remove the !SHARED condition around
15819         FPU control word initialization.
15820         * elf/dl-support.c (_dl_fpu_control): New variable.
15821         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15822         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15823         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15824         * math/test-fpucw-static.c: New file.
15825         * math/test-fpucw-ieee.c: New file.
15826         * math/test-fpucw-ieee-static.c: New file.
15827         * math/Makefile (tests): Add `test-fpucw-ieee' and
15828         `$(tests-static)'.
15829         (tests-static): New variable.
15830         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15831         dependency to...
15832         [($(build-shared),yes)]
15833         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15834         ... this.
15835         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15836         New dependency.
15837
15838 2013-09-09  Allan McRae  <allan@archlinux.org>
15839
15840         [BZ #15939]
15841         * manual/string.texi (Collation Functions): Fix typo in
15842         strcoll example.
15843         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15844
15845         [BZ #15893]
15846         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15847
15848         [BZ #15892]
15849         * libio/memstream.c (open_memstream): Fix memory leak.
15850         * libio/wmemstream.c (open_wmemstream): Likewise.
15851
15852         [BZ #15895]
15853         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15854
15855 2013-09-09  Will Newton  <will.newton@linaro.org>
15856
15857         * malloc/Makefile: Add tst-realloc to tests.
15858         * malloc/tst-realloc.c: New file.
15859
15860 2013-09-09  Allan McRae  <allan@archlinux.org>
15861
15862         [BZ #15844]
15863         * COPYING: Update from GNU website to fix FSF address.
15864         * COPYING.LIB: Likewise.
15865
15866 2013-09-06  David S. Miller  <davem@davemloft.net>
15867
15868         * po/zh_TW.po: Update Chinese (traditional) translation from
15869         translation project.
15870
15871 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15872             Joseph Myers  <joseph@codesourcery.com>
15873
15874         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15875         "localeinfo.h".
15876         (obstack_chunk_alloc): New macro.
15877         (obstack_chunk_free): Likewise.
15878         (record_offset): New function.
15879         (init_locale_data): Likewise.
15880         (align_locale_data): Likewise.
15881         (add_locale_empty): Likewise.
15882         (add_locale_raw_data): Likewise.
15883         (add_locale_raw_obstack): Likewise.
15884         (add_locale_string): Likewise.
15885         (add_locale_wstring): Likewise.
15886         (add_locale_uint32): Likewise.
15887         (add_locale_uint32_array): Likewise.
15888         (add_locale_char): Likewise.
15889         (start_locale_structure): Likewise.
15890         (end_locale_structure): Likewise.
15891         (start_locale_prelude): Likewise.
15892         (end_locale_prelude): Likewise.
15893         (write_locale_data): Take locale_file structure rather than an
15894         iovec.
15895         * locale/programs/locfile.h: Include "obstack.h".
15896         (struct locale_file): Change to store locale file contents instead
15897         of header.
15898         (init_locale_data): New prototype.
15899         (align_locale_data): Likewise.
15900         (add_locale_empty): Likewise.
15901         (add_locale_raw_data): Likewise.
15902         (add_locale_raw_obstack): Likewise.
15903         (add_locale_string): Likewise.
15904         (add_locale_wstring): Likewise.
15905         (add_locale_uint32): Likewise.
15906         (add_locale_uint32_array): Likewise.
15907         (add_locale_char): Likewise.
15908         (start_locale_structure): Likewise.
15909         (end_locale_structure): Likewise.
15910         (start_locale_prelude): Likewise.
15911         (end_locale_prelude): Likewise.
15912         (write_locale_data): Update prototype.
15913         * locale/programs/3level.h (struct TABLE): Remove result field.
15914         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15915         Use new locale_file interface.
15916         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15917         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15918         * locale/programs/ld-address.c (address_output): Use new
15919         locale_file interface.
15920         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15921         NO_ADD_LOCALE.
15922         (collate_finish): Don't call collseq_table_finalize.
15923         (collate_output): Use new locale_file interface.
15924         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15925         in file.
15926         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15927         (TABLE): Move defines earlier in file.
15928         (ELEMENT): Likewise.
15929         (DEFAULT): Likewise.
15930         (wctrans_table_add): Move macro and inline function earlier in
15931         file.
15932         (struct wctype_table): Move type earlier in file.
15933         (add_locale_wctype_table): New static prototype.
15934         (struct locale_ctype_t): Use logical types instead of struct iovec
15935         pointers for members.
15936         (ctype_output): Use new locale_file interface.
15937         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15938         new locale_file interface.
15939         (allocate_arrays): Update for use of new locale_file interface.
15940         * locale/programs/ld-identification.c (identification_output): Use
15941         new locale_file interface.
15942         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15943         * locale/programs/ld-messages.c (messages_output): Likewise.
15944         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15945         * locale/programs/ld-name.c (name_output): Likewise.
15946         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15947         * locale/programs/ld-paper.c (paper_output): Likewise.
15948         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15949         * locale/programs/ld-time.c (time_output): Likewise.
15950
15951 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15952
15953         * benchtests/Makefile: Add memrchr benchmark.
15954         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15955         benchmark as memrchr.
15956         * benchtests/bench-memrchr-ifunc.c: New file.
15957         * benchtests/bench-memrchr.c: New file.
15958
15959 2013-09-06   Will Newton  <will.newton@linaro.org>
15960
15961         * benchtests/Makefile (string-bench): Add memcpy.
15962
15963 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15964             Cong Wang  <amwang@redhat.com>
15965
15966         [BZ #15850]
15967         * sysdeps/unix/sysv/linux/bits/in.h
15968         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15969         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15970         before __USE_KERNEL_IPV6_DEFS uses.
15971         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15972         IPPROTO_BEETPH.
15973         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15974         sockaddr_in6, or ipv6_mreq.
15975
15976 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15977
15978         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15979         memory access for final bytes in some large inputs.
15980         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15981
15982 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15983
15984         * string/test-memrchr.c: New file.
15985         * string/test-memrchr-ifunc.c: New file.
15986         * string/Makefile: Add new memrchr testcase.
15987
15988 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15989
15990         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15991         fanotify_init returns EPERM.
15992
15993 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15994
15995         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15996         errors.
15997         (top level): Treat second token from macro or constant entries for
15998         allowed headers as allowed.
15999         * include/complex.h: Condition internal declarations on
16000         [!_ISOMAC].
16001         * include/fenv.h: Condition include of <stdbool.h> and internal
16002         declarations on [!_ISOMAC].
16003
16004 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16005
16006         [BZ #15923]
16007         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16008
16009 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16010
16011         * configure.in (--enable-versioning): Remove configure option.
16012         (libc_cv_asm_symver_directive): Remove configure test.
16013         (libc_cv_ld_version_script_option): Likewise.
16014         (VERSIONING): Remove variable and AC_SUBST.
16015         (DO_VERSIONING): Remove AC_DEFINE.
16016         * configure: Regenerated.
16017         * config.h.in (DO_VERSIONING): Remove macro.
16018         * Makerules [$(versioning) = yes]: Change conditionals to
16019         [$(build-shared) = yes].
16020         * config.make.in (versioning): Remove variable.
16021         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16022         [$(build-shared) = yes].
16023         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16024         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16025         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16026         [$(build-shared) = yes].
16027         * extra-lib.mk [$(versioning) = yes]: Likewise.
16028         * hurd/Makefile [$(versioning) = yes]: Likewise.
16029         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16030         [SHARED].
16031         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16032         [SHARED].
16033         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16034         [SHARED && !NO_HIDDEN].
16035         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16036         [SHARED].
16037         [SHARED && DO_VERSIONING]: Likewise..
16038         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16039         [$(build-shared) = yes].
16040         * manual/install.texi (--disable-versioning): Remove
16041         documentation.
16042         * INSTALL: Regenerated.
16043         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16044         to [SHARED].
16045         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16046         [$(build-shared) = yes].
16047         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16048         * sysdeps/i386/i686/multiarch/strstr-c.c
16049         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16050         [SHARED && !NO_HIDDEN].
16051         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16052         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16053         * sysdeps/powerpc/powerpc32/dl-machine.c
16054         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16055         * sysdeps/powerpc/powerpc32/sysdep.h
16056         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16057         to [SHARED && PIC && !NO_HIDDEN].
16058         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16059         conditional to [SHARED].
16060
16061 2013-09-04   Will Newton  <will.newton@linaro.org>
16062
16063         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16064         * benchtests/bench-string.h: Include bench-timing.h instead
16065         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16066         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16067         call to HP_TIMING_DIFF_INIT.
16068         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16069         instead of hp-timing.h macros.
16070         * benchtests/bench-memchr.c: Likewise.
16071         * benchtests/bench-memcmp.c: Likewise.
16072         * benchtests/bench-memcpy.c: Likewise.
16073         * benchtests/bench-memmem.c: Likewise.
16074         * benchtests/bench-memmove.c: Likewise.
16075         * benchtests/bench-memset.c: Likewise.
16076         * benchtests/bench-rawmemchr.c: Likewise.
16077         * benchtests/bench-strcasecmp.c: Likewise.
16078         * benchtests/bench-strcasestr.c: Likewise.
16079         * benchtests/bench-strcat.c: Likewise.
16080         * benchtests/bench-strchr.c: Likewise.
16081         * benchtests/bench-strcmp.c: Likewise.
16082         * benchtests/bench-strcpy.c: Likewise.
16083         * benchtests/bench-strcpy_chk.c: Likewise.
16084         * benchtests/bench-strlen.c: Likewise.
16085         * benchtests/bench-strncasecmp.c: Likewise.
16086         * benchtests/bench-strncat.c: Likewise.
16087         * benchtests/bench-strncmp.c: Likewise.
16088         * benchtests/bench-strncpy.c: Likewise.
16089         * benchtests/bench-strnlen.c: Likewise.
16090         * benchtests/bench-strpbrk.c: Likewise.
16091         * benchtests/bench-strrchr.c: Likewise.
16092         * benchtests/bench-strspn.c: Likewise.
16093         * benchtests/bench-strstr.c: Likewise.
16094
16095 2013-09-04  Will Newton  <will.newton@linaro.org>
16096
16097         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16098
16099 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16100
16101         [BZ #15427]
16102         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16103         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16104         * math/libm-test.inc (lgamma_test_data): Add more tests.
16105         * sysdeps/i386/fpu/libm-test-ulps: Update.
16106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16107
16108 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16109
16110         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16111         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16112         Add ifunc.
16113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16114         Add strcmp-sse2-unaligned
16115         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16116
16117 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16118
16119         * Versions.def (libc): Add GLIBC_2.19.
16120
16121 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16122
16123         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16124         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16125
16126 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16127
16128         [BZ #14155]
16129         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16130         intermediate calculations in recurrence.
16131         (__ieee754_ynf): Likewise.
16132         * math/libm-test.inc (jn_test_data): Do not allow spurious
16133         underflow exception.  Add more tests.
16134         (yn_test_data): Add more tests.
16135         * sysdeps/i386/fpu/libm-test-ulps: Update.
16136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16137
16138 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16139
16140         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16141
16142 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16143
16144         * csu/init-first.c: Fix then/than typos.
16145         * locale/programs/ld-collate.c: Likewise.
16146         * locale/programs/linereader.h: Likewise.
16147         * manual/charset.texi: Likewise.
16148         * manual/filesys.texi: Likewise.
16149         * manual/stdio.texi: Likewise.
16150         * manual/string.texi: Likewise.
16151         * stdlib/fmtmsg.c: Likewise.
16152         * sysdeps/i386/stpncpy.S: Likewise.
16153         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16154         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16155         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16156         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16157
16158 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16159
16160         * elf/dl-open.c: Fix typos.
16161         * iconvdata/gbbig5.c: Likewise.
16162         * iconvdata/iso-2022-jp.c: Likewise.
16163         * iconv/gconv_int.h: Likewise.
16164         * iconv/loop.c: Likewise.
16165         * nis/rpcsvc/nis.h: Likewise.
16166         * resolv/ns_name.c: Likewise.
16167         * stdio-common/vfscanf.c: Likewise.
16168         * streams/stropts.h: Likewise.
16169         * sunrpc/rpc_thread.c: Likewise.
16170         * sysdeps/i386/strpbrk.S: Likewise.
16171         * sysdeps/ieee754/k_standard.c: Likewise.
16172         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16173         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16174         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16175         * sysdeps/mach/hurd/profil.c: Likewise.
16176         * sysdeps/s390/dl-procinfo.h: Likewise.
16177         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16178         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16179         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16180         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16181         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16182
16183 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16184
16185         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16187
16188 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16189
16190         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16191         aix specific files.
16192         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16193         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16194         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16195         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16196         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16197         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16198         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16199         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16200
16201 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16202             Roland McGrath  <roland@hack.frob.com>
16203
16204         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16205         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16206
16207 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16208
16209         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16210         __executable_start symbol instead of _start.
16211
16212 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16213
16214         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16215         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16216         Move macros to...
16217         * sysdeps/gnu/ldsodefs.h: ... this new file.
16218
16219         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16220         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16221         instead of ELFOSABI_LINUX.
16222
16223         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16224         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16225         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16226         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16227         Likewise.
16228         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16229         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16230         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16231         Likewise.
16232         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16233         (ibm_extended_long_double): Add ieee_nan member.
16234         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16235         (do_test): New function.
16236
16237         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16238         TEST_TRUNC.
16239         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16240         functions, renamed from truncdfsf_test, trunctfsf_test,
16241         trunctfdf_test.
16242         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16243         functions.
16244         (do_test): Run all these.
16245
16246 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16247
16248         * argp/argp-help.c: Fix typos.
16249         * argp/argp-parse.c: Likewise.
16250         * debug/backtracesyms.c: Likewise.
16251         * elf/elf.h: Likewise.
16252         * malloc/malloc.c: Likewise.
16253         * nis/nis_print.c: Likewise.
16254         * resolv/res_comp.c: Likewise.
16255         * stdlib/stdlib.h: Likewise.
16256         * sunrpc/clnt_tcp.c: Likewise.
16257         * sunrpc/clnt_udp.c: Likewise.
16258         * sunrpc/clnt_unix.c: Likewise.
16259         * sysdeps/unix/bsd/ptsname.c: Likewise.
16260         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16261         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16263         Likewise.
16264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16265         Likewise.
16266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16267         Likewise.
16268         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16269
16270 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16271
16272         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16273         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16274
16275 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16276
16277         [BZ #15897]
16278         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16279         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16280         ($(objpfx)bug-dl-leaf): New rule.
16281         ($(objpfx)bug-dl-leaf.so): Likewise.
16282         ($(objpfx)bug-dl-leaf.out): Likewise.
16283         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16284         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16285         * dlfcn/bug-dl-leaf.c: New test.
16286         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16287         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16288         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16289         (dlclose): Likewise.
16290         (dlmopen): Likewise.
16291
16292 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16293
16294         * include/netdb.h [!_ISOMAC]:
16295         Don't include <tls.h>.
16296         (h_errno, __libc_h_errno): Move declaration and macros out of
16297         [_LIBC_REENTRANT].
16298
16299         * include/resolv.h [_RESOLV_H_]:
16300         Don't include <tls.h>.
16301         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16302         * resolv/res_libc.c: Don't include <tls.h>.
16303         (_res): Use __attribute__ ((nocommon)) in place of
16304         __attribute__ ((section (".bss"))).
16305
16306         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16307         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16308
16309         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16310
16311         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16312         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16313
16314         * resolv/res_mkquery.c: Include <sys/time.h>.
16315
16316         * inet/ifreq.c: Moved to ...
16317         * sysdeps/unix/ifreq.c: ... here.
16318         * inet/ifreq.c: New file, true stub version.
16319
16320         * socket/sa_len.c: New file.
16321         * socket/Makefile (aux): Add it.
16322         * sysdeps/unix/sysv/linux/Makefile
16323         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16324         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16325         and #include <socket/sa_len.c>.
16326         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16327         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16328
16329         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16330         * bits/socket.h: ... here.
16331
16332         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16333         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16334         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16335
16336 2013-08-27  Andreas Schwab  <schwab@suse.de>
16337
16338         [BZ #15736]
16339         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16340         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16341         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16342         * string/test-strcasecmp.c (test_main): Run tests in several
16343         locales.
16344         * string/test-strncasecmp.c (test_main): Likewise.
16345
16346         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16347         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16348         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16349         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16350         (__strncasecmp_ssse3) [PIC]: Likewise.
16351
16352 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16353
16354         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16355
16356         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16357         instead of explicitly declaring xdecrypt.
16358         * nis/nss_nis/nis-publickey.c: Likewise.
16359
16360 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16361
16362         [BZ #15890]
16363         * nscd/aicache.c: Include res_hconf.h.
16364         (addhstaiX): Initialize res_hconf.
16365
16366 2013-08-26  Andreas Schwab  <schwab@suse.de>
16367
16368         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16369         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16370
16371 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16372
16373         * nscd/aicache.c (addhstaiX): Fix indentation.
16374
16375 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16376
16377         * configure.ac: Quote $build_pt_chown test.
16378         * configure: Regenerated.
16379
16380 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16381
16382         [BZ #15532]
16383         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16384         * math/s_cexpf.c (__cexpf): Likewise.
16385         * math/s_cexpl.c (__cexpl): Likewise.
16386         * math/libm-test.inc (cexp_test_data): Correct expected return
16387         value for NaN + i0.  Add another test.
16388
16389 2013-08-22  David S. Miller  <davem@davemloft.net>
16390
16391         * po/ca.po: Update Catalan translation from translation project.
16392         * po/uk.po: Add Ukrainian translations from translation project.
16393
16394 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16395
16396         [BZ #15797]
16397         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16398         is infinite, not alongside NaN test.
16399         * math/s_fdimf.c (__fdimf): Likewise.
16400         * math/s_fdiml.c (__fdiml): Likewise.
16401         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16402         errno is unchanged.
16403
16404 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16405
16406         * argp/argp-help.c: Fix typos.
16407         * crypt/speeds.c: Likewise.
16408         * csu/check_fds.c: Likewise.
16409         * elf/dl-load.c: Likewise.
16410         * elf/dl-open.c: Likewise.
16411         * elf/reldep3.c: Likewise.
16412         * elf/reldep.c: Likewise.
16413         * elf/sprof.c: Likewise.
16414         * iconv/iconv_charmap.c: Likewise.
16415         * iconv/skeleton.c: Likewise.
16416         * iconv/strtab.c: Likewise.
16417         * io/lockf64.c: Likewise.
16418         * libio/libioP.h: Likewise.
16419         * resolv/gai_notify.c: Likewise.
16420         * resolv/ns_name.c: Likewise.
16421         * resolv/ns_samedomain.c: Likewise.
16422         * resolv/res_send.c: Likewise.
16423         * stdlib/random.c: Likewise.
16424         * sunrpc/rpc/xdr.h: Likewise.
16425         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16426         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16427         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16428         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16429         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16430         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16431         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16432         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16433         * sysdeps/mach/hurd/check_fds.c: Likewise.
16434         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16435         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16436         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16437         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16438         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16439         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16440         * sysdeps/pthread/aio_notify.c: Likewise.
16441         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16442         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16443         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16444         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16445         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16446
16447 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16448
16449         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16450         version if bit_Slow_SSE4_2 is set.
16451         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16452         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16453
16454 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16455
16456         [BZ #15867]
16457         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16458         trampoline stack frame information.
16459         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16460         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16461         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16462         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16463         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16464         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16465         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16466         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16467         sa_flags value.
16468         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16469         interrupting a syscall and set with option SA_SIGINFO.
16470
16471 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16472
16473         [BZ #15531]
16474         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16475         argument is infinite.
16476         * math/s_cprojf.c (__cprojf): Likewise.
16477         * math/s_cprojl.c (__cprojl): Likewise.
16478         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16479         * math/libm-test.inc (cproj_test_data): Add more tests.
16480
16481         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16482
16483         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16484         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16485         size.  Use __ffs to determine corresponding shift.
16486
16487 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16488             Roland McGrath  <roland@hack.frob.com>
16489
16490         * Makefile (INSTALL): Remove trailing blank lines from output of
16491         makeinfo.
16492
16493 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16494
16495         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16496         Align 32 bit compat elf_greg to 8 bytes.
16497
16498 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16499
16500         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16501
16502 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16503
16504         * string/strcoll_l.c (coll_seq): New structure.
16505         (get_next_seq_cached): New function.
16506         (get_next_seq): New function.
16507         (do_compare): New function.
16508         (STRCOLL): Use GNU style definition.  Simplify implementation
16509         by using get_next_seq, get_next_seq_cached and do_compare.
16510
16511 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16512
16513         [BZ #14699]
16514         CVE-2013-4237
16515         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16516         member.
16517         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16518         member.
16519         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16520         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16521         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16522         conditional.
16523         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16524         GETDENTS_64BIT_ALIGNED.
16525         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16526         * manual/filesys.texi (Reading/Closing Directory): Document
16527         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16528         strongly.
16529         * manual/conf.texi (Limits for Files): Add portability note to
16530         NAME_MAX, PATH_MAX.
16531         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16532
16533 2013-08-13  Andreas Schwab  <schwab@suse.de>
16534
16535         [BZ #15749]
16536         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16537         of fabs.
16538         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16539         LDBL_MAX_EXP >= 16384]: Add tests for it.
16540
16541 2013-08-12  David S. Miller  <davem@davemloft.net>
16542
16543         * version.h (RELEASE): Set to "development".
16544         (VERSION): Set to "2.18.90".
16545         * NEWS: Add 2.19 section.
16546
16547 2013-08-03  David S. Miller  <davem@davemloft.net>
16548
16549         * po/ko.po: Update Korean translation from translation project.
16550
16551 2013-08-01  David S. Miller  <davem@davemloft.net>
16552
16553         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16554         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16555         Bilka.
16556
16557 2013-07-30  David S. Miller  <davem@davemloft.net>
16558
16559         * po/fr.po: Update French translation from translation project.
16560
16561 2013-07-28  David S. Miller  <davem@davemloft.net>
16562
16563         * po/cs.po: Update Czech translation from translation project.
16564
16565         * po/sv.po: Update Swedish translation from translation project.
16566
16567 2013-07-27  David S. Miller  <davem@davemloft.net>
16568
16569         * po/eo.po: Update Esperanto translation from translation project.
16570
16571         * po/vi.po: Update Vietnamese translation from translation project.
16572
16573         * po/de.po: Update German translation from translation project.
16574
16575 2013-07-26  David S. Miller  <davem@davemloft.net>
16576
16577         * po/bg.po: Update Bulgarian translation from translation project.
16578
16579         * po/nl.po: Update Dutch translation from translation project.
16580         * po/pl.po: Update Polish translation from translation project.
16581         * po/ru.po: Update Russian translation from translation project.
16582
16583 2013-07-24  David S. Miller  <davem@davemloft.net>
16584
16585         * po/libc.pot: Update.
16586
16587 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16588
16589         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16590         variable page size.
16591         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16592         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16593         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16594
16595 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16596
16597         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16598
16599 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16600             Andreas Schwab  <schwab@suse.de>
16601             Roland McGrath  <roland@hack.frob.com>
16602             Joseph Myers  <joseph@codesourcery.com>
16603             Carlos O'Donell  <carlos@redhat.com>
16604
16605         [BZ #15755]
16606         * config.h.in: Define HAVE_PT_CHOWN.
16607         * config.make.in (build-pt-chown): New variable.
16608         * configure.in (--enable-pt_chown): New configure option.
16609         * configure: Regenerate.
16610         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16611         build-pt-chown is enabled.
16612         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16613         pt_chown to fix pty ownership.
16614         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16615         CLOSE_ALL_FDS.
16616         * manual/install.texi (Configuring and compiling): Mention
16617         --enable-pt_chown. Add @findex for grantpt.
16618         * INSTALL: Regenerate.
16619
16620 2013-07-20  David S. Miller  <davem@davemloft.net>
16621
16622         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16623         difference between 32-bit and 64-bit.
16624
16625 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16626
16627         [BZ #15711]
16628         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16629         Avoid system header dependency with -ffreestanding.
16630         ($(objpfx)bits/syscall%d): Likewise.
16631
16632 2013-07-13  David S. Miller  <davem@davemloft.net>
16633
16634         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16635         underflows from atanl/atan2l due to bug 15319.
16636         (casinh_test_data): Likewise.
16637
16638 2013-07-07  David S. Miller  <davem@davemloft.net>
16639
16640         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16641
16642 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16643
16644         * sysdeps/i386/fpu/libm-test-ulps: Update.
16645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16646
16647 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16648
16649         * configure.in (--enable-lock-elision): Fix message text.
16650         * INSTALL: Regenerate.
16651         * configure: Regenerate.
16652
16653 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16654
16655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16656
16657 2013-07-03  Andreas Jaeger  <aj@suse.de>
16658
16659         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16660         define.
16661         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16662         (ptrace_peeksiginfo_args): Add.
16663         (__ptrace_peeksiginfo_flags): Add.
16664         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16665         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16666         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16667
16668 2013-07-03  Allan McRae  <allan@archlinux.org>
16669
16670         * sysdeps/i386/fpu/libm-test-ulps: Update.
16671
16672 2013-07-02  David S. Miller  <davem@davemloft.net>
16673
16674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16675
16676 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16677
16678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16679
16680 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16681
16682         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16684
16685 2013-07-02  Andi Kleen <ak@linux.intel.com>
16686
16687         * config.h.in (ENABLE_LOCK_ELISION): Add.
16688         * configure.in (--enable-lock-elision): Add option.
16689         * manual/install.texi: Document --enable lock elision.
16690         * configure: Regenerate
16691         * INSTALL: Regenerate.
16692
16693 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16694
16695         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16696         SSE4.2 strcasecmp for libc.a.
16697         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16698
16699 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16700
16701         [BZ #13304]
16702         * soft-fp/op-common.h (_FP_FMA): New macro.
16703         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16704         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16705         (_FP_MUL_MEAT_1_imm): ... here.
16706         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16707         (_FP_MUL_MEAT_1_wide): ... here.
16708         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16709         (_FP_MUL_MEAT_1_hard): ... here.
16710         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16711         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16712         (_FP_MUL_MEAT_2_wide): ... here.
16713         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16714         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16715         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16716         (_FP_MUL_MEAT_2_gmp): ... here.
16717         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16718         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16719         (_FP_MUL_MEAT_4_wide): ... here.
16720         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16721         (_FP_MUL_MEAT_4_gmp): ... here.
16722         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16723         (_FP_WFRACBITS_DW_S): Likewise.
16724         (_FP_WFRACXBITS_DW_S): Likewise.
16725         (_FP_HIGHBIT_DW_S): Likewise.
16726         (FP_FMA_S): Likewise.
16727         (_FP_FRAC_HIGH_DW_S): Likewise.
16728         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16729         (_FP_WFRACBITS_DW_D): Likewise.
16730         (_FP_WFRACXBITS_DW_D): Likewise.
16731         (_FP_HIGHBIT_DW_D): Likewise.
16732         (FP_FMA_D): Likewise.
16733         (_FP_FRAC_HIGH_DW_D): Likewise.
16734         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16735         (_FP_WFRACBITS_DW_E): Likewise.
16736         (_FP_WFRACXBITS_DW_E): Likewise.
16737         (_FP_HIGHBIT_DW_E): Likewise.
16738         (FP_FMA_E): Likewise.
16739         (_FP_FRAC_HIGH_DW_E): Likewise.
16740         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16741         (_FP_WFRACBITS_DW_Q): Likewise.
16742         (_FP_WFRACXBITS_DW_Q): Likewise.
16743         (_FP_HIGHBIT_DW_Q): Likewise.
16744         (FP_FMA_Q): Likewise.
16745         (_FP_FRAC_HIGH_DW_Q): Likewise.
16746         * soft-fp/fmasf4.c: New file.
16747         * soft-fp/fmadf4.c: Likewise.
16748         * soft-fp/fmatf4.c: Likewise.
16749
16750 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16751
16752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16753         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16754         Silvermont.
16755         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16756         macro.
16757         (index_Slow_SSE4_2): Likewise.
16758         (index_Prefer_PMINUB_for_stringop): Likewise.
16759         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16760         bit_Slow_SSE4_2 is set.
16761         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16762         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16763
16764 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16765
16766         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16767         rtld_global._dl_hwcap2.
16768         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16769         POWER8.
16770         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16771         POWER8 feature descriptions defined in _dl_hwcap2.
16772         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16773         string handling for POWER8 feature bits.
16774         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16775         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16776         _dl_powerpc_cap_flags.
16777         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16778         * sysdeps/powerpc/rtld-global-offsets.sym
16779         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16780         _dl_hwcap2 in the rtld_global_ro structure.
16781
16782 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16783
16784         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16785         hardware capabilities in support of AT_HWCAP2.
16786         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16787         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16788         GLRO(dl_hwcap2).
16789         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16790         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16791         explicitly the unknown a_type display mechanism is used.
16792         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16793         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16794         struct member.
16795         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16796         to macro prototype for AT_HWCAP2 support.
16797         * sysdeps/i386/dl-procinfo.h: Likewise.
16798         * sysdeps/s390/dl-procinfo.h: Likewise.
16799         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16800         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16801         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16802         return -1 for unknown a_type display fallback.
16803         * sysdeps/sparc/dl-procinfo.h: Likewise.
16804         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16805         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16806
16807 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16808
16809         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16810         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16811
16812 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16813
16814         [BZ #12492]
16815         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16816         mprotect making __stack_prot writable.
16817
16818 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16819             Joseph Myers  <joseph@codesourcery.com>
16820
16821         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16822         as being properly aligned.
16823
16824 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16825
16826         * dlfcn/modstatic5.c: New file.
16827         * dlfcn/tststatic5.c: New file.
16828         * dlfcn/Makefile (tests): Add tststatic5.
16829         (tests-static): Likewise.
16830         (modules-names): Add modstatic5.
16831         (tststatic5-ENV): New variable.
16832         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16833
16834         [BZ #15022]
16835         * elf/dl-support.c (_dl_main_map): New variable.
16836         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16837         (_dl_nns, _dl_load_adds): Set to 1.
16838         (_dl_initial_searchlist): Refer to _dl_main_map.
16839         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16840         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16841         call to _dl_get_origin.
16842         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16843         around call_map.
16844         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16845         * dlfcn/modstatic3.c: New file.
16846         * dlfcn/tststatic3.c: New file.
16847         * dlfcn/tststatic4.c: New file.
16848         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16849         (tests-static): Likewise.
16850         (modules-names): Add modstatic3.
16851         (tststatic3-ENV, tststatic4-ENV): New variables.
16852         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16853         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16854
16855 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16856
16857         * configure.in (CC): Require GCC version 4.4 or later.
16858         * configure: Regenerated.
16859         * manual/install.texi (Tools for Compilation): Update GCC version
16860         requirement.
16861         * INSTALL: Regenerated.
16862
16863 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16864
16865         [BZ #15674]
16866         * string/test-memcmp.c (check2): New.
16867         (main): Call check2.
16868
16869         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16870
16871 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16872
16873         [BZ #15022]
16874         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16875         over to...
16876         (dl_open_worker) [!SHARED]: ... here.
16877
16878 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16879
16880         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16881
16882 2013-06-25  Richard Henderson  <rth@redhat.com>
16883
16884         * locale/programs/locarchive.c: Include <libc-internal.h>
16885
16886 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16887
16888         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16889         trailing whitespace removed.
16890
16891 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16892
16893         [BZ #10283]
16894         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16895         * locale/programs/locarchive.c: Include libc-mmap.h.
16896         (prepare_address_space): Take two new outputs (the mmap base and len).
16897         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16898         values.
16899         (create_archive): Declare new mmap base and len values for
16900         prepare_address_space, and store the result in ah.
16901         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16902         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16903         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16904         Declare new mmap base and len values for
16905         prepare_address_space, and store the result in new_ah.
16906         (open_archive): Declare new mmap base and len values for
16907         prepare_address_space, and store the result in ah.
16908         (close_archive): If ah->mmap_base is not NULL, use that and
16909         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16910         * sysdeps/generic/libc-mmap.h: New file.
16911
16912 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16913
16914         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16915         (ALIGN_UP): Likewise.
16916         (PTR_ALIGN_DOWN): Likewise.
16917         (PTR_ALIGN_UP): Likewise.
16918
16919 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16920
16921         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16922         entry mapped to PPC_PLATFORM_POWER8.
16923         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16924         POWER8.
16925         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16926         (_dl_string_platform): Add case for exporting platform position for
16927         POWER8.
16928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16929         search path to sysdeps/powerpc/powerpc32/power8 directory.
16930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16931         search path to sysdeps/powerpc/powerpc64/power8 directory.
16932         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16933         power7 directories.
16934         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16935         power7 directories.
16936
16937 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16938
16939         * INSTALL: Regenerate.
16940
16941         * nscd/connections.c (nscd_init): Fix comment.
16942
16943 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16944
16945         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16946
16947         [BZ #15667]
16948         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16949         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16950
16951 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16952
16953         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16954         DL_DST_REQ_STATIC.
16955         (DL_DST_REQ_STATIC): Remove macro.
16956
16957 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16958
16959         [BZ #7006]
16960         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16961         with a shift of 0 bits.
16962
16963 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16964
16965         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16966         $(tststatic-ENV).
16967
16968 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16969
16970         [BZ #15655]
16971         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16972
16973 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16974
16975         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16976         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16977         accepts -fno-tree-loop-distribute-patterns.
16978         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16979         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16980         recursive call.
16981         * string/memset.c (memset): Likewise.
16982         * string/test-memmove.c (simple_memmove): Disable loop transformation
16983         to library calls.
16984         * string/test-memset.c (simple_memset): Likewise.
16985         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16986         * benchtests/bench-memset.c (simple_memset): Likewise.
16987         * configure: Regenerated.
16988
16989 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16990
16991         * math/test-misc.c (main): Ignore fesetround failure when failures
16992         of subsequent rounding tests would be ignored.
16993
16994         [BZ #15654]
16995         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16996         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16997         * math/fegetenv.c (__fegetenv): Return 0.
16998         * math/fegetexcept.c (fegetexcept): Return 0.
16999         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17000         FE_TONEAREST.
17001         * math/feholdexcpt.c (feholdexcept): Return 0.
17002         * math/fesetenv.c (__fesetenv): Return 0.
17003         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17004         argument FE_TONEAREST.
17005         * math/feupdateenv.c (__feupdateenv): Return 0.
17006         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17007
17008 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17009
17010         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17011         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17012         ($(objpfx)rtld-%.os rules): Use them.
17013
17014 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17015
17016         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17017         fields.
17018
17019 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17020
17021         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17022         length of target pattern, then descending length of dependency pattern.
17023         * configure.in (AWK): Require gawk 3.1.2 or newer.
17024         * manual/install.texi (Tools for Compilation): Say that we do.
17025         * configure: Regenerated.
17026
17027         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17028         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17029         * scripts/sysd-rules.awk: ... this new script.
17030         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17031         than a glob-style pattern.
17032
17033 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17034
17035         * math/test-misc.c (main): Do not treat incorrectly rounded
17036         conversions as failure unless ROUNDING_TESTS passes.
17037
17038 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17039
17040         [BZ #15631]
17041         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17042         restore exception state around main square root computation, then
17043         check for inexactness explicitly.
17044
17045         * math/libm-test.inc (fma_test_data): Add another test.
17046
17047 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17048
17049         * manual/threads.texi (Non-POSIX Extensions): New document
17050         node.  Document pthread_getattr_default_np and
17051         pthread_setattr_default_np.
17052
17053         * Versions.def (libpthread): Add GLIBC_2.18.
17054         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17056         Likewise.
17057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17058         Likewise.
17059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17060         Likewise.
17061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17062         Likewise.
17063         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17064         Likewise.
17065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17066         Likewise.
17067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17068         Likewise.
17069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17070         Likewise.
17071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17072         Likewise.
17073
17074 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17075
17076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17077         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17078
17079 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17080             H.J. Lu  <hjl.tools@gmail.com>
17081
17082         [BZ #15627]
17083         * sysdeps/x86_64/rtld-memset.c: Remove file.
17084         * sysdeps/x86_64/rtld-memset.S: New file.
17085
17086 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17087
17088         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17089         (test_in_one_mode): Take arguments for whether the rounding mode
17090         is supported for each floating-point type.
17091         (do_test): Pass new arguments to test_in_one_mode using
17092         ROUNDING_TESTS.
17093
17094 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17095
17096         * posix/tst-waitid.c (do_test): Distinguish different instances of
17097         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17098         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17099         before entering the kernel for waitpid.
17100
17101 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17102
17103         * NEWS: Fix note on clock function precision.  Text by Roland
17104         McGrath.
17105
17106 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17107
17108         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17109         it into place only when and if the sanity check passes.
17110
17111 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17112
17113         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17114         output for whether conversion result is exact.  Take argument
17115         indicating whether type is IBM long double.
17116         (round_for_all): Change need_exact field to ibm_ld.
17117         * stdlib/tst-strtod-round.c (struct exactness): New type.
17118         (struct test): Change bool ld_ok field to struct exactness exact.
17119         (TEST): Update all definitions for change to field.
17120         (tests): Regenerate array contents.
17121         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17122         field value.  Check for IBM long double here.
17123         (do_test): Update calls to test_in_one_mode.
17124
17125 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17126
17127         [BZ #12515]
17128         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17129         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17130
17131 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17132
17133         [BZ #15605]
17134         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17135         generated by the compiler on loop optimizations.
17136         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17137         general definitions.
17138
17139 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17140
17141         * math/bug-nextafter.c: Include <math-tests.h>.
17142         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17143         the relevant type.
17144         * math/bug-nexttoward.c: Include <math-tests.h>.
17145         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17146         the relevant type.
17147         * math/test-misc.c: Include <math-tests.h>.
17148         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17149         the relevant type.
17150
17151 2013-06-12  Andreas Jaeger  <aj@suse.de>
17152
17153         * po/ia.po: Update Interlingua translation from translation
17154         project.
17155
17156 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17157
17158         * include/fenv.h: Include stdbool.h.
17159         (struct rm_ctx): New structure.
17160         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17161         Define macro.
17162         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17163         (SET_RESTORE_ROUNDF): Likewise.
17164         (SET_RESTORE_ROUNDL): Likewise.
17165         (SET_RESTORE_ROUND_NOEX): Likewise.
17166         (SET_RESTORE_ROUND_NOEXF): Likewise.
17167         (SET_RESTORE_ROUND_NOEXL): Likewise.
17168         (SET_RESTORE_ROUND_53BIT): Likewise.
17169         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17170         (libc_feresetround_noexf_ctx): Likewise.
17171         (libc_feresetround_noexl_ctx): Likewise.
17172         (libc_feholdsetround_53bit_ctx): Likewise.
17173         (libc_feresetround_53bit_ctx): Likewise.
17174         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17175         (libc_feholdexcept_setround_sse_ctx): New function.
17176         (libc_fesetenv_sse_ctx): Likewise.
17177         (libc_feupdateenv_sse_ctx): Likewise.
17178         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17179         (libc_feholdexcept_setround_387_ctx): Likewise.
17180         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17181         (libc_feholdsetround_387_prec_ctx): Likewise.
17182         (libc_feholdsetround_387_ctx): Likewise.
17183         (libc_feholdsetround_387_53bit_ctx): Likewise.
17184         (libc_feholdsetround_sse_ctx): Likewise.
17185         (libc_feresetround_sse_ctx): Likewise.
17186         (libc_feresetround_387_ctx): Likewise.
17187         (libc_feupdateenv_387_ctx): Likewise.
17188         (libc_feholdexcept_setroundf_ctx): Define macro.
17189         (libc_fesetenvf_ctx): Likewise.
17190         (libc_feupdateenvf_ctx): Likewise.
17191         (libc_feholdsetroundf_ctx): Likewise.
17192         (libc_feresetroundf_ctx): Likewise.
17193         (libc_feholdexcept_setround_ctx): Likewise.
17194         (libc_fesetenv_ctx): Likewise.
17195         (libc_feupdateenv_ctx): Likewise.
17196         (libc_feholdsetround_ctx): Likewise.
17197         (libc_feresetround_ctx): Likewise.
17198         (libc_feholdexcept_setroundl_ctx): Likewise.
17199         (libc_feupdateenvl_ctx): Likewise.
17200         (libc_feholdsetroundl_ctx): Likewise.
17201         (libc_feresetroundl_ctx): Likewise.
17202         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17203         (libc_feresetround_53bit_ctx): Likewise.
17204
17205 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17206
17207         * locale/iso-639.def: Convert to UTF-8.
17208
17209 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17210
17211         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17212         (EXCEPTION_TESTS_double): Likewise.
17213         (EXCEPTION_TESTS_long_double): Likewise.
17214         (EXCEPTION_TESTS): Likewise.
17215         * math/libm-test.inc (test_exceptions): Only test exceptions if
17216         EXCEPTION_TESTS (FLOAT).
17217
17218 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17219
17220         * benchtests/Makefile (string-bench): Add strcpy_chk and
17221         stpcpy_chk.
17222         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17223         * benchtests/bench-stpcpy_chk.c: New file.
17224         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17225         * benchtests/bench-strcpy_chk.c: New file.
17226         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17227         code.
17228         (do_test): Likewise.
17229
17230 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17231
17232         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17233         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17234         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17235         with tabs where appropriate.
17236         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17237         dl-procinfo.h.
17238         [PPC_PLATFORM_PPC440]: Likewise.
17239         [PPC_PLATFORM_PPC464]: Likewise.
17240         [PPC_PLATFORM_PPC476]: Likewise.
17241         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17242         ppc464, and ppc476 platform strings merging from ports/
17243         dl-procinfo.h.
17244
17245 2013-06-11  Andreas Schwab  <schwab@suse.de>
17246
17247         [BZ #14991]
17248         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17249         (from_ucs4_idx): Regenerate.
17250         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17251         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17252         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17253         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17254         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17255         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17256         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17257         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17258         from FROM_LOOP and TO_LOOP specific macros.
17259         (BODY): Handle combining characters.
17260         * iconvdata/BIG5HKSCS.irreversible: Update.
17261         * iconvdata/BIG5HKSCS.precomposed: New file.
17262         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17263         characters.
17264         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17265
17266 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17267
17268         * include/sys/time.h: Fix indentation and add copyright header.
17269
17270         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17271         (do_test): Likewise.
17272         * string/test-memchr.c (do_one_test): Likewise.
17273         (do_test): Likewise.
17274         * string/test-memcmp.c (do_one_test): Likewise.
17275         (do_test): Likewise.
17276         * string/test-memcpy.c (do_one_test): Likewise.
17277         (do_test): Likewise.
17278         * string/test-memmem.c (do_one_test): Likewise.
17279         (do_test): Likewise.
17280         (do_random_tests): Likewise.
17281         * string/test-memmove.c (do_one_test): Likewise.
17282         (do_test): Likewise.
17283         * string/test-memset.c (do_one_test): Likewise.
17284         (do_test): Likewise.
17285         * string/test-rawmemchr.c (do_one_test): Likewise.
17286         (do_test): Likewise.
17287         * string/test-strcasecmp.c (do_one_test): Likewise.
17288         (do_test): Likewise.
17289         * string/test-strcasestr.c (do_one_test): Likewise.
17290         (do_test): Likewise.
17291         * string/test-strcat.c (do_one_test): Likewise.
17292         (do_test): Likewise.
17293         * string/test-strchr.c (do_one_test): Likewise.
17294         (do_test): Likewise.
17295         * string/test-strcmp.c (do_one_test): Likewise.
17296         (do_test): Likewise.
17297         * string/test-strcpy.c (do_one_test): Likewise.
17298         (do_test): Likewise.
17299         * string/test-string.h: Likewise.
17300         (test_init): Likewise.
17301         * string/test-strlen.c (do_one_test): Likewise.
17302         (do_test): Likewise.
17303         * string/test-strncasecmp.c (do_one_test): Likewise.
17304         (do_test): Likewise.
17305         * string/test-strncat.c (do_one_test): Likewise.
17306         (do_test): Likewise.
17307         * string/test-strncmp.c (do_one_test): Likewise.
17308         (do_test_limit): Likewise.
17309         (do_test): Likewise.
17310         * string/test-strncpy.c (do_one_test): Likewise.
17311         (do_test): Likewise.
17312         * string/test-strnlen.c (do_one_test): Likewise.
17313         (do_test): Likewise.
17314         * string/test-strpbrk.c (do_one_test): Likewise.
17315         (do_test): Likewise.
17316         * string/test-strrchr.c (do_one_test): Likewise.
17317         (do_test): Likewise.
17318         * string/test-strspn.c (do_one_test): Likewise.
17319         (do_test): Likewise.
17320         * string/test-strstr.c (do_one_test): Likewise.
17321         (do_test): Likewise.
17322
17323         * benchtests/Makefile (string-bench): Add string benchmarks.
17324         * benchtests/bench-bcopy-ifunc.c: New file.
17325         * benchtests/bench-bcopy.c: New file.
17326         * benchtests/bench-bzero-ifunc.c: New file.
17327         * benchtests/bench-bzero.c: New file.
17328         * benchtests/bench-memccpy-ifunc.c: New file.
17329         * benchtests/bench-memccpy.c: New file.
17330         * benchtests/bench-memchr-ifunc.c: New file.
17331         * benchtests/bench-memchr.c: New file.
17332         * benchtests/bench-memcmp-ifunc.c: New file.
17333         * benchtests/bench-memcmp.c: New file.
17334         * benchtests/bench-memmem-ifunc.c: New file.
17335         * benchtests/bench-memmem.c: New file.
17336         * benchtests/bench-memmove-ifunc.c: New file.
17337         * benchtests/bench-memmove.c: New file.
17338         * benchtests/bench-mempcpy-ifunc.c: New file.
17339         * benchtests/bench-mempcpy.c: New file.
17340         * benchtests/bench-memset-ifunc.c: New file.
17341         * benchtests/bench-memset.c: New file.
17342         * benchtests/bench-rawmemchr-ifunc.c: New file.
17343         * benchtests/bench-rawmemchr.c: New file.
17344         * benchtests/bench-stpcpy-ifunc.c: New file.
17345         * benchtests/bench-stpcpy.c: New file.
17346         * benchtests/bench-stpncpy-ifunc.c: New file.
17347         * benchtests/bench-stpncpy.c: New file.
17348         * benchtests/bench-strcasecmp-ifunc.c: New file.
17349         * benchtests/bench-strcasecmp.c: New file.
17350         * benchtests/bench-strcasestr-ifunc.c: New file.
17351         * benchtests/bench-strcasestr.c: New file.
17352         * benchtests/bench-strcat-ifunc.c: New file.
17353         * benchtests/bench-strcat.c: New file.
17354         * benchtests/bench-strchr-ifunc.c: New file.
17355         * benchtests/bench-strchr.c: New file.
17356         * benchtests/bench-strchrnul-ifunc.c: New file.
17357         * benchtests/bench-strchrnul.c: New file.
17358         * benchtests/bench-strcmp-ifunc.c: New file.
17359         * benchtests/bench-strcmp.c: New file.
17360         * benchtests/bench-strcpy-ifunc.c: New file.
17361         * benchtests/bench-strcpy.c: New file.
17362         * benchtests/bench-strcspn-ifunc.c: New file.
17363         * benchtests/bench-strcspn.c: New file.
17364         * benchtests/bench-strlen-ifunc.c: New file.
17365         * benchtests/bench-strlen.c: New file.
17366         * benchtests/bench-strncasecmp-ifunc.c: New file.
17367         * benchtests/bench-strncasecmp.c: New file.
17368         * benchtests/bench-strncat-ifunc.c: New file.
17369         * benchtests/bench-strncat.c: New file.
17370         * benchtests/bench-strncmp-ifunc.c: New file.
17371         * benchtests/bench-strncmp.c: New file.
17372         * benchtests/bench-strncpy-ifunc.c: New file.
17373         * benchtests/bench-strncpy.c: New file.
17374         * benchtests/bench-strnlen-ifunc.c: New file.
17375         * benchtests/bench-strnlen.c: New file.
17376         * benchtests/bench-strpbrk-ifunc.c: New file.
17377         * benchtests/bench-strpbrk.c: New file.
17378         * benchtests/bench-strrchr-ifunc.c: New file.
17379         * benchtests/bench-strrchr.c: New file.
17380         * benchtests/bench-strspn-ifunc.c: New file.
17381         * benchtests/bench-strspn.c: New file.
17382         * benchtests/bench-strstr-ifunc.c: New file.
17383         * benchtests/bench-strstr.c: New file.
17384
17385         * benchtests/Makefile: Disable parallel execution of targets.
17386         (string-bench): Add memcpy.
17387         (benchset): New variable to store a list of benchmark sets.
17388         (bench-func): Renamed from bench.
17389         (bench-set): New target.
17390         (bench): Depend on bench-func and bench-set.
17391         * benchtests/README: Add section on benchmark sets.
17392         * benchtests/bench-memcpy-ifunc.c: New file.
17393         * benchtests/bench-memcpy.c: New file.
17394         * benchtests/bench-string.h: New file.
17395
17396 2013-06-11  Andreas Schwab  <schwab@suse.de>
17397
17398         [BZ #15577]
17399         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17400         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17401         values in the triple.
17402         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17403         terminator in the group key.
17404
17405 2013-06-11  Andreas Jaeger  <aj@suse.de>
17406
17407         * po/zh_TW.po: Update Chinese (traditional) translation from
17408         translation project.
17409
17410 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17411
17412         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17413         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17414         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17415         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17416         (clock_getcpuclockid): Likewise.
17417         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17418         Add weak_alias and libc_hidden_def.
17419         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17420         * rt/clock_gettime.c (clock_gettime): Rename to
17421         __clock_gettime.  Add weak_alias and libc_hidden_def.
17422         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17423         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17424         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17425         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17426         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17427         Likewise.
17428         * rt/clock_settime.c (clock_settime): Rename to
17429         __clock_settime.  Add weak_alias and libc_hidden_def.
17430         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17431
17432 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17433
17434         * mach/err_boot.sub: Remove trailing whitespace.
17435         * mach/err_ipc.sub: Likewise.
17436         * mach/err_mach.sub: Likewise.
17437
17438         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17439         (ROUNDING_TESTS_double): Likewise.
17440         (ROUNDING_TESTS_long_double): Likewise.
17441         (ROUNDING_TESTS): Likewise.
17442         * math/libm-test.inc: Include <math-tests.h>.
17443         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17444         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17445         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17446         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17447
17448 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17449
17450         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17451         of assigning.
17452
17453 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17454
17455         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17456         otherwise empty TRANS lines.
17457         * sysdeps/gnu/errlist.c: Regenerated.
17458
17459         * catgets/gencat.c (error_print): Use (void) in function
17460         definition.
17461         * crypt/crypt_util.c (__init_des): Likewise.
17462         * crypt/speeds.c (Stop): Likewise.
17463         (main): Likewise.
17464         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17465         * inet/ruserpass.c (token): Likewise.
17466         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17467         * intl/localealias.c (extend_alias_table): Likewise.
17468         * intl/plural-exp.c (init_germanic_plural): Likewise.
17469         * libio/fcloseall.c (__fcloseall): Likewise.
17470         * libio/genops.c (_IO_flush_all): Likewise.
17471         (_IO_flush_all_linebuffered): Likewise.
17472         (_IO_cleanup): Likewise.
17473         (_IO_iter_begin): Likewise.
17474         (_IO_iter_end): Likewise.
17475         (_IO_list_lock): Likewise.
17476         (_IO_list_unlock): Likewise.
17477         (_IO_list_resetlock): Likewise.
17478         * libio/getchar.c (getchar): Likewise.
17479         * libio/getchar_u.c (getchar_unlocked): Likewise.
17480         * libio/getwchar.c (getwchar): Likewise.
17481         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17482         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17483         * login/getpt.c (__getpt): Likewise.
17484         * login/tst-utmp.c (main): Likewise.
17485         * malloc/hooks.c (__malloc_check_init): Likewise.
17486         * malloc/malloc.c (__malloc_stats): Likewise.
17487         * malloc/mtrace.c (tr_break): Likewise.
17488         (mtrace): Likewise.
17489         (muntrace): Likewise.
17490         * misc/fstab.c (endfsent): Likewise.
17491         * misc/getclktck.c (__getclktck): Likewise.
17492         * misc/getdtsz.c (__getdtablesize): Likewise.
17493         * misc/gethostid.c (gethostid): Likewise.
17494         * misc/getpagesize.c (__getpagesize): Likewise.
17495         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17496         (__get_nprocs): Likewise.
17497         (__get_phys_pages): Likewise.
17498         (__get_avphys_pages): Likewise.
17499         * misc/getttyent.c (getttyent): Likewise.
17500         (setttyent): Likewise.
17501         (endttyent): Likewise.
17502         * misc/getusershell.c (getusershell): Likewise.
17503         (endusershell): Likewise.
17504         (setusershell): Likewise.
17505         (initshells): Likewise.
17506         * misc/hsearch.c (__hdestroy): Likewise.
17507         * misc/sync.c (sync): Likewise.
17508         * misc/syslog.c (closelog_internal): Likewise.
17509         (closelog): Likewise.
17510         * misc/ttyslot.c (ttyslot): Likewise.
17511         * misc/vhangup.c (vhangup): Likewise.
17512         * posix/fork.c (__fork): Likewise.
17513         * posix/getegid.c (__getegid): Likewise.
17514         * posix/geteuid.c (__geteuid): Likewise.
17515         * posix/getgid.c (__getgid): Likewise.
17516         * posix/getpid.c (__getpid): Likewise.
17517         * posix/getppid.c (__getppid): Likewise.
17518         * posix/getuid.c (__getuid): Likewise.
17519         * posix/pause.c (pause): Likewise.
17520         * posix/setpgrp.c (setpgrp): Likewise.
17521         * posix/setsid.c (__setsid): Likewise.
17522         * posix/test-vfork.c (noop): Likewise.
17523         * resolv/gethnamaddr.c (_endhtent): Likewise.
17524         (_gethtent): Likewise.
17525         (ht_endhostent): Likewise.
17526         (gethostent): Likewise.
17527         (dns_service): Likewise.
17528         * stdlib/drand48.c (drand48): Likewise.
17529         * stdlib/lrand48.c (lrand48): Likewise.
17530         * stdlib/mrand48.c (mrand48): Likewise.
17531         * stdlib/rand.c (rand): Likewise.
17532         * stdlib/random.c (__random): Likewise.
17533         * stdlib/setenv.c (clearenv): Likewise.
17534         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17535         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17536         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17537         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17538         (__get_nprocs): Likewise.
17539         (__get_phys_pages): Likewise.
17540         (__get_avphys_pages): Likewise.
17541         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17542         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17543         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17544         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17545         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17546         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17547         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17548         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17549         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17550         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17551         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17552         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17553         * sysdeps/posix/clock.c (clock): Likewise.
17554         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17555         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17556         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17557         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17558         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17559         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17560         (__get_nprocs_conf): Likewise.
17561         (__get_phys_pages): Likewise.
17562         (__get_avphys_pages): Likewise.
17563         * time/clock.c (clock): Likewise.
17564         * time/tzset.c (__tzname_max): Likewise.
17565
17566 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17567
17568         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17569         (__bswap_32): Do not use "register".
17570         * crypt/crypt.c (_ufc_doit_r): Likewise.
17571         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17572         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17573         * gmon/gmon.c (__monstartup): Likewise.
17574         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17575         * hurd/hurdmalloc.c (more_memory): Likewise.
17576         (malloc): Likewise.
17577         (free): Likewise.
17578         (realloc): Likewise.
17579         (malloc_fork_prepare): Likewise.
17580         (malloc_fork_parent): Likewise.
17581         (malloc_fork_child): Likewise.
17582         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17583         (_svcauth_des): Likewise.
17584         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17585         * inet/inet_net.c (inet_network): Likewise.
17586         * inet/inet_netof.c (inet_netof): Likewise.
17587         * inet/rcmd.c (__validuser2_sa): Likewise.
17588         * io/fts.c (fts_open): Likewise.
17589         (fts_load): Likewise.
17590         (fts_close): Likewise.
17591         (fts_read): Likewise.
17592         (fts_children): Likewise.
17593         (fts_build): Likewise.
17594         (fts_stat): Likewise.
17595         (fts_sort): Likewise.
17596         (fts_alloc): Likewise.
17597         (fts_lfree): Likewise.
17598         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17599         (_IO_file_xsgetn): Likewise.
17600         (_IO_file_xsgetn_mmap): Likewise.
17601         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17602         (_IO_cookie_write): Likewise.
17603         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17604         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17605         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17606         * malloc/obstack.c (_obstack_begin): Likewise.
17607         (_obstack_begin_1): Likewise.
17608         (_obstack_newchunk): Likewise.
17609         (_obstack_allocated_p): Likewise.
17610         (obstack_free): Likewise.
17611         (_obstack_memory_used): Likewise.
17612         * misc/getttyent.c (getttynam): Likewise.
17613         (getttyent): Likewise.
17614         (skip): Likewise.
17615         (value): Likewise.
17616         * misc/getusershell.c (initshells): Likewise.
17617         * misc/syslog.c (__vsyslog_chk): Likewise.
17618         * misc/ttyslot.c (ttyslot): Likewise.
17619         * nis/nis_hash.c (__nis_hash): Likewise.
17620         * posix/fnmatch_loop.c (FCT): Likewise.
17621         * posix/getconf.c (print_all): Likewise.
17622         (main): Likewise.
17623         * posix/getopt.c (exchange): Likewise.
17624         * posix/glob.c (globfree): Likewise.
17625         (prefix_array): Likewise.
17626         (__glob_pattern_type): Likewise.
17627         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17628         (NS_GET32): Likewise.
17629         (NS_PUT16): Likewise.
17630         (NS_PUT32): Likewise.
17631         * resolv/gethnamaddr.c (getanswer): Likewise.
17632         (gethostbyname2): Likewise.
17633         (gethostbyaddr): Likewise.
17634         (_gethtent): Likewise.
17635         (_gethtbyname2): Likewise.
17636         (_gethtbyaddr): Likewise.
17637         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17638         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17639         * resolv/res_init.c (__res_vinit): Likewise.
17640         (net_mask): Likewise.
17641         * resolv/res_mkquery.c (outchar): Likewise.
17642         (PRINT): Likewise.
17643         * stdio-common/printf_fp.c (outchar): Likewise.
17644         (PRINT): Likewise.
17645         * stdio-common/printf_fphex.c (outchar): Likewise.
17646         (PRINT): Likewise.
17647         * stdio-common/printf_size.c (outchar): Likewise.
17648         (PRINT): Likewise.
17649         * stdio-common/test_rdwr.c (main): Likewise.
17650         * stdio-common/tfformat.c (matches): Likewise.
17651         * stdio-common/vfprintf.c (outchar): Likewise.
17652         (printf_unknown): Likewise.
17653         (buffered_vfprintf): Likewise.
17654         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17655         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17656         (ReadFile): Likewise.
17657         * stdlib/qsort.c (SWAP): Likewise.
17658         (_quicksort): Likewise.
17659         * stdlib/setenv.c (__add_to_environ): Likewise.
17660         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17661         * stdlib/strtol_l.c (__strtol_l): Likewise.
17662         * stdlib/tst-strtod.c (main): Likewise.
17663         * stdlib/tst-strtol.c (main): Likewise.
17664         * stdlib/tst-strtoll.c (main): Likewise.
17665         * string/bits/string2.h (__strcmp_cc): Likewise.
17666         (__strcmp_cg): Likewise.
17667         (__strcspn_c1): Likewise.
17668         (__strcspn_c2): Likewise.
17669         (__strcspn_c3): Likewise.
17670         (__strspn_c1): Likewise.
17671         (__strspn_c2): Likewise.
17672         (__strspn_c3): Likewise.
17673         (__strsep_1c): Likewise.
17674         (__strsep_2c): Likewise.
17675         (__strsep_3c): Likewise.
17676         * string/memccpy.c (__memccpy): Likewise.
17677         * string/stpcpy.c (__stpcpy): Likewise.
17678         * string/strcmp.c (strcmp): Likewise.
17679         * string/strrchr.c (strrchr): Likewise.
17680         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17681         Likewise.
17682         * sysdeps/mach/hurd/getcwd.c
17683         (_hurd_canonicalize_directory_name_internal): Likewise.
17684         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17685         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17686         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17687         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17688         Likewise, in both definitions.
17689         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17690         definitions.
17691         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17692         64] (__bswap_64): Likewise.
17693         * time/test_time.c (main): Likewise.
17694         * time/tzfile.c (__tzfile_read): Likewise.
17695         (__tzfile_compute): Likewise.
17696         * time/tzset.c (__tzset_parse_tz): Likewise.
17697         (tzset_internal): Likewise.
17698         (compute_change): Likewise.
17699         * wcsmbs/wcscat.c (__wcscat): Likewise.
17700         * wcsmbs/wcschr.c (wcschr): Likewise.
17701         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17702         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17703         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17704         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17705         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17706         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17707         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17708         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17709         * wcsmbs/wmemset.c (wmemset): Likewise.
17710
17711 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17712
17713         * scripts/config.guess: Update to version 2013-05-16.
17714         * scripts/config.sub: Update to version 2013-04-24.
17715         * scripts/install-sh: Update to version 2011-11-20.07.
17716         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17717         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17718
17719 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17720
17721         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17722         * elf/sln.c: Likewise.
17723         * hurd/hurd/ioctl.h: Likewise.
17724         * hurd/hurdmalloc.c: Likewise.
17725         * hurd/xattr.c: Likewise.
17726         * include/shlib-compat.h: Likewise.
17727         * inet/ruserpass.c: Likewise.
17728         * libio/iofgets_u.c: Likewise.
17729         * libio/iofgetws_u.c: Likewise.
17730         * locale/programs/ld-identification.c: Likewise.
17731         * locale/programs/ld-time.c: Likewise.
17732         * mach/msg-destroy.c: Likewise.
17733         * nss/nss_files/files-netgrp.c: Likewise.
17734         * resolv/res_data.c: Likewise.
17735         * soft-fp/op-1.h: Likewise.
17736         * soft-fp/op-2.h: Likewise.
17737         * soft-fp/op-4.h: Likewise.
17738         * soft-fp/op-common.h: Likewise.
17739         * stdio-common/printf_fphex.c: Likewise.
17740         * stdlib/strtod_l.c: Likewise.
17741         * sunrpc/rpc/clnt.h: Likewise.
17742         * sysdeps/generic/framestate.c: Likewise.
17743         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17744         * sysdeps/i386/bsd-setjmp.S: Likewise.
17745         * sysdeps/i386/__longjmp.S: Likewise.
17746         * sysdeps/i386/setjmp.S: Likewise.
17747         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17748         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17749         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17750         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17751         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17752         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17753         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17754         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17755         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17756         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17757         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17758         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17759         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17760         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17761         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17762         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17763         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17764         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17765         * sysdeps/ieee754/support.c: Likewise.
17766         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17767         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17768         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17769         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17770         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17771         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17772         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17773         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17774         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17775         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17776         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17777         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17778         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17779         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17780         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17781         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17782         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17784
17785 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17786
17787         * posix/transbug.c: Remove executable mode.
17788
17789 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17790
17791         * crypt/speeds.c: Remove trailing whitespace.
17792         * dlfcn/default.c: Likewise.
17793         * elf/ifuncdep2.c: Likewise.
17794         * elf/ifuncmain1.c: Likewise.
17795         * elf/ifuncmain1vis.c: Likewise.
17796         * elf/testobj.h: Likewise.
17797         * elf/tst-stackguard1.c: Likewise.
17798         * gmon/sys/gmon.h: Likewise.
17799         * hurd/hurdmsg.c: Likewise.
17800         * hurd/new-fd.c: Likewise.
17801         * hurd/ports-get.c: Likewise.
17802         * iconvdata/ibm1008_420.c: Likewise.
17803         * inet/tst-getni1.c: Likewise.
17804         * inet/tst-getni2.c: Likewise.
17805         * libio/ioungetc.c: Likewise.
17806         * libio/wfiledoalloc.c: Likewise.
17807         * manual/libm-err-tab.pl: Likewise.
17808         * math/w_dremf.c: Likewise.
17809         * misc/ftruncate.c: Likewise.
17810         * posix/bug-glob2.c: Likewise.
17811         * posix/tst-pcre.c: Likewise.
17812         * posix/wait4.c: Likewise.
17813         * resolv/README: Likewise.
17814         * resolv/res_debug.h: Likewise.
17815         * resolv/tst-inet_ntop.c: Likewise.
17816         * setjmp/bug269-setjmp.c: Likewise.
17817         * soft-fp/extended.h: Likewise.
17818         * soft-fp/op-1.h: Likewise.
17819         * soft-fp/op-2.h: Likewise.
17820         * soft-fp/op-4.h: Likewise.
17821         * soft-fp/op-8.h: Likewise.
17822         * soft-fp/testit.c: Likewise.
17823         * stdio-common/bug16.c: Likewise.
17824         * stdlib/random.c: Likewise.
17825         * sunrpc/rpcsvc/rquota.x: Likewise.
17826         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17827         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17828         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17829         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17830         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17831         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17832         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17833         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17834         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17835         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17836         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17837         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17838         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17839         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17840         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17841         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17842         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17843         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17844         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17845         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17846         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17847         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17848         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17849         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17850         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17851         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17852         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17853         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17854         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17855         * sysdeps/ieee754/s_lib_version.c: Likewise.
17856         * sysdeps/mach/hurd/check_fds.c: Likewise.
17857         * sysdeps/mach/hurd/getsockname.c: Likewise.
17858         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17859         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17860         * sysdeps/powerpc/bits/link.h: Likewise.
17861         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17862         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17863         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17864         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17865         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17866         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17867         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17868         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17869         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17870         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17871         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17872         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17873         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17874         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17875         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17876         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17877         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17878         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17879         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17880         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17881         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17882         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17883         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17884         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17885         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17886         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17887         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17888         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17889         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17890         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17891         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17892         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17893         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17894         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17895         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17896         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17897         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17898         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17899         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17900         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17901         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17902         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17903         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17904         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17905         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17906         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17907         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17908         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17909         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17910         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17911         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17912         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17913         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17914         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17915         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17916         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17917         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17918         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17919         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17920         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17921         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17922         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17923         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17924         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17925         * sysdeps/powerpc/sysdep.h: Likewise.
17926         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17927         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17928         * sysdeps/sh/dl-trampoline.S: Likewise.
17929         * sysdeps/sh/memset.S: Likewise.
17930         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17931         * sysdeps/sh/strlen.S: Likewise.
17932         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17933         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17934         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17935         * sysdeps/sparc/sparc32/rem.S: Likewise.
17936         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17937         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17938         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17939         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17940         * sysdeps/sparc/sparc32/urem.S: Likewise.
17941         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17942         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17943         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17944         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17945         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17946         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17947         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17948         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17949         * sysdeps/unix/bsd/times.c: Likewise.
17950         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17951         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17955         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17956         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17957         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17958         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17959         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17960         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17961         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17962         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17963         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17964         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17965         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17966         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17967         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17968         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17969         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17970         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17971         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17972         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17973         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17974         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17975         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17976         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17977         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17978         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17979         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17980         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17981         * sysdeps/x86_64/strcspn.S: Likewise.
17982
17983 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17984
17985         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17986         generated file.  Regenerate properly from gen-translit.pl.
17987         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17988         locale/C-translit.h.
17989
17990 2013-06-05  Andreas Schwab  <schwab@suse.de>
17991
17992         [BZ #15100]
17993         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17994         week as 6 instead of -1.
17995         * time/tst-strptime.c (day_tests): Add test case.
17996
17997 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17998
17999         * sysdeps/generic/math_private.h
18000         (libc_feholdexcept_setround_53bit): Replace with
18001         libc_feholdsetround_53bit.
18002         (libc_feupdateenv_53bit): Replace with
18003         libc_feresetround_53bit.
18004         (SET_RESTORE_ROUND_53BIT): Adjust.
18005
18006 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18007
18008         * string/test-strchrnul.c: Add copyright header.
18009
18010         * posix/tst-getaddrinfo4.c: Increase test timeout.
18011
18012 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18013
18014         [BZ #15536]
18015         * math/libm-test.inc (MAX_EXP): Remove
18016         (MIN_EXP): Define.
18017         (ulp): Use MIN_EXP - MANT_DIG.
18018         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18019
18020 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18021
18022         * po/be.po: Revert last change.
18023         * po/zh_CN.po: Likewise.
18024         * po/header.pot: Likewise.
18025
18026 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18027
18028         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18029         link-libc-deps to empty as target-specific variable.
18030         * Makerules (link-libc-args): New variable.
18031         (libc-for-link): Likewise.
18032         (link-libc-deps): Likewise.
18033         (lib%.so): Depend on $(link-libc-deps).  Link with
18034         $(link-libc-args).
18035         (build-module): Link with $(link-libc-args).
18036         (build-module-asneeded): Likewise.
18037         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18038         list of objects.
18039         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18040         target-specific variable.
18041         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18042         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18043         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18044         libc.
18045         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18046         libc and ld.so.
18047         ($(objpfx)libpcprofile.so): Likewise.
18048         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18049         libc_nonshared.a.
18050         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18051         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18052         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18053         $(link-libc-deps).
18054         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18055         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18056         * login/Makefile ($(objpfx)libutil.so): Likewise.
18057         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18058         * math/Makefile ($(objpfx)libm.so): Likewise.
18059         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18060         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18061         variable instead of depending directly on libc.
18062         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18063         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18064         $(link-libc-deps).
18065         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18066         libc.
18067         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18068         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18069         ($(objpfx)libanl.so): Likewise.
18070         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18071         ld.so.
18072         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18073         $(link-libc-deps).
18074         * sysdeps/i386/fpu/Makefile: Remove file.
18075         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18076         ($(objpfx)libm.so): Remove dependency on ld.so.
18077
18078 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18079
18080         [BZ # 15553]
18081         * nis/yp_xdr.c (XDRMAXNAME): Define.
18082         (XDRMAXRECORD): Define.
18083         (xdr_domainname): Use XDRMAXNAME.
18084         (xdr_mapname): Likewise.
18085         (xdr_peername): Likewise.
18086         (xdr_keydat): Use XDRMAXRECORD.
18087         (xdr_valdat): Likewise.
18088
18089 2013-05-30  Jeff Law  <law@redhat.com>
18090
18091         [BZ #14256]
18092         * manual/errno.texi (ESTALE): Update to account for more than
18093         just NFS file systems.
18094         * sysdeps/gnu/errlist.c: Regenerated.
18095
18096 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18097
18098         [BZ #15465]
18099         * elf/Makefile (tests): Add tst-null-argv.
18100         (modules-names):  Add tst-null-argv-lib.
18101         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18102         (tst-null-argv-ENV): Set environment for tst-null-argv.
18103         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18104         (RTLD_PROGNAME): New macro.
18105         * elf/tst-null-argv.c: New test case.
18106         * elf/tst-null-argv-lib.c: Library for test case.
18107         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18108         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18109         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18110         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18111         * elf/dl-init.c (call_init): Likewise.
18112         (_dl_init): Likewise.
18113         * elf/dl-load.c (print_search_path): Likewise.
18114         (_dl_map_object): Likewise.
18115         * elf/dl-lookup.c (do_lookup_x): Likewise.
18116         (add_dependency): Likewise.
18117         (_dl_lookup_symbol_x): Likewise.
18118         (_dl_debug_bindings): Likewise.
18119         * elf/dl-open.c (_dl_show_scope): Likewise.
18120         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18121         * elf/dl-version.c (match_symbol): Likewise.
18122         (_dl_check_map_versions): Likewise.
18123         * elf/rtld.c (dl_main): Likewise.
18124         (print_unresolved): Use RTLD_PROGNAME.
18125         (print_missing_version): Likewise.
18126         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18127         (elf_machine_rela): Likewise.
18128         * sysdeps/powerpc/powerpc32/dl-machine.c
18129         (__process_machine_rela): Likewise.
18130         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18131         Likewise.
18132         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18133         Likewise.
18134         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18135         Likewise.
18136         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18137         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18138         Likewise.
18139         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18140         Likewise.
18141         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18142
18143 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18144
18145         * po/be.po: Add descriptive title.
18146         * po/zh_CN.po: Likewise.
18147         * po/header.pot: Likewise.
18148
18149 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18150
18151         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18152         error message.
18153         (enlarge_archive): Likewise.
18154
18155 2013-05-28  Ben North  <ben@redfrontdoor.org>
18156
18157         * manual/arith.texi (frexp): It is the magnitude of the return
18158         value which lies in [0.5, 1), not the return value itself.
18159
18160 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18161
18162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18163
18164 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18165
18166         * stdio-common/bug26.c (main): Correct fscanf template.
18167
18168         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18169         declare _dl_skip_args.
18170
18171         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18172         Don't declare.
18173
18174         * manual/platform.texi: Add missing @end deftypefun.
18175
18176 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18177
18178         [BZ #15529]
18179         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18180         bit of mantissa of 2^16382.
18181         * math/libm-test.inc (hypot_test_data): Add more tests.
18182
18183         * math/libm-test.inc: Add drem and pow10 to list of tested
18184         functions.
18185         (pow10_test): New function.
18186         (drem_test): Likewise.
18187         (drem_test_tonearest): Likewise.
18188         (drem_test_towardzero): Likewise.
18189         (drem_test_downward): Likewise.
18190         (drem_test_upward): Likewise.
18191         (main): Call the new functions.
18192
18193         * math/libm-test.inc (finite_test_data): Remove.
18194         (finite_test): Run tests from isfinite_test_data.
18195         (gamma_test_data): Remove.
18196         (gamma_test): Run tests from lgamma_test_data.
18197         * sysdeps/i386/fpu/libm-test-ulps: Update.
18198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18199
18200 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18201
18202         * manual/platform.texi: Add PowerPC PPR function set documentation.
18203         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18204         implementation.
18205
18206 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18207
18208         * math/libm-test.inc (MAX_EXP): Define.
18209         (ULPDIFF): Define.
18210         (ulp): New function.
18211         (check_float_internal): Use ULPDIFF.
18212         (cpow_test): Disable failing test.
18213         (check_ulp): Test ulp() implemetnation.
18214         (main): Call check_ulp before starting tests.
18215
18216 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18217
18218         * math/gen-libm-test.pl (generate_testfile): Do not handle
18219         START_DATA and END_DATA.
18220         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18221         END_DATA.
18222         (acos_tonearest_test_data): Likewise.
18223         (acos_towardzero_test_data): Likewise.
18224         (acos_downward_test_data): Likewise.
18225         (acos_upward_test_data): Likewise.
18226         (acosh_test_data): Likewise.
18227         (asin_test_data): Likewise.
18228         (asin_tonearest_test_data): Likewise.
18229         (asin_towardzero_test_data): Likewise.
18230         (asin_downward_test_data): Likewise.
18231         (asin_upward_test_data): Likewise.
18232         (asinh_test_data): Likewise.
18233         (atan_test_data): Likewise.
18234         (atanh_test_data): Likewise.
18235         (atan2_test_data): Likewise.
18236         (cabs_test_data): Likewise.
18237         (cacos_test_data): Likewise.
18238         (cacosh_test_data): Likewise.
18239         (carg_test_data): Likewise.
18240         (casin_test_data): Likewise.
18241         (casinh_test_data): Likewise.
18242         (catan_test_data): Likewise.
18243         (catanh_test_data): Likewise.
18244         (cbrt_test_data): Likewise.
18245         (ccos_test_data): Likewise.
18246         (ccosh_test_data): Likewise.
18247         (ceil_test_data): Likewise.
18248         (cexp_test_data): Likewise.
18249         (cimag_test_data): Likewise.
18250         (clog_test_data): Likewise.
18251         (clog10_test_data): Likewise.
18252         (conj_test_data): Likewise.
18253         (copysign_test_data): Likewise.
18254         (cos_test_data): Likewise.
18255         (cos_tonearest_test_data): Likewise.
18256         (cos_towardzero_test_data): Likewise.
18257         (cos_downward_test_data): Likewise.
18258         (cos_upward_test_data): Likewise.
18259         (cosh_test_data): Likewise.
18260         (cosh_tonearest_test_data): Likewise.
18261         (cosh_towardzero_test_data): Likewise.
18262         (cosh_downward_test_data): Likewise.
18263         (cosh_upward_test_data): Likewise.
18264         (cpow_test_data): Likewise.
18265         (cproj_test_data): Likewise.
18266         (creal_test_data): Likewise.
18267         (csin_test_data): Likewise.
18268         (csinh_test_data): Likewise.
18269         (csqrt_test_data): Likewise.
18270         (ctan_test_data): Likewise.
18271         (ctan_tonearest_test_data): Likewise.
18272         (ctan_towardzero_test_data): Likewise.
18273         (ctan_downward_test_data): Likewise.
18274         (ctan_upward_test_data): Likewise.
18275         (ctanh_test_data): Likewise.
18276         (ctanh_tonearest_test_data): Likewise.
18277         (ctanh_towardzero_test_data): Likewise.
18278         (ctanh_downward_test_data): Likewise.
18279         (ctanh_upward_test_data): Likewise.
18280         (erf_test_data): Likewise.
18281         (erfc_test_data): Likewise.
18282         (exp_test_data): Likewise.
18283         (exp_tonearest_test_data): Likewise.
18284         (exp_towardzero_test_data): Likewise.
18285         (exp_downward_test_data): Likewise.
18286         (exp_upward_test_data): Likewise.
18287         (exp10_test_data): Likewise.
18288         (exp2_test_data): Likewise.
18289         (expm1_test_data): Likewise.
18290         (fabs_test_data): Likewise.
18291         (fdim_test_data): Likewise.
18292         (finite_test_data): Likewise.
18293         (floor_test_data): Likewise.
18294         (fma_test_data): Likewise.
18295         (fma_towardzero_test_data): Likewise.
18296         (fma_downward_test_data): Likewise.
18297         (fma_upward_test_data): Likewise.
18298         (fmax_test_data): Likewise.
18299         (fmin_test_data): Likewise.
18300         (fmod_test_data): Likewise.
18301         (fpclassify_test_data): Likewise.
18302         (frexp_test_data): Likewise.
18303         (gamma_test_data): Likewise.
18304         (hypot_test_data): Likewise.
18305         (ilogb_test_data): Likewise.
18306         (isfinite_test_data): Likewise.
18307         (isgreater_test_data): Likewise.
18308         (isgreaterequal_test_data): Likewise.
18309         (isinf_test_data): Likewise.
18310         (isless_test_data): Likewise.
18311         (islessequal_test_data): Likewise.
18312         (islessgreater_test_data): Likewise.
18313         (isnan_test_data): Likewise.
18314         (isnormal_test_data): Likewise.
18315         (issignaling_test_data): Likewise.
18316         (isunordered_test_data): Likewise.
18317         (j0_test_data): Likewise.
18318         (j1_test_data): Likewise.
18319         (jn_test_data): Likewise.
18320         (ldexp_test_data): Likewise.
18321         (lgamma_test_data): Likewise.
18322         (lrint_test_data): Likewise.
18323         (lrint_tonearest_test_data): Likewise.
18324         (lrint_towardzero_test_data): Likewise.
18325         (lrint_downward_test_data): Likewise.
18326         (lrint_upward_test_data): Likewise.
18327         (llrint_test_data): Likewise.
18328         (llrint_tonearest_test_data): Likewise.
18329         (llrint_towardzero_test_data): Likewise.
18330         (llrint_downward_test_data): Likewise.
18331         (llrint_upward_test_data): Likewise.
18332         (log_test_data): Likewise.
18333         (log10_test_data): Likewise.
18334         (log1p_test_data): Likewise.
18335         (log2_test_data): Likewise.
18336         (logb_test_data): Likewise.
18337         (logb_downward_test_data): Likewise.
18338         (lround_test_data): Likewise.
18339         (llround_test_data): Likewise.
18340         (modf_test_data): Likewise.
18341         (nearbyint_test_data): Likewise.
18342         (nextafter_test_data): Likewise.
18343         (nexttoward_test_data): Likewise.
18344         (pow_test_data): Likewise.
18345         (pow_tonearest_test_data): Likewise.
18346         (pow_towardzero_test_data): Likewise.
18347         (pow_downward_test_data): Likewise.
18348         (pow_upward_test_data): Likewise.
18349         (remainder_test_data): Likewise.
18350         (remainder_tonearest_test_data): Likewise.
18351         (remainder_towardzero_test_data): Likewise.
18352         (remainder_downward_test_data): Likewise.
18353         (remainder_upward_test_data): Likewise.
18354         (remquo_test_data): Likewise.
18355         (rint_test_data): Likewise.
18356         (rint_tonearest_test_data): Likewise.
18357         (rint_towardzero_test_data): Likewise.
18358         (rint_downward_test_data): Likewise.
18359         (rint_upward_test_data): Likewise.
18360         (round_test_data): Likewise.
18361         (scalb_test_data): Likewise.
18362         (scalbn_test_data): Likewise.
18363         (scalbln_test_data): Likewise.
18364         (signbit_test_data): Likewise.
18365         (sin_test_data): Likewise.
18366         (sin_tonearest_test_data): Likewise.
18367         (sin_towardzero_test_data): Likewise.
18368         (sin_downward_test_data): Likewise.
18369         (sin_upward_test_data): Likewise.
18370         (sincos_test_data): Likewise.
18371         (sinh_test_data): Likewise.
18372         (sinh_tonearest_test_data): Likewise.
18373         (sinh_towardzero_test_data): Likewise.
18374         (sinh_downward_test_data): Likewise.
18375         (sinh_upward_test_data): Likewise.
18376         (sqrt_test_data): Likewise.
18377         (tan_test_data): Likewise.
18378         (tan_tonearest_test_data): Likewise.
18379         (tan_towardzero_test_data): Likewise.
18380         (tan_downward_test_data): Likewise.
18381         (tan_upward_test_data): Likewise.
18382         (tanh_test_data): Likewise.
18383         (tgamma_test_data): Likewise.
18384         (trunc_test_data): Likewise.
18385         (y0_test_data): Likewise.
18386         (y1_test_data): Likewise.
18387         (yn_test_data): Likewise.
18388         (significand_test_data): Likewise.
18389
18390         * math/gen-libm-test.pl (@functions): Remove variable.
18391         (generate_testfile): Don't handle START and END lines.
18392         * math/libm-test.inc (START): New macro.
18393         (END): Likewise.
18394         (END_COMPLEX): Likewise.
18395         (acos_test): Use END macro without arguments.
18396         (acos_test_tonearest): Likewise.
18397         (acos_test_towardzero): Likewise.
18398         (acos_test_downward): Likewise.
18399         (acos_test_upward): Likewise.
18400         (acosh_test): Likewise.
18401         (asin_test): Likewise.
18402         (asin_test_tonearest): Likewise.
18403         (asin_test_towardzero): Likewise.
18404         (asin_test_downward): Likewise.
18405         (asin_test_upward): Likewise.
18406         (asinh_test): Likewise.
18407         (atan_test): Likewise.
18408         (atanh_test): Likewise.
18409         (atan2_test): Likewise.
18410         (cabs_test): Likewise.
18411         (cacos_test): Use END_COMPLEX macro without arguments.
18412         (cacosh_test): Likewise.
18413         (carg_test): Use END macro without arguments.
18414         (casin_test): Use END_COMPLEX macro without arguments.
18415         (casinh_test): Likewise.
18416         (catan_test): Likewise.
18417         (catanh_test): Likewise.
18418         (cbrt_test): Use END macro without arguments.
18419         (ccos_test): Use END_COMPLEX macro without arguments.
18420         (ccosh_test): Likewise.
18421         (ceil_test): Use END macro without arguments.
18422         (cexp_test): Use END_COMPLEX macro without arguments.
18423         (cimag_test): Use END macro without arguments.
18424         (clog_test): Use END_COMPLEX macro without arguments.
18425         (clog10_test): Likewise.
18426         (conj_test): Likewise.
18427         (copysign_test): Use END macro without arguments.
18428         (cos_test): Likewise.
18429         (cos_test_tonearest): Likewise.
18430         (cos_test_towardzero): Likewise.
18431         (cos_test_downward): Likewise.
18432         (cos_test_upward): Likewise.
18433         (cosh_test): Likewise.
18434         (cosh_test_tonearest): Likewise.
18435         (cosh_test_towardzero): Likewise.
18436         (cosh_test_downward): Likewise.
18437         (cosh_test_upward): Likewise.
18438         (cpow_test): Use END_COMPLEX macro without arguments.
18439         (cproj_test): Likewise.
18440         (creal_test): Use END macro without arguments.
18441         (csin_test): Use END_COMPLEX macro without arguments.
18442         (csinh_test): Likewise.
18443         (csqrt_test): Likewise.
18444         (ctan_test): Likewise.
18445         (ctan_test_tonearest): Likewise.
18446         (ctan_test_towardzero): Likewise.
18447         (ctan_test_downward): Likewise.
18448         (ctan_test_upward): Likewise.
18449         (ctanh_test): Likewise.
18450         (ctanh_test_tonearest): Likewise.
18451         (ctanh_test_towardzero): Likewise.
18452         (ctanh_test_downward): Likewise.
18453         (ctanh_test_upward): Likewise.
18454         (erf_test): Use END macro without arguments.
18455         (erfc_test): Likewise.
18456         (exp_test): Likewise.
18457         (exp_test_tonearest): Likewise.
18458         (exp_test_towardzero): Likewise.
18459         (exp_test_downward): Likewise.
18460         (exp_test_upward): Likewise.
18461         (exp10_test): Likewise.
18462         (exp2_test): Likewise.
18463         (expm1_test): Likewise.
18464         (fabs_test): Likewise.
18465         (fdim_test): Likewise.
18466         (finite_test): Likewise.
18467         (floor_test): Likewise.
18468         (fma_test): Likewise.
18469         (fma_test_towardzero): Likewise.
18470         (fma_test_downward): Likewise.
18471         (fma_test_upward): Likewise.
18472         (fmax_test): Likewise.
18473         (fmin_test): Likewise.
18474         (fmod_test): Likewise.
18475         (fpclassify_test): Likewise.
18476         (frexp_test): Likewise.
18477         (gamma_test): Likewise.
18478         (hypot_test): Likewise.
18479         (ilogb_test): Likewise.
18480         (isfinite_test): Likewise.
18481         (isgreater_test): Likewise.
18482         (isgreaterequal_test): Likewise.
18483         (isinf_test): Likewise.
18484         (isless_test): Likewise.
18485         (islessequal_test): Likewise.
18486         (islessgreater_test): Likewise.
18487         (isnan_test): Likewise.
18488         (isnormal_test): Likewise.
18489         (issignaling_test): Likewise.
18490         (isunordered_test): Likewise.
18491         (j0_test): Likewise.
18492         (j1_test): Likewise.
18493         (jn_test): Likewise.
18494         (ldexp_test): Likewise.
18495         (lgamma_test): Likewise.
18496         (lrint_test): Likewise.
18497         (lrint_test_tonearest): Likewise.
18498         (lrint_test_towardzero): Likewise.
18499         (lrint_test_downward): Likewise.
18500         (lrint_test_upward): Likewise.
18501         (llrint_test): Likewise.
18502         (llrint_test_tonearest): Likewise.
18503         (llrint_test_towardzero): Likewise.
18504         (llrint_test_downward): Likewise.
18505         (llrint_test_upward): Likewise.
18506         (log_test): Likewise.
18507         (log10_test): Likewise.
18508         (log1p_test): Likewise.
18509         (log2_test): Likewise.
18510         (logb_test): Likewise.
18511         (logb_test_downward): Likewise.
18512         (lround_test): Likewise.
18513         (llround_test): Likewise.
18514         (modf_test): Likewise.
18515         (nearbyint_test): Likewise.
18516         (nextafter_test): Likewise.
18517         (nexttoward_test): Likewise.
18518         (pow_test): Likewise.
18519         (pow_test_tonearest): Likewise.
18520         (pow_test_towardzero): Likewise.
18521         (pow_test_downward): Likewise.
18522         (pow_test_upward): Likewise.
18523         (remainder_test): Likewise.
18524         (remainder_test_tonearest): Likewise.
18525         (remainder_test_towardzero): Likewise.
18526         (remainder_test_downward): Likewise.
18527         (remainder_test_upward): Likewise.
18528         (remquo_test): Likewise.
18529         (rint_test): Likewise.
18530         (rint_test_tonearest): Likewise.
18531         (rint_test_towardzero): Likewise.
18532         (rint_test_downward): Likewise.
18533         (rint_test_upward): Likewise.
18534         (round_test): Likewise.
18535         (scalb_test): Likewise.
18536         (scalbn_test): Likewise.
18537         (scalbln_test): Likewise.
18538         (signbit_test): Likewise.
18539         (sin_test): Likewise.
18540         (sin_test_tonearest): Likewise.
18541         (sin_test_towardzero): Likewise.
18542         (sin_test_downward): Likewise.
18543         (sin_test_upward): Likewise.
18544         (sincos_test): Likewise.
18545         (sinh_test): Likewise.
18546         (sinh_test_tonearest): Likewise.
18547         (sinh_test_towardzero): Likewise.
18548         (sinh_test_downward): Likewise.
18549         (sinh_test_upward): Likewise.
18550         (sqrt_test): Likewise.
18551         (tan_test): Likewise.
18552         (tan_test_tonearest): Likewise.
18553         (tan_test_towardzero): Likewise.
18554         (tan_test_downward): Likewise.
18555         (tan_test_upward): Likewise.
18556         (tanh_test): Likewise.
18557         (tgamma_test): Likewise.
18558         (trunc_test): Likewise.
18559         (y0_test): Likewise.
18560         (y1_test): Likewise.
18561         (yn_test): Likewise.
18562         (significand_test): Likewise.
18563
18564 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18565
18566         [BZ #15381]
18567         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18568
18569 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18570
18571         [BZ #14894]
18572         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18573         __ppc_mdoio and __ppc_mdoom.
18574         * manual/platform.texi: Document new functions __ppc_yield,
18575         __ppc_mdoio and __ppc_mdoom.
18576
18577 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18578
18579         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18580         (main): Mention "tls" pseudo-hwcap is legacy.
18581         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18582
18583 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18584
18585         * math/gen-libm-test.pl (parse_args): Output only string of
18586         arguments as text for test name, not full call or descriptions of
18587         tests for extra outputs.
18588         (generate_testfile): Do not pass function name to parse_args.
18589         Generate this_func variable from START.
18590         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18591         field to arg_str.
18592         (struct test_ff_f_data): Likewise.
18593         (test_ff_f_data_nexttoward): Likewise.
18594         (struct test_fi_f_data): Likewise.
18595         (struct test_fl_f_data): Likewise.
18596         (struct test_if_f_data): Likewise.
18597         (struct test_fff_f_data): Likewise.
18598         (struct test_c_f_data): Likewise.
18599         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18600         (struct test_fF_f1_data): Likewise.
18601         (struct test_ffI_f1_data): Likewise.
18602         (struct test_c_c_data): Rename test_name field to arg_str.
18603         (struct test_cc_c_data): Likewise.
18604         (struct test_f_i_data): Likewise.
18605         (struct test_ff_i_data): Likewise.
18606         (struct test_f_l_data): Likewise.
18607         (struct test_f_L_data): Likewise.
18608         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18609         and extra2_name.
18610         (COMMON_TEST_SETUP): New macro.
18611         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18612         (COMMON_TEST_CLEANUP): Likewise.
18613         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18614         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18615         macros.
18616         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18617         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18618         macros.
18619         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18620         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18621         cleanup macros.
18622         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18623         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18624         macros.
18625         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18626         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18627         macros.
18628         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18629         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18630         cleanup macros.
18631         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18632         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18633         cleanup macros.
18634         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18635         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18636         cleanup macros.
18637         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18638         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18639         macros.
18640         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18641         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18642         macros.
18643         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18644         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18645         macros.
18646         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18647         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18648         cleanup macros.
18649         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18650         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18651         cleanup macros.
18652         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18653         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18654         macros.
18655         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18656         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18657         cleanup macros.
18658         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18659         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18660         macros.
18661         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18662         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18663         macros.
18664         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18665         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18666         cleanup macros.
18667         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18668
18669 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18670
18671         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18672         to _sifields.sigfault.
18673         (si_addr_lsb): Define new macro.
18674         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18675         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18676         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18677
18678 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18679
18680         [BZ #15441]
18681         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18682         returns -1.
18683         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18684         null return -1.
18685         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18686         loading the domain.
18687
18688 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18689
18690         * math/gen-libm-test.pl (parse_args): Do not include expected
18691         result in test name.
18692         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18693         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18694         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18695         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18696         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18698
18699 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18700
18701         * benchtests/Makefile: Sort function entries.
18702
18703         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18704         tanh, asinh, acosh, atanh.
18705         * benchtests/acos-inputs: New file.
18706         * benchtests/acosh-inputs: New file.
18707         * benchtests/asin-inputs: New file.
18708         * benchtests/asinh-inputs: New file.
18709         * benchtests/atanh-inputs: New file.
18710         * benchtests/cosh-inputs: New file.
18711         * benchtests/log-inputs: New file.
18712         * benchtests/sinh-inputs: New file.
18713         * benchtests/tanh-inputs: New file.
18714
18715 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18716
18717         [BZ #15339]
18718         * posix/tst-getaddrinfo4.c: New test.
18719         * posix/Makefile (tests): Add it.
18720
18721 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18722
18723         [BZ #15339]
18724         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18725         when no services were used.
18726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18727         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18728
18729 2013-05-21  Andreas Schwab  <schwab@suse.de>
18730
18731         [BZ #15014]
18732         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18733         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18734         successful.
18735         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18736         redundant variable declarations and reallocation of buffer when
18737         parsing as IPv6 address.  Always set NSS status when called from
18738         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18739         buffer too small.  Correct computation of needed size.
18740         * nss/Makefile (tests): Add test-digits-dots.
18741         * nss/test-digits-dots.c: New test.
18742
18743 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18744
18745         * benchtests/Makefile: Remove instructions for adding
18746         benchmark tests.
18747         * benchtests/README: New file to explain how to execute and
18748         enhance the benchmark tests.
18749
18750 2013-05-21  Andreas Schwab  <schwab@suse.de>
18751
18752         [BZ #15493]
18753         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18754         * setjmp/tst-sigsetjmp.c: New test.
18755
18756 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18757
18758         * sysdeps/x86_64/memset.S (memset): New implementation.
18759         (__bzero): Likewise.
18760         (__memset_tail): New function.
18761
18762 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18763
18764         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18765         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18766         __memcpy_sse2_unaligned ifunc selection.
18767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18768         Add memcpy-sse2-unaligned.S.
18769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18770         Add: __memcpy_sse2_unaligned.
18771
18772 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18773
18774         [BZ #15490]
18775         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18776         math_force_eval before restoring floating-point envrionment.
18777         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18778         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18779         Likewise.
18780         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18781         <math_private.h>.
18782         (__nearbyintl): Use math_force_eval before restoring
18783         floating-point environment.
18784         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18785
18786         * math/gen-libm-test.pl (special_functions): Remove.
18787         (parse_args): Don't handle TEST_extra.  Handle functions with no
18788         return value.
18789         * math/libm-test.inc (struct test_sincos_data): Replace with
18790         struct test_fFF_11_data.
18791         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18792         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18793         (sincos_test_data): Change element type to struct
18794         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18795         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18796         RUN_TEST_LOOP_sincos.
18797         * math/README.libm-test: Don't mention special handling of
18798         individual functions.
18799         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18800         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18801         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18802         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18803         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18805
18806         * math/gen-libm-test.pl (get_variable): Remove function.
18807         (parse_args): Don't show pointer parameters to call in test
18808         names.  Use "extra output N" in test names for extra outputs
18809         rather than naming variables.
18810
18811 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18812
18813         [BZ #15488]
18814         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18815         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18816         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18817         double tests.
18818         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18819         disable.
18820         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18821         check_long_double.
18822
18823         * math/gen-libm-test.pl (@tests): Remove variable.
18824         ($count): Likewise.
18825         (new_test): Remove function.
18826         (show_exceptions): New function.
18827         (special_functions): Use show_exceptions instead of new_test.
18828         (parse_args): Likewise.
18829         (generate_testfile): Pass only function name in generated call to
18830         print_max_error or print_complex_max_error.
18831         (get_ulps): Do not handle complex tests specially.
18832         (output_test): Rename to ...
18833         (get_all_ulps_for_test): ... this.  Return a string rather than
18834         printing to a file.  Require ulps to be present.
18835         (output_ulps): Generate arrays rather than #defines.
18836         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18837         (struct ulp_data): New type.
18838         (BUILD_COMPLEX_ULP): Remove macro.
18839         (compare_ulp_data): New function.
18840         (find_ulps): Likewise.
18841         (find_test_ulps): Likewise.
18842         (find_function_ulps): Likewise.
18843         (find_complex_function_ulps): Likewise.
18844         (print_max_error): Determine allowed ulps using
18845         find_function_ulps.
18846         (print_complex_max_error): Determine allowed ulps using
18847         find_complex_function_ulps.
18848         (check_float_internal): Determine max ulps using find_test_ulps.
18849         (check_float): Do not take max_ulp parameter.  Update call to
18850         check_float_internal.
18851         (check_complex): Likewise.
18852         (check_int): Do not take max_ulp parameter.
18853         (check_long): Likewise.
18854         (check_bool): Likewise.
18855         (check_longlong): Likewise.
18856         (struct test_f_f_data): Remove max_ulp field.
18857         (struct test_ff_f_data): Likewise.
18858         (struct test_ff_f_data_nexttoward): Likewise.
18859         (struct test_fi_f_data): Likewise.
18860         (struct test_fl_f_data): Likewise.
18861         (struct test_if_f_data): Likewise.
18862         (struct test_fff_f_data): Likewise.
18863         (struct test_c_f_data): Likewise.
18864         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18865         (struct test_fF_f1_data): Likewise.
18866         (struct test_ffI_f1_data): Likewise.
18867         (struct test_c_c_data): Remove max_ulp field.
18868         (struct test_cc_c_data): Likewise.
18869         (struct test_f_i_data): Likewise.
18870         (struct test_ff_i_data): Likewise.
18871         (struct test_f_l_data): Likewise.
18872         (struct test_f_L_data): Likewise.
18873         (struct test_sincos_data): Likewise.
18874         (RUN_TEST_f_f): Do not handle ulps.
18875         (RUN_TEST_LOOP_f_f): Likewise.
18876         (RUN_TEST_2_f): Likewise.
18877         (RUN_TEST_LOOP_2_f): Likewise.
18878         (RUN_TEST_fff_f): Likewise.
18879         (RUN_TEST_LOOP_fff_f): Likewise.
18880         (RUN_TEST_c_f): Likewise.
18881         (RUN_TEST_LOOP_c_f): Likewise.
18882         (RUN_TEST_f_f1): Likewise.
18883         (RUN_TEST_LOOP_f_f1): Likewise.
18884         (RUN_TEST_fF_f1): Likewise.
18885         (RUN_TEST_LOOP_fF_f1): Likewise.
18886         (RUN_TEST_fI_f1): Likewise.
18887         (RUN_TEST_LOOP_fI_f1): Likewise.
18888         (RUN_TEST_ffI_f1): Likewise.
18889         (RUN_TEST_LOOP_ffI_f1): Likewise.
18890         (RUN_TEST_c_c): Likewise.
18891         (RUN_TEST_LOOP_c_c): Likewise.
18892         (RUN_TEST_cc_c): Likewise.
18893         (RUN_TEST_LOOP_cc_c): Likewise.
18894         (RUN_TEST_f_i): Likewise.
18895         (RUN_TEST_LOOP_f_i): Likewise.
18896         (RUN_TEST_f_i_tg): Likewise.
18897         (RUN_TEST_LOOP_f_i_tg): Likewise.
18898         (RUN_TEST_ff_i_tg): Likewise.
18899         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18900         (RUN_TEST_f_b): Likewise.
18901         (RUN_TEST_LOOP_f_b): Likewise.
18902         (RUN_TEST_f_b_tg): Likewise.
18903         (RUN_TEST_LOOP_f_b_tg): Likewise.
18904         (RUN_TEST_f_l): Likewise.
18905         (RUN_TEST_LOOP_f_l): Likewise.
18906         (RUN_TEST_f_L): Likewise.
18907         (RUN_TEST_LOOP_f_L): Likewise.
18908         (RUN_TEST_sincos): Likewise.
18909         (RUN_TEST_LOOP_sincos): Likewise.
18910
18911 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18912
18913         [BZ #15480]
18914         [BZ #15485]
18915         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18916         main case of finite arguments, set rounding mode to FE_TONEAREST
18917         and discard exceptions.
18918         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18919         exceptions.
18920         (remainder_tonearest_test_data): New variable.
18921         (remainder_test_tonearest): New function.
18922         (remainder_towardzero_test_data): New variable.
18923         (remainder_test_towardzero): New function.
18924         (remainder_downward_test_data): New variable.
18925         (remainder_test_downward): New function.
18926         (remainder_upward_test_data): New variable.
18927         (remainder_test_upward): New function.
18928         (main): Call the new test functions.
18929
18930         * math/libm-test.inc (struct test_f_f1_data): Remove field
18931         extra_init.
18932         (struct test_fF_f1_data): Likewise.
18933         (struct test_ffI_f1_data): Likewise.
18934         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18935         based on value of EXTRA_EXPECTED.
18936         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18937         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18938         EXTRA_VAR based on value of EXTRA_EXPECTED.
18939         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18940         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18941         EXTRA_VAR based on value of EXTRA_EXPECTED.
18942         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18943         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18944         EXTRA_VAR based on value of EXTRA_EXPECTED.
18945         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18946         * math/gen-libm-test.pl (parse_args): Don't output initializers
18947         for extra output values.
18948
18949         * math/libm-test.inc (check_int): Expect result to be exactly
18950         equal to expected value and do not handle ulps.
18951         (check_long): Likewise.
18952         (check_longlong): Likewise.
18953
18954         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18955         exceptions.
18956         (cimag_test_data): Likewise.
18957         (conj_test_data): Likewise.
18958         (copysign_test_data): Likewise.
18959         (cproj_test_data): Likewise.
18960         (creal_test_data): Likewise.
18961         (fabs_test_data): Likewise.
18962         (fdim_test_data): Likewise.
18963         (finite_test_data): Likewise.
18964         (floor_test_data): Likewise.
18965         (fmax_test_data): Likewise.
18966         (fmin_test_data): Likewise.
18967         (fmod_test_data): Likewise.
18968         (fpclassify_test_data): Likewise.
18969         (frexp_test_data): Likewise.
18970         (ilogb_test_data): Likewise.
18971         (isfinite_test_data): Likewise.
18972         (isgreater_test_data): Likewise.
18973         (isgreaterequal_test_data): Likewise.
18974         (isinf_test_data): Likewise.
18975         (isless_test_data): Likewise.
18976         (islessequal_test_data): Likewise.
18977         (islessgreater_test_data): Likewise.
18978         (isnan_test_data): Likewise.
18979         (isnormal_test_data): Likewise.
18980         (issignaling_test_data): Likewise.
18981         (isunordered_test_data): Likewise.
18982         (ldexp_test_data): Likewise.
18983         (lrint_test_data): Likewise.
18984         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18985         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18986         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18987         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18988         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18989         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18990         test input.
18991         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18992         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18993         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18994         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18995         that test input.
18996         (lrint_downward_test_data): Test for "inexact" exceptions.
18997         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18998         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18999         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19000         test input.
19001         (lrint_upward_test_data): Test for "inexact" exceptions.
19002         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19003         test input.
19004         (llrint_test_data): Test for "inexact" exceptions.
19005         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19006         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19007         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19008         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19009         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19010         (llrint_downward_test_data): Test for "inexact" exceptions.
19011         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19012         (llrint_upward_test_data): Test for "inexact" exceptions.
19013         (logb_test_data): Likewise.
19014         (logb_downward_test_data): Likewise.
19015         (nextafter_test_data): Likewise.
19016         (nexttoward_test_data): Likewise.
19017         (remainder_test_data): Likewise.
19018         (remquo_test_data): Likewise.
19019         (scalbn_test_data): Likewise.
19020         (scalbln_test_data): Likewise.
19021         (signbit_test_data): Likewise.
19022         (sqrt_test_data): Likewise.
19023         (significand_test_data): Likewise.
19024
19025 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19026
19027         [BZ #15424]
19028         * benchtests/bench-modf.c (struct args): Mark arg0 as
19029         volatile.
19030         * scripts/bench.pl: Mark members of struct args as volatile.
19031
19032 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19033
19034         [BZ # 15497]
19035         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19036         negative infinity on POWER6 or lower.
19037         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19038
19039 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19040
19041         [BZ #15442]
19042         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19043         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19044         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19045         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19046         (_FP_SETQNAN): New macro.
19047         (_FP_SETQNAN_SEMIRAW): Likewise.
19048         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19049         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19050         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19051         (FP_EXTEND): Use _FP_FRAC_SNANP.
19052         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19053         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19054         into account.
19055         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19056         New macro.
19057         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19058         Likewise.
19059
19060 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19061
19062         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19063         with DIVIDE_BY_ZERO_EXCEPTION.
19064         (gamma_test_data): Likewise.
19065         (lgamma_test_data): Likewise.
19066         (log_test_data): Likewise.
19067         (log10_test_data): Likewise.
19068         (log2_test_data): Likewise.
19069         (tgamma_test_data): Likewise.
19070
19071         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19072         (acos_test_tonearest): Likewise.
19073         (acos_test_towardzero): Likewise.
19074         (acos_test_downward): Likewise.
19075         (acos_test_upward): Likewise.
19076         (acosh_test): Likewise.
19077         (asin_test): Likewise.
19078         (asin_test_tonearest): Likewise.
19079         (asin_test_towardzero): Likewise.
19080         (asin_test_downward): Likewise.
19081         (asin_test_upward): Likewise.
19082         (asinh_test): Likewise.
19083         (atan_test): Likewise.
19084         (atanh_test): Likewise.
19085         (atan2_test): Likewise.
19086         (cabs_test): Likewise.
19087         (cacos_test): Likewise.
19088         (cacosh_test): Likewise.
19089         (casin_test): Likewise.
19090         (casinh_test): Likewise.
19091         (catan_test): Likewise.
19092         (catanh_test): Likewise.
19093         (cbrt_test): Likewise.
19094         (ccos_test): Likewise.
19095         (ccosh_test): Likewise.
19096         (cexp_test): Likewise.
19097         (clog_test): Likewise.
19098         (clog10_test): Likewise.
19099         (cos_test): Likewise.
19100         (cos_test_tonearest): Likewise.
19101         (cos_test_towardzero): Likewise.
19102         (cos_test_downward): Likewise.
19103         (cos_test_upward): Likewise.
19104         (cosh_test): Likewise.
19105         (cosh_test_tonearest): Likewise.
19106         (cosh_test_towardzero): Likewise.
19107         (cosh_test_downward): Likewise.
19108         (cosh_test_upward): Likewise.
19109         (cpow_test): Likewise.
19110         (csin_test): Likewise.
19111         (csinh_test): Likewise.
19112         (csqrt_test): Likewise.
19113         (ctan_test): Likewise.
19114         (ctan_test_tonearest): Likewise.
19115         (ctan_test_towardzero): Likewise.
19116         (ctan_test_downward): Likewise.
19117         (ctan_test_upward): Likewise.
19118         (ctanh_test): Likewise.
19119         (ctanh_test_tonearest): Likewise.
19120         (ctanh_test_towardzero): Likewise.
19121         (ctanh_test_downward): Likewise.
19122         (ctanh_test_upward): Likewise.
19123         (erf_test): Likewise.
19124         (erfc_test): Likewise.
19125         (exp_test): Likewise.
19126         (exp_test_tonearest): Likewise.
19127         (exp_test_towardzero): Likewise.
19128         (exp_test_downward): Likewise.
19129         (exp_test_upward): Likewise.
19130         (exp10_test): Likewise.
19131         (exp2_test): Likewise.
19132         (expm1_test): Likewise.
19133         (fmod_test): Likewise.
19134         (gamma_test): Likewise.
19135         (hypot_test): Likewise.
19136         (j0_test): Likewise.
19137         (j1_test): Likewise.
19138         (jn_test): Likewise.
19139         (lgamma_test): Likewise.
19140         (log_test): Likewise.
19141         (log10_test): Likewise.
19142         (log1p_test): Likewise.
19143         (log2_test): Likewise.
19144         (logb_test_downward): Likewise.
19145         (pow_test): Likewise.
19146         (pow_test_tonearest): Likewise.
19147         (pow_test_towardzero): Likewise.
19148         (pow_test_downward): Likewise.
19149         (pow_test_upward): Likewise.
19150         (remainder_test): Likewise.
19151         (remquo_test): Likewise.
19152         (sin_test): Likewise.
19153         (sin_test_tonearest): Likewise.
19154         (sin_test_towardzero): Likewise.
19155         (sin_test_downward): Likewise.
19156         (sin_test_upward): Likewise.
19157         (sincos_test): Likewise.
19158         (sinh_test): Likewise.
19159         (sinh_test_tonearest): Likewise.
19160         (sinh_test_towardzero): Likewise.
19161         (sinh_test_downward): Likewise.
19162         (sinh_test_upward): Likewise.
19163         (sqrt_test): Likewise.
19164         (tan_test): Likewise.
19165         (tan_test_tonearest): Likewise.
19166         (tan_test_towardzero): Likewise.
19167         (tan_test_downward): Likewise.
19168         (tan_test_upward): Likewise.
19169         (tanh_test): Likewise.
19170         (tgamma_test): Likewise.
19171         (y0_test): Likewise.
19172         (y1_test): Likewise.
19173         (yn_test): Likewise.
19174
19175         * math/gen-libm-test.pl (adjust_arg): Remove function.
19176         (special_function): Remove argument $in_func.  Only handle
19177         generating output for tables of tests, not inside functions.
19178         (parse_args): Likewise.
19179         (generate_testfile): Remove variable $in_func.  Update call to
19180         parse_args.
19181         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19182         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19183         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19184         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19185         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19186         (MAX_VALUE_INIT): Rename macro to max_value.
19187         (MIN_VALUE_INIT): Rename macro to min_value.
19188         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19189         (plus_zero): Remove variable.
19190         (minus_zero): Likewise.
19191         (plus_infty): Likewise.
19192         (minus_infty): Likewise.
19193         (qnan_value): Likewise.
19194         (max_value): Likewise.
19195         (min_value): Likewise.
19196         (min_subnorm_value): Likewise.
19197
19198 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19199
19200         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19201         uint64_t or uint32_t usage.
19202         * crypt/sha256-block.c: Likewise.
19203         * crypt/sha256-crypt.c: Likewise.
19204         * crypt/sha256.c: Likewise.
19205         * crypt/sha512-block.c: Likewise.
19206         * crypt/sha512-crypt.c: Likewise.
19207         * crypt/sha512.c: Likewise.
19208         * debug/backtrace-tst.c: Likewise.
19209         * debug/pcprofiledump.c: Likewise.
19210         * elf/cache.c: Likewise.
19211         * elf/dl-cache.c: Likewise.
19212         * elf/dl-misc.c: Likewise.
19213         * elf/dl-profile.c: Likewise.
19214         * elf/dl-support.c: Likewise.
19215         * elf/ldconfig.c: Likewise.
19216         * elf/sprof.c: Likewise.
19217         * iconv/dummy-repertoire.c: Likewise.
19218         * iconv/iconv_charmap.c: Likewise.
19219         * iconv/skeleton.c: Likewise.
19220         * iconvdata/8bit-generic.c: Likewise.
19221         * iconvdata/cp737.h: Likewise.
19222         * iconvdata/cp775.h: Likewise.
19223         * iconvdata/ibm1008.h: Likewise.
19224         * iconvdata/ibm1025.h: Likewise.
19225         * iconvdata/ibm1046.h: Likewise.
19226         * iconvdata/ibm1097.h: Likewise.
19227         * iconvdata/ibm1112.h: Likewise.
19228         * iconvdata/ibm1122.h: Likewise.
19229         * iconvdata/ibm1123.h: Likewise.
19230         * iconvdata/ibm1124.h: Likewise.
19231         * iconvdata/ibm1129.h: Likewise.
19232         * iconvdata/ibm1130.h: Likewise.
19233         * iconvdata/ibm1132.h: Likewise.
19234         * iconvdata/ibm1133.h: Likewise.
19235         * iconvdata/ibm1137.h: Likewise.
19236         * iconvdata/ibm1140.h: Likewise.
19237         * iconvdata/ibm1141.h: Likewise.
19238         * iconvdata/ibm1142.h: Likewise.
19239         * iconvdata/ibm1143.h: Likewise.
19240         * iconvdata/ibm1144.h: Likewise.
19241         * iconvdata/ibm1145.h: Likewise.
19242         * iconvdata/ibm1146.h: Likewise.
19243         * iconvdata/ibm1147.h: Likewise.
19244         * iconvdata/ibm1148.h: Likewise.
19245         * iconvdata/ibm1149.h: Likewise.
19246         * iconvdata/ibm1153.h: Likewise.
19247         * iconvdata/ibm1154.h: Likewise.
19248         * iconvdata/ibm1155.h: Likewise.
19249         * iconvdata/ibm1156.h: Likewise.
19250         * iconvdata/ibm1157.h: Likewise.
19251         * iconvdata/ibm1158.h: Likewise.
19252         * iconvdata/ibm1160.h: Likewise.
19253         * iconvdata/ibm1161.h: Likewise.
19254         * iconvdata/ibm1162.h: Likewise.
19255         * iconvdata/ibm1163.h: Likewise.
19256         * iconvdata/ibm1164.h: Likewise.
19257         * iconvdata/ibm1166.h: Likewise.
19258         * iconvdata/ibm1167.h: Likewise.
19259         * iconvdata/ibm12712.h: Likewise.
19260         * iconvdata/ibm1390.h: Likewise.
19261         * iconvdata/ibm1399.h: Likewise.
19262         * iconvdata/ibm16804.h: Likewise.
19263         * iconvdata/ibm4517.h: Likewise.
19264         * iconvdata/ibm4899.h: Likewise.
19265         * iconvdata/ibm4909.h: Likewise.
19266         * iconvdata/ibm4971.h: Likewise.
19267         * iconvdata/ibm5347.h: Likewise.
19268         * iconvdata/ibm803.h: Likewise.
19269         * iconvdata/ibm856.h: Likewise.
19270         * iconvdata/ibm901.h: Likewise.
19271         * iconvdata/ibm902.h: Likewise.
19272         * iconvdata/ibm9030.h: Likewise.
19273         * iconvdata/ibm9066.h: Likewise.
19274         * iconvdata/ibm921.h: Likewise.
19275         * iconvdata/ibm922.h: Likewise.
19276         * iconvdata/ibm9448.h: Likewise.
19277         * iconvdata/isiri-3342.h: Likewise.
19278         * iconvdata/jis0201.h: Likewise.
19279         * include/link.h: Likewise.
19280         * include/netdb.h: Likewise.
19281         * inet/check_native.c: Likewise.
19282         * inet/check_pf.c: Likewise.
19283         * inet/getipv4sourcefilter.c: Likewise.
19284         * inet/getnameinfo.c: Likewise.
19285         * inet/getsourcefilter.c: Likewise.
19286         * inet/htonl.c: Likewise.
19287         * inet/setipv4sourcefilter.c: Likewise.
19288         * inet/setsourcefilter.c: Likewise.
19289         * inet/test-inet6_opt.c: Likewise.
19290         * inet/tst-network.c: Likewise.
19291         * locale/C-collate.c: Likewise.
19292         * locale/C-ctype.c: Likewise.
19293         * locale/C-time.c: Likewise.
19294         * locale/C-translit.h: Likewise.
19295         * locale/loadarchive.c: Likewise.
19296         * locale/programs/3level.h: Likewise.
19297         * locale/programs/charmap.c: Likewise.
19298         * locale/programs/charmap.h: Likewise.
19299         * locale/programs/ld-address.c: Likewise.
19300         * locale/programs/ld-collate.c: Likewise.
19301         * locale/programs/ld-ctype.c: Likewise.
19302         * locale/programs/ld-identification.c: Likewise.
19303         * locale/programs/ld-measurement.c: Likewise.
19304         * locale/programs/ld-messages.c: Likewise.
19305         * locale/programs/ld-monetary.c: Likewise.
19306         * locale/programs/ld-name.c: Likewise.
19307         * locale/programs/ld-numeric.c: Likewise.
19308         * locale/programs/ld-paper.c: Likewise.
19309         * locale/programs/ld-telephone.c: Likewise.
19310         * locale/programs/ld-time.c: Likewise.
19311         * locale/programs/linereader.c: Likewise.
19312         * locale/programs/locale.c: Likewise.
19313         * locale/programs/locarchive.c: Likewise.
19314         * locale/programs/locfile.h: Likewise.
19315         * locale/programs/repertoire.c: Likewise.
19316         * locale/programs/simple-hash.c: Likewise.
19317         * locale/programs/simple-hash.h: Likewise.
19318         * malloc/memusage.c: Likewise.
19319         * malloc/memusagestat.c: Likewise.
19320         * nis/nis_defaults.c: Likewise.
19321         * nis/nis_hash.c: Likewise.
19322         * nis/nis_print.c: Likewise.
19323         * nis/nis_xdr.c: Likewise.
19324         * nscd/connections.c: Likewise.
19325         * nscd/hstcache.c: Likewise.
19326         * nscd/nscd_gethst_r.c: Likewise.
19327         * nscd/nscd_getserv_r.c: Likewise.
19328         * nscd/nscd_helper.c: Likewise.
19329         * nscd/servicescache.c: Likewise.
19330         * nss/makedb.c: Likewise.
19331         * nss/nss_db/db-XXX.c: Likewise.
19332         * nss/nss_db/db-initgroups.c: Likewise.
19333         * nss/nss_db/db-netgrp.c: Likewise.
19334         * nss/nss_files/files-network.c: Likewise.
19335         * nss/nss_files/files-parse.c: Likewise.
19336         * posix/bug-regex5.c: Likewise.
19337         * posix/fnmatch_loop.c: Likewise.
19338         * posix/regcomp.c: Likewise.
19339         * posix/regexec.c: Likewise.
19340         * posix/tst-rfc3484-2.c: Likewise.
19341         * posix/tst-rfc3484-3.c: Likewise.
19342         * posix/tst-rfc3484.c: Likewise.
19343         * resolv/nss_dns/dns-canon.c: Likewise.
19344         * resolv/nss_dns/dns-network.c: Likewise.
19345         * resolv/res_init.c: Likewise.
19346         * resolv/res_mkquery.c: Likewise.
19347         * resolv/tst-aton.c: Likewise.
19348         * stdlib/cxa_atexit.c: Likewise.
19349         * stdlib/cxa_finalize.c: Likewise.
19350         * stdlib/gen-fpioconst.c: Likewise.
19351         * stdlib/strtol_l.c: Likewise.
19352         * string/tst-endian.c: Likewise.
19353         * sunrpc/auth_des.c: Likewise.
19354         * sunrpc/clnt_udp.c: Likewise.
19355         * sunrpc/rtime.c: Likewise.
19356         * sunrpc/svcauth_des.c: Likewise.
19357         * sunrpc/xdr.c: Likewise.
19358         * sunrpc/xdr_intXX_t.c: Likewise.
19359         * sunrpc/xdr_rec.c: Likewise.
19360         * sysdeps/generic/ldconfig.h: Likewise.
19361         * sysdeps/generic/ldsodefs.h: Likewise.
19362         * sysdeps/generic/memusage.h: Likewise.
19363         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19364         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19365         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19366         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19367         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19368         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19369         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19370         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19371         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19372         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19373         * sysdeps/posix/getaddrinfo.c: Likewise.
19374         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19375         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19376         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19377         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19378         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19379         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19380         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19381         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19382         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19383         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19384         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19385         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19386         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19387         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19388         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19389         * sysdeps/x86_64/dl-tls.h: Likewise.
19390         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19391         * time/alt_digit.c: Likewise.
19392         * time/era.c: Likewise.
19393         * wcsmbs/tst-c16c32-1.c: Likewise.
19394
19395 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19396
19397         * math/libm-test.inc (struct test_sincos_data): New type.
19398         (RUN_TEST_LOOP_sincos): New macro.
19399         (sincos_test_data): New variable.
19400         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19401
19402 2013-05-16  Richard Henderson  <rth@redhat.com>
19403
19404         * math/atest-exp2.c (LIMB64): New macro.
19405         (CONSTSZ): New macro.
19406         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19407         (hexdig): Move ...
19408         (print_mpn_fp): ... to function scope.
19409         (read_mpn_hex): Remove.
19410         (get_log2): Remove.
19411         (exp2_mpn): Use mp_log2.
19412         (main): Use mp_exp1.
19413
19414 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19415
19416         * math/libm-test.inc: Remove comment about not testing "inexact"
19417         exceptions.
19418         (INEXACT_EXCEPTION): New macro.
19419         (NO_INEXACT_EXCEPTION): Likewise.
19420         (INVALID_EXCEPTION_OK): Update value.
19421         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19422         (OVERFLOW_EXCEPTION_OK): Likewise.
19423         (UNDERFLOW_EXCEPTION_OK): Likewise.
19424         (IGNORE_ZERO_INF_SIGN): Likewise.
19425         (ERRNO_UNCHANGED): Likewise.
19426         (ERRNO_EDOM): Likewise.
19427         (ERRNO_ERANGE): Likewise.
19428         (test_exceptions): Handle testing "inexact" exceptions.
19429         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19430         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19431         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19432         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19433         INEXACT_EXCEPTION.
19434         (rint_towardzero_test_data): Likewise.
19435         (rint_downward_test_data): Likewise.
19436         (rint_upward_test_data): Likewise.
19437
19438         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19439         with OVERFLOW_EXCEPTION.
19440         (exp10_test_data): Likewise.
19441         (exp2_test_data): Likewise.
19442         (expm1_test_data): Likewise.
19443         (lgamma_test_data): Likewise.
19444         (pow_test_data): Likewise.
19445         (tgamma_test_data): Likewise.
19446         (yn_test_data): Remove duplicate test of overflow.
19447
19448         * math/libm-test.inc (struct test_cc_c_data): New type.
19449         (RUN_TEST_LOOP_cc_c): New macro.
19450         (cpow_test_data): New variable.
19451         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19452
19453         * math/libm-test.inc (struct test_f_L_data): New type.
19454         (RUN_TEST_LOOP_f_L): New macro.
19455         (llrint_test_data): New variable.
19456         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19457         (llrint_tonearest_test_data): New variable.
19458         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19459         (llrint_towardzero_test_data): New variable.
19460         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19461         (llrint_downward_test_data): New variable.
19462         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19463         (llrint_upward_test_data): New variable.
19464         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19465         (llround_test_data): New variable.
19466         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19467
19468 2013-05-13  Peter Collingbourne  <pcc@google.com>
19469
19470         * math/atest-exp2.c (get_log2): Remove const attribute.
19471
19472 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19473
19474         * math/libm-test.inc (struct test_f_l_data): New type.
19475         (RUN_TEST_LOOP_f_l): New macro.
19476         (lrint_test_data): New variable.
19477         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19478         (lrint_tonearest_test_data): New variable.
19479         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19480         (lrint_towardzero_test_data): New variable.
19481         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19482         (lrint_downward_test_data): New variable.
19483         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19484         (lrint_upward_test_data): New variable.
19485         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19486         (lround_test_data): New variable.
19487         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19488
19489 2013-05-15  Peter Collingbourne  <pcc@google.com>
19490
19491         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19492         (EXTRACT_WORDS64) Use where appropriate.
19493         (INSERT_WORDS64) Likewise.
19494
19495         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19496         constraints with x constraints.
19497         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19498
19499         * malloc/obstack.c (_obstack_compat): Add initializer.
19500
19501 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19502
19503         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19504         si_trapno and add si_addr_lsb to _sifields.sigfault.
19505         (si_trapno): Remove macro.
19506         (si_addr_lsb): Define new macro.
19507         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19508
19509 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19510
19511         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19512         instead of TEST_f_l.
19513         (llrint_test_tonearest): Likewise.
19514         (llrint_test_towardzero): Likewise.
19515         (llrint_test_downward): Likewise.
19516         (llrint_test_upward): Likewise.
19517         (llround_test): Likewise.
19518
19519         * math/libm-test.inc (struct test_f_i_data): Add comment.
19520         (RUN_TEST_LOOP_f_b): New macro.
19521         (RUN_TEST_LOOP_f_b_tg): Likewise.
19522         (finite_test_data): New variable.
19523         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19524         (isfinite_test_data): New variable.
19525         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19526         (isinf_test_data): New variable.
19527         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19528         (isnan_test_data): New variable.
19529         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19530         (isnormal_test_data): New variable.
19531         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19532         (issignaling_test_data): New variable.
19533         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19534         (signbit_test_data): New variable.
19535         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19536
19537         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19538         with INVALID_EXCEPTION.
19539         (acosh_test_data): Likewise.
19540         (asin_test_data): Likewise.
19541         (atanh_test_data): Likewise.
19542         (fmod_test_data): Likewise.
19543         (log_test_data): Likewise.
19544         (log10_test_data): Likewise.
19545         (log2_test_data): Likewise.
19546         (pow_test_data): Likewise.
19547         (sqrt_test_data): Likewise.
19548         (y0_test_data): Likewise.
19549         (y1_test_data): Likewise.
19550         (yn_test_data): Likewise.
19551
19552         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19553         function contents.
19554
19555         * math/libm-test.inc (struct test_ff_i_data): New type.
19556         (RUN_TEST_LOOP_ff_i_tg): New macro.
19557         (isgreater_test_data): New variable.
19558         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19559         (isgreaterequal_test_data): New variable.
19560         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19561         (isless_test_data): New variable.
19562         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19563         (islessequal_test_data): New variable.
19564         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19565         (islessgreater_test_data): New variable.
19566         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19567         (isunordered_test_data): New variable.
19568         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19569
19570 2013-05-14  David S. Miller  <davem@davemloft.net>
19571
19572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19573
19574 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19575
19576         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19577
19578         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19579         extra_test to int.
19580         (struct test_f_i_data): Change type of max_ulp to int.
19581
19582         * math/libm-test.inc (test_ffI_f1_data): New type.
19583         (RUN_TEST_LOOP_ffI_f1): New macro.
19584         (remquo_test_data): New variable.
19585         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19586
19587         * setjmp/tst-setjmp-fp.c: New file.
19588         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19589         (link-libm): New variable.
19590         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19591
19592         * math/libm-test.inc (struct test_f_i_data): New type.
19593         (RUN_TEST_LOOP_f_i): New macro.
19594         (RUN_TEST_LOOP_f_i_tg): Likewise.
19595         (fpclassify_test_data): New variable.
19596         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19597         (ilogb_test_data): New variable.
19598         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19599
19600         * math/libm-test.inc (scalbln_test): Correct function name in END
19601         call.
19602
19603         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19604         (RUN_TEST_LOOP_fI_f1): New macro.
19605         (frexp_test_data): New variable.
19606         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19607
19608         * math/libm-test.inc (struct test_fF_f1_data): New type.
19609         (RUN_TEST_LOOP_fF_f1): New macro.
19610         (modf_test_data): New variable.
19611         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19612
19613         * math/libm-test.inc (struct test_f_f1_data): New type.
19614         (RUN_TEST_LOOP_f_f1): New macro.
19615         (gamma_test_data): New variable.
19616         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19617         (lgamma_test_data): New variable.
19618         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19619
19620 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19621
19622         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19623         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19624         (main): Comment "tls" pseudo-hwcap.
19625
19626 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19627
19628         * math/libm-test.inc (struct test_fl_f_data): New type.
19629         (RUN_TEST_LOOP_fl_f): New variable.
19630         (scalbln_test_data): New variable.
19631         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19632
19633         * math/libm-test.inc (struct test_fi_f_data): New type.
19634         (RUN_TEST_LOOP_fi_f): New macro.
19635         (ldexp_test_data): New variable.
19636         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19637         (scalbn_test_data): New variable.
19638         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19639
19640         * math/libm-test.inc (struct test_c_f_data): New type.
19641         (RUN_TEST_LOOP_c_f): New macro.
19642         (cabs_test_data): New variable.
19643         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19644         (carg_test_data): New variable.
19645         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19646         (cimag_test_data): New variable.
19647         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19648         (creal_test_data): New variable.
19649         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19650
19651         * math/libm-test.inc (struct test_if_f_data): New type.
19652         (RUN_TEST_LOOP_if_f): New macro.
19653         (jn_test_data): New variable.
19654         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19655         (yn_test_data): New variable.
19656         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19657
19658         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19659
19660 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19661
19662         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19663         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19664
19665 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19666
19667         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19668         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19669         (bench-deps): Add bench-timing.h.
19670         * benchtests-bench-skeleton.c: Include bench-timing.h.
19671         (main): Use TIMING_* macros instead of clock_gettime.
19672         * benchtests/bench-timing.h: New file.
19673
19674         [BZ #14582]
19675         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19676         Renamed from _LIB_VERSION.
19677         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19678
19679 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19680
19681         * math/libm-test.inc (struct test_fff_f_data): New type.
19682         (RUN_TEST_LOOP_fff_f): New macro.
19683         (fma_test_data): New variable.
19684         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19685         (fma_towardzero_test_data): New variable.
19686         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19687         (fma_downward_test_data): New variable.
19688         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19689         (fma_upward_test_data): New variable.
19690         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19691
19692         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19693         (struct test_c_c_data): New type.
19694         (RUN_TEST_LOOP_c_c): New macro.
19695         (cacos_test_data): New variable.
19696         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19697         (cacosh_test_data): New variable.
19698         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19699         (casin_test_data): New variable.
19700         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19701         (casinh_test_data): New variable.
19702         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19703         (catan_test_data): New variable.
19704         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19705         (catanh_test_data): New variable.
19706         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19707         (ccos_test_data): New variable.
19708         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19709         (ccosh_test_data): New variable.
19710         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19711         (cexp_test_data): New variable.
19712         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19713         (clog_test_data): New variable.
19714         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19715         (clog10_test_data): New variable.
19716         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19717         (conj_test_data): New variable.
19718         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19719         (cproj_test_data): New variable.
19720         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19721         (csin_test_data): New variable.
19722         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19723         (csinh_test_data): New variable.
19724         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19725         (csqrt_test_data): New variable.
19726         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19727         (ctan_test_data): New variable.
19728         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19729         (ctan_tonearest_test_data): New variable.
19730         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19731         (ctan_towardzero_test_data): New variable.
19732         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19733         (ctan_downward_test_data): New variable.
19734         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19735         (ctan_upward_test_data): New variable.
19736         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19737         (ctanh_test_data): New variable.
19738         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19739         (ctanh_tonearest_test_data): New variable.
19740         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19741         (ctanh_towardzero_test_data): New variable.
19742         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19743         (ctanh_downward_test_data): New variable.
19744         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19745         (ctanh_upward_test_data): New variable.
19746         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19747         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19748         of BUILD_COMPLEX.
19749
19750         * math/libm-test.inc (struct test_ff_f_data): New type.
19751         (struct test_ff_f_data_nexttoward): Likewise.
19752         (RUN_TEST_LOOP_2_f): New macro.
19753         (RUN_TEST_LOOP_ff_f): Likewise.
19754         (atan2_test_data): New variable.
19755         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19756         (copysign_test_data): New variable.
19757         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19758         (fdim_test_data): New variable.
19759         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19760         (fmax_test_data): New variable.
19761         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19762         (fmin_test_data): New variable.
19763         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19764         (fmod_test_data): New variable.
19765         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19766         (hypot_test_data): New variable.
19767         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19768         (nextafter_test_data): New variable.
19769         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19770         (nexttoward_test_data): New variable.
19771         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19772         (pow_test_data): New variable.
19773         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19774         (pow_tonearest_test_data): New variable.
19775         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19776         (pow_towardzero_test_data): New variable.
19777         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19778         (pow_downward_test_data): New variable.
19779         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19780         (pow_upward_test_data): New variable.
19781         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19782         (remainder_test_data): New variable.
19783         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19784         (scalb_test_data): New variable.
19785         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19786         * sysdeps/i386/fpu/libm-test-ulps: Update.
19787
19788 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19789
19790         * math/libm-test.inc (fma_test): Use max_value instead of local
19791         variable fltmax.
19792         (nextafter_test): Likewise.
19793
19794         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19795         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19796         (acos_downward_test_data): New variable.
19797         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19798         (acos_upward_test_data): New variable.
19799         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19800         (acosh_test_data): New variable.
19801         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19802         (asin_test_data): New variable.
19803         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19804         (asin_tonearest_test_data): New variable.
19805         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19806         (asin_towardzero_test_data): New variable.
19807         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19808         (asin_downward_test_data): New variable.
19809         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19810         (asin_upward_test_data): New variable.
19811         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19812         (asinh_test_data): New variable.
19813         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19814         (atan_test_data): New variable.
19815         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19816         (atanh_test_data): New variable.
19817         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19818         (cbrt_test_data): New variable.
19819         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19820         (ceil_test_data): New variable.
19821         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19822         (cos_test_data): New variable.
19823         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19824         (cos_tonearest_test_data): New variable.
19825         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19826         (cos_towardzero_test_data): New variable.
19827         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19828         (cos_downward_test_data): New variable.
19829         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19830         (cos_upward_test_data): New variable.
19831         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19832         (cosh_test_data): New variable.
19833         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19834         (cosh_tonearest_test_data): New variable.
19835         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19836         (cosh_towardzero_test_data): New variable.
19837         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19838         (cosh_downward_test_data): New variable.
19839         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19840         (cosh_upward_test_data): New variable.
19841         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19842         (erf_test_data): New variable.
19843         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19844         (erfc_test_data): New variable.
19845         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19846         (exp_test_data): New variable.
19847         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19848         (exp_tonearest_test_data): New variable.
19849         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19850         (exp_towardzero_test_data): New variable.
19851         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19852         (exp_downward_test_data): New variable.
19853         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19854         (exp_upward_test_data): New variable.
19855         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19856         (exp10_test_data): New variable.
19857         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19858         (exp2_test_data): New variable.
19859         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19860         (expm1_test_data): New variable.
19861         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19862         (fabs_test_data): New variable.
19863         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19864         (floor_test_data): New variable.
19865         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19866         (j0_test_data): New variable.
19867         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19868         (j1_test_data): New variable.
19869         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19870         (log_test_data): New variable.
19871         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19872         (log10_test_data): New variable.
19873         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19874         (log1p_test_data): New variable.
19875         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19876         (log2_test_data): New variable.
19877         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19878         (logb_test_data): New variable.
19879         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19880         (logb_downward_test_data): New variable.
19881         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19882         (nearbyint_test_data): New variable.
19883         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19884         (rint_test_data): New variable.
19885         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19886         (rint_tonearest_test_data): New variable.
19887         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19888         (rint_towardzero_test_data): New variable.
19889         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19890         (rint_downward_test_data): New variable.
19891         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19892         (rint_upward_test_data): New variable.
19893         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19894         (round_test_data): New variable.
19895         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19896         (sin_test_data): New variable.
19897         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19898         (sin_tonearest_test_data): New variable.
19899         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19900         (sin_towardzero_test_data): New variable.
19901         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19902         (sin_downward_test_data): New variable.
19903         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19904         (sin_upward_test_data): New variable.
19905         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19906         (sinh_test_data): New variable.
19907         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19908         (sinh_tonearest_test_data): New variable.
19909         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19910         (sinh_towardzero_test_data): New variable.
19911         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19912         (sinh_downward_test_data): New variable.
19913         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19914         (sinh_upward_test_data): New variable.
19915         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19916         (sqrt_test_data): New variable.
19917         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19918         (tan_test_data): New variable.
19919         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19920         (tan_tonearest_test_data): New variable.
19921         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19922         (tan_towardzero_test_data): New variable.
19923         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19924         (tan_downward_test_data): New variable.
19925         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19926         (tan_upward_test_data): New variable.
19927         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19928         (tanh_test_data): New variable.
19929         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19930         (tgamma_test_data): New variable.
19931         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19932         (trunc_test_data): New variable.
19933         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19934         (y0_test_data): New variable.
19935         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19936         (y1_test_data): New variable.
19937         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19938         (significand_test_data): New variable.
19939         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19940
19941 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19942
19943         [BZ #12387]
19944         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19945
19946 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19947
19948         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19949
19950 2013-05-10  Andreas Jaeger  <aj@suse.de>
19951
19952         [BZ #15448]
19953         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19954         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19955
19956 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19957
19958         * math/gen-libm-test.pl (adjust_arg): New function.
19959         (special_functions): Handle generating output in both functions
19960         and arrays.
19961         (parse_args): Likewise.
19962         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19963         $in_func argument to parse_args.
19964         * math/libm-test.inc (struct test_f_f_data): New type.
19965         (IF_ROUND_INIT_): New macro.
19966         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19967         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19968         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19969         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19970         (ROUND_RESTORE_): Likewise.
19971         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19972         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19973         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19974         (ROUND_RESTORE_FE_UPWARD): Likewise.
19975         (RUN_TEST_LOOP_f_f): New macro.
19976         (acos_test_data): New variable.
19977         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19978         (acos_tonearest_test_data): New variable.
19979         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19980
19981 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19982
19983         * benchtests/bench-skeleton.c (startup): Fix coding style.
19984
19985 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19986
19987         [BZ #6809]
19988         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19989         negative infinity argument.
19990         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19991         negative infinity argument.
19992         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19993         negative infinity argument.
19994         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19995         domain errors.
19996
19997 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19998
19999         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20000         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20001         * iconv/iconv_prog.c (main): Likewise.
20002         * locale/programs/charmap-dir.c (charmap_readdir)
20003         (fopen_uncompressed): Likewise.
20004         * locale/programs/locfile.c (siblings_uncached)
20005         (write_locale_data): Use lstat64 instead of lstat.
20006         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20007         stat.
20008
20009 2013-05-10  Andreas Jaeger  <aj@suse.de>
20010
20011         [BZ #15395]
20012         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20013         localization.
20014         Include <locale.h>.
20015
20016 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20017
20018         * elf/dl-close.c (_dl_close_worker): Add comments.
20019
20020 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20021
20022         [BZ #15359]
20023         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20024         high part of pi/2.
20025         (__ieee754_rem_pio2l): Update comments.
20026
20027         [BZ #15429]
20028         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20029         high part of pi/2.
20030         (__ieee754_rem_pio2l): Update comments.
20031
20032         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20033         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20034
20035         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20036         M_PI_4l.
20037
20038         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20039         (M_PI_34_LOG10El): Likewise.
20040         (M_PI2_LOG10El): Likewise.
20041         (M_PI4_LOG10El): Likewise.
20042         (M_PI_LOG10El): Likewise.
20043
20044 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20045
20046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20047
20048 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20049
20050         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20051         (MINUS_ZERO_INIT): Likewise.
20052         (PLUS_INFTY_INIT): Likewise.
20053         (MINUS_INFTY_INIT): Likewise.
20054         (QNAN_VALUE_INIT): Likewise.
20055         (MAX_VALUE_INIT): Likewise.
20056         (MIN_VALUE_INIT): Likewise.
20057         (MIN_SUBNORM_VALUE_INIT): Likewise.
20058         (plus_zero): Initialize with PLUS_ZERO_INIT.
20059         (minus_zero): Initialize with MINUS_ZERO_INIT.
20060         (plus_infty): Initialize with PLUS_INFTY_INIT.
20061         (minus_infty): Initialize with MINUS_INFTY_INIT.
20062         (qnan_value): Initialize with QNAN_VALUE_INIT.
20063         (max_value): Initialize with MAX_VALUE_INIT.
20064         (min_value): Initialize with MIN_VALUE_INIT.
20065         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20066
20067         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20068         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20069         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20070         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20071
20072         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20073         (RUN_TEST_2_f): Likewise.
20074         (RUN_TEST_ff_f): Likewise.
20075         (RUN_TEST_fi_f): Likewise.
20076         (RUN_TEST_fl_f): Likewise.
20077         (RUN_TEST_fff_f): Likewise.
20078         (RUN_TEST_c_f): Likewise.
20079         (RUN_TEST_f_f1): Likewise.
20080         (RUN_TEST_fF_f1): Likewise.
20081         (RUN_TEST_fI_f1): Likewise.
20082         (RUN_TEST_ffI_f1): Likewise.
20083         (RUN_TEST_c_c): Likewise.
20084         (RUN_TEST_cc_c): Likewise.
20085         (RUN_TEST_f_i): Likewise.
20086         (RUN_TEST_f_i_tg): Likewise.
20087         (RUN_TEST_ff_i_tg): Likewise.
20088         (RUN_TEST_f_b): Likewise.
20089         (RUN_TEST_f_b_tg): Likewise.
20090         (RUN_TEST_f_l): Likewise.
20091         (RUN_TEST_f_L): Likewise.
20092         (RUN_TEST_sincos): Likewise.
20093         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20094         whether to show exceptions.  Do not include ");\n" in return
20095         value.
20096         (special_functions): Output call to RUN_TEST_sincos instead of
20097         check_float calls.  Update calls to new_test.
20098         (parse_args): Output call to single RUN_TEST_* macro instead of
20099         check_* calls and other assignments.  Update calls to new_test.
20100
20101         [BZ #2546]
20102         [BZ #2560]
20103         [BZ #5159]
20104         [BZ #15426]
20105         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20106         input to result for tgamma overflow.
20107         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20108         (gamma_coeff): New variable.
20109         (NCOEFF): New macro.
20110         (gamma_positive): New function.
20111         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20112         underflow here.  Use gamma_positive instead of exp (lgamma) for
20113         other arguments.
20114         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20115         (gamma_coeff): New variable.
20116         (NCOEFF): New macro.
20117         (gammaf_positive): New function.
20118         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20119         underflow here.  Use gamma_positive instead of exp (lgamma) for
20120         other arguments.
20121         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20122         (gamma_coeff): New variable.
20123         (NCOEFF): New macro.
20124         (gammal_positive): New function.
20125         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20126         underflow here.  Use gamma_positive instead of exp (lgamma) for
20127         other arguments.
20128         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20129         (gamma_coeff): New variable.
20130         (NCOEFF): New macro.
20131         (gammal_positive): New function.
20132         (__ieee754_gammal_r): Handle positive infinity, overflow and
20133         underflow here.  Handle NaN the same as positive infinity.  Remove
20134         check x < 0xffffffff for negative integers.  Use gamma_positive
20135         instead of exp (lgamma) for other arguments.
20136         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20137         (gamma_coeff): New variable.
20138         (NCOEFF): New macro.
20139         (gammal_positive): New function.
20140         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20141         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20142         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20143         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20144         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20145         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20146         * sysdeps/generic/math_private.h (__gamma_productf): New
20147         prototype.
20148         (__gamma_product): Likewise.
20149         (__gamma_productl): Likewise.
20150         * math/Makefile (libm-calls): Add gamma_product.
20151         * math/libm-test.inc (tgamma_test): Add more tests.
20152         * sysdeps/i386/fpu/libm-test-ulps: Update.
20153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20154
20155 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20156
20157         * benchtests/bench-skeleton.c (main): Preheat CPU.
20158
20159 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20160
20161         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20162
20163 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20164
20165         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20166         and _dl_skip_args_internal.
20167
20168 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20169
20170         * manual/message.texi (Message Translation): Talk about users.
20171         Message to key mapping impacts design.
20172
20173 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20174
20175         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20176
20177         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20178
20179         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20180         * sysdeps/wordsize-64/glob64.c: ... here.
20181
20182         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20183         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20184         New macros.
20185
20186         * debug/getlogin_r_chk.c: Moved to ...
20187         * login/getlogin_r_chk.c: ... here.
20188         * debug/Makefile (routines): Move getlogin_r_chk to ...
20189         * login/Makefile (routines): ... here.
20190         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20191         * login/Versions (libc: GLIBC_2.4): ... here.
20192
20193         * io/poll.c (__poll): Renamed from poll.
20194         Add libc_hidden_def.
20195         (poll): Define as weak alias.
20196
20197         * debug/ptsname_r_chk.c: Moved to ...
20198         * login/ptsname_r_chk.c: ... here.
20199         * debug/Makefile (routines): Move ptsname_r_chk to ...
20200         * login/Makefile (routines): ... here.
20201         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20202         * login/Versions (libc: GLIBC_2.4): ... here.
20203
20204         * posix/getlogin.c: Moved to ...
20205         * login/getlogin.c: ... here.
20206         * posix/getlogin_r.c: Moved to ...
20207         * login/getlogin_r.c: ... here.
20208         * posix/getlogin_r.c: Moved to ...
20209         * login/getlogin_r.c: ... here.
20210         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20211         * login/Makefile (routines): ... here.
20212         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20213         * login/Versions (libc: GLIBC_2.0): ... here.
20214
20215         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20216         (setrlimit): Define as weak alias.
20217
20218         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20219         Call __ names for open, ftruncate, and close.
20220         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20221         (truncate): Define as weak alias.
20222
20223 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20224
20225         * math/gen-libm-test.pl (parse_args): Initialize x before each
20226         test of frexp, modf and remquo.
20227
20228         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20229         test signgam value.
20230
20231 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20232
20233         [BZ #15418]
20234         [BZ #15419]
20235         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20236         internal tests.
20237         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20238
20239 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20240
20241         * elf/dl-writev.h: New file.
20242         * elf/dl-misc.c: Include it.
20243         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20244         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20245
20246 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20247
20248         * math/libm-test.inc (noXFails): Remove variable.
20249         (noXPasses): Likewise.
20250         (BUILD_COMPLEX_INT): Remove macro.
20251         (print_screen): Remove xfail argument.
20252         (print_screen_max_error): Likewise.
20253         (update_stats): Likewise.
20254         (print_max_error): Likewise.  Update calls to other affected
20255         functions.
20256         (print_complex_max_error): Likewise.
20257         (test_single_exception): Update calls to print_screen.
20258         (test_single_errno): Likewise.
20259         (check_float_internal): Remove xfail argument.  Update calls to
20260         other affected functions.
20261         (check_float): Likewise.
20262         (check_complex): Likewise.
20263         (check_int): Likewise.
20264         (check_long): Likewise.
20265         (check_bool): Likewise.
20266         (check_longlong): Likewise.
20267         (main): Don't print noXFails and noXPasses.
20268         * math/gen-libm-test.pl (top level): Don't mention expected
20269         failure handling in comment.
20270         (new_test): Don't handle expected failures.
20271         (parse_args): Don't mention expected failure handling in comment.
20272         (generate_testfile): Don't handle expected failures.
20273         (parse_ulps): Likewise.
20274         (print_ulps_file): Likewise.
20275         (get_failure): Remove function.
20276         (output_test): Don't handle expected failures.
20277         * make/README.libm-test: Don't mention expected failure handling.
20278
20279         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20280         (minus_zero): Likewise.
20281         (plus_infty): Likewise.
20282         (minus_infty): Likewise.
20283         (qnan_value): Likewise.
20284         (max_value): Likewise.
20285         (min_value): Likewise.
20286         (min_subnorm_value): Likewise.
20287         (initialize): Do not initialize those variables dynamically.
20288
20289 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20290
20291         * io/open.c (__open_2): Moved to ...
20292         * io/open_2.c: ... this new file.
20293         * io/open64.c (__open64_2): Moved to ...
20294         * io/open64_2.c: ... this new file.
20295         * io/openat.c (__openat_2): Moved to ...
20296         * io/openat_2.c: ... this new file.
20297         * io/openat64.c (__openat64_2): Moved to ...
20298         * io/openat64_2.c: ... this new file.
20299         * io/Makefile (routines): Add them.
20300         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20301         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20302         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20303         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20304         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20305         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20306         (__openat64): Add hidden_ver.
20307         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20308         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20309
20310         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20311         Separately conditionalize setting of GLRO(dl_sysinfo) so
20312         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20313         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20314
20315 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20316
20317         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20318         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20319         definition.
20320         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20321         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20322         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20323         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20324         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20325
20326 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20327
20328         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20329         test signgam value.
20330
20331         * math/libm-test.inc (hypot_test): Do not use
20332         IGNORE_ZERO_INF_SIGN.
20333
20334 2013-05-03  Andreas Jaeger  <aj@suse.de>
20335
20336         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20337         Linux 3.9.
20338         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20339         (PF_MAX): Adjust for VSOCK change.
20340
20341 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20342
20343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20344
20345 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20346
20347         [BZ #15264]
20348         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20349         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20350         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20351
20352 2013-05-02  David S. Miller  <davem@davemloft.net>
20353
20354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20355
20356 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20357
20358         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20359
20360 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20361
20362         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20363
20364 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20365
20366         [BZ #14952]
20367         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20368         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20369         Use __attribute__ ((__gnu_inline__)).
20370         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20371         Don't use __attribute__ ((__gnu_inline__)).
20372
20373 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20374
20375         [BZ #15423]
20376         * math/s_catan.c (__catan): Handle small real or imaginary part of
20377         input specially to avoid spurious underflow.
20378         * math/s_catanf.c (__catanf): Likewise.
20379         * math/s_catanh.c (__catanh): Likewise.
20380         * math/s_catanhf.c (__catanhf): Likewise.
20381         * math/s_catanhl.c (__catanhl): Likewise.
20382         * math/s_catanl.c (__catanl): Likewise.
20383         * math/libm-test.inc (catan_test): Add more tests.
20384         (catanh_test): Likewise.
20385         * sysdeps/i386/fpu/libm-test-ulps: Update.
20386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20387
20388 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20389
20390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20391
20392 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20393
20394         [BZ #15416]
20395         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20396         accurately for denominator in atan2.
20397         * math/s_catanf.c (__catanf): Likewise.
20398         * math/s_catanh.c (__catanh): Likewise.
20399         * math/s_catanhf.c (__catanhf): Likewise.
20400         * math/s_catanhl.c (__catanhl): Likewise.
20401         * math/s_catanl.c (__catanl): Likewise.
20402         * math/libm-test.inc (catan_test): Add more tests.
20403         (catanh_test): Likewise.
20404         * sysdeps/i386/fpu/libm-test-ulps: Update.
20405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20406
20407 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20408
20409         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20410
20411         * benchtests/Makefile (bench): Remove slow benchmarks.
20412         * benchtests/atan-inputs: Add slow benchmark inputs.
20413         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20414         (BENCH_FUNC): Accept variant offset.
20415         (VARIANT): Define.
20416         * benchtests/bench-skeleton.c (main): Run benchmark for each
20417         variant.
20418         * benchtests/cos-inputs: Add slow benchmark inputs.
20419         * benchtests/exp-inputs: Likewise.
20420         * benchtests/pow-inputs: Likewise.
20421         * benchtests/sin-inputs: Likewise.
20422         * benchtests/slowatan-inputs: Remove.
20423         * benchtests/slowatan.c: Remove.
20424         * benchtests/slowcos-inputs: Remove.
20425         * benchtests/slowcos.c: Remove.
20426         * benchtests/slowexp-inputs: Remove.
20427         * benchtests/slowexp.c: Remove.
20428         * benchtests/slowpow-inputs: Remove.
20429         * benchtests/slowpow.c: Remove.
20430         * benchtests/slowsin-inputs: Remove.
20431         * benchtests/slowsin.c: Remove.
20432         * benchtests/slowtan-inputs: Remove.
20433         * benchtests/slowtan.c: Remove.
20434         * benchtests/tan-inputs: Add slow benchmark inputs.
20435         * scripts/bench.pl: Parse comments and directives.
20436
20437         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20438         in CPPFLAGS.
20439         ($(objpfx)bench-%.c): Remove *-ITER.
20440         * benchtests/bench-modf.c: Remove definition of ITER.
20441         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20442         (main): Loop for DURATION seconds instead of fixed number of
20443         iterations.
20444         * scripts/bench.pl: Don't expect iterations in parameters.
20445
20446 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20447
20448         * io/fchdir.c (__fchdir): Renamed from fchdir.
20449         (fchdir): Define as weak alias.
20450
20451 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20452
20453         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20454         (ERRNO_EDOM): Likewise.
20455         (ERRNO_ERANGE): Likewise.
20456         (noErrnoTests): New variable.
20457         (init_max_error): Set errno to 0.
20458         (test_single_errno): New function.
20459         (test_errno): Likewise.
20460         (check_float_internal): Call test_errno.  Set errno to 0.
20461         (check_complex): Refer to errno tests in comment.
20462         (check_int): Call test_errno.  Set errno to 0.
20463         (check_long): Likewise.
20464         (check_bool): Likewise.
20465         (check_longlong): Likewise.
20466         (cos_test): Use ERRNO_* flags for errno tests instead of
20467         check_int.
20468         (expm1_test): Likewise.
20469         (fmod_test): Likewise.
20470         (ilogb_test): Likewise.
20471         (lgamma_test): Likewise.
20472         (pow_test): Likewise.
20473         (remainder_test): Likewise.
20474         (sin_test): Likewise.
20475         (tan_test): Likewise.
20476         (yn_test): Likewise.
20477         (initialize): Set errno to 0.
20478         (main): Print number of errno tests.
20479         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20480
20481 2013-04-29  Andreas Jaeger  <aj@suse.de>
20482
20483         [BZ #15084]
20484         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20485         and RES_USEVC.
20486
20487         [BZ #15085]
20488         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20489         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20490         unimplemented.
20491
20492         [BZ #15380]
20493         * stdlib/random.c (__initstate): Return NULL if
20494         __initstate fails.
20495
20496         [BZ #15086]
20497         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20498         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20499         RES_SNGLKUPREOP.
20500
20501 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20502
20503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20504
20505 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20506
20507         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20508         of individual tests.
20509         (casin_test): Likewise.
20510         (casinh_test): Likewise.
20511
20512 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20513
20514         [BZ #15409]
20515         * math/s_catan.c (__catan): Handle arguments with large real or
20516         imaginary part separately without squaring.
20517         * math/s_catanf.c (__catanf): Likewise.
20518         * math/s_catanh.c (__catanh): Likewise.
20519         * math/s_catanhf.c (__catanhf): Likewise.
20520         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20521         and redefine.
20522         (__catanhl): Handle arguments with large real or imaginary part
20523         separately without squaring.
20524         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20525         and redefine.
20526         (__catanl): Handle arguments with large real or imaginary part
20527         separately without squaring.
20528         * math/libm-test.inc (catan_test): Add more tests.
20529         (catanh_test): Likewise.
20530         * sysdeps/i386/fpu/libm-test-ulps: Update.
20531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20532
20533 2013-04-27  Andreas Jaeger  <aj@suse.de>
20534
20535         [BZ #15007]
20536         * stdlib/stdlib.h: Update guards for qecvt.
20537         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20538         <stdlib.h>.
20539
20540 2013-04-27  Allan McRae  <allan@archlinux.org>
20541
20542         * sysdeps/i386/fpu/libm-test-ulps: Update.
20543
20544 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20545
20546         [BZ #15406]
20547         * math/s_catan.c: Include <float.h>.
20548         (__catan): Ensure underflow exception occurs for underflowed
20549         result.
20550         * math/s_catanf.c: Include <float.h>.
20551         (__catanf): Ensure underflow exception occurs for underflowed
20552         result.
20553         * math/s_catanh.c: Include <float.h>.
20554         (__catanh): Ensure underflow exception occurs for underflowed
20555         result.
20556         * math/s_catanhf.c: Include <float.h>.
20557         (__catanhf): Ensure underflow exception occurs for underflowed
20558         result.
20559         * math/s_catanhl.c: Include <float.h>.
20560         (__catanhl): Ensure underflow exception occurs for underflowed
20561         result.
20562         * math/s_catanl.c: Include <float.h>.
20563         (__catanl): Ensure underflow exception occurs for underflowed
20564         result.
20565         * math/libm-test.inc (catan_test): Add more tests.
20566         (catanh_test): Likewise.
20567
20568         [BZ #15405]
20569         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20570         underflowed result.
20571         * math/s_ccoshf.c (__ccoshf): Likewise.
20572         * math/s_ccoshl.c (__ccoshl): Likewise.
20573         * math/s_csin.c (__csin): Likewise.
20574         * math/s_csinf.c (__csinf): Likewise.
20575         * math/s_csinh.c (__csinh): Likewise.
20576         * math/s_csinhf.c (__csinhf): Likewise.
20577         * math/s_csinhl.c (__csinhl): Likewise.
20578         * math/s_csinl.c (__csinl): Likewise.
20579         * math/libm-test.inc (ccos_test): Add more tests.
20580         (ccosh_test): Likewise.
20581         (csin_test): Likewise.
20582         (csinh_test): Likewise.
20583
20584 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20585
20586         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20587         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20588         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20589         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20590         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20591         powerpc/power5+/fpu folders.
20592         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20593
20594
20595 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20596
20597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20598
20599 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20600
20601         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20602         additions to variable.
20603         [$(config-machine) = x86_64] (modules-names): Likewise.
20604         ($(objpfx)tst-audit3): Remove dependency.
20605         ($(objpfx)tst-audit3.out): Likewise.
20606         ($(objpfx)tst-audit4): Likewise.
20607         ($(objpfx)tst-audit4.out): Likewise.
20608         ($(objpfx)tst-audit5): Likewise.
20609         ($(objpfx)tst-audit5.out): Likewise.
20610         ($(objpfx)tst-audit6): Likewise.
20611         ($(objpfx)tst-audit6.out): Likewise.
20612         ($(objpfx)tst-audit7): Likewise.
20613         ($(objpfx)tst-audit7.out): Likewise.
20614         (tst-audit3-ENV): Remove variable.
20615         (tst-audit4-ENV): Likewise.
20616         (tst-audit5-ENV): Likewise.
20617         (tst-audit6-ENV): Likewise.
20618         (tst-audit7-ENV): Likewise.
20619         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20620         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20621         addition to variable.
20622         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20623         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20624         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20625         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20626         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20627         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20628         tst-audit3, tst-audit4 and tst-audit5.
20629         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20630         tst-audit6 and tst-audit7.
20631         [$(subdir) = elf] (modules-names): Add audit modules for those
20632         tests.
20633         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20634         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20635         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20636         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20637         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20638         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20639         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20640         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20641         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20642         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20643         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20644         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20645         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20646         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20647         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20648         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20649         Likewise.
20650         [$(subdir) = elf && $(config-cflags-avx) = yes]
20651         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20652         [$(subdir) = elf && $(config-cflags-avx) = yes]
20653         (CFLAGS-tst-auditmod4a.c): Likewise.
20654         [$(subdir) = elf && $(config-cflags-avx) = yes]
20655         (CFLAGS-tst-auditmod4b.c): Likewise.
20656         [$(subdir) = elf && $(config-cflags-avx) = yes]
20657         (CFLAGS-tst-auditmod6b.c): Likewise.
20658         [$(subdir) = elf && $(config-cflags-avx) = yes]
20659         (CFLAGS-tst-auditmod6c.c): Likewise.
20660         [$(subdir) = elf && $(config-cflags-avx) = yes]
20661         (CFLAGS-tst-auditmod7b.c): Likewise.
20662         * elf/tst-audit3.c: Move to ...
20663         * sysdeps/x86_64/tst-audit3.c: ... here.
20664         * elf/tst-audit4.c: Move to ...
20665         * sysdeps/x86_64/tst-audit4.c: ... here.
20666         * elf/tst-audit5.c: Move to ...
20667         * sysdeps/x86_64/tst-audit5.c: ... here.
20668         * elf/tst-audit6.c: Move to ...
20669         * sysdeps/x86_64/tst-audit6.c: ... here.
20670         * elf/tst-audit7.c: Move to ...
20671         * sysdeps/x86_64/tst-audit7.c: ... here.
20672         * elf/tst-auditmod3a.c: Move to ...
20673         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20674         * elf/tst-auditmod3b.c: Move to ...
20675         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20676         * elf/tst-auditmod4a.c: Move to ...
20677         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20678         * elf/tst-auditmod4b.c: Move to ...
20679         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20680         * elf/tst-auditmod5a.c: Move to ...
20681         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20682         * elf/tst-auditmod5b.c: Move to ...
20683         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20684         * elf/tst-auditmod6a.c: Move to ...
20685         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20686         * elf/tst-auditmod6b.c: Move to ...
20687         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20688         * elf/tst-auditmod6c.c: Move to ...
20689         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20690         * elf/tst-auditmod7a.c: Move to ...
20691         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20692         * elf/tst-auditmod7b.c: Move to ...
20693         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20694
20695 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20696
20697         [BZ #15366]
20698         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20699         define unconditionally.
20700         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20701         define unconditionally.
20702         (INT8_C, INT16_C, etc.): Likewise.
20703
20704 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20705
20706         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20707         __ehdr_start with hidden visibility.
20708
20709         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20710
20711 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20712
20713         * math/libm-test.inc (cos_test): Use accurate hex constants.
20714         (sincost_test): Likewise.
20715
20716 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20717
20718         * math/libm-test.inc (catan_test): Add more tests.
20719         (catanh_test): Likewise.
20720
20721         * math/s_catanf.c (__catanf): Use suffixed floating-point
20722         constants.
20723         * math/s_catanhf.c (__catanhf): Likewise.
20724         * math/s_catanhl.c (__catanhl): Likewise.
20725         * math/s_catanl.c (__catanl): Likewise.
20726
20727         [BZ #15394]
20728         * math/s_catan.c (__catan): Calculate imaginary part of result
20729         with log1p not log unless computing log of number close to 0.
20730         * math/s_catanf.c (__catanf): Likewise.
20731         * math/s_catanl.c (__catanl): Likewise.
20732         * math/s_catanh.c (__catanh): Calculate real part of result with
20733         log1p not log unless computing log of number close to 0.
20734         * math/s_catanhf.c (__catanhf): Likewise.
20735         * math/s_catanhl.c (__catanhl): Likewise.
20736         * math/libm-test.inc (catan_test): Add more tests.
20737         (catanh_test): Likewise.
20738         * sysdeps/i386/fpu/libm-test-ulps: Update.
20739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20740
20741 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20742
20743         * benchtests/Makefile: Mention files in which fast and slow
20744         paths of math functions are implemented.
20745
20746 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20747
20748         * sysdeps/posix/timespec_get.c: New file.
20749
20750 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20751
20752         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20753         POWER.
20754         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20755         for POWER.
20756         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20757         powerpc/power5/fpu folders.
20758         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20759         * benchtests/Makefile: Add modf testcase.
20760         * benchtests/bench-modf.c: New file: Benchmark test for mo
20761
20762 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20763
20764         [BZ #14888]
20765         * time/Makefile (tests): Add tst-strptime-whitespace.
20766         * time/strptime_l.c (get_number): Use ISSPACE.
20767         (__strptime_internal): Likewise.
20768         * time/tst-strptime-whitespace.c: New test case.
20769
20770 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20771
20772         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20773         member.
20774         (_nss_files_init): Set it here.
20775
20776 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20777
20778         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20779         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20780         unsigned.
20781
20782 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20783
20784         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20785
20786 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20787
20788         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20789         size just once.
20790
20791 2013-04-21  David S. Miller  <davem@davemloft.net>
20792
20793         * po/ru.po: Update Russion translation from translation project.
20794
20795 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20796
20797         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20798         and setfsgid.
20799
20800 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20801
20802         * configure.in: Remove i386 configure warning. Remove i386 case.
20803         * configure: Regenerate.
20804         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20805         Add example to error message.
20806         * sysdeps/i386/configure: Regenerate.
20807
20808 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20809
20810         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20811         slowtan.
20812         * benchtests/cos-inputs: New file.
20813         * benchtests/slowcos-inputs: New file.
20814         * benchtests/slowcos.c: New file.
20815         * benchtests/slowtan-inputs: New file.
20816         * benchtests/slowtan.c: New file.
20817         * benchtests/tan-inputs: New file.
20818
20819 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20820
20821         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20822         considered kosher.
20823
20824 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20825
20826         * benchtests/Makefile: Include cppflags-iterator.mk to add
20827         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20828
20829         * Makefile.in (bench-clean): New target.
20830         * benchtests/Makefile (bench-clean): Likewise.
20831
20832 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20833
20834         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20835
20836 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20837
20838         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20839
20840 2013-04-15  Andreas Schwab  <schwab@suse.de>
20841
20842         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20843         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20844         * nscd/pwdcache.c (cache_addpw): Likewise.
20845         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20846         more than recsize.
20847
20848 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20849
20850         * benchtests/Makefile (bench): Write all output to
20851         bench-out.tmp together.
20852
20853 2013-04-15  Andreas Schwab  <schwab@suse.de>
20854
20855         * nscd/nscd.c (main): Don't fork again after closing files.
20856
20857 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20858
20859         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20860
20861         * benchtests/Rules (bench-deps): Collect dependencies into a
20862         single variable.  Add Makefile to dependencies.
20863         ($(objpfx)bench-%.c): Depend on bench-deps.
20864
20865 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20866             Xavier Roche  <roche+kml2@exalead.com>
20867
20868         [BZ #15361]
20869         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20870         just that it's a file descriptor.
20871         * manual/llio.texi (Synchronizing AIO Operations): Update description
20872         for EBADF error from aio_fsync.
20873
20874 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20875
20876         * Rules (bench): Move target definition...
20877         * benchtests/Makefile: ... here.
20878
20879 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20880
20881         * math/libm-test.inc (cos_test): Fix PI/2 test.
20882         (sincos_test): Likewise.
20883         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20884         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20885
20886 2013-04-11  Andreas Schwab  <schwab@suse.de>
20887
20888         [BZ #13988]
20889         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20890         accept exponent character only when digits were seen.
20891         * stdio-common/Makefile (tests): Add bug26.
20892         * stdio-common/bug26.c: New file.
20893
20894         [BZ #14293]
20895         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20896         non-freeable.
20897
20898 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20899
20900         * Makeconfig (rtld-prefix): Define built linker prefix.
20901         * Rules (run-bench): Use it.
20902         * math/Makefile (run-regen-ulps): Likewise.
20903
20904         * Rules (bench): Remove eval.
20905
20906 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20907             Roland McGrath  <roland@hack.frob.com>
20908             Ondrej Bilka  <neleai@seznam.cz>
20909
20910         [BZ #15346]
20911         * time/getdate.c: Include ctype.h and alloca.h.
20912         (__getdate_r): Trim leading and trailing spaces of input.
20913         * time/tst-getdate.c (tests): Add tests with leading and
20914         trailing spaces.
20915
20916 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20917
20918         [BZ #14280]
20919         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20920         when computing value.
20921
20922 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20923
20924         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20925         Use testrun.sh to run libm tests.
20926
20927         [BZ #15309]
20928         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20929
20930 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20931
20932         [BZ #15264]
20933         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20934
20935 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20936
20937         * Makefile.in (regen-ulps): New target.
20938         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20939         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20940         [ifneq (no,$(PERL)] (regen-ulps): New target.
20941         [ifeq (no,$(PERL)] (regen-ulps): New target.
20942         * math/libm-test.inc (ulps_file_name): Define.
20943         (output_dir): New variable.
20944         (options): Add "output-dir" option.
20945         (parse_opt): Handle 'o' case.
20946         (main): If output_dir is non-NULL use it as a prefix
20947         otherwise use "".
20948         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20949
20950 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20951
20952         [BZ #10060, #10062]
20953         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20954         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20955         fail configure if __sync_val_compare_and_swap is not inlined.
20956         * sysdeps/i386/configure: Regenerate.
20957         * configure.in: Build for i686 when configured for i386.
20958         * configure: Regenerate.
20959         * README: Remove i386 reference.
20960
20961 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20962
20963         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20964         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20965
20966 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20967
20968         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20969         (lmsnanval): New variables.
20970         (F): Add conversion tests.
20971         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20972         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20973
20974         * stdio-common/tstdiomisc.c (F): Properly collect individual
20975         tests' results.
20976
20977         [BZ #14686, #15336]
20978         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20979         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20980         Instead, use input NaN values or generate a qNaN by arithmetic
20981         operation.  Also fix bugs to comply with the standard.
20982         * math/libm-test.inc (remainder_test): Add more tests.
20983
20984         [BZ #15335, #15342]
20985         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20987         input NaN values or generate a qNaN by arithmetic operation.
20988
20989         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20990         unreachable code.
20991
20992         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20993         definitions.
20994
20995 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20996
20997         [BZ #14478]
20998         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20999         underflowed result.
21000         * math/s_cexpf.c (__cexpf): Likewise.
21001         * math/s_cexpl.c (__cexpl): Likewise.
21002         * math/libm-test.inc (cexp_test): Add more tests.
21003
21004 2013-04-03  Andreas Schwab  <schwab@suse.de>
21005
21006         [BZ #15330]
21007         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21008         order arrays from heap if bigger than alloca cutoff.
21009
21010 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21011
21012         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21013         (SNAN_TESTS_double): Refer to GCC PR56831.
21014         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21015         GCC PR56828.
21016
21017 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21018
21019         * Rules (bench): Move bench.out after the run is complete.
21020
21021         * Rules (bench): Echo currently running benchmark.
21022
21023         * benchtests/Makefile (bench): Add atan and slowatan.
21024         * benchtests/atan-inputs: New file.
21025         * benchtests/slowatan-inputs: New file.
21026         * benchtests/slowatan.c: New file.
21027
21028         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21029         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21030         its value.
21031
21032         [BZ #15305]
21033         * sysdeps/unix/sysv/linux/kernel-features.h
21034         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21035         __ASSUME_XFS_RESTRICTED_CHOWN.
21036         * sysdeps/unix/sysv/linux/pathconf.c
21037         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21038         Save and restore errno.
21039
21040 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21041
21042         [BZ #15327]
21043         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21044         arguments using __kernel_casinh.
21045         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21046         arguments using __kernel_casinhf.
21047         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21048         arguments using __kernel_casinhl.
21049         * math/libm-test.inc (cacosh_test): Add more tests.
21050         * sysdeps/i386/fpu/libm-test-ulps: Update.
21051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21052
21053 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21054
21055         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21056         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21057
21058         * bench/Makefile (bench): Add sin and slowsin.
21059         * benchtests/sin-inputs: New file.
21060         * benchtests/slowsin-inputs: New file.
21061         * benchtests/slowsin.c: New file.
21062
21063         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21064         (bench): Add slowexp and slowpow.
21065         (exp-ITER): Increase iterations.
21066         (pow-ITER): Likewise.
21067         * benchtests/exp-inputs: Change input.
21068         * benchtests/pow-inputs: Likewise.
21069         * benchtests/slowexp-inputs: New file.
21070         * benchtests/slowexp.c: New file.
21071         * benchtests/slowpow-inputs: New file.
21072         * benchtests/slowpow.c: New file.
21073
21074 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21075
21076         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21077         instructions.
21078         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21079         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21080         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21081         * benchtests/Makefile: Add rint benchtest.
21082         * benchtests/rint-inputs: Input for rint benchtest.
21083
21084 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21085
21086         * Versions.def (libm): Add GLIBC_2.18.
21087         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21088         hidden libm prototypes.
21089         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21090         * math/Makefile (libm-calls): Add s_issignaling.
21091         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21092         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21093         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21094         declaration.
21095         * math/math.h [__USE_GNU] (issignaling): New macro.
21096         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21097         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21098         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21099         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21100         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21101         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21102         * manual/arith.texi (issignaling): New section.
21103         * manual/libm-err-tab.pl (@all_functions): Update comment.
21104         * math/gen-libm-test.pl (parse_args): Apply special handling for
21105         issignaling.
21106         * math/libm-test.inc (print_float, issignaling_test): New
21107         functions.
21108         (check_float_internal): Add issignaling checks.
21109         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21110         default definition.
21111         * sysdeps/powerpc/math-tests.h: New file.
21112         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21113         tests.
21114         * math/test-snan.c (TEST_FUNC): Likewise.
21115
21116 2013-03-30  David S. Miller  <davem@davemloft.net>
21117
21118         * po/de.po: Update from translation team.
21119
21120 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21121
21122         [BZ #10357]
21123         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21124         imaginary part less than 1.0 and real part less than 0.5
21125         specially.
21126         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21127         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21128         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21129         (cacos_test): Add more tests.
21130         (casin_test): Likewise.
21131         (casinh_test): Likewise.
21132         * sysdeps/i386/fpu/libm-test-ulps: Update.
21133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21134
21135 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21136
21137         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21138         ONE with its value.
21139
21140         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21141         (__pow_mp): Replace ONE and MONE with their values.
21142         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21144         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21145         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21146         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21147         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21148
21149         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21150
21151         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21152         (__pow_mp): Replace ZERO and MZERO with their values.
21153         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21154         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21155         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21156         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21157         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21158         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21159         (__sqr): Likewise.
21160
21161         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21162
21163         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21164
21165 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21166
21167         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21168         Declare with __attribute__ ((weak)).
21169         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21170         Call __call_tls_dtors only if it's not NULL.
21171
21172 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21173
21174         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21175         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21176         magic __ehdr_start linker symbol if it's defined.
21177         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21178         them up here if it was already done.
21179
21180         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21181         (_dl_aux_init): Use const in cast when setting it.
21182         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21183         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21184         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21185
21186         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21187         Declare them here.
21188         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21189         * csu/libc-tls.c: Nor here.
21190         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21191
21192         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21193         (__libc_message): Never call vsyslog.
21194
21195 2013-03-28  Alan Modra  <amodra@gmail.com>
21196
21197         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21198         Define as empty.
21199         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21200         Likewise.
21201
21202 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21203
21204         [BZ #15214]
21205         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21206         underflow.
21207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21208
21209 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21210
21211         [BZ #15304]
21212         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21213         Don't add gid passed as argument.
21214
21215         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21216
21217 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21218
21219         [BZ #15307]
21220         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21221         imaginary part between 1.0 and 1.5 and real part less than 0.5
21222         specially.
21223         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21224         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21225         * math/libm-test.inc (cacos_test): Add more tests.
21226         (casin_test): Likewise.
21227         (casinh_test): Likewise.
21228         * sysdeps/i386/fpu/libm-test-ulps: Update.
21229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21230
21231 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21232
21233         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21234         constants.
21235         (norm): Likewise.
21236         (denorm): Likewise.
21237         (__dbl_mp): Likewise.
21238         (add_magnitudes): Likewise.
21239         (sub_magnitudes): Likewise.
21240         (__add): Likewise.
21241         (__sub): Likewise.
21242         (__mul): Likewise.
21243         (__sqr): Likewise.
21244         (__inv): Likewise.
21245         (__dvd): Likewise.
21246
21247         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21248         commented code.
21249         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21250         (__dubcos): Likewise.
21251         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21252         (__ieee754_acos): Likewise.
21253         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21254         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21255         (__exp1): Likewise.
21256         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21257         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21258         (log1): Likewise.
21259         (my_log2): Likewise.
21260         (checkint): Likewise.
21261         * sysdeps/ieee754/dbl-64/e_remainder.c
21262         (__ieee754_remainder): Likewise.
21263         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21264         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21265         (bsloww): Likewise.
21266         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21267
21268         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21269         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21270         MANTISSA_STORE_T to store computations on mantissa.  Use
21271         macros for rounding and division.
21272         (denorm): Likewise.
21273         (__dbl_mp): Likewise.
21274         (add_magnitudes): Likewise.
21275         (sub_magnitudes): Likewise.
21276         (__mul): Likewise.
21277         (__sqr): Likewise.
21278         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21279         powers of two in terms of TWOPOW macro.
21280         (mp_no): Make type of mantissa as MANTISSA_T.
21281         [!RADIXI]: Define RADIXI.
21282         [!TWO52]: Define TWO52.
21283         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21284
21285 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21286
21287         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21288         llroundl symbol when building for PPC32.
21289
21290 2013-03-24  Mark H Weaver  <mhw@netris.org>
21291
21292         * manual/arith.texi (Normalization Functions): Fix prototypes for
21293         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21294
21295 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21296
21297         [BZ #13889]
21298         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21299         high value to check if expl overflow.
21300         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21301         to check for underflow and overflow.
21302         * math/libm-test.inc: Add exp test.
21303
21304 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21305
21306         [BZ #11120]
21307         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21308         with NOT_IN_libc.
21309
21310 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21311
21312         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21313         symbol.
21314
21315 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21316
21317         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21318         wrap blocks consisting of several statements.
21319
21320         * sysdeps/generic/math-tests.h: New file.
21321         * sysdeps/i386/fpu/math-tests.h: Likewise.
21322         * math/test-snan.c: Include it.
21323         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21324
21325 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21326
21327         [BZ #15285]
21328         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21329         (__ieee754_j0l): Do not improve calculations using cos of twice
21330         input for inputs above LDBL_MAX / 2.0L.
21331         (__ieee754_y0l): Likewise.
21332         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21333         (__ieee754_j1l): Do not improve calculations using cos of twice
21334         input for inputs above LDBL_MAX / 2.0L.
21335         (__ieee754_y1l): Likewise.
21336         * math/libm-test.inc (j0_test): Add another test.
21337         (j1_test): Likewise.
21338         (y0_test): Likewise.
21339         (y1_test): Likewise.
21340         * sysdeps/i386/fpu/libm-test-ulps: Update.
21341
21342 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21343
21344         * Rules ($(objpfx)bench-%.c): Include code from a C source
21345         file.
21346
21347 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21348
21349         [BZ #15287]
21350         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21351         imaginary part 1.0 and real part less than 0.5 specially.
21352         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21353         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21354         * math/libm-test.inc (cacos_test): Add more tests.
21355         (casin_test): Likewise.
21356         (casinh_test): Likewise.
21357         * sysdeps/i386/fpu/libm-test-ulps: Update.
21358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21359
21360 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21361
21362         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21363         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21364
21365 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21366
21367         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21368         * config.make.in (config-cflags-sse4): Remove variable.
21369         (config-cflags-avx): Likewise.
21370         (config-cflags-sse2avx): Likewise.
21371         (config-cflags-novzeroupper): Likewise.
21372         (config-asflags-i686): Likewise.
21373         (have-mfma4): Likewise.
21374         (have-as-vis3): Likewise.
21375         (MIG): Likewise.
21376         * configure.in (MIG): Do not AC_SUBST.
21377         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21378         (libc_cv_cc_sse4): Do not AC_SUBST.
21379         (libc_cv_cc_avx): Likewise.
21380         (libc_cv_cc_sse2avx): Likewise.
21381         (libc_cv_cc_novzeroupper): Likewise.
21382         (libc_cv_cc_fma4): Likewise.
21383         (libc_cv_as_i686): Likewise.
21384         (libc_cv_sparc_as_vis3): Likewise.
21385         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21386         LIBC_CONFIG_VAR.
21387         (config-asflags-i686): Likewise.
21388         (config-cflags-avx): Likewise.
21389         (config-cflags-sse2avx): Likewise.
21390         (have-mfma4): Likewise.
21391         (config-cflags-novzeroupper): Likewise.
21392         * sysdeps/mach/configure.in (MIG): Likewise.
21393         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21394         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21395         LIBC_CONFIG_VAR.
21396         (config-cflags-avx): Likewise.
21397         (config-cflags-sse2avx): Likewise.
21398         (have-mfma4): Likewise.
21399         (config-cflags-novzeroupper): Likewise.
21400         * configure: Regenerated.
21401         * sysdeps/i386/configure: Likewise.
21402         * sysdeps/mach/configure: Likewise.
21403         * sysdeps/sparc/configure: Likewise.
21404         * sysdeps/x86_64/configure: Likewise.
21405
21406 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21407
21408         [BZ #14812]
21409         * locale/programs/localedef.c (options): Put N_ translation marker
21410         on argument names, not just descriptions.
21411
21412 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21413
21414         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21415
21416 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21417
21418         [BZ #14176]
21419         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21420
21421 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21422
21423         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21424         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21425         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21426         [!BEFORE_ABORT] (before_abort): New function.
21427         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21428         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21429         (writev_for_fatal): New function.
21430         (WRITEV_FOR_FATAL): New macro; call that.
21431         (backtrace_and_maps): New function.
21432         (BEFORE_ABORT): New macro; call that.
21433         (struct str_list): Type removed.
21434         (__libc_message, __libc_fatal): Functions removed.
21435         Include <sysdeps/posix/libc_fatal.c> instead.
21436
21437 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21438
21439         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21440         constants.
21441         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21442         double constants.
21443
21444 2013-03-19  Andreas Schwab  <schwab@suse.de>
21445
21446         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21447         * sysdeps/gnu/configure: Regenerate.
21448
21449         * configure.in: Substitute libc_cv_rtlddir.
21450         * configure: Regenerate.
21451         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21452         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21453         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21454         * elf/Makefile (install-others, CFLAGS-interp.c)
21455         (ldso_install, common-ldd-rewrite): Likewise.
21456         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21457         $(inst_slibdir)/$(rtld-installed-name).
21458         * scripts/rellns-sh: Add -p option.
21459         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21460         for source.
21461
21462 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21463
21464         * manual/nptl.texi: Renamed to ...
21465         * manual/threads.texi: ... this.
21466         * manual/Makefile (chapters): Update.
21467
21468 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21469
21470         [BZ #14812]
21471         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21472         on argument names, not just descriptions.
21473         * malloc/memusagestat.c (options): Likewise.
21474         * nss/getent.c (options): Likewise.
21475
21476 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21477
21478         [BZ #14812]
21479         * iconv/iconv_prog.c (options): Put N_ translation marker
21480         on argument names, not just descriptions.
21481         * iconv/iconvconfig.c (options): Likewise.
21482
21483 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21484
21485         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21486         implementation which is faster on all x86_64 architectures.
21487         Tested on AMD, Intel Nehalem, SNB, IVB.
21488         * sysdeps/x86_64/strnlen.S: Likewise.
21489
21490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21491         Remove all multiarch strlen and strnlen versions.
21492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21493         Remove strlen and strnlen related parts.
21494
21495         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21496         Inline strlen part.
21497         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21498
21499         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21500         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21501         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21502         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21503         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21504         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21505
21506 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21507
21508         * manual/memory.texi (Malloc Tunable Parameters):
21509         Sort parameters alphabetically. Add comments for missing entries.
21510
21511 2013-03-17  David S. Miller  <davem@davemloft.net>
21512
21513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21514
21515 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21516
21517         [BZ #15283]
21518         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21519         for arguments at most half maximum finite value.
21520         * math/libm-test.inc (j0_test): Add more tests.
21521         (j1_test): Likewise.
21522         (y0_test): Likewise.
21523         (y1_test): Likewise.
21524         * sysdeps/i386/fpu/libm-test-ulps: Update.
21525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21526
21527         [BZ #14155]
21528         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21529         1 / x and functions P and Q for arguments above 0x1p256L.
21530         (__ieee754_y0l): Likewise.
21531         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21532         (__ieee754_y1l): Likewise.
21533         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21534         (j1_test): Likewise.
21535         (y0_test): Likewise.
21536         (y1_test): Likewise.
21537
21538 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21539
21540         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21541         variable.
21542
21543 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21544
21545         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21546         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21547         zero since it's initialized to EXEC_PAGESIZE.
21548
21549         * sysdeps/unix/sysv/linux/ldsodefs.h
21550         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21551         * sysdeps/generic/ldsodefs.h: ... here.
21552
21553 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21554
21555         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21556
21557         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21558         math/test-snan.c.
21559         * math/test-snan.c: Renamed from
21560         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21561         * math/Makefile (tests): Add test-snan.
21562         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21563         test-powerpc-snan.
21564
21565         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21566         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21567         functions.
21568         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21569         __builtin_nan family of functions.
21570         * math/libm-test.inc (initialize): Initialize qnan_value with
21571         __builtin_nan family of functions.
21572         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21573         Remove variables.
21574         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21575         Remove functions.
21576         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21577         storage class.  Initialize qNaN_var and sNaN_var with
21578         __builtin_nan and __builtin_nans families of functions,
21579         respectively.
21580
21581         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21582         (sqrt_test): Remove duplicate test with qNaN input.
21583         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21584         (round_test, signbit_test, significand_test): Note missing +/-Inf
21585         as well as qNaN tests.
21586
21587         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21588         qNaN_var.  Fix a few strings, too.
21589         * math/libm-test.inc (nan_value): Rename to qnan_value.
21590         * math/gen-libm-test.pl (%beautify): Adjust to that.
21591         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21592         * math/test-misc.c (main): Likewise.
21593         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21594         to __qnan_bytes, and __qnan_union, respectively.
21595         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21596         Likewise.
21597         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21598         and lqnanval, respectively.
21599         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21600         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21601         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21602         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21603
21604         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21605         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21606         doubles.
21607
21608         * math/test-misc.c (main): Fix copy'n'pastos.
21609         * misc/tst-efgcvt.c (special): Likewise.
21610
21611         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21612         Remove declarations.
21613
21614 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21615
21616         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21617         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21618         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21619         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21620
21621 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21622
21623         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21624         macro to return vdso values correctly in IFUNC implementations.
21625         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21626         Optimization by using IFUNC.
21627
21628 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21629             Richard Henderson  <rth@redhat.com>
21630             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21631
21632         * Makefile.in (bench): New target.
21633         * NEWS: Mention the benchmark framework.
21634         * Rules (bench): Likewise.
21635         (binaries-bench): Generate binaries for functions to
21636         benchmark.
21637         * benchtests/Makefile: New makefile for benchmark tests.
21638         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21639         programs.
21640         * benchtests/exp-inputs: New input file for EXP function.
21641         * benchtests/pow-inputs: New input file for POW function.
21642         * scripts/bench.pl: New script to generate source files for
21643         benchmark programs.
21644
21645 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21646
21647         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21648         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21649         computations on mantissa.  Use macros for rounding and
21650         division.
21651         (denorm): Likewise.
21652         (__dbl_mp): Likewise.
21653         (add_magnitudes): Likewise.
21654         (sub_magnitudes): Likewise.
21655         (__mul): Likewise.
21656         (__sqr): Likewise.
21657         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21658         powers of two in terms of TWOPOW macro.
21659         (mp_no): Make type of mantissa as MANTISSA_T.
21660         [!RADIXI]: Define RADIXI.
21661         [!TWO52]: Define TWO52.
21662         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21663
21664         * manual/nptl.texi (cindex): Modify threads to pthreads.
21665
21666 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21667
21668         * sysdeps/x86_64/preconfigure: Regenerated.
21669
21670 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21671
21672         [BZ #14155]
21673         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21674         0x1p28 and above.
21675         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21676         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21677         0x1p28 and above.
21678         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21679         * math/libm-test.inc (j0_test): Do not allow one spurious
21680         underflow exception.
21681         (y1_test): Likewise.
21682
21683 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21684
21685         * manual/Makefile (chapters): Add nptl.
21686         * manual/debug.texi (Debugging Support): Add link to Threads
21687         chapter.
21688         * manual/nptl.texi: New file.
21689
21690         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21691
21692 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21693
21694         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21695         for non-NULL pointer before the memory validity test. Pointed
21696         out by Holger Brunck <holger.brunck@keymile.com>.
21697
21698 2013-03-13  Andreas Schwab  <schwab@suse.de>
21699
21700         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21701         instead of .os.
21702
21703 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21704
21705         * timezone/zic.c: Update from tzcode 2013b.
21706
21707 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21708
21709         * manual/install.texi (Configuring and compiling):
21710         Mention i686 and i586.
21711         * INSTALL: Regenerate.
21712
21713 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21714
21715         * sysdeps/init_array/elf-init.c: New file.
21716         * csu/elf-init.c
21717         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21718         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21719
21720         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21721         __gmon_start__ as global, but as static with a .preinit_array pointer.
21722         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21723         * sysdeps/init_array/crti.S: New file, empty except for comments.
21724         * sysdeps/init_array/crtn.S: Likewise.
21725
21726 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21727
21728         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21729         definining bcopy.
21730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21731         Remove Prefer_SSE_for_memop.
21732         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21733         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21734         HAS_PREFER_SSE_FOR_MEMOP.
21735         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21736         memset-x86-64.
21737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21738         Remove bzero, memset ifunc support.
21739         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21740         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21741         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21742         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21743
21744 2013-03-11  Andreas Schwab  <schwab@suse.de>
21745
21746         [BZ #15234]
21747         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21748         by SHLIB_COMPAT.
21749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21750         (GLIBC_2.16): Remove pthread_atfork.
21751
21752 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21753
21754         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21755         (ptestcases.h): Likewise.
21756
21757 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21758
21759         * Makeconfig ($(common-objpfx)config.status): Depend on
21760         sysdeps/*/preconfigure{,.in} too.
21761
21762 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21763
21764         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21765         (__free_hook): Use void * instead of __malloc_ptr_t.
21766         (__malloc_hook): Likewise.
21767         (__realloc_hook): Likewise.
21768         (__memalign_hook): Likewise.
21769         (__after_morecore_hook): Likewise.
21770         * malloc/arena.c (save_malloc_hook): Likewise.
21771         (save_free_hook): Likewise.
21772         * malloc/hooks.c (malloc_hook_ini): Likewise.
21773         (realloc_hook_ini): Likewise.
21774         (memalign_hook_ini): Likewise.
21775         * malloc/malloc.c (malloc_hook_ini): Likewise.
21776         (realloc_hook_ini): Likewise.
21777         (memalign_hook_ini): Likewise.
21778         (__free_hook): Likewise.
21779         (__malloc_hook): Likewise.
21780         (__realloc_hook): Likewise.
21781         (__memalign_hook): Likewise.
21782         (__libc_malloc): Likewise.
21783         (__libc_free): Likewise.
21784         (__libc_realloc): Likewise.
21785         (__libc_memalign): Likewise.
21786         (__libc_valloc): Likewise.
21787         (__libc_pvalloc): Likewise.
21788         (__libc_calloc): Likewise.
21789         (__posix_memalign): Likewise.
21790         * malloc/morecore.c (__sbrk): Likewise.
21791         (__default_morecore): Likewise.
21792
21793         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21794
21795         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21796         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21797         __malloc_ptrdiff_t.
21798
21799         * malloc/malloc.h (__malloc_size_t): Remove macro.
21800         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21801         __malloc_size_t.
21802         (old_memalign_hook): Likewise.
21803         (old_realloc_hook): Likewise.
21804         (struct hdr): Likewise.
21805         (flood): Likewise.
21806         (mallochook): Likewise.
21807         (memalignhook): Likewise.
21808         (reallochook): Likewise.
21809         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21810         (tr_old_realloc_hook): Likewise.
21811         (tr_old_memalign_hook): Likewise.
21812         (tr_mallochook): Likewise.
21813         (tr_reallochook): Likewise.
21814         (tr_memalignhook): Likewise.
21815
21816 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21817
21818         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21819         default_ldbl_pack and using as default implementation.
21820         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21821         implementation.
21822         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21823         redundant definition.
21824         (ldbl_insert_mantissa): Likewise.
21825         (ldbl_canonicalize): Likewise.
21826         (ldbl_nearbyint): Likewise.
21827         (ldbl_pack): Rename to ldbl_pack_ppc.
21828         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21829         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21830         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21831
21832 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21833
21834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21835         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21836         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21837         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21839         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21840         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21841         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21842
21843 2013-03-07  Andreas Jaeger  <aj@suse.de>
21844
21845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21846         bits/mman-linux.h.
21847
21848 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21849
21850         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21851         Include mpa.h and declare __MPEXP.
21852         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21853         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21854         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21855         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21856         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21857         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21858         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21859
21860         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21861         (__slowpow): Use long double EXPL and LOGL functions to
21862         compute POW.
21863         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21864         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21865         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21866         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21867         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21868         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21869
21870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21871         intermediate variable to calculate exponent.
21872         (__sqr): Likewise.
21873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21874         Likewise.
21875         (__sqr): Likewise.
21876
21877         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21878         [!NO__SQR]: Define __sqr.
21879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21880         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21881         sysdeps/ieee754/dbl-64/mpa.c.
21882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21883
21884         [BZ #12723]
21885         * posix/Makefile (tests): Add tst-pathconf.
21886         * posix/tst-pathconf.c: New test case.
21887         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21888         _PC_PIPE_BUF.
21889         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21890
21891 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21892
21893         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21894
21895 2013-03-06  Andreas Jaeger  <aj@suse.de>
21896
21897         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21898         definition via __MAP_ANONYMOUS.
21899
21900         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21901         it's not part of Linux headers.
21902
21903         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21904         (MAP_HUGE_MASK): Define.
21905
21906         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21907         Define.
21908         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21909         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21910         Define.
21911         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21912         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21913         Define.
21914         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21915         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21916         Define.
21917         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21918
21919         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21920         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21921         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21922         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21923         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21924         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21925
21926         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21927         Handle f2fs.
21928
21929         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21930         Handle f2fs and efivarfs.
21931
21932         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21933         f2fs.
21934
21935         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21936         (EFIVARFS_MAGIC): Add.
21937         (F2FS_LINK_MAX): Add.
21938
21939 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21940
21941         * stdio-common/vfprintf.c: Replace __builtin_expect with
21942         __glibc_unlikely.
21943
21944 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21945
21946         [BZ #13550]
21947         * sysdeps/generic/bp-sym.h: Remove file.
21948         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21949         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21950         <bp-sym.h> and <bp-asm.h>.
21951         (__longjmp): Don't use BP_SYM.
21952         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21953         and <bp-asm.h>.
21954         (memcpy): Don't use BP_SYM.
21955         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21956         <bp-sym.h> and <bp-asm.h>.
21957         (memcpy): Don't use BP_SYM.
21958         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21959         <bp-asm.h>.
21960         (memcpy): Don't use BP_SYM.
21961         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21962         <bp-asm.h>.
21963         (memset): Don't use BP_SYM.
21964         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21965         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21966         (__bzero): Don't use BP_SYM.
21967         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21968         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21969         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21970         <bp-sym.h> and <bp-asm.h>.
21971         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21972         pointers.
21973         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21974         <bp-sym.h> and <bp-asm.h>.
21975         (memcpy): Don't use BP_SYM.
21976         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21977         <bp-sym.h> and <bp-asm.h>.
21978         (memset): Don't use BP_SYM.
21979         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21980         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21981         (__bzero): Don't use BP_SYM.
21982         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21983         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21984         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21985         <bp-sym.h> and <bp-asm.h>.
21986         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21987         pointers.
21988         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21989         <bp-sym.h> and <bp-asm.h>.
21990         (memcpy): Don't use BP_SYM.
21991         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21992         <bp-sym.h> and <bp-asm.h>.
21993         (memset): Don't use BP_SYM.
21994         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21995         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21996         (__bzero): Don't use BP_SYM.
21997         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21998         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21999         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22000         <bp-sym.h> and <bp-asm.h>.
22001         (__memchr): Don't use BP_SYM.
22002         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22003         <bp-sym.h> and <bp-asm.h>.
22004         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22005         pointers.
22006         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22007         <bp-sym.h> and <bp-asm.h>.
22008         (memcpy): Don't use BP_SYM.
22009         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22010         <bp-sym.h> and <bp-asm.h>.
22011         (__mempcpy): Don't use BP_SYM.
22012         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22013         <bp-sym.h> and <bp-asm.h>.
22014         (__memrchr): Don't use BP_SYM.
22015         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22016         <bp-sym.h> and <bp-asm.h>.
22017         (memset): Don't use BP_SYM.
22018         (__bzero): Likewise.
22019         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22020         <bp-sym.h> and <bp-asm.h>.
22021         (__rawmemchr): Don't use BP_SYM.
22022         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22023         <bp-sym.h> and <bp-asm.h>.
22024         (__STRCMP): Don't use BP_SYM.
22025         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22026         <bp-sym.h> and <bp-asm.h>.
22027         (strchr): Don't use BP_SYM.
22028         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22029         <bp-sym.h> and <bp-asm.h>.
22030         (__strchrnul): Don't use BP_SYM.
22031         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22032         <bp-sym.h> and <bp-asm.h>.
22033         (strlen): Don't use BP_SYM.
22034         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22035         <bp-sym.h> and <bp-asm.h>.
22036         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22037         pointers.
22038         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22039         <bp-sym.h> and <bp-asm.h>.
22040         (__strnlen): Don't use BP_SYM.
22041         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22042         <bp-sym.h> and <bp-asm.h>.
22043         (__GI__setjmp): Don't use BP_SYM.
22044         (_setjmp): Likewise.
22045         (__sigsetjmp): Likewise.
22046         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22047         (L(start_addresses)): Don't use BP_SYM.
22048         (_start): Likewise.
22049         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22050         <bp-asm.h>.
22051         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22052         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22053         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22054         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22055         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22056         <bp-asm.h>.
22057         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22058         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22059         about bounded pointers.
22060         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22061         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22062         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22063         <bp-asm.h>.
22064         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22065         about bounded pointers.  Remove GKM FIXME comments.
22066         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22067         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22068         <bp-asm.h>.
22069         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22070         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22071         Remove GKM FIXME comments.
22072         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22073         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22074         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22075         <bp-asm.h>.
22076         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22077         about bounded pointers.  Remove GKM FIXME comment.
22078         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22079         and <bp-asm.h>.
22080         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22081         pointers.
22082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22083         <bp-sym.h> and <bp-asm.h>.
22084         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22086         <bp-sym.h> and <bp-asm.h>.
22087         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22088         comment.
22089
22090 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22091
22092         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22093         call free(NULL).
22094
22095 2013-03-05  David S. Miller  <davem@davemloft.net>
22096
22097         * po/es.po: Update from translation team.
22098
22099 2013-03-05  Andreas Jaeger  <aj@suse.de>
22100
22101         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22102         <bits/mman-linux.h>.
22103         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22104         is fine.
22105         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22106         <bits/mman-linux.h> to end of file.
22107         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22108         is fine.
22109         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22110         <bits/mman-linux.h> to end of file.
22111         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22112         is fine.
22113         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22114         <bits/mman-linux.h> to end of file.
22115
22116         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22117         (MCL_CURRENT, MCL_FUTURE): Define here.
22118
22119 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22120
22121         [BZ #15232]
22122         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22123         attribute_hidden.
22124         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22125
22126 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22127
22128         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22129         fourth parameter needed for rt_sigprocmask syscall.
22130         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22131         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22132         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22133         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22134         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22135         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22136
22137 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22138
22139         [BZ #13550]
22140         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22141         comment about bounded pointers.
22142         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22143         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22144
22145 2013-03-04  Andreas Jaeger  <aj@suse.de>
22146
22147         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22148         common definitions.
22149
22150         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22151         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22152         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22153         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22154         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22155         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22156
22157 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22158
22159         [BZ #15055]
22160         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22161         __ieee754_sqrl instead of __sqrl.
22162
22163 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22164
22165         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22166         * sysdeps/powerpc/fpu_control.h: ... here.
22167         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22168         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22169         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22170         * sysdeps/powerpc/bits/mathinline.h: ... here.
22171
22172 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22173
22174         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22175         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22176         to just [NEED_DL_SYSINFO_DSO].
22177         * elf/dl-support.c: Likewise.
22178         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22179         * elf/rtld.c (dl_main): Likewise.
22180         * elf/setup-vdso.h (setup_vdso): Likewise.
22181         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22182         * sysdeps/unix/sysv/linux/dl-sysdep.c
22183         (_dl_discover_osversion): Likewise.
22184
22185 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22186
22187         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22188         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22189
22190 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22191
22192         * NEWS: Mention libm performance improvements and non-x86 PI
22193         futex support.
22194
22195         * csu/libc-start.c (__pthread_initialize_minimal): Change
22196         function arguments.
22197         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22198
22199 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22200
22201         [BZ #13550]
22202         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22203         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22204         <bp-sym.h> and <bp-asm.h>.
22205         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22206         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22207         and <bp-asm.h>.
22208         (memcpy): Don't use BP_SYM.
22209         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22210         <bp-asm.h>.
22211         (__mpn_add_n): Don't use BP_SYM.
22212         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22213         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22214         and <bp-asm.h>.
22215         (__mpn_addmul_1): Don't use BP_SYM.
22216         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22217         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22218         <bp-sym.h>.
22219         (_setjmp): Don't use BP_SYM.
22220         (__novmx_setjmp): Likewise.
22221         (__GI__setjmp): Likewise.
22222         (__vmx_setjmp): Likewise.
22223         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22224         <bp-sym.h>.
22225         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22226         (__bzero): Don't use BP_SYM.
22227         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22228         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22229         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22230         <bp-sym.h> and <bp-asm.h>.
22231         (memcpy): Don't use BP_SYM.
22232         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22233         <bp-sym.h> and <bp-asm.h>.
22234         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22235         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22236         <bp-sym.h> and <bp-asm.h>.
22237         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22238         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22239         <bp-asm.h>.
22240         (__mpn_lshift): Don't use BP_SYM.
22241         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22242         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22243         <bp-asm.h>.
22244         (memset): Don't use BP_SYM.
22245         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22246         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22247         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22248         <bp-asm.h>.
22249         (__mpn_mul_1): Don't use BP_SYM.
22250         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22251         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22252         <bp-sym.h> and <bp-asm.h>.
22253         (memcmp): Don't use BP_SYM.
22254         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22255         <bp-sym.h> and <bp-asm.h>.
22256         (memcpy): Don't use BP_SYM.
22257         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22258         <bp-sym.h> and <bp-asm.h>.
22259         (memset): Don't use BP_SYM.
22260         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22261         <bp-sym.h> and <bp-asm.h>.
22262         (strncmp): Don't use BP_SYM.
22263         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22264         <bp-sym.h> and <bp-asm.h>.
22265         (memcpy): Don't use BP_SYM.
22266         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22267         <bp-sym.h> and <bp-asm.h>.
22268         (memset): Don't use BP_SYM.
22269         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22270         <bp-sym.h> and <bp-asm.h>.
22271         (__memchr): Don't use BP_SYM.
22272         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22273         <bp-sym.h> and <bp-asm.h>.
22274         (memcmp): Don't use BP_SYM.
22275         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22276         <bp-sym.h> and <bp-asm.h>.
22277         (memcpy): Don't use BP_SYM.
22278         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22279         <bp-sym.h> and <bp-asm.h>.
22280         (__mempcpy): Don't use BP_SYM.
22281         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22282         <bp-sym.h> and <bp-asm.h>.
22283         (__memrchr): Don't use BP_SYM.
22284         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22285         <bp-sym.h> and <bp-asm.h>.
22286         (memset): Don't use BP_SYM.
22287         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22288         <bp-sym.h> and <bp-asm.h>.
22289         (__rawmemchr): Don't use BP_SYM.
22290         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22291         <bp-sym.h> and <bp-asm.h>.
22292         (__STRCMP): Don't use BP_SYM.
22293         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22294         <bp-sym.h> and <bp-asm.h>.
22295         (strchr): Don't use BP_SYM.
22296         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22297         <bp-sym.h> and <bp-asm.h>.
22298         (__strchrnul): Don't use BP_SYM.
22299         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22300         <bp-sym.h> and <bp-asm.h>.
22301         (strlen): Don't use BP_SYM.
22302         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22303         <bp-sym.h> and <bp-asm.h>.
22304         (strncmp): Don't use BP_SYM.
22305         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22306         <bp-sym.h> and <bp-asm.h>.
22307         (__strnlen): Don't use BP_SYM.
22308         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22309         <bp-asm.h>.
22310         (__mpn_rshift): Don't use BP_SYM.
22311         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22312         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22313         <bp-sym.h> and <bp-asm.h>.
22314         (__sigsetjmp): Don't use BP_SYM.
22315         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22316         (L(start_addresses)): Don't use BP_SYM.
22317         (_start): Likewise.
22318         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22319         <bp-asm.h>.
22320         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22321         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22322         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22323         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22324         <bp-asm.h>.
22325         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22326         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22327         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22328         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22329         <bp-asm.h>.
22330         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22331         comments.
22332         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22333         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22334         <bp-asm.h>.
22335         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22336         FIXME comments.
22337         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22338         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22339         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22340         <bp-asm.h>.
22341         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22342         comment.
22343         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22344         and <bp-asm.h>.
22345         (strncmp): Don't use BP_SYM,
22346         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22347         <bp-asm.h>.
22348         (__mpn_sub_n): Don't use BP_SYM.
22349         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22350         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22351         and <bp-asm.h>.
22352         (__mpn_submul_1): Don't use BP_SYM.
22353         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22355         <bp-sym.h> and <bp-asm.h>.
22356         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22358         <bp-sym.h> and <bp-asm.h>.
22359         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22360         comment.
22361
22362 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22363
22364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22365         Use ZK to minimize writes to Z.
22366         (sub_magnitudes): Simplify code a bit.
22367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22368         Use ZK to minimize writes to Z.
22369         (sub_magnitudes): Simplify code a bit.
22370
22371 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22372
22373         * csu/gmon-start.c: Add special exception to license text.
22374
22375 2013-02-27  Richard Henderson  <rth@redhat.com>
22376
22377         * scripts/config.guess: Update from config.git.
22378         * scripts/config.sub: Likewise.
22379
22380 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22381
22382         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22383
22384         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22385
22386         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22387
22388         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22389
22390         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22391
22392 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22393
22394         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22395         [$(build-shared = yes].
22396
22397 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22398
22399         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22400         (__mul): Reduce iterations for calculating mantissa.
22401
22402         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22403         MPTWO.
22404         (__mpranred): Likewise.
22405
22406         [BZ #15160]
22407         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22408         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22409
22410 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22411
22412         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22413         Define __attribute__.
22414
22415 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22416
22417         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22418         unused.
22419         * posix/regex_internal.h (__attribute): Remove.
22420         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22421         (re_string_context_at): Likewise.
22422         (bitset_not): Use __attribute__ and mark function as possibly
22423         unused.
22424         (bitset_merge): Likewise.
22425         (bitset_mask): Likewise.
22426         (re_string_char_size_at): Likewise.
22427         (re_string_wchar_at): Likewise.
22428         (re_string_elem_size_at): Likewise.
22429
22430 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22431
22432         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22433         code.
22434         (cc32): Likewise.
22435
22436         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22437         (__acr): Likewise.
22438         (__cpy): Likewise.
22439         (norm): Likewise.
22440         (denorm): Likewise.
22441         (__dbl_mp): Likewise.
22442         (add_magnitudes): Likewise.
22443         (sub_magnitudes): Likewise.
22444         (__mul): Likewise.
22445         (__inv): Likewise.
22446
22447         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22448         style.
22449
22450         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22451         style.
22452
22453         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22454         code.
22455
22456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22457         up changes with default code.
22458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22459         Likewise.
22460
22461 2013-02-24  Allan McRae  <allan@archlinux.org>
22462
22463         * manual/socket.texi (The Internet Namespace): Order menu items
22464         to match that in the file.
22465
22466         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22467         node listing of the info page menu.
22468
22469 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22470
22471         [BZ #13550]
22472         * sysdeps/i386/bp-asm.h: Remove file.
22473         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22474         (PARMS): Do not use macros from bp-asm.h.
22475         (S1): Likewise.
22476         (S2): Likewise.
22477         (SIZE): Likewise.
22478         (__mpn_add_n): Do not use BP_SYM
22479         * sysdeps/i386/addmul_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_addmul_1): Do not use BP_SYM
22485         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22486         "bp-asm.h".
22487         (PARMS): Do not use macros from bp-asm.h.
22488         (SIGMSK): Likewise.
22489         (_setjmp): Likewise.  Do not use BP_SYM.
22490         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22491         "bp-asm.h".
22492         (PARMS): Do not use macros from bp-asm.h.
22493         (SIGMSK): Likewise.
22494         (setjmp): Likewise.  Do not use BP_SYM.
22495         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22496         "bp-asm.h".
22497         (PARMS): Do not use macros from bp-asm.h.
22498         (__frexp): Do not use BP_SYM.
22499         (frexp): Likewise.
22500         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22501         "bp-asm.h".
22502         (PARMS): Do not use macros from bp-asm.h.
22503         (__frexpf): Do not use BP_SYM.
22504         (frexpf): Likewise.
22505         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22506         "bp-asm.h".
22507         (PARMS): Do not use macros from bp-asm.h.
22508         (__frexpl): Do not use BP_SYM.
22509         (frexpl): Likewise.
22510         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22511         "bp-asm.h".
22512         (PARMS): Do not use macros from bp-asm.h.
22513         (__remquo): Do not use BP_SYM.
22514         (remquo): Likewise.
22515         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22516         "bp-asm.h".
22517         (PARMS): Do not use macros from bp-asm.h.
22518         (__remquof): Do not use BP_SYM.
22519         (remquof): Likewise.
22520         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22521         "bp-asm.h".
22522         (PARMS): Do not use macros from bp-asm.h.
22523         (__remquol): Do not use BP_SYM.
22524         (remquol): Likewise.
22525         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22526         "bp-asm.h".
22527         (PARMS): Do not use macros from bp-asm.h.
22528         (DEST): Likewise.
22529         (SRC): Likewise.
22530         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22531         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22532         "bp-asm.h".
22533         (PARMS): Do not use macros from bp-asm.h.
22534         (strlen): Do not use BP_SYM.
22535         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22536         "bp-asm.h".
22537         (PARMS): Do not use macros from bp-asm.h.
22538         (S1): Likewise.
22539         (S2): Likewise.
22540         (SIZE): Likewise.
22541         (__mpn_add_n): Do not use BP_SYM.
22542         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22543         "bp-asm.h".
22544         (PARMS): Do not use macros from bp-asm.h.
22545         (S1): Likewise.
22546         (SIZE): Likewise.
22547         (__mpn_addmul_1): Do not use BP_SYM.
22548         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22549         weak_alias.
22550         (bzero): Likewise.
22551         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22552         "bp-asm.h".
22553         (PARMS): Do not use macros from bp-asm.h.
22554         (S): Likewise.
22555         (SIZE): Likewise.
22556         (__mpn_lshift): Do not use BP_SYM.
22557         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22558         "bp-asm.h".
22559         (PARMS): Do not use macros from bp-asm.h.
22560         (DEST): Likewise.
22561         (SRC): Likewise.
22562         (LEN): Likewise.
22563         (memcpy): Likewise.  Do not use BP_SYM.
22564         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22565         libc_hidden_def and weak_alias.
22566         (mempcpy): Do not use BP_SYM in weak_alias.
22567         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22568         "bp-asm.h".
22569         (PARMS): Do not use macros from bp-asm.h.
22570         (DEST): Likewise.
22571         (LEN): Likewise.
22572         [!BZERO_P] (CHR): Likewise.
22573         (memset): Likewise.  Do not use BP_SYM.
22574         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22575         "bp-asm.h".
22576         (PARMS): Do not use macros from bp-asm.h.
22577         (S1): Likewise.
22578         (SIZE): Likewise.
22579         (__mpn_mul_1): Do not use BP_SYM.
22580         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22581         "bp-asm.h".
22582         (PARMS): Do not use macros from bp-asm.h.
22583         (S): Likewise.
22584         (SIZE): Likewise.
22585         (__mpn_rshift): Do not use BP_SYM.
22586         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22587         "bp-asm.h".
22588         (PARMS): Do not use macros from bp-asm.h.
22589         (STR): Likewise.
22590         (CHR): Likewise.
22591         (strchr): Likewise.  Do not use BP_SYM.
22592         (index): Do not use BP_SYM in weak_alias.
22593         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22594         "bp-asm.h".
22595         (PARMS): Do not use macros from bp-asm.h.
22596         (DEST): Likewise.
22597         (SRC): Likewise.
22598         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22599         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22600         "bp-asm.h".
22601         (PARMS): Do not use macros from bp-asm.h.
22602         (strlen): Do not use BP_SYM.
22603         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22604         "bp-asm.h".
22605         (PARMS): Do not use macros from bp-asm.h.
22606         (S1): Likewise.
22607         (S2): Likewise.
22608         (SIZE): Likewise.
22609         (__mpn_sub_n): Do not use BP_SYM.
22610         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22611         "bp-asm.h".
22612         (PARMS): Do not use macros from bp-asm.h.
22613         (S1): Likewise.
22614         (SIZE): Likewise.
22615         (__mpn_submul_1): Do not use BP_SYM.
22616         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22617         "bp-asm.h".
22618         (PARMS): Do not use macros from bp-asm.h.
22619         (S1): Likewise.
22620         (S2): Likewise.
22621         (SIZE): Likewise.
22622         (__mpn_add_n): Do not use BP_SYM.
22623         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22624         weak_alias.
22625         (bzero): Likewise.
22626         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22627         "bp-asm.h".
22628         (PARMS): Do not use macros from bp-asm.h.
22629         (BLK2): Likewise.
22630         (LEN): Likewise.
22631         (memcmp): Do not use BP_SYM.
22632         (bcmp): Do not use BP_SYM in weak_alias.
22633         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22634         "bp-asm.h".
22635         (PARMS): Do not use macros from bp-asm.h.
22636         (DEST): Likewise.
22637         (SRC): Likewise.
22638         (LEN): Likewise.
22639         (memcpy): Likewise.  Do not use BP_SYM.
22640         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22641         "bp-asm.h".
22642         (PARMS): Do not use macros from bp-asm.h.
22643         (DEST): Likewise.
22644         (SRC): Likewise.
22645         (LEN): Likewise.
22646         (memmove): Likewise.  Do not use BP_SYM.
22647         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22648         "bp-asm.h".
22649         (PARMS): Do not use macros from bp-asm.h.
22650         (DEST): Likewise.
22651         (SRC): Likewise.
22652         (LEN): Likewise.
22653         (__mempcpy): Likewise.  Do not use BP_SYM.
22654         (mempcpy): Do not use BP_SYM in weak_alias.
22655         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22656         "bp-asm.h".
22657         (PARMS): Do not use macros from bp-asm.h.
22658         (DEST): Likewise.
22659         (LEN): Likewise.
22660         [!BZERO_P] (CHR): Likewise.
22661         (memset): Likewise.  Do not use BP_SYM.
22662         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22663         "bp-asm.h".
22664         (PARMS): Do not use macros from bp-asm.h.
22665         (STR2): Likewise.
22666         (strcmp): Do not use BP_SYM.
22667         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22668         "bp-asm.h".
22669         (PARMS): Do not use macros from bp-asm.h.
22670         (STR): Likewise.
22671         (DELIM): Likewise.
22672         [USE_AS_STRTOK_R] (SAVE): Likewise.
22673         (FUNCTION): Likewise.  Do not use BP_SYM.
22674         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22675         aliases.
22676         (strtok_r): Likewise.
22677         (__GI___strtok_r): Likewise.
22678         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22679         (PARMS): Do not use macros from bp-asm.h.
22680         (S): Likewise.
22681         (SIZE): Likewise.
22682         (__mpn_lshift): Do not use BP_SYM.
22683         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22684         (PARMS): Do not use macros from bp-asm.h.
22685         (STR): Likewise.
22686         (CHR): Likewise.
22687         (__memchr): Do not use BP_SYM.
22688         (memchr): Do not use BP_SYM in weak_alias.
22689         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22690         (PARMS): Do not use macros from bp-asm.h.
22691         (BLK2): Likewise.
22692         (LEN): Likewise.
22693         (memcmp): Do not use BP_SYM.
22694         (bcmp): Do not use BP_SYM in weak_alias.
22695         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22696         (PARMS): Do not use macros from bp-asm.h.
22697         (S1): Likewise.
22698         (SIZE): Likewise.
22699         (__mpn_mul_1): Do not use BP_SYM.
22700         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22701         "bp-asm.h".
22702         (PARMS): Do not use macros from bp-asm.h.
22703         (STR): Likewise.
22704         (CHR): Likewise.
22705         (__rawmemchr): Do not use BP_SYM.
22706         (rawmemchr): Do not use BP_SYM in weak_alias.
22707         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22708         (PARMS): Do not use macros from bp-asm.h.
22709         (S): Likewise.
22710         (SIZE): Likewise.
22711         (__mpn_rshift): Do not use BP_SYM.
22712         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22713         (PARMS): Do not use macros from bp-asm.h.
22714         (SIGMSK): Likewise.
22715         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22716         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22717         (_start): Do not use BP_SYM.
22718         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22719         (PARMS): Do not use macros from bp-asm.h.
22720         (DEST): Likewise.
22721         (SRC): Likewise.
22722         (__stpcpy): Likewise.  Do not use BP_SYM.
22723         (stpcpy): Do not use BP_SYM in weak_alias.
22724         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22725         "bp-asm.h".
22726         (PARMS): Do not use macros from bp-asm.h.
22727         (DEST): Likewise.
22728         (SRC): Likewise.
22729         (LEN): Likewise.
22730         (__stpncpy): Likewise.  Do not use BP_SYM.
22731         (stpncpy): Do not use BP_SYM in weak_alias.
22732         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22733         (PARMS): Do not use macros from bp-asm.h.
22734         (STR): Likewise.
22735         (CHR): Likewise.
22736         (strchr): Likewise.  Do not use BP_SYM.
22737         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22738         "bp-asm.h".
22739         (PARMS): Do not use macros from bp-asm.h.
22740         (STR): Likewise.
22741         (CHR): Likewise.
22742         (__strchrnul): Likewise.  Do not use BP_SYM.
22743         (strchrnul): Do not use BP_SYM in weak_alias.
22744         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22745         "bp-asm.h".
22746         (PARMS): Do not use macros from bp-asm.h.
22747         (STOP): Likewise.
22748         (strcspn): Do not use BP_SYM.
22749         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22750         "bp-asm.h".
22751         (PARMS): Do not use macros from bp-asm.h.
22752         (STR): Likewise.
22753         (STOP): Likewise.
22754         (strpbrk): Likewise.  Do not use BP_SYM.
22755         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22756         "bp-asm.h".
22757         (PARMS): Do not use macros from bp-asm.h.
22758         (STR): Likewise.
22759         (CHR): Likewise.
22760         (strrchr): Likewise.  Do not use BP_SYM.
22761         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22762         (PARMS): Do not use macros from bp-asm.h.
22763         (SKIP): Likewise.
22764         (strspn): Do not use BP_SYM.
22765         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22766         (PARMS): Do not use macros from bp-asm.h.
22767         (STR): Likewise.
22768         (DELIM): Likewise.
22769         (SAVE): Likewise.
22770         (FUNCTION): Likewise.  Do not use BP_SYM.
22771         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22772         aliases.
22773         (strtok_r): Likewise.
22774         (__GI___strtok_r): Likewise.
22775         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22776         (PARMS): Do not use macros from bp-asm.h.
22777         (S1): Likewise.
22778         (S2): Likewise.
22779         (SIZE): Likewise.
22780         (__mpn_sub_n): Do not use BP_SYM.
22781         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22782         "bp-asm.h".
22783         (PARMS): Do not use macros from bp-asm.h.
22784         (S1): Likewise.
22785         (SIZE): Likewise.
22786         (__mpn_submul_1): Do not use BP_SYM.
22787         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22788         <bp-sym.h>.
22789         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22790         and <bp-asm.h>.
22791         (PARMS): Do not use macros from bp-asm.h.
22792         (FLAGS): Likewise.
22793         (PTID): Likewise.
22794         (TLS): Likewise.
22795         (CTID): Likewise.
22796         (__clone): Do not use BP_SYM.
22797         (clone): Do not use BP_SYM in weak_alias.
22798         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22799         and <bp-asm.h>.
22800         (PARMS): Do not use macros from bp-asm.h.
22801         (LEN): Likewise.
22802         (__mmap64): Do not use BP_SYM.
22803         (mmap64): Do not use BP_SYM in weak_alias.
22804         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22805         <bp-sym.h> and <bp-asm.h>.
22806         (PARMS): Do not use macros from bp-asm.h.
22807         (__posix_fadvise64_l64): Do not use BP_SYM.
22808         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22809         (PARMS): Do not use macros from bp-asm.h.
22810         (NSOPS): Likewise.
22811         (semtimedop): Do not use BP_SYM.
22812         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22813         and <bp-asm.h>.
22814
22815 2013-02-21  Allan McRae  <allan@archlinux.org>
22816
22817         * manual/message.texi (Charset conversion in gettext):
22818         Move @end statement to beginning of line.
22819
22820 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22821
22822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22823         static.
22824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22825         Likewise.
22826
22827         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22828         (denorm): Likewise.
22829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22831
22832 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22833
22834         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22835         tail-call to the resolved function if pltexit isn't needed.
22836
22837 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22838
22839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22840         or Y being zero as being unlikely.
22841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22842         Likewise.
22843
22844 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22845
22846         * manual/nss.texi (System Databases and Name Service Switch):
22847         Remove frobnicate @pxref.
22848
22849 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22850
22851         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22852         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22853
22854 2013-02-20  Petr Machata  <pmachata@redhat.com>
22855
22856         * elf/elf.h (R_ARM_TARGET1): New macro.
22857         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22858         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22859         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22860         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22861         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22862         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22863         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22864         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22865         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22866         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22867         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22868         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22869         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22870         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22871         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22872         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22873         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22874         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22875         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22876         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22877         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22878         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22879         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22880         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22881         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22882         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22883         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22884         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22885         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22886         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22887         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22888         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22889         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22890         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22891         (R_ARM_THM_GOT_BREL12): Likewise.
22892         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22893         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22894         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22895         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22896         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22897         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22898         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22899         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22900         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22901
22902 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22903
22904         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22905         __attribute_used__ to __attribute__ ((unused)).
22906
22907 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22908
22909         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22910         powerpc mpa.c.
22911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22912         comment formatting.
22913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22914
22915 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22916
22917         [BZ #13550]
22918         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22919         Remove macro.
22920         (ENTER): Remove both macro definitions.
22921         (LEAVE): Likewise.
22922         (CHECK_BOUNDS_LOW): Likewise.
22923         (CHECK_BOUNDS_HIGH): Likewise.
22924         (CHECK_BOUNDS_BOTH): Likewise.
22925         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22926         (RETURN_BOUNDED_POINTER): Likewise.
22927         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22928         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22929         (POP_ERRNO_LOCATION_RETURN): Likewise.
22930         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22931         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22932         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22933         macros.
22934         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22935         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22936         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22937         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22938         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22939         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22940         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22941         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22942         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22943         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22944         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22945         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22946         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22947         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22948         removed macros.
22949         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22950         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22951         macros.
22952         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22953         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22954         * sysdeps/i386/i586/memset.S (memset): Likewise.
22955         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22956         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22957         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22958         macros.
22959         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22960         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22961         Change uses of L(2) to L(out).
22962         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22963         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22964         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22965         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22966         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22967         removed macros.
22968         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22969         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22970         macros.
22971         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22972         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22973         (RETURN): Do not use macro LEAVE.
22974         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22975         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22976         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22977         * sysdeps/i386/i686/memset.S (memset): Likewise.
22978         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22979         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22980         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22981         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22982         Likewise.
22983         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22984         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22985         L(1_2) and L(1_3) into L(1).
22986         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22987         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22988         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22989         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22990         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22991         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22992         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22993         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22994         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22995         macros.
22996         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22997         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22998         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22999         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23000         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23001         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23002         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23003         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23004         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23005         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23006         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23007         * sysdeps/i386/strspn.S (strspn): Likewise.
23008         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23009         conditional code.
23010         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23011         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23012         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23013         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23014         L(1_3) into L(1_1).
23015         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23016         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23017         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23018         macros.
23019         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23020
23021 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23022
23023         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23024         macro.
23025
23026 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23027
23028         * math/atest-exp.c (exp_mpn): Remove ROUND.
23029         * math/atest-exp2.c (exp_mpn): Likewise.
23030         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23031
23032         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23033         * stdlib/tst-tls-atexit-lib.c: Likewise.
23034         * stdlib/tst-tls-atexit.c: Likewise.
23035
23036 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23037
23038         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23039         and __attribute_alloc_size__.
23040
23041 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23042
23043         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23044         __attribute_alloc_size__.
23045         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23046         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23047
23048 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23049
23050         * include/programs/xmalloc.h: New file.
23051         * catgets/gencat.c: Include it.
23052         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23053         * elf/pldd.c: Likewise.
23054         * iconv/iconv_charmap.c: Likewise.
23055         * iconv/iconvconfig.c: Likewise.
23056         * iconv/strtab.c: Likewise.
23057         * locale/programs/locale.c: Likewise.
23058         * locale/programs/localedef.h: Likewise.
23059         * locale/programs/simple-hash.c: Likewise.
23060         * nscd/nscd.h: Likewise.
23061         * nss/makedb.c: Likewise.
23062         * sysdeps/generic/ldconfig.h: Likewise.
23063
23064 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23065
23066         * Versions.def: Add GLIBC_2.18.
23067         * include/link.h (struct link_map): New member l_tls_dtor_count.
23068         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23069         (__call_tls_dtors): Likewise.
23070         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23071         __cxa_thread_atexit_impl.
23072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23073         Likewise.
23074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23075         Likewise.
23076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23077         Likewise.
23078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23079         Likewise.
23080         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23082         Likewise.
23083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23084         Likewise.
23085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23087         Likewise.
23088         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23089         (tests): Add test case tst-tls-atexit.
23090         (modules-names): Add shared library for tst-tls-atexit.
23091         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23092         (GLIBC_PRIVATE): Add __call_tls_dtors.
23093         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23094         for libstdc++.
23095         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23096         * stdlib/tst-tls-atexit.c: New test case.
23097         * stdlib/tst-tls-atexit-lib.c: New test case.
23098
23099         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23100
23101         * elf/Versions (ld): Add _dl_find_dso_for_object.
23102         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23103         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23104         (dl_open_worker): Use _dl_find_dso_for_object.
23105         * elf/dl-sym.c (do_sym): Likewise.
23106         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23107
23108 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23109
23110         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23111         Syntactic changes only.
23112         (_dl_runtime_profile): Do a tail-call to the resolved function.
23113
23114 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23115
23116         [BZ #13550]
23117         * sysdeps/x86_64/bp-asm.h: Remove file.
23118         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23119         <bp-sym.h> and <bp-asm.h>.
23120         (__clone): Do not use BP_SYM.
23121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23122         <bp-sym.h> and <bp-asm.h>.
23123         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23124         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23125         "bp-asm.h".
23126         (_setjmp): Do not use BP_SYM.
23127         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23128         "bp-asm.h".
23129         (setjmp): Do not use BP_SYM.
23130         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23131         libc_hidden_def.
23132         (mempcpy): Do not use BP_SYM in weak_alias.
23133         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23134         "bp-asm.h".
23135         (strchr): Do not use BP_SYM.
23136         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23137         "bp-asm.h".
23138         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23139         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23140         (_start): Do not use BP_SYM.
23141         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23142         "bp-asm.h".
23143         (strcat): Do not use BP_SYM.
23144         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23145         "bp-asm.h".
23146         (STRCMP): Do not use BP_SYM.
23147         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23148         "bp-asm.h".
23149         (STRCPY): Do not use BP_SYM.
23150         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23151         "bp-asm.h".
23152         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23153         "bp-asm.h".
23154         (FUNCTION): Do not use BP_SYM.
23155         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23156         weak_alias.
23157         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23158
23159 2013-02-17  Andreas Jaeger  <aj@suse.de>
23160
23161         * time/Versions: Sort entries.
23162         * string/Versions: Likewise.
23163         * resolv/Versions: Likewise.
23164         * posix/Versions: Likewise.
23165         * iconv/Versions: Likewise.
23166         * elf/Versions: Likewise.
23167         * wcsmbs/Versions: Likewise.
23168
23169 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23170
23171         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23172         loop termination condition.
23173
23174         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23175         variable to calculate EZ.
23176         (__sqr): Likewise.
23177
23178         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23179         the lower precision input.
23180
23181 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23182
23183         [BZ #13550]
23184         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23185         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23186         (run-via-rtld-prefix): Do not handle %-bp tests.
23187         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23188         (all-object-suffixes): Remove .ob.
23189         (bppfx): Remove variable.
23190         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23191         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23192         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23193         [$(build-bounded) = yes] (libtype.ob): Likewise.
23194         * Makerules (elide-routines.ob): Remove variable.
23195         (do-tests-clean): Do not handle *-bp.out.
23196         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23197         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23198         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23199         (tests): Do not include $(tests-bp.out).
23200         (xtests): Do not include $(xtests-bp.out).
23201         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23202         [$(build-bounded) = yes] ($(addprefix
23203         $(objpfx),$(binaries-bounded))): Remove rule.
23204         ($(objpfx)%-bp.out): Remove rule.
23205         * config.make.in (build-bounded): Remove variable.
23206         * crypt/Makefile [$(build-bounded) = yes]
23207         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23208         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23209         append to variable.
23210         [$(build-bounded) = yes] (install-lib): Likewise.
23211         [$(build-bounded) = yes] (generated): Likewise.
23212         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23213         Remove rule.
23214         * intl/Makefile [$(build-bounded) = yes]
23215         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23216         * math/Makefile [$(build-bounded) = yes]
23217         ($(tests:%=$(objpfx)%-bp): Likewise.
23218         * misc/Makefile [$(build-bounded) = yes]
23219         ($(objpfx)tst-tsearch-bp): Likewise.
23220         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23221         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23222         Remove dependency.
23223         * string/Makefile (o-objects.ob): Remove variable.
23224         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23225         (CFLAGS-.ob): Remove variable.
23226         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23227         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23228         both definitions of variable.
23229         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23230         (ASFLAGS-.ob): Remove variable.
23231
23232 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23233
23234         [BZ #13550]
23235         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23236         Remove __BOUNDED_POINTERS__ from condition.
23237         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23238         * string/bits/string2.h [!__NO_STRING_INLINES &&
23239         !__BOUNDED_POINTERS__]: Likewise.
23240         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23241         Likewise.
23242         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23243         Remove conditional code.
23244         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23245         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23246         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23247         condition.
23248
23249         [BZ #13550]
23250         * csu/libc-start.c: Do not include <bp-sym.h>.
23251         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23252         * elf/dl-open.c: Do not include <bp-sym.h>.
23253         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23254         * math/fegetenv.c: Do not include <bp-sym.h>.
23255         (fegetenv): Do not use BP_SYM in versioned symbols.
23256         * nptl/sysdeps/pthread/bits/libc-lockP.h
23257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23258         <bp-sym.h>.
23259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23260         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23262         (__pthread_mutex_destroy): Likewise.
23263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23264         (__pthread_mutex_lock): Likewise.
23265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23266         (__pthread_mutex_trylock): Likewise.
23267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23268         (__pthread_mutex_unlock): Likewise.
23269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23270         (__pthread_mutexattr_init): Likewise.
23271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23272         (__pthread_mutexattr_destroy): Likewise.
23273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23274         (__pthread_mutexattr_settype): Likewise.
23275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23276         (__pthread_rwlock_init): Likewise.
23277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23278         (__pthread_rwlock_destroy): Likewise.
23279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23280         (__pthread_rwlock_rdlock): Likewise.
23281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23282         (__pthread_rwlock_tryrdlock): Likewise.
23283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23284         (__pthread_rwlock_wrlock): Likewise.
23285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23286         (__pthread_rwlock_trywrlock): Likewise.
23287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23288         (__pthread_rwlock_unlock): Likewise.
23289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23290         (__pthread_key_create): Likewise.
23291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23292         (__pthread_setspecific): Likewise.
23293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23294         (__pthread_getspecific): Likewise.
23295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23296         Likewise.
23297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23298         (_pthread_cleanup_push_defer): Likewise.
23299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23300         (_pthread_cleanup_pop_restore): Likewise.
23301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23302         (pthread_setcancelstate): Likewise.
23303         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23304         <bp-sym.h>.
23305         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23306         (memchr): Do not use BP_SYM in weak_alias.
23307         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23308         (fegetenv): Do not use BP_SYM in versioned symbols.
23309         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23310         (fesetenv): Do not use BP_SYM in versioned symbols.
23311         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23312         (feupdateenv): Do not use BP_SYM in versioned symbols.
23313         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23314         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23315         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23316         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23317         (open64): Do not use BP_SYM in weak_alias.
23318         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23319         (fegetenv): Do not use BP_SYM in versioned symbols.
23320         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23321         (fesetenv): Do not use BP_SYM in versioned symbols.
23322         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23323         (feupdateenv): Do not use BP_SYM in versioned symbols.
23324         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23325         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23326         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23327         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23328         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23329         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23330         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23331         <bp-sym.h>.
23332         (__libc_start_main): Do not use BP_SYM.
23333
23334 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23335
23336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23337         redundant return line.
23338         (norm): Likewise.
23339         (denorm): Likewise.
23340         (dbl_mp): Likewise.
23341         (sub_magnitudes): Likewise.
23342         (__add): Likewise.
23343         (__sub): Likewise.
23344         (__mul): Likewise.
23345         (__inv): Likewise.
23346         (__dvd): Likewise.
23347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23348         (norm): Likewise.
23349         (denorm): Likewise.
23350         (dbl_mp): Likewise.
23351         (sub_magnitudes): Likewise.
23352         (__add): Likewise.
23353         (__sub): Likewise.
23354         (__mul): Likewise.
23355         (__inv): Likewise.
23356         (__dvd): Likewise.
23357
23358         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23359         instead of __mul.
23360         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23361         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23362         (cc32): Likewise.
23363
23364         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23365         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23366         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23367         of __mul for squares.
23368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23369         function
23370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23371         Likewise.
23372         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23373         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23374
23375 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23376
23377         [BZ #13550]
23378         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23379         code.
23380         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23381         prototype or function definition.  Rename ubp_* variables and
23382         parameters.  Remove argv definitions conditional on
23383         [__BOUNDED_POINTERS__].
23384         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23385         * elf/dl-runtime.c (_dl_fixup): Likewise.
23386         * include/set-hooks.h (RUN_HOOK): Likewise.
23387         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23388         definition.
23389         * string/strcpy.c (strcpy): Do not use __unbounded.
23390         * sysdeps/generic/frame.h (struct layout): Likewise.
23391         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23392         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23393         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23394         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23395         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23396         (__backtrace): Likewise.
23397         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23398         use __ptrvalue.
23399         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23400         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23401         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23402         Likewise.
23403         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23404         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23405         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23406         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23407         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23408         Do not use __unbounded.
23409         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23410         Rename __unboundedrlimits parameter to rlimits in prototype.
23411         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23412         Do not use __unbounded.
23413         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23414         not use __ptrvalue.
23415         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23416         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23417         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23418         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23419         __ptrvalue or __unbounded.
23420         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23421         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23422         use __unbounded.
23423         (__new_msgctl): Do not use __ptrvalue.
23424         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23425         __unbounded.
23426         (__libc_msgrcv): Do not use __ptrvalue.
23427         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23428         startup_info): Do not use __unbounded.
23429         (__libc_start_main): Likewise.  Rename ubp_* variables and
23430         parameters.  Remove argv definitions conditional on
23431         [__BOUNDED_POINTERS__].
23432         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23433         __ptrvalue.
23434         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23435         use __unbounded.
23436         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23437         or __ptrvalue.
23438         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23439         use __unbounded.
23440         (__new_shmctl): Do not use __ptrvalue.
23441         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23442         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23443         Likewise.
23444         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23445         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23446         (__libc_sigaction): Likewise.
23447         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23448         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23449         Likewise.
23450         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23451
23452 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23453
23454         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23455
23456         * string/mempcpy.c: Implement by calling memcpy.
23457
23458 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23459
23460         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23461
23462         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23463         evaluation.
23464
23465         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23466         values in the mantissa.
23467
23468         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23469         minimize writes to Z.
23470         (sub_magnitudes): Simplify code a bit.
23471
23472 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23473
23474         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23475         from the message.  The linker prefixes all warnings with that already.
23476
23477 2013-02-12  Andreas Schwab  <schwab@suse.de>
23478
23479         [BZ #15078]
23480         * posix/regexec.c (extend_buffers): Add parameter min_len.
23481         (check_matching): Pass minimum needed length.
23482         (clean_state_log_if_needed): Likewise.
23483         (get_subexp): Likewise.
23484         * posix/Makefile (tests): Add bug-regex34.
23485         (bug-regex34-ENV): Define.
23486         * posix/bug-regex34.c: New file.
23487
23488         [BZ #11561]
23489         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23490         elements compare against the byte sequence of it, not its name.
23491         * posix/Makefile (tests): Add bug-regex35.
23492         (bug-regex35-ENV): Define.
23493         * posix/bug-regex35.c: New file.
23494
23495 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23496
23497         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23498         comment.
23499         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23500         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23501         (CHECK_EOL): Add undef.
23502
23503 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23504
23505         * bits/stdlib-bsearch.h: New file.
23506         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23507         * stdlib/stdlib.h: Likewise.
23508
23509 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23510
23511         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23512         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23513         declaration.
23514         * manual/search.texi (Array Search Function): Add missing const in
23515         lfind prototype.
23516         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23517         declaration to use rlim_t.
23518         (Basic Scheduling Functions): Remove erroneous const from
23519         sched_getparam prototype.  Remove erroneous * from
23520         sched_get_priority_max and sched_get_priority_min prototypes.
23521         (Resource Usage): Fix summary @comment on vtimes to refer to
23522         sys/vtimes.h rather than vtimes.h.
23523         Add missing *s in vtimes prototype.
23524         (Limits on Resources): Fix ulimit prototype to return long int.
23525         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23526         prototypes to use long int rather than double.
23527         (BSD Random): Fix initstate and setstate to use char *, not void *.
23528         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23529         prototype to make second argument 'struct aiocb64 *const[]'.
23530         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23531         (Status of AIO Operations): Remove erroneous const in aio_return and
23532         aio_return64 prototypes.
23533         (Synchronizing I/O): Fix sync prototype to return void.
23534         * manual/startup.texi (Suboptions): Remove an erroneous const in
23535         getsubopt prototype.
23536         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23537         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23538         use size_t rather than int.
23539         (Scanning All Users): Likewise for getpwent_r.
23540         (Setting Groups): Add missing const to setgroups prototype.
23541         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23542         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23543         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23544         'const void *' rather than 'const char *'.
23545         (Host Address Functions): Likewise for inet_ntop.
23546         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23547         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23548         ssize_t for return value.
23549         (Sending Data): Likewise for send, sendto, sendmsg.
23550         (Socket Option Functions): Add a missing const in setsockopt prototype.
23551         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23552         use wchar_t for the argument.
23553         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23554         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23555         take no arguments.
23556         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23557         double/float/long double for second argument.
23558         Fix return types of significand, significandf, significandl.
23559         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23560         argument in fchmod prototype.
23561         (File Owner): Use uid_t and gid_t in fchown prototype.
23562         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23563         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23564         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23565         use 'const struct dirent **' as argument types to CMP function pointer
23566         argument.
23567         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23568         (File Times): Fix summary magic @comment for struct utimbuf and utime
23569         to refer to utime.h, not time.h.
23570         * manual/string.texi (Argz Functions): Add missing const in
23571         argz_extract and argz_next prototypes.
23572         (Finding Tokens in a String): Likewise for basename.
23573         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23574         (Copying and Concatenation): Fix typo in wmemmove prototype.
23575         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23576         (Signal Stack): Remove erroneous const in sigstack prototype.
23577         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23578         prototype.
23579         (Simple Calendar Time): Likewise for stime.
23580         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23581         prototype.
23582         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23583         say sys/sysctl.h instead.
23584         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23585         and vsyslog prototypes.
23586
23587 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23588
23589         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23590         Remove.
23591
23592 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23593
23594         * misc/sys/mman.h: Fix typo in mremap comment.
23595
23596 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23597
23598         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23599         the '\0' terminator.
23600
23601 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23602
23603         [BZ #13550]
23604         * debug/segfault.c: Don't include <bp-checks.h>.
23605         * sysdeps/generic/bp-checks.h: Remove file.
23606         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23607         (__GETDENTS): Don't use CHECK_N.
23608         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23609         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23610         (__getgroups): Don't use CHECK_N.
23611         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23612         (setgroups): Don't use CHECK_N.
23613         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23614         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23615         (__libc_msgrcv): Don't use CHECK_N.
23616         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23617         (__libc_msgsnd): Don't use CHECK_N.
23618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23619         <bp-checks.h>.
23620         (__libc_pread): Don't use CHECK_N.
23621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23622         include <bp-checks.h>.
23623         (__libc_pread64): Don't use CHECK_N.
23624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23625         include <bp-checks.h>.
23626         (__libc_pwrite): Don't use CHECK_N.
23627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23628         include <bp-checks.h>.
23629         (__libc_pwrite64): Don't use CHECK_N.
23630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23631         <bp-checks.h>.
23632         (__libc_pread): Don't use CHECK_N.
23633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23634         include <bp-checks.h>.
23635         (__libc_pread64): Don't use CHECK_N.
23636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23637         include <bp-checks.h>.
23638         (__libc_pwrite): Don't use CHECK_N.
23639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23640         include <bp-checks.h>.
23641         (__libc_pwrite64): Don't use CHECK_N.
23642         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23643         (do_pread): Don't use CHECK_N.
23644         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23645         (do_pread64): Don't use CHECK_N.
23646         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23647         (do_pwrite): Don't use CHECK_N.
23648         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23649         (do_pwrite64): Don't use CHECK_N.
23650         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23651         (__libc_readv): Don't use CHECK_N.
23652         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23653         (semop): Don't use CHECK_N.
23654         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23655         <bp-checks.h>.
23656         (semtimedop): Don't use CHECK_N.
23657         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23658         (__libc_pread): Don't use CHECK_N.
23659         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23660         <bp-checks.h>.
23661         (__libc_pread64): Don't use CHECK_N.
23662         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23663         <bp-checks.h>.
23664         (__libc_pwrite): Don't use CHECK_N.
23665         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23666         <bp-checks.h>.
23667         (__libc_pwrite64): Don't use CHECK_N.
23668         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23669         <bp-checks.h>.
23670         (__libc_msgrcv): Don't use CHECK_N.
23671         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23672         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23673         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23674         (__libc_writev): Don't use CHECK_N.
23675
23676 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23677
23678         * string/strcpy.c: Removed unused variable.
23679
23680         * Makeconfig (+sysdep-includes): Define with := rather than =.
23681         Use an existing include/ subdir of each sysdeps dir before it.
23682
23683 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23684
23685         * nscd/connection.c (register_traced_file): Comment function.
23686         [HAVE_INOTIFY] (union __inev): Define.
23687         [HAVE_INOTIFY] (inotify_check_files): New function.
23688         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23689         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23690         clear_db_cache.
23691         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23692
23693 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23694
23695         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23696         loaded if not already and that a failure is permanent.
23697
23698 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23699
23700         [BZ #15006]
23701         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23702         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23703
23704 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23705
23706         [BZ #13550]
23707         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23708         (CHECK_1_NULL_OK): Likewise.
23709         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23710         (__fxstat): Do not use CHECK_1.
23711         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23712         <bp-checks.h>.
23713         (___fxstat64): Do not use CHECK_1.
23714         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23715         <bp-checks.h>.
23716         (__fxstatat): Do not use CHECK_1.
23717         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23718         <bp-checks.h>.
23719         (__fxstatat64): Do not use CHECK_1.
23720         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23721         <bp-checks.h>.
23722         (__fxstat): Do not use CHECK_1.
23723         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23724         <bp-checks.h>.
23725         (__fxstatat): Do not use CHECK_1.
23726         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23727         <bp-checks.h>.
23728         (__getresgid): Do not use CHECK_1.
23729         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23730         <bp-checks.h>.
23731         (__getresuid): Do not use CHECK_1.
23732         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23733         <bp-checks.h>.
23734         (__lxstat): Do not use CHECK_1.
23735         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23736         <bp-checks.h>.
23737         (__old_msgctl): Do not use CHECK_1.
23738         (__new_msgctl): Likewise.
23739         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23740         <bp-checks.h>.
23741         (__new_setrlimit): Do not use CHECK_1.
23742         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23743         <bp-checks.h>.
23744         (__old_shmctl): Do not use CHECK_1.
23745         (__new_shmctl): Likewise.
23746         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23747         <bp-checks.h>.
23748         (__xstat): Do not use CHECK_1.
23749         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23750         (__lxstat): Do not use CHECK_1.
23751         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23752         <bp-checks.h>.
23753         (___lxstat64): Do not use CHECK_1.
23754         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23755         (__old_msgctl): Do not use CHECK_1.
23756         (__new_msgctl): Likewise.
23757         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23758         <bp-checks.h>.
23759         (__gettimeofday): Do not use CHECK_1.
23760         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23761         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23762         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23763         <bp-checks.h>.
23764         (__gettimeofday): Do not use CHECK_1.
23765         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23766         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23767         (__new_shmctl): Do not use CHECK_1.
23768         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23769         <bp-checks.h>.
23770         (do_sigtimedwait): Do not use CHECK_1.
23771         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23772         <bp-checks.h>.
23773         (do_sigwaitinfo): Do not use CHECK_1.
23774         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23775         <bp-checks.h>.
23776         (msgctl): Do not use CHECK_1.
23777         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23778         <bp-checks.h>.
23779         (shmctl): Do not use CHECK_1.
23780         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23781         (ustat): Do not use CHECK_1.
23782         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23783         <bp-checks.h>.
23784         (__fxstat): Do not use CHECK_1.
23785         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23786         <bp-checks.h>.
23787         (__fxstatat): Do not use CHECK_1.
23788         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23789         <bp-checks.h>.
23790         (__lxstat): Do not use CHECK_1.
23791         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23792         <bp-checks.h>.
23793         (__xstat): Do not use CHECK_1.
23794         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23795         (__xstat): Do not use CHECK_1.
23796         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23797         (___xstat64): Do not use CHECK_1.
23798
23799         [BZ #13550]
23800         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23801         definitions.
23802         (CHECK_BOUNDS_HIGH): Likewise.
23803         * string/strcpy.c: Do not include <bp-checks.h>.
23804         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23805
23806 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23807
23808         * nscd/nscd-client.h (__nscd_drop_map_ref):
23809         Add __attribute__ ((unused)).
23810         * nis/nss-nisplus.h (niserr2nss): Likewise.
23811
23812         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23813         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23814
23815         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23816         Remove inline keyword.
23817         * include/rounding-mode.h (round_away): Likewise.
23818         * libio/wfileops.c (adjust_wide_data): Likewise.
23819         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23820         (__m128i_strloadu_tolower): Likewise.
23821         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23822         (__m128i_strloadu_tolower): Likewise.
23823         * time/mktime.c (ydhms_diff): Likewise.
23824         * locale/elem-hash.h (elem_hash): Likewise.
23825         * locale/setlocale.c (setdata): Likewise.
23826         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23827         (re_string_wchar_at): Likewise.
23828         (bitset_not, bitset_merge, bitset_mask): Likewise.
23829         [!(__GNUC__ > 3)] (inline): Remove macro.
23830         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23831         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23832         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23833         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23834         * string/memcmp.c (memcmp_bytes): Likewise.
23835         * locale/programs/locarchive.c (compute_hashval): Likewise.
23836         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23837         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23838         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23839         * nss/getent.c (print_rpc, print_protocols): Likewise.
23840         (print_passwd, print_group, print_aliases): Likewise.
23841         * nis/nss-nisplus.h (niserr2nss): Likewise.
23842         * nscd/connections.c (restart_p): Likewise.
23843         Change return type to bool.
23844
23845 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23846
23847         * Makeconfig (all-Depend-files): Add existing
23848         $(sorted-subdirs:=/Depend) files.
23849         (all-subdirs): Remove nss.
23850         * sysdeps/unix/inet/Subdirs: Add it here instead.
23851         * hesiod/Depend: New file.
23852
23853         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23854         instead of calling alloca.
23855
23856         * io/lseek.c (__lseek): Rename to __libc_lseek.
23857         Define __lseek as an alias.
23858
23859         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23860
23861 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23862
23863         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23864         else clause and remove check for non-standard endianness.
23865
23866 2013-02-04  David S. Miller  <davem@davemloft.net>
23867
23868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23869
23870 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23871
23872         [BZ #13550]
23873         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23874         (__ubp_memchr): Remove prototype.
23875         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23876         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23877         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23878         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23879         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23880         Remove alias.
23881         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23882         (__ubp_memchr): Likewise.
23883         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23884         (__ubp_memchr): Likewise.
23885         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23886         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23887         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23888         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23889         CHECK_STRING.
23890         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23891         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23892         (__getcwd): Do not use CHECK_STRING.
23893         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23894         <bp-checks.h>.
23895         (__real_chown): Do not use CHECK_STRING.
23896         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23897         <bp-checks.h>.
23898         (fchownat): Do not use CHECK_STRING.
23899         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23900         CHECK_STRING.
23901         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23902         <bp-checks.h>.
23903         (__lchown): Do not use CHECK_STRING.
23904         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23905         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23906         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23907         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23909         include <bp-checks.h>.
23910         (truncate64): Do not use CHECK_STRING.
23911         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23912         <bp-checks.h>.
23913         (__real_chown): Do not use CHECK_STRING.
23914         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23915         <bp-checks.h>.
23916         (__lchown): Do not use CHECK_STRING.
23917         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23918         <bp-checks.h>.
23919         (__chown): Do not use CHECK_STRING.
23920         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23921         <bp-checks.h>.
23922         (truncate64): Do not use CHECK_STRING.
23923         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23924         Likewise.
23925         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23926         (__xmknod): Do not use CHECK_STRING.
23927         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23928         <bp-checks.h>.
23929         (__xmknodat): Do not use CHECK_STRING.
23930         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23931         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23932
23933 2013-02-04  Andreas Schwab  <schwab@suse.de>
23934
23935         [BZ #14142]
23936         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23937         * include/netdb.h: Likewise for h_errno.
23938         * elf/tst-stackguard1.c: Include <tls.h>.
23939
23940 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23941
23942         * elf/link.h (struct link_map): Extend the l_addr comment.
23943         * include/link.h (struct link_map): Likewise.
23944
23945 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23946
23947         [BZ #13550]
23948         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23949         (BOUNDED_1): Remove macro.
23950         * debug/backtrace.c: Don't include <bp-checks.h>.
23951         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23952         (__backtrace): Likewise.
23953         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23954         <bp-checks.h>.
23955         (__backtrace): Don't use BOUNDED_1.
23956         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23957         <bp-checks.h>.
23958         (__backtrace): Don't use BOUNDED_1.
23959         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23960         (__backtrace): Don't use BOUNDED_1.
23961         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23962         (shmat): Don't use BOUNDED_N.
23963
23964 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23965
23966         [BZ #13550]
23967         * sysdeps/generic/bp-start.h: Remove file.
23968         * csu/libc-start.c: Don't include <bp-start.h>.
23969         (LIBC_START_MAIN): Set up __environ directly instead of using
23970         INIT_ARGV_and_ENVIRON.
23971         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23972         <bp-start.h>.
23973
23974         [BZ #13550]
23975         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23976         definitions.
23977         (CHECK_FCNTL): Likewise.
23978         (CHECK_N_PAGES): Likewise.
23979
23980         [BZ #13550]
23981         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23982         definitions.
23983         (CHECK_SIGSET_NULL_OK): Likewise.
23984         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23985         <bp-checks.h>.
23986         (sigpending): Don't use CHECK_SIGSET.
23987         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23988         <bp-checks.h>.
23989         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23990         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23991         <bp-checks.h>.
23992         (do_sigsuspend): Don't use CHECK_SIGSET.
23993         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23994         use CHECK_SIGSET.
23995         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23996         (do_sigwait): Don't use CHECK_SIGSET.
23997         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23998         use CHECK_SIGSET.
23999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24000         include <bp-checks.h>.
24001         (sigpending): Don't use CHECK_SIGSET.
24002         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24003         include <bp-checks.h>.
24004         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24005         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24006         <bp-checks.h>.
24007         (sigpending): Don't use CHECK_SIGSET.
24008         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24009         <bp-checks.h>.
24010         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24011
24012         [BZ #13550]
24013         * sysdeps/generic/bp-semctl.h: Remove file.
24014         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24015         <bp-checks.h> and <bp-semctl.h>.
24016         (__old_semctl): Don't use CHECK_SEMCTL.
24017         (__new_semctl): Likewise.
24018         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24019         and <bp-semctl.h>.
24020         (__old_semctl): Don't use CHECK_SEMCTL.
24021         (__new_semctl): Likewise.
24022         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24023         <bp-checks.h> and <bp-semctl.h>.
24024         (__old_semctl): Don't use CHECK_SEMCTL.
24025         (__new_semctl): Likewise.
24026         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24027         <bp-checks.h> and <bp-semctl.h>.
24028         (semctl): Don't use CHECK_SEMCTL.
24029
24030         [BZ #13550]
24031         * Makerules (elide-bp-thunks): Remove variable.
24032         (elide-routines.oS): Don't use $(elide-bp-thunks).
24033         (elide-routines.os): Likewise.
24034         (elide-routines.o): Likewise.
24035         (elide-routines.op): Likewise.
24036         (elide-routines.og): Likewise.
24037         (objects): Don't use $(bp-thunks).
24038         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24039         include.
24040         (common-generated): Do not add s-proto-bp.d.
24041         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24042         (int): Likewise.
24043         (typ): Likewise.
24044         Do not generate makefile rules for bounded-pointer thunks.
24045         * sysdeps/generic/bp-thunks.h: Remove file.
24046         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24047         * sysdeps/unix/s-proto-bp.S: Likewise.
24048
24049         [BZ #15062]
24050         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24051         parts of result separately when argument is not close to line from
24052         -i to i and one part of argument is small.
24053         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24054         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24055         * math/libm-test.inc (cacos_test): Add more tests.
24056         (casin_test): Likewise.
24057         (casinh_test): Likewise.
24058         * sysdeps/i386/fpu/libm-test-ulps: Update.
24059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24060
24061 2013-01-31  David S. Miller  <davem@davemloft.net>
24062
24063         * po/de.po: Update from translation team.
24064
24065 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24066
24067         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24068
24069 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24070
24071         * configure.in (_AC_PROG_CC_C89): New definition.
24072         * configure: Regenerate.
24073
24074         * configure.in (AC_PROG_CPP): New definition.
24075         * configure: Regenerate.
24076
24077 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24078
24079         * debug/tst-backtrace.h: New file.
24080         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24081         (ret): Remove variable.
24082         (x): Likewise.
24083         (FAIL): Remove macro.
24084         (NO_INLINE): Likewise.
24085         (fn1): Use match function instead of strstr.
24086         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24087         (ret): Remove variable.
24088         (x): Likewise.
24089         (FAIL): Remove macro.
24090         (NO_INLINE): Likewise.
24091         (fn): Use match function instead of strstr.
24092         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24093         (ret): Remove variable.
24094         (x): Likewise.
24095         (FAIL): Remove macro.
24096         (NO_INLINE): Likewise.
24097         (handle_signal): Use match function instead of strstr.
24098         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24099         (ret): Remove variable.
24100         (x): Likewise.
24101         (FAIL): Remove macro.
24102         (NO_INLINE): Likewise.
24103         (handle_signal): Use match function instead of strstr.
24104
24105 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24106
24107         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24108
24109 2013-01-23  David S. Miller  <davem@davemloft.net>
24110
24111         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24112         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24113         argument of CAS if possible.
24114         * sysdeps/sparc/sparc64/bits/atomic.h
24115         (__arch_compare_and_exchange_val_32_acq): Likewise.
24116         (__arch_compare_and_exchange_val_64_acq): Likewise.
24117
24118 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24119
24120         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24121         * sysdeps/posix/ulimit.c: ... this.
24122         Include <limits.h>.
24123         * sysdeps/unix/bsd/ulimit.c: Remove file.
24124
24125 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24126
24127         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24128         (LDFLAGS-tst-array5): Likewise.
24129
24130 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24131
24132         [BZ #15036]
24133         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24134         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24135         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24136         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24137
24138 2013-01-21  David S. Miller  <davem@davemloft.net>
24139
24140         * sysdeps/sparc/backtrace.c: New file.
24141         * sysdeps/sparc/sparc32/backtrace.h: New file.
24142         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24143         * sysdeps/sparc/sparc64/backtrace.h: New file.
24144         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24145         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24146         -funwind-tables.
24147
24148 2013-01-21  Andreas Schwab  <schwab@suse.de>
24149
24150         [BZ #15020]
24151         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24152         closed its stdout.
24153
24154 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24155
24156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24157         "mpa2.h".
24158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24159
24160 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24161             Mark Mitchell  <mark@codesourcery.com>
24162             Tom de Vries  <tom@codesourcery.com>
24163             Paul Pluzhnikov  <ppluzhnikov@google.com>
24164
24165         * debug/tst-backtrace2.c: New file.
24166         * debug/tst-backtrace3.c: Likewise.
24167         * debug/tst-backtrace4.c: Likewise.
24168         * debug/tst-backtrace5.c: Likewise.
24169         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24170         (CFLAGS-tst-backtrace3.c): Likewise.
24171         (CFLAGS-tst-backtrace4.c): Likewise.
24172         (CFLAGS-tst-backtrace5.c): Likewise.
24173         (LDFLAGS-tst-backtrace2): Likewise.
24174         (LDFLAGS-tst-backtrace3): Likewise.
24175         (LDFLAGS-tst-backtrace4): Likewise.
24176         (LDFLAGS-tst-backtrace5): Likewise.
24177         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24178         tst-backtrace4 and tst-backtrace5.
24179
24180 2013-01-18  Anton Blanchard  <anton@samba.org>
24181             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24182
24183         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24184         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24185         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24186         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24188         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24189         "+r" and remove output regs list as redundant.  Add explicit inline
24190         asm to specify register of return val to work around compiler codegen
24191         bug.  Remove (int) cast on return value.  Add return type parameter to
24192         use in macro so that this macro does not truncate return value for
24193         64-bit values.
24194         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24195         pass to INTERNAL_VSYSCALL_NCS.
24196         (INLINE_VSYSCALL): Add 'long int' as return type to
24197         INTERNAL_VSYSCALL_NCS macro invocation.
24198         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24199         INTERNAL_VSYSCALL_NCS macro invocation.
24200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24201
24202 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24203
24204         [BZ #14496]
24205         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24206         Fix application of SIMD FP exception mask.
24207
24208         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24209         mp_no from a power of two.
24210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24211         __mpexp_twomm1.  Use __pow_mp.
24212
24213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24214         multiplication.
24215
24216 2013-01-17  David S. Miller  <davem@davemloft.net>
24217
24218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24219
24220 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24221
24222         [BZ #15023]
24223         * include/complex.h: Condition contents on [!_COMPLEX_H].
24224         (__kernel_casinhf): New prototype.
24225         (__kernel_casinh): Likewise.
24226         (__kernel_casinhl): Likewise.
24227         * math/Makefile (libm_calls): Add k_casinh.
24228         * math/k_casinh.c: New file.
24229         * math/k_casinhf.c: Likewise.
24230         * math/k_casinhl.c: Likewise.
24231         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24232         finite nonzero arguments.
24233         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24234         finite nonzero arguments.
24235         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24236         finite nonzero arguments.
24237         * math/s_casinh.c: Do not include <float.h>.
24238         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24239         * math/s_casinhf.c: Do not include <float.h>.
24240         (__casinhf): Move code for finite nonzero arguments to
24241         k_casinhf.c.
24242         * math/s_casinhl.c: Do not include <float.h>.
24243         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24244         redefine.
24245         (__casinhl): Move code for finite nonzero arguments to
24246         k_casinhl.c.
24247         * math/libm-test.inc (cacos_test): Add more tests.
24248         * sysdeps/i386/fpu/libm-test-ulps: Update.
24249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24250
24251 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24252
24253         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24254         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24255         [!HAVE_MREMAP]: Remove [defined linux] case.
24256         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24257
24258 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24259
24260         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24261
24262 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24263
24264         * elf/elf.h (R_386_SIZE32): New relocation.
24265         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24266         R_386_SIZE32.
24267         (elf_machine_rela): Likewise.
24268         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24269         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24270
24271 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24272
24273         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24274         (FP_FAST_FMA): Do not define.
24275         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24276         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24277         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24278         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24279         !_SOFT_FLOAT]: Likewise.
24280         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24281         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24282         value.
24283         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24284         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24285         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24286         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24287         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24288         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24289         file.
24290
24291 2013-01-16  Andreas Schwab  <schwab@suse.de>
24292
24293         [BZ #14327]
24294         * include/stdlib.h (__mktemp): Add declaration.
24295         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24296         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24297
24298 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24299
24300         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24301         definitions.
24302         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24303         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24304         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24305         definitions here.
24306         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24307         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24308         definitions.
24309         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24310         and ONE.
24311         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24312         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24313         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24314         definitions.
24315         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24316         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24317         definitions.
24318         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24319
24320         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24321
24322 2013-01-15  David S. Miller  <davem@davemloft.net>
24323
24324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24325         trunc{,f} to libm-sysdep_routes.
24326         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24328         file.
24329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24331         file.
24332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24333         file.
24334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24336         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24337         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24338         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24339         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24340         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24341         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24342
24343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24344         nearbyint{,f} to libm-sysdep_routes.
24345         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24347         New file.
24348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24349         file.
24350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24351         New file.
24352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24353         file.
24354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24356         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24357         file.
24358         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24359         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24360         file.
24361         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24362         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24363         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24364
24365         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24366         libc_feholdexcept and libc_fesetenv.
24367
24368 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24369
24370         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24371
24372 2013-01-14  David S. Miller  <davem@davemloft.net>
24373
24374         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24375         (SPARC_ASM_VIS2_IFUNC): Likewise.
24376         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24378         use of 'siam' instruction.
24379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24380         Likewise.
24381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24382         Likewise.
24383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24384         Likewise.
24385         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24386         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24387         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24388         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24390         file.
24391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24392         file.
24393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24394         file.
24395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24396         file.
24397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24399         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24400         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24402         new VIS2 routines.
24403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24406         Likewise.
24407         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24408         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24410         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24412         routines to libm-sysdep_routines.
24413         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24414
24415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24416         fdim/fdimf to libm-sysdep_routines.
24417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24418         file.
24419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24421         file.
24422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24425         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24426         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24427         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24428         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24429
24430 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24431
24432         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24433         to optimize copies.
24434
24435         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24437         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24438
24439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24440         local variable MPTWO.
24441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24442         Likewise.
24443
24444 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24445
24446         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24447         GLOB_NOESCAPE.
24448
24449 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24450
24451         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24452
24453 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24454
24455         * manual/pattern.texi (glob_t): Document gl_flags.
24456         (glob64_t): Likewise.
24457
24458 2013-01-11  David S. Miller  <davem@davemloft.net>
24459
24460         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24461         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24462         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24463         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24464         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24465         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24466         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24467         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24468         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24469         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24470         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24471         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24472         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24473
24474         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24475         sparc V9 rather than using V8 code.
24476         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24477         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24478
24479         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24480         Move to...
24481         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24482         Here.
24483
24484 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24485
24486         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24487         not in the main loop.
24488         * configure: Regenerated.
24489
24490 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24491
24492         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24493         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24494         to just #else.
24495         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24496         [!__GLIBC_HAVE_LONG_LONG] case.
24497         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24498         condition to just #else.
24499         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24500         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24501         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24502         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24503         unconditional.
24504         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24505         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24506         #elif condition to just #else.
24507         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24508         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24509         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24510         #elif condition to just #else.
24511
24512 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24513
24514         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24515         (EF_MIPS_ARCH_64): Fix value.
24516         (EF_MIPS_ARCH_32R2): New.
24517         (EF_MIPS_ARCH_64R2): New.
24518
24519 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24520
24521         * Makeconfig (+link-pie-before-libc): New.
24522         (+link-pie-after-libc): Likewise.
24523         (+link-pie-tests): Likewise.
24524         (+link-pie): Rewritten.
24525         (link-before-libc): Remove $(config-LDFLAGS).
24526         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24527         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24528         (config-LDFLAGS): Renamed to ...
24529         (rtld-LDFLAGS): This.
24530         (rtld-tests-LDFLAGS): New macro.
24531         (link-libc-rpath-link): Likewise.
24532         (link-libc-tests-rpath-link): Likewise.
24533         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24534         (link-libc): Prepand $(link-libc-rpath-link).
24535         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24536         (test-program-prefix): New macro.
24537         (test-via-rtld-prefix): Likewise.
24538         (test-program-cmd): Likewise.
24539         (host-test-program-cmd): Likewise.
24540         * Makefile ($(common-objpfx)testrun.sh): Replace
24541         $(run-program-prefix) with $(test-program-prefix).
24542         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24543         $(rtld-LDFLAGS).
24544         ($(common-objpfx)shlib.lds): Likewise.
24545         (build-module-helper): Likewise.
24546         ($(common-objpfx)format.lds): Likewise.
24547         * Rules (binaries-pie-tests): New.
24548         (binaries-pie-notests): Likewise.
24549         (binaries-pie): Rewritten.
24550         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24551         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24552         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24553         (make-test-out): Replace $(host-built-program-cmd) with
24554         $(host-test-program-cmd).
24555         * config.make.in (build-hardcoded-path-in-tests): New variable.
24556         * configure.in (--enable-hardcoded-path-in-tests): New configure
24557         option.
24558         (hardcoded_path_in_tests): New AC_SUBST.
24559         * configure: Regenerated.
24560         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24561         $(built-program-cmd) with $(test-program-cmd).
24562         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24563         (test_program_cmd): This.
24564         * elf/Makefile ($(objpfx)order.out): Run test with
24565         $(test-program-prefix).
24566         ($(objpfx)order2.out): Likewise.
24567         ($(objpfx)tst-initorder.out): Likewise.
24568         ($(objpfx)tst-initorder2.out): Likewise.
24569         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24570         $(test-program-cmd).
24571         ($(objpfx)tst-array1-static.out): Likewise.
24572         ($(objpfx)tst-array2.out): Likewise.
24573         ($(objpfx)tst-array3.out): Likewise.
24574         ($(objpfx)tst-array4.out): Likewise.
24575         ($(objpfx)tst-array5.out): Likewise.
24576         ($(objpfx)tst-array5-static.out): Likewise.
24577         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24578         $(test-program-cmd).
24579         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24580         $(run-program-prefix) with $(test-program-prefix).
24581         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24582         (test_program_prefix): This.
24583         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24584         $(run-program-prefix) with $(test-program-prefix).
24585         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24586         (test_program_prefix): This.
24587         * iconvdata/tst-tables.sh: Likewise.
24588         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24589         $(run-program-prefix) with $(test-program-prefix).
24590         ($(objpfx)tst-translit.out): Likewise.
24591         ($(objpfx)tst-gettext2.out): Likewise.
24592         ($(objpfx)tst-gettext4.out): Likewise.
24593         ($(objpfx)tst-gettext6.out): Likewise.
24594         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24595         (test_program_prefix): This.
24596         * intl/tst-gettext2.sh: Likewise.
24597         * intl/tst-gettext4.sh  Likewise.
24598         * intl/tst-gettext6.sh: Likewise.
24599         * intl/tst-translit.sh: Likewise.
24600         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24601         with $(test-program-cmd).
24602         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24603         $(run-program-prefix) with $(test-program-prefix).
24604         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24605         (test_program_prefix): This.
24606         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24607         $(run-program-prefix) with $(test-program-prefix).
24608         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24609         (test_program_prefix): This.
24610         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24611         * posix/Makefile ($(objpfx)globtest.out): Replace
24612         $(run-via-rtld-prefix) and $(test-wrapper) with
24613         $(test-program-prefix) and $(test-via-rtld-prefix).
24614         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24615         $(test-program-prefix).
24616         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24617         $(host-test-program-cmd).
24618         (tst-spawn-ARGS): Likewise.
24619         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24620         $(test-program-prefix).
24621         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24622         (test_via_rtld_prefix): This.
24623         (test_wrapper): Renamed to ...
24624         (test_program_prefix): This.
24625         (run_program_prefix): Replaced by test_program_prefix.
24626         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24627         (test_program_prefix): This.
24628         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24629         with $(host-test-program-cmd).
24630         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24631         $(run-program-prefix) with $(test-program-prefix).
24632         ($(objpfx)tst-printf.out): Likewise.
24633         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24634         $(test-program-cmd).
24635         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24636         (test_program_prefix): This.
24637         * stdio-common/tst-unbputc.sh: Likewise.
24638         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24639         $(run-program-prefix) with $(test-program-prefix).
24640         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24641         (test_program_prefix): This.
24642         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24643         $(built-program-cmd) with $(test-program-cmd).
24644
24645 2013-01-11  Andreas Jaeger  <aj@suse.de>
24646
24647         [BZ #15003]
24648         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24649         value. Sync with Linux 3.7.
24650
24651 2013-01-10  David S. Miller  <davem@davemloft.net>
24652
24653         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24654         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24655         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24656
24657 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24658
24659         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24660         never set.
24661         * configure: Regenerated.
24662
24663 2013-01-10  David S. Miller  <davem@davemloft.net>
24664
24665         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24666         sparc V9 rather than using V8 code.
24667         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24668         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24669
24670 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24671
24672         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24673         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24674         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24675         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24676         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24677         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24678         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24679         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24680         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24681         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24682         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24683         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24684         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24685         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24686         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24687         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24688         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24689         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24690         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24691         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24692         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24693         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24694         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24695         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24696         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24697         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24698         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24699
24700 2013-01-10  David S. Miller  <davem@davemloft.net>
24701
24702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24703
24704 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24705
24706         * posix/Makefile (tests-static): New variable.
24707         (tests): Add $(tests-static).
24708         (tst-exec-static-ARGS): New variable.
24709         (tst-spawn-static-ARGS): Likewise.
24710         * posix/tst-exec-static.c: New file.
24711         * posix/tst-spawn-static.c: Likewise.
24712         * posix/tst-exec.c: Support run directly.
24713         * posix/tst-spawn.c: Likewise.
24714
24715 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24716
24717         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24718         long.
24719         * math/bits/mathcalls.h (llrint): Likewise.
24720         (llround): Likewise.
24721         * stdlib/stdlib.h (struct drand48_data): Likewise.
24722         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24723         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24724         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24725         Likewise.
24726         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24727         Likewise.
24728         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24729         (elf_greg_t): Likewise.
24730         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24731         (__jmp_buf): Likewise.
24732         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24733         definitions.
24734         (llrint): Likewise, for all definitions.
24735         (llrintl): Likewise.
24736
24737         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24738         Remove [__GNUC__] condition.
24739         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24740         condition to just [__USE_ISOC99].
24741         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24742
24743 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24744
24745         [BZ #14200]
24746         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24747         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24748         defined.
24749         (_POSIX_V6_ILP32_OFF32): Likewise.
24750         (_XBS5_ILP32_OFF32): Likewise.
24751         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24752         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24753
24754 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24755
24756         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24757
24758         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24759         doubles __mpexp_twomm1.  Adjust usage.
24760         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24761         Remove.
24762
24763 2013-01-10  Andreas Schwab  <schwab@suse.de>
24764
24765         [BZ #14964]
24766         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24767         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24768
24769 2013-01-09  David S. Miller  <davem@davemloft.net>
24770
24771         [BZ #15003]
24772         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24773         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24774         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24775         (TCP_FASTOPEN): Define.
24776         (tcp_repair_opt): New structure.
24777         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24778         enum values.
24779         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24780         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24781         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24782         (tcp_cookie_transactions): New structure.
24783
24784 2013-01-09  Anton Blanchard  <anton@samba.org>
24785
24786         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24787         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24788         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24789         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24790
24791 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24792
24793         * include/features.h (__USE_ANSI): Remove.
24794
24795 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24796
24797         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24798
24799         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24800
24801 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24802
24803         * sysdeps/s390/fpu/libm-test-ulps: Update.
24804
24805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24806
24807         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24808         (__acr): Likewise.
24809         (__cpy): Likewise.
24810         (norm): Likewise.
24811         (denorm): Likewise.
24812         (__mp_dbl): Likewise.
24813         (__dbl_mp): Likewise.
24814         (add_magnitudes): Likewise.
24815         (sub_magnitudes): Likewise.
24816         (__add): Likewise.
24817         (__sub): Likewise.
24818         (__mul): Likewise.
24819         (__inv): Likewise.
24820         (__dvd): Likewise.
24821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24822         (__acr): Likewise.
24823         (__cpy): Likewise.
24824         (norm): Likewise.
24825         (denorm): Likewise.
24826         (__mp_dbl): Likewise.
24827         (__dbl_mp): Likewise.
24828         (add_magnitudes): Likewise.
24829         (sub_magnitudes): Likewise.
24830         (__add): Likewise.
24831         (__sub): Likewise.
24832         (__mul): Likewise.
24833         (__inv): Likewise.
24834         (__dvd): Likewise.
24835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24836         (__acr): Likewise.
24837         (__cpy): Likewise.
24838         (norm): Likewise.
24839         (denorm): Likewise.
24840         (__mp_dbl): Likewise.
24841         (__dbl_mp): Likewise.
24842         (add_magnitudes): Likewise.
24843         (sub_magnitudes): Likewise.
24844         (__add): Likewise.
24845         (__sub): Likewise.
24846         (__mul): Likewise.
24847         (__inv): Likewise.
24848         (__dvd): Likewise.
24849
24850 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24851
24852         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24853         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24854         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24855         2 && __USE_EXTERN_INLINES]: Likewise.
24856
24857 2013-01-08  Andreas Jaeger  <aj@suse.de>
24858
24859         [BZ# 14985]
24860         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24861         Remove.
24862         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24863         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24864
24865 2013-01-07  Anton Blanchard  <anton@samba.org>
24866
24867         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24868         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24869         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24870         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24871         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24872         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24873         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24874         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24876         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24877         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24878         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24879         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24880         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24881         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24882         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24883         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24884         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24885         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24886         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24887         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24888         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24889         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24890         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24891         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24892         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24893         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24894         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24895         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24896         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24897         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24898         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24899         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24900         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24901         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24902         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24903         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24904         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24905         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24906         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24907         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24908         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24909         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24910
24911 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24912
24913         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24914         (__MALLOC_PMT): Likewise.
24915         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24916         [__GNUC__], only on [_LIBC].
24917         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24918         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24919         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24920         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24921         forward declaration.
24922         (realloc_hook_ini): Likewise.
24923         (memalign_hook_ini): Likewise.
24924         (__libc_memalign): Do not use __MALLOC_PMT in variable
24925         declaration.
24926         (__libc_valloc): Likewise.
24927         (__libc_pvalloc): Likewise.
24928         (__libc_calloc): Likewise.
24929         (__posix_memalign): Likewise.
24930
24931         [BZ #14996]
24932         * math/s_casinh.c: Include <float.h>.
24933         (__casinh): Do not do computation with squaring and square root
24934         for large arguments.
24935         * math/s_casinhf.c: Include <float.h>.
24936         (__casinhf): Do not do computation with squaring and square root
24937         for large arguments.
24938         * math/s_casinhl.c: Include <float.h>.
24939         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24940         (__casinhl): Do not do computation with squaring and square root
24941         for large arguments.
24942         * math/libm-test.inc (casin_test): Add more tests.
24943         (casinh_test): Likewise.
24944         * sysdeps/i386/fpu/libm-test-ulps: Update.
24945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24946
24947 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24948
24949         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24950         (__x86_64_raw_data_cache_size): Likewise.
24951         (__x86_64_data_cache_size_half): Likewise.
24952         (__x86_64_raw_data_cache_size_half): Likewise.
24953         (__x86_64_shared_cache_size): Likewise.
24954         (__x86_64_raw_shared_cache_size): Likewise.
24955         (__x86_64_shared_cache_size_half): Likewise.
24956         (__x86_64_raw_shared_cache_size_half): Likewise.
24957         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24958         to ...
24959         (__x86_data_cache_size): This.
24960         (__x86_64_raw_data_cache_size): Renamed to ...
24961         (__x86_raw_data_cache_size): This.
24962         (__x86_64_data_cache_size_half): Renamed to ...
24963         (__x86_data_cache_size_half): This.
24964         (__x86_64_raw_data_cache_size_half): Renamed to ...
24965         (__x86_raw_data_cache_size_half): This.
24966         (__x86_64_shared_cache_size): Renamed to ...
24967         (__x86_shared_cache_size): This.
24968         (__x86_64_raw_shared_cache_size): Renamed to ...
24969         (__x86_raw_shared_cache_size): This.
24970         (__x86_64_shared_cache_size_half): Renamed to ...
24971         (__x86_shared_cache_size_half): This.
24972         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24973         (__x86_raw_shared_cache_size_half): This.
24974         * sysdeps/x86_64/memcpy.S: Updated.
24975         * sysdeps/x86_64/memset.S: Likewise.
24976         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24977         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24978         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24979
24980 2013-01-04  David S. Miller  <davem@davemloft.net>
24981
24982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24983
24984 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24985
24986         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24987         1 to avoid redefinition warning.
24988         (__USE_GNU): Don't define.
24989         (init_signaling_nan): Protoize.
24990
24991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24992
24993 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24994
24995         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24997         (__cpymn): Likewise.
24998         (norm): Remove commented code.
24999         (denorm): Likewise.
25000         (__mp_dbl): Likewise.
25001         (__inv): Likewise.
25002         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25003         (__cpymn): Likewise.
25004         (norm): Remove commented code.
25005         (denorm): Likewise.
25006         (__mp_dbl): Likewise.
25007         (__inv): Likewise.
25008
25009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25010         mp_no value for 1.0 and 2.0.
25011         (norm): Use RADIXI instead of radixi.d.
25012         (denorm): Likewise.
25013         (__mul): Use 0.0 instead of zero.d.
25014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25015         mp_no value for 1.0 and 2.0.
25016         (norm): Use RADIXI instead of radixi.d.
25017         (denorm): Likewise.
25018         (__mul): Use 0.0 instead of zero.d.
25019
25020 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25021
25022         [BZ #14994]
25023         * math/s_casinh.c (__casinh): Reduce finite argument to first
25024         quadrant then set signs of results at the end.
25025         * math/s_casinhf.c (__casinhf): Likewise.
25026         * math/s_casinhl.c (__casinhl): Likewise.
25027         * math/libm-test.inc (casin_test): Add more tests.
25028         (casinh_test): Likewise.
25029         * sysdeps/i386/fpu/libm-test-ulps: Update.
25030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25031
25032 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25033
25034         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25035
25036         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25037
25038         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25039         declarations.
25040         (denorm): Likewise.
25041         (__mp_dbl): Likewise.
25042         (__inv): Likewise.
25043
25044         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25045         and adjust the header comment.
25046
25047         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25048         variable name from declaration.
25049
25050 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25051
25052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25053         Initialize COMMON_CPUID_INDEX_7 element.
25054         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25055         (CPUID_RTM): Likewise.
25056         (HAS_RTM): Likewise.
25057         (COMMON_CPUID_INDEX_7): New enum.
25058
25059 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25060
25061         [BZ #14981]
25062         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25063         size is zero, record memory as freed.
25064
25065 2013-01-03  Andreas Jaeger  <aj@suse.de>
25066
25067         * po/ia.po: Add new Interlingua translation.
25068
25069 2012-01-03  Allan McRae  <allan@archlinux.org>
25070
25071         * locale/programs/localedef.c: Fix description of '--posix' flag.
25072
25073 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25074
25075         * NEWS: Update dates in second copyright notice.
25076         * README: Update copyright dates in example.
25077         * manual/libc.texinfo: Update copyright dates.
25078         * scripts/test-installation.pl: Update copyright date in --version
25079         output.
25080
25081         * hurd/ctty-input.c: Fix copyright notice formatting.
25082         * hurd/ctty-output.c: Likewise.
25083         * hurd/dtable.c: Likewise.
25084         * hurd/hurd-raise.c: Likewise.
25085         * hurd/hurdprio.c: Likewise.
25086         * hurd/msgportdemux.c: Likewise.
25087         * misc/sys/file.h: Likewise.
25088         * misc/sys/ioctl.h: Likewise.
25089         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25090         * sysdeps/mach/hurd/chdir.c: Likewise.
25091         * sysdeps/mach/hurd/fchdir.c: Likewise.
25092         * sysdeps/mach/hurd/rename.c: Likewise.
25093         * sysdeps/mach/hurd/rmdir.c: Likewise.
25094         * sysdeps/mach/hurd/seekdir.c: Likewise.
25095         * sysdeps/mach/hurd/setsid.c: Likewise.
25096         * sysdeps/posix/wait3.c: Likewise.
25097
25098         * All files with FSF copyright notices: Update copyright dates
25099         using scripts/update-copyrights.
25100         * intl/plural.c: Regenerated.
25101         * locale/programs/charmap-kw.h: Likewise.
25102         * locale/programs/locfile-kw.h: Likewise.
25103
25104 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25105
25106         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25107         four values.
25108
25109         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25110         calculation loop and add branch prediction.
25111
25112         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25113         check access beyond bounds of m1np.
25114
25115         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25116         MPTWO.
25117         (__inv): Remove local variable MPTWO to use the global
25118         constant.
25119         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25120         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25121         variable MPTWO.
25122         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25123         MP3HALFS static const.
25124
25125 2013-01-01  David S. Miller  <davem@davemloft.net>
25126
25127         * po/ca.po: Update from translation team.
25128
25129 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25130
25131         * scripts/update-copyrights: New file.
25132         * Makeconfig: Reformat copyright notice.
25133         * ctype/ctype.h: Likewise.
25134         * debug/swprintf_chk.c: Likewise.
25135         * elf/dl-cache.c: Likewise.
25136         * elf/dl-debug.c: Likewise.
25137         * elf/dl-object.c: Likewise.
25138         * grp/initgroups.c: Likewise.
25139         * hurd/Makefile: Likewise.
25140         * hurd/hurd/signal.h: Likewise.
25141         * hurd/hurdfault.c: Likewise.
25142         * hurd/hurdioctl.c: Likewise.
25143         * hurd/hurdlookup.c: Likewise.
25144         * hurd/intr-msg.c: Likewise.
25145         * iconv/gconv_open.c: Likewise.
25146         * libio/swprintf.c: Likewise.
25147         * locale/lc-ctype.c: Likewise.
25148         * locale/nl_langinfo.c: Likewise.
25149         * mach/Machrules: Likewise.
25150         * mach/Makefile: Likewise.
25151         * malloc/obstack.h: Likewise.
25152         * manual/Makefile: Likewise.
25153         * manual/tsort.awk: Likewise.
25154         * misc/bits/stab.def: Likewise.
25155         * nis/nis_print_group_entry.c: Likewise.
25156         * nis/nis_table.c: Likewise.
25157         * nis/nss_compat/compat-pwd.c: Likewise.
25158         * nis/nss_compat/compat-spwd.c: Likewise.
25159         * po/Makefile: Likewise.
25160         * posix/fnmatch.c: Likewise.
25161         * posix/regex.h: Likewise.
25162         * resolv/Makefile: Likewise.
25163         * resolv/nss_dns/dns-network.c: Likewise.
25164         * resolv/res_hconf.c: Likewise.
25165         * scripts/gen-sorted.awk: Likewise.
25166         * soft-fp/soft-fp.h: Likewise.
25167         * stdio-common/printf.h: Likewise.
25168         * stdlib/monetary.h: Likewise.
25169         * stdlib/random.c: Likewise.
25170         * stdlib/random_r.c: Likewise.
25171         * sysdeps/generic/Makefile: Likewise.
25172         * sysdeps/gnu/Makefile: Likewise.
25173         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25174         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25175         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25176         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25177         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25179         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25180         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25181         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25182         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25183         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25184         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25185         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25186         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25187         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25188         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25189         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25190         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25191         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25192         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25193         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25194         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25195         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25196         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25197         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25198         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25199         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25200         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25201         * sysdeps/mach/hurd/errnos.awk: Likewise.
25202         * sysdeps/mach/hurd/fork.c: Likewise.
25203         * sysdeps/mach/hurd/getcwd.c: Likewise.
25204         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25205         * sysdeps/mach/hurd/mmap.c: Likewise.
25206         * sysdeps/mach/hurd/utimes.c: Likewise.
25207         * sysdeps/mach/hurd/xmknod.c: Likewise.
25208         * sysdeps/posix/profil.c: Likewise.
25209         * sysdeps/posix/readdir_r.c: Likewise.
25210         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25211         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25212         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25213         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25215         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25216         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25217         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25219         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25220         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25221         * sysdeps/pthread/lio_listio.c: Likewise.
25222         * sysdeps/sparc/dl-procinfo.h: Likewise.
25223         * sysdeps/unix/i386/sysdep.S: Likewise.
25224         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25225         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25226         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25227         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25229         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25230         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25231         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25232         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25233         * sysdeps/wordsize-32/divdi3.c: Likewise.
25234         * time/sys/time.h: Likewise.
25235         * wcsmbs/Makefile: Likewise.
25236
25237 2013-01-01  David S. Miller  <davem@davemloft.net>
25238
25239         * po/fr.po: Update from translation team.
25240
25241         * catgets/gencat.c: Update copyright year.
25242         * csu/version.c: Likewise.
25243         * debug/catchsegv.sh: Likewise.
25244         * debug/pcprofiledump.c: Likewise.
25245         * debug/xtrace.sh: Likewise.
25246         * elf/ldconfig.c: Likewise.
25247         * elf/ldd.bash.in: Likewise.
25248         * elf/pldd.c: Likewise.
25249         * elf/sotruss.ksh: Likewise.
25250         * elf/sprof.c: Likewise.
25251         * iconv/iconv_prog.c: Likewise.
25252         * iconv/iconvconfig.c: Likewise.
25253         * locale/programs/locale.c: Likewise.
25254         * locale/programs/localedef.c: Likewise.
25255         * login/programs/pt_chown.c: Likewise.
25256         * malloc/memusage.sh: Likewise.
25257         * malloc/memusagestat.c: Likewise.
25258         * malloc/mtrace.pl: Likewise.
25259         * nscd/nscd.c: Likewise.
25260         * nss/getent.c: Likewise.
25261         * nss/makedb.c: Likewise.
25262         * posix/getconf.c: Likewise.
25263
25264 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25265
25266         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25267         numbers.
25268
25269 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25270
25271         * math/bits/mathcalls.h (modf): Use __nonnull.
25272
25273 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25274
25275         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25276         (split): Use macro CN instead of the bare value.
25277         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25278         could be used.
25279         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25280         instead of the bare value.
25281         (power1): Likewise.
25282
25283 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25284
25285         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25286         __ATAN_TWOM.
25287         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25288
25289         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25290         their values.
25291         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25292         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25293         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25294         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25295
25296 2012-12-28  Andreas Jaeger  <aj@suse.de>
25297
25298         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25299         values are from Linux 3.7.
25300
25301         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25302         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25303
25304 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25305
25306         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25307         TRUE case.
25308
25309         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25310         (norm): Likewise.
25311         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25312         variables with preprocessor constants.
25313         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25314         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25315         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25316
25317 2012-12-27  Bruno Haible  <bruno@clisp.org>
25318
25319         [BZ #14317]
25320         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25321         only if needed.
25322
25323 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25324
25325         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25326         and use variable directly.
25327         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25328
25329         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25330         MPONE.
25331         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25332         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25333         variable MPONE.
25334         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25336         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25337         include directive.  Remove local variable MPONE.
25338         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25339         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25340         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25341
25342 2012-12-25  David S. Miller  <davem@davemloft.net>
25343
25344         * version.h (RELEASE): Set to "development".
25345         (VERSION): Set to "2.17.90".
25346         * NEWS: Add 2.18 section.
25347
25348 2012-12-21  David S. Miller  <davem@davemloft.net>
25349
25350         * po/hr.po: Update from translation team.
25351
25352 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25353
25354         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25355
25356 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25357
25358         * NEWS:  Mention new memcpy for MIPS.
25359
25360 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25361
25362         * manual/contrib.texi (Contributors): Spelling correction.
25363
25364 2012-12-15  David S. Miller  <davem@davemloft.net>
25365
25366         * po/ru.po: Update from translation team.
25367
25368 2012-12-13  David S. Miller  <davem@davemloft.net>
25369
25370         * NEWS: Mention IFUNC testsuite enhancements.
25371
25372         * po/pl.po: Update from translation team.
25373         * po/bg.po: Likewise.
25374
25375         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25376         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25377
25378 2012-12-11  David S. Miller  <davem@davemloft.net>
25379
25380         * po/sv.po: Update from translation team.
25381
25382         * po/vi.po: Update from translation team.
25383
25384         * po/cs.po: Update from translation team.
25385
25386         * po/de.po: Update from translation team.
25387         * po/eo.po: Likewise.
25388         * po/nl.po: Likewise.
25389
25390 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25391
25392         [BZ #14246]
25393         * manual/argp.texi (Argp Helper Functions): Move node to follow
25394         Argp Parsing State.
25395
25396         [BZ #14872]
25397         * manual/conf.texi (Limits on File System Capacity): Mention if
25398         terminating null is included in the max size.
25399
25400 2012-12-10  Andreas Jaeger  <aj@suse.de>
25401
25402         * po/cs.po: Update from translation team.
25403
25404 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25405
25406         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25407         void pointer and cast to uintptr_t.
25408         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25409         path.
25410         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25411         * sysdeps/s390/s390-64/memset.S: Likewise.
25412
25413 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25414
25415         [BZ #14833]
25416         * menual/message.texi (Message Translation): Fix typos.
25417         (Helper programs for gettext): Likewise.
25418
25419 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25420
25421         [BZ #14898]
25422         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25423         Change to -1.
25424
25425 2012-12-07  David S. Miller  <davem@davemloft.net>
25426
25427         * po/libc.pot: Update.
25428
25429 2012-12-07  Richard Henderson  <rth@redhat.com>
25430
25431         [BZ #10114]
25432         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25433         normal/normal case to before the switch.
25434         (_FP_DIV): Likewise.
25435
25436 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25437             Mike Frysinger  <vapier@gentoo.org>
25438
25439         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25440         check for __NR_fadvise64_64.
25441
25442 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25443
25444         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25445         0, not just to plain "0" as a statement.
25446         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25447         with cw.
25448
25449 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25450
25451         * NEWS: Use sourceware.org in Bugzilla URL.
25452
25453 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25454
25455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25456         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25457
25458         * stdio-common/tst-put-error.c (do_test): Add newline to the
25459         padded test to ensure flush.
25460
25461 2012-12-05  Jeff Law  <law@redhat.com>
25462
25463         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25464
25465 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25466
25467         * README: Don't refer to ports add-on as distributed separately.
25468         Mention AArch64 in list of systems supported in the ports add-on.
25469
25470         * LICENSES: Add more non-FSF copyright and license notices.
25471
25472         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25473         ((unused)).
25474
25475         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25476
25477         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25478         10000 as width of padded output.
25479
25480 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25481
25482         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25483
25484         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25485         variable LX with __attribute__ ((unused)).
25486         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25487         Likewise.
25488         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25489         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25490         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25491         with __attribute__ ((unused)).
25492
25493 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25494
25495         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25496
25497 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25498
25499         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25500         (CFLAGS-nldbl-acos.c): New variable.
25501         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25502         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25503         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25504         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25505         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25506         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25507         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25508         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25509         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25510         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25511         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25512         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25513         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25514         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25515         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25516         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25517         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25518         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25519         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25520         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25521         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25522         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25523         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25524         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25525         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25526         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25527         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25528         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25529         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25530         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25531         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25532         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25533         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25534         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25535         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25536         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25537         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25538         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25539         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25540         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25541         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25542         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25543         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25544         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25545         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25546         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25547         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25548         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25549         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25550         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25551         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25552         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25553         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25554         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25555         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25556         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25557         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25558         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25559         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25560         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25561         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25562         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25563         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25564         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25565         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25566         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25567         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25568         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25569         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25570         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25571         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25572         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25573         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25574         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25575         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25576         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25577         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25578         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25579         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25580         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25581         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25582         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25583         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25584         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25585         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25586         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25587         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25588         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25589         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25590         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25591         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25592         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25593         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25594         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25595         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25596         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25597         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25598
25599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25600         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25601
25602         [BZ #14914]
25603         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25604         whole low double instead of just low 47 bits when splitting values
25605         into two parts.
25606
25607 2012-12-03  Allan McRae  <allan@archlinux.org>
25608
25609         * manual/stdio.texi (Predefined Printf Handlers): Remove
25610         @hsep and @vsep usage.
25611
25612 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25613
25614         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25615         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25616
25617 2012-12-03  Jeff Law  <law@redhat.com>
25618
25619         * time/sys/time.h (settimeofday): Do not mark TV argument
25620         as __nonnull.
25621
25622 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25623
25624         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25625         when currently writing and seek to current position when not.
25626         * libio/Makefile (tests): Remove bug-fclose1.
25627         * libio/bug-fclose1.c: Delete.
25628
25629 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25630
25631         * manual/arith.texi (feenableexcept): Fix typo.
25632         (fedisableexcept): Likewise.
25633
25634 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25635
25636         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25637         second, differently-typed declaration, rather than a cast.
25638
25639 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25640
25641         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25642         * include/rpc/svc.h: ... here.
25643
25644 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25645
25646         [BZ #13013]
25647         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25648         depending n and resplen2 to catch cases where answer
25649         equals answerp2.
25650
25651 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25652
25653         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25654         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25655
25656 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25657
25658         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25659
25660 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25661
25662         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25663
25664 2012-11-28  Jeff Law  <law@redhat.com>
25665
25666         [BZ #13761]
25667         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25668         dataset_temporary.  Track alloca usage into alloca_used.
25669         If dataset is large allocate and release it via malloc/free.
25670
25671 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25672
25673         [BZ #14197]
25674         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25675
25676 2012-11-28  David S. Miller  <davem@davemloft.net>
25677
25678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25679
25680 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25681
25682         [BZ #14803]
25683         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25684         of pi/2 rounded to nearest to 64 bits.
25685         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25686         nearest to 64 bits.
25687         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25688         bits.
25689
25690 2012-11-28  Jeff Law <law@redhat.com>
25691             Martin Osvald <mosvald@redhat.com>
25692
25693         [BZ #14889]
25694         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25695         * sunrpc/svc.c: Include time.h.
25696         (__svc_accept_failed): New function.
25697         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25698         any reason other than EINTR, call __svc_accept_failed.
25699         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25700         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25701
25702 2012-11-28  Andreas Schwab  <schwab@suse.de>
25703
25704         * scripts/abilist.awk: Also handle indirect functions in .opd
25705         section.
25706
25707 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25708
25709         [BZ #13881]
25710         * sysdeps/x86/fpu/powl_helper.c: New file.
25711         * sysdeps/x86/fpu/Makefile: Likewise.
25712         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25713         (p3): New object.
25714         (__ieee754_powl): Use __powl_helper for finite arguments except
25715         integer exponents below 8.
25716         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25717         (p3): New object.
25718         (__ieee754_powl): Use __powl_helper for finite arguments except
25719         integer exponents below 8.
25720         * math/libm-test.inc (pow_test): Add more tests and enable some
25721         previously disabled tests.
25722         * sysdeps/i386/fpu/libm-test-ulps: Update.
25723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25724
25725 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25726             Carlos O'Donell  <carlos_odonell@mentor.com>
25727
25728         * nss/makedb.c (is_prime): Assert that input is odd and greater
25729         than 4.  Note that fact in a comment too.
25730         (next_prime): Add 4 to input.
25731
25732 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25733
25734         [BZ #11741]
25735         * libio/Makefile (tests): Add test case tst-fwrite-error.
25736         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25737         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25738         * libio/tst-fwrite-error.c: New test case.
25739
25740 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25741
25742         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25743         before casting to void *.
25744         * include/libc-internal.h (__pointer_type): New macro.
25745         (__integer_if_pointer_type_sub): Likewise.
25746         (__integer_if_pointer_type): Likewise.
25747         (cast_to_integer): Likewise.
25748         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25749         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25750         before casting to atomic64_t.
25751         (atomic_exchange_acq): Likewise.
25752         (__arch_exchange_and_add_body): Likewise.
25753         (__arch_add_body): Likewise.
25754         (atomic_add_negative): Likewise.
25755         (atomic_add_zero): Likewise.
25756
25757 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25758
25759         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25760         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25761         (add_fdes): Likewise.
25762         (linear_search_fdes): Likewise.
25763         (binary_search_unencoded_fdes): Likewise.
25764
25765 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25766
25767         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25768
25769 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25770
25771         * configure.in: Autodetect C++ header directories.
25772         * configure: Regenerated.
25773
25774 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25775
25776         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25777
25778 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25779
25780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25781
25782 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25783
25784         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25785         LDBL_MANT_DIG == 106]: Disable some tests.
25786         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25787         Likewise.
25788         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25789         Likewise.
25790
25791         [BZ #14871]
25792         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25793         input for small inputs.  Return +/- pi/2 for large inputs.
25794         * math/libm-test.inc (atan_test): Add more tests.
25795
25796         * sysdeps/generic/unwind-dw2-fde-glibc.c
25797         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25798         __attribute__ ((unused)).
25799
25800         [BZ #14645]
25801         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25802         x * y if x and y are nonzero and z is zero.
25803
25804         [BZ #14811]
25805         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25806         nonzero exponents with absolute value below 0x1p-117 to +/-
25807         0x1p-117.
25808
25809         [BZ #14869]
25810         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25811         up arguments below 2**-450, not just those below 2**-500.
25812         * math/libm-test.inc (hypot_test): Add another test.
25813
25814         [BZ #14868]
25815         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25816         Return a+b for ratio over 2**120, not 2**60.
25817         * math/libm-test.inc (hypot_test): Add another test.
25818
25819         * math/libm-test.inc (clog_test): Use
25820         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25821         (clog10_test): Likewise.
25822
25823         [BZ #6778]
25824         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25825
25826 2012-11-22  Andreas Schwab  <schwab@suse.de>
25827
25828         * sysdeps/i386/fpu/libm-test-ulps: Update.
25829
25830 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25831
25832         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25833         printf output with newline.
25834
25835 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25836
25837         [BZ #14865]
25838         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25839         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25840         -z nodlopen, -z initfirst and -z execstack support.
25841         * configure: Regenerated.
25842
25843         * elf/elf.h (DF_1_NODIRECT): New macro.
25844         (DF_1_IGNMULDEF): Likewise.
25845         (DF_1_NOKSYMS): Likewise.
25846         (DF_1_NOHDR): Likewise.
25847         (DF_1_EDITED): Likewise.
25848         (DF_1_NORELOC): Likewise.
25849         (DF_1_SYMINTPOSE): Likewise.
25850         (DF_1_GLOBAUDIT): Likewise.
25851         (DF_1_SINGLETON): Likewise.
25852         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25853         DT_1_SUPPORTED_MASK bits.
25854         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25855
25856 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25857
25858         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25859
25860 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25861
25862         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25863         macro.
25864
25865         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25866         (sendmmsg): Move declarations...
25867         * socket/sys/socket.h: ... here.
25868         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25869         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25870         include it from...
25871         * socket/recvmmsg.c: ... this new file.
25872         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25873         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25874         definition of __sendmmsg hidden.
25875         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25876         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25877         Move ENOSYS stub into and include it from...
25878         * socket/sendmmsg.c: ... this new file.
25879         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25880         (sysdep_routines): Move recvmmsg and sendmmsg...
25881         * socket/Makefile (routines): ... here.
25882         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25883         (GLIBC_PRIVATE): Add __sendmmsg.
25884         * include/sys/socket.h (__sendmmsg): Add declarations.
25885         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25886         sendmmsg.
25887
25888 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25889
25890         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25891         variable I1 with __attribute__ ((unused)).
25892         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25893
25894 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25895
25896         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25897         DUMMY variables with __attribute__ ((unused)).
25898
25899         * bits/byteswap.h: Include <bits/types.h>.
25900         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25901
25902 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25903
25904         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25905         string_t.  Do not manually set errno.
25906         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25907         length with __strnlen.  Make sure to both set errno and return it on
25908         failure.
25909
25910 2012-11-19  David S. Miller  <davem@davemloft.net>
25911
25912         With help from Joseph Myers.
25913         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25914         very large arguments properly.
25915         * math/libm-test.inc (atan_test): New tests.
25916         (atan2_test): New tests.
25917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25919
25920 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25921
25922         [BZ #14856]
25923         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25924         Define to 3.
25925
25926         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25927         [POSIX] (EADDRNOTAVAIL): Likewise.
25928         [POSIX] (EAFNOSUPPORT): Likewise.
25929         [POSIX] (EALREADY): Likewise.
25930         [POSIX] (ECONNABORTED): Likewise.
25931         [POSIX] (ECONNREFUSED): Likewise.
25932         [POSIX] (ECONNRESET): Likewise.
25933         [POSIX] (EDESTADDRREQ): Likewise.
25934         [POSIX] (EDQUOT): Likewise.
25935         [POSIX] (EHOSTUNREACH): Likewise.
25936         [POSIX] (EIDRM): Likewise.
25937         [POSIX] (EISCONN): Likewise.
25938         [POSIX] (ELOOP): Likewise.
25939         [POSIX] (EMULTIHOP): Likewise.
25940         [POSIX] (ENETDOWN): Likewise.
25941         [POSIX] (ENETUNREACH): Likewise.
25942         [POSIX] (ENOBUFS): Likewise.
25943         [POSIX] (ENODATA): Likewise.
25944         [POSIX] (ENOLINK): Likewise.
25945         [POSIX] (ENOMSG): Likewise.
25946         [POSIX] (ENOPROTOOPT): Likewise.
25947         [POSIX] (ENOSR): Likewise.
25948         [POSIX] (ENOSTR): Likewise.
25949         [POSIX] (ENOTCONN): Likewise.
25950         [POSIX] (ENOTSOCK): Likewise.
25951         [POSIX] (EOPNOTSUPP): Likewise.
25952         [POSIX] (EOVERFLOW): Likewise.
25953         [POSIX] (EPROTO): Likewise.
25954         [POSIX] (EPROTONOSUPPORT): Likewise.
25955         [POSIX] (EPROTOTYPE): Likewise.
25956         [POSIX] (ESTALE): Likewise.
25957         [POSIX] (ETIME): Likewise.
25958         [POSIX] (ETXTBSY): Likewise.
25959         [POSIX] (EWOULDBLOCK): Likewise.
25960         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25961         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25962         [POSIX] (SEEK_CUR): Likewise.
25963         [POSIX] (SEEK_END): Likewise.
25964         [POSIX || UNIX98] (mode_t): Do not require.
25965         [POSIX] (off_t): Likewise.
25966         [POSIX] (pid_t): Likewise.
25967         [POSIX] (sys/stat.h): Do not allow header.
25968         [POSIX] (unistd.h): Likewise.
25969         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25970         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25971         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25972         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25973         require.
25974         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25975         sigevent): Specify elements.
25976         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25977         entry.
25978         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25979         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25980
25981         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25982         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25983         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25984         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25985         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25986         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25987         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25988         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25989         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25990         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25991         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25992         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25993         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25994         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25995         Likewise.
25996         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25997         Likewise.
25998         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25999         Likewise.
26000         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26001         Likewise.
26002         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26003         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26004         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26005         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26006         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26007         Specify lower bound on value.
26008         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26009         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26010         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26011         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26012         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26013         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26014         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26015         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26016         value.
26017         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26018         as optional.
26019         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26020         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26021         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26022         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26023         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26024         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26025         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26026         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26027         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26028         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26029         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26030         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26031         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26032         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26033         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26034         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26035         entry.
26036         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26037         optional.
26038         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26039         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26040         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26041         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26042         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26043         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26044         Likewise.
26045         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26046         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26047         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26048         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26049         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26050         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26051         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26052         as optional.
26053         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26054         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26055         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26056         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26057         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26058         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26059         specify as optional.
26060         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26061         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26062         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26063         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26064         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26065         [XPG3] (NL_LANGMAX): Likewise.
26066         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26067         [POSIX || XPG3] (NL_NMAX): Likewise.
26068         [POSIX || XPG3] (NL_SETMAX): Likewise.
26069         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26070         [XPG3] (NZERO): Likewise.
26071         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26072         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26073         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26074         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26075         (REG_ERANGE): Expect.
26076         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26077         optional-constant.
26078         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26079         Use (void) in prototype.
26080         [POSIX] (*_t): Allow.
26081         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26082         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26083         (WRDE_BADVAL): Expect.
26084
26085         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26086         expect.
26087         [XPG3 || XPG4] (O_RSYNC): Likewise.
26088         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26089         Likewise.
26090         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26091         [XPG3 || XPG4] (sigqueue): Likewise.
26092         [XPG3 || XPG4] (sigtimedwait): Likewise.
26093         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26094         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26095         [XPG3 || XPG4] (vsnprintf): Likewise.
26096         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26097         Likewise.
26098         [XPG3 || XPG4] (blksize_t): Likewise.
26099         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26100         Likewise.
26101         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26102         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26103         [XPG3 || XPG4] (struct itimerspec): Likewise.
26104         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26105         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26106         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26107         [XPG3 || XPG4] (clockid_t): Likewise.
26108         [XPG3 || XPG4] (timer_t): Likewise.
26109         [XPG3 || XPG4] (clock_getres): Likewise.
26110         [XPG3 || XPG4] (clock_gettime): Likewise.
26111         [XPG3 || XPG4] (clock_settime): Likewise.
26112         [XPG3 || XPG4] (nanosleep): Likewise.
26113         [XPG3 || XPG4] (timer_create): Likewise.
26114         [XPG3 || XPG4] (timer_delete): Likewise.
26115         [XPG3 || XPG4] (timer_gettime): Likewise.
26116         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26117         [XPG3 || XPG4] (timer_settime): Likewise.
26118         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26119         [XPG3 || XPG4] (getlogin_r): Likewise.
26120         [XPG3 || XPG4] (pread): Likewise.
26121         [XPG3 || XPG4] (pthread_atfork): Likewise.
26122         [XPG3 || XPG4] (pwrite): Likewise.
26123
26124         [BZ #14835]
26125         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26126         <bits/siginfo.h>.
26127
26128 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26129
26130         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26131         finalizing MALLSTREAM.
26132
26133         * sysdeps/mach/hurd/syncfs.c: New file.
26134
26135 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26136
26137         [BZ #14719]
26138         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26139         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26140         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26141         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26142         (_nss_dns_gethostbyname4_r): Likewise.
26143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26144         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26145
26146 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26147
26148         [BZ #13763]
26149         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26150
26151 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26152
26153         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26154         * elf/cache.c (print_entry): Print ",AArch64" for
26155         FLAG_AARCH64_LIB64
26156
26157         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26158         * elf/cache.c (print_entry): Print ",hard-float" for
26159         FLAG_ARM_LIBHF.
26160
26161 2012-11-18  David S. Miller  <davem@davemloft.net>
26162
26163         With help from Joseph Myers.
26164         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26165         cutoff to 2**-13.
26166         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26167         cutoff to 2**-25.
26168         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26169         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26170         small.
26171         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26172         * math/libm-test.inc (y0_test): New tests.
26173         (y1_test): New tests.
26174         * sysdeps/i386/fpu/libm-test-ulps: Update.
26175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26177
26178 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26179
26180         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26181         64-bit targets.
26182         * configure: Regenerated.
26183
26184 2012-11-17  David S. Miller  <davem@davemloft.net>
26185
26186         [BZ #14811]
26187         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26188         nonzero exponents with absolute value below 0x1p-128 to +/-
26189         0x1p-128.
26190
26191 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26192
26193         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26194
26195         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26196
26197         * posix/getconf-speclist.c: New file.
26198         * posix/posix-envs.def: Likewise.
26199         * posix/confstr.c (START_ENV_GROUP): New macro.
26200         (END_ENV_GROUP): Likewise.
26201         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26202         (KNOWN_PRESENT_ENV_STRING): Likewise.
26203         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26204         (UNKNOWN_ENVIRONMENT): Likewise.
26205         (confstr): Include posix-envs.def instead of handling
26206         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26207         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26208         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26209         (END_ENV_GROUP): Likewise.
26210         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26211         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26212         (UNKNOWN_ENVIRONMENT): Likewise.
26213         (__sysconf): Include posix-envs.def instead of handling associated
26214         cases directly here.
26215         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26216         preprocessing getconf-speclist.c rather than running getconf or
26217         generating empty file.
26218
26219 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26220
26221         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26222
26223 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26224
26225         [BZ #14672]
26226         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26227
26228 2012-11-16  David S. Miller  <davem@davemloft.net>
26229
26230         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26231         smaller than LDBL_EPSILON/2.0L, just return xm1.
26232
26233 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26234
26235         * elf/tst-array1.c (init): Set constructor priority to 1000.
26236         (fini): Set destructor priority to 1000.
26237         * elf/tst-array2dep.c: Likewise.
26238
26239 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26240
26241         [BZ #11741]
26242         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26243         (_IO_new_file_xsputn): Also return EOF if none of the input
26244         data was written when overflow failed.
26245         * libio/iopadn.c (_IO_padn): Likewise.
26246         * libio/iowpadn.c (_IO_wpadn): Likewise.
26247         * stdio-common/tst-put-error.c: Add copyright notice.
26248         (do_test): Add case for printing padded string.
26249         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26250         _IO_padn returned error.
26251         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26252         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26253         return EOF.
26254
26255 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26256
26257         * libio/libioP.h: Add comment note that the references to C++
26258         bits are now obsolete.
26259
26260 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26261
26262         * math/libm-test.inc (check_complex): Use asprintf.
26263
26264 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26265
26266         * debug/pcprofiledump.c (print_version): Update copyright year.
26267         * malloc/memusagestat.c (print_version): Likewise.
26268
26269 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26270
26271         [BZ #14831]
26272         * elf/Makefile (tests): Add tst-audit8.
26273         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26274         ($(objpfx)tst-audit8.out): New target.
26275         (tst-audit8-ENV): New variable.
26276         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26277         audit if l_reloc_result is NULL.
26278         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26279         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26280         * elf/tst-audit8.c: New file.
26281
26282 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26283
26284         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26285         * misc/Makefile (CFLAGS-select.c): Define.
26286         * posix/Makefile (CFLAGS-pause.c): Define.
26287
26288 2012-11-13  David S. Miller  <davem@davemloft.net>
26289
26290         * crypt/Makefile: Move test targets after toplevel Rules
26291         inclusion.  Grab any necessary sysdep routines when linking.
26292         * crypt/md5.c (md5_process_block): Remove define, we will always
26293         name it __md5_process_block.
26294         (md5_finish_ctx): Update md5_process_block call.
26295         (md5_stream): Likewise.
26296         (md5_process_bytes): Likewise.
26297         (md5_process_block): Rename to __md5_process_block and move to ...
26298         * crypt/md5-block.c: ... here.
26299         * crypt/sha256.c (sha256_process_block): Move to ...
26300         * crypt/sha256-block.c: ... here.
26301         * crypt/sha512.c (sha512_process_block): Move to ...
26302         * crypt/sha512-block.c: ... here.
26303         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26304         path.
26305         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26306         * sysdeps/sparc/sparc64/multiarch/Makefile
26307         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26308         crypt subdir.
26309         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26310         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26311         multiarch changes.
26312         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26313         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26314         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26315         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26316         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26317         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26318         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26319         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26320         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26321         file.
26322         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26323         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26324         file.
26325         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26326
26327 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26328
26329         * timezone/tzselect.ksh: Update from tzcode git revision
26330         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26331         * timezone/zdump.c: Likewise.
26332         * timezone/zic.c: Likewise.
26333         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26334         in TZVERSION setting, not $(PKGVERSION).
26335         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26336         REPORT_BUGS_TO settings.
26337
26338         [BZ #14838]
26339         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26340         macro.
26341
26342 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26343
26344         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26345         detection to immediately after _FP_ROUND().
26346         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26347         bits are 0.
26348
26349 2012-11-11  David S. Miller  <davem@davemloft.net>
26350
26351         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26352         inttypes.h
26353         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26354         __close rather than their public counterparts.
26355
26356 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26357
26358         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26359         file.
26360         [UNIX98] (sem_timedwait): Do not expect.
26361         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26362         [XPG4 || UNIX98] (sockatmark): Do not expect.
26363         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26364         (clock_getcpuclockid): Do not expect.
26365         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26366         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26367         Do not expect.
26368         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26369         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26370         [UNIX98] (vwscanf): Likewise.
26371         [UNIX98] (vswscanf): Likewise.
26372
26373 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26374
26375         * timezone/version.h: Remove file.
26376         * timezone/README: Do not refer to version.h.
26377         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26378         $(objpfx)version.h.
26379         ($(objpfx)zdump.o): Likewise.
26380         ($(objpfx)version.h): New target.
26381
26382         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26383         2012i.
26384         * timezone/README: Don't mention modification to tzselect.ksh.
26385         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26386         work on unmodified tzselect.ksh.  Substitute version numbers in
26387         tzselect.ksh.
26388
26389         * Makefile (format-me): Remove.
26390         (INSTALL): Adjust indentation.  Use commands directly instead of
26391         using $(format-me).
26392
26393         * aclocal.m4 (ACX_PKGVERSION): New macro.
26394         (ACX_BUGURL): Likewise.
26395         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26396         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26397         (REPORT_BUGS_TO): Likewise.
26398         * configure: Regenerated.
26399         * config.h.in (PKGVERSION): New macro.
26400         (REPORT_BUGS_TO): Likewise.
26401         * config.make.in (PKGVERSION): New variable.
26402         (PKGVERSION_TEXI): Likewise.
26403         (REPORT_BUGS_TO): Likewise.
26404         (REPORT_BUGS_TEXI): Likewise.
26405         * Makefile (format-me): Use -I$(common-objpfx)manual.
26406         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26407         ($(common-objpfx)manual/%): New target.
26408         (manual/%): Remove target.
26409         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26410         (print_version): Use PKGVERSION.
26411         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26412         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26413         and REPORT_BUGS_TO.
26414         ($(objpfx)xtrace): Likewise.
26415         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26416         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26417         (print_version): Use PKGVERSION.
26418         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26419         (do_version): Use PKGVERSION.
26420         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26421         REPORT_BUGS_TO.
26422         (common-ldd-rewrite): Likewise.
26423         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26424         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26425         (print_version): Use PKGVERSION.
26426         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26427         * elf/pldd.c (argp_program_bug_address): Remove variable.
26428         (more_help): New function.
26429         (argp): Use more_help.
26430         (print_version): Use PKGVERSION.
26431         * elf/sln.c (main): Use PKGVERSION.
26432         (usage): Use REPORT_BUGS_TO.
26433         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26434         (top level): Use PKGVERSION.
26435         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26436         (print_version): Use PKGVERSION.
26437         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26438         (print_version): Use PKGVERSION.
26439         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26440         (print_version): Use PKGVERSION.
26441         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26442         (print_version): Use PKGVERSION.
26443         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26444         (print_version): Use PKGVERSION.
26445         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26446         (print_version): Use PKGVERSION.
26447         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26448         and BUGURL.
26449         ($(objpfx)memusage): Likewise.
26450         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26451         (do_version): Use PKGVERSION.
26452         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26453         (print_version): Use PKGVERSION.
26454         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26455         ($PKGVERSION): New variable.
26456         ($REPORT_BUGS_TO): Likewise.
26457         (usage): Use $REPORT_BUGS_TO.
26458         (top level): Use $PKGVERSION.
26459         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26460         ($(objpfx)pkgvers.texi): New rule.
26461         ($(objpfx)stamp-pkgvers): Likewise.
26462         * manual/install.texi: Include pkgvers.texi.
26463         (--with-pkgversion): Document new configure option.
26464         (--with-bugurl): Likewise.
26465         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26466         than necessarily for this particular distribution.  Use
26467         REPORT_BUGS_TO for where to report bugs.
26468         * INSTALL: Regenerated.
26469         * manual/libc.texinfo: Include pkgvers.texi.
26470         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26471         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26472         (print_version): Use PKGVERSION.
26473         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26474         (print_version): Use PKGVERSION.
26475         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26476         (print_version): Use PKGVERSION.
26477         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26478         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26479         macro.
26480         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26481         (print_version): Use PKGVERSION.
26482         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26483         (print_version): Use PKGVERSION.
26484         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26485         and PKGVERSION.
26486
26487         * timezone/checktab.awk: Update from tzcode 2012i.
26488         * timezone/ialloc.c: Likewise.
26489         * timezone/private.h: Likewise.
26490         * timezone/scheck.c: Likewise.
26491         * timezone/tzfile.h: Likewise.
26492         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26493         (TZVERSION): Hardcode tzcode version number.
26494         * timezone/zdump.c: Update from tzcode 2012i.
26495         * timezone/zic.c: Likewise.
26496         * timezone/version.h: New file.
26497         * timezone/README: Describe version.h.  Update upstream location.
26498
26499         [BZ #14824]
26500         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26501         (mktemp): Enable declaration.
26502         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26503         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26504         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26505         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26506         Likewise.
26507         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26508         Likewise.
26509         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26510         Likewise.
26511         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26512         Likewise.
26513         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26514         Likewise.
26515         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26516         Likewise.
26517
26518         [BZ #14821]
26519         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26520         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26521         for copies of such integer values.
26522         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26523         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26524
26525 2012-11-09  Andreas Jaeger  <aj@suse.de>
26526
26527         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26528         definitions and declarations that are provided by
26529         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26530
26531 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26532
26533         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26534         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26535         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26536         definition.
26537
26538 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26539
26540         * elf/elf.h: Update comment before AArch64 relocations.
26541
26542 2012-11-07  David S. Miller  <davem@davemloft.net>
26543
26544         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26545         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26546         (__start_context): Declare.
26547         (__makecontext_ret): Delete.
26548         (__makecontext): Hook up __start_context instead of
26549         __makecontext_ret.
26550         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26551         (sysdep_routines): Add __start_context when in stdlib.
26552
26553 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26554
26555         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26556         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26557         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26558         hardcoded "nm".
26559         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26560         (READELF): New variable.  Use it instead of hardcoded "readelf".
26561
26562 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26563
26564         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26565         * sysdeps/x86/Makefile: Here.
26566         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26567         * sysdeps/x86/tst-xmmymm.sh: This.
26568
26569 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26570
26571         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26572         expectations.
26573         [UNIX98] (pthread_barrier_t): Do not expect.
26574         [UNIX98] (pthread_barrierattr_t): Likewise.
26575         [UNIX98] (pthread_spinlock_t): Likewise.
26576         [UNIX98] (pthread_barrier_destroy): Likewise.
26577         [UNIX98] (pthread_barrier_init): Likewise.
26578         [UNIX98] (pthread_barrier_wait): Likewise.
26579         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26580         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26581         [UNIX98] (pthread_barrierattr_init): Likewise.
26582         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26583         [UNIX98] (pthread_getcpuclockid): Likewise.
26584         [UNIX98] (pthread_mutex_timedlock): Likewise.
26585         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26586         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26587         [UNIX98] (pthread_sigmask): Likewise.
26588         [UNIX98] (pthread_spin_destroy): Likewise.
26589         [UNIX98] (pthread_spin_init): Likewise.
26590         [UNIX98] (pthread_spin_lock): Likewise.
26591         [UNIX98] (pthread_spin_trylock): Likewise.
26592         [UNIX98] (pthread_spin_unlock): Likewise.
26593         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26594         Do not expect.
26595         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26596         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26597         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26598         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26599         [XPG3 || XPG4] (pthread_key_t): Likewise.
26600         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26601         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26602         [XPG3 || XPG4] (pthread_once_t): Likewise.
26603         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26604         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26605         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26606         [XPG3 || XPG4] (pthread_t): Likewise.
26607
26608         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26609         not expect.
26610         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26611
26612         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26613         Change function return type to int.
26614
26615         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26616         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26617         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26618         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26619         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26620         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26621         [!POSIX] (posix_madvise): Likewise.
26622         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26623         && !UNIX98].
26624         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26625         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26626         (mode_t): Likewise.
26627         (posix_mem_offset): Likewise.
26628         (posix_typed_mem_get_info): Likewise.
26629         (posix_typed_mem_open): Likewise.
26630
26631         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26632         Change condition to [XOPEN2K8].
26633
26634         * conform/conformtest.pl: Preprocess allow-header data with -x c
26635         instead of from stdin.
26636         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26637         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26638         [C99-based standards] (cerfc): Likewise.
26639         [C99-based standards] (cexp2): Likewise.
26640         [C99-based standards] (cexpm1): Likewise.
26641         [C99-based standards] (clog10): Likewise.
26642         [C99-based standards] (clog1p): Likewise.
26643         [C99-based standards] (clog2): Likewise.
26644         [C99-based standards] (clgamma): Likewise.
26645         [C99-based standards] (ctgamma): Likewise.
26646         [C99-based standards] (cerff): Likewise.
26647         [C99-based standards] (cerfcf): Likewise.
26648         [C99-based standards] (cexp2f): Likewise.
26649         [C99-based standards] (cexpm1f): Likewise.
26650         [C99-based standards] (clog10f): Likewise.
26651         [C99-based standards] (clog1pf): Likewise.
26652         [C99-based standards] (clog2f): Likewise.
26653         [C99-based standards] (clgammaf): Likewise.
26654         [C99-based standards] (ctgammaf): Likewise.
26655         [C99-based standards] (cerfl): Likewise.
26656         [C99-based standards] (cerfcl): Likewise.
26657         [C99-based standards] (cexp2l): Likewise.
26658         [C99-based standards] (cexpm1l): Likewise.
26659         [C99-based standards] (clog10l): Likewise.
26660         [C99-based standards] (clog1pl): Likewise.
26661         [C99-based standards] (clog2l): Likewise.
26662         [C99-based standards] (clgammal): Likewise.
26663         [C99-based standards] (ctgammal): Likewise.
26664         * conform/data/inttypes.h-data [C99-based standards]: Include
26665         stdint.h-data.  Remove all expectations for stdint.h contents.
26666         [C99-based standards] (PRI*): Do not allow.
26667         [C99-based standards] (SCN*): Likewise.
26668         [C99-based standards] (*_t): Likewise.
26669         [C99-based-standards] (PRId8): Expect macro.
26670         [C99-based-standards] (PRIi8): Likewise.
26671         [C99-based-standards] (PRIo8): Likewise.
26672         [C99-based-standards] (PRIu8): Likewise.
26673         [C99-based-standards] (PRIx8): Likewise.
26674         [C99-based-standards] (PRIX8): Likewise.
26675         [C99-based-standards] (SCNd8): Likewise.
26676         [C99-based-standards] (SCNi8): Likewise.
26677         [C99-based-standards] (SCNo8): Likewise.
26678         [C99-based-standards] (SCNu8): Likewise.
26679         [C99-based-standards] (SCNx8): Likewise.
26680         [C99-based-standards] (PRIdLEAST8): Likewise.
26681         [C99-based-standards] (PRIiLEAST8): Likewise.
26682         [C99-based-standards] (PRIoLEAST8): Likewise.
26683         [C99-based-standards] (PRIuLEAST8): Likewise.
26684         [C99-based-standards] (PRIxLEAST8): Likewise.
26685         [C99-based-standards] (PRIXLEAST8): Likewise.
26686         [C99-based-standards] (SCNdLEAST8): Likewise.
26687         [C99-based-standards] (SCNiLEAST8): Likewise.
26688         [C99-based-standards] (SCNoLEAST8): Likewise.
26689         [C99-based-standards] (SCNuLEAST8): Likewise.
26690         [C99-based-standards] (SCNxLEAST8): Likewise.
26691         [C99-based-standards] (PRIdFAST8): Likewise.
26692         [C99-based-standards] (PRIiFAST8): Likewise.
26693         [C99-based-standards] (PRIoFAST8): Likewise.
26694         [C99-based-standards] (PRIuFAST8): Likewise.
26695         [C99-based-standards] (PRIxFAST8): Likewise.
26696         [C99-based-standards] (PRIXFAST8): Likewise.
26697         [C99-based-standards] (SCNdFAST8): Likewise.
26698         [C99-based-standards] (SCNiFAST8): Likewise.
26699         [C99-based-standards] (SCNoFAST8): Likewise.
26700         [C99-based-standards] (SCNuFAST8): Likewise.
26701         [C99-based-standards] (SCNxFAST8): Likewise.
26702         [C99-based-standards] (PRId16): Likewise.
26703         [C99-based-standards] (PRIi16): Likewise.
26704         [C99-based-standards] (PRIo16): Likewise.
26705         [C99-based-standards] (PRIu16): Likewise.
26706         [C99-based-standards] (PRIx16): Likewise.
26707         [C99-based-standards] (PRIX16): Likewise.
26708         [C99-based-standards] (SCNd16): Likewise.
26709         [C99-based-standards] (SCNi16): Likewise.
26710         [C99-based-standards] (SCNo16): Likewise.
26711         [C99-based-standards] (SCNu16): Likewise.
26712         [C99-based-standards] (SCNx16): Likewise.
26713         [C99-based-standards] (PRIdLEAST16): Likewise.
26714         [C99-based-standards] (PRIiLEAST16): Likewise.
26715         [C99-based-standards] (PRIoLEAST16): Likewise.
26716         [C99-based-standards] (PRIuLEAST16): Likewise.
26717         [C99-based-standards] (PRIxLEAST16): Likewise.
26718         [C99-based-standards] (PRIXLEAST16): Likewise.
26719         [C99-based-standards] (SCNdLEAST16): Likewise.
26720         [C99-based-standards] (SCNiLEAST16): Likewise.
26721         [C99-based-standards] (SCNoLEAST16): Likewise.
26722         [C99-based-standards] (SCNuLEAST16): Likewise.
26723         [C99-based-standards] (SCNxLEAST16): Likewise.
26724         [C99-based-standards] (PRIdFAST16): Likewise.
26725         [C99-based-standards] (PRIiFAST16): Likewise.
26726         [C99-based-standards] (PRIoFAST16): Likewise.
26727         [C99-based-standards] (PRIuFAST16): Likewise.
26728         [C99-based-standards] (PRIxFAST16): Likewise.
26729         [C99-based-standards] (PRIXFAST16): Likewise.
26730         [C99-based-standards] (SCNdFAST16): Likewise.
26731         [C99-based-standards] (SCNiFAST16): Likewise.
26732         [C99-based-standards] (SCNoFAST16): Likewise.
26733         [C99-based-standards] (SCNuFAST16): Likewise.
26734         [C99-based-standards] (SCNxFAST16): Likewise.
26735         [C99-based-standards] (PRId32): Likewise.
26736         [C99-based-standards] (PRIi32): Likewise.
26737         [C99-based-standards] (PRIo32): Likewise.
26738         [C99-based-standards] (PRIu32): Likewise.
26739         [C99-based-standards] (PRIx32): Likewise.
26740         [C99-based-standards] (PRIX32): Likewise.
26741         [C99-based-standards] (SCNd32): Likewise.
26742         [C99-based-standards] (SCNi32): Likewise.
26743         [C99-based-standards] (SCNo32): Likewise.
26744         [C99-based-standards] (SCNu32): Likewise.
26745         [C99-based-standards] (SCNx32): Likewise.
26746         [C99-based-standards] (PRIdLEAST32): Likewise.
26747         [C99-based-standards] (PRIiLEAST32): Likewise.
26748         [C99-based-standards] (PRIoLEAST32): Likewise.
26749         [C99-based-standards] (PRIuLEAST32): Likewise.
26750         [C99-based-standards] (PRIxLEAST32): Likewise.
26751         [C99-based-standards] (PRIXLEAST32): Likewise.
26752         [C99-based-standards] (SCNdLEAST32): Likewise.
26753         [C99-based-standards] (SCNiLEAST32): Likewise.
26754         [C99-based-standards] (SCNoLEAST32): Likewise.
26755         [C99-based-standards] (SCNuLEAST32): Likewise.
26756         [C99-based-standards] (SCNxLEAST32): Likewise.
26757         [C99-based-standards] (PRIdFAST32): Likewise.
26758         [C99-based-standards] (PRIiFAST32): Likewise.
26759         [C99-based-standards] (PRIoFAST32): Likewise.
26760         [C99-based-standards] (PRIuFAST32): Likewise.
26761         [C99-based-standards] (PRIxFAST32): Likewise.
26762         [C99-based-standards] (PRIXFAST32): Likewise.
26763         [C99-based-standards] (SCNdFAST32): Likewise.
26764         [C99-based-standards] (SCNiFAST32): Likewise.
26765         [C99-based-standards] (SCNoFAST32): Likewise.
26766         [C99-based-standards] (SCNuFAST32): Likewise.
26767         [C99-based-standards] (SCNxFAST32): Likewise.
26768         [C99-based-standards] (PRId64): Likewise.
26769         [C99-based-standards] (PRIi64): Likewise.
26770         [C99-based-standards] (PRIo64): Likewise.
26771         [C99-based-standards] (PRIu64): Likewise.
26772         [C99-based-standards] (PRIx64): Likewise.
26773         [C99-based-standards] (PRIX64): Likewise.
26774         [C99-based-standards] (SCNd64): Likewise.
26775         [C99-based-standards] (SCNi64): Likewise.
26776         [C99-based-standards] (SCNo64): Likewise.
26777         [C99-based-standards] (SCNu64): Likewise.
26778         [C99-based-standards] (SCNx64): Likewise.
26779         [C99-based-standards] (PRIdLEAST64): Likewise.
26780         [C99-based-standards] (PRIiLEAST64): Likewise.
26781         [C99-based-standards] (PRIoLEAST64): Likewise.
26782         [C99-based-standards] (PRIuLEAST64): Likewise.
26783         [C99-based-standards] (PRIxLEAST64): Likewise.
26784         [C99-based-standards] (PRIXLEAST64): Likewise.
26785         [C99-based-standards] (SCNdLEAST64): Likewise.
26786         [C99-based-standards] (SCNiLEAST64): Likewise.
26787         [C99-based-standards] (SCNoLEAST64): Likewise.
26788         [C99-based-standards] (SCNuLEAST64): Likewise.
26789         [C99-based-standards] (SCNxLEAST64): Likewise.
26790         [C99-based-standards] (PRIdFAST64): Likewise.
26791         [C99-based-standards] (PRIiFAST64): Likewise.
26792         [C99-based-standards] (PRIoFAST64): Likewise.
26793         [C99-based-standards] (PRIuFAST64): Likewise.
26794         [C99-based-standards] (PRIxFAST64): Likewise.
26795         [C99-based-standards] (PRIXFAST64): Likewise.
26796         [C99-based-standards] (SCNdFAST64): Likewise.
26797         [C99-based-standards] (SCNiFAST64): Likewise.
26798         [C99-based-standards] (SCNoFAST64): Likewise.
26799         [C99-based-standards] (SCNuFAST64): Likewise.
26800         [C99-based-standards] (SCNxFAST64): Likewise.
26801         [C99-based-standards] (PRIdMAX): Likewise.
26802         [C99-based-standards] (PRIiMAX): Likewise.
26803         [C99-based-standards] (PRIoMAX): Likewise.
26804         [C99-based-standards] (PRIuMAX): Likewise.
26805         [C99-based-standards] (PRIxMAX): Likewise.
26806         [C99-based-standards] (PRIXMAX): Likewise.
26807         [C99-based-standards] (SCNdMAX): Likewise.
26808         [C99-based-standards] (SCNiMAX): Likewise.
26809         [C99-based-standards] (SCNoMAX): Likewise.
26810         [C99-based-standards] (SCNuMAX): Likewise.
26811         [C99-based-standards] (SCNxMAX): Likewise.
26812         [C99-based-standards] (PRIdPTR): Likewise.
26813         [C99-based-standards] (PRIiPTR): Likewise.
26814         [C99-based-standards] (PRIoPTR): Likewise.
26815         [C99-based-standards] (PRIuPTR): Likewise.
26816         [C99-based-standards] (PRIxPTR): Likewise.
26817         [C99-based-standards] (PRIXPTR): Likewise.
26818         [C99-based-standards] (SCNdPTR): Likewise.
26819         [C99-based-standards] (SCNiPTR): Likewise.
26820         [C99-based-standards] (SCNoPTR): Likewise.
26821         [C99-based-standards] (SCNuPTR): Likewise.
26822         [C99-based-standards] (SCNxPTR): Likewise.
26823         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26824         allow.
26825         * conform/data/stdint.h-data: Update comments to clarify
26826         requirements.
26827         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26828         type.
26829         [C99-based standards] (INT8_MAX): Likewise.
26830         [C99-based standards] (INT16_MIN): Likewise.
26831         [C99-based standards] (INT16_MAX): Likewise.
26832         [C99-based standards] (INT32_MIN): Likewise.
26833         [C99-based standards] (INT32_MAX): Likewise.
26834         [C99-based standards] (INT64_MIN): Likewise.
26835         [C99-based standards] (INT64_MAX): Likewise.
26836         [C99-based standards] (UINT8_MAX): Likewise.
26837         [C99-based standards] (UINT16_MAX): Likewise.
26838         [C99-based standards] (UINT32_MAX): Likewise.
26839         [C99-based standards] (UINT64_MAX): Likewise.
26840         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26841         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26842         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26843         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26844         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26845         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26846         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26847         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26848         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26849         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26850         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26851         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26852         [C99-based standards] (INT_FAST8_MIN): Likewise.
26853         [C99-based standards] (INT_FAST8_MAX): Likewise.
26854         [C99-based standards] (INT_FAST16_MIN): Likewise.
26855         [C99-based standards] (INT_FAST16_MAX): Likewise.
26856         [C99-based standards] (INT_FAST32_MIN): Likewise.
26857         [C99-based standards] (INT_FAST32_MAX): Likewise.
26858         [C99-based standards] (INT_FAST64_MIN): Likewise.
26859         [C99-based standards] (INT_FAST64_MAX): Likewise.
26860         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26861         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26862         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26863         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26864         [C99-based standards] (INTPTR_MIN): Likewise.
26865         [C99-based standards] (INTPTR_MAX): Likewise.
26866         [C99-based standards] (UINTPTR_MAX): Likewise.
26867         [C99-based standards] (INTMAX_MIN): Likewise.
26868         [C99-based standards] (INTMAX_MAX): Likewise.
26869         [C99-based standards] (UINTMAX_MAX): Likewise.
26870         [C99-based standards] (PTRDIFF_MIN): Likewise.
26871         [C99-based standards] (PTRDIFF_MAX): Likewise.
26872         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26873         [C99-based standards] (SIZE_MAX): Likewise.
26874         [C99-based standards] (WCHAR_MAX): Likewise.
26875         [C99-based standards] (WINT_MAX): Likewise.
26876         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26877         constraint on value.
26878         [C99-based standards] (WCHAR_MIN): Likewise.
26879         [C99-based standards] (WINT_MIN): Likewise.
26880         [C99-based standards] (*_t): Allow.
26881         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26882         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26883         Include math.h-data and complex.h-data.  Remove all expectations
26884         of math.h and complex.h contents.
26885         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26886         at end of line.
26887         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26888         (struct tm): Expect tag.
26889         [C99-based-standards] (wcstof): Expect function.
26890         [C99-based-standards] (wcstold): Likewise.
26891         [C99-based-standards] (wcstoll): Likewise.
26892         [C99-based-standards] (wcstoull): Likewise.
26893         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26894         macro-int-constant.  Specify type.
26895         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26896         constraint on value.
26897         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26898         Specify type.
26899         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26900         Specify value.
26901         [ISO C standards]: Do not allow headers.
26902         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26903         wcs[abcdefghijklmnopqrstuvwxyz]*.
26904         [ISO C standards] (*_t): Do not allow.
26905         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26906         Expect function.
26907         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26908         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26909         Specify type.
26910         [ISO C standards]: Do not allow headers.
26911         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26912         is[abcdefghijklmnopqrstuvwxyz]*.
26913         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26914         to[abcdefghijklmnopqrstuvwxyz]*.
26915         [ISO C standards] (*_t): Do not allow.
26916         * conform/data/stdalign.h-data: New file.
26917         * conform/data/stdbool.h-data: Likewise.
26918         * conform/data/stdnoreturn.h-data: Likewise.
26919
26920 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26921
26922         [BZ #14815]
26923         * manual/filesys.texi (Directory Entries): Typo fix.
26924         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26925
26926 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26927
26928         * elf/elf.h (EM_AARCH64): New macro.
26929         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26930         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26931         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26932         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26933         (R_AARCH64_TLSDESC): Likewise.
26934         (NT_ARM_TLS): Likewise.
26935         (NT_ARM_HW_BREAK): Likewise.
26936         (NT_ARM_HW_WATCH): Likewise.
26937
26938 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26939
26940         [BZ #14811]
26941         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26942         (__ieee754_powl): Saturate nonzero exponents with absolute value
26943         below 0x1p-79 to +/- 0x1p-79.
26944         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26945         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26946         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26947         nonzero exponents with absolute value below 0x1p-32 to +/-
26948         0x1p-32.
26949         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26950         (__ieee754_powl): Saturate nonzero exponents with absolute value
26951         below 0x1p-79 to +/- 0x1p-79.
26952         * math/libm-test.inc (pow_test): Add more tests.
26953
26954 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26955
26956         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26957         _dl_s390_cap_flags with kernel. Increase string length.
26958         (_dl_s390_platforms): Add z196 and zEC12.
26959
26960 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26961
26962         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26963         Change XOPEN21K to XOPEN2K.
26964
26965 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26966
26967         * string/memmove.c: Use memcpy when possible.
26968
26969 2012-11-06  Andreas Jaeger  <aj@suse.de>
26970
26971         * po/eo.po: Update from translation team.
26972
26973 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26974
26975         [BZ #14793]
26976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26977         exponent and small x and y exponents, scale x or y up.  Increase
26978         by 2 the exponent used in scaling up.
26979         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26980         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26981         * math/libm-test.inc (fma_test): Add more tests.
26982         (fma_test_towardzero): Likewise.
26983         (fma_test_downward): Likewise.
26984         (fma_test_upward): Likewise.
26985
26986 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26987
26988         [BZ #14805]
26989         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26990         fenv_t *.
26991
26992         [BZ #14801]
26993         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26994         namespace for names of struct fields.
26995         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26996         fenv_t fields.
26997         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26998         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26999
27000 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27001
27002         [BZ #3665]
27003         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27004
27005 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27006
27007         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27008         PTR_DEMANGLE.
27009
27010         [BZ #5246]
27011         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27012         PTR_DEMANGLE.
27013
27014 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27015
27016         [BZ #14797]
27017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27018         definitely overflow as x * y not x * y + z.
27019         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27020         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27021         * math/libm-test.inc (fma_test): Add more tests.
27022         (fma_test_towardzero): Likewise.
27023         (fma_test_downward): Likewise.
27024         (fma_test_upward): Likewise.
27025
27026 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27027
27028         [BZ #157]
27029
27030         * include/stub-tag.h: Remove file.
27031         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27032         '#include' of it.
27033         * manual/maint.texi (Porting): Don't reference it.
27034         * Makerules ($(objpfx)stubs): Likewise.
27035         * dirent/closedir.c: Don't include <stub-tag.h>.
27036         * dirent/dirfd.c: Likewise.
27037         * dirent/fdopendir.c: Likewise.
27038         * dirent/getdents.c: Likewise.
27039         * dirent/getdents64.c: Likewise.
27040         * dirent/opendir.c: Likewise.
27041         * dirent/readdir.c: Likewise.
27042         * dirent/readdir64.c: Likewise.
27043         * dirent/readdir64_r.c: Likewise.
27044         * dirent/readdir_r.c: Likewise.
27045         * dirent/rewinddir.c: Likewise.
27046         * dirent/seekdir.c: Likewise.
27047         * dirent/telldir.c: Likewise.
27048         * gmon/profil.c: Likewise.
27049         * grp/setgroups.c: Likewise.
27050         * inet/if_index.c: Likewise.
27051         * io/access.c: Likewise.
27052         * io/chdir.c: Likewise.
27053         * io/chmod.c: Likewise.
27054         * io/chown.c: Likewise.
27055         * io/close.c: Likewise.
27056         * io/dup.c: Likewise.
27057         * io/dup2.c: Likewise.
27058         * io/dup3.c: Likewise.
27059         * io/euidaccess.c: Likewise.
27060         * io/faccessat.c: Likewise.
27061         * io/fchdir.c: Likewise.
27062         * io/fchmod.c: Likewise.
27063         * io/fchmodat.c: Likewise.
27064         * io/fchown.c: Likewise.
27065         * io/fchownat.c: Likewise.
27066         * io/fcntl.c: Likewise.
27067         * io/flock.c: Likewise.
27068         * io/fstatfs.c: Likewise.
27069         * io/fstatfs64.c: Likewise.
27070         * io/fstatvfs.c: Likewise.
27071         * io/fstatvfs64.c: Likewise.
27072         * io/futimens.c: Likewise.
27073         * io/fxstat.c: Likewise.
27074         * io/fxstat64.c: Likewise.
27075         * io/fxstatat.c: Likewise.
27076         * io/fxstatat64.c: Likewise.
27077         * io/getcwd.c: Likewise.
27078         * io/isatty.c: Likewise.
27079         * io/lchmod.c: Likewise.
27080         * io/lchown.c: Likewise.
27081         * io/link.c: Likewise.
27082         * io/linkat.c: Likewise.
27083         * io/lseek.c: Likewise.
27084         * io/lseek64.c: Likewise.
27085         * io/lxstat64.c: Likewise.
27086         * io/mkdir.c: Likewise.
27087         * io/mkdirat.c: Likewise.
27088         * io/mkfifo.c: Likewise.
27089         * io/mkfifoat.c: Likewise.
27090         * io/open.c: Likewise.
27091         * io/open64.c: Likewise.
27092         * io/openat.c: Likewise.
27093         * io/openat64.c: Likewise.
27094         * io/pipe.c: Likewise.
27095         * io/pipe2.c: Likewise.
27096         * io/poll.c: Likewise.
27097         * io/posix_fadvise.c: Likewise.
27098         * io/posix_fadvise64.c: Likewise.
27099         * io/posix_fallocate.c: Likewise.
27100         * io/posix_fallocate64.c: Likewise.
27101         * io/read.c: Likewise.
27102         * io/readlink.c: Likewise.
27103         * io/readlinkat.c: Likewise.
27104         * io/rmdir.c: Likewise.
27105         * io/sendfile.c: Likewise.
27106         * io/sendfile64.c: Likewise.
27107         * io/statfs.c: Likewise.
27108         * io/statfs64.c: Likewise.
27109         * io/statvfs.c: Likewise.
27110         * io/statvfs64.c: Likewise.
27111         * io/symlink.c: Likewise.
27112         * io/symlinkat.c: Likewise.
27113         * io/ttyname.c: Likewise.
27114         * io/ttyname_r.c: Likewise.
27115         * io/umask.c: Likewise.
27116         * io/unlink.c: Likewise.
27117         * io/unlinkat.c: Likewise.
27118         * io/utime.c: Likewise.
27119         * io/utimensat.c: Likewise.
27120         * io/write.c: Likewise.
27121         * io/xmknod.c: Likewise.
27122         * io/xmknodat.c: Likewise.
27123         * io/xstat.c: Likewise.
27124         * io/xstat64.c: Likewise.
27125         * login/getpt.c: Likewise.
27126         * login/grantpt.c: Likewise.
27127         * login/unlockpt.c: Likewise.
27128         * math/e_acoshl.c: Likewise.
27129         * math/e_acosl.c: Likewise.
27130         * math/e_asinl.c: Likewise.
27131         * math/e_atan2l.c: Likewise.
27132         * math/e_atanhl.c: Likewise.
27133         * math/e_coshl.c: Likewise.
27134         * math/e_expl.c: Likewise.
27135         * math/e_fmodl.c: Likewise.
27136         * math/e_gammal_r.c: Likewise.
27137         * math/e_hypotl.c: Likewise.
27138         * math/e_j0l.c: Likewise.
27139         * math/e_j1l.c: Likewise.
27140         * math/e_jnl.c: Likewise.
27141         * math/e_lgammal_r.c: Likewise.
27142         * math/e_log10l.c: Likewise.
27143         * math/e_log2l.c: Likewise.
27144         * math/e_logl.c: Likewise.
27145         * math/e_powl.c: Likewise.
27146         * math/e_rem_pio2l.c: Likewise.
27147         * math/e_sinhl.c: Likewise.
27148         * math/e_sqrtl.c: Likewise.
27149         * math/fclrexcpt.c: Likewise.
27150         * math/fedisblxcpt.c: Likewise.
27151         * math/feenablxcpt.c: Likewise.
27152         * math/fegetenv.c: Likewise.
27153         * math/fegetexcept.c: Likewise.
27154         * math/fegetround.c: Likewise.
27155         * math/feholdexcpt.c: Likewise.
27156         * math/fesetenv.c: Likewise.
27157         * math/fesetround.c: Likewise.
27158         * math/feupdateenv.c: Likewise.
27159         * math/fgetexcptflg.c: Likewise.
27160         * math/fraiseexcpt.c: Likewise.
27161         * math/fsetexcptflg.c: Likewise.
27162         * math/ftestexcept.c: Likewise.
27163         * math/k_cosl.c: Likewise.
27164         * math/k_rem_pio2l.c: Likewise.
27165         * math/k_sinl.c: Likewise.
27166         * math/k_tanl.c: Likewise.
27167         * math/s_asinhl.c: Likewise.
27168         * math/s_atanl.c: Likewise.
27169         * math/s_cbrtl.c: Likewise.
27170         * math/s_erfl.c: Likewise.
27171         * math/s_expm1l.c: Likewise.
27172         * math/s_log1pl.c: Likewise.
27173         * math/s_tanhl.c: Likewise.
27174         * misc/acct.c: Likewise.
27175         * misc/brk.c: Likewise.
27176         * misc/chflags.c: Likewise.
27177         * misc/chroot.c: Likewise.
27178         * misc/fchflags.c: Likewise.
27179         * misc/fgetxattr.c: Likewise.
27180         * misc/flistxattr.c: Likewise.
27181         * misc/fremovexattr.c: Likewise.
27182         * misc/fsetxattr.c: Likewise.
27183         * misc/fsync.c: Likewise.
27184         * misc/ftruncate.c: Likewise.
27185         * misc/futimes.c: Likewise.
27186         * misc/futimesat.c: Likewise.
27187         * misc/getdomain.c: Likewise.
27188         * misc/getdtsz.c: Likewise.
27189         * misc/gethostid.c: Likewise.
27190         * misc/gethostname.c: Likewise.
27191         * misc/getloadavg.c: Likewise.
27192         * misc/getpagesize.c: Likewise.
27193         * misc/getsysstats.c: Likewise.
27194         * misc/getxattr.c: Likewise.
27195         * misc/gtty.c: Likewise.
27196         * misc/ioctl.c: Likewise.
27197         * misc/lgetxattr.c: Likewise.
27198         * misc/listxattr.c: Likewise.
27199         * misc/llistxattr.c: Likewise.
27200         * misc/lremovexattr.c: Likewise.
27201         * misc/lsetxattr.c: Likewise.
27202         * misc/lutimes.c: Likewise.
27203         * misc/madvise.c: Likewise.
27204         * misc/mincore.c: Likewise.
27205         * misc/mlock.c: Likewise.
27206         * misc/mlockall.c: Likewise.
27207         * misc/mmap.c: Likewise.
27208         * misc/mprotect.c: Likewise.
27209         * misc/msync.c: Likewise.
27210         * misc/munlock.c: Likewise.
27211         * misc/munlockall.c: Likewise.
27212         * misc/munmap.c: Likewise.
27213         * misc/preadv.c: Likewise.
27214         * misc/preadv64.c: Likewise.
27215         * misc/ptrace.c: Likewise.
27216         * misc/pwritev.c: Likewise.
27217         * misc/pwritev64.c: Likewise.
27218         * misc/readv.c: Likewise.
27219         * misc/reboot.c: Likewise.
27220         * misc/remap_file_pages.c: Likewise.
27221         * misc/removexattr.c: Likewise.
27222         * misc/revoke.c: Likewise.
27223         * misc/select.c: Likewise.
27224         * misc/setdomain.c: Likewise.
27225         * misc/setegid.c: Likewise.
27226         * misc/seteuid.c: Likewise.
27227         * misc/sethostid.c: Likewise.
27228         * misc/sethostname.c: Likewise.
27229         * misc/setregid.c: Likewise.
27230         * misc/setreuid.c: Likewise.
27231         * misc/setxattr.c: Likewise.
27232         * misc/sstk.c: Likewise.
27233         * misc/stty.c: Likewise.
27234         * misc/swapoff.c: Likewise.
27235         * misc/swapon.c: Likewise.
27236         * misc/sync.c: Likewise.
27237         * misc/syncfs.c: Likewise.
27238         * misc/syscall.c: Likewise.
27239         * misc/truncate.c: Likewise.
27240         * misc/ualarm.c: Likewise.
27241         * misc/usleep.c: Likewise.
27242         * misc/ustat.c: Likewise.
27243         * misc/utimes.c: Likewise.
27244         * misc/vhangup.c: Likewise.
27245         * misc/writev.c: Likewise.
27246         * posix/_exit.c: Likewise.
27247         * posix/alarm.c: Likewise.
27248         * posix/execve.c: Likewise.
27249         * posix/fexecve.c: Likewise.
27250         * posix/fork.c: Likewise.
27251         * posix/fpathconf.c: Likewise.
27252         * posix/getaddrinfo.c: Likewise.
27253         * posix/getegid.c: Likewise.
27254         * posix/geteuid.c: Likewise.
27255         * posix/getgid.c: Likewise.
27256         * posix/getgroups.c: Likewise.
27257         * posix/getlogin.c: Likewise.
27258         * posix/getlogin_r.c: Likewise.
27259         * posix/getpgid.c: Likewise.
27260         * posix/getpid.c: Likewise.
27261         * posix/getppid.c: Likewise.
27262         * posix/getresgid.c: Likewise.
27263         * posix/getresuid.c: Likewise.
27264         * posix/getsid.c: Likewise.
27265         * posix/getuid.c: Likewise.
27266         * posix/glob64.c: Likewise.
27267         * posix/nanosleep.c: Likewise.
27268         * posix/pathconf.c: Likewise.
27269         * posix/pause.c: Likewise.
27270         * posix/posix_madvise.c: Likewise.
27271         * posix/pread.c: Likewise.
27272         * posix/pread64.c: Likewise.
27273         * posix/pwrite.c: Likewise.
27274         * posix/pwrite64.c: Likewise.
27275         * posix/sched_getaffinity.c: Likewise.
27276         * posix/sched_getp.c: Likewise.
27277         * posix/sched_gets.c: Likewise.
27278         * posix/sched_primax.c: Likewise.
27279         * posix/sched_primin.c: Likewise.
27280         * posix/sched_rr_gi.c: Likewise.
27281         * posix/sched_setaffinity.c: Likewise.
27282         * posix/sched_setp.c: Likewise.
27283         * posix/sched_sets.c: Likewise.
27284         * posix/sched_yield.c: Likewise.
27285         * posix/setgid.c: Likewise.
27286         * posix/setlogin.c: Likewise.
27287         * posix/setpgid.c: Likewise.
27288         * posix/setresgid.c: Likewise.
27289         * posix/setresuid.c: Likewise.
27290         * posix/setsid.c: Likewise.
27291         * posix/setuid.c: Likewise.
27292         * posix/sleep.c: Likewise.
27293         * posix/spawni.c: Likewise.
27294         * posix/sysconf.c: Likewise.
27295         * posix/times.c: Likewise.
27296         * posix/wait.c: Likewise.
27297         * posix/wait3.c: Likewise.
27298         * posix/wait4.c: Likewise.
27299         * posix/waitpid.c: Likewise.
27300         * resolv/gai_sigqueue.c: Likewise.
27301         * resource/getpriority.c: Likewise.
27302         * resource/getrlimit.c: Likewise.
27303         * resource/getrusage.c: Likewise.
27304         * resource/nice.c: Likewise.
27305         * resource/setpriority.c: Likewise.
27306         * resource/setrlimit.c: Likewise.
27307         * resource/ulimit.c: Likewise.
27308         * rt/aio_cancel.c: Likewise.
27309         * rt/aio_fsync.c: Likewise.
27310         * rt/aio_read.c: Likewise.
27311         * rt/aio_sigqueue.c: Likewise.
27312         * rt/aio_suspend.c: Likewise.
27313         * rt/aio_write.c: Likewise.
27314         * rt/clock_getres.c: Likewise.
27315         * rt/clock_gettime.c: Likewise.
27316         * rt/clock_nanosleep.c: Likewise.
27317         * rt/clock_settime.c: Likewise.
27318         * rt/lio_listio.c: Likewise.
27319         * rt/mq_close.c: Likewise.
27320         * rt/mq_getattr.c: Likewise.
27321         * rt/mq_notify.c: Likewise.
27322         * rt/mq_open.c: Likewise.
27323         * rt/mq_receive.c: Likewise.
27324         * rt/mq_send.c: Likewise.
27325         * rt/mq_setattr.c: Likewise.
27326         * rt/mq_timedreceive.c: Likewise.
27327         * rt/mq_timedsend.c: Likewise.
27328         * rt/mq_unlink.c: Likewise.
27329         * rt/shm_open.c: Likewise.
27330         * rt/shm_unlink.c: Likewise.
27331         * rt/timer_create.c: Likewise.
27332         * rt/timer_delete.c: Likewise.
27333         * rt/timer_getoverr.c: Likewise.
27334         * rt/timer_gettime.c: Likewise.
27335         * rt/timer_settime.c: Likewise.
27336         * setjmp/__longjmp.c: Likewise.
27337         * setjmp/setjmp.c: Likewise.
27338         * signal/kill.c: Likewise.
27339         * signal/killpg.c: Likewise.
27340         * signal/raise.c: Likewise.
27341         * signal/sigaction.c: Likewise.
27342         * signal/sigaltstack.c: Likewise.
27343         * signal/sigblock.c: Likewise.
27344         * signal/sigignore.c: Likewise.
27345         * signal/sigintr.c: Likewise.
27346         * signal/signal.c: Likewise.
27347         * signal/sigpause.c: Likewise.
27348         * signal/sigpending.c: Likewise.
27349         * signal/sigqueue.c: Likewise.
27350         * signal/sigreturn.c: Likewise.
27351         * signal/sigset.c: Likewise.
27352         * signal/sigsetmask.c: Likewise.
27353         * signal/sigstack.c: Likewise.
27354         * signal/sigsuspend.c: Likewise.
27355         * signal/sigtimedwait.c: Likewise.
27356         * signal/sigvec.c: Likewise.
27357         * signal/sigwait.c: Likewise.
27358         * signal/sigwaitinfo.c: Likewise.
27359         * signal/sysv_signal.c: Likewise.
27360         * socket/accept.c: Likewise.
27361         * socket/accept4.c: Likewise.
27362         * socket/bind.c: Likewise.
27363         * socket/connect.c: Likewise.
27364         * socket/getpeername.c: Likewise.
27365         * socket/getsockname.c: Likewise.
27366         * socket/getsockopt.c: Likewise.
27367         * socket/isfdtype.c: Likewise.
27368         * socket/listen.c: Likewise.
27369         * socket/recv.c: Likewise.
27370         * socket/recvfrom.c: Likewise.
27371         * socket/recvmsg.c: Likewise.
27372         * socket/send.c: Likewise.
27373         * socket/sendmsg.c: Likewise.
27374         * socket/sendto.c: Likewise.
27375         * socket/setsockopt.c: Likewise.
27376         * socket/shutdown.c: Likewise.
27377         * socket/sockatmark.c: Likewise.
27378         * socket/socket.c: Likewise.
27379         * socket/socketpair.c: Likewise.
27380         * stdio-common/ctermid.c: Likewise.
27381         * stdio-common/cuserid.c: Likewise.
27382         * stdio-common/remove.c: Likewise.
27383         * stdio-common/rename.c: Likewise.
27384         * stdio-common/renameat.c: Likewise.
27385         * stdio-common/tempname.c: Likewise.
27386         * stdlib/getcontext.c: Likewise.
27387         * stdlib/makecontext.c: Likewise.
27388         * stdlib/setcontext.c: Likewise.
27389         * stdlib/swapcontext.c: Likewise.
27390         * stdlib/system.c: Likewise.
27391         * streams/fattach.c: Likewise.
27392         * streams/fdetach.c: Likewise.
27393         * streams/getmsg.c: Likewise.
27394         * streams/getpmsg.c: Likewise.
27395         * streams/putmsg.c: Likewise.
27396         * streams/putpmsg.c: Likewise.
27397         * sysdeps/unix/bsd/getpt.c: Likewise.
27398         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27399         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27400         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27402         Likewise.
27403         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27404         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27405         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27406         * sysvipc/msgctl.c: Likewise.
27407         * sysvipc/msgget.c: Likewise.
27408         * sysvipc/msgrcv.c: Likewise.
27409         * sysvipc/msgsnd.c: Likewise.
27410         * sysvipc/semctl.c: Likewise.
27411         * sysvipc/semget.c: Likewise.
27412         * sysvipc/semop.c: Likewise.
27413         * sysvipc/semtimedop.c: Likewise.
27414         * sysvipc/shmat.c: Likewise.
27415         * sysvipc/shmctl.c: Likewise.
27416         * sysvipc/shmdt.c: Likewise.
27417         * sysvipc/shmget.c: Likewise.
27418         * termios/tcdrain.c: Likewise.
27419         * termios/tcflow.c: Likewise.
27420         * termios/tcflush.c: Likewise.
27421         * termios/tcgetattr.c: Likewise.
27422         * termios/tcgetpgrp.c: Likewise.
27423         * termios/tcsendbrk.c: Likewise.
27424         * termios/tcsetattr.c: Likewise.
27425         * termios/tcsetpgrp.c: Likewise.
27426         * time/adjtime.c: Likewise.
27427         * time/clock.c: Likewise.
27428         * time/getitimer.c: Likewise.
27429         * time/gettimeofday.c: Likewise.
27430         * time/setitimer.c: Likewise.
27431         * time/settimeofday.c: Likewise.
27432         * time/stime.c: Likewise.
27433         * time/time.c: Likewise.
27434
27435 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27436
27437         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27438         /usr/old/bin.
27439
27440         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27441         instead of spaces.
27442         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27443
27444 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27445
27446         [BZ #14796]
27447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27448         FE_TONEAREST before applying Dekker multiplication and Knuth
27449         addition.  Clear inexact exceptions and check for exact zero
27450         results afterwards.
27451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27452         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27453         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27454         * math/libm-test.inc (fma_test): Add more tests.
27455         (fma_test_towardzero): Likewise.
27456         (fma_test_downward): Likewise.
27457         (fma_test_upward): Likewise.
27458         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27459         function.
27460         (libc_fesetround): New macro.
27461         (libc_fesetroundf): Likewise.
27462         (libc_fesetroundl): Likewise.
27463         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27464         function.
27465         (libc_fesetround_387): Likewise.
27466         (libc_fesetroundf): New macro.
27467         (libc_fesetround): Likewise.
27468         (libc_fesetroundl): Likewise.
27469         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27470         function.
27471         (libc_fesetroundf): New macro.
27472         (libc_fesetround): Likewise.
27473         (libc_fesetroundl): Likewise.
27474         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27475         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27476         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27477         libm_hidden_ver.
27478         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27479         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27480         libm_hidden_def.
27481         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27482         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27483         libm_hidden_ver.
27484         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27485         libm_hidden_def.
27486
27487         [BZ #3439]
27488         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27489         integer constant usable in #if and use that to give value to enum
27490         constant.
27491         (FE_DIVBYZERO): Likewise.
27492         (FE_UNDERFLOW): Likewise.
27493         (FE_OVERFLOW): Likewise.
27494         (FE_INVALID): Likewise.
27495         (FE_INVALID_SNAN): Likewise.
27496         (FE_INVALID_ISI): Likewise.
27497         (FE_INVALID_IDI): Likewise.
27498         (FE_INVALID_ZDZ): Likewise.
27499         (FE_INVALID_IMZ): Likewise.
27500         (FE_INVALID_COMPARE): Likewise.
27501         (FE_INVALID_SOFTWARE): Likewise.
27502         (FE_INVALID_SQRT): Likewise.
27503         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27504         (FE_TONEAREST): Likewise.
27505         (FE_TOWARDZERO): Likewise.
27506         (FE_UPWARD): Likewise.
27507         (FE_DOWNWARD): Likewise.
27508         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27509         (FE_DIVBYZERO): Likewise.
27510         (FE_OVERFLOW): Likewise.
27511         (FE_UNDERFLOW): Likewise.
27512         (FE_INEXACT): Likewise.
27513         (FE_TONEAREST): Likewise.
27514         (FE_DOWNWARD): Likewise.
27515         (FE_UPWARD): Likewise.
27516         (FE_TOWARDZERO): Likewise.
27517         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27518         (FE_UNDERFLOW): Likewise.
27519         (FE_OVERFLOW): Likewise.
27520         (FE_DIVBYZERO): Likewise.
27521         (FE_INVALID): Likewise.
27522         (FE_TONEAREST): Likewise.
27523         (FE_TOWARDZERO): Likewise.
27524         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27525         (FE_OVERFLOW): Likewise.
27526         (FE_UNDERFLOW): Likewise.
27527         (FE_DIVBYZERO): Likewise.
27528         (FE_INEXACT): Likewise.
27529         (FE_TONEAREST): Likewise.
27530         (FE_TOWARDZERO): Likewise.
27531         (FE_UPWARD): Likewise.
27532         (FE_DOWNWARD): Likewise.
27533         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27534         (FE_DIVBYZERO): Likewise.
27535         (FE_OVERFLOW): Likewise.
27536         (FE_UNDERFLOW): Likewise.
27537         (FE_INEXACT): Likewise.
27538         (FE_TONEAREST): Likewise.
27539         (FE_DOWNWARD): Likewise.
27540         (FE_UPWARD): Likewise.
27541         (FE_TOWARDZERO): Likewise.
27542
27543 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27544
27545         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27546
27547 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27548
27549         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27550         commands.  Quote $PWD.
27551         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27552         -x" by "export".
27553         (remove_newlines): Remove.
27554
27555 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27556
27557         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27558         * stdlib/stdlib.h (atof): Moved to ...
27559         * include/bits/stdlib-float.h: Here.  New file.
27560         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27561         * stdlib/bits/stdlib-float.h: New file.
27562         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27563         -mno-sse -mno-mmx.
27564         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27565         <xmmintrin.h>.
27566
27567 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27568
27569         * conform/conformtest.pl (@headers): Add fenv.h.
27570         * conform/data/fenv.h-data: New file.
27571         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27572         include of <math/fenv.h>.
27573
27574         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27575         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27576         && !UNIX98].  Enables tests for XOPEN2K8.
27577         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27578         POSIX2008]: Likewise.
27579
27580         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27581         (struct rusage): Do not expect type or its members.
27582
27583         [BZ #3439]
27584         * math/math.h (FP_NAN): Define macro to integer constant usable in
27585         #if and use that to give value to enum constant.
27586         (FP_INFINITE): Likewise.
27587         (FP_ZERO): Likewise.
27588         (FP_SUBNORMAL): Likewise.
27589         (FP_NORMAL): Likewise.
27590
27591 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27592
27593         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27594         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27595         arguments.
27596
27597 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27598
27599         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27600         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27601         autoconf-time if not.
27602         * configure.in: Remove AC_PREREQ.
27603
27604 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27605
27606         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27607         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27608         of the internal implementation.
27609
27610 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27611
27612         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27613         except include of <misc/sys/syslog.h>.
27614
27615 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27616
27617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27618         function returns with a NULL context exit with zero.
27619
27620 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27621
27622         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27623
27624 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27625
27626         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27627         (run_program_cmd): This.
27628         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27629         (tst_langinfo): New variable.  Use it.
27630
27631 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27632
27633         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27634         floating point opcodes.
27635
27636 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27637
27638         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27639         variable.
27640
27641         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27642
27643         * sysdeps/mach/hurd/powerpc: Remove directory.
27644         * sysdeps/mach/powerpc: Likewise.
27645
27646 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27647
27648         * scripts/check-local-headers.sh: Ignore c++ headers.
27649
27650 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27651
27652         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27653         __libc_cleanup_region_start argument.
27654
27655 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27656
27657         [BZ #14784]
27658         [BZ #14785]
27659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27660         x * y using scaling, not as x * y + z.
27661         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27662         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27663         * math/libm-test.inc (fma_test): Add more tests.
27664         (fma_test_towardzero): Likewise.
27665         (fma_test_downward): Likewise.
27666         (fma_test_upward): Likewise.
27667
27668 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27669
27670         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27671
27672 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27673
27674         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27675         New variable.
27676
27677 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27678
27679         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27680
27681 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27682
27683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27684         Fix sort order.
27685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27686         Likewise.
27687
27688 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27689
27690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27691         Fix the order of the list for glibc 2.17.
27692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27693         Likewise.
27694
27695 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27696
27697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27698
27699 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27700
27701         [BZ #14610]
27702         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27703         for low part of x being zero before using __atanl (y).
27704         * math/libm-test.inc (atan2_test): Add another test.
27705
27706         * manual/install.texi (Configuring and compiling): Document
27707         general use of test-wrapper and test-wrapper-env.
27708         * INSTALL: Regenerated.
27709
27710         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27711         (__fma): Do not extract and scale down low bits on after-rounding
27712         systems when result rounded to normal precision would have normal
27713         exponent.
27714         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27715         (__fmal): Do not extract and scale down low bits on after-rounding
27716         systems when result rounded to normal precision would have normal
27717         exponent.
27718         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27719         (__fmal): Do not extract and scale down low bits on after-rounding
27720         systems when result rounded to normal precision would have normal
27721         exponent.
27722         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27723         macro.
27724         (fma_test): Add more tests.
27725         (fma_test_towardzero): Likewise.
27726         (fma_test_downward): Likewise.
27727         (fma_test_upward): Likewise.
27728
27729 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27730
27731         * sysdeps/i386/tininess.h: Renamed to ...
27732         * sysdeps/x86/tininess.h: This.
27733         * sysdeps/x86_64/tininess.h: Removed.
27734
27735 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27736
27737         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27738         input.  Use $(build-program-cmd).
27739         ($(objpfx)tst-array1-static.out): Likewise.
27740         ($(objpfx)tst-array2.out): Likewise.
27741         ($(objpfx)tst-array3.out): Likewise.
27742         ($(objpfx)tst-array4.out): Likewise.
27743         ($(objpfx)tst-array5.out): Likewise.
27744         ($(objpfx)tst-array5-static.out): Likewise.
27745
27746 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27747
27748         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27749         if defined.
27750
27751         * nss/nsswitch.h (nss_interface_function): Provide new
27752         macro for use with NSS functions.
27753         * grp/initgroups.c: Use new macro.
27754         * nss/getXXbyYY.c: Likewise.
27755         * nss/getXXbyYY_r.c: Likewise.
27756         * nss/getXXent.c: Likewise.
27757         * nss/getXXent_r.c: Likewise.
27758         * sysdeps/posix/getaddrinfo.c: Likewise.
27759
27760 2012-10-30  Andreas Jaeger  <aj@suse.de>
27761
27762         * po/ru.po: Update Russion translation from translation project.
27763
27764 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27765
27766         [BZ #14152]
27767         [BZ #14783]
27768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27769         result and shift together with sticky bit instead of replicating
27770         round-to-nearest rounding.
27771         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27772         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27773         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27774         missing underflow exceptions.
27775         (fma_test_towardzero): Add more tests.
27776         (fma_test_downward): Likewise.
27777         (fma_test_upward): Likewise.
27778
27779         [BZ #14047]
27780         * sysdeps/generic/tininess.h: New file.
27781         * sysdeps/i386/tininess.h: Likewise.
27782         * sysdeps/sh/tininess.h: Likewise.
27783         * sysdeps/x86_64/tininess.h: Likewise.
27784         * stdlib/tst-strtod-underflow.c: Likewise.
27785         * stdlib/tst-tininess.c: Likewise.
27786         * stdlib/strtod_l.c: Include <tininess.h>.
27787         (round_and_return): Do not set errno for exact underflow cases.
27788         Force an underflow exception when setting errno for underflow.
27789         Determine underflow based on rounding to normal precision if
27790         TININESS_AFTER_ROUNDING.
27791         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27792         ERANGE for exact underflow cases.
27793         * stdlib/Makefile (tests): Add tst-tininess and
27794         tst-strtod-underflow.
27795         ($(objpfx)tst-tininess): Use $(link-libm).
27796         ($(objpfx)tst-strtod-underflow): Likewise.
27797
27798 2012-10-30  Andreas Jaeger  <aj@suse.de>
27799
27800         [BZ#14767]
27801         * elf/Makefile (tests): Remove conditional for have-initfini-array
27802         since this is now always required and the variable does not exist
27803         anymore.
27804         (tests-static): Likewise.
27805         (modules-names): Likewise.
27806
27807         * po/eo.po: Add Esperanto translation from translation project.
27808
27809         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27810         merged with constructor/destructor.
27811         (init_array): Likewise.
27812         * elf/tst-array2dep.c (fini_array): Likewise.
27813         (init_array): Likewise.
27814
27815 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27816
27817         * manual/message.texi: Delete @cartouche tags.
27818
27819 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27820
27821         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27822         EOPNOTSUPP.
27823         * sysdeps/mach/hurd/fsync.c: Likewise.
27824
27825         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27826         [_POSIX_REALTIME_SIGNALS]: Change condition to
27827         [_POSIX_REALTIME_SIGNALS > 0].
27828
27829 2012-10-27  Andreas Jaeger  <aj@suse.de>
27830
27831         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27832         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27833         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27834         [__WORDSIZE != 64]: Likewise.
27835
27836 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27837
27838         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27839         *  iconvdata/tst-tables.sh: Likewise.
27840
27841 2012-10-25  David S. Miller  <davem@davemloft.net>
27842
27843         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27844         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27845         of strtoull.
27846
27847         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27848         ifunc-impl-list.c
27849         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27850         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27851         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27852         file.
27853
27854 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27855
27856         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27857         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27858         __getdirentries.
27859
27860 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27861             Jim Blandy  <jimb@codesourcery.com>
27862
27863         * scripts/cross-test-ssh.sh: New file.
27864         * manual/install.texi (Configuring and compiling): Document use of
27865         cross-test-ssh.sh.
27866         * INSTALL: Regenerated.
27867
27868 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27869
27870         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27871         EOPNOTSUPP.
27872
27873 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27874
27875         * Makeconfig (run-program-prefix): Fix comment.
27876
27877 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27878             Jim Blandy  <jimb@codesourcery.com>
27879
27880         * Makeconfig (test-wrapper): New variable,
27881         (test-wrapper-env): Likewise.
27882         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27883         (run-built-tests): Define to yes.
27884         (run-program-prefix): Use $(test-wrapper).
27885         (built-program-cmd): Likewise.
27886         * Rules (make-test-out): Use $(test-wrapper-env) and
27887         $(host-built-program-cmd).
27888         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27889         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27890         tst-pathopt.sh.
27891         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27892         $(test-wrapper-env) to tst-rtld-load-self.sh.
27893         ($(objpfx)order2.out): Use $(test-wrapper).
27894         ($(objpfx)tst-initorder.out): Likewise.
27895         ($(objpfx)tst-initorder2.out): Likewise.
27896         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27897         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27898         (test_wrapper_env): New variable.  Use it to run ld.so.
27899         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27900         Use it to run ld.so.
27901         (test_wrapper_env): Likewise.
27902         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27903         $(test-wrapper) to run-iconv-test.sh.
27904         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27905         (ICONV): Use $test_wrapper.
27906         * posix/Makefile ($(objpfx)globtest.out): Pass
27907         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27908         globtest.sh, not $(run-program-prefix).
27909         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27910         (test_wrapper): Likewise.
27911         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27912         set together with run_via_rtld_prefix.
27913         (run_program_prefix): Define in terms of test_wrapper and
27914         run_via_rtld_prefix.
27915
27916 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27917
27918         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27919         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27920         Targets removed.
27921
27922         [BZ #14743]
27923         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27924         Declare __clock_getres, __clock_gettime, __clock_settime,
27925         __clock_nanosleep, and __clock_getcpuclockid.
27926         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27927         Remove librt_hidden_def (clock_gettime).
27928         * sysdeps/unix/clock_gettime.c: Likewise.
27929         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27930         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27931         * rt/clock_getres.c: Define __clock_getres as an alias.
27932         * sysdeps/posix/clock_getres.c: Likewise.
27933         * rt/clock_settime.c: Define __clock_settime as an alias.
27934         * sysdeps/unix/clock_settime.c: Likewise.
27935         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27936         * sysdeps/unix/clock_nanosleep.c: Likewise.
27937         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27938         * rt/clock-compat.c: New file.
27939         * rt/Makefile (librt-routines): Add clock-compat and move
27940         $(clock-routines) to ...
27941         (routines): ... here, new variable.
27942         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27943         Don't add get_clockfreq here.
27944         * rt/Versions (libc: GLIBC_2.17): New version set.
27945         Add clock_* symbols here.
27946         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27947         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27948         (GLIBC_2.17): Add clock_* symbols.
27949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27951         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27953         Likewise.
27954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27955         Likewise.
27956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27960         * NEWS: Mention the move.
27961
27962         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27963         Use __open, __read, __close rather than their public counterparts.
27964         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27965         (__get_clockfreq_via_cpuinfo): Likewise.
27966         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27967         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27968
27969         * config.h.in (HAVE_IFUNC): New #undef.
27970         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27971         was successful.
27972         * configure: Regenerated.
27973
27974 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27975
27976         * configure.in: Move READELF check to start of file.
27977         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27978         libc_cv_asm_gnu_indirect_function in the process.
27979         * configure: Regenerated.
27980
27981 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27982
27983         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27984         send the output to /dev/null.
27985         (libc_cv_cc_with_libunwind): Likewise.
27986         (libc_cv_as_noexecstack): Likewise.
27987         * configure: Regenerate.
27988
27989 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27990
27991         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27992
27993         * posix/globtest.sh (TMPDIR): Do not set.
27994         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27995         (testout): Likewise.
27996
27997 2012-10-24  Andreas Jaeger  <aj@suse.de>
27998
27999         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28000         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28001         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28002         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28003         posix_fadvise64, posix_fallocate64.
28004
28005         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28006         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28007         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28008         Likewise.
28009         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28010         Likewise.
28011         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28012
28013         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28014         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28015         <bits/fcntl-linux.h>.
28016         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28017
28018         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28019         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28020         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28021         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28022         [__WORDSIZE != 64]: Likewise.
28023
28024 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28025
28026         * Makeconfig (run-built-tests): New variable.
28027         * Rules [$(cross-compiling) = yes]: Change condition to
28028         [$(run-built-tests) = no].
28029         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28030         to [$(run-built-tests) = yes].
28031         * elf/Makefile [$(cross-compiling) = no]: Likewise
28032         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28033         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28034         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28035         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28036         * io/Makefile [$(cross-compiling) = no]: Likewise.
28037         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28038         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28039         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28040         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28041         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28042         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28043         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28044         * string/Makefile [$(cross-compiling) = no]: Likewise.
28045
28046         * posix/Makefile ($(objpfx)globtest.out): Pass
28047         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28048         $(rtld-installed-name).
28049         * posix/globtest.sh (elf_objpfx): Remove variable.
28050         (rtld_installed_name): Likewise.
28051         (library_path): Likewise.
28052         (run_program_prefix): New variable.  Use for running globtest
28053         binary.
28054
28055 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28056             Joseph Myers  <joseph@codesourcery.com>
28057
28058         * Makeconfig (host-built-program-cmd): New variable.
28059         * elf/Makefile (tst-stackguard1-ARGS): Use
28060         $(host-built-program-cmd).
28061         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28062         (tst-spawn-ARGS): Likewise.
28063         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28064
28065 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28066             Jim Blandy  <jimb@codesourcery.com>
28067
28068         * Makeconfig (run-via-rtld-prefix): New variable.
28069         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28070         (built-program-cmd): Likewise.
28071
28072 2012-10-22  Andreas Jaeger  <aj@suse.de>
28073
28074         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28075         __O_RSYNC if it exists, otherwise to O_SYNC.
28076
28077 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28078             Joseph Myers  <joseph@codesourcery.com>
28079
28080         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28081         /dev/null.
28082         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28083         from /dev/null
28084         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28085         /dev/null.
28086
28087 2012-10-22  Andreas Jaeger  <aj@suse.de>
28088
28089         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28090         Define always.
28091         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28092
28093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28094         bits/fcntl-linux.h.
28095
28096         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28097         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28098
28099         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28100         to __O_LARGEFILE.
28101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28102         to __O_LARGEFILE.
28103
28104 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28105             Joseph Myers  <joseph@codesourcery.com>
28106
28107         * config.make.in (NM): New variable.
28108
28109 2012-10-21  Andreas Jaeger  <aj@suse.de>
28110
28111         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28112         definitions and declarations that are provided by
28113         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28114
28115 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28116
28117         [BZ #14683]
28118         * elf/Makefile (tests-static): Add tst-leaks1-static.
28119         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28120         ($(objpfx)tst-leaks1-static): New rule.
28121         ($(objpfx)tst-leaks1-static-mem): Likewise.
28122         (tst-leaks1-static-ENV): New macro.
28123         * elf/dl-open.c (dl_open_worker): Check the main application
28124         only if SHARED is defined.
28125         * elf/tst-leaks1-static.c: New file.
28126
28127 2012-10-20  Andreas Jaeger  <aj@suse.de>
28128
28129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28130         generic values for Linux.
28131         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28132         and declarations that are provided by <bits/fcntl-linux.h> and
28133         include <bits/fcntl-linux.h>.
28134         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28135         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28136
28137 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28138
28139         * io/fcntl.h: Move include of <bits/types.h> to the top and
28140         include it unconditionally.
28141
28142 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28143
28144         * wcsmbs/Makefile (tests-ifunc): New variable.
28145         (tests): Add $(tests-ifunc).
28146         * wcsmbs/test-wcschr-ifunc.c: New file.
28147         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28148         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28149         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28150         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28151         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28152
28153         * string/Makefile (tests-ifunc): New variable.
28154         (tests): Add $(tests-ifunc).
28155         * string/test-memccpy.c (TEST_NAME): New macro.
28156         * string/test-memchr.c (TEST_NAME): Likewise.
28157         * string/test-memcmp.c (TEST_NAME): Likewise.
28158         * string/test-memcpy.c (TEST_NAME): Likewise.
28159         * string/test-memmem.c (TEST_NAME): Likewise.
28160         * string/test-memmove.c (TEST_NAME): Likewise.
28161         * string/test-memset.c (TEST_NAME): Likewise.
28162         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28163         * string/test-stpcpy.c (TEST_NAME): Likewise.
28164         * string/test-stpncpy.c (TEST_NAME): Likewise.
28165         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28166         * string/test-strcasestr.c (TEST_NAME): Likewise.
28167         * string/test-strcat.c (TEST_NAME): Likewise.
28168         * string/test-strchr.c (TEST_NAME): Likewise.
28169         * string/test-strcmp.c(TEST_NAME): Likewise.
28170         * string/test-strcpy.c (TEST_NAME): Likewise.
28171         * string/test-strcspn.c (TEST_NAME): Likewise.
28172         * string/test-strlen.c (TEST_NAME): Likewise.
28173         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28174         * string/test-strncmp.c (TEST_NAME): Likewise.
28175         * string/test-strncpy.c (TEST_NAME): Likewise.
28176         * string/test-strnlen.c (TEST_NAME): Likewise.
28177         * string/test-strpbrk.c (TEST_NAME): Likewise.
28178         * string/test-strrchr.c (TEST_NAME): Likewise.
28179         * string/test-strspn.c (TEST_NAME): Likewise.
28180         * string/test-strstr.c (TEST_NAME): Likewise.
28181         * string/test-bcopy-ifunc.c: New file.
28182         * string/test-bzero-ifunc.c: Likewise.
28183         * string/test-memccpy-ifunc.c: Likewise.
28184         * string/test-memchr-ifunc.c: Likewise.
28185         * string/test-memcmp-ifunc.c: Likewise.
28186         * string/test-memcpy-ifunc.c: Likewise.
28187         * string/test-memmem-ifunc.c: Likewise.
28188         * string/test-memmove-ifunc.c: Likewise.
28189         * string/test-mempcpy-ifunc.c: Likewise.
28190         * string/test-memset-ifunc.c: Likewise.
28191         * string/test-rawmemchr-ifunc.c: Likewise.
28192         * string/test-stpcpy-ifunc.c: Likewise.
28193         * string/test-stpncpy-ifunc.c: Likewise.
28194         * string/test-strcasecmp-ifunc.c: Likewise.
28195         * string/test-strcasestr-ifunc.c: Likewise.
28196         * string/test-strcat-ifunc.c: Likewise.
28197         * string/test-strchr-ifunc.c: Likewise.
28198         * string/test-strchrnul-ifunc.c: Likewise.
28199         * string/test-strcmp-ifunc.c: Likewise.
28200         * string/test-strcpy-ifunc.c: Likewise.
28201         * string/test-strcspn-ifunc.c: Likewise.
28202         * string/test-strlen-ifunc.c: Likewise.
28203         * string/test-strncasecmp-ifunc.c: Likewise.
28204         * string/test-strncat-ifunc.c: Likewise.
28205         * string/test-strncmp-ifunc.c: Likewise.
28206         * string/test-strncpy-ifunc.c: Likewise.
28207         * string/test-strnlen-ifunc.c: Likewise.
28208         * string/test-strpbrk-ifunc.c: Likewise.
28209         * string/test-strrchr-ifunc.c: Likewise.
28210         * string/test-strspn-ifunc.c: Likewise.
28211         * string/test-strstr-ifunc.c: Likewise.
28212
28213         * debug/Makefile (tests-ifunc): New variable.
28214         (tests): Add $(tests-ifunc).
28215         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28216         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28217         * debug/test-stpcpy_chk-ifunc.c: New file.
28218         * debug/test-strcpy_chk-ifunc.c: Likewise.
28219
28220 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28221
28222         [BZ #13601]
28223         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28224         header is not read in.
28225
28226 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28227
28228         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28229         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28230         directly.  Pass built executable to script as
28231         $(built-program-cmd).
28232         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28233         $testprogram without using LD_LIBRARY_PATH and $ldso.
28234
28235         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28236         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28237         $(rtld-installed-name).
28238         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28239         (rtld_installed_name): Likewise.
28240         (library_path): Likewise.
28241         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28242         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28243         $(run-program-prefix) to tst-tables.sh.
28244         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28245         it to run tst-table-from and tst-table-to.
28246         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28247         Pass it to tst-table.sh.
28248         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28249         $(run-program-prefix) to tst-gettext.sh.
28250         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28251         tst-translit.sh.
28252         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28253         tst-gettext2.sh.
28254         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28255         to run tst-gettext.
28256         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28257         to run tst-gettext2.
28258         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28259         to run tst-translit.
28260         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28261         $(run-program-prefix) to tst-mtrace.sh.
28262         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28263         to run tst-mtrace.
28264         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28265         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28266         $(rtld-installed-name).
28267         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28268         (rtld_installed_name): Likewise.
28269         (run_program_prefix): New variable.  Use it to run wordexp-test.
28270
28271         * Makeconfig (ARCH): Remove all definitions.
28272         (machine): Likewise.
28273         [ARCH]: Remove conditional code.
28274         [!objdir]: Give error.
28275         [!objdir] (objpfx): Remove.
28276         [!objdir] (common-objpfx): Likewise.
28277         [!objdir] (common-objdir): Likewise.
28278         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28279         AC_CONFIG_FILES call.
28280         * configure: Regenerated.
28281
28282         [BZ #13888]
28283         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28284         or TMPDIR.
28285         (testout): Likewise.
28286
28287         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28288         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28289         $(rtld-installed-name).
28290         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28291         (rtld_installed_name): Likwise.
28292         (runit): Remove function.
28293         (run_getconf): New variable,  Use it for running getconf binary.
28294
28295 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28296
28297         [BZ #14716]
28298         * string/test-memmem.c (check_result): New function.
28299         (do_one_test): Use it.
28300         (check1): New function.
28301         (test_main): Use it.
28302
28303 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28304
28305         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28306
28307 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28308
28309         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28310         (_G_LSEEK64): Likewise.
28311         (_G_MMAP64): Likewise.
28312         (_G_FSTAT64): Likewise.
28313         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28314         (_G_LSEEK64): Likewise.
28315         (_G_MMAP64): Likewise.
28316         (_G_FSTAT64): Likewise.
28317         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28318         unconditional.  Call __mmap64 directly.
28319         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28320         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28321         __lseek64 directly.
28322         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28323         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28324         __mmap64 directly.
28325         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28326         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28327         __lseek64 directly.
28328         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28329         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28330         __lseek64 directly.
28331         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28332         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28333         __lseek64 directly.
28334         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28335         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28336         __fxstat64 directly.
28337         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28338         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28339         unconditional.
28340         (freopen64) [!_G_OPEN64]: Remove conditional code.
28341         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28342         unconditional.
28343         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28344         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28345         unconditional.
28346         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28347         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28348         unconditional.
28349         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28350         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28351         unconditional.
28352         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28353         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28354         unconditional.
28355         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28356         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28357         unconditional.
28358         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28359         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28360         unconditional.
28361         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28362
28363 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28364
28365         [BZ #12140]
28366         * manual/memory.texi (Malloc Tunable Parameters): Add note
28367         about free list pointers overwriting some perturb bytes.
28368         Wording suggested by Roland McGrath.
28369
28370 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28371
28372         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28373         (lgamma_test): Likewise.
28374         (tgamma_test): Likewise.
28375
28376 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28377
28378         [BZ #14700]
28379         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28380         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28381
28382 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28383
28384         * NEWS: Mention BZ #14716.
28385         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28386         when removing AVAILABLE1_USES_J macro.
28387
28388 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28389
28390         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28391         (__bswap_64): __uint64_t for unsigned 64-bit int.
28392
28393 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28394
28395         * include/string.h (memmem): Declare libc hidden alias.
28396         * string/memmem.c (memmem): Define libc hidden alias.
28397         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28398         __read, __close instead of open, read, close.
28399
28400 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28401
28402         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28403         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28404         global and hidden.
28405         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28406         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28407         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28408         Likewise.
28409         (__rawmemchr_sse2): Likewise.
28410         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28411         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28412         (__strchr_sse2): Likewise.
28413         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28414         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28415         (__strcasecmp_sse2): Likewise.
28416         (__strncasecmp_sse2): Likewise.
28417         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28418         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28419         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28420         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28421         (__strrchr_sse2): Likewise.
28422         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28423         ifunc-impl-list.c.
28424         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28425         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28426         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28427         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28428         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28429         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28430         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28431         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28432         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28433         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28434         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28435         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28436         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28437         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28438         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28439         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28440         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28441         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28442         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28443         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28444         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28445         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28446         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28447         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28448         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28449         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28450         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28451         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28452         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28453         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28454
28455         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28456         global and hidden.
28457         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28458         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28459         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28460         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28461         Likewise.
28462         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28463         Likewise.
28464         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28465         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28466         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28467         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28468         ifunc-impl-list.c.
28469         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28470         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28471         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28472         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28473         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28474         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28475         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28476         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28477         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28478         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28479         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28480         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28481         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28482         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28483         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28484         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28485         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28486         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28487         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28488         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28489         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28490         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28491         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28492         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28493         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28494         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28495         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28496         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28497         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28498         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28499         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28500         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28501         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28502         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28503         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28504         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28505         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28506         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28507         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28508         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28509         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28510
28511         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28512         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28513         * include/ifunc-impl-list.h: New file.
28514         * misc/ifunc-impl-list.c: Likewise.
28515         * misc/Makefile (routines): Add ifunc-impl-list.
28516         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28517         * string/test-string.h: Include <ifunc-impl-list.h>.
28518         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28519         TEST_NAME]: New variables.
28520         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28521         are defined.
28522         (test_init): Call __libc_ifunc_impl_list to initialize
28523         func_list if TEST_IFUNC and TEST_NAME are defined.
28524
28525         * string/Makefile (strop-tests): Add bcopy and bzero.
28526         * string/test-bcopy.c: New file.
28527         * string/test-bzero.c: Likewise.
28528         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28529         defined.
28530         * string/test-memset.c: Support bzero test if TEST_BZERO is
28531         defined.
28532         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28533         __libc_memmove.
28534         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28535         __libc_memset.
28536         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28537         of memset.
28538
28539 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28540
28541         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28542         * configure: Regenerated.
28543
28544         * Makeconfig (+link-static-before-libc): Don't include
28545         $(link-static-libc).
28546
28547         * libio/libio.h (_IO_pos_t): Remove.
28548
28549 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28550
28551         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28552         McGrath.
28553
28554 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28555
28556         * crypt/crypt-entry.c: Include fips-private.h.
28557         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28558         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28559         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28560         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28561
28562 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28563
28564         * crypt/crypt-private.h: Include stdbool.h.
28565         (_ufc_setup_salt_r): Return bool.
28566         * crypt/crypt-entry.c: Include errno.h.
28567         (__crypt_r): Return NULL with EINVAL for bad salt.
28568         * crypt/crypt_util.c (bad_for_salt): New.
28569         (_ufc_setup_salt_r): Check that salt is long enough and within
28570         the specified alphabet.
28571         * crypt/badsalttest.c: New file.
28572         * crypt/Makefile (tests): Add it.
28573         ($(objpfx)badsalttest): New.
28574
28575 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28576
28577         * NEWS: Add entry for BZ #14602.
28578
28579 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28580
28581         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28582         type-generic.
28583         * math/libm-test.inc: Update comment listing what functions and
28584         macros are tested.
28585         (isgreater_test): New function.
28586         (isgreaterequal_test): Likewise.
28587         (isless_test): Likewise.
28588         (islessequal_test): Likewise.
28589         (islessgreater_test): Likewise.
28590         (isunordered_test): Likewise.
28591         (main): Call the new functions.
28592
28593 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28594
28595         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28596         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28597         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28598         * sysdeps/i386/configure: Regenerated.
28599         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28600         * sysdeps/mach/configure: Regenerated.
28601         * sysdeps/mach/hurd/configure: Regenerated.
28602         * sysdeps/powerpc/configure: Regenerated.
28603         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28604         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28605         * sysdeps/s390/s390-32/configure: Regenerated.
28606         * sysdeps/s390/s390-64/configure: Regenerated.
28607         * sysdeps/sh/configure: Regenerated.
28608         * sysdeps/sparc/configure: Regenerated.
28609         * sysdeps/unix/sysv/linux/configure: Regenerated.
28610         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28611         * sysdeps/x86_64/configure: Regenerated.
28612
28613         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28614         defined.  Don't check if MAP is NULL.
28615
28616 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28617
28618         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28619         (_G_stat64): Likewise.
28620         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28621         (_G_stat64): Likewise.
28622         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28623         instead of struct _G_stat64.
28624         * libio/fileops.c (mmap_remap_check): Likewise.
28625         (decide_maybe_mmap): Likewise.
28626         (_IO_new_file_seekoff): Likewise.
28627         (_IO_file_stat): Likewise.
28628         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28629         _G_off64_t.
28630         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28631         instead of struct _G_stat64.
28632         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28633
28634 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28635
28636         [BZ #14602]
28637         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28638         Replace with ...
28639         (CHECK_EOL): New macro.
28640         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28641         CHECK_EOL.
28642         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28643         Replace with CHECK_EOL.
28644         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28645         Replace with CHECK_EOL.
28646
28647 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28648
28649         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28650         type-generic.
28651         * math/libm-test.inc: Update comment listing what functions and
28652         macros are tested.
28653         (finite_test): New function.
28654         (isinf_test): Likewise.
28655         (isnan_test): Likewise.
28656         (fpclassify_test): Test subnormal input.
28657         (isfinite_test): Likewise.
28658         (isnormal_test): Likewise.
28659         (main): Call the new functions.
28660
28661 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28662
28663         [BZ #14660]
28664         * Makerules (%.dynsym): Force C locale when running
28665         $(OBJDUMP) --dynamic-syms.
28666
28667 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28668
28669         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28670         <stdint.h>.
28671
28672 2012-10-06  David S. Miller  <davem@davemloft.net>
28673
28674         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28675         upper 32-bits of the length value in %o2 since we use branch-on-register
28676         tests which consider the entire 64-bit register.
28677
28678 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28679
28680         * string/test-strstr.c (check2): Add a test for page boundary.
28681
28682 2012-10-05  David S. Miller  <davem@davemloft.net>
28683
28684         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28685         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28686         file.
28687         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28688         sysdep_routines.
28689         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28690         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28691         and bzero when HWCAP_SPARC_CRYPTO is present.
28692
28693 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28694
28695         [BZ #14602]
28696         * string/test-strstr.c (check2): New function.
28697         (test_main): Call check2.
28698
28699         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28700         and bug-strchr1.
28701         * string/bug-strcasestr1.c (do_test): Moved to ...
28702         * string/test-strcasestr.c (check1): Here.  New function.
28703         (do_one_test): Break out result checking code into ...
28704         (check_result): This.  New function.
28705         (do_one_test): Call check_result.
28706         (test_main): Call check1.
28707         * string/bug-strchr1.c (do_test): Moved to ...
28708         * string/test-strchr.c (check1): Here.  New function.
28709         (do_one_test): Break out result checking code into ...
28710         (check_result): This.  New function.
28711         (do_one_test): Call check_result.
28712         (test_main): Call check1.
28713         * string/bug-strstr1.c (main): Moved to ...
28714         * string/test-strstr.c (check1): Here.  New function.
28715         (do_one_test): Break out result checking code into ...
28716         (check_result): This.  New function.
28717         (do_one_test): Call check_result.
28718         (test_main): Call check1.
28719         * string/bug-strcasestr1.c: Removed.
28720         * string/bug-strchr1.c: Likewise.
28721         * string/bug-strstr1.c: Likewise.
28722
28723         * elf/Makefile (dl-routines): Add hwcaps.
28724         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28725         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28726         (_dl_important_hwcaps): Moved to ...
28727         * elf/dl-hwcaps.c: Here.  New file.
28728         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28729
28730         [BZ #14557]
28731         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28732         if IS_IN_rtld isn't defined.
28733
28734         * elf/dl-support.c (_dl_sysinfo_map): New.
28735         Include "get-dynamic-info.h" and "setup-vdso.h".
28736         (_dl_non_dynamic_init): Call setup_vdso.
28737         * elf/dynamic-link.h: Don't include <assert.h>.
28738         (elf_get_dynamic_info): Moved to ...
28739         * elf/get-dynamic-info.h: Here.  New file.
28740         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28741         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28742         * elf/setup-vdso.h: Here.  New file.
28743         * elf/rtld.c: Include "setup-vdso.h".
28744         (dl_main): Call setup_vdso.
28745
28746 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28747
28748         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28749         creal in comment listing functions tested.  List finite, isinf,
28750         isnan, isless, islessequal, isgreater, isgreaterequal,
28751         islessgreater, isunordered, lgamma_r and pow10 as functions and
28752         macros not tested.  Mention which functions not tested are aliases
28753         for other functions.  Fix typo.  Note that signs of NaNs are not
28754         tested.
28755
28756         * scripts/config.guess: Update from config.git.
28757         * scripts/config.sub: Likewise.
28758
28759 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28760
28761         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28762         * misc/madvise.c (madvise): Renamed to __madvise.
28763         Make madvise a weak alias.
28764         * include/sys/mman.h: Declare __madvise.
28765         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28766         * sysdeps/unix/syscalls.list
28767         (madvise): Make __madvise the strong name, and madvise a weak alias.
28768         * sysdeps/unix/sysv/linux/syscalls.list
28769         (madvise, mmap): Remove redundant entries.
28770         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28771         * malloc/malloc.c (mtrim): Likewise.
28772         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28773
28774 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28775
28776         * sysdeps/mach/hurd/dl-cache.c: File removed.
28777         * config.h.in (USE_LDCONFIG): New #undef.
28778         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28779         * configure: Regenerated.
28780         * elf/Makefile (dl-routines): Add dl-cache only under
28781         [$(use-ldconfig) = yes].
28782         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28783         cache on [USE_LDCONFIG].
28784         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28785         [USE_LDCONFIG].
28786         * elf/rtld.c (dl_main): Likewise.
28787
28788 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28789
28790         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28791         _SC_LEVEL4_CACHE_LINESIZE.
28792
28793 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28794
28795         * sysdeps/unix/bsd/confstr.h: File removed.
28796
28797 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28798
28799         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28800         sys/sdt-config.h.
28801
28802 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28803
28804         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28805         Make 'mapoff' field ElfW(Off) rather than off_t.
28806
28807 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28808
28809         * nscd/Makefile: Remove nscd-cflags and all its users.
28810         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28811         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28812
28813         [BZ #10631]
28814         * malloc.c (malloc_printerr): Clarify error message.
28815
28816 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28817
28818         [BZ #14648]
28819         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28820         Set bit_FMA_Usable if FMA is supported.
28821         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28822         macro.
28823         (bit_FMA4_Usable): Updated.
28824         (index_FMA_Usable): New macro.
28825         (CPUID_FMA): Likewise
28826         (HAS_FMA): Defined with bit_FMA_Usable.
28827
28828 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28829
28830         * bits/types.h (__swblk_t): Type removed.
28831         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28832         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28834         (__SWBLK_T_TYPE): Likewise.
28835         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28836         (__SWBLK_T_TYPE): Likewise.
28837         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28838         (__SWBLK_T_TYPE): Likewise.
28839         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28840         (__SWBLK_T_TYPE): Likewise.
28841
28842 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28843             Honza Horak <hhorak@redhat.com>
28844
28845         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28846         (xdr_mapname): Use YPMAXMAP as maxsize.
28847         (xdr_peername): Use YPMAXPEER as maxsize.
28848         (xdr_keydat): Use YPAXRECORD as maxsize.
28849         (xdr_valdat): Use YPMAXRECORD as maxsize.
28850
28851 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28852
28853         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28854
28855         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28856         * csu/init-first.c: ... here.
28857         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28858         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28859         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28860         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28861         * sysdeps/i386/init-first.c: File removed.
28862         * sysdeps/sh/init-first.c: File removed.
28863
28864 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28865
28866         [BZ #14645]
28867         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28868         if x * y might underflow to zero and z is zero.
28869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28870         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28871         * math/libm-test.inc (min_subnorm_value): New variable.
28872         (fma_test): Add more tests.
28873         (fma_test_towardzero): Likewise.
28874         (fma_test_downward): Likewise
28875         (fma_test_upward): Likewise.
28876         (initialize): Set min_subnorm_value.
28877
28878 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28879
28880         [BZ #14638]
28881         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28882         0 + 0.
28883         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28884         mode for addition resulting in exact zero.
28885         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28886         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28887         exact 0 + 0.
28888         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28889         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28890         * math/libm-test.inc (fma_test): Add more tests.
28891         (fma_test_towardzero): New function.
28892         (fma_test_downward): Likewise.
28893         (fma_test_upward): Likewise.
28894         (main): Call the new functions.
28895
28896 2012-09-28  David S. Miller  <davem@davemloft.net>
28897
28898         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28899
28900 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28901
28902         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28903         instead of SIGALRM.
28904
28905         * sysdeps/gnu/_G_config.h: Moved to ...
28906         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28907         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28908         * sysdeps/generic/_G_config.h: ... here.
28909
28910         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28911
28912         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28913
28914         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28915         Conditionalize target on [libnss_test1.so-version].
28916
28917         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28918
28919         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28920         (elfobjdir): Move out of conditionals.
28921
28922         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28923         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28924         (__nss_lookup_function): Conditionalize label remove_from_tree on
28925         [!DO_STATIC_NSS || SHARED], matching its only use.
28926
28927 2012-09-28  David S. Miller  <davem@davemloft.net>
28928
28929         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28930         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28931         file.
28932         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28933         sysdep_routines.
28934         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28935         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28936         when HWCAP_SPARC_CRYPTO is present.
28937
28938 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28939
28940         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28941
28942 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28943
28944         [BZ #6530]
28945         * stdio-common/vfprintf.c (process_string_arg): Revert
28946         2000-07-22 change.
28947
28948 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28949
28950         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28951         for testcase.
28952         * stdio-common/tst-sprintf.c: Include <locale.h>
28953         (main): Test sprintf's handling of incomplete multibyte
28954         characters.
28955
28956 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28957
28958         * elf/dl-runtime.c (VERSYMIDX): Removed.
28959         * elf/dl-version.c (VERSYMIDX): Likewise.
28960         * elf/do-rel.h (VERSYMIDX): Likewise.
28961         (VALIDX): Likewise.
28962         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28963         * elf/rtld.c (VALIDX): Likewise.
28964         (ADDRIDX): Likewise.
28965         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28966         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28967         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28968         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28969         (VALIDX): Likewise.
28970         (ADDRIDX): Likewise.
28971
28972 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28973
28974         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28975
28976 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28977
28978         [BZ #11438]
28979         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28980         to global scope.
28981         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28982         addresses are in the same scope as 192.0.2/24.
28983         * posix/gai.conf: Document new scope table defaults.
28984
28985 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28986
28987         [BZ #5298]
28988         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28989         for ftell.  Compute offsets from write pointers instead.
28990         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28991
28992 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28993
28994         [BZ #14543]
28995         * libio/Makefile (tests): New test case tst-fseek.
28996         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28997         combination works in wide mode.
28998         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28999         state when the external buffer state changes.
29000
29001 2012-09-27  David S. Miller  <davem@davemloft.net>
29002
29003         [BZ #14376]
29004         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29005         pass reloc->r_addend in as the 'high' argument to
29006         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29007
29008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29009
29010 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29011
29012         * rt/tst-aio2.c: Include <pthread.h>.
29013         * rt/tst-aio3.c: Likewise.
29014
29015 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29016
29017         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29018
29019 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29020
29021         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29022         contents on [SHARED].
29023
29024 2012-09-26  Marek Polacek  <polacek@redhat.com>
29025
29026         [BZ #14530]
29027         [BZ #13741]
29028         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29029         for C++ and GCC <4.3 as well as for non GCC compilers.
29030
29031 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29032
29033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29034
29035 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29036
29037         * Makefile.in (all, install): Declare with .PHONY.
29038         Reported by Michael Hope <michael.hope@linaro.org>.
29039
29040 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29041
29042         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29043         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29044         system header.
29045         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29046         Likewise.
29047         (sydep_routines): Add the new and the internal functions.
29048         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29049         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29051         (GLIBC_2.17): Add the new function.
29052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29053         (GLIBC_2.17): Likewise.
29054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29055         (GLIBC_2.17): Likewise.
29056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29057         (GLIBC_2.17): Likewise.
29058         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29059
29060 2012-09-25  Alan Modra  <amodra@gmail.com>
29061
29062         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29063         Add release barrier before setting once_control to say
29064         initialisation is done.  Add hints on lwarx.  Use macro in
29065         place of isync.
29066         (clear_once_control): Add release barrier.
29067
29068 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29069
29070         [BZ #13629]
29071         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29072         specially.
29073         * math/s_clog10.c (__clog10): Likewise.
29074         * math/s_clog10f.c (__clog10f): Likewise.
29075         * math/s_clog10l.c (__clog10l): Likewise.
29076         * math/s_clogf.c (__clogf): Likewise.
29077         * math/s_clogl.c (__clogl): Likewise.
29078         * math/Makefile (libm-calls): Add x2y2m1.
29079         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29080         (__x2y2m1): Likewise.
29081         (__x2y2m1l): Likewise.
29082         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29083         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29084         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29085         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29086         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29087         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29088         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29089         * sysdeps/i386/fpu/libm-test-ulps: Update.
29090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29091
29092         [BZ #14621]
29093         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29094         int as type of variable DEPTH.
29095         (glob): Use size_t instead of int as type of variables NEWCOUNT
29096         and OLD_PATHC.
29097
29098 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29099
29100         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29101         Add s_sincosf-sse2.
29102         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29103         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29104         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29105         macros for using routine as __sincosf_ia32.
29106         Use macro for function declaration and weak_alias.
29107         * sysdeps/i386/fpu/libm-test-ulps: Update.
29108
29109         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29111
29112         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29113         subnormal argument.
29114         * math/s_cexpf.c (__cexpf): Likewise.
29115         * math/s_csinf.c (__csinf): Likewise.
29116         * math/s_csinhf.c (__csinhf): Likewise.
29117         * math/s_ctanf.c (__ctanf): Likewise.
29118         * math/s_ctanhf.c (__ctanhf): Likewise.
29119         * math/s_ccosh.c (__ccoshf): Likewise.
29120         * math/s_cexp.c (__cexpl): Likewise.
29121         * math/s_csin.c (__csin): Likewise.
29122         * math/s_csinh.c (__csinh): Likewise.
29123         * math/s_ctan.c (__ctan): Likewise.
29124         * math/s_ctanh.c (ctanh): Likewise.
29125         * math/s_ccoshl.c (__ccoshl): Likewise.
29126         * math/s_cexpl.c (__cexpl): Likewise.
29127         * math/s_csinl.c (__csinl): Likewise.
29128         * math/s_csinhl.c (__csinhl): Likewise.
29129         * math/s_ctanl.c (__ctanl): Likewise.
29130         * math/s_ctanhl.c (__ctanhl): Likewise.
29131
29132 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29133
29134         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29135         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29136         (_IO_off_t): Define to __off_t, not _G_off_t.
29137         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29138         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29139         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29140         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29141         type of __dummy and __dummy2 fields.
29142         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29143         (_G_ssize_t): Likewise.
29144         (_G_off_t): Likewise.
29145         (_G_pid_t): Likewise.
29146         (_G_uid_t): Likewise.
29147         (_G_wchar_t): Likewise.
29148         (_G_wint_t): Likewise.
29149         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29150         (_G_ssize_t): Likewise.
29151         (_G_off_t): Likewise.
29152         (_G_pid_t): Likewise.
29153         (_G_uid_t): Likewise.
29154         (_G_wchar_t): Likewise.
29155         (_G_wint_t): Likewise.
29156         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29157         (_G_ssize_t): Likewise.
29158         (_G_off_t): Likewise.
29159         (_G_pid_t): Likewise.
29160         (_G_uid_t): Likewise.
29161         (_G_wchar_t): Likewise.
29162         (_G_wint_t): Likewise.
29163
29164 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29165
29166         * malloc/arena.c: Include malloc-sysdep.h.
29167         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29168         is sufficient to shrink the heap or an unmap is needed.
29169         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29170         new function check_may_shrink_heap.
29171         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29172         new function check_may_shrink_heap.
29173
29174 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29175
29176         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29177         comments.
29178
29179 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29180
29181         * catgets/test-gencat.sh: Add "set -e".
29182         * elf/tst-pathopt.sh: Likewise.
29183         * grp/tst_fgetgrent.sh: Likewise.
29184         * iconvdata/run-iconv-test.sh: Likewise.
29185         * intl/tst-gettext.sh: Likewise.
29186         * intl/tst-gettext2.sh: Likewise.
29187         * intl/tst-gettext4.sh: Likewise.
29188         * intl/tst-gettext6.sh: Likewise.
29189         * intl/tst-translit.sh: Likewise.
29190         * io/ftwtest-sh: Likewise.
29191         * libio/test-freopen.sh: Likewise.
29192         * malloc/tst-mtrace.sh: Likewise.
29193         * posix/globtest.sh: Likewise.
29194         * posix/tst-getconf.sh: Likewise.
29195         * posix/wordexp-tst.sh: Likewise.
29196         * stdio-common/tst-printf.sh: Likewise.
29197         * stdio-common/tst-unbputc.sh: Likewise.
29198         * stdlib/tst-fmtmsg.sh: Likewise.
29199         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29200         * catgets/Makefile: Do not specify -e option when running
29201         testsuite shell scripts.
29202         * elf/Makefile: Likewise.
29203         * grp/Makefile: Likewise.
29204         * iconvdata/Makefile: Likewise.
29205         * intl/Makefile: Likewise.
29206         * io/Makefile: Likewise.
29207         * libio/Makefile: Likewise.
29208         * malloc/Makefile: Likewise.
29209         * posix/Makefile: Likewise.
29210         * stdio-common/Makefile: Likewise.
29211         * stdlib/Makefile: Likewise.
29212         * sysdeps/x86_64/Makefile: Likewise.
29213
29214         * io/ftwtest-sh: Add copyright header.
29215         * posix/globtest.sh: Likewise.
29216         * posix/tst-getconf.sh: Likewise.
29217         * posix/wordexp-tst.sh: Likewise.
29218         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29219
29220 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29221
29222         [BZ #13679]
29223         * Makeconfig (+link): Defined as $(+link-static) if
29224         $(build-shared) isn't yes.
29225         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29226         isn't yes.
29227         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29228
29229         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29230
29231         [BZ #14562]
29232         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29233         new chunk size with MALLOC_ALIGN_MASK.
29234
29235 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29236
29237         [BZ #5044]
29238         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29239         <rounding-mode.h>.
29240         (__printf_fphex): Determine rounding using get_rounding_mode and
29241         round_away.
29242         * stdio-common/tst-printf-round.c (struct hex_test): New
29243         structure.
29244         (hex_tests): New variable.
29245         (test_hex_in_one_mode): New function.
29246         (do_test): Also run tests for hex float output.
29247
29248 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29249
29250         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29251         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29252         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29253         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29254         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29255         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29256         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29257         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29258
29259 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29260
29261         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29262         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29263         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29264         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29265
29266 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29267
29268         [BZ #14579]
29269         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29270         mode only.
29271         * elf/tst-rtld-load-self.sh: New test.
29272         * elf/Makefile: Run it.
29273
29274 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29275
29276         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29277         (tst-writev-ENV): Remove.
29278         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29279
29280 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29281
29282         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29283
29284 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29285
29286         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29287         unconditional.
29288         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29289         Likewise.
29290         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29291         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29292         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29293         Likewise.
29294
29295 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29296
29297         [BZ #14587]
29298         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29299         * config.make.in (have-cpp-asm-debuginfo): Removed.
29300         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29301         * configure: Regenerated.
29302
29303 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29304
29305         [BZ #5044]
29306         * stdio-common/printf_fp.c: Include <stdbool.h> and
29307         <rounding-mode.h>.
29308         (___printf_fp): Determine rounding using get_rounding_mode and
29309         round_away.
29310         * stdio-common/tst-printf-round.c: New file.
29311         * stdio-common/Makefile (tests): Add tst-printf-round.
29312         (link-libm): New variable.
29313         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29314
29315 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29316
29317         [BZ #14576]
29318         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29319         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29320         Likewise.
29321         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29322         Likewise.
29323
29324 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29325
29326         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29327         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29328         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29329         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29330
29331 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29332
29333         [BZ #14518]
29334         * include/rounding-mode.h: New file.
29335         * sysdeps/generic/get-rounding-mode.h: Likewise.
29336         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29337         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29338         (MAX_VALUE): New macro.
29339         (MIN_VALUE): Likewise.
29340         (overflow_value): New function.
29341         (underflow_value): Likewise.
29342         (round_and_return): Use overflow_value and underflow_value to
29343         determine return values in overflow and underflow cases.  Use
29344         round_away to determine rounding depending on rounding mode.
29345         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29346         determine return values in overflow and underflow cases.
29347         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29348         (struct test_results): New structure.
29349         (struct test): Use struct test_results to store expected results
29350         for all rounding modes.
29351         (TEST): Include expected results for all rounding modes.
29352         (test_in_one_mode): New function.
29353         (do_test): Use test_in_one_mode to compute and check results.
29354         Check results for all rounding modes.
29355         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29356         $(link-libm).
29357
29358 2012-12-09  Allan McRae  <allan@archlinux.org>
29359
29360         * sysdeps/i386/fpu/libm-test-ulps: Update
29361
29362 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29363
29364         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29365         (_G_int32_t): Likewise.
29366         (_G_uint16_t): Likewise.
29367         (_G_uint32_t): Likewise.
29368         (_G_HAVE_BOOL): Likewise.
29369         (_G_HAVE_ATEXIT): Likewise.
29370         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29371         (_G_HAVE_IO_FILE_OPEN): Likewise.
29372         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29373         (_G_int32_t): Likewise.
29374         (_G_uint16_t): Likewise.
29375         (_G_uint32_t): Likewise.
29376         (_G_HAVE_BOOL): Likewise.
29377         (_G_HAVE_ATEXIT): Likewise.
29378         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29379         (_G_HAVE_IO_FILE_OPEN): Likewise.
29380         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29381         (_G_int32_t): Likewise.
29382         (_G_uint16_t): Likewise.
29383         (_G_uint32_t): Likewise.
29384         (_G_HAVE_BOOL): Likewise.
29385         (_G_HAVE_ATEXIT): Likewise.
29386         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29387         (_G_HAVE_IO_FILE_OPEN): Likewise.
29388
29389 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29390
29391         * csu/libc-tls.c: Update copyright years.
29392
29393 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29394
29395         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29396         [!_G_USING_THUNKS]: Remove conditional code.
29397         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29398         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29399
29400         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29401         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29402         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29403         (_G_VTABLE_LABEL_PREFIX): Likewise.
29404         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29405         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29406         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29407         (_G_VTABLE_LABEL_PREFIX): Likewise.
29408         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29409         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29410         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29411         (_G_VTABLE_LABEL_PREFIX): Likewise.
29412         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29413
29414 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29415
29416         * libio/Makefile: Include ../Makeconfig before tests.
29417         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29418         only if $(build-shared) is yes.
29419
29420         * iconv/gconv_db.c: Update copyright years.
29421
29422 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29423
29424         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29425         unwind info if defined PIC. Fix special cases description.
29426         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29427
29428         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29429         DP_HI_MASK entry.
29430         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29431
29432 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29433
29434         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29435
29436         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29437         is NULL.
29438
29439         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29440         (LDLIBS-tst-chk4): This.
29441         (LDFLAGS-tst-chk5): Renamed to ...
29442         (LDLIBS-tst-chk5): This.
29443         (LDFLAGS-tst-chk6): Renamed to ...
29444         (LDLIBS-tst-chk6): This.
29445         (LDFLAGS-tst-lfschk4): Renamed to ...
29446         (LDLIBS-tst-lfschk4): This.
29447         (LDFLAGS-tst-lfschk5): Renamed to ...
29448         (LDLIBS-tst-lfschk5): This.
29449         (LDFLAGS-tst-lfschk6): Renamed to ...
29450         (LDLIBS-tst-lfschk6): This.
29451
29452         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29453         on $(common-objpfx)soversions.mk.
29454
29455 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29456
29457         [BZ #10014]
29458         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29459         example host name.
29460
29461 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29462
29463         * malloc/arena.c (arena_get_retry): New function that gets
29464         another arena for the caller to try its request on.
29465         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29466         current arena cannot fulfill the request.
29467         (__libc_memalign): Likewise.
29468         (__libc_memalign): Likewise.
29469         (__libc_pvalloc): Likewise.
29470         (__libc_calloc): Likewise.
29471
29472 2012-09-05  John Tobey  <john.tobey@gmail.com>
29473
29474         [BZ #13542]
29475         * manual/arith.texi (Operations on Complex): Fix description
29476         of carg branch cut.
29477
29478 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29479
29480         [BZ #10014]
29481         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29482         host name.
29483
29484         [BZ #10038]
29485         * manual/memory.texi (Memory): Make order of menu items match
29486         order of sections.
29487
29488 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29489
29490         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29491         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29492         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29493
29494 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29495
29496         * csu/libc-tls.c (static_dtv): Renamed to ...
29497         (_dl_static_dtv): This.  Make it global.
29498         (_dl_initial_dtv): Removed.
29499         (__libc_setup_tls): Updated.
29500         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29501         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29502         DL_INITIAL_DTV.
29503
29504 2012-09-06  Petr Machata  <pmachata@redhat.com>
29505
29506         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29507         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29508         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29509         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29510
29511 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29512
29513         [BZ #14545]
29514         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29515         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29516         freeing dtv[-1].
29517
29518 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29519
29520         [BZ #14544]
29521         * Makeconfig (link-static-before-libc): Replace $(+prector)
29522         with $(+prectorT).
29523         (link-static-after-libc): Replace $(+postctor) with
29524         $(+postctorT).
29525         (link-bounded): Replace $(+prector)/$(+postctor) with
29526         $(+prectorT)/$(+postctorT).
29527         (+prectorT): New macro.
29528         (+postctorT): Likewise.
29529
29530 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29531
29532         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29533         (round_str): Handle values above the maximum for IBM long double
29534         as inexact.
29535         * stdlib/tst-strtod-round.c (tests): Regenerated.
29536
29537 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29538
29539         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29540         assembler flag.
29541         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29542         zarch_nohighgprs around the zarch optimized routines.
29543         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29544         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29545         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29546         for zarch.
29547
29548 2012-09-05  David S. Miller  <davem@davemloft.net>
29549
29550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29551
29552         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29553         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29554         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29555         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29556         entries.
29557
29558 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29559
29560         * malloc/arena.c: Fold copyright years.
29561         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29562
29563 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29564
29565         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29566
29567 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29568
29569         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29570
29571 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29572
29573         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29574         change internal state upon failure.
29575
29576 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29577
29578         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29579         * malloc/memusage.c (mmap): Likewise.
29580         (mmap64, mremap): Likewise.  Adjust name in comment.
29581
29582 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29583
29584         * libio/fileops.c: Fix typos in comments.
29585         * libio/oldfileops.c: Likewise.
29586         * libio/wfileops.c: Likewise.
29587
29588 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29589
29590         [BZ #1349]
29591         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29592         (tst-malloc-usable-ENV): Set environment for test case.
29593         * malloc/hooks.c (malloc_check_get_size): New function to get
29594         requested size.
29595         * malloc/malloc.c (musable): Use malloc_check_get_size.
29596         * malloc/tst-malloc-usable.c: New test case.
29597
29598 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29599
29600         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29601
29602 2012-09-05  Allan McRae  <allan@archlinux.org>
29603
29604         [BZ #13966]
29605         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29606         determine header location.
29607         * configure: Regenerated.
29608
29609 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29610
29611         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29612         float format.
29613         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29614         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29615         format.
29616         (test): Regenerate.
29617
29618 2012-09-04  David S. Miller  <davem@davemloft.net>
29619
29620         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29621         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29622         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29623
29624 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29625
29626         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29627         failures.
29628
29629         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29630
29631 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29632
29633         [BZ #9914]
29634         * libio/iogetdelim.c: Include <limits.h>.
29635         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29636         + len + 1 would overflow.
29637
29638 2012-09-03  Andreas Jaeger  <aj@suse.de>
29639
29640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29641         * sysdeps/i386/fpu/libm-test-ulps: Update.
29642
29643 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29644
29645         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29646         Add s_sinf-sse2, s_conf-sse2.
29647
29648         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29649         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29650         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29651         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29652
29653         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29654         for using routine as __sinf_ia32.
29655         Use macro for function declaration and weak_alias.
29656         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29657         for using routine as __cosf_ia32.
29658         Use macro for function declaration and weak_alias.
29659
29660         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29661         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29662
29663         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29664         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29666
29667         * math/libm-test.inc (cos_test): Add more test cases.
29668         (sin_test): Likewise.
29669         (sincos_test): Likewise.
29670
29671 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29672
29673         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29674         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29675         hidden.
29676         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29677
29678 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29679
29680         [BZ #14538]
29681         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29682         first element of the GOT.
29683         (elf_machine_load_address): Return the difference between
29684         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29685
29686 2012-09-01  Allan McRae  <allan@archlinux.org>
29687
29688         [BZ #13412]
29689         * configure.in (AWK): Require gawk version 3.0 or later.
29690         * configure: Regenerated.
29691
29692 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29693
29694         * sysdeps/unix/sysv/linux/kernel-features.h
29695         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29696         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29697         [__NR_clock_getres]: Make code unconditional.
29698         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29699         (clock_getcpuclockid): Remove code left unreachable by removal of
29700         conditionals.
29701         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29702         code unconditional.
29703         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29704         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29705         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29706         Make code unconditional.
29707         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29708         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29709         * sysdeps/unix/sysv/linux/clock_settime.c
29710         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29711         conditional code.
29712         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29713         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29714
29715 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29716
29717         [BZ #14476]
29718         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29719         scripts/test-installation.pl.
29720
29721         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29722         and $ld_so_version if it is set.
29723
29724 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29725
29726         [BZ #14516]
29727         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29728         failure if reading from procfs failed.
29729         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29730
29731 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29732
29733         * sysdeps/unix/sysv/linux/kernel-features.h
29734         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29735         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29736         Remove conditional code.
29737         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29738         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29739         Remove conditional code.
29740         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29741         * sysdeps/unix/sysv/linux/i386/fxstat.c
29742         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29743         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29744         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29745         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29746         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29747         * sysdeps/unix/sysv/linux/i386/lxstat.c
29748         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29749         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29750         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29751         Remove conditional code.
29752         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29753         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29754         Remove conditional code.
29755         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29756         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29757         <kernel-features.h>.
29758         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29759         Remove.
29760         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29761         Remove conditional code.
29762         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29763         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29764         Remove conditional.
29765
29766 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29767
29768         [BZ #5400]
29769         * NEWS: Add fixed bug number.
29770
29771 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29772
29773         [BZ #14519]
29774         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29775         underflowing exponent in case of negative sign.
29776         * stdlib/tst-strtod-round-data: Add more tests.
29777         * stdlib/tst-strtod-round.c (tests): Regenerated.
29778
29779         [BZ #3479]
29780         * stdlib/strtod_l.c (NDIG): Remove.
29781         (HEXNDIG): Likewise.
29782         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29783         smallest representable value.
29784         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29785         lie within an exact representation of 1/2 ulp of the result.
29786         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29787         unconditionally.
29788         (TENS_P9_IDX): Define unconditionally.
29789         (TENS_P9_SIZE): Likewise.
29790         (TENS_P10_IDX): Likewise.
29791         (TENS_P10_SIZE): Likewise.
29792         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29793         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29794         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29795         entries for 10^2^13 and 10^2^14.
29796         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29797         (TENS_P13_IDX): Define.
29798         (TENS_P13_SIZE): Likewise.
29799         (TENS_P14_IDX): Likewise.
29800         (TENS_P14_SIZE): Likewise.
29801         (_fpioconst_pow10): Change array size to
29802         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29803         unconditional.
29804         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29805         1024]: Add entries for 10^2^13 and 10^2^14.
29806         [LAST_POW10 > _LAST_POW10]: Remove #error.
29807         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29808         (_fpioconst_pow10): Change array size to
29809         FPIOCONST_POW10_ARRAY_SIZE.
29810         * stdlib/gen-fpioconst.c: New file.
29811         * stdlib/gen-tst-strtod-round.c: Likewise.
29812         * stdlib/tst-strtod-round-data: Likewise.
29813         * stdlib/tst-strtod-round.c: Likewise.
29814         * stdlib/Makefile (tests): Add tst-strtod-round.
29815
29816         [BZ #14459]
29817         * stdlib/strtod_l.c: Include <stdint.h>.
29818         (NDEBUG): Do not define.
29819         (round_and_return): Change EXPONENT parameter to type intmax_t.
29820         Rearrange calculations to avoid internal overflow possibilities.
29821         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29822         Rearrange calculations to avoid internal overflow possibilities.
29823         Assert that number fits inside MPNSIZE limbs.
29824         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29825         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29826         calculations and add assertions to avoid internal overflow
29827         possibilities.  Add casts to avoid signed/unsigned operations.
29828         * stdlib/tst-strtod-overflow.c: New file.
29829         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29830
29831 2012-08-25  Marek Polacek  <polacek@redhat.com>
29832
29833         * time/time.h: Fix some typos in comments.
29834
29835 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29836
29837         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29838         * posix/tst-rfc3484-2.c: Likewise.
29839         * posix/tst-rfc3484-3.c: Likewise.
29840
29841 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29842
29843         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29844         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29845
29846 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29847
29848         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29849         #include of fxstatat64.c.
29850
29851 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29852
29853         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29854         * shadow/getspent_r.c: Likewise.
29855         * shadow/getspnam.c: Likewise.
29856         * shadow/getspnam_r.c: Likewise.
29857         * gshadow/getsgent.c: Likewise.
29858         * gshadow/getsgent_r.c: Likewise.
29859         * gshadow/getsgnam.c: Likewise.
29860         * gshadow/getsgnam_r.c: Likewise.
29861         * inet/getnetbyad.c: Likewise.
29862         * inet/getnetbyad_r.c: Likewise.
29863         * inet/getnetbynm.c: Likewise.
29864         * inet/getnetbynm_r.c: Likewise.
29865         * inet/getnetent.c: Likewise.
29866         * inet/getnetent_r.c: Likewise.
29867         * inet/getproto.c: Likewise.
29868         * inet/getproto_r.c: Likewise.
29869         * inet/getprtent.c: Likewise.
29870         * inet/getprtent_r.c: Likewise.
29871         * inet/getprtname.c: Likewise.
29872         * inet/getprtname_r.c: Likewise.
29873         * inet/getrpcbyname.c: Likewise.
29874         * inet/getrpcbyname_r.c: Likewise.
29875         * inet/getrpcbynumber.c: Likewise.
29876         * inet/getrpcbynumber_r.c: Likewise.
29877         * inet/getrpcent.c: Likewise.
29878         * inet/getrpcent_r.c: Likewise.
29879         * inet/getaliasent.c: Likewise.
29880         * inet/getaliasent_r.c: Likewise.
29881         * inet/getaliasname.c: Likewise.
29882         * inet/getaliasname_r.c: Likewise.
29883         * nscd/getgrgid_r.c: Likewise.
29884         * nscd/getgrnam_r.c: Likewise.
29885         * nscd/gethstbyad_r.c: Likewise.
29886         * nscd/gethstbynm3_r.c: Likewise.
29887         * nscd/getpwnam_r.c: Likewise.
29888         * nscd/getpwuid_r.c: Likewise.
29889         * nscd/getsrvbynm_r.c: Likewise.
29890         * nscd/getsrvbypt_r.c: Likewise.
29891         * nscd/gai.c: Likewise.
29892
29893         * configure.in (build_nscd): New substituted variable, set
29894         by --disable-build-nscd and defaults to $use_nscd.
29895         * configure: Regenerated.
29896         * config.make.in (build-nscd): New substituted variable.
29897         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29898         Change conditional to require [$(build-nscd) = yes] as well.
29899         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29900
29901         [BZ# 13696]
29902         * configure.in (use_nscd): New substituted variable, set by
29903         --disable-nscd.  If enabled, define USE_NSCD.
29904         * configure: Regenerated.
29905         * config.h.in: Add USE_NSCD.
29906         * config.make.in (use-nscd): New substituted variable.
29907         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29908         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29909         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29910         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29911         (CFLAGS-getgrnam_r.c): Likewise.
29912         (CFLAGS-initgroups.c): Likewise.
29913         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29914         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29915         Variables removed.
29916         * inet/getnetgrent_r.c
29917         (nscd_setnetgrent): New function, broken out of ...
29918         (setnetgrent): ... here.  Call it.
29919         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29920         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29921         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29922         * nscd/Makefile (routines, aux): Move definitions after include of
29923         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29924         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29925         Conditionalize on [USE_NSCD].
29926         (is_nscd, nscd_init_cb): Likewise.
29927         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29928         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29929         * nss/nss_db/db-init.c: Likewise.
29930         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29931         [USE_NSCD].
29932         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29933         (make_request): Use it.
29934         (cache_valid_p): New function.
29935         (__check_pf): Use it.
29936         * NEWS: Add item for --disable-nscd.
29937
29938 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29939
29940         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29941         to support sed >= 4.2.1-20-ga9bf076.
29942         * configure: Regenerated.
29943
29944 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29945
29946         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29947         Conditionalize whole body on [IREL].
29948
29949 2012-08-22  Jeff Law <law@redhat.com>
29950
29951         [BZ #14505]
29952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29953         if the family is PF_UNSPEC.
29954
29955 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29956
29957         * Makerules (lib-version): Rename from V.
29958         (install-lib-nosubdir): Change V to lib-version.
29959
29960 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29961
29962         [BZ #14252]
29963         * powerpc32/power6/wcschr.c: New file.
29964         * powerpc32/power6/wcscpy.c: New file.
29965         * powerpc32/power6/wcsrchr.c: New file.
29966         * powerpc64/power6/wcschr.c: New file.
29967         * powerpc64/power6/wcscpy.c: New file.
29968         * powerpc64/power6/wcsrchr.c: New file.
29969
29970 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29971
29972         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29973         (two_way_short_needle): Use it.
29974         * string/strstr.c (AVAILABLE1_USES_J): Define.
29975         * string/strcasestr.c: Likewise.
29976
29977         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29978         array references.
29979         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29980
29981         [BZ #11607]
29982         * NEWS: Add an entry.
29983         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29984         define their defaults.
29985         (two_way_short_needle): Detect end-of-string on-the-fly.
29986         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29987         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29988         * string/bug-strcasestr1.c: New test.
29989         * string/Makefile: Run it.
29990
29991 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29992
29993         [BZ #11607]
29994         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29995         the first character.
29996
29997 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29998
29999         * csu/elf-init.c (__libc_csu_irel): Function removed.
30000         * csu/libc-start.c (apply_irel): New function.
30001         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30002
30003 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30004
30005         * sysdeps/unix/sysv/linux/kernel-features.h
30006         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30007         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30008         <kernel-features.h>.
30009         [__NR_fadvise64_64]: Make code unconditional.
30010         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30011         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30012         !__NR_fadvise64_64)]: Likewise.
30013         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30014         !__NR_fadvise64_64))]: Likewise.
30015         [__NR_fadvise64]: Make code unconditional.
30016         [!__NR_fadvise64]: Remove conditional code.
30017         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30018         <kernel-features.h>.
30019         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30020         unconditional.
30021         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30022         conditional code.
30023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30024         not include <kernel-features.h>.
30025         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30026         unconditional.
30027         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30028         conditional code.
30029         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30030         include <kernel-features.h>.
30031         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30032         unconditional.
30033         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30034         conditional code.
30035
30036 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30037
30038         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30039         slight instruction rearrangements per scrollpipe analysis.
30040         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30041
30042 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30043
30044         * manual/syslog.texi (syslog; vsyslog, closelog):
30045         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30046         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30047
30048         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30049         DSOCAPS to match condition on defining it.
30050
30051 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30052
30053         * sysdeps/unix/sysv/linux/kernel-features.h
30054         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30056         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30057         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30059         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30060         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30062         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30063         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30064
30065         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30066         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30067
30068         * sysdeps/unix/sysv/linux/kernel-features.h
30069         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30070         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30071         unconditional.
30072         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30073         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30074         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30075         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30076         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30077         Make code unconditional.
30078         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30079         (__mmap64) [!__NR_mmap2]: Likewise.
30080         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30081         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30082         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30083         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30084         [__NR_mmap2]: Make code unconditional.
30085         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30086         (__mmap64) [!__NR_mmap2]: Likewise.
30087
30088 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30089
30090         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30091
30092 2012-08-18  Andreas Jaeger  <aj@suse.de>
30093
30094         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30095
30096 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30097
30098         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30099         * include/unistd.h (__have_sock_cloexec): Likewise.
30100         (__have_pipe2): Likewise.
30101         (__have_dup3): Likewise.
30102
30103 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30104
30105         [BZ #9685]
30106         * include/unistd.h (__have_pipe2): Change define into an extern int.
30107         (__have_dup3): Likewise.
30108         * socket/have_sock_cloexec.c: Include fcntl.h.
30109         (__have_pipe2): New variable.
30110         (__have_dup3): Likewise.
30111
30112 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30113
30114         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30115
30116 2012-08-17  Marek Polacek  <polacek@redhat.com>
30117
30118         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30119         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30120
30121 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30122
30123         * configure.in: Add AC_SUBST for sysheaders.
30124         * configure: Regenerated.
30125         * config.make.in (sysheaders): New substituted variable.
30126
30127         * sysdeps/unix/mkfifo.c: Moved ...
30128         * sysdeps/posix/mkfifo.c: ... here.
30129         * sysdeps/unix/mkfifoat.c: Moved ...
30130         * sysdeps/posix/mkfifoat.c: ... here.
30131
30132         * sysdeps/unix/utime.c: Moved ...
30133         * sysdeps/posix/utime.c: ... here.
30134
30135         * sysdeps/unix/time.c: Moved ...
30136         * sysdeps/posix/time.c: ... here.
30137         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30138         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30139
30140         * sysdeps/unix/nice.c: Moved ...
30141         * sysdeps/posix/nice.c: ... here.
30142
30143         * sysdeps/unix/alarm.c: Moved ...
30144         * sysdeps/posix/alarm.c: ... here.
30145
30146         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30147
30148 2012-08-17  Jeff Law <law@redhat.com>
30149
30150         * intl/Makefile (codeset_mo): New variable.
30151         ($(codeset_mo)): New target.
30152         (tst-codeset.out): Depend on that.  Remove explicit rule.
30153         (tst-gettext3.out, tst-gettext5.out): Likewise.
30154         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30155         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30156         * intl/tst-codeset.sh: Remove.
30157         * intl/tst-gettext3.sh: Likewise.
30158         * intl/tst-gettext5.sh: Likewise.
30159
30160 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30161
30162         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30163         * sysdeps/unix/syscalls.list: ... here.
30164
30165         * sysdeps/posix/getaddrinfo.c
30166         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30167         (gaiconf_init, gaiconf_reload): Use them.
30168         [!_STATBUF_ST_NSEC]
30169         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30170         Define using time_t rather than struct timespec.
30171
30172         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30173         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30174         Macros removed.
30175         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30176         [!NO_THREADS].
30177         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30178         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30179         Likewise.
30180
30181         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30182         __libc_cleanup_push argument.
30183
30184         * bits/param.h: New file.
30185         * misc/sys/param.h: New file.
30186         * include/sys/param.h: New file.
30187         * misc/Makefile (headers): Add bits/param.h.
30188         * sysdeps/generic/sys/param.h: File removed.
30189         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30190         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30191         * sysdeps/mach/hurd/bits/param.h: New file.
30192         * sysdeps/mach/hurd/sys/param.h: File removed.
30193
30194         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30195         last change.
30196
30197         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30198         [_IO_MTSAFE_IO].
30199         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30200         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30201         New macros.
30202
30203         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30204         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30205         rather than -D_IO_MTSAFE_IO conditionally.
30206         * stdio-common/Makefile (CPPFLAGS): Likewise.
30207         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30208         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30209         Use $(libio-mtsafe).
30210         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30211         of -D_IO_MTSAFE_IO.
30212         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30213         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30214         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30215         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30216         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30217         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30218         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30219         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30220         (CFLAGS-fread_u_chk.c): Likewise.
30221         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30222         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30223         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30224         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30225         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30226         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30227         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30228         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30229         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30230
30231         * libio/Makefile: Test [$(libc-reentrant) = yes]
30232         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30233
30234         * Makeconfig
30235         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30236         * sysdeps/pthread/configure: File removed.
30237         * sysdeps/pthread/Makeconfig: New file.
30238         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30239         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30240
30241 2012-08-16  Gary Benson  <gbenson@redhat.com>
30242
30243         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30244         unmapping the first object in a namespace.
30245
30246 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30247
30248         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30249         (__internal_setnetgrent): ... this.  Add internal_function to
30250         definition.  Add libc_hidden_def.
30251         (setnetgrent): Update caller.
30252         (internal_endnetgrent): Renamed to ...
30253         (__internal_endnetgrent): ... this.  Add internal_function to
30254         definition.  Add libc_hidden_def.
30255         (endnetgrent): Update caller.
30256         (internal_getnetgrent_r): Renamed to ...
30257         (__internal_getnetgrent_r): ... this.  Add internal_function to
30258         definition.  Add libc_hidden_def.
30259         (__getnetgrent_r): Update caller.
30260         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30261
30262 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30263
30264         * stdlib/longlong.h: Update from GCC.
30265
30266 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30267
30268         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30269         on _QL, which is set by umul_ppmm but never used.
30270         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30271         variables, which are set by GMP macros but never used.
30272         * stdio-common/_itowa.c (_itowa): Likewise.
30273         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30274         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30275
30276 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30277
30278         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30279         struct La_sh_regs is not constant.
30280         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30281         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30282         and struct La_sparc64_regs are not constant.
30283
30284 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30285
30286         * sysdeps/unix/sysv/linux/kernel-features.h
30287         (__ASSUME_POSIX_TIMERS): Remove.
30288         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30289         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30290         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30291         Make code unconditional.
30292         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30293         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30294         Make code unconditional.
30295         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30296         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30297         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30298         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30299         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30300         Make code unconditional.
30301         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30302         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30303         (__libc_missing_posix_timers): Remove.
30304
30305 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30306
30307         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30308         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30309
30310         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30311
30312         * elf/dl-sym.c: Include <stdlib.h>.
30313
30314         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30315         constants, which avoids warnings in 32-bit builds.
30316
30317         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30318         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30319
30320         * misc/lseek.c: File moved to ...
30321         * io/lseek.c: ... here.
30322
30323         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30324
30325         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30326         shifting LEN more than 31 bits at once.
30327
30328 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30329
30330         [BZ #14195]
30331         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30332         segmentation fault for a case of two empty input strings.
30333         * string/test-strncasecmp.c (check1): Renamed to...
30334         (bz12205): ...this.
30335         (bz14195): Add new testcase for two empty input strings and N > 0.
30336         (test_main): Call new testcase, adapt for renamed function.
30337
30338 2012-08-15  Andreas Jaeger  <aj@suse.de>
30339
30340         [BZ #14090]
30341         * crypt/md5test2.c: New test, based on test supplied by Serge
30342         Belyshev <belyshev@depni.sinp.msu.ru>.
30343         * crypt/Makefile (xtests): Add md5test-giant..
30344         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30345
30346 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30347
30348         [BZ #14090]
30349         * crypt/md5.c (md5_process_block): Don't assume the buffer
30350         length is less than 2**32.
30351         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30352         length is less than 2**64.
30353
30354 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30355
30356         * string/str-two-way.h: Include <sys/param.h>.
30357         (MAX): Macro removed.
30358
30359         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30360         Move #define and #undef of memmove to just before and after
30361         including <string.h>.
30362
30363         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30364         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30365         and after including <string.h>.  Move declarations of
30366         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30367         to before #include "string/memmove.c".
30368
30369         * include/dirent.h: Declare __getdirentries.
30370
30371         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30372         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30373
30374 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30375
30376         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30377         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30378         * sysdeps/i386/configure: Regenerated.
30379         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30380         STABS_CURRENT_FILE, and STABS_FUN.
30381         (END): Remove call to STABS_FUN_END.
30382         (STABS_CURRENT_FILE1): Delete.
30383         (STABS_CURRENT_FILE): Likewise.
30384         (STABS_FUN): Likewise.
30385         (STABS_FUN_END): Likewise.
30386         (STABS_FUN2): Likewise.
30387         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30388         * sysdeps/x86_64/configure: Regenerated.
30389
30390 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30391
30392         * elf/dl-open.c: Include <atomic.h>.
30393         * elf/dl-lookup.c: Likewise.
30394
30395 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30396
30397         * sysdeps/unix/sysv/linux/kernel-features.h
30398         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30399         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30400         unconditionally.
30401         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30402         unconditionally.
30403         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30404         condition on __ASSUME_CLONE_THREAD_FLAGS.
30405
30406 2012-08-14  Andreas Jaeger  <aj@suse.de>
30407
30408         * sysdeps/i386/fpu/libm-test-ulps: Update.
30409
30410 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30411
30412         * include/atomic.h (atomic_exchange_and_add): Split into ...
30413         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30414         New atomic macros.
30415
30416 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30417
30418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30419
30420 2012-08-13  Jeff Law <law@redhat.com>
30421
30422         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30423         null byte in the output string.
30424
30425 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30426
30427         * sysdeps/unix/sysv/linux/kernel-features.h
30428         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30429         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30430         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30431         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30432         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30433         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30434         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30435
30436 2012-08-09  Jeff Law <law@redhat.com>
30437
30438         [BZ #13939]
30439         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30440         When avoid_arena is set, don't retry in the that arena.  Pick the
30441         next one, whatever it might be.
30442         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30443         (arena_lock): Pass in new parameter to arena_get2.
30444         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30445         arena_get2.
30446         (__libc_malloc): Unify retrying after main arena failure with
30447         __libc_memalign version.
30448         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30449
30450 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30451
30452         [BZ #14166]
30453         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30454         to __redirect_strstr.
30455         (__strstr_sse42): Use typeof __redirect_strstr.
30456         (__strstr_ia32): Likewise.
30457         (__libc_strstr): New prototype.
30458         (strstr): Renamed to ...
30459         (__libc_strstr): This.
30460         (strstr): New strong alias of __libc_strstr.
30461         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30462         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30463         __redirect_time.
30464         Include <time.h>.
30465         (__libc_time): New prototype.
30466         (time_ifunc): Replace time with __libc_time.
30467         (time): New strong alias and hidden definition of __libc_time.
30468         (__GI_time): Remove strong alias.
30469         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30470         Include <stddef.h>.
30471         (memmove): Redefined to __redirect_memmove.
30472         (__memmove_sse2): Use typeof __redirect_memmove.
30473         (__memmove_ssse3): Likewise.
30474         (__memmove_ssse3_back): Likewise.
30475         (__libc_memmove): New prototype.
30476         (memmove): Renamed to ...
30477         (__libc_memmove): This.
30478         (memmove): New strong alias of __libc_memmove.
30479
30480 2012-08-08  Mark Salter  <msalter@redhat.com>
30481
30482         * elf/elf.h
30483         (R_MN10300_TLS_GD): Define.
30484         (R_MN10300_TLS_LD): Likewise.
30485         (R_MN10300_TLS_LDO): Likewise.
30486         (R_MN10300_TLS_GOTIE): Likewise.
30487         (R_MN10300_TLS_IE): Likewise.
30488         (R_MN10300_TLS_LE): Likewise.
30489         (R_MN10300_TLS_DTPMOD): Likewise.
30490         (R_MN10300_TLS_DTPOFF): Likewise.
30491         (R_MN10300_TLS_TPOFF): Likewise.
30492         (R_MN10300_SYM_DIFF): Likewise.
30493         (R_MN10300_ALIGN): Likewise.
30494         (R_MN10300_NUM): Update.
30495
30496 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30497
30498         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30499         Remove.
30500
30501 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30502
30503         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30504
30505         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30506         sysdeps/unix -> sysdeps/posix move.
30507         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30508
30509 2012-08-07      Allan McRae     <allan@archlinux.org>
30510
30511         [BZ #14303]
30512         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30513         (SUNOS_CPP): Likewise.
30514         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30515         not found.
30516         (open_input): Call CPP using execvp.
30517
30518 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30519
30520         * sysdeps/unix/sysv/linux/kernel-features.h
30521         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30522         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30523         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30524         (__ASSUME_WAITID_SYSCALL): Likewise.
30525         * sysdeps/unix/sysv/linux/dl-execstack.c
30526         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30527         code unconditional.
30528         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30529         conditional code.
30530         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30531         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30532         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30533         code.
30534         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30535         unconditional.
30536         [__ASSUME_WAITID_SYSCALL]: Likewise.
30537         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30538
30539 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30540
30541         * sysdeps/unix/closedir.c: Renamed to ...
30542         * sysdeps/posix/closedir.c: ... here.
30543         * sysdeps/unix/dirfd.c: Renamed to ...
30544         * sysdeps/posix/dirfd.c: ... here.
30545         * sysdeps/unix/dirstream.h: Renamed to ...
30546         * sysdeps/posix/dirstream.h: ... here.
30547         * sysdeps/unix/fdopendir.c: Renamed to ...
30548         * sysdeps/posix/fdopendir.c: ... here.
30549         * sysdeps/unix/opendir.c: Renamed to ...
30550         * sysdeps/posix/opendir.c: ... here.
30551         * sysdeps/unix/readdir.c: Renamed to ...
30552         * sysdeps/posix/readdir.c: ... here.
30553         * sysdeps/unix/readdir_r.c: Renamed to ...
30554         * sysdeps/posix/readdir_r.c: ... here.
30555         * sysdeps/unix/rewinddir.c: Renamed to ...
30556         * sysdeps/posix/rewinddir.c: ... here.
30557         * sysdeps/unix/seekdir.c: Renamed to ...
30558         * sysdeps/posix/seekdir.c: ... here.
30559         * sysdeps/unix/telldir.c: Renamed to ...
30560         * sysdeps/posix/telldir.c: ... here.
30561         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30562         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30563         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30564         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30565
30566         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30567         * bits/fcntl.h: ... here.
30568
30569         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30570         not 0.
30571         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30572         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30573         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30574         (struct flock): Move l_start, l_len to the beginning.
30575         Use __pid_t for l_pid.
30576         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30577         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30578         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30579         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30580         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30581         [__USE_LARGEFILE64] (struct flock64): New type.
30582         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30583
30584         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30585         * bits/dirent.h: ... here.
30586
30587         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30588         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30589
30590 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30591
30592         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30593         Change from 2.6.0 to 2.6.16.
30594         * sysdeps/unix/sysv/linux/configure: Regenerated.
30595         * sysdeps/unix/sysv/linux/kernel-features.h
30596         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30597         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30598         version.
30599         (__ASSUME_UTIMES): Likewise.
30600         (__ASSUME_CLONE_STOPPED): Remove.
30601         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30602         architectures, not kernel version.
30603         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30604         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30605         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30606         (__ASSUME_WAITID_SYSCALL): Likewise.
30607         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30608         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30609         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30610         refer to older versions.
30611
30612 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30613
30614         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30615         Define alphasort64 as an alias.
30616         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30617         Define versionsort64 as an alias.
30618         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30619         Define scandir64 as an alias.
30620         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30621         Define scandirat64 as an alias.
30622         * dirent/alphasort64.c (alphasort64):
30623         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30624         * dirent/versionsort64.c: Likewise.
30625         * dirent/scandir64.c: Likewise.
30626         * dirent/scandirat64.c: Likewise.
30627         * sysdeps/wordsize-64/alphasort.c: File removed.
30628         * sysdeps/wordsize-64/alphasort64.c: File removed.
30629         * sysdeps/wordsize-64/scandir.c: File removed.
30630         * sysdeps/wordsize-64/scandir64.c: File removed.
30631         * sysdeps/wordsize-64/scandirat.c: File removed.
30632         * sysdeps/wordsize-64/scandirat64.c: File removed.
30633         * sysdeps/wordsize-64/versionsort.c: File removed.
30634         * sysdeps/wordsize-64/versionsort64.c: File removed.
30635         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30636         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30637         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30638         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30639         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30640         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30641         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30642         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30643
30644         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30645         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30646         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30647         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30648         [defined __arch64__ || defined __sparcv9]
30649         (__INO_T_MATCHES_INO64_T): New macro.
30650         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30651         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30652         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30653         * sysdeps/unix/sysv/linux/bits/dirent.h
30654         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30655         (_DIRENT_MATCHES_DIRENT64): New macro.
30656
30657         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30658         Define lockf64 as an alias.
30659         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30660         Define fseeko64 as an alias.
30661         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30662         Define ftello64 as an alias.
30663         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30664         Define _IO_fgetpos64 and fgetpos64 as aliases.
30665         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30666         Define _IO_fsetpos64 and fsetpos64 as aliases.
30667         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30668         Conditionalize body on this.
30669         * libio/fseeko64.c: Likewise.
30670         * libio/ftello64.c: Likewise.
30671         * libio/iofgetpos64.c: Likewise.
30672         * libio/iofsetpos64.c: Likewise.
30673         * sysdeps/wordsize-64/lockf.c: File removed.
30674         * sysdeps/wordsize-64/lockf64.c: File removed.
30675         * sysdeps/wordsize-64/fseeko.c: File removed.
30676         * sysdeps/wordsize-64/fseeko64.c: File removed.
30677         * sysdeps/wordsize-64/ftello.c: File removed.
30678         * sysdeps/wordsize-64/ftello64.c: File removed.
30679         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30680         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30681         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30682         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30683         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30684         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30685         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30686         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30687         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30688         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30689         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30690         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30691         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30692         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30693
30694         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30695         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30696         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30697         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30698         [defined __arch64__ || defined __sparcv9]
30699         (__OFF_T_MATCHES_OFF64_T): New macro.
30700         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30701         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30702         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30703         (__OFF_T_MATCHES_OFF64_T): New macro.
30704
30705 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30706
30707         * stdlib/secure-getenv.c (__secure_getenv): Replace
30708         GLIBC_2_16 with GLIBC_2_17.
30709
30710 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30711
30712         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30713         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30714
30715 2012-08-03  David S. Miller  <davem@davemloft.net>
30716
30717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30718
30719 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30720
30721         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30722         Remove.
30723         (__ASSUME_CORRECT_SI_PID): Likewise.
30724         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30725         (__ASSUME_TMPFS_NAME): Likewise.
30726         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30727         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30728         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30729         (HAVE_AUX_SECURE): Make definition unconditional.
30730         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30731         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30732
30733 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30734
30735         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30736         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30737         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30738         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30739         __eloop_threshold instead of SYMLOOP_MAX.
30740
30741         * sysdeps/generic/eloop-threshold.h: New file.
30742         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30743         of MAXSYMLINKS.
30744         * elf/chroot_canon.c (chroot_canon): Likewise.
30745
30746 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30747
30748         [BZ #13717]
30749         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30750         Change to 2.6.0 everywhere.
30751         * sysdeps/unix/sysv/linux/configure: Regenerated.
30752         * sysdeps/unix/sysv/linux/kernel-features.h
30753         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30754         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30755         kernel versions.
30756         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30757         (__ASSUME_FUTEX_REQUEUE): Remove.
30758         (__ASSUME_STATFS64): Define unconditionally.
30759         (__ASSUME_AT_SECURE): Likewise.
30760         (__ASSUME_CORRECT_SI_PID): Likewise.
30761         (__ASSUME_TGKILL): Define without depending on kernel version for
30762         i386.
30763         (__ASSUME_UTIMES): Likewise.
30764         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30765         kernel version.
30766         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30767         (__ASSUME_TMPFS_NAME): Likewise.
30768         * README: Update reference to Linux kernel versions.
30769
30770 2012-08-02  Marek Polacek  <polacek@redhat.com>
30771
30772         [BZ# 14150]
30773         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30774         libc_cv_asm_type_prefix with %.
30775         * configure: Regenerated.
30776         * include/libc-symbols.h: Remove comment about
30777         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30778         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30779         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30780         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30781         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30782         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30783         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30784         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30785         * elf/tst-unique2mod1.c: Likewise.
30786         * elf/tst-unique1mod2.c: Likewise.
30787         * elf/tst-unique1mod1.c: Likewise.
30788         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30789         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30790         Replace ASM_TYPE_DIRECTIVE with .type.
30791         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30792         * sysdeps/i386/sysdep.h: Likewise.
30793         * sysdeps/x86_64/sysdep.h: Likewise.
30794         * sysdeps/sh/sysdep.h: Likewise.
30795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30796         Do not define ASM_TYPE_DIRECTIVE.
30797         * sysdeps/powerpc/sysdep.h: Likewise.
30798         * sysdeps/powerpc/powerpc32/sysdep.h:
30799         Replace ASM_TYPE_DIRECTIVE with .type.
30800         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30801         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30802         * sysdeps/i386/fpu/e_powf.S: Likewise.
30803         * sysdeps/i386/fpu/e_expl.S: Likewise.
30804         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30805         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30806         * sysdeps/i386/fpu/e_pow.S: Likewise.
30807         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30808         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30809         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30810         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30811         * sysdeps/i386/fpu/e_log2.S: Likewise.
30812         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30813         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30814         * sysdeps/i386/fpu/e_powl.S: Likewise.
30815         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30816         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30817         * sysdeps/i386/fpu/e_logl.S: Likewise.
30818         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30819         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30820         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30821         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30822         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30823         * sysdeps/i386/fpu/e_log.S: Likewise.
30824         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30825         * sysdeps/i386/fpu/e_logf.S: Likewise.
30826         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30827         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30828         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30829         * sysdeps/i386/fpu/e_log10.S: Likewise.
30830         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30831         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30832         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30833         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30834         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30835         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30836         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30837         * sysdeps/i386/i686/strtok.S: Likewise.
30838         * sysdeps/i386/i386-mcount.S: Likewise.
30839         * sysdeps/i386/strtok.S: Likewise.
30840         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30841         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30842         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30843         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30844         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30845         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30846         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30847         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30848         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30849         * sysdeps/x86_64/_mcount.S: Likewise.
30850         * sysdeps/x86_64/strtok.S: Likewise.
30851         * sysdeps/sh/_mcount.S: Likewise.
30852
30853 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30854
30855         * libio/iofopen.c: Include <fcntl.h>.
30856         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30857         (_IO_fopen64, fopen64): Define as aliases.
30858         * libio/iofopen64.c: Include <fcntl.h>.
30859         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30860         Conditionalize body on this.
30861         * sysdeps/wordsize-64/iofopen.c: File removed.
30862         * sysdeps/wordsize-64/iofopen64.c: File removed.
30863
30864 2012-08-01  Marek Polacek  <polacek@redhat.com>
30865
30866         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30867         Use dlfcn directly instead of a variable.
30868         (binfmt-subdir): Do not define.
30869         (dlfcn): Likewise.
30870
30871 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30872
30873         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30874         Remove all definitions.
30875         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30876         <kernel-features.h>.
30877         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30878         (miss_F_GETOWN_EX): Remove all definitions.
30879         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30880         macro definition.
30881         [!__ASSUME_FCNTL64]: Remove conditional code.
30882         [__ASSUME_FCNTL64]: Make code unconditional.
30883         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30884         <kernel-features.h>.
30885         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30886         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30887         (lockf64) [__NR_fcntl64]: Make code unconditional.
30888         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30889
30890         * sysdeps/unix/sysv/linux/kernel-features.h
30891         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30892         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30893         Make code unconditional.
30894         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30895         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30897         [__NR_vfork]: Make code unconditional.
30898         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30899         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30901         [__NR_vfork]: Make code unconditional.
30902         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30903         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30904
30905 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30906
30907         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30908         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30909
30910         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30911         Define mkstemp64 as an alias.
30912         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30913         Define mkstemps64 as an alias.
30914         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30915         Define mkostemp64 as an alias.
30916         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30917         Define mkostemps64 as an alias.
30918         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30919         Conditionalize body on this.
30920         * misc/mkostemp64.c: Likewise.
30921         * misc/mkostemps64.c: Likewise.
30922         * misc/mkstemps64.c: Likewise.
30923         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30924         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30925         * sysdeps/wordsize-64/mkostemp.c: File removed.
30926         * sysdeps/wordsize-64/mkstemp.c: File removed.
30927         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30928         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30929         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30930         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30931
30932         [BZ #14138]
30933         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30934         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30935         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30936         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30937
30938         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30939         compat_symbol macros from <shlib-compat.h> rather than the underlying
30940         default_symbol_version and symbol_version macros, so that DEFAULT
30941         lines in shlib-versions are respected.
30942         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30943
30944 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30945
30946         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30947         Declare with warn_unused_result.
30948         (setgid, setregid, setegid, setresgid): Likewise.
30949         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30950         Likewise.
30951         * WUR-REPORT: Remove set*id functions.
30952
30953 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30954
30955         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30956
30957 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30958
30959         [BZ #10191]
30960         * include/sys/socket.h (__libc_accept, __libc_accept4):
30961         Add attribute_hidden.
30962         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30963
30964         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30965         use of PTR_MANGLE.
30966         * inet/getnetgrent_r.c (setup): Likewise.
30967
30968         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30969
30970 2012-07-31  David S. Miller  <davem@davemloft.net>
30971
30972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30973
30974 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30975
30976         [BZ #13629]
30977         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30978         value between 1.0 and 2.0 and smaller part has absolute value less
30979         than 1.0.
30980         * math/s_clog10.c (__clog10): Likewise.
30981         * math/s_clog10f.c (__clog10f): Likewise.
30982         * math/s_clog10l.c (__clog10l): Likewise.
30983         * math/s_clogf.c (__clogf): Likewise.
30984         * math/s_clogl.c (__clogl): Likewise.
30985         * math/libm-test.inc (clog_test): Add more tests.
30986         (clog10_test): Likewise.
30987         * sysdeps/i386/fpu/libm-test-ulps: Update.
30988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30989
30990 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30991
30992         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30993         Exit with zero in case no suitable GID is found, and write a
30994         message to standard error.
30995
30996 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30997
30998         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30999         rather than to 1.
31000         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31001         (MAXPATHLEN): Removed.
31002         (NOGROUP, NODEV): New macros.
31003         (setbit, clrbit, isset, isclr): New macros.
31004         (howmany, roundup, powerof2): New macros.
31005         (DEV_BSIZE): New macro.
31006
31007         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31008         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31009
31010         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31011         definition on [!__NO_LONG_DOUBLE_MATH].
31012
31013         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31014         PTR_MANGLE and PTR_DEMANGLE.
31015
31016         * socket/accept4.c (accept4): Rename to __libc_accept4.
31017         Define accept4 as a weak alias.
31018
31019         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31020         on [_DIRENT_HAVE_D_TYPE].
31021         * io/ftw.c (ftw_dir): Likewise.
31022
31023         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31024
31025         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31026
31027         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31028         Use the BSD numbers rather than the arbitrary ones we had.
31029         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31030         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31031         (SIGXCPU, SIGXFSZ): New macros.
31032         (_NSIG): Now 32.
31033
31034         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31035         initializer on [_LIBC_REENTRANT].
31036
31037         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31038         definitions inside [_POSIX_MAPPED_FILES].
31039
31040         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31041
31042         * dirent/opendir.c: Include <fcntl.h>.
31043
31044         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31045         (__libc_getspecific): Likewise.
31046         (__libc_key_create): Likewise.
31047
31048         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31049         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31050         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31051         (tmpfile64): Define as alias.
31052         * sysdeps/wordsize-64/tmpfile.c: File removed.
31053         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31054         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31055         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31056
31057         * stdio-common/vfscanf.c: Include <stdbool.h>.
31058         * nss/makedb.c: Likewise.
31059         * stdio-common/_i18n_number.h: Likewise.
31060         * argp/argp-help.c: Likewise.
31061         * posix/wordexp.c: Likewise.
31062         * sysdeps/posix/spawni.c: Likewise.
31063         * nss/nss_files/files-initgroups.c: Likewise.
31064         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31065         * nss/nss_files/files-initgroups.c: Likewise.
31066         * nss/nss_db/db-netgrp.c: Likewise.
31067         * nss/nss_db/db-initgroups.c: Likewise.
31068         * io/fchmodat.c: Include <sys/stat.h>.
31069
31070         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31071         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31072
31073         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31074         [HAVE_MMAP].
31075
31076         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31077         Add multiple inclusion protection.
31078
31079 2012-07-27  David S. Miller  <davem@davemloft.net>
31080
31081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31082
31083 2012-07-27  Gary Benson  <gbenson@redhat.com>
31084
31085         [BZ #14298]
31086         * elf/rtld.c: Include <stap-probe.h>.
31087         (dl_main): Added static probes "init_start" and "init_complete".
31088         * elf/dl-load.c: Include <stap-probe.h>.
31089         (lose): Take new parameter "nsid".
31090         Added static probe "map_failed".
31091         (_dl_map_object_from_fd): Pass namespace id to lose.
31092         Added static probe "map_start".
31093         (open_verify): Pass namespace id to lose.
31094         * elf/dl-open.c: Include <stap-probe.h>.
31095         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31096         and "reloc_complete".
31097         * elf/dl-close.c: Include <stap-probe.h>.
31098         (_dl_close_worker): Added static probes "unmap_start" and
31099         "unmap_complete".
31100         * elf/rtld-debugger-interface.txt: New file documenting the above.
31101
31102 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31103
31104         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31105         rather than a string variable.
31106         * sunrpc/rpc_main.c (h_output): Likewise.
31107         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31108
31109 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31110
31111         * inet/check_native.c: New file.
31112
31113 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31114
31115         [BZ #13629]
31116         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31117         if larger part has absolute value 1.0.
31118         * math/s_clog10.c (__clog10): Likewise.
31119         * math/s_clog10f.c (__clog10f): Likewise.
31120         * math/s_clog10l.c (__clog10l): Likewise.
31121         * math/s_clogf.c (__clogf): Likewise.
31122         * math/s_clogl.c (__clogl): Likewise.
31123         * math/libm-test.inc (clog_test): Add more tests.
31124         (clog10_test): Likewise.
31125         * sysdeps/i386/fpu/libm-test-ulps: Update.
31126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31127
31128         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31129         (pltexit): Likewise.
31130         (La_regs): Likewise.
31131         (La_retval): Likewise.
31132         (int_retval): Likewise.
31133         Update #error for removed macros to refer only to definitions in
31134         tst-audit.h.
31135         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31136         macro.
31137         (pltexit): Likewise.
31138         (La_regs): Likewise.
31139         (La_retval): Likewise.
31140         (int_retval): Likewise.
31141         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31142         macro.
31143         (pltexit): Likewise.
31144         (La_regs): Likewise.
31145         (La_retval): Likewise.
31146         (int_retval): Likewise.
31147         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31148         macro.
31149         (pltexit): Likewise.
31150         (La_regs): Likewise.
31151         (La_retval): Likewise.
31152         (int_retval): Likewise.
31153         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31154         macro.
31155         (pltexit): Likewise.
31156         (La_regs): Likewise.
31157         (La_retval): Likewise.
31158         (int_retval): Likewise.
31159         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31160         macro.
31161         (pltexit): Likewise.
31162         (La_regs): Likewise.
31163         (La_retval): Likewise.
31164         (int_retval): Likewise.
31165         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31166         macro.
31167         (pltexit): Likewise.
31168         (La_regs): Likewise.
31169         (La_retval): Likewise.
31170         (int_retval): Likewise.
31171         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31172         macro definitions in tst-audit.h.
31173         * sysdeps/i386/tst-audit.h: New file.
31174         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31175         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31176         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31177         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31178         * sysdeps/sh/tst-audit.h: Likewise.
31179         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31180         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31181         * sysdeps/x86_64/tst-audit.h: Likewise.
31182
31183 2012-07-26  Andreas Jaeger  <aj@suse.de>
31184
31185         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31186         ptrace.
31187
31188         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31189         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31190         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31191         PTRACE_O_MASK.
31192         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31193         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31194         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31195
31196         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31197         value.
31198
31199         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31200         _sigsys.
31201         (si_call_addr, si_syscall, si_arch): Define new macro.
31202         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31203         _sigsys.
31204         (si_call_addr, si_syscall, si_arch): Define new marcro.
31205         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31206         _sigsys.
31207         (si_call_addr, si_syscall, si_arch): Define new macro.
31208         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31209         _sigsys.
31210         (si_call_addr, si_syscall, si_arch): Define new macro.
31211
31212 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31213
31214         [BZ #13717]
31215         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31216         Change to 2.4.21 where previously 2.4.1.
31217         * sysdeps/unix/sysv/linux/configure: Regenerated.
31218         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31219         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31220         Linux kernel version.
31221         (__ASSUME_STD_AUXV): Remove.
31222         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31223         kernel version.
31224         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31225         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31226         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31227         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31228         (__ASSUME_NETLINK_SUPPORT): Likewise.
31229         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31230         (__no_netlink_support): Remove conditional definition.
31231         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31232         Remove.
31233         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31234         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31235         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31236         (if_nameindex_ioctl): Remove.
31237         (if_nameindex_netlink): Do not handle __no_netlink_support.
31238         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31239         code.
31240         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31241         Remove conditional code.
31242         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31243         code.
31244         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31245         unconditional.
31246         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31247         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31248         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31249         Remove.
31250         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31251         [!__ASSUME_STD_AUXV]: Remove conditional code.
31252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31253         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31254         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31256         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31257         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31258         code.
31259         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31261         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31262         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31263         conditional code.
31264         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31266         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31267         code.
31268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31269         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31270         conditional code.
31271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31272         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31273         code unconditional.
31274         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31275         conditional code.
31276         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31277         unconditional.
31278         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31279         conditional code.
31280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31281         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31282         unconditional.
31283         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31284         conditional code.
31285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31286         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31287         code unconditional.
31288         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31289         conditional code.
31290         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31291         unconditional.
31292         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31293         conditional code.
31294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31295         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31296         code unconditional.
31297         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31298         conditional code.
31299         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31300         unconditional.
31301         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31302         conditional code.
31303
31304 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31305
31306         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31307         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31308         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31309         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31310         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31311         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31312         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31313         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31314         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31315         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31316         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31317         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31318         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31319         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31320         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31321         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31322         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31323         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31324         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31326         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31327         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31328         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31329
31330 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31331
31332         * Versions.def: Add GLIBC_2.17.
31333         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31334         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31335         Introduce __libc_secure_getenv.
31336         * stdlib/Versions (2.17): Add secure_getenv
31337         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31338         * stdlib/secure-getenv.c: Rename __secure_getenv to
31339         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31340         symbol __secure_getenv for GLIBC_2.0.
31341         * stdlib/tst-secure-getenv.c: New.
31342         * stdlib/Makefile (tests): Add testcase.
31343         * manual/startup.texi (Environment Access): Document
31344         secure_getenv.
31345         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31346         __libc_secure_getenv.
31347         * inet/ruserpass.c (ruserpass): Likewise.
31348         * malloc/mtrace.c (mtrace): Likewise.
31349         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31350         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31351         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31352         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31353         HAVE_SECURE_GETENV.
31354         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31355         __secure_getenv to __libc_secure_getenv.
31356         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31358         Likewise.
31359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31360         Likewise.
31361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31363         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31368
31369 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31370
31371         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31372         (struct La_i86_retval): Likewise.
31373         (struct La_x86_64_regs): Likewise.
31374         (struct La_x86_64_retval): Likewise.
31375         (struct La_x32_regs): Likewise.
31376         (struct La_x32_retval): Likewise.
31377         (struct La_ppc32_regs): Likewise.
31378         (struct La_ppc32_retval): Likewise.
31379         (struct La_ppc64_regs): Likewise.
31380         (struct La_ppc64_retval): Likewise.
31381         (struct La_sh_regs): Likewise.
31382         (struct La_sh_retval): Likewise.
31383         (struct La_s390_32_regs): Likewise.
31384         (struct La_s390_32_retval): Likewise.
31385         (struct La_s390_64_regs): Likewise.
31386         (struct La_s390_64_retval): Likewise.
31387         (struct La_sparc32_regs): Likewise.
31388         (struct La_sparc32_retval): Likewise.
31389         (struct La_sparc64_regs): Likewise.
31390         (struct La_sparc64_retval): Likewise.
31391         (struct audit_ifaces): Remove architecture-specific pltenter and
31392         pltexit members.
31393         * sysdeps/i386/ldsodefs.h: New file.
31394         * sysdeps/powerpc/ldsodefs.h: Likewise.
31395         * sysdeps/s390/ldsodefs.h: Likewise.
31396         * sysdeps/sh/ldsodefs.h: Likewise.
31397         * sysdeps/sparc/ldsodefs.h: Likewise.
31398         * sysdeps/x86_64/ldsodefs.h: Likewise.
31399
31400 2012-07-25  Marek Polacek  <polacek@redhat.com>
31401
31402         [BZ #6808]
31403         * math/libm-test.inc (yn_test): Add another test.
31404         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31405         to ERANGE when the result is +-Inf.
31406         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31407         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31408         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31409         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31410
31411 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31412
31413         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31414         equal to 0.
31415         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31416         clock_t.
31417         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31418
31419 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31420
31421         * configure.in <sysdeps resolving>: Correct printing
31422         Implies_before.
31423         * configure: Regenerate.
31424
31425 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31426
31427         * math/w_ilogb.c: Include <limits.h>.
31428         * math/w_ilogbl.c: Likewise.
31429
31430 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31431
31432         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31433         va_copy.  Document allowing for unavailable va_copy only as
31434         pre-C99 compatibility.
31435         * manual/string.texi (Copying and Concatenation): Use va_copy
31436         instead of __va_copy in concat example.
31437
31438 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31439
31440         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31441         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31442         it if not null.
31443
31444         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31445         with O_NOLINK passed to __file_name_lookup.
31446
31447         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31448         with O_NOLINK passed to __file_name_lookup.
31449
31450         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31451         negative N or less than NGIDS.
31452
31453         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31454         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31455         enough.  Use memcpy instead of strncpy.
31456
31457 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31458
31459         * elf/Makefile (check-data): Remove.
31460         (localplt.data): New vpath directive.
31461         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31462         instead of $(check-data).
31463         * scripts/data/localplt-generic.data: Move to ...
31464         * sysdeps/generic/localplt.data: ... here.
31465         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31466         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31467         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31469         ... here.
31470         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31472         ... here.
31473         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31475         ... here.
31476         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31478         ... here.
31479         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31481         ... here.
31482         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31484         ... here.
31485
31486 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31487
31488         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31489         PPC32 and PPC64 files.
31490         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31491         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31492
31493 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31494
31495         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31496         __makecontext_ret to ...
31497         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31498         ... here and call exit if uc_link is NULL.  New file.
31499         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31500         __makecontext_ret.S.
31501         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31502         __makecontext_ret to ...
31503         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31504         ... here and call exit if uc_link is NULL.  New file.
31505         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31506         __makecontext_ret.S.
31507
31508 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31509
31510         * elf/elf.h (R_390_IRELATIVE): New definition.
31511         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31512         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31513         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31514         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31515         (elf_machine_lazy_rel): Likewise.
31516         * sysdeps/s390/dl-irel.h: New file.
31517         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31518         * sysdeps/s390/s390-64/memset.S: New asm code.
31519         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31520         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31521         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31522         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31523         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31524         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31525         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31526         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31527         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31528         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31529         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31530         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31531         * sysdeps/s390/s390-32/memset.S: New asm code.
31532         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31533
31534 2012-07-17  Marek Polacek  <polacek@redhat.com>
31535
31536         [BZ #14349]
31537         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31538         * sysdeps/s390/s390-64/configure.in: Likewise.
31539         * sysdeps/sparc/configure.in: Likewise.
31540         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31541         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31542         * sysdeps/i386/configure.in: Likewise.
31543         * sysdeps/x86_64/configure.in: Likewise.
31544         * sysdeps/sh/configure.in: Likewise.
31545         * sysdeps/s390/s390-32/configure: Regenerated.
31546         * sysdeps/s390/s390-64/configure: Likewise.
31547         * sysdeps/x86_64/configure: Likewise.
31548         * sysdeps/sh/configure: Likewise.
31549         * sysdeps/powerpc/powerpc64/configure: Likewise.
31550         * sysdeps/powerpc/powerpc32/configure: Likewise.
31551         * sysdeps/sparc/configure: Likwise.
31552         * sysdeps/i386/configure: Likewise.
31553
31554         * elf/dl-open.c: Comment fixes.
31555
31556 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31557
31558         * Makefile [CXX] (check-data): Remove.
31559         [CXX] (c++-types.data): New vpath directive.
31560         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31561         vpath.  Do not allow for C++ type data being missing.
31562         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31563         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31564         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31565         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31566         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31567         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31568         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31570         ... here.
31571         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31573         ... here.
31574         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31576         ... here.
31577         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31579         ... here.
31580         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31582         ... here.
31583         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31585         ... here.
31586         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31588         ... here.
31589         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31591
31592         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31593         definitions to architecture-specific files.
31594         (TLS_IE): Likewise.
31595         (TLS_LD): Likewise.
31596         (TLS_GD): Likewise.
31597         * sysdeps/i386/tls-macros.h: New file.
31598         * sysdeps/powerpc/tls-macros.h: Likewise.
31599         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31600         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31601         * sysdeps/sh/tls-macros.h: Likewise.
31602         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31603         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31604         * sysdeps/x86_64/tls-macros.h: Likewise.
31605
31606 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31607
31608         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31609         zero value for regular exit case.
31610
31611         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31612         (__start_context): Preserve zero value for regular exit case.
31613
31614 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31615             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31616
31617         * manual/setjmp.texi (setcontext): Clarify normal process
31618         termination when uc_link is the null pointer.
31619         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31620         exit call.
31621
31622 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31623
31624         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31625         preprocessor.  Test for each exception mask separately.
31626
31627 2012-07-16  Andreas Jaeger  <aj@suse.de>
31628
31629         * po/ru.po: Update from translation team.
31630
31631 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31632
31633         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31634         equal to 0.
31635         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31636         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31637         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31638         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31639         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31640
31641 2012-07-13  Andreas Jaeger  <aj@suse.de>
31642
31643         * po/fr.po: Update from translation team.
31644
31645 2012-07-12  Marek Polacek  <polacek@redhat.com>
31646
31647         [BZ #14173]
31648         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31649         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31650         loop condition.
31651
31652 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31653
31654         [BZ #13717]
31655         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31656         Change to 2.4.1 where previously 2.4.0.
31657         * sysdeps/unix/sysv/linux/configure: Regenerated.
31658         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31659         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31660         version.
31661         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31662         (__ASSUME_AT_CLKTCK): Remove.
31663         (__ASSUME_AT_PAGESIZE): Likewise.
31664         (__ASSUME_AT_XID): Likewise.
31665         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31666         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31667         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31668         unconditionally.
31669         (HAVE_AUX_PAGESIZE): Likewise.
31670         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31671         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31672         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31673
31674 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31675
31676         [BZ #14307]
31677         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31678         the temporary buffer used to invoke __gethostbyname2_r,
31679         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31680         host_data / struct gaih_addrtuple.
31681         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31682         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31683         header file nss/nsswitch.h.
31684         * nss/nsswitch.h (global scope): Add definition of implementation
31685         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31686         resolv/nss_dns/dns-host.c).
31687
31688 2012-07-11  Andreas Jaeger  <aj@suse.de>
31689
31690         * po/fr.po: Update from translation team.
31691
31692         * po/sv.po: Update from translation team
31693         * po/fr.po: Another update from translation team.
31694
31695 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31696
31697         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31698         for subnormals or multiply small sinh result by itself.
31699         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31701
31702 2012-07-11  David S. Miller  <davem@davemloft.net>
31703
31704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31705
31706 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31707
31708         [BZ #14347]
31709         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31710         (INTERNAL_MARK): Shift it here.
31711
31712 2012-07-10  Marek Polacek  <polacek@redhat.com>
31713
31714         [BZ #14151]
31715         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31716         libc_cv_asm_global_directive with .globl.
31717         * configure: Regenerated.
31718         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31719         with .globl.
31720         * sysdeps/i386/configure: Regenerated.
31721         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31722         with .globl.
31723         * sysdeps/x86_64/configure: Regenerated.
31724         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31725         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31726         * elf/tst-unique2mod2.c: Likewise.
31727         * elf/tst-unique2mod1.c: Likewise.
31728         * elf/tst-unique1mod2.c: Likewise.
31729         * elf/tst-unique1mod1.c: Likewise.
31730         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31731         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31732         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31733         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31734         * sysdeps/mach/sysdep.h: Likewise.
31735         * sysdeps/i386/sysdep.h: Likewise.
31736         * sysdeps/i386/i386-mcount.S: Likewise.
31737         * sysdeps/x86_64/_mcount.S: Likewise.
31738         * sysdeps/x86_64/sysdep.h: Likewise.
31739         * sysdeps/sh/_mcount.S: Likewise.
31740         * sysdeps/sh/sysdep.h: Likewise.
31741         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31742         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31743         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31744         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31745         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31746         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31747         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31748         * locale/localeinfo.h: Likewise.
31749         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31750         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31751
31752 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31753
31754         [BZ #14336]
31755         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31756         system".
31757         * manual/message.texi (The Uniforum approach): Likewise.
31758         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31759         (glibc iconv Implementation): Likewise.
31760
31761 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31762
31763         [BZ #14337]
31764         * math/s_clog.c (__clog): Avoid scaling a value down where that
31765         could result in underflow.
31766         * math/s_clog10.c (__clog10): Likewise.
31767         * math/s_clog10f.c (__clog10f): Likewise.
31768         * math/s_clog10l.c (__clog10l): Likewise.
31769         * math/s_clogf.c (__clogf): Likewise.
31770         * math/s_clogl.c (__clogl): Likewise.
31771         * math/libm-test.inc (clog_test): Add more tests.
31772         (clog10_test): Likewise.
31773         * sysdeps/i386/fpu/libm-test-ulps: Update.
31774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31775
31776 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31777
31778         [BZ #14283]
31779         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31780         by 7 not 8 to examine high bit of fractional part.
31781
31782         [BZ #14042]
31783         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31784         for call to __mcount_internal.
31785         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31786         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31787         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31788
31789 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31790
31791         [BZ #14154]
31792         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31793         approximation for values within 0x1p-13f of an odd multiple of
31794         pi/4.
31795         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31796         exception.  Add more tests.
31797         * sysdeps/i386/fpu/libm-test-ulps: Update.
31798
31799         [BZ #6778]
31800         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31801         inputs and return -1 for them.  Do not check for +Inf in case not
31802         reachable for +Inf.
31803         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31804         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31805         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31806         and return -1 for them.  Do not check for +Inf in case not
31807         reachable for +Inf.
31808         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31809         define.
31810         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31811         and return -1 for them.  Do not check for +Inf in case not
31812         reachable for +Inf.
31813         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31814         spurious underflow.
31815         * sysdeps/i386/fpu/libm-test-ulps: Update.
31816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31817
31818 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31819
31820         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31821
31822 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31823
31824         [BZ #14157]
31825         [BZ #14331]
31826         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31827         could result in spurious underflow.  Scale down values above
31828         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31829         * math/s_csqrtf.c (__csqrtf): Likewise.
31830         * math/s_csqrtl.c (__csqrtl): Likewise.
31831         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31832         spurious underflow.
31833         * sysdeps/i386/fpu/libm-test-ulps: Update.
31834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31835
31836 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31837
31838         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31839         xopen-msg.sed.
31840         * catgets/xopen-msg.awk: New file.
31841         * catgets/xopen-msg.sed: Removed.
31842
31843         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31844         po2text.sed.
31845         * intl/po2test.awk: New file.
31846         * intl/po2test.sed: Removed.
31847
31848 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31849
31850         [BZ #14328]
31851         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31852         or multiply small sinh result by itself.
31853         * math/s_ctanf.c (__ctanf): Likewise.
31854         * math/s_ctanh.c (__ctanh): Likewise.
31855         * math/s_ctanhf.c (__ctanhf): Likewise.
31856         * math/s_ctanhl.c (__ctanhl): Likewise.
31857         * math/s_ctanl.c (__ctanl): Likewise.
31858         * math/libm-test.inc (ctan_test_tonearest): New function.
31859         (ctan_test_towardzero): Likewise.
31860         (ctan_test_downward): Likewise.
31861         (ctan_test_upward): Likewise.
31862         (ctanh_test_tonearest): Likewise.
31863         (ctanh_test_towardzero): Likewise.
31864         (ctanh_test_downward): Likewise.
31865         (ctanh_test_upward): Likewise.
31866         (main): Call these new functions.
31867         * sysdeps/i386/fpu/libm-test-ulps: Update.
31868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31869
31870 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31871
31872         * .gitignore: Delete /ports entry.
31873
31874 2012-07-03  Andreas Jaeger  <aj@suse.de>
31875
31876         * po/bg.po: Update from translation team.
31877         * po/cs.po: Likewise.
31878         * po/de.po: Likewise.
31879         * po/hr.po: Likewise.
31880         * po/nl.pl: Likewise.
31881         * po/pl.po: Likewise.
31882         * po/vi.po: Likewise.
31883
31884 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31885
31886         * Makeconfig [!+link] (+link-before-libc): New variable.
31887         [!+link] (+link-after-libc): Likewise.
31888         [!+link] (+link-tests): Likewise.
31889         [!+link] (+link): Define in terms of $(+link-before-libc) and
31890         $(+link-after-libc).
31891         [!+link-static] (+link-static-before-libc): New variable.
31892         [!+link-static] (+link-static-after-libc): Likewise.
31893         [!+link-static] (+link-static-tests): Likewise.
31894         [!+link-static] (+link-static): Define in terms of
31895         $(+link-static-before-libc) and $(+link-static-after-libc).
31896         [build-shared] (link-libc-before-gnulib): New variable.
31897         [build-shared] (link-libc-tests): Likewise.
31898         [build-shared] (link-libc): Define in terms of
31899         $(link-libc-before-gnulib).
31900         [!build-shared] (link-libc-tests): New variable.
31901         (link-libc-static-tests): New variable.
31902         [!gnulib] (gnulib-arch): New variable.
31903         [!gnulib] (gnulib-tests): Likewise.
31904         [!gnulib] (static-gnulib-arch): Likewise.
31905         [!gnulib] (static-gnulib-tests): Likewise.
31906         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31907         Define with "=" instead of ":=".
31908         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31909         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31910         * Rules (binaries-all-notests): New variable.
31911         (binaries-all-tests): Likewise.
31912         (binaries-static-notests): Likewise.
31913         (binaries-static-tests): Likewise.
31914         (binaries-all): Define using $(binaries-all-notests) and
31915         $(binaries-all-tests).
31916         (binaries-static): Define using $(binaries-static-notests) and
31917         $(binaries-static-tests).
31918         (binaries-shared-tests): New variable.
31919         (binaries-shared-notests): Likewise.
31920         (binaries-shared): Remove variable.
31921         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31922         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31923         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31924         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31925         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31926         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31927         * elf/Makefile (sln-modules): New variable.
31928         (extra-objs): Add $(sln-modules:=.o).
31929         (ldconfig-modules): Add static-stubs.
31930         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31931         * elf/static-stubs.c: New file.
31932
31933         [BZ #14283]
31934         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31935         by 7 not 8 to examine high bit of fractional part.  Use volatile
31936         variables when splitting into final array of floats if
31937         __FLT_EVAL_METHOD__ != 0.
31938         * math/libm-test.inc (cos_test): Add another test.
31939         (sin_test): Likewise.
31940         * sysdeps/i386/fpu/libm-test-ulps: Update.
31941
31942         [BZ #14273]
31943         * math/libm-test.inc (cosh_test): Add more tests.
31944
31945         * version.h (RELEASE): Set to "development".
31946         (VERSION): Set to "2.16.90".
31947
31948 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31949
31950         * NEWS: Update copyright. Remove last-updated date.
31951         Mention math library bug fixes and timezone data changes.
31952         * README: Mention GNU/Hurd, x32, and HPPA support status.
31953
31954 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31955
31956         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31957
31958 2012-06-27  Andreas Jaeger  <aj@suse.de>
31959
31960         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31961
31962 2012-06-25  Andreas Jaeger  <aj@suse.de>
31963
31964         * sysdeps/s390/fpu/libm-test-ulps: Update.
31965
31966 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31967             Thomas Schwinge  <thomas@codesourcery.com>
31968
31969         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31970         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31971         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31972         fanotify_mark.
31973
31974 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31975
31976         * sysdeps/mach/start.c: Remove file.
31977         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31978         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31979         * sysdeps/sh/init-first.c: Likewise.
31980
31981         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31982         registers for frame unwinding purposes, add CFI directives.
31983         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31984         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31985         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31986         Likewise.
31987
31988         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31989         __fortify_fail returning.
31990         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31991
31992         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31993         sysdeps/sh/____longjmp_chk.S.
31994         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31995         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31996         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31997         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31998
31999         * sysdeps/sh/abort-instr.h: New file.
32000         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32001         process in case exit returns.
32002
32003         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32004         initialize the GOT register before use.
32005
32006         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32007         calculation of ARGC > 4.
32008
32009         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32010         meaningful names to some local labels.
32011
32012 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32013             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32014
32015         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32016         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32017         (__arch_compare_and_exchange_val_16_acq): Likewise.
32018         (__arch_compare_and_exchange_val_32_acq): Likewise.
32019         (atomic_exchange_and_add): Fix gUSA sequence.
32020         (atomic_add): Likewise.
32021         (atomic_add_negative): Likewise.
32022         (atomic_add_zero): Likewise.
32023         (atomic_bit_test_set): Likewise.
32024
32025 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32026
32027         [BZ #13579]
32028         * include/link.h (struct link_map): Add l_free_initfini.
32029         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32030         l_initfini.
32031         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32032         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32033         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32034         set.
32035
32036 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32037
32038         * configure.in: Use AC_LANG_SOURCE.
32039         * configure: Regenerate.
32040
32041 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32042
32043         * configure.in (libc_cv_localstatedir): New substituted variable.
32044         * configure: Regenerated.
32045         * config.make.in (localstatedir): New variable, substituted from
32046         libc_cv_localstatedir.
32047         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32048         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32049         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32050         * sysdeps/gnu/configure: Regenerated.
32051
32052 2012-06-21  Jeff Law  <law@redhat.com>
32053
32054         [BZ #14277]
32055         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32056         free.  Simplify list management for _LIBC case.
32057
32058 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32059
32060         [BZ #14273]
32061         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32062         Clear sign bit of 64-bit integer value before comparing against
32063         overflow value.
32064
32065         * sysdeps/mach/configure: Regenerated.
32066
32067 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32068
32069         [BZ #14278]
32070         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32071
32072 2012-06-21  Jeff Law  <law@redhat.com>
32073
32074         [BZ #13882]
32075         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32076         uint16_t for elements in the "seen" array to avoid char overflows.
32077         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32078         * elf/dl-open.c (dl_open_worker): Likewise.
32079
32080 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32081
32082         * scripts/list-sources.sh: Scan PORTS for translations.
32083         * po/libc.pot: Regenerated.
32084
32085 2012-06-21  Andreas Jaeger  <aj@suse.de>
32086
32087         [BZ #12194]
32088         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32089         warning.
32090         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32091         * bits/byteswap-16.h (__bswap_16): Likewise.
32092         * bits/byteswap.h (__bswap_constant_16): Likewise.
32093
32094 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32095
32096         [BZ #14117]
32097         * sysdeps/i386/fpu_control.h: Removed.
32098         * sysdeps/x86_64/fpu_control.h: Moved to ...
32099         * sysdeps/x86/fpu_control.h: Here.
32100
32101         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32102         (_FPU_SETCW): Likewise.
32103
32104 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32105
32106         [BZ #14117]
32107         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32108         * sysdeps/x86/fpu/bits/mathinline.h: This.
32109         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32110
32111         [BZ #14050]
32112         [BZ #14117]
32113         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32114         functions if __x86_64__ is defined.
32115
32116 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32117
32118         * string/endian.h: Add !__ASSEMBLER__ condition for including
32119         conversion interfaces.
32120
32121 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32122
32123         [BZ #14241]
32124         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32125         of ABS(x) in calculating zero to negative powers other than odd
32126         integers.
32127         * math/libm-test.inc (pow_test): Add more tests.
32128
32129 2012-06-15  Andreas Jaeger  <aj@suse.de>
32130
32131         * manual/contrib.texi (Contributors): Update entry of Liubov
32132         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32133         Machado Filho.
32134
32135 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32136
32137         * string/string.h: Add __wur to GNU version of strerror_r.
32138
32139 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32140
32141         [BZ #14229]
32142         * string/Makefile (tests): Add tst-strtok_r.
32143         * string/tst-strtok_r.c: New file.
32144         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32145         RAX_LP/RDX_LP on SAVE_PTR.
32146
32147 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32148
32149         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32150
32151 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32152
32153         * libm_test.inc (csqrt_test): Allow more spurious underflow
32154         exceptions.
32155         (j0_test): Likewise.
32156         (j1_test): Likewise.
32157         (y0_test): Likewise.
32158         (y1_test): Likewise.
32159
32160 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32161
32162         * po/Makefile (libc.pot): Use UTF-8 charset.
32163
32164 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32165
32166         [BZ #14210]
32167         Suppress sign-conversion warning from FD_SET.
32168         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32169         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32170         not unsigned long int.
32171         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32172
32173 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32174
32175         [BZ #14050]
32176         [BZ #14117]
32177         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32178         __extern_always_inline instead of __extern_inline.
32179         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32180         (__signbit): Likewise.
32181         (__signbitl): Support C++ namespace.
32182         (lrintf): New inline function.
32183         (lrint): Likewise.
32184         (llrintf): Likewise.
32185         (llrint): Likewise.
32186         (fmaxf): Likewise.
32187         (fmax): Likewise.
32188         (fminf): Likewise.
32189         (fmin): Likewise.
32190         (rint): Likewise.
32191         (rintf): Likewise.
32192         (ceil): Likewise.
32193         (ceilf): Likewise.
32194         (floor): Likewise.
32195         (floorf): Likewise.
32196         (nearbyint): Likewise.
32197         (nearbyintf): Likewise.
32198
32199 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32200
32201         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32202         non-default versions.
32203
32204 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32205
32206         [BZ #14218]
32207         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32208
32209 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32210
32211         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32212         (FE_UPWARD, FE_DOWNWARD): Don't define.
32213         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32214         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32215
32216         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32217         reading it.
32218         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32219         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32220
32221 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32222
32223         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32224         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32225         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32226         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32227
32228 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32229
32230         [BZ #14117]
32231         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32232         * sysdeps/i386/fpu/Implies: New file.
32233         * sysdeps/x86_64/fpu/Implies: Likewise.
32234         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32235         * sysdeps/x86/fpu/bits/fenv.h: This.
32236
32237         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32238         __SSE_MATH__.
32239
32240 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32241
32242         [BZ #14134]
32243         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32244         character 0xffff that matches the last element of the
32245         conversion table.
32246
32247 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32248
32249         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32250         fmodl commit.
32251
32252 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32253
32254         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32255         values higher than 25.6283.
32256
32257 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32258
32259         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32260         subnormal exponent extraction and add some __builtin_expect.
32261         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32262         Fix for subnormal mantissa calculation.
32263
32264 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32265
32266         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32267         cpu2 is -1 and errno is not ENOSYS.
32268
32269 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32270
32271         [BZ #14117]
32272         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32273         * sysdeps/x86/bits/string.h: This.
32274         * sysdeps/x86_64/bits/string.h: Removed.
32275
32276         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32277         if not compiling for x86-64, but compiling for >= i486.
32278
32279         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32280         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32281
32282         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32283         New macro from Linux kernel 3.4.0.
32284         (FP_XSTATE_MAGIC2): Likewise.
32285         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32286         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32287         (struct _fpx_sw_bytes): New struct.
32288         (struct _xsave_hdr): Likewise.
32289         (struct _ymmh_state): Likewise.
32290         (struct _xstate): Likewise.
32291
32292         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32293         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32294         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32295         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32296         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32297         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32298
32299         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32300         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32301         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32302         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32303         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32304         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32305
32306 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32307
32308         [BZ #13743]
32309         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32310         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32311         (sysdep_headers): Include sys/platform/ppc.h.
32312         * sysdeps/powerpc/test-gettimebase.c: Test for
32313         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32314         * manual/Makefile (appendices): Include platform.texi.
32315         * manual/contrib.texi (Contributors): Update @node pointers.
32316         * manual/maint.texi (Maintenance): Likewise.
32317         (Platform): New node.
32318         * manual/platform.texi: New file.  Document the new features.
32319
32320 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32321             Jakub Jelinek  <jakub@redhat.com>
32322
32323         [BZ #14188]
32324         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32325         where __builtin_expect is unavailable.
32326
32327 2012-06-03  David S. Miller  <davem@davemloft.net>
32328
32329         * stdlib/longlong.h: Updated from GCC.
32330
32331 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32332
32333         [BZ #14042]
32334         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32335         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32336         __mcount_internal.
32337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32338         (GLIBC_2.16): Likewise.
32339
32340 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32341
32342         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32343
32344 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32345
32346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32347         (default-abi): New variable.
32348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32349         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32350         variable.
32351         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32352         Likewise.
32353         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32354         Likewise.
32355         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32356         Likewise.
32357
32358         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32359         definition.  Document in comment.
32360
32361 2012-06-01  David S. Miller  <davem@davemloft.net>
32362
32363         * stdlib/longlong.h: Updated from GCC.
32364
32365 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32366
32367         [BZ #14117]
32368         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32369         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32370         sys/debugreg.h sys/io.h here.
32371         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32372         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32373         sys/io.h.
32374         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32375         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32376         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32377         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32378         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32379         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32380
32381         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32382         Define only if __x86_64__ is defined.
32383
32384 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32385
32386         [BZ #14048]
32387         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32388         Use int64_t for variable i.
32389         * math/libm-test.inc (fmod_test): Add more tests.
32390
32391         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32392         z computation is not scheduled after fetestexcept.
32393         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32394         Use math_force_eval instead of asm to ensure calculation scheduled
32395         before exception test.
32396         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32397         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32398
32399 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32400
32401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32402         computation is not scheduled after fetestexcept.
32403
32404 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32405
32406         [BZ #14117]
32407         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32408         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32409
32410 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32411
32412         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32413         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32414
32415 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32416
32417         [BZ #14117]
32418         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32419         <bits/wordsize.h>.
32420         (__WCHAR_MIN): Support __WORDSIZE == 64.
32421         (__WCHAR_MAX): Likewise.
32422
32423         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32424         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32425
32426         [BZ #14183]
32427         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32428         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32429
32430         [BZ #14117]
32431         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32432         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32433
32434         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32435         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32436
32437         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32438         Defined to 1 if __x86_64__ isn't defined.
32439         (_STAT_VER_LINUX_OLD): New.
32440         (st_atime): Remove duplicate.
32441         (st_mtime): Likewise.
32442         (st_ctime): Likewise.
32443
32444 2012-05-31  David S. Miller  <davem@davemloft.net>
32445
32446         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32447         entries.
32448
32449 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32450
32451         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32452         gen-libm-test.pl.
32453
32454         [BZ #14132]
32455         * elf/dl-reloc.c: Include <_itoa.h>.
32456         (_dl_reloc_bad_type): Remove use of INTUSE.
32457         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32458         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32459         * stdio-common/psiginfo.c (psiginfo): Likewise.
32460         * stdio-common/psignal.c (psignal): Likewise.
32461         * string/strsignal.c (strsignal): Likewise.
32462         * include/signal.h (_sys_siglist): Declare hidden proto.
32463         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32464         INTVARDEF with libc_hidden_data_def.
32465         * stdio-common/itoa-udigits.c: Likewise.
32466         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32467         (_itoa_lower_digits_internal): Remove declaration.
32468         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32469         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32470         (_sys_sigabbrev_internal): Remove aliases.
32471         (_sys_siglist): Define hidden alias.
32472
32473 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32474
32475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32476         bits/sysctl.h.
32477
32478 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32479
32480         [BZ #14117]
32481         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32482         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32483
32484         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32485         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32486         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32487         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32488         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32489         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32490
32491         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32492         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32493         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32494
32495         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32496         with __addr.
32497         (insw): Likewise.
32498         (insl): Likewise.
32499         (outsb): Likewise.
32500         (outsw): Likewise.
32501         (outsl): Likewise.
32502
32503         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32504         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32505         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32506
32507         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32508         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32509         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32510         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32511         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32512         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32513
32514         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32515         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32516
32517         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32518         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32519
32520         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32521         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32522         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32523
32524         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32525         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32526         to ...
32527         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32528
32529         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32530         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32531         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32532
32533         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32534         for x86-64.
32535         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32536
32537 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32538
32539         * math/math.h (M_El): Use two more decimal places.
32540         (M_LOG2El): Likewise.
32541         (M_LOG10El): Likewise.
32542         (M_LN2l): Likewise.
32543         (M_LN10l): Likewise.
32544         (M_PIl): Likewise.
32545         (M_PI_2l): Likewise.
32546         (M_PI_4l): Likewise.
32547         (M_1_PIl): Likewise.
32548         (M_2_PIl): Likewise.
32549         (M_2_SQRTPIl): Likewise.
32550         (M_SQRT2l): Likewise.
32551         (M_SQRT1_2l): Likewise.
32552
32553 2012-05-31  David S. Miller  <davem@davemloft.net>
32554
32555         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32556         values between float registers.
32557         * sysdeps/sparc/sparc64/memset.S: Likewise.
32558         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32559
32560 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32561
32562         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32563         -D_FORTIFY_SOURCE=1.
32564         (CPPFLAGS-tst-longjmp_chk.c): Define.
32565         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32566         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32567         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32568         CFLAGS-tst-wchar-h.c.
32569
32570 2012-05-31  Marek Polacek  <polacek@redhat.com>
32571
32572         [BZ #14132]
32573         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32574         __endmntent_internal): Remove declaration.
32575         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32576         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32577         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32578
32579 2012-05-30  David S. Miller  <davem@davemloft.net>
32580
32581         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32582         (___Q_simulate_exceptions): Use real FP ops rather than writing
32583         into the %fsr.
32584         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32585         Likewise.
32586
32587 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32588
32589         [BZ #14117]
32590         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32591         * sysdeps/x86/bits/xtitypes.h: This.
32592
32593         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32594         * sysdeps/x86/bits/wordsize.h: This.
32595
32596         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32597         * sysdeps/x86/bits/huge_vall.h: This.
32598
32599         * sysdeps/i386/bits/select.h: Removed.
32600         * sysdeps/x86_64/bits/select.h: Renamed to ...
32601         * sysdeps/x86/bits/select.h: This.
32602
32603         * sysdeps/i386/bits/setjmp.h: Removed.
32604         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32605         * sysdeps/x86/bits/setjmp.h: This.
32606
32607         * sysdeps/i386/bits/mathdef.h: Removed.
32608         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32609         * sysdeps/x86/bits/mathdef.h: This.
32610
32611 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32612
32613         [BZ #14132]
32614         * include/sys/socket.h (__connect_internal)
32615         (__libc_sa_len_internal): Remove declaration.
32616         (__connect, __libc_sa_len): Declare hidden_proto.
32617         (SA_LEN): Remove use of INTUSE.
32618         * socket/connect.c: Add libc_hidden_def.
32619         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32620         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32621         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32622         alias.
32623         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32624         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32625         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32626         of adding _internal alias.
32627
32628 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32629
32630         [BZ #14117]
32631         * sysdeps/i386/bits/link.h: Removed.
32632         * sysdeps/i386/bits/linkmap.h: Likewise.
32633         * sysdeps/x86_64/bits/link.h: Renamed to ...
32634         * sysdeps/x86/bits/link.h: This.
32635         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32636         * sysdeps/x86/bits/linkmap.h: This.
32637
32638         * sysdeps/i386/bits/endian.h: Removed.
32639         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32640         * sysdeps/x86/bits/endian.h: This.
32641
32642         * sysdeps/i386/bits/byteswap.h: Removed.
32643         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32644         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32645         * sysdeps/x86/bits/byteswap.h: This.
32646         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32647         * sysdeps/x86/bits/byteswap-16.h: This.
32648         * sysdeps/i386/Implies: Add x86.
32649         * sysdeps/x86_64/Implies: Likewise.
32650
32651 2012-05-30  David S. Miller  <davem@davemloft.net>
32652
32653         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32654         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32655         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32656         (FP_TRAPPING_EXCEPTIONS): Define.
32657         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32658         (FP_TRAPPING_EXCEPTIONS): Define.
32659         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32660         subnormals only when inexact has been signalled or underflow
32661         exceptions are enabled.
32662         (_FP_PACK_CANONICAL): Likewise.
32663
32664 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32665
32666         [BZ #14183]
32667         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32668         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32669
32670 2012-05-30  Richard Henderson  <rth@twiddle.net>
32671
32672         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32673         with #ifndef NOT_IN_libc.
32674
32675         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32676         marked to avoid plt entry.
32677
32678 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32679
32680         [BZ #14112]
32681         * Makeconfig (default-abi): New macro.
32682         (abi-includes): Likewise.
32683         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32684         $(abi-$(default-abi)-lib-soname) for soname if defined.
32685         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32686         abi-variants.
32687         * Makefile (installed-stubs): Likewise.
32688         * include/stubs-biarch.h: Removed.
32689         * scripts/lib-names.awk: Only handle one library at a time.
32690         * scripts/soversions.awk: Remove WORDSIZE support.
32691         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32692         entries.
32693         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32694         Removed.
32695         (syscall-list-default-condition): Likewise.
32696         (syscall-list-default-condition): Likewise.
32697         (syscall-list-includes): Likewise.
32698         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32699         syscall-list-* with abi-*.  Handle undefined abi-variants.
32700         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32701         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32702         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32703         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32704         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32705         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32706         Removed.
32707         (syscall-list-32-options): Likewise.
32708         (syscall-list-32-condition): Likewise.
32709         (syscall-list-64-options): Likewise.
32710         (syscall-list-64-condition): Likewise.
32711         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32712         macro.
32713         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32714         Renamed to ...
32715         (abi-*): This.
32716         (abi-64-ld-soname): New macro.
32717         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32718         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32719         Renamed to ...
32720         (abi-*): This.
32721         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32722         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32723
32724 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32725
32726         * sysdeps/unix/sysv/linux/kernel-features.h
32727         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32728         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32729         include <kernel-features.h>.
32730         [!__NR_ftruncate64]: Remove conditional code.
32731         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32732         [__NR_ftruncate64]: Make code unconditional.
32733         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32734         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32735         include <kernel-features.h>.
32736         [!__NR_ftruncate64]: Remove conditional code.
32737         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32738         [__NR_ftruncate64]: Make code unconditional.
32739         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32741         include <kernel-features.h>.
32742         [!__NR_ftruncate64]: Remove conditional code.
32743         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32744         [__NR_ftruncate64]: Make code unconditional.
32745         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32747         include <kernel-features.h>.
32748         [!__NR_ftruncate64]: Remove conditional code.
32749         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32750         [__NR_ftruncate64]: Make code unconditional.
32751         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32752
32753         * configure.in (libc_cv_fpie): Weaken to a compile test using
32754         LIBC_TRY_CC_OPTION.
32755         * configure: Regenerated.
32756
32757 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32758
32759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32763         Refreshed.
32764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32770         Refreshed.
32771
32772 2012-05-27  David S. Miller  <davem@davemloft.net>
32773
32774         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32775         (___Q_zero): New.
32776         (__Q_simulate_exceptions): Return void.  Change to simulate
32777         exceptions by writing into the %fsr.
32778         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32779         (__Qp_handle_exceptions): Likewise.
32780         (numbers): Delete.
32781         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32782         __Qp_handle_exceptions.
32783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32784         __Qp_handle_exceptions.
32785         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32786         as unused and give dummy FP_RND_NEAREST initializer.
32787         (FP_INHIBIT_RESULTS): Define.
32788         (___Q_simulate_exceptions): Update declaration.
32789         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32790         formatting.
32791         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32792         as unused and give dummy FP_RND_NEAREST initializer.
32793         (__Qp_handle_exceptions): Update declaration.
32794         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32795         formatting.
32796
32797 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32798
32799         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32800         the temporary FPU control word.
32801         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32802         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32803         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32804         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32805         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32806         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32807         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32808         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32809         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32810         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32811         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32812
32813 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32814
32815         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32816         fields.
32817
32818 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32819
32820         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32821         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32822         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32823         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32824         Likewise.
32825         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32826         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32827         Likewise.
32828
32829 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32830
32831         * po/h.po: Update from translation team.
32832
32833 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32834
32835         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32836
32837         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32838         handling of denormals.
32839         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32840         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32841         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32842         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32843         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32844         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32845         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32846         Likewise.
32847
32848 2012-05-26  Marek Polacek  <polacek@redhat.com>
32849
32850         [BZ #14152]
32851         * math/libm-test.inc (fma_test): Don't always expect underflow
32852         exception.
32853
32854 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32855
32856         [BZ #12416]
32857         * elf/tst-execstack.c: Include stackinfo.h.
32858         (do_test): Adjust test case to ensure that pthread_getattr_np
32859         behaviour remains the same after marking stack executable.
32860
32861 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32862
32863         * sysdeps/unix/sysv/linux/kernel-features.h
32864         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32865         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32866         kernel-features.h.
32867         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32868         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32869         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32870         kernel-features.h.
32871         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32872         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32873
32874 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32875
32876         * configure.in: Define the default includes to being none.
32877         * configure: Regenerated.
32878
32879 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32880
32881         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32882         * sysdeps/x86_64/setjmp.S: Likewise.
32883         * sysdeps/i386/bsd-setjmp.S: Likewise.
32884         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32885         * sysdeps/i386/setjmp.S: Likewise.
32886         * sysdeps/i386/__longjmp.S: Likewise.
32887         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32888         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32889
32890         * include/stap-probe.h: New file.
32891         * configure.in: Handle --enable-systemtap.
32892         * configure: Regenerated.
32893         * config.h.in (USE_STAP_PROBE): New #undef.
32894         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32895         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32896         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32897
32898 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32899
32900         [BZ #13717]
32901         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32902         to 2.4.0 where earlier.
32903         * sysdeps/unix/sysv/linux/configure: Regenerated.
32904         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32905         <kernel-features.h>.
32906         [__ASSUME_32BITUIDS]: Make code unconditional.
32907         [!__ASSUME_32BITUIDS]: Remove conditional code.
32908         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32909         <kernel-features.h>.
32910         [__ASSUME_32BITUIDS]: Make code unconditional.
32911         [!__ASSUME_32BITUIDS]: Remove conditional code.
32912         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32913         [__ASSUME_32BITUIDS]: Make code unconditional.
32914         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32915         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32916         <kernel-features.h>.
32917         [__ASSUME_32BITUIDS]: Make code unconditional.
32918         [!__ASSUME_32BITUIDS]: Remove conditional code.
32919         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32920         <kernel-features.h>.
32921         [__ASSUME_32BITUIDS]: Make code unconditional.
32922         [!__ASSUME_32BITUIDS]: Remove conditional code.
32923         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32924         <kernel-features.h>.
32925         [__ASSUME_32BITUIDS]: Make code unconditional.
32926         [!__ASSUME_32BITUIDS]: Remove conditional code.
32927         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32928         <kernel-features.h>.
32929         [__ASSUME_32BITUIDS]: Make code unconditional.
32930         [!__ASSUME_32BITUIDS]: Remove conditional code.
32931         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32932         <kernel-features.h>.
32933         [__ASSUME_32BITUIDS]: Make code unconditional.
32934         [!__ASSUME_32BITUIDS]: Remove conditional code.
32935         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32936         <kernel-features.h>.
32937         [__ASSUME_32BITUIDS]: Make code unconditional.
32938         [!__ASSUME_32BITUIDS]: Remove conditional code.
32939         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32940         <kernel-features.h>.
32941         [__ASSUME_32BITUIDS]: Make code unconditional.
32942         [!__ASSUME_32BITUIDS]: Remove conditional code.
32943         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32944         <kernel-features.h>.
32945         [__ASSUME_32BITUIDS]: Make code unconditional.
32946         [!__ASSUME_32BITUIDS]: Remove conditional code.
32947         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32948         <kernel-features.h>.
32949         [__ASSUME_32BITUIDS]: Make code unconditional.
32950         [!__ASSUME_32BITUIDS]: Remove conditional code.
32951         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32952         <kernel-features.h>.
32953         [__ASSUME_32BITUIDS]: Make code unconditional.
32954         [!__ASSUME_32BITUIDS]: Remove conditional code.
32955         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32956         <kernel-features.h>.
32957         [__NR_setresgid] (__setresgid): Do not declare.
32958         [__ASSUME_32BITUIDS]: Make code unconditional.
32959         [!__ASSUME_32BITUIDS]: Remove conditional code.
32960         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32961         <kernel-features.h>.
32962         [__NR_setresuid] (__setresuid): Do not declare.
32963         [__ASSUME_32BITUIDS]: Make code unconditional.
32964         [!__ASSUME_32BITUIDS]: Remove conditional code.
32965         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32966         <kernel-features.h>.
32967         [__ASSUME_32BITUIDS]: Make code unconditional.
32968         [!__ASSUME_32BITUIDS]: Remove conditional code.
32969         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32970         <kernel-features.h>.
32971         [__ASSUME_32BITUIDS]: Make code unconditional.
32972         [!__ASSUME_32BITUIDS]: Remove conditional code.
32973         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32974         <kernel-features.h>.
32975         [__ASSUME_32BITUIDS]: Make code unconditional.
32976         [!__ASSUME_32BITUIDS]: Remove conditional code.
32977         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32978         <kernel-features.h>.
32979         [__ASSUME_32BITUIDS]: Make code unconditional.
32980         [!__ASSUME_32BITUIDS]: Remove conditional code.
32981         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32982         <kernel-features.h>.
32983         [__ASSUME_32BITUIDS]: Make code unconditional.
32984         [!__ASSUME_32BITUIDS]: Remove conditional code.
32985         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32986         <kernel-features.h>.
32987         [__ASSUME_32BITUIDS]: Make code unconditional.
32988         [!__ASSUME_32BITUIDS]: Remove conditional code.
32989         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32990         <kernel-features.h>.
32991         [__ASSUME_32BITUIDS]: Make code unconditional.
32992         [!__ASSUME_32BITUIDS]: Remove conditional code.
32993         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32994         <kernel-features.h>.
32995         [__ASSUME_32BITUIDS]: Make code unconditional.
32996         [!__ASSUME_32BITUIDS]: Remove conditional code.
32997         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32998         <kernel-features.h>.
32999         [__ASSUME_32BITUIDS]: Make code unconditional.
33000         [!__ASSUME_32BITUIDS]: Remove conditional code.
33001         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33002         <kernel-features.h>.
33003         [__ASSUME_32BITUIDS]: Make code unconditional.
33004         [!__ASSUME_32BITUIDS]: Remove conditional code.
33005         * sysdeps/unix/sysv/linux/kernel-features.h
33006         (__ASSUME_SETRESUID_SYSCALL): Remove.
33007         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33008         (__ASSUME_32BITUIDS): Likewise.
33009         (__ASSUME_LDT_WORKS): Likewise.
33010         (__ASSUME_O_DIRECTORY): Likewise.
33011         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33012         architecture but not kernel version.
33013         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33014         (__ASSUME_MMAP2_SYSCALL): Likewise.
33015         (__ASSUME_STAT64_SYSCALL): Likewise.
33016         (__ASSUME_IPC64): Likewise.
33017         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33018         <kernel-features.h>.
33019         [__ASSUME_32BITUIDS]: Make code unconditional.
33020         [!__ASSUME_32BITUIDS]: Remove conditional code.
33021         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33022         <kernel-features.h>.
33023         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33024         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33025         132096]: Remove conditional code.
33026         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33027         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33028         <kernel-features.h>.
33029         [__ASSUME_32BITUIDS]: Make code unconditional.
33030         [!__ASSUME_32BITUIDS]: Remove conditional code.
33031         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33032         <kernel-features.h>.
33033         [__ASSUME_32BITUIDS]: Make code unconditional.
33034         [!__ASSUME_32BITUIDS]: Remove conditional code.
33035         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33036         <kernel-features.h>.
33037         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33038         unconditional.
33039         (__setresgid): Do not declare.
33040         [__ASSUME_32BITUIDS]: Make code unconditional.
33041         [!__ASSUME_32BITUIDS]: Remove conditional code.
33042         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33043         <kernel-features.h>.
33044         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33045         unconditional.
33046         (__setresuid): Do not declare.
33047         [__ASSUME_32BITUIDS]: Make code unconditional.
33048         [!__ASSUME_32BITUIDS]: Remove conditional code.
33049         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33050         <kernel-features.h>.
33051         [__ASSUME_32BITUIDS]: Make code unconditional.
33052         [!__ASSUME_32BITUIDS]: Remove conditional code.
33053         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33054         <kernel-features.h>.
33055         [__ASSUME_32BITUIDS]: Make code unconditional.
33056         [!__ASSUME_32BITUIDS]: Remove conditional code.
33057
33058 2012-05-25  Richard Henderson  <rth@twiddle.net>
33059
33060         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33061         dl_hwcap to ifunc resolver.
33062         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33063         elf_ifunc_invoke.
33064         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33065         dl_hwcap to ifunc resolver.
33066         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33067
33068 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33069
33070         [BZ #14153]
33071         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33072         for |x| <= 2**-26, not 2**-57.
33073         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33074         exception.
33075
33076 2012-05-24  Jeff Law  <law@redhat.com>
33077
33078         * stdio-common/Makefile (tests): Add bug25.
33079         * stdio-common/bug25.c: New test.
33080
33081 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33082
33083         [BZ #13576]
33084         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33085         multiple of MALLOC_ALIGNMENT in size.
33086         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33087
33088 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33089
33090         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33091         Require >= 256.
33092         (FILENAME_MAX): Use macro-int-constant.
33093         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33094         (_IOFBF): Use macro-int-constant.
33095         (_IOLBF): Likewise.
33096         (_IONBF): Likewise.
33097         (SEEK_CUR): Likewise.
33098         (SEEK_END): Likewise.
33099         (SEEK_SET): Likewise.
33100         (TMP_MAX): Likewise.
33101         (EOF): Use macro-int-constant.  Require < 0.
33102         (NULL): Use macro-constant.  Require == 0.
33103         (stdin): Require type to be FILE *.
33104         (stdout): Likewise.
33105         (stderr): Likewise.
33106         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33107         macro-int-constant.
33108         (EXIT_SUCCESS): Likewise.
33109         (NULL): Use macro-constant.  Require == 0.
33110         (RAND_MAX): Use macro-int-constant.
33111         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33112         [C99-based standards] (strtof): Require function.
33113         [C99-based standards] (strtold): Likewise.
33114         [C99-based standards] (strtoll): Likewise.
33115         [C99-based standards] (strtoull): Likewise.
33116         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33117         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33118         [ISO || ISO99 || ISO11] (math.h): Likewise.
33119         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33120         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33121         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33122
33123 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33124
33125         [BZ #14132]
33126         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33127         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33128         * intl/dgettext.c (DCGETTEXT): Likewise.
33129         * intl/gettext.c (DCGETTEXT): Likewise.
33130         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33131         * posix/regex_internal.h (gettext): Likewise.
33132         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33133         Remove declaration.
33134         * include/argz.h (__argz_count_internal)
33135         (__argz_stringify_internal): Remove declaration.
33136         (__argz_count, __argz_stringify): Declare hidden proto.
33137         * intl/dcgettext.c: Remove use of INTDEF.
33138         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33139         * string/argz-stringify.c: Likewise.
33140         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33141         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33142         Declare hidden proto.
33143         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33144         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33145         Declare hidden proto.
33146         * include/stdio.h (__asprintf_internal): Don't declare.
33147         (__asprintf): Don't define as macro.  Declare hidden proto.
33148         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33149         (__fsetlocking): Declare hidden proto.
33150         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33151         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33152         hidden proto.
33153         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33154         (_IO_setlinebuf): Remove use of INTUSE.
33155         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33156         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33157         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33158         Remove declaration.
33159         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33160         (_IO_do_flush): Remove use of INTUSE.
33161         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33162         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33163         (_IO_adjust_column, _IO_least_wmarker)
33164         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33165         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33166         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33167         (_IO_default_doallocate, _IO_wdefault_doallocate)
33168         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33169         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33170         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33171         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33172         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33173         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33174         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33175         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33176         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33177         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33178         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33179         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33180         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33181         proto.
33182         (_IO_flush_all_internal, _IO_adjust_column_internal)
33183         (_IO_default_uflow_internal, _IO_default_finish_internal)
33184         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33185         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33186         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33187         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33188         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33189         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33190         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33191         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33192         (_IO_file_close_internal, _IO_file_close_it_internal)
33193         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33194         (_IO_file_init_internal, _IO_file_attach_internal)
33195         (_IO_file_fopen_internal, _IO_file_read_internal)
33196         (_IO_file_sync_internal, _IO_file_seek_internal)
33197         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33198         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33199         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33200         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33201         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33202         (_IO_list_all_internal, _IO_link_in_internal)
33203         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33204         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33205         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33206         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33207         (_IO_do_write_internal, _IO_padn_internal)
33208         (_IO_getline_info_internal, _IO_getline_internal)
33209         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33210         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33211         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33212         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33213         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33214         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33215         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33216         with libc_hidden_ver, remove use of INTUSE.
33217         * libio/genops.c: Likewise.
33218         * libio/freopen.c: Likewise.
33219         * libio/freopen64.c: Likewise.
33220         * libio/iofclose.c: Likewise.
33221         * libio/iofdopen.c: Likewise.
33222         * libio/iofflush.c: Likewise.
33223         * libio/iofflush_u.c: Likewise.
33224         * libio/iofgets.c: Likewise.
33225         * libio/iofgets_u.c: Likewise.
33226         * libio/iofopen.c: Likewise.
33227         * libio/iofopncook.c: Likewise.
33228         * libio/iofread.c: Likewise.
33229         * libio/iofread_u.c: Likewise.
33230         * libio/ioftell.c: Likewise.
33231         * libio/iofwrite.c: Likewise.
33232         * libio/iogetline.c: Likewise.
33233         * libio/iogets.c: Likewise.
33234         * libio/iogetwline.c: Likewise.
33235         * libio/iopadn.c: Likewise.
33236         * libio/iopopen.c: Likewise.
33237         * libio/ioseekoff.c: Likewise.
33238         * libio/ioseekpos.c: Likewise.
33239         * libio/iosetbuffer.c: Likewise.
33240         * libio/iosetvbuf.c: Likewise.
33241         * libio/ioungetc.c: Likewise.
33242         * libio/ioungetwc.c: Likewise.
33243         * libio/iovdprintf.c: Likewise.
33244         * libio/iovsprintf.c: Likewise.
33245         * libio/iovsscanf.c: Likewise.
33246         * libio/memstream.c: Likewise.
33247         * libio/obprintf.c: Likewise.
33248         * libio/oldfileops.c: Likewise.
33249         * libio/oldiofclose.c: Likewise.
33250         * libio/oldiofdopen.c: Likewise.
33251         * libio/oldiofopen.c: Likewise.
33252         * libio/oldiopopen.c: Likewise.
33253         * libio/oldstdfiles.c: Likewise.
33254         * libio/putc.c: Likewise.
33255         * libio/setbuf.c: Likewise.
33256         * libio/setlinebuf.c: Likewise.
33257         * libio/stdfiles.c: Likewise.
33258         * libio/strops.c: Likewise.
33259         * libio/vasprintf.c: Likewise.
33260         * libio/vscanf.c: Likewise.
33261         * libio/vsnprintf.c: Likewise.
33262         * libio/vswprintf.c: Likewise.
33263         * libio/wfiledoalloc.c: Likewise.
33264         * libio/wfileops.c: Likewise.
33265         * libio/wgenops.c: Likewise.
33266         * libio/wmemstream.c: Likewise.
33267         * libio/wstrops.c: Likewise.
33268         * libio/__fpurge.c: Likewise.
33269         * libio/__fsetlocking.c: Likewise.
33270         * assert/assert.c: Likewise.
33271         * debug/fgets_chk.c: Likewise.
33272         * debug/fgets_u_chk.c: Likewise.
33273         * debug/fread_chk.c: Likewise.
33274         * debug/fread_u_chk.c: Likewise.
33275         * debug/gets_chk.c: Likewise.
33276         * debug/obprintf_chk.c: Likewise.
33277         * debug/vasprintf_chk.c: Likewise.
33278         * debug/vdprintf_chk.c: Likewise.
33279         * debug/vsnprintf_chk.c: Likewise.
33280         * debug/vsprintf_chk.c: Likewise.
33281         * malloc/mtrace.c: Likewise.
33282         * misc/error.c: Likewise.
33283         * misc/syslog.c: Likewise.
33284         * stdio-common/asprintf.c: Likewise.
33285         * stdio-common/fxprintf.c: Likewise.
33286         * stdio-common/getw.c: Likewise.
33287         * stdio-common/isoc99_fscanf.c: Likewise.
33288         * stdio-common/isoc99_scanf.c: Likewise.
33289         * stdio-common/isoc99_vfscanf.c: Likewise.
33290         * stdio-common/isoc99_vscanf.c: Likewise.
33291         * stdio-common/isoc99_vsscanf.c: Likewise.
33292         * stdio-common/printf-prs.c: Likewise.
33293         * stdio-common/printf_fp.c: Likewise.
33294         * stdio-common/printf_fphex.c: Likewise.
33295         * stdio-common/printf_size.c: Likewise.
33296         * stdio-common/putw.c: Likewise.
33297         * stdio-common/scanf.c: Likewise.
33298         * stdio-common/sprintf.c: Likewise.
33299         * stdio-common/tmpfile.c: Likewise.
33300         * stdio-common/vfprintf.c: Likewise.
33301         * stdio-common/vfscanf.c: Likewise.
33302         * stdlib/strfmon_l.c: Likewise.
33303         * sunrpc/openchild.c: Likewise.
33304         * sunrpc/xdr_stdio.c: Likewise.
33305         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33306         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33307
33308 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33309
33310         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33311
33312         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33313         in the third column, to generate for the shared library an IFUNC
33314         that uses _dl_vdso_vsym.
33315         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33316         * Makeconfig (object-suffixes-noshared): New variable.
33317
33318         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33319         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33320         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33321         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33322
33323         [BZ #14132]
33324         * include/sys/time.h (__gettimeofday): Remove macro.
33325         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33326         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33327         Remove INTDEF.
33328         (__gettimeofday): Add libc_hidden_def.
33329         (gettimeofday): Add libc_hidden_weak.
33330         * sysdeps/mach/gettimeofday.c: Likewise.
33331         * sysdeps/posix/gettimeofday.c: Likewise.
33332         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33333         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33334         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33335         (__gettimeofday_internal): Remove strong_alias.
33336         (__gettimeofday): Add libc_hidden_def.
33337         (gettimeofday): Add libc_hidden_weak.
33338         * sysdeps/unix/syscalls.list (gettimeofday):
33339         Remove __gettimeofday_internal alias.
33340
33341 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33342             H.J. Lu  <hongjiu.lu@intel.com>
33343
33344         [BZ #12495]
33345         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33346         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33347         (largebin_index_32_big): New.
33348         (largebin_index): Use it for 16-byte alignment.
33349         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33350         correction with front_misalign.
33351
33352 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33353
33354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33356         Likewise.
33357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33358         Likewise.
33359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33360         Likewise.
33361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33362         Likewise.
33363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33364         Likewise.
33365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33366         Likewise.
33367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33368         Likewise.
33369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33370         Likewise.
33371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33372         Likewise.
33373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33374         Likewise.
33375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33376         Likewise.
33377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33378         Likewise.
33379
33380         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33381         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33382
33383 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33384
33385         [BZ #10846]
33386         [BZ #14036]
33387         * math/libm-test.inc (exp_test): Add test from bug 14036.
33388         (pow_test): Add test from bug 10846.
33389
33390         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33391         and other flags.
33392         (special_function): Do not include flags in test name.
33393         (parse_args): Likewise.
33394         * sysdeps/i386/fpu/libm-test-ulps: Update.
33395         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33396         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33397         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33399
33400         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33401         exceptions.
33402         * math/libm-test.inc ("Philosophy"): Update comment about
33403         exception testing.
33404         (UNDERFLOW_EXCEPTION): New macro.
33405         (UNDERFLOW_EXCEPTION_OK): Likewise.
33406         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33407         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33408         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33409         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33410         (INVALID_EXCEPTION_OK): Update value.
33411         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33412         (OVERFLOW_EXCEPTION_OK): Likewise.
33413         (IGNORE_ZERO_INF_SIGN): Likewise.
33414         (test_exceptions): Handle underflow exceptions.
33415         (acos_test): Update for underflow exception expectations.
33416         (cexp_test): Likewise.
33417         (clog_test): Likewise.
33418         (clog10_test): Likewise.
33419         (csqrt_test): Likewise.
33420         (ctan_test): Likewise.
33421         (ctanh_test): Likewise.
33422         (exp_test): Likewise.
33423         (exp10_test): Likewise.
33424         (exp2_test): Likewise.
33425         (expm1_test): Likewise.
33426         (fma_test): Likewise.
33427         (j0_test): Likewise.
33428         (jn_test): Likewise.
33429         (nexttoward_test): Likewise.
33430         (pow_test): Likewise.
33431         (scalbn_test): Likewise.
33432         (scalbln_test): Likewise.
33433         (tan_test): Likewise.
33434         (y1_test): Likewise.
33435         * sysdeps/i386/fpu/libm-test-ulps: Update.
33436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33437
33438 2012-05-23  David S. Miller  <davem@davemloft.net>
33439
33440         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33441         (__libc_sigaction): Remove unused local variables.
33442
33443 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33444
33445         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33446
33447 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33448
33449         mktime: avoid signed integer overflow
33450         * time/mktime.c (__mktime_internal): Do not mishandle the case
33451         where diff == INT_MIN.
33452
33453         mktime: simplify computation of average
33454         * time/mktime.c (ranged_convert): Use new time_t_avg function
33455         instead of rolling our own (probably-slower) code.
33456
33457         mktime: do not assume signed right shift propagates sign bit
33458         * time/mktime.c (isdst_differ): New static function.
33459         (__mktime_internal): No need to normalize tm_isdst now.
33460         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33461         tm_isdst values.
33462
33463         mktime: merge another wrapv change from gnulib
33464         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33465         from some compilers.
33466
33467         mktime: remove incorrect attempt at unusual arithmetics
33468         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33469         The code didn't really work on such machines anyway.
33470         (TYPE_MINIMUM): Assume two's complement.
33471         (twos_complement_arithmetic): Verify that long_int and time_t
33472         are two's complement (or unsigned, in the latter case).
33473
33474         mktime: check signed shifts on long_int and time_t, too
33475         * time/mktime.c (SHR): Check that shifts work as desired
33476         on the types long_int and time_t too, as SHR is used on
33477         such types.
33478
33479         mktime: do not assume 'long' is wide enough
33480         * time/mktime.c (verify): Move decl up.
33481         (long_int): New type.
33482         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33483         to remove assumption in the code that 'long' is wide enough to
33484         store year values.  This assumption is not true on x32 and on
33485         some non-glibc platforms.
33486
33487         mktime: merge wrapv change from gnulib
33488         * time/mktime.c (WRAPV): New macro.
33489         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33490         (guess_time_tm, __mktime_internal): Do not assume that signed
33491         integer overflow wraps around; modern compilers generate code
33492         where this assumption is no longer valid.
33493
33494 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33495
33496         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33497         Replace "jmp L(pseudo_end)" with "ret".
33498         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33499         Likewise.
33500
33501 2012-05-23  Andreas Jaeger  <aj@suse.de>
33502
33503         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33504         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33505
33506 2012-05-23  Andreas Jaeger  <aj@suse.de>
33507             Maximilian Attems  <max@stro.at>
33508
33509         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33510         New macros.
33511
33512 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33513
33514         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33515         code so that pseudo_end is just ret and the stack pointer is
33516         correct also for static library in error case.
33517
33518 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33519
33520         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33521         move to syscalls.list.
33522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33526
33527         * manual/install.texi (Running make install): Do not mention Linux
33528         kernel version for which pt_chown is not needed.
33529         (Linux): Do not mention problems with nscd with 2.0 kernels.
33530         * INSTALL: Regenerated.
33531
33532 2012-05-23  Andreas Jaeger  <aj@suse.de>
33533
33534         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33535         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33536         macro.
33537         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33538         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33539         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33540         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33541         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33542         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33543         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33544         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33545         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33546         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33547         * sysdeps/unix/sysv/linux/bits/in.h
33548         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33549
33550 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33551
33552         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33553         (PREPARE_VERSION): Just use assert instead, it will be elided
33554         under [NDEBUG] anyway.
33555
33556 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33557
33558         * sysdeps/unix/sysv/linux/Makefile: Include
33559         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33560         (sysdep_routines): Remove sysctl.
33561         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33562         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33563         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33564         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33565         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33566
33567 2012-05-22  Andreas Jaeger  <aj@suse.de>
33568
33569         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33570         that pseudo_end is just ret and the stack pointer is correct also
33571         for static library in error case.
33572
33573 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33574
33575         [BZ #14122]
33576         * nss/nsswitch.c (defconfig_entries): New variable.
33577         (__nss_database_lookup): Don't leak defconfig entries.
33578         (nss_parse_service_list): Don't leak on error paths.
33579         (free_database_entries): New function.
33580         (free_defconfig): New function.
33581         (free_mem): Move common code to free_database_entries.
33582
33583 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33584
33585         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33586         Add arch_prctl.
33587         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33588
33589         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33590         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33591         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33592         New macro.
33593         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33594         (INTERNAL_SYSCALL_TYPES): Likewise.
33595         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33596         (LOAD_REGS_TYPES_[1-6]): Likewise.
33597         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33598         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33599
33600 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33601
33602         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33603         copysignl for GLIBC_2_0.
33604         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33605         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33606         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33607         logbl for GLIBC_2_0.
33608         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33609         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33610
33611 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33612
33613         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33614         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33615
33616         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33617         Use "neg %eax".
33618
33619         * time/mktime.c: Update copyright years.
33620
33621 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33622
33623         mktime: merge comment-quoting-style change from gnulib
33624         * time/mktime.c: Quote 'like this' in comments.
33625         The GNU coding standards suggest that we no longer quote `like this',
33626         as "`" and "'" are typically rendered asymmetrically nowadays.
33627         The typical gnulib style is to quote 'like this' when quoting
33628         code, and "like this" when quoting English.
33629
33630         * time/mktime.c (compile-command): Add "-I.".
33631
33632         mktime: merge mktime-internal.h change from gnulib
33633         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33634
33635         mktime: merge time_r change from gnulib
33636         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33637
33638         mktime: merge DEBUG change from gnulib
33639         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33640         case system <time.h> has a #define.
33641
33642         mktime: merge <sys/types.h> change from gnulib
33643         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33644         since <time.t> is now guaranteed to define time_t.
33645
33646         mktime: merge HAVE_CONFIG_H change from gnulib
33647         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33648
33649 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33650
33651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33652         Use "neg %eax".
33653
33654         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33655         __rlim_t cast.
33656         (struct rusage): Use anonymous union to pad each field to
33657         __syscall_slong_t.
33658
33659 2012-05-21  David S. Miller  <davem@davemloft.net>
33660
33661         * Makefules (o-iterator): Remove .s cases.
33662         (compile-command.s): Delete.
33663         (COMPILE.s): Delete.
33664         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33665
33666 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33667
33668         * configure.in (libc_cv_predef_stack_protector): Only consider
33669         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33670         * configure: Regenerated.
33671
33672 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33673
33674         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33675         New macro.  Use R*LP on int and pointer.
33676         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33677         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33678         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33679         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33680
33681         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33682         [__WORDSIZE_TIME64_COMPAT32] instead of
33683         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33684         (struct utmp): Likewise.
33685         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33686         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33687         Renamed to ...
33688         (__WORDSIZE_TIME64_COMPAT32): This.
33689         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33690         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33691         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33692         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33693         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33694         (__WORDSIZE_TIME64_COMPAT32): New macro.
33695
33696 2012-05-21  Andreas Jaeger  <aj@suse.de>
33697
33698         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33699         only if [SHARED]. Add prototype for __wcschr_ia32.
33700
33701 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33702
33703         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33704         of %rbp unmolested in the jmp_buf while mangling the low bits.
33705         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33706         unmolested high bits of %rbp while demangling the low bits.
33707         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33708
33709 2012-05-21  Andreas Jaeger  <aj@suse.de>
33710
33711         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33712         * sunrpc/svc_simple.c: Use it for registerrpc.
33713         * sunrpc/xcrypt.c: Use it for passwd2des.
33714
33715         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33716
33717 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33718
33719         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33720         Don't define if [__SYSCALL_WORDSIZE != 32].
33721         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33722         New macro.
33723
33724 2012-05-21  Bruno Haible  <bruno@clisp.org>
33725             Andreas Jaeger  <aj@suse.de>
33726
33727         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33728         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33729         inptr and inend for must_buffer_ch.
33730         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33731         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33732         * stdio-common/Makefile (tests): Remove bug15.
33733         (bug15-ENV): Remove macro.
33734         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33735         anymore.
33736
33737 2012-05-19  Andreas Jaeger  <aj@suse.de>
33738             Roland McGrath  <roland@hack.frob.com>
33739
33740         * manual/contrib.texi: Completely rewritten. It contains now an
33741         alphabetical list of contributors and their contributions.
33742
33743 2012-05-21  Richard Henderson  <rth@twiddle.net>
33744
33745         * misc/getauxval.c (__getauxval): Use unsigned long int.
33746         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33747         (getauxval): Use unsigned long int.
33748
33749 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33750
33751         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33752
33753 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33754
33755         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33756         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33757         __alignof__ (long double).
33758
33759 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33760
33761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33762
33763 2012-05-20  Richard Henderson  <rth@twiddle.net>
33764
33765         * misc/getauxval.c: New file.
33766         * misc/sys/auxv.h: New file.
33767         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33768         (routines): Add getauxval.
33769         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33770         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33771         * elf/dl-sysdep.c (_dl_auxv): Remove.
33772         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33773         * elf/dl-support.c (_dl_auxv): New variable.
33774         (_dl_aux_init): Initialize it.
33775         * manual/startup.texi (Auxiliary Vector): New node.
33776         * sysdeps/generic/bits/hwcap.h: New file.
33777         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33778         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33779         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33780         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33781         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33782         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33784         Update.
33785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33788         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33793
33794 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33795
33796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33797
33798 2012-05-19  David S. Miller  <davem@davemloft.net>
33799
33800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33801
33802 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33803
33804         [BZ #14123]
33805         * math/s_ccosh.c: Include <float.h>
33806         (__ccosh): Avoid internal overflow calculating sinh and cosh
33807         values before multiplying by sin and cos values.
33808         * math/s_ccoshf.c: Likewise.
33809         * math/s_ccoshl.c: Likewise.
33810         * math/s_csin.c: Likewise.
33811         * math/s_csinf.c: Likewise.
33812         * math/s_csinl.c: Likewise.
33813         * math/s_csinh.c: Likewise.
33814         * math/s_csinhf.c: Likewise.
33815         * math/s_csinhl.c: Likewise.
33816         * math/libm-test.inc (ccos_test): Add more tests.
33817         (ccosh_test): Likewise.
33818         (csin_test): Likewise.
33819         (csinh_test): Likewise.
33820         * sysdeps/i386/fpu/libm-test-ulps: Update.
33821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33822
33823 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33824
33825         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33826         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33827
33828         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33829
33830 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33831
33832         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33833         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33834         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33835         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33836         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33837         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33838         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33839         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33840         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33841         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33842         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33843         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33844         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33845         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33846         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33847         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33848         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33849         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33850         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33851         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33852         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33853         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33854         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33855         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33856         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33857         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33858         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33859         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33860         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33861         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33862         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33863
33864 2012-05-18  Andreas Jaeger  <aj@suse.de>
33865
33866         * csu/.gitignore: Delete.
33867
33868 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33869
33870         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33871         (timex): Use __syscall_slong_t.
33872
33873 2012-05-18  Andreas Jaeger  <aj@suse.de>
33874             Carlos O'Donell  <carlos_odonell@mentor.com>
33875
33876         * manual/install.texi (Configuring and compiling): Update
33877         description about files modified in the source directory.
33878         * INSTALL: Regenerated.
33879
33880 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33881
33882         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33883         value.  Use "or" to set return value to -1.
33884         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33885         negate return value.
33886
33887 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33888
33889         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33890         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33891         failure if the compiler has Graphite support disabled.
33892         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33893         Likewise.
33894         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33895         (CFLAGS-memmove.c): Likewise.
33896         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33897         Likewise.
33898
33899 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33900
33901         * sysdeps/x86_64/x32/_itoa.h: New file.
33902
33903         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33904         getdents system call only if kernel and user dirents have the
33905         same d_ino and d_off.
33906
33907         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33908         LLONG_MAX != LONG_MAX.
33909         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33910         (_fitoa_word): Likewise.
33911
33912         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33913         years.
33914         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33915         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33916         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33917
33918         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33919         include <bits/wordsize.h>.  Check __x86_64__ instead of
33920         __WORDSIZE.
33921         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33922         if __x86_64__ is defined.  Use anonymous union on fpstate.
33923
33924         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33925         anonymous union.
33926
33927 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33928
33929         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33930         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33931         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33932         Refer to _rtld_local_ro instead of _rtld_global_ro.
33933         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33934         Likewise.
33935         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33936         Likewise.
33937         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33938         Likewise.
33939         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33940         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33941         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33942
33943         * sysdeps/powerpc/powerpc32/dl-machine.c
33944         (__elf_machine_runtime_setup) [PROF]: Don't reference
33945         _dl_prof_resolve.
33946
33947 2012-05-18  Andreas Jaeger  <aj@suse.de>
33948
33949         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33950         function only available for GCCs before 3.4 since GCC 3.4
33951         introduced a builtin.
33952         (lrint): Likewise.
33953         (llrintf): Likewise.
33954         (llrint): Likewise.
33955         (fmaxf): Likewise.
33956         (fmax): Likewise.
33957         (fminf): Likewise.
33958         (fmin): Likewise.
33959         (rint): Likewise.
33960         (rintf): Likewise.
33961         (nearbyint): Likewise.
33962         (nearbyintf): Likewise.
33963         (ceil): Likewise.
33964         (ceilf): Likewise.
33965         (floor): Likewise.
33966         (floorf): Likewise.
33967
33968 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33969
33970         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33971         on both fields and cast pointer to __syscall_ulong_t.
33972
33973         * bits/types.h (__fsword_t): New type.
33974         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33975         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33976         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33977         (__FSWORD_T_TYPE): Likewise.
33978         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33979         (__FSWORD_T_TYPE): Likewise.
33980         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33981         (__FSWORD_T_TYPE): Likewise.
33982         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33983         (__FSWORD_T_TYPE): Likewise.
33984         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33985         __SWORD_TYPE with __fsword_t.
33986         (statfs64): Likewise.
33987
33988 2012-05-17  David S. Miller  <davem@davemloft.net>
33989
33990         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33991
33992 2012-05-17  Andreas Jaeger  <aj@suse.de>
33993
33994         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33995         warning.
33996
33997 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33998
33999         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34000
34001 2012-05-17  Andreas Jaeger  <aj@suse.de>
34002
34003         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34004         when it is used.
34005
34006 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34007
34008         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34009
34010 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34011
34012         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34013         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34014
34015 2012-05-17  Andreas Jaeger  <aj@suse.de>
34016             Carlos O'Donell  <carlos_odonell@mentor.com>
34017
34018         [BZ #14059]
34019         * sysdeps/x86_64/multiarch/init-arch.h
34020         (bit_YMM_Usable): Rename to...
34021         (bit_AVX_Usable): ... this.
34022         (bit_FMA4_Usable): New macro.
34023         (bit_XMM_state): New macro.
34024         (bit_YMM_state): New macro.
34025         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34026         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34027         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34028         (CPUID_OSXSAVE): New macro.
34029         (CPUID_AVX): New macro.
34030         (CPUID_FMA4): New macro.
34031         (index_YMM_Usable): Rename to...
34032         (index_AVX_Usable): ... this.
34033         (HAS_AVX): Use HAS_ARCH_FEATURE.
34034         (HAS_FMA4): Likewise.
34035         (HAS_YMM_USABLE): Remove.
34036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34037         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34038         are present.
34039         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34040         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34041         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34042         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34043         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34044
34045 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34046
34047         * math/libm-test.c: Support platforms without multiple rounding modes.
34048         * math/bug-nextafter.c: Support platforms without FP exceptions.
34049         * math/bug-nexttoward.c: Likewise.
34050         * math/test-fenv.c: Likewise.
34051         * math/test-misc.c: Likewise.
34052         * stdlib/bug-getcontext.c: Likewise.
34053
34054 2012-05-17  Andreas Jaeger  <aj@suse.de>
34055
34056         * manual/examples/search.c (critter_cmp): Change signature to
34057         avoid warnings.
34058         * manual/string.texi (Collation Functions): Likewise.
34059
34060 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34061
34062         * bits/types.h: Fold copyright years.
34063         * bits/typesizes.h: Likewise.
34064         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34065         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34066         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34067         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34068         * time/time.h: Likewise.
34069
34070 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34071
34072         [BZ #208]
34073         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34074         in instead of returning them.  Return void.
34075         (__libc_mallinfo): Accumulate over all arenas.
34076         (__malloc_stats): Adjust for change in int_mallinfo interface.
34077
34078 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34079
34080         [BZ #10375]
34081         * configure.in (NM): Add AC_CHECK_TOOL for it.
34082         (libc_extra_cflags): New substituted variable.
34083         Check for -fstack-protector being used implicitly.
34084         * configure: Regenerated.
34085         * config.make.in (config-extra-cflags): New variable,
34086         gets @libc_extra_cflags@.
34087         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34088
34089         [BZ #10375]
34090         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34091         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34092         * configure: Regenerated.
34093         * config.make.in (CPPUNDEFS): New substituted variable.
34094         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34095         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34096         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34097
34098 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34099
34100         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34101         (mq_attr): Use __syscall_slong_t.
34102
34103 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34104
34105         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34106         Check __x86_64__ instead of __WORDSIZE.
34107         (_STAT_VER_LINUX): Likewise.
34108         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34109         __syscall_ulong_t and __syscall_slong_t.
34110         (stat64): Likewise.
34111
34112 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34113
34114         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34115
34116 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34117
34118         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34119
34120 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34121
34122         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34123         __syscall_ulong_t.
34124
34125         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34126         include <bits/wordsize.h>.  Check __x86_64__ instead of
34127         __WORDSIZE.
34128         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34129         defined.
34130         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34131
34132         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34133         include <bits/wordsize.h>.  Check __x86_64__ instead of
34134         __WORDSIZE.
34135         (user_regs_struct): Use "__extension__ unsigned long long"
34136         instead of "unsigned long" if __x86_64__ is defined.
34137         (user): Likewise.  Pad after pointer field if __ILP32__ is
34138         defined.
34139
34140 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34141
34142         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34143         versions 5 to 9.
34144         * configure: Regenerated.
34145         * manual/install.texi (texinfo): Increase version requirement to
34146         4.5 or later.
34147         * INSTALL: Regenerated.
34148
34149         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34150
34151 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34152
34153         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34154
34155         * sysdeps/x86_64/x32/ffs.c: New file.
34156
34157         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34158         __syscall_ulong_t.
34159         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34160         defined.  Use __syscall_ulong_t.
34161         (shminfo): Use __syscall_ulong_t.
34162         (shm_info): Likewise.
34163
34164         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34165         __syscall_ulong_t.
34166
34167         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34168         <bits/wordsize.h>.
34169         (msgqnum_t): Use __syscall_ulong_t.
34170         (msglen_t): Likewise.
34171         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34172         __syscall_ulong_t.
34173
34174         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34175         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34176
34177         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34178
34179         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34180         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34181
34182         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34183         __syscall_slong_t.
34184
34185         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34186         include <bits/wordsize.h>.  Check __x86_64__ instead of
34187         __WORDSIZE.
34188
34189         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34190         "unsigned long long int" if __x86_64__ is defined.
34191         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34192
34193         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34194         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34195         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34196
34197         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34198         <stdint.h>.
34199         (GET_PC): Cast to uintptr_t first.
34200         (GET_FRAME): Likewise.
34201         (GET_STACK): Likewise.
34202
34203         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34204         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34205         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34206         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34207         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34208         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34209         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34210         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34211         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34212         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34213         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34214         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34215         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34216         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34217         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34218         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34219         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34220         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34221         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34222         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34223         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34224         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34225         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34226         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34227         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34228         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34229         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34230         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34231         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34232
34233 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34234
34235         * Makerules (+depfiles): Also collect depfiles from .oS in
34236         $(extra-objs).
34237         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34238         .oS, $(libnldbl-routines)).
34239
34240         * Makerules (native-compile-mkdep-flags): Define.
34241         * sunrpc/Makefile (extra-objs): Add $(addprefix
34242         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34243         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34244         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34245         calling $(make-target-directory).
34246
34247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34248
34249         * bits/types.h (__snseconds_t): Removed.
34250         * time/time.h (struct timespec): Replace __snseconds_t with
34251         __syscall_slong_t.
34252         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34253         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34254         Likewise.
34255         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34256         (__SNSECONDS_T_TYPE): Likewise.
34257         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34258         (__SNSECONDS_T_TYPE): Likewise.
34259         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34260         (__SNSECONDS_T_TYPE): Likewise.
34261
34262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34263
34264         * sysdeps/mach/hurd/bits/typesizes.h
34265         (__SYSCALL_SLONG_TYPE): New macro.
34266         (__SYSCALL_ULONG_TYPE): Likewise.
34267
34268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34269
34270         * bits/types.h (__syscall_slong_t): New type.
34271         (__syscall_ulong_t): Likewise.
34272
34273         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34274         (__SYSCALL_ULONG_TYPE): Likewise.
34275         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34276         (__SYSCALL_SLONG_TYPE): Likewise.
34277         (__SYSCALL_ULONG_TYPE): Likewise.
34278         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34279         (__SYSCALL_SLONG_TYPE): Likewise.
34280         (__SYSCALL_ULONG_TYPE): Likewise.
34281         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34282         (__SYSCALL_SLONG_TYPE): Likewise.
34283         (__SYSCALL_ULONG_TYPE): Likewise.
34284
34285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34286
34287         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34288         Add sigaltstack-offsets.sym.
34289         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34290         <sigaltstack-offsets.h>.
34291         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34292         longjmp_msg pointer.
34293         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34294         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34295         signal stack.
34296         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34297
34298 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34299
34300         * elf/stackguard-macros.h: Remove file.
34301         * sysdeps/generic/stackguard-macros.h: New file.
34302         * sysdeps/i386/stackguard-macros.h: Likewise.
34303         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34304         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34305         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34306         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34307         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34308         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34309         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34310         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34311         <elf/stackguard-macros.h>.
34312
34313         [BZ #14109]
34314         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34315         __aligned__ in attribute.
34316         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34317         (gregset_t): Likewise.
34318
34319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34320
34321         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34322         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34323         * sysdeps/x86_64/x32/Implies-after: New file.
34324
34325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34326
34327         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34328         and access return value for _dl_profile_fixup.  Use R10_LP to
34329         load frame size.
34330
34331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34332
34333         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34334
34335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34336
34337         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34338         * sysdeps/x86_64/x32/sysdep.h: New file.
34339
34340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34341
34342         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34343         * sysdeps/x86_64/setjmp.S: Likewise.
34344
34345 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34346
34347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34348         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34349         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34350         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34351         remove unused global constant.
34352
34353 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34354
34355         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34356         include of <not-cancel.h>.
34357
34358 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34359
34360         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34361
34362 2012-05-15  Jeff Law  <law@redhat.com>
34363             Andreas Jaeger  <aj@suse.de>
34364
34365         [BZ #13594]
34366         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34367         out from...
34368         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34369         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34370         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34371         code changing __hst_map_handle.map.
34372
34373 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34374
34375         * configure.in (sysnames): Look for Implies-before and Implies-after
34376         files.
34377         * configure: Regenerated.
34378
34379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34380
34381         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34382         8-byte data alignment with LP_SIZE alignment.
34383
34384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34385
34386         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34387         into R10_LP.
34388
34389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34390
34391         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34392
34393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34394
34395         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34396         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34397         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34398         Likewise.
34399         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34400
34401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34402
34403         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34404         (stackinfo_sub_sp): Likewise.
34405
34406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34407
34408         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34409         RAX_LP.
34410
34411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34412
34413         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34414         into R*_LP.
34415
34416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34417
34418         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34419         sizes into R*_LP.
34420
34421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34422
34423         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34424
34425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34426
34427         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34428         into R11_LP and load __x86_64_shared_cache_size_half into
34429         R8_LP.
34430
34431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34432
34433         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34434         R8_LP.
34435
34436 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34437
34438         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34439         logb for POWER7.
34440         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34441         logbf for POWER7.
34442         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34443         logbl for POWER7.
34444         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34445         powerpc32/power7/fpu/s_logb.c via #include.
34446         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34447         powerpc32/power7/fpu/s_logbf.c via #include.
34448         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34449         powerpc32/power7/fpu/s_logbl.c via #include.
34450
34451 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34452
34453         * README.libm: Remove file.
34454
34455 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34456
34457         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34458         count for x32.  Use R*_LP and omit operand-size suffix.
34459
34460 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34461
34462         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34463         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34464         * sysdeps/x86_64/x32/shlib-versions: New file.
34465
34466 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34467
34468         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34469         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34470         Use _dl_fatal_printf instead.
34471
34472 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34473
34474         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34475         set if not set by the user.  Do not allow for being unset.
34476         * sysdeps/unix/sysv/linux/configure: Regenerated.
34477
34478 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34479
34480         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34481         the `q' suffix from lea and replace .quad with ASM_ADDR.
34482
34483 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34484
34485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34486         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34487         instead of $17.
34488         (PTR_DEMANGLE): Likewise.
34489
34490 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34491
34492         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34493         (LP_OP): Likewise.
34494         (ASM_ADDR): Likewise.
34495         (RAX_LP): Likewise.
34496         (RBP_LP): Likewise.
34497         (RBX_LP): Likewise.
34498         (RCX_LP): Likewise.
34499         (RDI_LP): Likewise.
34500         (RSI_LP): Likewise.
34501         (RSP_LP): Likewise.
34502         (R8_LP): Likewise.
34503         (R9_LP): Likewise.
34504         (R10_LP): Likewise.
34505         (R10_LP): Likewise.
34506         (R11_LP): Likewise.
34507         (R12_LP): Likewise.
34508         (R13_LP): Likewise.
34509         (R14_LP): Likewise.
34510         (R15_LP): Likewise.
34511
34512 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34513
34514         * sysdeps/x86_64/x32/dl-machine.h: New file.
34515
34516 2012-05-14  Andreas Jaeger  <aj@suse.de>
34517
34518         * manual/Makefile (subdir): Remove export of subdir.
34519         (all): Remove target.
34520         (.PHONY): Remove all from list.
34521         (mkinstalldirs): Remove.
34522         (.PHONY): Remove installdirs from list.
34523         ($(inst_infodir)/libc.info): Use make-target-directory.
34524         (installdirs): Remove.
34525         (subdir_%): Remove.
34526         (glibc-targets): Remove.
34527         (lib): Remove.
34528         (stubs): Remove.
34529         ($(objpfx)stubs ../po/manual.pot): Remove.
34530         ($(objpfx)stamp%): Remove.
34531         (make-target-directory): Remove.
34532         (subdir_install): Remove.
34533         (routines): Remove.
34534         (aux): Remove.
34535         (sources): Remove.
34536         (objects): Remove.
34537         (headers): Remove.
34538
34539         [BZ #13750]
34540         * manual/.gitignore: Remove, it's not needed anymore.
34541         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34542         all files in it.
34543         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34544         directory.
34545         (texis): Renamed to $(objpfx)texis.
34546         (texis-path): New, contains path to generated files.
34547         (chapters.%): Use texis-path for complete path, add extra argument
34548         libc-texinfo.sh.
34549         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34550         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34551         (summary,texi, stamp-summary): Use complete path of
34552         files. Generate files in build dir.
34553         (dir-add.texi): Build in build dir.
34554         (libm-err.texi,stamp-libm-err): Likewise.
34555         (version.texi, stamp-version): Likewise.
34556         (.%c.texi): Likewise.
34557         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34558         (mostlyclean): Remove target.
34559         (realclean): Remove target.
34560         (generated): Add new variable with contents from mostlyclean and
34561         realclean, remove entries duplicated in common-mostlyclean, add
34562         stamp-libm-err and stamp-version.
34563         (generated-dirs): Add libc directory.
34564         ($(inst_infodir)/libc.info): Install files from build dir.
34565
34566         * manual/install.texi (Configuring and compiling): Adjust since
34567         the info files are not part of the tar ball anymore.
34568
34569 2012-05-14  Andreas Jaeger  <aj@suse.de>
34570
34571         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34572         variable.
34573
34574 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34575
34576         [BZ #13717]
34577         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34578         to 2.2.0 where earlier.
34579         * sysdeps/unix/sysv/linux/configure: Regenerated.
34580         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34581         Remove conditional code.
34582         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34583         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34584         Remove conditional code.
34585         [!__NR_lchown]: Likewise.
34586         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34587         [__NR_lchown]: Likewise.
34588         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34589         comment referencing __ASSUME_LCHOWN_SYSCALL.
34590         * sysdeps/unix/sysv/linux/i386/sigaction.c
34591         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34592         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34593         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34594         Remove conditional code.
34595         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34596         (__protocol_available): Remove #if 0 code.
34597         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34598         conditional code.
34599         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34600         * sysdeps/unix/sysv/linux/kernel-features.h
34601         (__ASSUME_GETCWD_SYSCALL): Don't define.
34602         (__ASSUME_REALTIME_SIGNALS): Likewise.
34603         (__ASSUME_PREAD_SYSCALL): Likewise.
34604         (__ASSUME_PWRITE_SYSCALL): Likewise.
34605         (__ASSUME_POLL_SYSCALL): Likewise.
34606         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34607         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34608         non-SPARC.
34609         (__ASSUME_SIOCGIFNAME): Don't define.
34610         (__ASSUME_MSG_NOSIGNAL): Likewise.
34611         (__ASSUME_SENDFILE): Define unconditionally.
34612         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34613         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34614         conditional code.
34615         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34616         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34617         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34618         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34619         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34620         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34621         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34623         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34626         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34627         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34629         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34630         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34632         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34633         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34635         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34636         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34638         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34639         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34641         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34642         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34644         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34645         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34646         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34647         Remove conditional code.
34648         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34649         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34650         Remove conditional code.
34651         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34652         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34653         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34654         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34655         Remove conditional code.
34656         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34657         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34658         Remove conditional code.
34659         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34660         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34661         Remove conditional code.
34662         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34663         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34664         Remove conditional code.
34665         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34666         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34667         Remove conditional code.
34668         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34669         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34670         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34671         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34672         * sysdeps/unix/sysv/linux/sigaction.c
34673         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34674         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34675         * sysdeps/unix/sysv/linux/sigpending.c
34676         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34677         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34678         * sysdeps/unix/sysv/linux/sigprocmask.c
34679         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34680         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34681         * sysdeps/unix/sysv/linux/sigsuspend.c
34682         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34683         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34684         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34685         (__libc_missing_rt_sigs): Remove.
34686         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34687         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34688         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34689         Remove conditional code.
34690         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34691         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34692         return 1.
34693         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34694         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34695         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34696         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34697
34698 2012-05-14  Andreas Jaeger  <aj@suse.de>
34699
34700         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34701         it's not used in glibc.
34702         (__coshm1): Likewise.
34703         (__acosh1p): Likewise.
34704         (__sgn): Likewise.
34705
34706         * manual/string.texi (Copying and Concatenation): Add missing
34707         variable in concat example.
34708         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34709
34710 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34711
34712         [BZ #14103]
34713         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34714         __builtin_clzl with __builtin_clzll.
34715
34716 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34717
34718         [BZ #14104]
34719         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34720         libc_freeres_ptr.
34721
34722 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34723
34724         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34725         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34726         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34727         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34728
34729 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34730
34731         * NEWS: Update ia64 info.
34732
34733 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34734
34735         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34736         used as bcopy.
34737
34738 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34739
34740         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34741         * sysdeps/unix/syscalls.list (dup3): Likewise.
34742         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34743         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34744
34745 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34746
34747         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34748         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34749
34750 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34751
34752         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34753         thread pointer.
34754         (TLS_IE): Use mov/add instead of movq/addq to load thread
34755         pointer.
34756         (TLS_GD_PREFIX): New.
34757         (TLS_GD): Use it.
34758
34759 2012-05-11  David S. Miller  <davem@davemloft.net>
34760
34761         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34762         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34763         (_FPU_SETCW): Likewise.
34764
34765 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34766
34767         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34768         is 32-byte aligned.
34769
34770 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34771
34772         [BZ #11837]
34773         * iconvdata/gb18030.c: Update tables.
34774         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34775         characters specially.
34776         (BODY for TO_LOOP): Add encoding of missing ranges.
34777
34778 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34779
34780         [BZ #13673]
34781         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34782         * sysdeps/mach/hurd/dup3.c: Likewise.
34783         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34784         * sysdeps/powerpc/memmove.c:: Likewise.
34785
34786 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34787
34788         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34789         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34790
34791 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34792
34793         * elf/elf.h (R_X86_64_RELATIVE64): New.
34794         (R_X86_64_NUM): Updated.
34795         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34796         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34797         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34798         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34799         tst-quad1pie tst-quad2pie
34800         (modules-names): Add tst-quadmod1 tst-quadmod2.
34801         ($(objpfx)tst-quad1): New dependency.
34802         ($(objpfx)tst-quad2): Likewise.
34803         ($(objpfx)tst-quad1pie): Likewise.
34804         ($(objpfx)tst-quad2pie): Likewise.
34805         * sysdeps/x86_64/tst-quad1.c: New file.
34806         * sysdeps/x86_64/tst-quad1pie.c: New file.
34807         * sysdeps/x86_64/tst-quad2.c: Likewise.
34808         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34809         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34810         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34811         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34812         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34813
34814 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34815
34816         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34817         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34818         * streams/stropts.h (t_scalar_t): Define type.
34819
34820         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34821         (_PATH_PRESERVE): Set to "/var/lib".
34822         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34823
34824         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34825         instead of int.
34826
34827         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34828         if __dir_mkfile succeeded.
34829
34830         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34831         checking for _hurd_dtablesize.  Unlock it right after having
34832         finished _hurd_dtable allocation.
34833
34834 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34835
34836         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34837         * sysdeps/mach/hurd/configure: Regenerated.
34838         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34839         special-casing to...
34840         * sysdeps/gnu/configure.in: ... this new file.
34841         * sysdeps/unix/sysv/linux/configure: Regenerated.
34842         * sysdeps/gnu/configure: New generated file.
34843
34844         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34845         for Linux: use nsec instead of usec, as well as:
34846         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34847         members of type struct timespec.
34848         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34849         New macros.
34850         (struct stat64): Likewise.
34851         (_STATBUF_ST_NSEC): New macro.
34852         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34853
34854         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34855         __strtoul_internal rather than strtoul.
34856
34857 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34858
34859         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34860         and reject them.
34861
34862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34863
34864         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34865         which preserves existing values.
34866         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34867
34868 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34869
34870         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34871         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34872         greater than FD_SETSIZE.
34873
34874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34875
34876         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34877         allocated, call __vm_protect to finish enabling the existing space, and
34878         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34879         allocate the remainder.
34880
34881 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34882
34883         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34884         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34885
34886 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34887
34888         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34889         sysdeps/mach/hurd/readlink.c.
34890
34891         * posix/tst-sysconf.c (posix_options): Only use
34892         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34893         _POSIX_SYNCHRONIZED_IO when they are defined
34894         * sysdeps/mach/hurd/bits/posix_opt.h:
34895         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34896         (_XOPEN_REALTIME): Undefine macro.
34897         (_XOPEN_REALTIME_THREADS): Undefine macro.
34898         (_XOPEN_SHM): Undefine macro.
34899         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34900         macro to -1.
34901         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34902         macro to -1.
34903         (_POSIX_ASYNC_IO): Undefine macro.
34904         (_POSIX_PRIORITIZED_IO): Undefine macro.
34905         (_POSIX_SPIN_LOCKS): Define macro to -1.
34906
34907         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34908         SA_NODEFER, SA_RESETHAND.
34909         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34910         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34911         F_DUPFD_CLOEXEC.
34912
34913 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34914
34915         * elf/Makefile (pldd-modules): Define unconditionally.
34916
34917 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34918
34919         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34920
34921 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34922
34923         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34924         Return ENOENT when name is empty.
34925         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34926
34927 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34928
34929         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34930
34931         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34932
34933 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34934
34935         Fix mlock in all cases except non-readable pages.
34936         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34937         instead of VM_PROT_ALL as parameter to __vm_wire function.
34938
34939         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34940         (__mkdir): When path is `/', just fail with EEXIST.
34941         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34942
34943 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34944
34945         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34946         <sys/uio.h> (for writev).
34947         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34948         and <sys/param.h> (for MIN).
34949
34950 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34951
34952         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34953         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34954         if interrupted.
34955
34956 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34957
34958         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34959         Depend on against $(link-rpcuserlibs).
34960
34961 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34962
34963         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34964         (__libc_stack_end): Do not use attribute_relro.
34965         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34966         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34967         to libthread-provided value.
34968         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34969         attribute_relro.
34970
34971 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34972
34973         [BZ #3748]
34974         * bits/libc-lock.h (__libc_once_get): New macro.
34975         * sysdeps/mach/bits/libc-lock.h: Likewise.
34976         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34977         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34978         instead of using implementation details.
34979
34980         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34981         * libio/freopen.c: Likewise.
34982         * libio/freopen64.c: Likewise.
34983         * misc/syslog.c: Likewise.
34984         * nscd/connections.c: Likewise.
34985         * nscd/netgroupcache.c: Likewise.
34986         * sysdeps/posix/getcwd.c: Likewise.
34987
34988 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34989
34990         * math/w_ilogbf.c: Add #include <limits.h>.
34991
34992 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34993
34994         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34995         path instead of returning without unlocking.
34996
34997         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34998         immediate-write ioctls.
34999         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35000
35001 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35002
35003         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35004         __builtin_frame_address instead of making assumptions about the
35005         location of the return address relative to DATA.  Force early load of
35006         the return address.
35007         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35008         __builtin_frame_address.
35009
35010         dup3 for GNU Hurd.
35011         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35012         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35013         implement dup3 and do some further code clean-ups.
35014         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35015         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35016
35017 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35018
35019         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35020
35021         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35022         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35023         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35024         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35025         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35026         d->port.lock.
35027
35028         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35029         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35030         when handler == SIG_ERR, not when handler != SIG_ERR.
35031
35032 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35033
35034         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35035         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35036         definitions.
35037
35038         accept4 for GNU Hurd.
35039         * include/sys/socket.h (__libc_accept4): New prototype.
35040         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35041         to implement __libc_accept4.
35042         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35043         __libc_accept4.
35044         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35045
35046         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35047         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35048         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35049         signal-defines.sym.
35050
35051 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35052
35053         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35054
35055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35056
35057         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35058         assertion on O_CLOEXEC flag.
35059         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35060         * hurd/intern-fd.c: Likewise.
35061         * hurd/port2fd.c: Likewise.
35062
35063 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35064
35065         [BZ #3906]
35066         * bits/in.h (IPV6_PKTINFO): Define new macro.
35067         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35068
35069 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35070
35071         [BZ #13954]
35072         [BZ #13955]
35073         [BZ #13956]
35074         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35075         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35076         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35077         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35078         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35079         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35080         * math/libm-test.inc (logb_test) : Additional logb tests.
35081
35082 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35083             Andreas Jaeger  <aj@suse.de>
35084
35085         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35086         * configure: Regenerated.
35087         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35088         * config.make.in (link-obsolete-rpc): New substituted variable.
35089         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35090         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35091         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35092         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35093         so that libc.a contains the symbols.
35094         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35095         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35096         * sunrpc/auth_none.c: Likewise.
35097         * sunrpc/auth_unix.c: Likewise.
35098         * sunrpc/authdes_prot.c: Likewise.
35099         * sunrpc/authuxprot.c: Likewise.
35100         * sunrpc/clnt_gen.c: Likewise.
35101         * sunrpc/clnt_perr.c: Likewise.
35102         * sunrpc/clnt_raw.c: Likewise.
35103         * sunrpc/clnt_simp.c: Likewise.
35104         * sunrpc/clnt_tcp.c: Likewise.
35105         * sunrpc/clnt_udp.c: Likewise.
35106         * sunrpc/clnt_unix.c: Likewise.
35107         * sunrpc/des_crypt.c: Likewise.
35108         * sunrpc/des_soft.c: Likewise.
35109         * sunrpc/get_myaddr.c: Likewise.
35110         * sunrpc/key_call.c: Likewise.
35111         * sunrpc/key_prot.c: Likewise.
35112         * sunrpc/netname.c: Likewise.
35113         * sunrpc/pm_getmaps.c: Likewise.
35114         * sunrpc/pm_getport.c: Likewise.
35115         * sunrpc/pmap_clnt.c: Likewise.
35116         * sunrpc/pmap_prot.c: Likewise.
35117         * sunrpc/pmap_prot2.c: Likewise.
35118         * sunrpc/pmap_rmt.c: Likewise.
35119         * sunrpc/publickey.c: Likewise.
35120         * sunrpc/rpc_cmsg.c: Likewise.
35121         * sunrpc/rpc_common.c: Likewise.
35122         * sunrpc/rpc_dtable.c: Likewise.
35123         * sunrpc/rpc_prot.c: Likewise.
35124         * sunrpc/rpc_thread.c: Likewise.
35125         * sunrpc/rtime.c: Likewise.
35126         * sunrpc/svc.c: Likewise.
35127         * sunrpc/svc_auth.c: Likewise.
35128         * sunrpc/svc_raw.c: Likewise.
35129         * sunrpc/svc_run.c: Likewise.
35130         * sunrpc/svc_tcp.c: Likewise.
35131         * sunrpc/svc_udp.c: Likewise.
35132         * sunrpc/svc_unix.c: Likewise.
35133         * sunrpc/svcauth_des.c: Likewise.
35134         * sunrpc/xcrypt.c: Likewise.
35135         * sunrpc/xdr.c: Likewise.
35136         * sunrpc/xdr_array.c: Likewise.
35137         * sunrpc/xdr_float.c: Likewise.
35138         * sunrpc/xdr_intXX_t.c: Likewise.
35139         * sunrpc/xdr_mem.c: Likewise.
35140         * sunrpc/xdr_rec.c: Likewise.
35141         * sunrpc/xdr_ref.c: Likewise.
35142         * sunrpc/xdr_sizeof.c: Likewise.
35143         * sunrpc/xdr_stdio.c: Likewise.
35144
35145 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35146
35147         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35148         change.  Update copyright years.
35149
35150 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35151
35152         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35153
35154 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35155             Joseph Myers  <joseph@codesourcery.com>
35156             Paul Pluzhnikov  <ppluzhnikov@google.com>
35157
35158         [BZ #14012]
35159         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35160         requiring rpcgen.
35161         [cross-compiling] (extra-libs): Likewise.
35162         [cross-compiling] (extra-libs-others): Likewise.
35163         [cross-compiling] (librpcsvc-routines): Likewise.
35164         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35165         [cross-compiling] (omit-deps): Likewise.
35166         (sunrpc-CPPFLAGS): New variable.
35167         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35168         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35169         (cross-rpcgen-objs): New variable.
35170         (extra-objs): Append $(cross-rpcgen-objs).
35171         ($(cross-rpcgen-objs)): New rule.
35172         ($(objpfx)cross-rpcgen): Likewise.
35173         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35174         comment.
35175         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35176         ($(objpfx)x%.stmp): Likewise.
35177         * sunrpc/proto.h [IS_IN_build] (_): Define.
35178         [IS_IN_build] (_libc_intl_domainname): Likewise.
35179
35180 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35181
35182         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35183         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35184         and R_X86_64_TPOFF64.
35185
35186 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35187
35188         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35189         sysdeps/unix/sysv/syscalls.list.
35190         (stime): Likewise.
35191         (utime): Likewise.
35192         * sysdeps/unix/sysv/syscalls.list: Remove file.
35193
35194 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35195
35196         [BZ #3440]
35197         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35198         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35199         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35200         (__LC_IDENTIFICATION): Make these macros useful in #if
35201         expressions, as required by C99.
35202
35203 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35204
35205         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35206         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35207         after this.
35208
35209 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35210
35211         * stdlib/longlong.h: Updated from GCC.
35212
35213 2012-05-09  Andreas Jaeger  <aj@suse.de>
35214
35215         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35216         default is first entry.
35217         (run_mode): Set type.
35218         (main): Remove informal message about syslog.
35219         (options): Fix typo.
35220
35221         [BZ #14053]
35222         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35223         to asm.
35224         (lrint): Likewise.
35225         (llrintf): Likewise.
35226         (llrint): Likewise.
35227         (rint): Likewise.
35228         (rintf): Likewise.
35229         (nearbyint): Likewise.
35230         (nearbyintf): Likewise.
35231
35232 2012-05-09  Andreas Jaeger  <aj@suse.de>
35233             Pedro Alves  <palves@redhat.com>
35234
35235         * nscd/nscd.c (run_mode): Use enum.
35236         (main): Cleanup coding style issue.
35237
35238 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35239             Andreas Jaeger  <aj@suse.de>
35240
35241         * nscd/nscd.c (go_background): Replaced with...
35242         (run_mode): ... this.
35243         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35244         (options): Add -F --foreground.
35245         (main): Implement it.
35246         (parse_opt): Parse it.
35247
35248 2012-05-09  Andreas Jaeger  <aj@suse.de>
35249
35250         [BZ #14083]
35251         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35252         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35253         -Wconversion warning.
35254         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35255         Likewise.
35256
35257 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35258
35259         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35260         == 0.
35261         (LC_ALL): Use macro-int-constant.
35262         (LC_COLLATE): Likewise.
35263         (LC_CTYPE): Likewise.
35264         (LC_MESSAGES): Likewise.
35265         (LC_MONETARY): Likewise.
35266         (LC_NUMERIC): Likewise.
35267         (LC_TIME): Likewise.
35268         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35269         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35270         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35271         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35272         Specify type.
35273         [C99-based standards] (float_t): Expect type.
35274         [C99-based standards] (double_t): Expect type.
35275         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35276         type.
35277         [C99-based standards] (HUGE_VALL): Likewise.
35278         [C99-based standards] (INFINITY): Likewise.
35279         [C99-based standards] (NAN): Likewise.
35280         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35281         [C99-based standards] (FP_NAN): Likewise.
35282         [C99-based standards] (FP_NORMAL): Likewise.
35283         [C99-based standards] (FP_SUBNORMAL): Likewise.
35284         [C99-based standards] (FP_ZERO): Likewise.
35285         [C99-based standards] (FP_FAST_FMA): Use
35286         optional-macro-int-constant.  Specify type.  Require == 1.
35287         [C99-based standards] (FP_FAST_FMAF): Likewise.
35288         [C99-based standards] (FP_FAST_FMAL): Likewise.
35289         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35290         [C99-based standards] (FP_ILOGBNAN): Likewise.
35291         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35292         Specify type.
35293         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35294         [C99-based standards] (math_errhandling): Specify type.
35295         [ISO99 || ISO11] (signgam): Do not allow.
35296         [non-C99-based standards] (copysignf): Do not allow.
35297         [non-C99-based standards] (exp2f): Likewise.
35298         [non-C99-based standards] (log2f): Likewise.
35299         [non-C99-based standards] (modff): Allow.
35300         [non-C99-based standards] (erff): Do not allow.
35301         [non-C99-based standards] (erfcf): Likewise.
35302         [non-C99-based standards] (gammaf): Likewise.
35303         [non-C99-based standards] (hypotf): Likewise.
35304         [non-C99-based standards] (j0f): Likewise.
35305         [non-C99-based standards] (j1f): Likewise.
35306         [non-C99-based standards] (jnf): Likewise.
35307         [non-C99-based standards] (lgammaf): Likewise.
35308         [non-C99-based standards] (tgammaf): Likewise.
35309         [non-C99-based standards] (y0f): Likewise.
35310         [non-C99-based standards] (y1f): Likewise.
35311         [non-C99-based standards] (ynf): Likewise.
35312         [non-C99-based standards] (isnanf): Likewise.
35313         [non-C99-based standards] (acoshf): Likewise.
35314         [non-C99-based standards] (asinhf): Likewise.
35315         [non-C99-based standards] (atanhf): Likewise.
35316         [non-C99-based standards] (cbrtf): Likewise.
35317         [non-C99-based standards] (expm1f): Likewise.
35318         [non-C99-based standards] (ilogbf): Likewise.
35319         [non-C99-based standards] (log1pf): Likewise.
35320         [non-C99-based standards] (logbf): Likewise.
35321         [non-C99-based standards] (nextafterf): Likewise.
35322         [non-C99-based standards] (remainderf): Likewise.
35323         [non-C99-based standards] (rintf): Likewise.
35324         [non-C99-based standards] (scalbf): Likewise.
35325         [non-C99-based standards] (copysignl): Likewise.
35326         [non-C99-based standards] (exp2l): Likewise.
35327         [non-C99-based standards] (log2l): Likewise.
35328         [non-C99-based standards] (modfl): Allow.
35329         [non-C99-based standards] (erfl): Do not allow.
35330         [non-C99-based standards] (erfcl): Likewise.
35331         [non-C99-based standards] (gammal): Likewise.
35332         [non-C99-based standards] (hypotl): Likewise.
35333         [non-C99-based standards] (j0l): Likewise.
35334         [non-C99-based standards] (j1l): Likewise.
35335         [non-C99-based standards] (jnl): Likewise.
35336         [non-C99-based standards] (lgammal): Likewise.
35337         [non-C99-based standards] (tgammal): Likewise.
35338         [non-C99-based standards] (y0l): Likewise.
35339         [non-C99-based standards] (y1l): Likewise.
35340         [non-C99-based standards] (ynl): Likewise.
35341         [non-C99-based standards] (isnanl): Likewise.
35342         [non-C99-based standards] (acoshl): Likewise.
35343         [non-C99-based standards] (asinhl): Likewise.
35344         [non-C99-based standards] (atanhl): Likewise.
35345         [non-C99-based standards] (cbrtl): Likewise.
35346         [non-C99-based standards] (expm1l): Likewise.
35347         [non-C99-based standards] (ilogbl): Likewise.
35348         [non-C99-based standards] (log1pl): Likewise.
35349         [non-C99-based standards] (logbl): Likewise.
35350         [non-C99-based standards] (nextafterl): Likewise.
35351         [non-C99-based standards] (remainderl): Likewise.
35352         [non-C99-based standards] (rintl): Likewise.
35353         [non-C99-based standards] (scalbl): Likewise.
35354         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35355         [non-C99-based standards] (FP_*): Do not allow.
35356         [C99-based standards] (FP_*): Change to
35357         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35358         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35359         allow.
35360         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35361         (SIG_ERR): Likewise.
35362         [X/Open-based standards] (SIG_HOLD): Likewise.
35363         (SIG_IGN): Likewise.
35364         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35365         positive value.
35366         (SIGFPE): Likewise.
35367         (SIGILL): Likewise.
35368         (SIGINT): Likewise.
35369         (SIGSEGV): Likewise.
35370         (SIGTER): Likewise.
35371         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35372         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35373         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35374         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35375         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35376         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35377         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35378         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35379         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35380         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35381         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35382         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35383         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35384         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35385         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35386         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35387         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35388         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35389         [X/Open-based standards] (SIGTRAP): Likewise.
35390         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35391         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35392         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35393         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35394         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35395         allow.
35396
35397 2012-05-08  Ian Wienand  <ianw@vmware.com>
35398
35399         [BZ #14080]
35400         * time/tzset.c (__tzset_parse_tz): Update default rules for
35401         daylight time changes in the Energy Policy Act of 2005.
35402
35403 2012-05-09  Andreas Jaeger  <aj@suse.de>
35404
35405         [BZ #13983]
35406         * elf/ldconfig.c (parse_conf): Change string to make clear that
35407         ldconfig only issued a warning if ld.so.conf does not exist.
35408
35409 2012-05-08  David S. Miller  <davem@davemloft.net>
35410
35411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35412         movxtod instead of popping the value on the stack.
35413
35414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35415
35416 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35417
35418         * config.h.in: Add HAVE_ARM_PCS_VFP.
35419
35420 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35421
35422         [BZ #13979]
35423         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35424         checking but the checks are disabled for any reason.
35425
35426 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35427
35428         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35429         and ELF64_R_TYPE with ELFW(R_TYPE).
35430
35431 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35432
35433         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35434         (ulimit): Likewise.
35435
35436         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35437         (settimeofday): Likewise.
35438
35439 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35440
35441         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35442         a struct th_u2 inside the union, and move tu_block/tu_code into
35443         a new th_u3 union of tu_block/tu_code inside of that.  Move
35444         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35445         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35446         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35447         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35448         (th_stuff): Change to th_u1.tu_stuff.
35449         (th_data): Define.
35450         (th_msg): Change to th_u1.th_u2.tu_data.
35451
35452 2012-05-07  David S. Miller  <davem@davemloft.net>
35453
35454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35455
35456         [BZ #14074]
35457         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35458         (SETUP_PIC_REG): Use it.
35459         (SETUP_PIC_REG_LEAF): Use it.
35460
35461 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35462
35463         [BZ #13885]
35464         [BZ #13923]
35465         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35466         USE_AS_EXPM1L.
35467         (EXPL_FINITE): Likewise.
35468         (FLDLOG): Likewise.
35469         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35470         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35471         e_expl.S.
35472         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35473         USE_AS_EXPM1L.
35474         (EXPL_FINITE): Likewise.
35475         (FLDLOG): Likewise.
35476         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35477         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35478         e_expl.S.
35479         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35480         test of -max_value argument for long double.
35481         * sysdeps/i386/fpu/libm-test-ulps: Update.
35482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35483
35484 2012-05-06  David S. Miller  <davem@davemloft.net>
35485
35486         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35487         quad soft-float symbols whose references which are compiler
35488         generated.
35489         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35490
35491 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35492
35493         [BZ #13884]
35494         [BZ #13914]
35495         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35496         USE_AS_EXP10L.
35497         (EXPL_FINITE): Likewise.
35498         (FLDLOG): Likewise.
35499         (c0): Likewise.
35500         (c1): Likewise.
35501         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35502         Adjust comments for base varying.
35503         (__expl_finite): Change alias to EXPL_FINITE.
35504         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35505         e_expl.S.
35506         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35507         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35508         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35509         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35510         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35511         USE_AS_EXP10L.
35512         (EXPL_FINITE): Likewise.
35513         (FLDLOG): Likewise.
35514         (c0): Likewise.
35515         (c1): Likewise.
35516         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35517         Adjust comments for base varying.
35518         (__expl_finite): Change alias to EXPL_FINITE.
35519         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35520         tests for bugs.
35521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35522
35523         [BZ #14064]
35524         * math/libm-test.inc (check_float_internal): Correct ulp
35525         calculation for subnormal expected results.
35526
35527 2012-05-06  Andreas Jaeger  <aj@suse.de>
35528
35529         * Makeconfig (+math-flags): New, set to -frounding-math.
35530         (+cflags): Add +math-flags so that all of glibc gets compiled with
35531         it.
35532
35533         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35534
35535 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35536
35537         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35538         Disable one test.
35539
35540         [BZ #13787]
35541         [BZ #13922]
35542         [BZ #14036]
35543         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35544         (__ieee754_expl): Allow for and saturate large arguments.
35545         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35546         (u_threshold): Likewise.
35547         (__exp): Call __ieee754_exp before checking for overflow and
35548         underflow.
35549         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35550         (u_threshold): Likewise.
35551         (__expf): Call __ieee754_expf before checking for overflow and
35552         underflow.
35553         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35554         (u_threshold): Likewise.
35555         (__expl): Call __ieee754_expl before checking for overflow and
35556         underflow.
35557         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35558         (__ieee754_expl): Allow for and saturate large arguments.
35559         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35560         missing overflow exception on overflow.
35561         (expm1_test): Do not allow missing overflow exception on overflow.
35562
35563         * sysdeps/i386/fpu/e_expl.c: Move to ...
35564         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35565         rather than using inline asm.
35566         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35567         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35568         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35569
35570         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35571         (nice): Likewise.
35572         (poll): Likewise.
35573         (signal): Likewise.
35574         (time): Likewise.
35575         (times): Likewise.
35576
35577 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35578
35579         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35580         sysdeps/unix/common/syscalls.list.
35581         (fchmod): Likewise.
35582         (fchown): Likewise.
35583         (ftruncate): Likewise.
35584         (getrusage): Likewise.
35585         (gettimeofday): Likewise.
35586         (setpgid): Likewise.
35587         (setregid): Likewise.
35588         (setreuid): Likewise.
35589         (sigaction): Likewise.
35590         (truncate): Likewise.
35591         (vhangup): Likewise.
35592         * sysdeps/unix/common/syscalls.list: Remove file.
35593         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35594         * sysdeps/unix/sysv/linux/Implies: Likewise.
35595
35596 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35597
35598         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35600         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35601         Moved to ...
35602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35603         Here.
35604         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35605         to ...
35606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35607         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35608         to ...
35609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35610         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35611         to ...
35612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35613         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35614         to ...
35615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35616         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35617         to ...
35618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35619         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35620         to ...
35621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35622         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35623         to ...
35624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35625         Here.
35626         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35627         to ...
35628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35629         Here.
35630         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35631         to ...
35632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35633         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35634         Moved to ...
35635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35636         Here.
35637         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35638         to ...
35639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35640
35641 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35642
35643         * sysdeps/unix/common/bits/dirent.h: Remove file.
35644         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35645
35646         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35647         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35648         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35649         * sysdeps/unix/bsd/isatty.c: Likewise.
35650         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35651         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35652         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35653
35654 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35655
35656         [BZ #13563]
35657         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35658         long double comparison inaccuracies.
35659         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35661
35662 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35663
35664         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35665         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35666
35667 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35668
35669         [BZ #14049]
35670         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35671         nonzero digits before rounding a hex value.
35672         * stdlib/tst-strtod.c (tests): Add another test.
35673
35674 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35675
35676         * sysdeps/s390/fpu/libm-test-ulps: Update.
35677
35678 2012-05-03  Andreas Jaeger  <aj@suse.de>
35679
35680         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35681         does not get optimized out.
35682         (malloc_opt_barrier): New.
35683
35684 2012-05-03  Andreas Jaeger  <aj@suse.de>
35685             Roland McGrath  <roland@hack.frob.com>
35686
35687         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35688         intermediate file deletion.
35689         (generated): Add .symlist files.
35690
35691 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35692
35693         [BZ #13775]
35694         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35695         Redirect under this condition.
35696         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35697         [__USE_GNU] (__dprintf_chk): Not under this condition.
35698         [__USE_GNU] (__vdprintf_chk): Likewise.
35699         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35700         under this condition.
35701         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35702         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35703         [__USE_XOPEN2K8] (vdprintf): Likewise.
35704         [__USE_GNU] (__dprintf_chk): Not under this condition.
35705         [__USE_GNU] (__vdprintf_chk): Likewise.
35706         [__USE_GNU] (dprintf): Likewise.
35707         [__USE_GNU] (vdprintf): Likewise.
35708
35709 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35710
35711         * elf/Makefile (common-generated): Set this instead of generated for
35712         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35713         $(all-built-dso)-derived lists.
35714
35715 2012-05-03  Andreas Jaeger  <aj@suse.de>
35716
35717         * sysdeps/i386/fpu/libm-test-ulps: Update.
35718
35719         * FAQ: Removed.
35720         * FAQ.in: Likewise.
35721         * scripts/gen-FAQ.pl: Likewise.
35722         * manual/install.texi (Installation): Point to online location of
35723         FAQ.
35724         * Makefile (files-for-dist): Remove FAQ.
35725         (FAQ): Remove.
35726
35727 2012-05-02  Allan McRae  <allan@archlinux.org>
35728
35729         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35730         (LDFLAGS-reldepmod5.so): Likewise.
35731         (LDFLAGS-reldep6mod1.so): Likewise.
35732         (LDFLAGS-reldep6mod4.so): Likewise.
35733         (LDFLAGS-reldep8mod3.so): Likewise.
35734         (LDFLAGS-unload4mod1.so): Likewise.
35735         (LDFLAGS-unload4mod2.so): Likewise.
35736         (LDFLAGS-tst-initorder): Likewise.
35737         (LDFLAGS-tst-initordera2.so): Likewise.
35738         (LDFLAGS-tst-initordera3.so): Likewise.
35739         (LDFLAGS-tst-initordera4.so): Likewise.
35740         (LDFLAGS-tst-initorderb2.so): Likewise.
35741         (LDFLAGS-noload): Likewise.
35742         (LDFLAGS-next): Likewise.
35743         (LDFLAGS-order2mod1.so): Likewise.
35744         (LDFLAGS-order2mod2.so): Likewise.
35745         (LDFLAGS-tst-initorder2): Likewise.
35746         (LDFLAGS-tst-initorder2a.so): Likewise.
35747         (LDFLAGS-tst-initorder2b.so): Likewise.
35748         (LDFLAGS-tst-initorder2c.so): Likewise.
35749         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35750
35751 2012-05-02  David S. Miller  <davem@davemloft.net>
35752
35753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35754
35755 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35756
35757         [BZ #14055]
35758         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35759
35760 2012-05-02  Andreas Jaeger  <aj@suse.de>
35761
35762         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35763         since we manipulate rounding mode.
35764         (CPPFLAGS-test-idouble.c): Likewise.
35765         (CPPFLAGS-test-ifloat.c): Likewise.
35766         (CFLAGS-test-ldouble.c): Likewise.
35767         (CFLAGS-test-double.c): Likewise.
35768         (CFLAGS-test-float.c): Likewise.
35769         (CFLAGS-test-misc.c): Likewise.
35770         (CFLAGS-test-test-fenv.c): Likewise.
35771
35772 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35773
35774         [BZ #2550]
35775         [BZ #2570]
35776         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35777         comparisons to determine direction to adjust input.
35778
35779 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35780
35781         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35782         output to the target.
35783
35784         * scripts/localplt.awk: New file.
35785         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35786         (check-localplt-CFLAGS): Variable removed.
35787         ($(all-built-dso:=.jmprel)): New static pattern rule.
35788         (generated): Add those targets.
35789         (localplt-built-dso): New variable.
35790         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35791
35792         * elf/check-localplt.c: File removed.
35793
35794         * scripts/check-execstack.awk: New file.
35795         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35796         (check-execstack-CFLAGS): Variable removed.
35797         ($(objpfx)check-execstack.h): Target removed.
35798         ($(objpfx)execstack-default): New target.
35799         (generated): Add that instead of check-execstack.h.
35800         ($(all-built-dso:=.phdr)): New static pattern rule.
35801         (generated): Add those targets.
35802         * elf/check-execstack.c: File removed.
35803
35804         * scripts/check-textrel.awk: New file.
35805         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35806         (check-textrel-CFLAGS): Variable removed.
35807         (all-built-dso): Use := to define.o
35808         ($(all-built-dso:=.dyn)): New static pattern rule.
35809         (generated): Add those targets.
35810         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35811         * config.make.in (READELF): New substituted variable.
35812         * elf/check-textrel.c: File removed.
35813
35814 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35815
35816         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35817         allow.
35818         * conform/data/ctype.h-data [C99-based standards] (isblank):
35819         Expect function.
35820         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35821         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35822         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35823         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35824         Specify type.  Require positive value.
35825         (EILSEQ): Likewise.
35826         (ERANGE): Likewise.
35827         [ISO || POSIX] (EILSEQ): Do not expect.
35828         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35829         Specify type.  Require positive value.
35830         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35831         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35832         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35833         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35834         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35835         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35836         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35837         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35838         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35839         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35840         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35841         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35842         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35843         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35844         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35845         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35846         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35847         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35848         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35849         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35850         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35851         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35852         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35853         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35854         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35855         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35856         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35857         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35858         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35859         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35860         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35861         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35862         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35863         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35864         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35865         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35866         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35867         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35868         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35869         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35870         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35871         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35872         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35873         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35874         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35875         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35876         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35877         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35878         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35879         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35880         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35881         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35882         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35883         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35884         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35885         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35886         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35887         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35888         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35889         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35890         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35891         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35892         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35893         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35894         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35895         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35896         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35897         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35898         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35899         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35900         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35901         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35902         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35903         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35904         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35905         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35906         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35907         Require >= 2.
35908         (FLT_ROUNDS): Expect as macro, not constant.
35909         (FLT_MANT_DIG): Use macro-int-constant.
35910         (DBL_MANT_DIG): Likewise.
35911         (LDBL_MANT_DIG): Likewise.
35912         (FLT_DIG): Likewise.
35913         (DBL_DIG): Likewise.
35914         (LDBL_DIG): Likewise.
35915         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35916         (DBL_MIN_EXP): Likewise.
35917         (LDBL_MIN_EXP): Likewise.
35918         (FLT_MAX_EXP): Use macro-int-constant.
35919         (DBL_MAX_EXP): Likewise.
35920         (LDBL_MAX_EXP): Likewise.
35921         (FLT_MAX_10_EXP): Likewise.
35922         (DBL_MAX_10_EXP): Likewise.
35923         (LDBL_MAX_10_EXP): Likewise.
35924         (FLT_MAX): Use macro-constant.
35925         (DBL_MAX): Likewise.
35926         (LDBL_MAX): Likewise.
35927         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35928         (DBL_EPSILON): Likewise.
35929         (LDBL_EPSILON): Likewise.
35930         (FLT_MIN): Likewise.
35931         (DBL_MIN): Likewise.
35932         (LDBL_MIN): Likewise.
35933         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35934         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35935         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35936         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35937         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35938         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35939         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35940         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35941         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35942         [ISO11] (FLT_TRUE_MIN): Likewise.
35943         [ISO11] (LDBL_TRUE_MIN): Likewise.
35944         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35945         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35946         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35947         (SCHAR_MAX): Likewise.
35948         (UCHAR_MAX): Likewise.
35949         (CHAR_MIN): Likewise.
35950         (CHAR_MAX): Likewise.
35951         (MB_LEN_MAX): Use macro-int-constant.
35952         (SHRT_MIN): Use macro-int-constant.  Specify type.
35953         (SHRT_MAX): Likewise.
35954         (USHRT_MAX): Likewise.
35955         (INT_MAX): Likewise.
35956         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35957         bound negative.
35958         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35959         bound with "U".
35960         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35961         bound with "L".
35962         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35963         bound negative.  Suffix upper bound with "L".
35964         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35965         bound with "UL".
35966         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35967         Specify type.
35968         [C99-based standards] (LLONG_MAX): Likewise.
35969         [C99-based standards] (ULLONG_MAX): Likewise.
35970         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35971         == 0.
35972         [ISO11] (max_align_t): Require type.
35973         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35974
35975         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35976         from $CFLAGS, without defining away __attribute__ calls.
35977         (checknamespace): Use $CFLAGS_namespace.
35978
35979         * conform/conformtest.pl (@keywords): Only include C99 keywords
35980         for standards based on C99 or C11.
35981
35982         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35983         Disable tests.
35984         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35985         UNIX98]: Likewise.
35986
35987         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35988         usability of symbols in #if.
35989
35990         * conform/conformtest.pl: If macro or constant types start
35991         "promoted:", expect the symbol to be of the following type
35992         promoted by the integer promotions.
35993
35994         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35995         in one place.  Also handle "macro-constant".
35996
35997         * conform/conformtest.pl: Only accept expected macro values with
35998         "==".  Parse all "macro" lines in one place.
35999         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36000
36001         * conform/conformtest.pl: Handle braced types on "constant" lines
36002         instead of handling "typed-constant".
36003         * conform/data/signal.h-data: Use "constant" instead of
36004         "typed-constant".
36005
36006         * conform/conformtest.pl: Handle "optional-" at start of lines in
36007         one place rather than duplicating several cases.  Handle each
36008         format of "macro" line with initial "optional-".
36009
36010         * conform/conformtest.pl: Only accept expected constant or
36011         optional-constant values with "==".  Parse all "constant" lines in
36012         one place.  Parse all "optional-constant" lines in one place.
36013         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36014         * conform/data/fmtmsg.h-data: Likewise.
36015         * conform/data/netinet/in.h-data: Likewise.
36016         * conform/data/tar.h-data: Likewise.
36017         * conform/data/limits.h-data: Use "==" form on "constant" and
36018         "optional-constant" lines.
36019
36020         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36021         Use -std=c99 for XOPEN2K.
36022         (@knownproblems): Remove.
36023         (newtoken): Don't check %isknown.
36024
36025         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36026         Do not expect macro.
36027         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36028         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36029         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36030         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36031         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36032         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36033         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36034         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36035         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36036         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36037         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36038         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36039         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36040         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36041         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36042         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36043         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36044         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36045         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36046         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36047         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36048         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36049         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36050         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36051         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36052         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36053         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36054         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36055         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36056         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36057         [XPG3] (acosh): Likewise.
36058         [XPG3] (asinh): Likewise.
36059         [XPG3] (atanh): Likewise.
36060         [XPG3] (cbrt): Likewise.
36061         [XPG3] (expm1): Likewise.
36062         [XPG3] (ilogb): Likewise.
36063         [XPG3] (log1p): Likewise.
36064         [XPG3] (logb): Likewise.
36065         [XPG3] (nextafter): Likewise.
36066         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36067         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36068         [XPG3] (remainder): Likewise.
36069         [XPG3] (rint): Likewise.
36070         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36071         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36072         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36073         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36074         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36075         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36076         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36077         [UNIX98 || XOPEN2K] (scalb): Expect.
36078         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36079         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36080         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36081         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36082         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36083         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36084         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36085         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36086         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36087         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36088         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36089         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36090         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36091         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36092         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36093         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36094         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36095         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36096         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36097         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36098         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36099         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36100         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36101         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36102         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36103         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36104         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36105         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36106         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36107         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36108         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36109         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36110         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36111         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36112         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36113         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36114         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36115         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36116         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36117         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36118         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36119         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36120         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36121         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36122         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36123         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36124         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36125         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36126         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36127         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36128         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36129         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36130         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36131         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36132         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36133         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36134         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36135         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36136         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36137         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36138         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36139         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36140         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36141         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36142         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36143         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36144         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36145         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36146         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36147         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36148         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36149         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36150         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36151         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36152         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36153         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36154         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36155         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36156         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36157         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36158         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36159         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36160         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36161         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36162         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36163         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36164         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36165         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36166         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36167         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36168         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36169         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36170         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36171         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36172         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36173         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36174         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36175         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36176         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36177         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36178         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36179         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36180         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36181         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36182         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36183         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36184         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36185         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36186         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36187         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36188         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36189         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36190         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36191         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36192         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36193         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36194         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36195         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36196         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36197         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36198         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36199         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36200         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36201         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36202         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36203         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36204         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36205         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36206         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36207         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36208         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36209         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36210         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36211         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36212         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36213         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36214         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36215
36216         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36217         _XOPEN_SOURCE_EXTENDED for XPG4.
36218
36219         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36220
36221         * Makeconfig (localtime): Remove variable.
36222         (inst_localtime-file): Likewise.
36223
36224 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36225
36226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36227         Update.
36228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36229         Update.
36230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36231         Update.
36232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36233         Update.
36234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36235         Update.
36236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36237         Update.
36238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36239         Update.
36240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36241         Update.
36242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36243         Update.
36244
36245 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36246
36247         [BZ #2550]
36248         [BZ #2570]
36249         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36250         comparisons to determine direction to adjust input.
36251         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36252         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36253         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36254         Likewise.
36255         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36256         Likewise.
36257         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36258         Likewise.
36259         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36260         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36261         Likewise.
36262         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36263         Likewise.
36264         * math/libm-test.inc (nexttoward_test): Add more tests.
36265
36266 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36267
36268         [BZ #14040]
36269         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36270         in version GLIBC_2.1, not GLIBC_2.0.
36271         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36272         Likewise.
36273
36274 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36275
36276         [BZ #13942]
36277         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36278         (1 - x) * (1 + x).
36279         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36280         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36281         * math/libm-test.inc (acos_test): Add more tests.
36282         (asin_test): Likewise.
36283         * sysdeps/i386/fpu/libm-test-ulps: Update.
36284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36285
36286         [BZ #14034]
36287         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36288         of square root.
36289         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36290         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36291         * math/libm-test.inc (acos_test_tonearest): New function.
36292         (acos_test_towardzero): Likewise.
36293         (acos_test_downward): Likewise.
36294         (acos_test_upward): Likewise.
36295         (asin_test_tonearest): Likewise.
36296         (asin_test_towardzero): Likewise.
36297         (asin_test_downward): Likewise.
36298         (asin_test_upward): Likewise.
36299         (main): Call the new functions.
36300         * sysdeps/i386/fpu/libm-test-ulps: Update.
36301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36302
36303         [BZ #13884]
36304         [BZ #13924]
36305         * math/e_exp10.c: Include <float.h>.
36306         (__ieee754_exp10): Handle underflow here rather than multiplying
36307         large negative argument by M_LN10.
36308         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36309         of __ieee754_expf.
36310         * math/e_exp10l.c: Include <float.h>.
36311         (__ieee754_exp10l): Handle underflow here rather than multiplying
36312         large negative argument by M_LN10l.
36313         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36314         spurious overflow exception on underflow.
36315
36316 2012-04-29  Marek Polacek  <polacek@redhat.com>
36317
36318         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36319         (__fortify_function): New macro.
36320         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36321         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36322         __extern_always_inline.
36323         * libio/bits/stdio2.h: Likewise.
36324         * libio/bits/stdio.h: Likewise.
36325         * string/string.h: Likewise.
36326         * string/bits/string3.h: Likewise.
36327         * include/stdio.h: Likewise.
36328         * stdlib/bits/stdlib.h: Likewise.
36329         * stdlib/stdlib.h: Likewise.
36330         * rt/bits/mqueue2.h: Likewise.
36331         * rt/mqueue.h: Likewise.
36332         * posix/bits/unistd.h: Likewise.
36333         * posix/unistd.h: Likewise.
36334         * io/bits/poll2.h: Likewise.
36335         * io/bits/fcntl2.h: Likewise.
36336         * io/fcntl.h: Likewise.
36337         * io/sys/poll.h: Likewise.
36338         * misc/bits/syslog.h: Likewise.
36339         * misc/bits/syslog-ldbl.h: Likewise.
36340         * misc/sys/syslog.h: Likewise.
36341         * socket/bits/socket2.h: Likewise.
36342         * socket/sys/socket.h: Likewise.
36343         * debug/tst-chk1.c: Likewise.
36344         * wcsmbs/bits/wchar2.h: Likewise.
36345         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36346         * wcsmbs/wchar.h: Likewise.
36347
36348 2012-04-29  Andreas Jaeger  <aj@suse.de>
36349
36350         * Makerules (tests): Remove enable-check-abi protection.
36351         (check-abi-warn): Remove.
36352         (check-abi-%): Remove check-abi-warn usage.
36353
36354         * configure.in: Remove check-abi configure option.
36355         * configure: Regenerated.
36356         * config.make.in (enable-check-abi): Remove.
36357
36358 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36359
36360         [BZ #14033]
36361         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36362         double functions to double *_finite functions.
36363
36364         [BZ #13941]
36365         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36366         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36367         LDBL_MIN_EXP.
36368         * stdio-common/Makefile (tests): Add tst-sprintf3.
36369         * stdio-common/tst-sprintf3.c: New file.
36370
36371         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36372         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36373
36374 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36375
36376         * conform/conformtest.pl: Remove duplicate typed-constant
36377         handling.
36378
36379 2012-04-28  David S. Miller  <davem@davemloft.net>
36380
36381         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36382         (check-abi-%): Remove AWK script prerequisite and explicit
36383         abilist directory.
36384         (check-abi): Rewrite to just diff the symlist with the abilist.
36385         (config-tls, config-abi-config): Delete, no longer used.
36386         (update-abi-%): Remove AWK script and explicit abilist directory.
36387         (update-abi): Rewrite to simply compare and conditionally copy the
36388         symlist and the sysdep abilist file.  Remove update-abi-config
36389         checks.
36390         * abilist/ld.abilist: Remove.
36391         * abilist/libBrokenLocale.abilist: Remove.
36392         * abilist/libanl.abilist: Remove.
36393         * abilist/libcrypt.abilist: Remove.
36394         * abilist/libdl.abilist: Remove.
36395         * abilist/librt.abilist: Remove.
36396         * abilist/libthread_db.abilist: Remove.
36397         * abilist/libutil.abilist: Remove.
36398         * scripts/extract-abilist.awk: Remove.
36399         * scripts/merge-abilist.awk: Remove.
36400         * sysdeps/generic/libcidn.abilist: New file.
36401         * sysdeps/generic/libnss_compat.abilist: New file.
36402         * sysdeps/generic/libnss_db.abilist: New file.
36403         * sysdeps/generic/libnss_dns.abilist: New file.
36404         * sysdeps/generic/libnss_files.abilist: New file.
36405         * sysdeps/generic/libnss_hesiod.abilist: New file.
36406         * sysdeps/generic/libnss_nis.abilist: New file.
36407         * sysdeps/generic/libnss_nisplus.abilist: New file.
36408         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36409         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36410         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36411         file.
36412         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36413         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36414         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36415         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36416         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36417         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36418         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36419         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36420         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36421         file.
36422         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36423         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36424         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36425         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36426         file.
36427         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36428         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36429         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36430         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36431         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36432         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36433         file.
36434         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36435         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36436         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36437         file.
36438         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36439         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36440         New file.
36441         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36442         New file.
36443         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36444         New file.
36445         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36446         New file.
36447         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36448         New file.
36449         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36450         New file.
36451         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36452         New file.
36453         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36454         New file.
36455         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36456         New file.
36457         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36458         New file.
36459         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36460         New file.
36461         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36462         New file.
36463         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36464         New file.
36465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36466         file.
36467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36468         New file.
36469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36470         New file.
36471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36472         file.
36473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36474         New file.
36475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36476         New file.
36477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36478         file.
36479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36480         New file.
36481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36482         New file.
36483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36484         New file.
36485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36486         New file.
36487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36488         New file.
36489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36490         New file.
36491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36493         file.
36494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36495         New file.
36496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36497         file.
36498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36499         file.
36500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36501         file.
36502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36503         file.
36504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36505         file.
36506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36507         New file.
36508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36509         file.
36510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36511         file.
36512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36513         New file.
36514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36515         file.
36516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36518         file.
36519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36520         New file.
36521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36522         file.
36523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36524         file.
36525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36526         file.
36527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36528         file.
36529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36530         file.
36531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36532         New file.
36533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36534         file.
36535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36536         file.
36537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36538         New file.
36539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36540         file.
36541         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36542         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36543         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36544         file.
36545         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36546         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36547         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36548         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36549         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36550         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36551         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36552         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36553         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36554         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36557         file.
36558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36559         New file.
36560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36561         file.
36562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36563         file.
36564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36565         file.
36566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36567         file.
36568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36569         file.
36570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36571         New file.
36572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36573         New file.
36574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36575         file.
36576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36577         New file.
36578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36579         file.
36580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36582         file.
36583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36584         New file.
36585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36586         file.
36587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36588         file.
36589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36590         file.
36591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36592         file.
36593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36594         file.
36595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36596         New file.
36597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36598         New file.
36599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36600         file.
36601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36602         New file.
36603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36604         file.
36605
36606 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36607
36608         * conform/conformtest.pl: Fix typo in handling typed-constant from
36609         allow-header.
36610
36611 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36612
36613         * README: Cut down references to pre-2.6 Linux kernels and
36614         Linuxthreads.  Update lists of configurations in libc and ports
36615         and sort alphabetically.  Say "or newer" with Linux kernel version
36616         requirements.
36617
36618         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36619
36620 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36621
36622         [BZ #887]
36623         * math/libm-test.inc (logb_test_downward): New test to expose
36624         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36625         rounding mode.
36626
36627 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36628
36629         [BZ #14027]
36630         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36631         to be done.
36632         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36633         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36634
36635 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36636
36637         * sysdeps/unix/i386/brk.S: Remove file.
36638         * sysdeps/unix/i386/dl-brk.S: Likewise.
36639         * sysdeps/unix/i386/pipe.S: Likewise.
36640         * sysdeps/unix/i386/sigreturn.S: Likewise.
36641         * sysdeps/unix/i386/syscall.S: Likewise.
36642         * sysdeps/unix/i386/vfork.S: Likewise.
36643         * sysdeps/unix/i386/wait.S: Likewise.
36644
36645         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36646         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36647
36648         * configure.in (arm*-none*): Do not allow without
36649         --enable-hacker-mode.
36650         (netbsd*): Remove case setting base_os.
36651         (386bsd*): Likewise.
36652         (freebsd*): Likewise.
36653         (bsdi*): Likewise.
36654         (osf*): Likewise.
36655         (sunos*): Likewise.
36656         (ultrix*): Likewise.
36657         (newsos*): Likewise.
36658         (dynix*): Likewise.
36659         (*bsd*): Likewise.
36660         (sysv*): Likewise.
36661         (isc*): Likewise.
36662         (esix*): Likewise.
36663         (sco*): Likewise.
36664         (minix*): Likewise.
36665         (irix4*): Likewise.
36666         (irix6*): Likewise.
36667         (solaris[2-9]*): Likewise.
36668         (none): Likewise.
36669         * configure: Regenerated.
36670
36671 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36672
36673         [BZ #11521]
36674         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36675         overflow or cancellation in calculating denominator.
36676         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36677         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36678         down expression to avoid unexpected rounding in newer GCCs.
36679         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36680
36681 2012-04-26  David S. Miller  <davem@davemloft.net>
36682
36683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36684         long-double compat symbols.
36685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36698
36699 2012-04-25  David S. Miller  <davem@davemloft.net>
36700
36701         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36702         HWCAP_* values only after the memory barriers have been defined.
36703         (atomic_full_barrier): Define.
36704         (atomic_read_barrier): Define.
36705         (atomic_write_barrier): Define.
36706
36707 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36708
36709         * shlib-versions: Add libgcc_s version information.
36710         * sysdeps/generic/libgcc_s.h: Remove.
36711         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36712         libgcc_s.h.
36713         * sysdeps/gnu/unwind-resume.c: Likewise.
36714         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36715
36716 2012-04-25  David S. Miller  <davem@davemloft.net>
36717
36718         * sysdeps/unix/sparc/brk.S: Delete.
36719         * sysdeps/unix/sparc/dl-brk.S: Delete.
36720         * sysdeps/unix/sparc/pipe.S: Delete.
36721         * sysdeps/unix/sparc/sysdep.S: Delete.
36722         * sysdeps/unix/sparc/sysdep.h: Delete.
36723         * sysdeps/unix/sparc/vfork.S: Delete.
36724         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36725         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36726         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36727         (ret_ERRVAL, r0, r1, MOVE): Define.
36728         (JUMPTARGET): Remove.
36729         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36730         sysdeps/unix/sparc/sysdep.h
36731         (ENTRY, END): Remove.
36732         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36733
36734 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36735
36736         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36737         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36738         -DIS_IN_build.
36739
36740         * timezone/README: Update upstream location and email address for
36741         tzcode and tzdata.
36742         * timezone/zdump.c: Update from tzcode 2012b.
36743         * timezone/zic.c: Likewise.
36744
36745         * configure.in (libc_cv_as_needed): Remove test.
36746         * configure: Regenerated.
36747         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36748         conditional definition.
36749         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36750         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36751         * config.make.in (have-as-needed): Remove variable.
36752
36753 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36754             Paul Pluzhnikov  <ppluzhnikov@google.com>
36755
36756         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36757         strings correctly.
36758
36759 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36760
36761         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36762         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36763         * sysdeps/sh/strlen.S: Likewise.
36764
36765 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36766
36767         * sysdeps/unix/fork.S: Remove file.
36768         * sysdeps/unix/i386/fork.S: Likewise.
36769         * sysdeps/unix/sparc/fork.S: Likewise.
36770
36771         * sysdeps/unix/system.c: Remove file.
36772         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36773
36774         * sysdeps/unix/getegid.S: Remove file.
36775         * sysdeps/unix/geteuid.S: Likewise.
36776
36777 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36778
36779         * scripts/check-localplt.awk: New file.
36780         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36781         of diff.
36782         * scripts/data/localplt-generic.data: Add a comment.
36783
36784         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36785         NODE when __dir_mkfile failed.
36786         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36787         Reported by Ludovic Courtès <ludo@gnu.org>.
36788
36789 2012-04-24  Andreas Jaeger  <aj@suse.de>
36790
36791         * Makerules (common-clean): Also remove gen-as-const-headers
36792         files.
36793
36794 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36795
36796         * Makerules (native-compile): Do not change working directory for
36797         build.  Use $(OUTPUT_OPTION) in command.
36798         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36799
36800 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36801
36802         [BZ #13886]
36803         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36804         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36805         * math/libm-test.inc (floor_test): Add more tests.
36806         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36807
36808 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36809
36810         * sysdeps/unix/getdents.c: Remove file.
36811         * sysdeps/unix/sysv/getdents.c: Likewise.
36812         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36813
36814         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36815         sysdeps/unix/mman/syscalls.list.
36816         (mmap): Likewise.
36817         (mprotect): Likewise.
36818         (msync): Likewise.
36819         (munmap): Likewise.
36820         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36821         * sysdeps/unix/mman/syscalls.list: Remove.
36822         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36823
36824         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36825         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36826         * configure: Regenerated.
36827         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36828         $(libgcc_s_suffix).
36829         * config.make.in (libgcc_s_suffix): Remove variable.
36830
36831 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36832
36833         * sysdeps/unix/sysv/gethostname.c: Move to ...
36834         * sysdeps/posix/gethostname.c: ... here.
36835
36836         * sysdeps/unix/execve.S: Remove file.
36837
36838         * sysdeps/unix/_exit.S: Remove file.
36839
36840 2012-04-23  Andreas Jaeger  <aj@suse.de>
36841
36842         [BZ #13739]
36843         * manual/Makefile: Remove make dist support, there's no
36844         need for a stand-alone documentation tar ball.
36845         (TEXI2DVI): Define always, it's not in Makeconfig.
36846         (dist): Removed.
36847         (tar-it): Removed.
36848         (edition): Removed.
36849         (glibc-doc-$(edition).tar): Removed
36850         (%.Z): Removed.
36851         (%.gz): Removed.
36852         (%.uu): Removed.
36853         (ETAGS): Remove, it's in Makeconfig.
36854         (move-if-change): Remove, it's in Makeconfig.
36855
36856 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36857
36858         [BZ #13970]
36859         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36860         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36861         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36862         (strtod_l, strtof_l, strtold_l): Remove __wur.
36863         It is not necessarily an error to ignore strtol's return value.
36864         One can reliably look at the stored endptr to decide whether
36865         the number had valid syntax.
36866
36867 2012-04-21  Andreas Jaeger  <aj@suse.de>
36868
36869         [BZ #13739]
36870         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36871
36872 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36873
36874         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36875         * sysdeps/unix/sysv/Versions: Remove file.
36876
36877 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36878
36879         [BZ #13927]
36880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36881
36882 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36883
36884         [BZ #7064]
36885         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36886         version from __vm86.
36887
36888 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36889
36890         * sysdeps/unix/common/lxstat.c: Remove file.
36891         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36892
36893         * sysdeps/unix/sysv/Makefile: Remove file.
36894
36895         * sysdeps/unix/sysv/direct.h: Remove file.
36896
36897         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36898         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36899         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36900         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36901         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36902         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36903         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36904
36905         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36906
36907         * sysdeps/unix/xmknod.c: Remove file.
36908         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36909
36910         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36911
36912         * sysdeps/unix/sysv/i386/time.S: Remove file.
36913
36914         * sysdeps/unix/fxstat.c: Remove file.
36915         * sysdeps/unix/xstat.c: Likewise.
36916         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36917
36918         * sysdeps/unix/sysv/sigaction.c: Remove file.
36919
36920         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36921         (sysdep_headers): Remove variable.
36922         [termio.h not in sysdep_headers] (generated): Likewise.
36923         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36924         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36925         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36926         * sysdeps/unix/sysv/tcflow.c: Likewise.
36927         * sysdeps/unix/sysv/tcflush.c: Likewise.
36928         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36929         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36930         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36931         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36932         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36933
36934         * sysdeps/unix/siglist.c: Remove file.
36935
36936         * sysdeps/unix/getppid.S: Remove file.
36937
36938         * sysdeps/unix/mkdir.c: Remove file.
36939         * sysdeps/unix/rmdir.c: Likewise.
36940
36941 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36942
36943         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36944         ERR_MAX value.
36945         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36946         errlist-compat value.
36947
36948 2012-04-18  David S. Miller  <davem@davemloft.net>
36949
36950         * sysdeps/generic/memcopy.h (reg_char): Delete.
36951         * debug/strcat_chk.c: Use char, not reg_char.
36952         * debug/strcpy_chk.c: Likewise.
36953         * debug/strncat_chk.c: Likewise.
36954         * debug/strncpy_chk.c: Likewise.
36955         * string/memchr.c: Likewise.
36956         * string/memrchr.c: Likewise.
36957         * string/rawmemchr.c: Likewise.
36958         * string/strcat.c: Likewise.
36959         * string/strchr.c: Likewise.
36960         * string/strchrnul.c: Likewise.
36961         * string/strcmp.c: Likewise.
36962         * string/strcpy.c: Likewise.
36963         * string/strncat.c: Likewise.
36964         * string/strncmp.c: Likewise.
36965         * string/strncpy.c: Likewise.
36966
36967 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36968
36969         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36970         __builtin_memcopy is called when src and dest ranges are known to not
36971         overlap.
36972
36973 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36974
36975         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36976         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36977         fwd_align_merge macro call.
36978         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36979         bwd_align_merge macro call.
36980         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36981
36982 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36983
36984         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36985         bwd_align_merge macros.
36986         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36987         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36988         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36989
36990 2012-04-18  David S. Miller  <davem@davemloft.net>
36991
36992         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36993
36994 2012-04-18  Andreas Jaeger  <aj@suse.de>
36995
36996         [BZ# 6794]
36997         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36998         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36999         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37000
37001         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37002         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37003         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37004
37005         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37006         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37007         Adjust for changed ldbl-128 files.
37008
37009         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37010         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37011         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37012
37013 2012-04-17  David S. Miller  <davem@davemloft.net>
37014
37015         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37016
37017 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37018
37019         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37020         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37021         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37022         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37023         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37024         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37025
37026 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37027
37028         [BZ #6794]
37029         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37030         * math/libm-test.inc: Add ilogb errno and exception tests.
37031         * math/w_ilogb.c: New file: ilogb wrapper.
37032         * math/w_ilogbf.c: New file: ilogbf wrapper.
37033         * math/w_ilogbl.c: New file: ilogbl wrapper.
37034         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37035         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37036         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37037         exception being thrown with 0.0 as argument.
37038         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37039         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37040         exception being thrown with 0.0 as argument.
37041         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37042         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37043         exception being thrown with 0.0 as argument.
37044         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37045         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37046         exception being thrown with 0.0 as argument.
37047         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37048         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37049         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37050         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37051         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37052         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37053         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37054         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37055         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37056
37057 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37058
37059         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37060         with altivec.
37061
37062 2012-04-16  Marek Polacek  <polacek@redhat.com>
37063
37064         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37065
37066 2012-04-16  Marek Polacek  <polacek@redhat.com>
37067
37068         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37069         operands of fdivp instruction.
37070
37071 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37072
37073         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37074         * elf/tst-auditmod3b.c: Likewise.
37075         * elf/tst-auditmod4b.c: Likewise.
37076         * elf/tst-auditmod5b.c: Likewise.
37077         * elf/tst-auditmod6b.c: Likewise.
37078         * elf/tst-auditmod6c.c: Likewise.
37079         * elf/tst-auditmod7b.c: Likewise.
37080         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37081         * sysdeps/x86_64/preconfigure.in: Likewise.
37082         * sysdeps/x86_64/preconfigure: Regenerated.
37083
37084 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37085
37086         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37087         __ILP32__.
37088
37089 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37090
37091         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37092         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37093
37094 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37095
37096         [BZ #13973]
37097         * locale/iso-639.def: Fix gl language name. Spotted by
37098         Yaron Shahrabani.
37099
37100 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37101
37102         [BZ #2074]
37103         * libio/libio.h (__io_write_fn): Update comment.
37104
37105 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37106
37107         [BZ #2074]
37108         * stdio.texi (Hook Functions): The user provided writer function
37109         is not allowed to return -1.
37110
37111 2012-04-11  David S. Miller  <davem@davemloft.net>
37112
37113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37114
37115 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37116
37117         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37118         Add a leading slash to rtkaio.
37119
37120 2012-04-11  Jim Meyering  <meyering@redhat.com>
37121
37122         [BZ #11959]
37123         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37124         It is not necessarily an error to ignore fwrite's return
37125         value.  One can reliably use ferror to test for errors after
37126         the fact.
37127
37128 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37129
37130         * bits/types.h (__snseconds_t): New type.
37131         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37132
37133         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37134         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37135         (__SNSECONDS_T_TYPE): Likewise.
37136         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37137         (__SNSECONDS_T_TYPE): Likewise.
37138         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37139         (__SNSECONDS_T_TYPE): Likewise.
37140
37141 2012-04-10  Andreas Jaeger  <aj@suse.de>
37142
37143         [BZ #2636]
37144         * manual/time.texi (Processor Time): Return type of times is
37145         elapsed real time since an arbitrary point in the past.
37146         (CPU Time): Move CLK_TCK from here...
37147         (Processor Time): ...to here.  Correct description.
37148         * manual/conf.texi (Constants for Sysconf): Correct description of
37149         _SC_CLK_TCK.
37150
37151 2012-04-10  David S. Miller  <davem@davemloft.net>
37152
37153         [BZ #13967]
37154         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37155         where the is a gap between DT_REL(A) and DT_JMPREL.
37156
37157 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37158
37159         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37160         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37161         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37162
37163 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37164
37165         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37166         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37167         (dl_main): Handle --inhibit-cache.
37168         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37169         _dl_inhibit_cache.
37170         * elf/dl-load.c (_dl_map_object): Use it.
37171         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37172
37173 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37174
37175         [BZ #13872]
37176         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37177         (__ieee754_powl): Saturate large exponents rather than testing for
37178         overflow of y*log2(x).
37179         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37180         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37181         exceptions.
37182
37183         [BZ #11521]
37184         * math/s_ctan.c: Include <float.h>.
37185         (__ctan): Avoid internal overflow or cancellation in calculating
37186         denominator.
37187         * math/s_ctanf.c: Likewise.
37188         * math/s_ctanl.c: Likewise.
37189         * math/s_ctanh.c: Likewise.
37190         * math/s_ctanhf.c: Likewise.
37191         * math/s_ctanhl.c: Likewise.
37192         * math/libm-test.inc (ctan_test): Add more tests.
37193         (ctanh_test): Likewise.
37194         * sysdeps/i386/fpu/libm-test-ulps: Update.
37195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37196
37197 2012-04-09  Andreas Jaeger  <aj@suse.de>
37198
37199         [BZ #6894]
37200         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37201         is an optional BSD extension.
37202
37203         [BZ #10254]
37204         * manual/stdio.texi (Opening Streams): Document additional fopen
37205         parameters.
37206
37207 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37208
37209         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37210         %eax without telling the compiler.
37211
37212 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37213
37214         [BZ # 13963]
37215         * manual/install.texi: Use sourceware.org.
37216
37217 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37218
37219         [BZ #13873]
37220         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37221         (__ieee754_pow): Generate overflow and underflow using huge*huge
37222         and tiny*tiny rather than just returning constant infinity or zero
37223         for large exponents.
37224         * math/libm-test.inc (pow_test): Require overflow exceptions for
37225         applicable cases of large exponents.
37226
37227         [BZ #706]
37228         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37229         (__ieee754_pow): Use iterative multiplication algorithm only for
37230         integer exponents with absolute value below 1024.  Check for odd
37231         integer exponents when using algorithm for real exponents.
37232         * math/libm-test.inc (pow_test): Add more tests.
37233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37234
37235 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37236
37237         [BZ #13705]
37238         * math/libm-test.inc (exp_test): Do not allow overflow exception
37239         on underflow test.
37240
37241 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37242
37243         [BZ #13705]
37244         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37245         instead of __kernel_standard_f.
37246
37247 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37248
37249         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37250         * sysdeps/x86_64/memset_chk.S: Likewise.
37251
37252 2012-04-08  Andreas Jaeger  <aj@suse.de>
37253
37254         [BZ #10153]
37255         * manual/startup.texi (Environment Access): Describe return value
37256         for putenv and setenv.
37257
37258         [BZ #6895]
37259         * manual/filesys.texi (Directory Entries): Add description for
37260         DT_LNK.
37261
37262         [BZ #6890]
37263         * manual/filesys.texi (Directory Entries): Clarify that it's file
37264         system not operating system in the description of DT_UNKNOWN.
37265
37266         [BZ #6578]
37267         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37268
37269 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37270
37271         [BZ #6649]
37272         * manual/llio.texi (Opening and Closing Files): Add cross
37273         reference to explain mode argument.
37274
37275 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37276
37277         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37278         * sysdeps/x86_64/memset_chk.S: Likewise.
37279
37280 2012-04-07  David S. Miller  <davem@davemloft.net>
37281
37282         * elf/elf.h (R_SPARC_WDISP10): Define.
37283         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37284         R_SPARC_SIZE32.
37285         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37286         R_SPARC_SIZE64 and R_SPARC_H34.
37287
37288 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37289
37290         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37291         conditions and remove no longer applicable assertion.
37292
37293 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37294
37295         * bits/byteswap.h: Include <features.h>.
37296         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37297         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37298
37299 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37300
37301         * bits/byteswap.h (__bswap_16): Removed.
37302         Include <bits/byteswap-16.h> to get __bswap_16.
37303         * sysdeps/i386/bits/byteswap.h: Likewise.
37304         * sysdeps/s390/bits/byteswap.h: Likewise.
37305         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37306         * bits/byteswap-16.h: New file.
37307         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37308         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37309         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37310         * string/Makefile (headers): Add bits/byteswap-16.h.
37311
37312 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37313
37314         [BZ #13895]
37315         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37316         extra indirection.
37317         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37318         * nss/tst-nss-static.c: New.
37319
37320 2012-04-06  Robert Millan  <rmh@gnu.org>
37321
37322         [BZ #6486]
37323         * manual/llio.texi (File Position Primitive): lseek
37324         refers to WHENCE when it really means OFFSET.
37325
37326 2012-04-06  Andreas Jaeger  <aj@suse.de>
37327
37328         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37329         strncmp declarations.
37330
37331         * abilist/libc.abilist: Add __poll and __ppoll.
37332
37333 2012-04-05  David S. Miller  <davem@davemloft.net>
37334
37335         * scripts/check-local-headers.sh: Accept a host triplet in the
37336         path matched by the exclude regexp.
37337
37338         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37339         definition.
37340         * sysdeps/powerpc/powerpc32/dl-machine.h
37341         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37342         * sysdeps/s390/s390-32/dl-machine.h
37343         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37344         * sysdeps/sparc/sparc32/dl-machine.h
37345         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37346         * sysdeps/sparc/sparc64/dl-machine.h
37347         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37348
37349         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37350         lazy binding.
37351         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37352         undefined symbol errors.
37353
37354         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37355         DT_NEEDED entries.
37356
37357 2012-04-05  Michael Matz  <matz@suse.de>
37358
37359         [BZ #13592]
37360         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37361
37362 2012-04-05  Andreas Jaeger  <aj@suse.de>
37363
37364         [BZ #13908]
37365         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37366         comment.
37367
37368 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37369
37370         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37371         which ROUND is no valid rounding mode.
37372
37373 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37374
37375         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37376         read again.
37377         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37378
37379 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37380
37381         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37382         an exception using FPU order intentionally.
37383
37384 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37385
37386         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37387         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37388         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37389         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37390
37391 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37392
37393         [BZ #12340]
37394         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37395         EINVAL when BUFLEN is too smal.
37396
37397 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37398
37399         [BZ #13553]
37400         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37401         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37402
37403 2012-04-03  Andreas Jaeger  <aj@suse.de>
37404
37405         [BZ #13938]
37406         * manual/setjmp.texi (System V contexts): Fix sentence.
37407
37408         [BZ #13926]
37409         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37410         New macro for this case.
37411         [!__GNUC__] (__bswap_64): New inline function for this case.
37412         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37413         * bits/byteswap.h: Likewise.
37414         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37415         ull, guard with __GLIBC_HAVE_LONG_LONG.
37416
37417         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37418         __GLIBC_HAVE_LONG_LONG.
37419
37420         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37421         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37422
37423 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37424
37425         [BZ #13691]
37426         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37427         inptr and inend, rather than using last_ch.
37428
37429 2012-04-02  David S. Miller  <davem@davemloft.net>
37430
37431         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37432         * stdio-common/printf-parse.h (read_int): Change return type to
37433         'int', return -1 on INT_MAX overflow.
37434         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37435         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37436         overflows INT_MAX.  Check for overflow of in-format-string precision
37437         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37438         SIZE_MAX not INT_MAX for integer overflow test.
37439         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37440         skip the construct in the format string but do not record anything.
37441         * stdio-common/bug22.c: Adjust to test both width/prevision
37442         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37443         explicitly for proper errno values.
37444
37445 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37446
37447         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37448         CHAR_MAX.
37449         * string/test-strcmp.c [! WIDE]: Likewise.
37450         * time/tst-mktime2.c: Likewise for INT_MAX.
37451         * string/test-string.h: #include <sys/param.h> for MIN.
37452
37453         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37454         * sysdeps/i386/init-first.c (init): Likewise.
37455         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37456         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37457         * sysdeps/sh/init-first.c (init): Likewise.
37458
37459 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37460
37461         * po/ru.po: Update from translation team.
37462         * po/vi.po: Likewise.
37463
37464 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37465
37466         * resolv/nss_dns/dns-host.c: Merge copyright years.
37467
37468 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37469
37470         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37471         Optimize memcpy with prefetch if
37472         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37473         src, dst pointers have unequal 16 byte alignments.
37474
37475 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37476
37477         [BZ #13928]
37478         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37479         from a CNAME entry and return the minimum ttl for the query.
37480         (gaih_getanswer_slice): Likewise.
37481
37482 2012-03-30  Jeff Law  <law@redhat.com>
37483
37484         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37485         due to long keys.
37486         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37487         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37488
37489         * resolv/nss_dns/dns-host.c: Update copyright year.
37490
37491 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37492
37493         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37494         requests to save a system call.  Fix check that all bytes are sent.
37495
37496         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37497         comments for sendmmsg.
37498
37499 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37500
37501         [BZ #13691]
37502         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37503         with only 1 character between 0x0041 and 0x01b0.
37504         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37505         * wcsmbs/tst-mbsnrtowcs.c: New file.
37506
37507 2012-03-29  David S. Miller  <davem@davemloft.net>
37508
37509         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37510         small copies by hand.
37511
37512 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37513
37514         [BZ #13761]
37515         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37516         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37517         group memberships.
37518
37519 2012-03-28  David S. Miller  <davem@davemloft.net>
37520
37521         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37522         that branches into memcpy.
37523         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37524         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37525         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37526         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37527         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37528         bits.
37529         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37530         implementation too.
37531         * sysdeps/sparc/mempcpy.S: New file.
37532
37533         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37534         the IFUNC routine in the libc case.
37535         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37536
37537         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37538         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37539         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37540         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37541         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37542         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37543         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37544         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37545
37546         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37547         loop to 256 bytes instead of 64 bytes and fix test signedness.
37548
37549         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37550         * sysdeps/sparc/sparc32/Makefile: rather than here...
37551         * sysdeps/sparc/sparc64/Makefile: and here.
37552
37553 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37554
37555         * malloc/mallocbug.c: Avoid warnings about unused variables.
37556
37557 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37558
37559         [BZ #13760]
37560         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37561         in the right place. Discard and retry query if response is
37562         larger than input buffer size.
37563
37564 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37565
37566         [BZ #369]
37567         [BZ #2678]
37568         [BZ #3866]
37569         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37570         x for large integer exponent.
37571         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37572         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37573         sign of result as needed afterwards.
37574         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37575         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37576         result for underflowing pow the same as for overflow.
37577         (__kernel_standard_l): Handle powl overflow and underflow here
37578         rather than calling __kernel_standard.
37579         * math/libm-test.inc (pow_test): Add more tests.
37580
37581         [BZ #3868]
37582         [BZ #13879]
37583         [BZ #13910]
37584         [BZ #13911]
37585         [BZ #13912]
37586         [BZ #13913]
37587         [BZ #13915]
37588         [BZ #13916]
37589         [BZ #13917]
37590         [BZ #13918]
37591         [BZ #13919]
37592         [BZ #13920]
37593         [BZ #13921]
37594         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37595         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37596         (__kernel_standard_l): New function.
37597         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37598         __kernel_standard.
37599         * math/w_acosl.c (__acosl): Likewise.
37600         * math/w_asinl.c (__asinl): Likewise.
37601         * math/w_atan2l.c (__atan2l): Likewise.
37602         * math/w_atanhl.c (__atanhl): Likewise.
37603         * math/w_coshl.c (__coshl): Likewise.
37604         * math/w_exp10l.c (__exp10l): Likewise.
37605         * math/w_exp2l.c (__exp2l): Likewise.
37606         * math/w_fmodl.c (__fmodl): Likewise.
37607         * math/w_hypotl.c (__hypotl): Likewise.
37608         * math/w_j0l.c (__j0l, __y0l): Likewise.
37609         * math/w_j1l.c (__j1l, __y1l): Likewise.
37610         * math/w_jnl.c (__jnl, __ynl): Likewise.
37611         * math/w_lgammal.c (__lgammal): Likewise.
37612         * math/w_log10l.c (__log10l): Likewise.
37613         * math/w_log2l.c (__log2l): Likewise.
37614         * math/w_logl.c (__logl): Likewise.
37615         * math/w_powl.c (__powl): Likewise.
37616         * math/w_remainderl.c (__remainderl): Likewise.
37617         * math/w_scalbl.c (sysv_scalbl): Likewise.
37618         * math/w_sinhl.c (__sinhl): Likewise.
37619         * math/w_sqrtl.c (__sqrtl): Likewise.
37620         * math/w_tgammal.c (__tgammal): Likewise.
37621         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37622         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37623         * math/libm-test.inc (acos_test): Add more tests.
37624         (acosh_test): Likewise.
37625         (asin_test): Likewise.
37626         (atanh_test): Likewise.
37627         (exp_test): Likewise.
37628         (exp10_test): Likewise.
37629         (exp2_test): Likewise.
37630         (expm1_test): Likewise.
37631         (lgamma_test): Likewise.
37632         (log_test): Likewise.
37633         (log10_test): Likewise.
37634         (log1p_test): Likewise.
37635         (log2_test): Likewise.
37636         (pow_test): Do not allow some spurious overflow exceptions.
37637         (sqrt_test): Add more tests.
37638         (tgamma_test): Likewise.
37639         (y0_test): Likewise.
37640         (y1_test): Likewise.
37641         (yn_test): Likewise.
37642
37643 2012-03-27  Anton Blanchard  <anton@samba.org>
37644
37645         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37646         MAP_HUGETLB.
37647         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37648         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37649         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37650
37651 2012-03-27  David S. Miller  <davem@davemloft.net>
37652
37653         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37654
37655         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37656         have-as-vis3 check.
37657
37658 2012-03-27  Andreas Jaeger  <aj@suse.de>
37659
37660         * sysdeps/x86_64/elf/configure.in: Moved to ...
37661         * sysdeps/x86_64/configure.in: ... here.
37662         * sysdeps/x86_64/elf/start.S: Moved to ...
37663         * sysdeps/x86_64/start.S: ... here.
37664         * sysdeps/x86_64/elf/configure: Delete.
37665
37666         * sysdeps/x86_64/configure.in: Merge contents from
37667         sysdeps/i386/configure.in (without i686 check).
37668
37669         * sysdeps/i386/elf/Versions: Merge into ...
37670         * sysdeps/i386/Versions: ... this.
37671         * sysdeps/i386/elf/Versions: Delete file.
37672         * sysdeps/i386/elf/start.S: Moved to ...
37673         * sysdeps/i386/start.S: ...here.
37674         * sysdeps/i386/elf/configure.in: Merge into...
37675         * sysdeps/i386/configure.in: ...here.
37676         * sysdeps/i386/elf/configure.in: Delete file.
37677         * sysdeps/i386/elf/configure: Delete file.
37678
37679         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37680         * debug/backtracesyms.c: ... here.
37681         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37682         * debug/backtracesymsfd.c: ... here.
37683         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37684         * sysdeps/generic/ifunc-sel.h: ... here.
37685
37686         * sysdeps/unix/i386/start.c: Delete file.
37687         * sysdeps/unix/sparc/start.c: Delete file.
37688         * sysdeps/unix/start.c: Delete file.
37689
37690         * sysdeps/sh/elf/configure.in: Moved to ...
37691         * sysdeps/sh/configure.in: ... here.
37692         * sysdeps/sh/elf/start.S: Moved to ...
37693         * sysdeps/sh/start.S: ... here.
37694         * sysdeps/sh/elf/configure: Delete file.
37695
37696         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37697         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37698         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37699         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37700         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37701         * sysdeps/powerpc/powerpc64/start.S: here.
37702         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37703         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37704         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37705         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37706         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37707
37708         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37709         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37710         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37711         * sysdeps/powerpc/powerpc32/start.S: ... here.
37712         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37713         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37714         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37715
37716         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37717         * sysdeps/powerpc/ifunc-sel.h: ... here.
37718         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37719         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37720
37721         * sysdeps/sparc/elf/configure.in: Moved to ...
37722         * sysdeps/sparc/configure.in: ... here.
37723         * sysdeps/sparc/elf/configure: Delete file.
37724         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37725         * sysdeps/sparc/sparc32/start.S: ... here.
37726         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37727         * sysdeps/sparc/sparc64/start.S: ... here.
37728         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37729         * sysdeps/sparc/sparc32/Makefile: ... this.
37730         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37731         * sysdeps/sparc/sparc64/Makefile: ... this.
37732
37733         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37734         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37735         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37736         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37737         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37738         * sysdeps/s390/s390-32/setjmp.S: ... here.
37739         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37740         * sysdeps/s390/s390-32/configure.in: ... here.
37741         * sysdeps/s390/s390-32/elf/configure: Delete file.
37742         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37743         * sysdeps/s390/s390-32/start.S: ... here.
37744
37745         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37746         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37747         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37748         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37749         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37750         * sysdeps/s390/s390-64/setjmp.S: ... here.
37751         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37752         * sysdeps/s390/s390-64/configure.in: ... here
37753         * sysdeps/s390/s390-64/elf/configure: Delete file.
37754         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37755         * sysdeps/s390/s390-64/start.S: ... here.
37756         * sysdeps/s390/s390-64/elf/configure: Delete.
37757
37758         * configure.in: Remove support for elf directories in sysdeps.
37759
37760         * configure: Regenerated.
37761         * sysdeps/i386/configure: Regenerated.
37762         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37763         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37764         * sysdeps/s390/s390-32/configure: Regenerated.
37765         * sysdeps/s390/s390-64/configure: Regenerated.
37766         * sysdeps/sh/configure: Regenerated.
37767         * sysdeps/sparc/configure: Regenerated.
37768         * sysdeps/x86_64/configure: Regenerated.
37769
37770 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37771
37772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37773
37774         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37775         denormal result into account.
37776
37777 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37778
37779         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37780         Reported by Allan McRae <allan@archlinux.org>.
37781
37782 2012-03-23  Jeff Law  <law@redhat.com>
37783
37784         * nss/getnssent.c (__nss_getent): Fix typo.
37785
37786 2012-03-23  David S. Miller  <davem@davemloft.net>
37787
37788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37789
37790 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37791
37792         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37793         to pad to uint64_t for each field.
37794         (dl_tls_index): Replace unsigned long with uint64_t.
37795
37796 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37797         Paul Pluzhnikov  <ppluzhnikov@google.com>
37798
37799         [BZ #6528]
37800         * grp/Makefile (otherlibs): Don't set it.
37801         * inet/Makefile (otherlibs): Likewise.
37802         * login/Makefile (otherlibs): Likewise.
37803         * nscd/Makefile (otherlibs): Likewise.
37804         * posix/Makefile (otherlibs): Likewise.
37805         * pwd/Makefile (otherlibs): Likewise.
37806         * rt/Makefile (otherlibs): Likewise.
37807         * sunrpc/Makefile (otherlibs): Likewise.
37808         * nss/Makefile (otherlibs): Likewise.
37809         Add libnss_files to routines and static-only-routines.
37810         ($(objpfx)getent): Remove rule.
37811         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37812         static-only-routines.
37813
37814 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37815
37816         [BZ #13892]
37817         * math/s_cexp.c: Include <float.h>.
37818         (__cexp): Handle exp result overflowing not necessarily
37819         overflowing both real and imaginary parts of result.
37820         * math/s_cexpf.c: Likewise.
37821         * math/s_cexpl.c: Likewise.
37822         * math/libm-test.inc (cexp_test): Add more tests.
37823         * sysdeps/i386/fpu/libm-test-ulps: Update.
37824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37825
37826 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37827
37828         * include/link.h (ELFW): New macro.
37829         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37830         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37831
37832 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37833
37834         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37835         with uint64_t.
37836
37837 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37838
37839         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37840         declaration.
37841         (struct La_x32_retval): Likewise.
37842
37843 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37844
37845         * sysdeps/x86_64/preconfigure.in: New file.
37846         * sysdeps/x86_64/preconfigure: New generated file.
37847
37848 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37849
37850         [BZ #13824]
37851         * math/e_exp2l.c: Include <float.h>.
37852         (__ieee754_exp2l): Handle overflow and underflow cases
37853         separately.  Only pass fractional part of argument to
37854         __ieee754_expl.
37855         * math/libm-test.inc (exp2_test): Add more tests.
37856
37857         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37858         negating x to take absolute value.
37859         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37860         Likewise.
37861         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37862         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37863         Likewise.
37864         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37865         computing low part if x was negated.
37866         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37867
37868 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37869
37870         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37871         la_x32_gnu_pltexit.
37872         (pltexit): Cast int_retval to ptrdiff_t.
37873         * elf/tst-auditmod3b.c: Likewise.
37874         * elf/tst-auditmod4b.c: Likewise.
37875         * elf/tst-auditmod5b.c: Likewise.
37876         * elf/tst-auditmod6b.c: Likewise.
37877         * elf/tst-auditmod6c.c: Likewise.
37878         * elf/tst-auditmod7b.c: Likewise.
37879
37880         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37881         and x32_gnu_pltexit.
37882
37883         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37884         __ELF_NATIVE_CLASS.
37885         (La_x32_regs): New macro.
37886         (La_x32_retval): Likewise.
37887         (la_x32_gnu_pltenter): New function prototype.
37888         (la_x32_gnu_pltexit): Likewise.
37889
37890 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37891
37892         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37893         exponent.
37894
37895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37896
37897         * configure.in (libc_cv_cc_nofma): Check for option to disable
37898         generation of FMA instructions.
37899         * configure: Regenerate.
37900         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37901         * sysdeps/ieee754/dbl-64/Makefile: New file.
37902         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37903         Remove brandred-fma4.
37904         (CFLAGS-brandred-fma4.c): Remove.
37905         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37906         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37907         define.
37908         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37909         define.
37910
37911 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37912
37913         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37914         LLONG_MAX != LONG_MAX.
37915         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37916         (_fitoa_word): Likewise.
37917         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37918         LLONG_MAX != LONG_MAX.
37919         * stdio-common/_itowa.h: Include <_itoa.h>.
37920         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37921         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37922         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37923         only if not defined.
37924         (_ITOA_WORD_TYPE): Likewise.
37925         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37926         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37927
37928 2012-03-21  David S. Miller  <davem@davemloft.net>
37929
37930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37931
37932 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37933
37934         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37935         of x86_64 when setting libc_cv_slibdir, libdir and
37936         libc_cv_localedir.
37937         * sysdeps/unix/sysv/linux/configure: Regenerated.
37938
37939 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37940
37941         * manual/lang.texi (Old Varargs): Remove section.
37942         (How Variadic): Update menu.
37943         (va_start): Do not mention varargs.h.
37944
37945 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37946             Joseph Myers  <joseph@codesourcery.com>
37947
37948         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37949         link test.
37950         * configure: Regenerated.
37951
37952 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37953
37954         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37955         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37956         conformtest.pl
37957
37958 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37959
37960         * NOTES: Remove.
37961         * Makefile (files-for-dist): Remove NOTES.
37962         (NOTES): Remove rule.
37963         * README: Don't refer to NOTES.
37964         * manual/creature.texi: Don't include macros.texi.
37965         * manual/intro.texi (creature.texi): Remove comment referring to
37966         NOTES.
37967
37968         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37969         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37970         * configure: Regenerated.
37971         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37972         LIBC_TRY_CC_OPTION.
37973         (libc_cv_as_i686): Likewise.
37974         (libc_cv_cc_avx): Likewise.
37975         (libc_cv_cc_sse2avx): Likewise.
37976         (libc_cv_cc_fma4): Likewise.
37977         (libc_cv_cc_novzeroupper): Likewise.
37978         * sysdeps/i386/configure: Regenerated.
37979
37980         [BZ #13883]
37981         * sysdeps/i386/fpu/s_cexp.S: Remove.
37982         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37983         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37984         * math/libm-test.inc (cexp_test): Add more tests.
37985         * sysdeps/i386/fpu/libm-test-ulps: Update.
37986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37987
37988 2012-03-21  Allan McRae  <allan@archlinux.org>
37989
37990         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37991
37992 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37993
37994         [BZ #13871]
37995         * math/w_exp2.c: Do not include <float.h>.
37996         (o_threshold, u_threshold): Remove.
37997         (__exp2): Calculate result before checking finiteness and calling
37998         __kernel_standard.
37999         * math/w_exp2f.c: Likewise.
38000         * math/w_exp2l.c: Likewise.
38001         * math/libm-test.inc (exp2_test): Require overflow exception for
38002         1e6 input.
38003
38004         [BZ #3866]
38005         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38006         range of signed 64-bit integers before using fistpll.  Remove
38007         checks for whether integers fit in mantissa bits.
38008         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38009         the range of signed 32-bit integers before using fistpl.  Remove
38010         checks for whether integers fit in mantissa bits.
38011         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38012         (__ieee754_powl): Test for y outside the range of signed 64-bit
38013         integers before using fistpll.  Reduce 64-bit values to 63-bit
38014         ones as needed.
38015         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38016         divide-by-zero is raised for zero to large negative powers.
38017         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38018         (__ieee754_powl): Test for y outside the range of signed 64-bit
38019         integers before using fistpll.  Reduce 64-bit values to 63-bit
38020         ones as needed.
38021         * math/libm-test.inc (pow_test): Add more tests.
38022
38023 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38024
38025         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38026         <stdio-common/_itoa.h>.
38027         * debug/segfault.c: Likewise.
38028         * elf/dl-cache.c: Likewise.
38029         * elf/dl-minimal.c: Likewise.
38030         * elf/dl-misc.c: Likewise.
38031         * elf/dl-sysdep.c: Likewise.
38032         * elf/dl-version.c: Likewise.
38033         * elf/rtld.c: Likewise.
38034         * hurd/hurdsock.c: Likewise.
38035         * hurd/lookup-retry.c: Likewise.
38036         * malloc/malloc.c: Likewise.
38037         * malloc/mtrace.c: Likewise.
38038         * nscd/nscd_getgr_r.c: Likewise.
38039         * nscd/nscd_getpw_r.c: Likewise.
38040         * nscd/nscd_getserv_r.c: Likewise.
38041         * posix/getopt_init.c: Likewise.
38042         * posix/wordexp.c: Likewise.
38043         * stdio-common/_itoa.c: Likewise.
38044         * stdio-common/printf_fphex.c: Likewise.
38045         * stdio-common/vfprintf.c: Likewise.
38046         * string/_strerror.c: Likewise.
38047         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38048         * sysdeps/i386/i686/hp-timing.h: Likewise.
38049         * sysdeps/mach/_strerror.c: Likewise.
38050         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38051         * sysdeps/mach/hurd/sethostid.c: Likewise.
38052         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38053         * sysdeps/mach/xpg-strerror.c: Likewise.
38054         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38055         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38056         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38057         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38058         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38059         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38060         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38061         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38062         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38063         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38064         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38065         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38066         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38067         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38068         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38069         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38070         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38071         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38072         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38073         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38074         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38075
38076         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38077
38078         * stdio-common/_itoa.h: Moved to ...
38079         * sysdeps/generic/_itoa.h: Here.
38080
38081         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38082
38083         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38084         instead of "_itoa.h" and "_itowa.h".
38085         * stdio-common/vfprintf.: Likewise.
38086
38087 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38088
38089         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38090         <bits/wordsize.h>.
38091         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38092         (__signbit): Likwise.
38093         (llrintf): Likwise.
38094         (llrint): Likwise.
38095
38096 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38097
38098         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38099         __WORDSIZE != 64.
38100
38101 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38102
38103         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38104         OVERFLOW_EXCEPTION_OK.
38105         * math/libm-test.inc ("Philosophy"): Update comment about
38106         exception testing.
38107         (OVERFLOW_EXCEPTION): Define.
38108         (OVERFLOW_EXCEPTION_OK): Likewise.
38109         (INVALID_EXCEPTION_OK): Renumber.
38110         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38111         (IGNORE_ZERO_INF_SIGN): Likewise.
38112         (test_exceptions): Handle FE_OVERFLOW.
38113         (exp10_test): Expect overflow exceptions.
38114         (exp2_test): Likewise.
38115         (expm1_test): Likewise.
38116         (nextafter_test): Likewise.
38117         (pow_test): Likewise.
38118         (scalbn_test): Likewise.
38119         (scalbln_test): Likewise.
38120
38121 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38122
38123         * sysdeps/x86_64/bits/atomic.h
38124         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38125         64bit integer.
38126         (atomic_exchange_acq): Likewise.
38127         (__arch_exchange_and_add_body): Likewise.
38128         (__arch_add_body): Likewise.
38129         (atomic_add_negative): Likewise.
38130         (atomic_add_zero): Likewise.
38131
38132 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38133
38134         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38135         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38136
38137 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38138
38139         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38140         Check __x86_64__ instead of __WORDSIZE.
38141
38142 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38143
38144         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38145
38146 2012-03-19  David S. Miller  <davem@davemloft.net>
38147
38148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38149
38150         * sysdeps/sparc/fpu/fenv_private.h: New file.
38151         * sysdeps/sparc/fpu/math_private.h: Use it.
38152         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38153         Remove.
38154         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38155         (libc_feholdexcept_setroundl): Remove.
38156         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38157         Remove.
38158         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38159         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38160
38161 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38162
38163         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38164         int64_t instead of long int.
38165         (INSERT_WORDS64): Likwise.
38166
38167 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38168
38169         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38170         _Unwind_GetCFA return to _Unwind_Ptr first.
38171
38172 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38173
38174         [BZ #13629]
38175         * math/s_clog.c: Include <float.h>.
38176         (__clog): Scale large or subnormal inputs.
38177         * math/s_clogf.c: Likewise.
38178         * math/s_clogl.c: Likewise.
38179         * math/s_clog10.c: Include <float.h>.
38180         (M_LOG10_2): Define.
38181         (__clog10): Scale large or subnormal inputs.
38182         * math/s_clog10f.c: Likewise.
38183         * math/s_clog10l.c: Likewise.
38184         * math/libm-test.inc (clog_test): Add more tests.
38185         (clog10_test): Likewise.
38186         * sysdeps/i386/fpu/libm-test-ulps: Update.
38187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38188
38189         [BZ #11451]
38190         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38191         x and y.
38192         * math/libm-test.inc (atan2_test): Add another test.
38193
38194         * Makerules (common-objdir-compile): Remove.
38195         * sysdeps/unix/Makefile (config-generated): Do not add
38196         $(unix-generated) to variable.
38197         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38198         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38199         Remove rule.
38200         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38201         Likewise.
38202         [generic bits/local_lim.h] (before-compile): Do not append to
38203         variable.
38204         [generic bits/local_lim.h] (common-generated): Likewise.
38205         [generic sys/param.h] (before-compile): Do not append to variable.
38206         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38207         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38208         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38209         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38210         include.
38211         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38212         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38213         [generic sys/param.h] ($(addprefix
38214         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38215         [generic sys/param.h] (common-generated): Do not append to
38216         variable.
38217         [generic sys/param.h] (sysdep_headers): Likewise.
38218         [generic bits/errno.h] (before-compile): Do not append to
38219         variable.
38220         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38221         rule.
38222         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38223         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38224         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38225         [generic bits/errno.h] (common-generated): Do not append to
38226         variable.
38227         [generic bits/ioctls.h] (before-compile): Do not append to
38228         variable.
38229         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38230         rule.
38231         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38232         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38233         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38234         rule.
38235         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38236         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38237         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38238         [generic bits/ioctls.h] (common-generated): Do not append to
38239         variable.
38240         [generic sys/syscall.h] (syscall.h): Remove variable.
38241         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38242         rule.
38243         [generic sys/syscall.h] (before-compile): Do not append to
38244         variable.
38245         [generic sys/syscall.h] (common-generated): Likewise.
38246         * sysdeps/unix/errnos-tmpl.c: Remove file.
38247         * sysdeps/unix/errnos.awk: Likewise.
38248         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38249         * sysdeps/unix/ioctls.awk: Likewise.
38250         * sysdeps/unix/mk-local_lim.c: Likewise.
38251         * sysdeps/unix/snarf-ioctls: Likewise.
38252
38253 2012-03-19  Richard Henderson  <rth@twiddle.net>
38254
38255         * sysdeps/i386/fpu/fenv_private.h: New file.
38256         * sysdeps/i386/fpu/math_private.h: Use it.
38257         (math_opt_barrier, math_force_eval): Remove.
38258         (libc_feholdexcept_setround_53bit): Remove.
38259         (libc_feupdateenv_53bit): Remove.
38260         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38261         (math_opt_barrier, math_force_eval): Remove.
38262         (libc_feholdexcept): Remove.
38263         (libc_feholdexcept_setround): Remove.
38264         (libc_fetestexcept, libc_fesetenv): Remove.
38265         (libc_feupdateenv_test): Remove.
38266         (libc_feupdateenv, libc_feholdsetround): Remove.
38267         (libc_feresetround): Remove.
38268
38269         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38270         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38271
38272         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38273         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38274         (libc_feupdateenv_testl): New.
38275         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38276         (libc_feupdateenv_testf): New.
38277         (libc_feupdateenv): Use libc_feupdateenv_test.
38278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38279         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38280
38281         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38282         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38283         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38284         (libc_feresetround_noex): New.
38285         (libc_feresetround_noexf): New.
38286         (libc_feresetround_noexl): New.
38287         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38288         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38289         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38290         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38291         SET_RESTORE_ROUND.
38292         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38293         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38294         (__cos): Likewise.
38295         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38296         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38297         SET_RESTORE_ROUND_NOEX.
38298         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38299         SET_RESTORE_ROUND_NOEXF.
38300         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38301         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38302         (libc_feholdsetroundf): New.
38303         (libc_feresetround, libc_feresetroundf): New.
38304
38305         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38306         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38307         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38308
38309         * sysdeps/generic/math_private.h: Include <fenv.h>.
38310         (default_libc_feholdexcept): New.
38311         (default_libc_feholdexcept_setround): New.
38312         (default_libc_fesetenv, default_libc_feupdateenv): New.
38313         (libc_feholdexcept): Only define if undefined.
38314         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38315         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38316         (libc_feholdexcept_setroundl): Likewise.
38317         (libc_feholdexcept_setround_53bit): Likewise.
38318         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38319         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38320         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38321         (libc_feupdateenv_53bit): Likewise.
38322         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38323         (libc_feholdexcept): Convert from macro to inline function.
38324         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38325         (libc_fesetenv, libc_feupdateenv): Likewise.
38326
38327         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38328         not previously defined.
38329         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38330         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38331         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38332         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38333         * sysdeps/ieee754/flt-32/math_private.h: New file.
38334         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38335         math_private.h below SET_FLOAT_WORD.
38336         (__isnan, __isinf_ns, __finite): Remove.
38337         (__isnanf, __isinf_nsf, __finitef): Remove.
38338
38339 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38340
38341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38342
38343 2012-03-17  David S. Miller  <davem@davemloft.net>
38344
38345         [BZ #6471]
38346         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38347         for 2.16.
38348
38349 2012-03-16  David S. Miller  <davem@davemloft.net>
38350
38351         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38352         warnings.
38353
38354         [BZ #6471]
38355         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38356         properly.
38357         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38358         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38359         sysdep_routines when subdir is sysvipc.
38360         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38361         __getshmlba helper.
38362
38363         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38364
38365 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38366
38367         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38368         [__LP64__].
38369
38370 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38371
38372         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38373         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38374         (__lround): Renamed to ...
38375         (__llround): This.  Replace long int with long long int.
38376         Define lround functions as aliases of llround functions.
38377         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38378
38379 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38380
38381         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38382         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38383         adresses to uintptr_t.  Replace "long int" and "unsigned long
38384         int" with "greg_t" on va_arg.
38385
38386 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38387
38388         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38389         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38390
38391         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38392         Move e_machine check before EI_CLASS check.  Handle x32
38393         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38394         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38395         SKIP_EM_IA_64 and include
38396         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38397
38398         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38399         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38400         (add_system_dir): New macro.
38401
38402         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38403         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38404
38405 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38406
38407         [BZ #2551]
38408         [BZ #2552]
38409         [BZ #2553]
38410         [BZ #2554]
38411         [BZ #2562]
38412         [BZ #2563]
38413         [BZ #2565]
38414         [BZ #2566]
38415         [BZ #2576]
38416         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38417         (y0): Likewise.
38418         * math/w_j0f.c (j0f): Likewise.
38419         (y0f): Likewise.
38420         * math/w_j0l.c (__j0l): Likewise.
38421         (__y0l): Likewise.
38422         * math/w_j1.c (j1): Likewise.
38423         (y1): Likewise.
38424         * math/w_j1f.c (j1f): Likewise.
38425         (y1f): Likewise.
38426         * math/w_j1l.c (__j1l): Likewise.
38427         (__y1l): Likewise.
38428         * math/w_jn.c (jn): Likewise.
38429         (yn): Likewise.
38430         * math/w_jnf.c (jnf): Likewise.
38431         (ynf): Likewise.
38432         * math/w_jnl.c (__jnl): Likewise.
38433         (__ynl): Likewise.
38434         * math/libm-test.inc (j0_test): Add more tests.
38435         (j1_test): Likewise.
38436         (jn_test): Likewise.  Add trailing semicolon to existing test.
38437         (y0_test): Likewise.
38438         (y1_test): Likewise.
38439         * sysdeps/i386/fpu/libm-test-ulps: Update.
38440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38441
38442         [BZ #13851]
38443         [BZ #13854]
38444         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38445         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38446         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38447         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38448         (__tanl): Set errno for infinite argument.
38449         * sysdeps/i386/fpu/mptan.c: Remove.
38450         * sysdeps/i386/fpu/s_tan.S: Likewise.
38451         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38452         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38453         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38454         * math/libm-test.inc (tan_test): Add more tests and enable more
38455         tests for double and long double.
38456         * sysdeps/i386/fpu/libm-test-ulps: Update.
38457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38458
38459 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38460
38461         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38462         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38463
38464 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38465
38466         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38467         * configure.in: Use it for both main tree and add-ons.
38468         * configure: Regenerated.
38469
38470 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38471
38472         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38473
38474 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38475
38476         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38477         in comment.
38478
38479         [BZ #13851]
38480         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38481         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38482         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38483         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38484         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38485         infinite argument.
38486         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38487         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38488         != 0 for prec == 2.
38489         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38490         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38491         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38492         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38493         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38494         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38495         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38496         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38497         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38498         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38499         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38500         * math/libm-test.inc (cos_test): Add more tests and enable more
38501         tests for long double.
38502         (sin_test): Likewise.
38503         (sincos_test): Likewise.
38504         * sysdeps/i386/fpu/libm-test-ulps: Update.
38505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38506
38507 2012-03-16  David S. Miller  <davem@davemloft.net>
38508
38509         * sysdeps/sparc/fpu/math_private.h: New file.
38510
38511 2012-03-15  David S. Miller  <davem@davemloft.net>
38512
38513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38514         file.
38515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38517         file.
38518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38523         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38524         sysdep routines.
38525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38526
38527         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38528         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38529
38530         * sysdeps/sparc/sparc-ifunc.h: New file.
38531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38532         sparc-ifunc.h
38533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38535         Likewise.
38536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38537         Likewise.
38538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38542         Likewise.
38543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38548         Likewise.
38549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38550         Likewise.
38551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38555         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38556         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38557         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38558         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38560         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38566         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38567         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38568         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38569         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38570         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38571         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38572         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38573         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38574         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38575
38576 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38577
38578         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38579         scaling.
38580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38581
38582 2012-03-15  Andreas Jaeger  <aj@suse.de>
38583
38584         [BZ #13852]
38585         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38586         ieee754/flt-32 implementation for sin, cos and sincos.
38587         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38588         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38589         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38590         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38591         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38592         ieee754/flt-32 implementation for tan.
38593
38594         * math/libm-test.inc (cos_test): Enable some large input tests for
38595         float as well
38596         (sin_test): Likewise.
38597         (sincos_test): Likewise.
38598         (tan_test): Add tests for large input.
38599
38600         * sysdeps/i386/fpu/libm-test-ulps: Update.
38601
38602 2012-03-15  Andreas Jaeger  <aj@suse.de>
38603
38604         [BZ #13658]
38605         * math/libm-test.inc (cos_test): Add more test cases.
38606         (sin_test): Likewise.
38607         (sincos_test): Likewise.
38608
38609 2012-03-15  Andreas Jaeger  <aj@suse.de>
38610
38611         [BZ #13837]
38612         * math/libm-test.inc (cos_test): Add a test case for large input
38613         value.
38614         (sin_test): Likewise.
38615         (sincos_test): Likewise.
38616
38617 2012-03-15  Andreas Jaeger  <aj@suse.de>
38618             Joseph Myers  <joseph@codesourcery.com>
38619
38620         [BZ #13658]
38621         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38622         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38623         * sysdeps/i386/fpu/branred.c: Likewise.
38624         * sysdeps/i386/fpu/dosincos.c: Likewise.
38625         * sysdeps/i386/fpu/mpa.c: Likewise.
38626         * sysdeps/i386/fpu/s_cos.S: Likewise.
38627         * sysdeps/i386/fpu/s_sin.S: Likewise.
38628         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38629         * sysdeps/i386/fpu/sincos32.c: Likewise.
38630
38631         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38632         Define.
38633         (libc_feupdateenv_53bit): Define.
38634         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38635         Define.
38636         (libc_feupdateenv_53bit): Define.
38637
38638         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38639         53 bit (without extend i386 double precision).
38640
38641         * math/libm-test.inc (sincos_test): Add tests for large input.
38642         (sin): Likewise.
38643         (cos): Likewise.
38644
38645         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38646
38647 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38648
38649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38650
38651 2012-03-15  David S. Miller  <davem@davemloft.net>
38652
38653         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38654         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38655         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38656         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38667         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38669         file.
38670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38672         file.
38673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38675         file.
38676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38678         file.
38679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38680         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38681         fmin/fmax sysdep routines.
38682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38683
38684 2012-03-14  David S. Miller  <davem@davemloft.net>
38685
38686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38689         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38690         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38691         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38692         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38693         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38695         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38696         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38697         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38700         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38701         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38702         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38703         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38704         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38705         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38706         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38707         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38708         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38709         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38710         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38711         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38712         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38713         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38714         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38715         routines.
38716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38717         file.
38718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38720         file.
38721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38723         file.
38724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38726         file.
38727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38729         file.
38730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38732         file.
38733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38734         file.
38735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38736         file.
38737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38738         file.
38739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38740         New file.
38741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38742         file.
38743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38744         file.
38745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38747         file.
38748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38750         file.
38751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38753         file.
38754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38756         VIS3 routines.
38757
38758         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38759         New file.
38760
38761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38762
38763         * sysdeps/sparc/configure.in: New file.
38764         * sysdeps/sparc/configure: Generate.
38765         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38766         * configure: Regenerate.
38767         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38768         * config.make.in (have-as-vis3): New.
38769         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38770         available use -Av9d instead of -Av9a.
38771         * sysdeps/sparc/sparc64/Makefile: Likewise.
38772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38774         New file.
38775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38776         file.
38777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38778         New file.
38779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38780         file.
38781         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38782         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38783         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38784         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38785         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38786
38787         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38788         fzeros/fnegs to load 0x80000000 into a float register instead of
38789         using the stack.
38790         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38791
38792 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38793
38794         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38795         bits/syscall.h.
38796         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38797         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38798         ($(inst_includedir)/bits/syscall.h): Remove rule.
38799         ($(objpfx)bits/syscall.d): Include instead of
38800         $(objpfx)syscall-list.d.
38801         (generated): Change syscall-list.h and syscall-list.d to
38802         bits/syscall.h and bits/syscall.d.
38803
38804 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38805
38806         [BZ #13846]
38807         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38808
38809 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38810
38811         [BZ #13841]
38812         * math/s_csqrt.c: Include <float.h>.
38813         (__csqrt): Scale large or subnormal inputs.
38814         * math/s_csqrtf.c: Likewise.
38815         * math/s_csqrtl.c: Likewise.
38816         * math/libm-test.inc (csqrt_test): Add more tests.
38817         * sysdeps/i386/fpu/libm-test-ulps: Update.
38818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38819
38820         [BZ #13840]
38821         * math/libm-test.inc (hypot_test): Add more tests.
38822
38823 2012-03-13  David S. Miller  <davem@davemloft.net>
38824
38825         [BZ #13840]
38826         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38827         double-precision for the calculation instead of scaling.
38828
38829 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38830
38831         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38832         manipulate bits before adding and subtracting TWO52[sx].
38833         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38834         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38835         Likewise.
38836         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38837
38838 2012-03-13  David S. Miller  <davem@davemloft.net>
38839
38840         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38841         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38842         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38843         rtld-global-offsets.h
38844         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38845
38846         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38847         large parameters.
38848
38849         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38850
38851         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38852         'err' in the ifdef scope in which it is actually used.
38853
38854         * nss/nss_db/db-init.c: Include string.h
38855
38856 2012-03-12  David S. Miller  <davem@davemloft.net>
38857
38858         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38859         masking out of the most significant byte of random value used.
38860         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38861         Fix coding style in previous change.
38862
38863         * sysdeps/unix/sysv/linux/kernel-features.h
38864         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38865         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38866         expression.
38867         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38868         later.
38869
38870 2012-03-11  David S. Miller  <davem@davemloft.net>
38871
38872         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38873         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38874         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38875         for 'resultvar' otherwise things get truncated on 64-bit.
38876
38877         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38878         Fix masking out of the most significant byte of random value used.
38879
38880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38881
38882 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38883
38884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38885
38886 2012-03-09  David S. Miller  <davem@davemloft.net>
38887
38888         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38889         variables with appropriate CPP guards.
38890         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38891         from the frame pointer, not the stack pointer.  Correct layout
38892         comments.  Fix test on resulting framesize and the management of
38893         the outregs buffer for pltexit.  Preserve floating point return
38894         values across _dl_call_pltexit call.
38895         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38896         framesize and the management of the outregs buffer for pltexit.
38897         Preserve floating point return values across _dl_call_pltexit
38898         call.
38899         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38900         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38901         (la_sparc64_gnu_pltexit): New functions.
38902         (print_exit): Fix format string for return register value.
38903
38904 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38905
38906         * sunrpc/Makefile (others): Add rpcgen.
38907         ($(objpfx)rpcgen): Remove special build rule and dependency on
38908         libc.
38909         * sunrpc/rpcgen.c: New file.
38910
38911 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38912
38913         [BZ #13673]
38914         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38915         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38916         * sysdeps/i386/crti.S: Likewise.
38917         * sysdeps/i386/crtn.S: Likewise.
38918         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38919         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38920         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38921         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38922         * sysdeps/sh/crti.S: Likewise.
38923         * sysdeps/sh/crtn.S: Likewise.
38924         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38925
38926         [BZ #13673]
38927         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38928         with URL.
38929         * locale/programs/locfile-kw.gperf: Likewise.
38930         * locale/programs/charmap-kw.h: Regenerated.
38931         * locale/programs/locfile-kw.h: Likewise.
38932
38933         [BZ #13673]
38934         * intl/plural.y: Replace FSF snail mail address with URL.
38935         * intl/plural.c: Regenerated.
38936
38937 2012-03-09  Richard Henderson  <rth@twiddle.net>
38938
38939         * include/math_private.h: Remove file.
38940         * math/math_private.h: Move file ...
38941         * sysdeps/generic/math_private.h: ... here.
38942
38943         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38944         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38945         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38946
38947         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38948         and <math_private.h>.
38949         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38950         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38951         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38952         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38953         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38954         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38955         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38956         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38957         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38958         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38959         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38960         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38961         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38962         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38963         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38964         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38965         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38966         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38967         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38968         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38969         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38970         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38971         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38972         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38973         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38974         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38975         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38976         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38977         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38978         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38979         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38980         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38981         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38982         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38983         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38984         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38985         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38986         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38987         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38988         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38989         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38990         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38991         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38992         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38993         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38994         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38995         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38996         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38997         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38998         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38999         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39000         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39001         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39002         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39003         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39004         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39005         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39006         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39007         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39008         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39009         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39010         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39011         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39012         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39013         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39014         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39015         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39016         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39017         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39018         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39019         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39020         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39021         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39022         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39023         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39024         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39025         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39026         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39027         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39028         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39029         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39030         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39031         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39032         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39033         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39034         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39035         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39036         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39037         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39038         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39039         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39040         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39041         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39042         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39043         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39044         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39045         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39046         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39047         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39048         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39049         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39050         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39051         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39052         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39053         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39054         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39055         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39056         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39057         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39058         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39059         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39060         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39061         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39062         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39063         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39064         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39065         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39066         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39067         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39068         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39069         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39070         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39071         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39072         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39073         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39074         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39075         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39076         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39077         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39078         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39079         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39080         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39081         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39082         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39083         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39084         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39085         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39086         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39087         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39088         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39089         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39090         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39091         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39092         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39093         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39094         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39095         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39096         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39097         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39098         * sysdeps/ieee754/k_standard.c: Likewise.
39099         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39100         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39101         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39102         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39103         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39104         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39105         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39106         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39107         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39108         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39109         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39110         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39111         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39112         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39113         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39114         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39115         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39116         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39117         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39118         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39119         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39120         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39121         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39122         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39123         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39124         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39125         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39126         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39127         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39128         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39129         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39130         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39131         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39132         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39133         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39134         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39135         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39136         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39137         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39138         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39139         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39140         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39141         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39142         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39143         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39144         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39145         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39146         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39147         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39148         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39149         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39150         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39151         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39152         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39153         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39154         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39155         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39156         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39157         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39158         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39159         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39160         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39161         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39162         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39163         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39164         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39165         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39166         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39167         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39168         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39169         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39170         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39171         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39172         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39173         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39174         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39175         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39176         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39177         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39178         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39179         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39180         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39181         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39182         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39183         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39184         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39185         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39186         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39187         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39188         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39189         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39190         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39191         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39192         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39193         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39194         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39195         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39196         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39197         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39198         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39199         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39200         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39201         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39202         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39203         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39204         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39205         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39206         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39207         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39208         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39209         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39210         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39211         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39212         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39213         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39214         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39215         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39216         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39217         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39218         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39219         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39220         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39221         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39222         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39223         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39224         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39225         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39226         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39227         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39228         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39229         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39230         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39231         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39232         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39233         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39234         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39235         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39236         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39237         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39238         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39239         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39240         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39241         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39242         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39243         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39244         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39245         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39246         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39247         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39248         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39249         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39250         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39251         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39252         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39253         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39254         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39255         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39256         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39257         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39258         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39259         * sysdeps/ieee754/s_lib_version.c: Likewise.
39260         * sysdeps/ieee754/s_matherr.c: Likewise.
39261         * sysdeps/ieee754/s_signgam.c: Likewise.
39262         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39263         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39264         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39265         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39266         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39267         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39268         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39269         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39270         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39271         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39272         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39273         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39274         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39275         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39276         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39277         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39278         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39279         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39280         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39281         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39282         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39283
39284 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39285
39286         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39287         * sunrpc/rpc_main.c: Likewise.
39288         * sunrpc/rpc_svcout.c: Likewise.
39289
39290 2012-03-09  David S. Miller  <davem@davemloft.net>
39291
39292         * include/math_private.h: New file.
39293
39294 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39295
39296         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39297         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39298         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39299         from <bits/socket_type.h>.
39300         (enum __socket_type): Don't define here.
39301         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39303         bits/socket_type.h.
39304
39305         [BZ #13566]
39306         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39307         checking __USE_GNU.
39308
39309         * Makerules ($(inst_includedir)/%.h): New rule.
39310         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39311         (install-others): Remove variable setting.
39312         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39313
39314 2012-03-08  Richard Henderson  <rth@twiddle.net>
39315
39316         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39317         from macro to inline function; merge with the
39318         !__LIBC_INTERNAL_MATH_INLINES version.
39319         (__ieee754_sqrtf): Likewise.
39320
39321         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39322         to inline function.
39323         (__rintf, __floor, __floorf): Likewise.
39324
39325         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39326         macro to inline function.
39327         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39328
39329         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39330         not <math/math_private.h>.
39331
39332 2012-03-08  David S. Miller  <davem@davemloft.net>
39333
39334         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39335         copyright year.
39336         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39337
39338 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39339
39340         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39341         normalization.
39342         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39343         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39344
39345 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39346
39347         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39348         be defined individually, they must be defined as a block.  Define
39349         S for printing a string instead of hidint the different by using a
39350         macro for adding the 'l'.
39351         * stdio-common/tst-fphex-wide.c: Adjust.
39352
39353 2012-03-07  Marek Polacek  <polacek@redhat.com>
39354
39355         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39356
39357 2012-03-08  Marek Polacek  <polacek@redhat.com>
39358
39359         [BZ #13806]
39360         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39361         * stdio-common/tst-fphex.c: Define a few macros to make the
39362         test reusable.  Use them.
39363         * stdio-common/tst-fphex-wide.c: New file.
39364
39365 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39366
39367         [BZ #6911]
39368         * manual/macros.texi (gnusystems): New macro.
39369         (nongnusystems): Likewise.
39370         (gnulinuxhurdsystems): Likewise.
39371         (gnuhurdsystems): Likewise..
39372         (gnulinuxsystems): Likewise.
39373         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39374         variants of the GNU system, not "GNU system".
39375         * manual/conf.texi: Likewise.
39376         * manual/errno.texi: Likewise.  Update example of errno macro
39377         expansion.
39378         * manual/filesys.texi: Likewise.
39379         (getumask): Document as specific to GNU/Hurd.
39380         * manual/install.texi: Likewise.  Reword some references to
39381         GNU/Linux.
39382         * manual/intro.texi: Likewise.
39383         * manual/io.texi: Likewise.
39384         (File Name Portability): Detail which constraints are inapplicable
39385         to all GNU systems and which are only inapplicable to GNU/Hurd.
39386         * manual/job.texi: Likewise.
39387         * manual/llio.texi: Likewise.
39388         (O_NOCTTY): Document as present on GNU/Linux.
39389         * manual/maint.texi: Likewise.
39390         * manual/memory.texi: Likewise.
39391         * manual/pattern.texi: Likewise.
39392         * manual/pipe.texi: Likewise.
39393         * manual/process.texi: Likewise.
39394         * manual/resource.texi: Likewise.
39395         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39396         child on GNU/Hurd.
39397         * manual/setjmp.texi: Likewise.
39398         * manual/signal.texi: Likewise.
39399         * manual/startup.texi: Likewise.
39400         * manual/stdio.texi: Likewise.
39401         * manual/terminal.texi: Likewise.
39402         (ONLCR): Document as POSIX.
39403         (OXTABS): Document availability on GNU/Linux as XTABS.
39404         (ONOEOT): Document availability separately from other bits.
39405         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39406         * manual/time.texi: Likewise.
39407         * manual/users.texi: Likewise.
39408         * INSTALL: Regenerated.
39409         * sysdeps/gnu/errlist.c: Regenerated.
39410
39411         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39412         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39413         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39414         puts.
39415         * configure: Regenerated.
39416
39417 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39418
39419         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39420         default includes instead of AC_HEADER_CHECK.
39421         * sysdeps/i386/configure: Regenerated.
39422
39423         [BZ #10716]
39424         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39425         * math/s_cacoshf.c (__cacoshf): Likewise.
39426         * math/s_cacoshl.c (__cacoshl): Likewise.
39427         * math/s_casinh.c (__casinh): Set signs of result from argument.
39428         * math/s_casinhf.c (__casinhf): Likewise.
39429         * math/s_casinhl.c (__casinhl): Likewise.
39430         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39431         (casinh_test): Add more tests.
39432         * sysdeps/i386/fpu/libm-test-ulps: Update.
39433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39434
39435 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39436
39437         * po/zh_TW.po: Update from translation team.
39438
39439         * login/Makefile (distribute): Remove variable.
39440         * catgets/Makefile: Likewise.
39441         * mach/Makefile: Likewise.
39442         * malloc/Makefile: Likewise.
39443         * misc/Makefile: Likewise.
39444         * iconv/Makefile: Likewise.
39445         * nscd/Makefile: Likewise.
39446         * hurd/Makefile: Likewise.
39447         * manual/Makefile: Likewise.
39448         * locale/Makefile: Likewise.
39449         * intl/Makefile: Likewise.
39450         * conform/Makefile: Likewise.
39451         * nss/Makefile: Likewise.
39452         * time/Makefile: Likewise.
39453         * soft-fp/Makefile: Likewise.
39454         * dirent/Makefile: Likewise.
39455         * gmon/Makefile: Likewise.
39456         * po/Makefile: Likewise.
39457         * rt/Makefile: Likewise.
39458         * socket/Makefile: Likewise.
39459         * math/Makefile: Likewise.
39460         * signal/Makefile: Likewise.
39461         * debug/Makefile: Likewise.
39462         * elf/Makefile: Likewise.
39463         * timezone/Makefile: Likewise.
39464         * stdlib/Makefile: Likewise.
39465         * iconvdata/Makefile: Likewise.
39466         * sunrpc/Makefile: Likewise.
39467         * io/Makefile: Likewise.
39468         * argp/Makefile: Likewise.
39469         * inet/Makefile: Likewise.
39470         * hesiod/Makefile: Likewise.
39471         * grp/Makefile: Likewise.
39472         * csu/Makefile: Likewise.
39473         * wctype/Makefile: Likewise.
39474         * crypt/Makefile: Likewise.
39475         * libio/Makefile: Likewise.
39476         * string/Makefile: Likewise.
39477         * nis/Makefile: Likewise.
39478         * resolv/Makefile: Likewise.
39479         * stdio-common/Makefile: Likewise.
39480         * wcsmbs/Makefile: Likewise.
39481         * dlfcn/Makefile: Likewise.
39482         * posix/Makefile: Likewise.
39483
39484         [BZ #6959]
39485         * timezone/Makefile: Don't install timezone files, just the programs
39486         and scripts.
39487
39488 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39489
39490         * nss/databases.def: Add missing gshadow entry.
39491
39492         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39493
39494 2012-03-06  Marek Polacek  <polacek@redhat.com>
39495
39496         [BZ #13726]
39497         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39498         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39499         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39500         * stdio-common/tst-long-dbl-fphex.c: New file.
39501
39502 2012-03-06  David S. Miller  <davem@davemloft.net>
39503
39504         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39505         (set_obp_int): New function.
39506         (get_obp_int): New function.
39507         (__get_clockfreq_via_dev_openprom): Likewise.
39508         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39509         Avoid unused variable warnings on 'val' and use builtin_expect.
39510         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39511         __builtin_expect.
39512         (INLINE_CLONE_SYSCALL): Likewise.
39513
39514 2012-03-05  David S. Miller  <davem@davemloft.net>
39515
39516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39517
39518 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39519
39520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39521
39522         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39523         only for |x| >= 40.
39524         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39525
39526 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39527
39528         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39529         Replace gettimeofday with __vdso_gettimeofday.
39530
39531         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39532         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39533         __vdso_clock_gettime and __vdso_getcpu.
39534
39535         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39536         time with __vdso_time.
39537
39538 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39539
39540         * manual/lang.texi (size_t): Note types to which size_t may be
39541         equivalent with the GNU C Library, but do not describe when
39542         differences between them are significant.
39543
39544 2012-03-05  Andreas Jaeger  <aj@suse.de>
39545
39546         * sysdeps/i386/fpu/libm-test-ulps: Update.
39547
39548 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39549
39550         [BZ #3976]
39551         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39552         (__ieee754_pow): Save and restore rounding mode and use
39553         round-to-nearest for main computations.
39554         * math/libm-test.inc (pow_test_tonearest): New function.
39555         (pow_test_towardzero): Likewise.
39556         (pow_test_downward): Likewise.
39557         (pow_test_upward): Likewise.
39558         (main): Call the new functions.
39559         * sysdeps/i386/fpu/libm-test-ulps: Update.
39560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39561
39562         [BZ #3976]
39563         * math/libm-test.inc (cosh_test_tonearest): New function.
39564         (cosh_test_towardzero): Likewise.
39565         (cosh_test_downward): Likewise.
39566         (cosh_test_upward): Likewise.
39567         (sinh_test_tonearest): Likewise.
39568         (sinh_test_towardzero): Likewise.
39569         (sinh_test_downward): Likewise.
39570         (sinh_test_upward): Likewise.
39571         (main): Call the new functions.
39572         * sysdeps/i386/fpu/libm-test-ulps: Update.
39573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39574
39575 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39576
39577         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39578         default stack guard is set in last bytes.
39579         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39580
39581 2012-03-05  Kees Cook  <keescook@chromium.org>
39582
39583         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39584
39585         [BZ #13656]
39586         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39587         possibly allocate from heap instead of stack.
39588         * stdio-common/bug-vfprintf-nargs.c: New file.
39589         * stdio-common/Makefile (tests): Add nargs overflow test.
39590
39591 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39592
39593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39594
39595 2012-03-03  Marek Polacek  <polacek@redhat.com>
39596
39597         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39598         * math/math_private.h: Likewise.
39599         * stdlib/tst-strtod.c: Likewise.
39600         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39601         * sysdeps/x86_64/bits/atomic.h: Likewise.
39602
39603 2012-03-02  David S. Miller  <davem@davemloft.net>
39604
39605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39609         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39610         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39611         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39612         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39613
39614 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39615
39616         [BZ #13792]
39617         * manual/examples/README: New file, says the example source files
39618         can be used under GPL>=2.
39619         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39620         line containing just "*/".
39621         * manual/examples/add.c: Add copyright header (GPL>=2).
39622         * manual/examples/argp-ex1.c: Likewise.
39623         * manual/examples/argp-ex2.c: Likewise.
39624         * manual/examples/argp-ex3.c: Likewise.
39625         * manual/examples/argp-ex4.c: Likewise.
39626         * manual/examples/atexit.c: Likewise.
39627         * manual/examples/db.c: Likewise.
39628         * manual/examples/dir.c: Likewise.
39629         * manual/examples/dir2.c: Likewise.
39630         * manual/examples/execinfo.c: Likewise.
39631         * manual/examples/filecli.c: Likewise.
39632         * manual/examples/filesrv.c: Likewise.
39633         * manual/examples/fmtmsgexpl.c: Likewise.
39634         * manual/examples/genpass.c: Likewise.
39635         * manual/examples/inetcli.c: Likewise.
39636         * manual/examples/inetsrv.c: Likewise.
39637         * manual/examples/isockad.c: Likewise.
39638         * manual/examples/longopt.c: Likewise.
39639         * manual/examples/memopen.c: Likewise.
39640         * manual/examples/memstrm.c: Likewise.
39641         * manual/examples/mkfsock.c: Likewise.
39642         * manual/examples/mkisock.c: Likewise.
39643         * manual/examples/mygetpass.c: Likewise.
39644         * manual/examples/pipe.c: Likewise.
39645         * manual/examples/popen.c: Likewise.
39646         * manual/examples/rprintf.c: Likewise.
39647         * manual/examples/search.c: Likewise.
39648         * manual/examples/select.c: Likewise.
39649         * manual/examples/setjmp.c: Likewise.
39650         * manual/examples/sigh1.c: Likewise.
39651         * manual/examples/sigusr.c: Likewise.
39652         * manual/examples/stpcpy.c: Likewise.
39653         * manual/examples/strdupa.c: Likewise.
39654         * manual/examples/strftim.c: Likewise.
39655         * manual/examples/strncat.c: Likewise.
39656         * manual/examples/subopt.c: Likewise.
39657         * manual/examples/swapcontext.c: Likewise.
39658         * manual/examples/termios.c: Likewise.
39659         * manual/examples/testopt.c: Likewise.
39660         * manual/examples/testpass.c: Likewise.
39661         * manual/examples/timeval_subtract.c: Likewise.
39662
39663         [BZ #13792]
39664         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39665         function to ...
39666         * manual/timeval_subtract.c.texi: ... here, new file.
39667
39668 2012-03-02  David S. Miller  <davem@davemloft.net>
39669
39670         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39671
39672 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39673
39674         [BZ #3976]
39675         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39676         (__sin): Save and restore rounding mode and use round-to-nearest
39677         for all computations.
39678         (__cos): Save and restore rounding mode and use round-to-nearest
39679         for all computations.
39680         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39681         <fenv.h>.
39682         (tan): Save and restore rounding mode and use round-to-nearest for
39683         all computations.
39684         * math/libm-test.inc (cos_test_tonearest): New function.
39685         (cos_test_towardzero): Likewise.
39686         (cos_test_downward): Likewise.
39687         (cos_test_upward): Likewise.
39688         (sin_test_tonearest): Likewise.
39689         (sin_test_towardzero): Likewise.
39690         (sin_test_downward): Likewise.
39691         (sin_test_upward): Likewise.
39692         (tan_test_tonearest): Likewise.
39693         (tan_test_towardzero): Likewise.
39694         (tan_test_downward): Likewise.
39695         (tan_test_upward): Likewise.
39696         (main): Call the new functions.
39697         * sysdeps/i386/fpu/libm-test-ulps: Update.
39698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39699
39700         [BZ #10135]
39701         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39702         small n, then large n, before computing and testing k+n.
39703         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39704         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39705         Likewise.
39706         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39707         Likewise.
39708         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39709         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39710         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39711         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39712         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39713         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39714         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39715         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39716         * math/libm-test.inc (scalbn_test): Add more tests.
39717         (scalbln_test): Likewise.
39718
39719         * manual/filesys.texi (mode_t): Describe constraints on size and
39720         signedness, not exact equivalence to a particular type.
39721         (ino_t): Likewise.
39722         (ino64_t): Likewise.
39723         (dev_t): Likewise.
39724         (nlink_t): Likewise.
39725         (blkcnt_t): Likewise.
39726         (blkcnt64_t): Likewise.
39727         * manual/llio.texi (off_t): Likewise.
39728
39729         [BZ #3976]
39730         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39731         (__ieee754_exp): Save and restore rounding mode and use
39732         round-to-nearest for all computations.
39733         * math/libm-test.inc (exp_test_tonearest): New function.
39734         (exp_test_towardzero): Likewise.
39735         (exp_test_downward): Likewise.
39736         (exp_test_upward): Likewise.
39737         (main): Call the new functions.
39738         * sysdeps/i386/fpu/libm-test-ulps: Update.
39739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39740
39741 2012-03-01  Chris Demetriou  <cgd@google.com>
39742
39743         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39744         have predictable order.
39745
39746 2012-03-01  David S. Miller  <davem@davemloft.net>
39747
39748         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39749
39750         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39751         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39752         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39753         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39754
39755         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39756         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39757         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39759         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39760         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39761         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39762         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39763         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39764
39765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39766
39767         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39768         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39769         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39770
39771         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39772         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39773         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39774         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39775         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39776         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39777         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39778         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39779         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39780         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39781         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39782         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39784         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39785         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39787         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39788         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39789         * sysdeps/sparc/elf/configure: Regenerated.
39790
39791 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39792
39793         * configure.in (AS, LD): Require binutils 2.20 or later.
39794         * configure: Regenerated.
39795         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39796         as required minimum version.
39797         * INSTALL: Regenerated.
39798
39799         [BZ #2541]
39800         [BZ #4108]
39801         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39802         before squaring exponent.
39803         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39804         bottom long double and 27 bits of top long double before squaring
39805         exponent.
39806         * math/libm-test.inc (erfc_test): Add more tests.
39807         * sysdeps/i386/fpu/libm-test-ulps: Update.
39808         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39810
39811 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39812
39813         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39814         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39815         containing bit-fields.
39816         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39817         * soft-fp/single.h (_FP_UNION_S): Likewise.
39818         * soft-fp/double.h (_FP_UNION_D): Likewise.
39819
39820 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39821
39822         [BZ #13786]
39823         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39824         not include ../strcmp.S.
39825         [USE_AS_STRNCASECMP_L]: Likewise.
39826         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39827         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39828         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39829         (__strncasecmp_l_ia32): Define as alias to
39830         __strncasecmp_l_nonascii.
39831
39832         [BZ #5794]
39833         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39834         * sysdeps/i386/fpu/libm-test-ulps: Update.
39835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39836
39837         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39839
39840 2012-02-29  Jeff Law  <law@redhat.com>
39841
39842         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39843         out of bounds read.
39844
39845 2012-02-29  Marek Polacek  <polacek@redhat.com>
39846
39847         [BZ #13706]
39848         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39849         * elf/Makefile: Add rules to run tst-unused-dep.out.
39850
39851 2012-02-28  David S. Miller  <davem@davemloft.net>
39852
39853         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39854         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39855         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39856         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39857         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39858         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39859
39860 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39861
39862         * math/libm-test.inc (llround_test): Move one test from
39863         lround_test.  Use TEST_f_L in moved test.
39864         (lround_test): Move misplaced test to llround_test.  Add testcase
39865         from bug 2561.
39866
39867 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39868
39869         * sysdeps/x86_64/fpu/e_expf.S: New file.
39870         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39871
39872 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39873
39874         [BZ #13637]
39875         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39876         of remain_len that may cause incomplete multi-byte character and
39877         false match.
39878         * posix/bug-regex33.c: New file.
39879         * posix/Makefile (tests): Add bug-regex33.
39880
39881 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39882
39883         * manual/macros.texi: New file.
39884         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39885         * manual/libc.texinfo: Include macros.texi.
39886         * manual/creatute.texi: Likewise.
39887         * manual/install.texi: Likewise.
39888         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39889         @glibcadj{} in references to the GNU C Library.
39890         * manual/charset.texi: Likewise.
39891         * manual/conf.texi: Likewise.
39892         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39893         when not using those macros.
39894         * manual/creature.texi: Likewise.
39895         * manual/crypt.texi: Likewise.
39896         * manual/errno.texi: Likewise.
39897         * manual/filesys.texi: Likewise.
39898         * manual/header.texi: Likewise.
39899         * manual/install.texi: Likewise.
39900         * manual/intro.texi: Likewise.
39901         * manual/io.texi: Likewise.
39902         * manual/job.texi: Likewise.
39903         * manual/lang.texi: Likewise.
39904         * manual/libc.texiinfo: Likewise.
39905         * manual/llio.texi: Likewise.
39906         * manual/locale.texi: Likewise.
39907         * manual/maint.texi: Likewise.
39908         * manual/math.texi: Likewise.
39909         * manual/memory.texi: Likewise.
39910         * manual/message.texi: Likewise.
39911         * manual/nss.texi: Likewise.
39912         * manual/pattern.texi: Likewise.
39913         * manual/process.texi: Likewise.
39914         * manual/resource.texi: Likewise.
39915         * manual/search.texi: Likewise.
39916         * manual/setjmp.texi: Likewise.
39917         * manual/signal.texi: Likewise.
39918         * manual/socket.texi: Likewise.
39919         * manual/startup.texi: Likewise.
39920         * manual/stdio.texi: Likewise.
39921         * manual/string.texi: Likewise.
39922         * manual/sysinfo.texi: Likewise.
39923         * manual/syslog.texi: Likewise.
39924         * manual/terminal.texi: Likewise.
39925         * manual/time.texi: Likewise.
39926         * manual/users.texi: Likewise.
39927         * INSTALL: Regenerated.
39928         * NOTES: Regenerated.
39929         * sysdeps/gnu/errlist.c: Regenerated.
39930
39931 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39932
39933         * include/dirent.h: Include <dirstream.h> before
39934         <dirent/dirent.h>.
39935
39936 2012-02-28  David S. Miller  <davem@davemloft.net>
39937
39938         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39939         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39940         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39941         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39942
39943 2012-02-27  David S. Miller  <davem@davemloft.net>
39944
39945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39947         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39948         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39949
39950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39951         frame pointer instead of stack pointer relative arg slot.
39952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39953         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39954         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39955
39956 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39957
39958         [BZ #3992]
39959         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39960
39961 2012-02-27  David S. Miller  <davem@davemloft.net>
39962
39963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39967         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39968         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39969         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39970         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39971
39972 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39973
39974         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39975         later.  Allow versions 5-9.
39976         * configure: Regenerated.
39977         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39978         required minimum version and 4.6 as recommended version.  Do not
39979         mention bugs in GCC 2.7 and 2.8.
39980         * INSTALL: Regenerated.
39981
39982 2012-02-27  David S. Miller  <davem@davemloft.net>
39983
39984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39988         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39989         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39990         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39991         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39992
39993         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39994         manipulate bits before adding and subtracting TWO112[sx].
39995         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39996
39997 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39998
39999         [BZ #13775]
40000         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40001         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40002         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40003         being in POSIX, because they are in 1003.1-2008.
40004
40005         * rt/tst-aio.c: Include <fcntl.h>.
40006         * rt/tst-aio7.c: Likewise.
40007         * rt/tst-aio64.c: Likewise.
40008
40009         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40010
40011 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40012
40013         * manual/install.texi (--with-headers): Describe headers as
40014         interface headers, not private headers.
40015         (Specific advice for GNU/Linux systems): Describe use of headers
40016         from "make headers_install", not private headers from older
40017         kernels.
40018         * INSTALL: Regenerated.
40019         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40020         Change to 2.6.19.
40021         * sysdeps/unix/sysv/linux/configure: Regenerated.
40022
40023         * manual/llio.texi (fclean): Remove documentation.
40024
40025         * manual/Makefile (libc-texi-generated): New variable.  Include
40026         version.texi.
40027         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40028         $(libc-texi-generated), not duplicated list of files.
40029         (version.texi, stamp-version): New rules.
40030         (realclean): Remove $(libc-texi-generated), not individual files
40031         from that list.  Do not remove dir-add.texinfo.
40032         * manual/libc.texinfo: Comment out uses of edition numbers and
40033         references to printed manual.  Remove last-updated dates.
40034         (EDITION): Comment out.
40035         (ISBN): Likewise.
40036         (VERSION, UPDATED): Remove.
40037         (version.texi): Include.
40038
40039 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40040
40041         * sysdeps/posix/spawni.c: Include <signal.h>.
40042         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40043         * sysdeps/pthread/aio_fsync.c: Likewise.
40044
40045 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40046
40047         * conform/Makefile (tests): Run only when not cross-compiling and
40048         when fast-check is not defined.
40049
40050         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40051         * conform/data/limits.h-data: Fixes for POSIX2008.
40052         * conform/run-conformtest.sh: Run all tests.
40053         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40054         headers.
40055         * include/bits/dlfcn.h: Likewise.
40056         * include/langinfo.h: Likewise.
40057         * include/monetary.h: Likewise.
40058         * include/sys/poll.h: Likewise.
40059
40060         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40061         for __USE_GNU.
40062         * posix/spawn.h: Define __need_sigset_t.
40063         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40064         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40065         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40066         to get sigevent_t only.
40067         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40068         only for __USE_GNU.
40069         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40070         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40071         process_vm_writev only for __USE_GNU.
40072         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40073
40074         * conform/Makefile: For now ignore errors from run-conformtest.
40075         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40076         POSIX to avoid namespace pollution.  Don't prepend headers.
40077         * conform/data/aio.h-data: Fixes for POSIX testing.
40078         * conform/data/fcntl.h-data: Likewise.
40079         * conform/data/glob.h-data: Likewise.
40080         * conform/data/grp.h-data: Likewise.
40081         * conform/data/pthread.h-data: Likewise.
40082         * conform/data/pwd.h-data: Likewise.
40083         * conform/data/signal.h-data: Likewise.
40084         * conform/data/spawn.h-data: Likewise.
40085         * conform/data/stdio.h-data: Likewise.
40086         * conform/data/stdlib.h-data: Likewise.
40087         * conform/data/stropts.h-data: Likewise.
40088         * conform/data/sys/mman.h-data: Likewise.
40089         * conform/data/sys/stat.h-data: Likewise.
40090         * conform/data/sys/types.h-data: Likewise.
40091         * conform/data/sys/wait.h-data: Likewise.
40092         * conform/data/time.h-data: Likewise.
40093         * conform/data/unistd.h-data: Likewise.
40094         * conform/data/utime.h-data: Likewise.
40095
40096         * io/sys/stat.h: fchmod was always in POSIX.
40097         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40098         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40099         * rt/aio.h: Define __need_timespec before including <time.h>.
40100         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40101         struct.  Add forward declaration of pthread_attr_t and use it in
40102         sigevent.
40103         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40104         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40105         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40106         always remove CLK_TCK definition.
40107
40108 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40109
40110         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40111
40112 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40113
40114         * conform/run-conformtest.sh: New file.
40115         * conform/Makefile: Run run-conformtest for tests.
40116         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40117         support.
40118
40119         * conform/data/uchar.h-data: New file.
40120         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40121         * conform/data/arpa/inet.h-data: Likewise.
40122         * conform/data/assert.h-data: Likewise.
40123         * conform/data/complex.h-data: Likewise.
40124         * conform/data/cpio.h-data: Likewise.
40125         * conform/data/ctype.h-data: Likewise.
40126         * conform/data/dirent.h-data: Likewise.
40127         * conform/data/dlfcn.h-data: Likewise.
40128         * conform/data/errno.h-data: Likewise.
40129         * conform/data/fcntl.h-data: Likewise.
40130         * conform/data/float.h-data: Likewise.
40131         * conform/data/fmtmsg.h-data: Likewise.
40132         * conform/data/fnmatch.h-data: Likewise.
40133         * conform/data/ftw.h-data: Likewise.
40134         * conform/data/glob.h-data: Likewise.
40135         * conform/data/grp.h-data: Likewise.
40136         * conform/data/iconv.h-data: Likewise.
40137         * conform/data/inttypes.h-data: Likewise.
40138         * conform/data/langinfo.h-data: Likewise.
40139         * conform/data/libgen.h-data: Likewise.
40140         * conform/data/limits.h-data: Likewise.
40141         * conform/data/locale.h-data: Likewise.
40142         * conform/data/math.h-data: Likewise.
40143         * conform/data/monetary.h-data: Likewise.
40144         * conform/data/mqueue.h-data: Likewise.
40145         * conform/data/ndbm.h-data: Likewise.
40146         * conform/data/net/if.h-data: Likewise.
40147         * conform/data/netdb.h-data: Likewise.
40148         * conform/data/netinet/in.h-data: Likewise.
40149         * conform/data/nl_types.h-data: Likewise.
40150         * conform/data/poll.h-data: Likewise.
40151         * conform/data/pthread.h-data: Likewise.
40152         * conform/data/pwd.h-data: Likewise.
40153         * conform/data/regex.h-data: Likewise.
40154         * conform/data/sched.h-data: Likewise.
40155         * conform/data/search.h-data: Likewise.
40156         * conform/data/semaphore.h-data: Likewise.
40157         * conform/data/setjmp.h-data: Likewise.
40158         * conform/data/signal.h-data: Likewise.
40159         * conform/data/spawn.h-data: Likewise.
40160         * conform/data/stdarg.h-data: Likewise.
40161         * conform/data/stdio.h-data: Likewise.
40162         * conform/data/stdlib.h-data: Likewise.
40163         * conform/data/string.h-data: Likewise.
40164         * conform/data/strings.h-data: Likewise.
40165         * conform/data/stropts.h-data: Likewise.
40166         * conform/data/sys/ipc.h-data: Likewise.
40167         * conform/data/sys/mman.h-data: Likewise.
40168         * conform/data/sys/msg.h-data: Likewise.
40169         * conform/data/sys/resource.h-data: Likewise.
40170         * conform/data/sys/select.h-data: Likewise.
40171         * conform/data/sys/sem.h-data: Likewise.
40172         * conform/data/sys/shm.h-data: Likewise.
40173         * conform/data/sys/socket.h-data: Likewise.
40174         * conform/data/sys/stat.h-data: Likewise.
40175         * conform/data/sys/statvfs.h-data: Likewise.
40176         * conform/data/sys/time.h-data: Likewise.
40177         * conform/data/sys/timeb.h-data: Likewise.
40178         * conform/data/sys/times.h-data: Likewise.
40179         * conform/data/sys/types.h-data: Likewise.
40180         * conform/data/sys/uio.h-data: Likewise.
40181         * conform/data/sys/un.h-data: Likewise.
40182         * conform/data/sys/utsname.h-data: Likewise.
40183         * conform/data/sys/wait.h-data: Likewise.
40184         * conform/data/syslog.h-data: Likewise.
40185         * conform/data/tar.h-data: Likewise.
40186         * conform/data/termios.h-data: Likewise.
40187         * conform/data/utime.h-data: Likewise.
40188         * conform/data/utmpx.h-data: Likewise.
40189         * conform/data/varargs.h-data: Likewise.
40190         * conform/data/wchar.h-data: Likewise.
40191         * conform/data/wctype.h-data: Likewise.
40192         * conform/data/wordexp.h-data: Likewise.
40193
40194         * include/stropts.h: New file.
40195         * include/uchar.h: New file.
40196         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40197         * include/assert.h: Likewise.
40198         * include/ctype.h: Likewise.
40199         * include/dirent.h: Likewise.
40200         * include/dlfcn.h: Likewise.
40201         * include/fcntl.h: Likewise.
40202         * include/fnmatch.h: Likewise.
40203         * include/glob.h: Likewise.
40204         * include/grp.h: Likewise.
40205         * include/libio.h: Likewise.
40206         * include/locale.h: Likewise.
40207         * include/math.h: Likewise.
40208         * include/net/if.h: Likewise.
40209         * include/netdb.h: Likewise.
40210         * include/netinet/in.h: Likewise.
40211         * include/pthread.h: Likewise.
40212         * include/pwd.h: Likewise.
40213         * include/regex.h: Likewise.
40214         * include/sched.h: Likewise.
40215         * include/search.h: Likewise.
40216         * include/setjmp.h: Likewise.
40217         * include/signal.h: Likewise.
40218         * include/stdio.h: Likewise.
40219         * include/stdlib.h: Likewise.
40220         * include/string.h: Likewise.
40221         * include/sys/cdefs.h: Likewise.
40222         * include/sys/mman.h: Likewise.
40223         * include/sys/msg.h: Likewise.
40224         * include/sys/resource.h: Likewise.
40225         * include/sys/select.h: Likewise.
40226         * include/sys/socket.h: Likewise.
40227         * include/sys/stat.h: Likewise.
40228         * include/sys/statvfs.h: Likewise.
40229         * include/sys/time.h: Likewise.
40230         * include/sys/times.h: Likewise.
40231         * include/sys/uio.h: Likewise.
40232         * include/sys/utsname.h: Likewise.
40233         * include/sys/wait.h: Likewise.
40234         * include/termios.h: Likewise.
40235         * include/time.h: Likewise.
40236         * include/ulimit.h: Likewise.
40237         * include/unistd.h: Likewise.
40238         * include/utime.h: Likewise.
40239         * include/wchar.h: Likewise.
40240         * include/wctype.h: Likewise.
40241         * include/wordexp.h: Likewise.
40242
40243         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40244
40245         * time/time.h: TIME_UTC must be a macro.
40246         Make timespec_get available for ISO C11 only as well.
40247
40248 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40249
40250         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40251         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40252
40253 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40254
40255         * configure.in: Use -o not -a in test for unsupported multi-arch.
40256
40257 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40258
40259         * manual/texinfo.tex: Update to version 2012-01-19.16.
40260
40261 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40262
40263         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40264
40265 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40266
40267         [BZ #13738]
40268         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40269         * manual/fdl-1.3.texi: New file.
40270         * manual/fdl-1.1.texi: File removed.
40271
40272         [BZ #13738]
40273         * manual/libc.texinfo (FDL_VERSION): New @set.
40274         Use it for mention of FDL in cover text.
40275         (Documentation License): Use it in @include file name.
40276
40277 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40278             Roland McGrath  <roland@hack.frob.com>
40279
40280         [BZ #5461]
40281         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40282         (not LONG_LONG_MAX and LONG_LONG_MIN.
40283         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40284         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40285         name.
40286         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40287
40288 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40289
40290         [BZ #2547]
40291         [BZ #11365]
40292         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40293         manipulate bits before adding and subtracting TWO23[sx].
40294         * math/libm-test.inc (nearbyint_test): Add more tests.
40295
40296 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40297
40298         [BZ #2548]
40299         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40300         bits before adding and subtracting TWO23[sx].
40301         * math/libm-test.inc (rint_test): Add more tests.
40302         (rint_test_tonearest): Likewise.
40303         (rint_test_towardzero): Likewise.
40304         (rint_test_downward): Likewise.
40305         (rint_test_upward: Likewise.
40306
40307 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40308
40309         [BZ #10110]
40310         * include/stdc-predef.h: New file.  Extracted from features.h.
40311         * include/features.h: Include stdc-predef.h.
40312         * Makefile (headers): Add stdc-predef.h.
40313         * CONFORMANCE (Compiler limitations): Update.
40314
40315 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40316
40317         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40318
40319 2012-02-21  David S. Miller  <davem@davemloft.net>
40320
40321         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40322         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40323
40324 2012-02-20  David S. Miller  <davem@davemloft.net>
40325
40326         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40327         using a normal save/restore sequence, rather than allocating a
40328         dummy stack frame just to store a frame pointer and restore.
40329         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40330
40331 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40332
40333         * manual/install.texi: Fix stray word in line-wrapped comment.
40334
40335 2012-02-20  David S. Miller  <davem@davemloft.net>
40336
40337         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40338         both binutils and gcc support GOTDATA.
40339
40340         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40341         "rd %pc" in the PIC register setup sequences.
40342
40343         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40344         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40345         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40346         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40347         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40348         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40349         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40350         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40351         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40352         (SYSCALL_ERROR_HANDLER): Likewise.
40353         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40354         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40355         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40356         (SYSCALL_ERROR_HANDLER): Likewise.
40357
40358         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40359         (HAVE_GCC_GOTDATA): New.
40360         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40361         relocation support in both binutils and gcc.
40362         * sysdeps/sparc/elf/configure: Regenerate.
40363
40364         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40365         * sysdeps/sparc/sparc32/elf/configure: Delete.
40366         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40367         * sysdeps/sparc/sparc64/elf/configure: Delete.
40368         * sysdeps/sparc/elf/configure.in: New file.
40369         * sysdeps/sparc/elf/configure: Generate.
40370
40371         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40372         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40373         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40374         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40375         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40376
40377 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40378
40379         * manual/install.texi: Do not mention specific glibc version
40380         numbers.
40381         * manual/libc.texinfo (VERSION, UPDATED): Update.
40382         (@copying): Use @copyright{} and range of years.
40383
40384 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40385
40386         [BZ #13695]
40387         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40388         [crti.S not in sysdirs] (generated): Do not append.
40389         [crti.S not in sysdirs] (omit-deps): Likewise.
40390         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40391         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40392         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40393         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40394         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40395         Likewise.
40396         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40397         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40398         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40399         * csu/defs.awk: Remove file.
40400         * sysdeps/generic/initfini.c: Likewise.
40401         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40402         variable.
40403         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40404         Likewise.
40405
40406 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40407
40408         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40409         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40410         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40411         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40412         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40413         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40414         <bits/epoll.h>.
40415         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40416         (__EPOLL_PACKED): Define to empty if not defined by
40417         <bits/epoll.h>.
40418         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40419         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40420         bits/epoll.h.
40421
40422 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40423
40424         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40425         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40426         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40427         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40428         <bits/timerfd.h>.
40429         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40430         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40431         bits/timerfd.h.
40432
40433 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40434
40435         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40436         in C locale.
40437         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40438         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40439         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40441
40442 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40443
40444         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40445         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40446
40447 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40448
40449         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40450         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40451         defined.
40452         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40453         Likewise.
40454         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40455         entry for 2.16.
40456
40457 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40458
40459         * math/w_acos.c: Use non-signaling floating-point comparisons.
40460         * math/w_acosf.c: Likewise.
40461         * math/w_acosh.c: Likewise.
40462         * math/w_acoshf.c: Likewise.
40463         * math/w_acoshl.c: Likewise.
40464         * math/w_acosl.c: Likewise.
40465         * math/w_asin.c: Likewise.
40466         * math/w_asinf.c: Likewise.
40467         * math/w_asinl.c: Likewise.
40468         * math/w_atanh.c: Likewise.
40469         * math/w_atanhf.c: Likewise.
40470         * math/w_atanhl.c: Likewise.
40471         * math/w_exp2.c: Likewise.
40472         * math/w_exp2f.c: Likewise.
40473         * math/w_exp2l.c: Likewise.
40474         * math/w_j0.c: Likewise.
40475         * math/w_j0f.c: Likewise.
40476         * math/w_j0l.c: Likewise.
40477         * math/w_j1.c: Likewise.
40478         * math/w_j1f.c: Likewise.
40479         * math/w_j1l.c: Likewise.
40480         * math/w_jn.c: Likewise.
40481         * math/w_jnf.c: Likewise.
40482         * math/w_log.c: Likewise.
40483         * math/w_log10.c: Likewise.
40484         * math/w_log10f.c: Likewise.
40485         * math/w_log10l.c: Likewise.
40486         * math/w_log2.c: Likewise.
40487         * math/w_log2f.c: Likewise.
40488         * math/w_log2l.c: Likewise.
40489         * math/w_logf.c: Likewise.
40490         * math/w_logl.c: Likewise.
40491         * math/w_sqrt.c: Likewise.
40492         * math/w_sqrtf.c: Likewise.
40493         * math/w_sqrtl.c: Likewise.
40494         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40495         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40496         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40497         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40498         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40499
40500 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40501
40502         [BZ #9739]
40503         * manual/string.texi (strnlen): Use correct parameter name in
40504         equivalent expression.
40505
40506 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40507
40508         [BZ #11174]
40509         * manual/users.texi (seteuid): Consistently use neweuid for
40510         argument name.
40511
40512 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40513
40514         [BZ #13704]
40515         * manual/nss.texi (Services in the NSS configuration): Correct
40516         list of services in example configuration file.
40517
40518 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40519
40520         [BZ #11322]
40521         * manual/arith.texi: Remove statements about negative zero
40522         behaving identically to zero.
40523
40524 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40525
40526         [BZ #5993]
40527         * manual/install.texi: Do not document upgrading from libc5.
40528
40529 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40530
40531         [BZ #4596]
40532         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40533
40534 2012-02-18  David S. Miller  <davem@davemloft.net>
40535
40536         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40537         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40538         %o7 across the call.
40539         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40540         instead.
40541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40542         SETUP_PIC_REG_LEAF.
40543         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40544         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40545         * sysdeps/sparc/crtn.S: Likewise.
40546
40547 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40548
40549         * aout/Makefile: Remove.
40550
40551 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40552
40553         [BZ #13058]
40554         * manual/examples/argp-ex1.c (main): Format definition in GNU
40555         style.
40556         * manual/examples/argp-ex2.c (main): Likewise.
40557         * manual/examples/argp-ex3.c (main): Likewise.
40558         * manual/examples/argp-ex4.c (main): Likewise.
40559         * manual/examples/longopt.c (main): Use new-style prototype
40560         definition.
40561         * manual/examples/strncat.c (main): Specify return type and use
40562         (void) for arguments.
40563         * manual/examples/subopt.c (main): Use char **argv argument.
40564
40565 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40566
40567         [BZ #5077]
40568         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40569         rounding modes.
40570
40571 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40572
40573         [BZ #6907]
40574         * manual/string.texi (strchr): Change when strchrnul is
40575         recommended.
40576
40577 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40578
40579         [BZ #174]
40580         * manual/locale.texi (setlocale): Document LOCPATH.
40581
40582 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40583
40584         [BZ #10210]
40585         * manual/process.texi (execle): Move @dots{} before last argument.
40586
40587 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40588
40589         [BZ #12047]
40590         * manual/charset.texi (Generic Charset Conversion): Fix typo
40591         (LC_TYPE -> LC_CTYPE).
40592
40593 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40594
40595         [BZ #5805]
40596         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40597         (scalbnf): Likewise.
40598         (scalbnl): Likewise.
40599         (scalbln): Likewise.
40600         (scalblnf): Likewise.
40601         (scalblnl): Likewise.
40602         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40603         (vwarnx): Likewise.
40604         (verr): Likewise.
40605         (verrx): Likewise.
40606         * manual/filesys.texi (telldir): Use braces around return type.
40607         * manual/llio.texi (mmap): Add space after comma.
40608         (mmap64): Likewise.
40609         * manual/math.texi (jn): Use @var{} on parameter names.
40610         (jnf): Likewise.
40611         (jnl): Likewise.
40612         (yn): Likewise.
40613         (ynf): Likewise.
40614         (ynl): Likewise.
40615         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40616         line.
40617         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40618         "...".
40619         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40620         (sched_get_priority_max): Likewise.
40621         * manual/signal.texi (sigvec): Add space after comma.
40622         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40623         names.
40624         (if_indextoname): Likewise.
40625         (if_freenameindex): Likewise.
40626         (sendto): Use ',' instead of '.' in prototype.
40627         * manual/startup.texi (syscall): Use @dots{} instead of literal
40628         "...".
40629         * manual/stdio.texi (__fpending): Separate initial words of
40630         paragraph from @deftypefun line.
40631         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40632         "...".
40633         (vsyslog): Use @var{} on parameter names.
40634         * manual/terminal.texi (stty): Use @var{} on parameter names.
40635         * manual/users.texi (getutmp): Use @var{} on parameter names.
40636         (getutmpx): Likewise.
40637
40638 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40639
40640         [BZ #6884]
40641         * manual/stdio.texi (fopen): Fix typos in description of
40642         ",ccs=STRING".
40643
40644 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40645
40646         [BZ #4026]
40647         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40648         get clock_id definition.
40649
40650 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40651
40652         [BZ #4822]
40653         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40654         (madvise): Cast every argument to void on its own.
40655
40656 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40657
40658         [BZ #9902]
40659         * manual/startup.texi (Exit Status): Fix typo.
40660
40661 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40662
40663         [BZ #10140]
40664         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40665         * manual/examples/argp-ex2.c: Likewise.
40666         * manual/examples/argp-ex3.c: Likewise.
40667
40668 2012-02-16  Richard Henderson  <rth@redhat.com>
40669
40670         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40671         * sysdeps/s390/s390-32/initfini.c: Remove.
40672         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40673         * sysdeps/s390/s390-64/initfini.c: Remove.
40674
40675 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40676
40677         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40678         compiler output for sysdeps/generic/initfini.c.
40679         * sysdeps/sh/elf/initfini.c: Remove file.
40680
40681 2012-02-16  David S. Miller  <davem@davemloft.net>
40682
40683         [BZ #11494]
40684         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40685
40686         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40687         * sysdeps/sparc/crti.S: New file.
40688         * sysdeps/sparc/crtn.S: New file.
40689         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40690         * sysdeps/sparc/sparc64/Makefile: Likewise.
40691
40692 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40693
40694         [BZ #3335]
40695         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40696
40697 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40698
40699         [BZ #4822]
40700         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40701
40702         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40703         (write, read, close): Likewise.
40704         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40705
40706 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40707
40708         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40709         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40710         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40711         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40712         <bits/signalfd.h>.
40713         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40715         bits/signalfd.h.
40716
40717 2012-02-14  Marek Polacek  <polacek@redhat.com>
40718
40719         * sysdeps/x86_64/crti.S: New file.
40720         * sysdeps/x86_64/crtn.S: New file.
40721         * sysdeps/x86_64/elf/initfini.c: Remove file.
40722
40723 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40724
40725         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40726         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40727         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40728         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40729         <bits/inotify.h>.
40730         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40731         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40732         bits/inotify.h.
40733
40734 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40735
40736         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40737         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40738         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40739         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40740         <bits/eventfd.h>.
40741         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40742         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40743         bits/eventfd.h.
40744
40745 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40746
40747         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40748         __feraiseexcept instead of feraiseexcept.
40749
40750         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40751         nanosleep invocations.
40752         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40753         strings, and add error checking for a nanosleep invocations.
40754
40755 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40756
40757         Replace FSF snail mail address with URLs, as per GNU coding standards.
40758         Most of the snail mail addresses were wrong anyway, and omitting
40759         them makes the source code easier to maintain.  Almost all of the
40760         changes are to license notices and to locale LC_IDENTIFICATION
40761         addresses, except for this one:
40762         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40763         not its snail mail address.
40764
40765 2012-02-09  Richard Henderson  <rth@twiddle.net>
40766
40767         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40768         of kernel-features.h.
40769
40770         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40771
40772 2012-02-08  Marek Polacek  <polacek@redhat.com>
40773
40774         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40775         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40776         * sysdeps/gnu/_G_config.h: Likewise.
40777         * sysdeps/generic/_G_config.h: Likewise.
40778
40779 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40780
40781         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40782         tests.
40783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40784
40785         * sysdeps/powerpc/powerpc32/crti.S: New file.
40786         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40787         * sysdeps/powerpc/powerpc64/crti.S: New file.
40788         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40789
40790         * Makeconfig (have-initfini): Don't set.
40791         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40792         * configure.in (nopic_initfini): Don't substitute.
40793         * config.h.in (HAVE_INITFINI): Don't #undef.
40794         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40795         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40796
40797 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40798
40799         Support crti.S and crtn.S provided directly by architectures.
40800         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40801         [crti.S in sysdirs] (omit-deps): Likewise.
40802         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40803         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40804         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40805         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40806         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40807         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40808         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40809         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40810         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40811         compiler output for sysdeps/generic/initfini.c.
40812         * sysdeps/i386/elf/Makefile: Remove file.
40813         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40814
40815 2012-02-07  Marek Polacek  <polacek@redhat.com>
40816
40817         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40818         * sysdeps/gnu/_G_config.h: Likewise.
40819         * sysdeps/mach/hurd/_G_config.h: Likewise.
40820
40821 2012-02-07  Marek Polacek  <polacek@redhat.com>
40822
40823         * math/Makefile (tests): Add tst-CMPLX2.
40824         * math/tst-CMPLX2.c: New file.
40825
40826 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40827
40828         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40829
40830         * math/libm-test.inc (jn_test): Add missing L suffix.
40831
40832 2012-02-06  Marek Polacek  <polacek@redhat.com>
40833
40834         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40835         * sysdeps/i386/fpu/e_powf.S: Likewise.
40836         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40837         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40838         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40839         * sysdeps/i386/fpu/e_pow.S: Likewise.
40840         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40841         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40842         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40843         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40844         * sysdeps/i386/fpu/e_log2.S: Likewise.
40845         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40846         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40847         * sysdeps/i386/fpu/e_powl.S: Likewise.
40848         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40849         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40850         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40851         * sysdeps/i386/fpu/e_logl.S: Likewise.
40852         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40853         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40854         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40855         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40856         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40857         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40858         * sysdeps/i386/fpu/e_log.S: Likewise.
40859         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40860         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40861         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40862         * sysdeps/i386/fpu/e_logf.S: Likewise.
40863         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40864         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40865         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40866         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40867         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40868         * sysdeps/i386/fpu/e_log10.S: Likewise.
40869         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40870         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40871         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40872         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40873         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40874         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40875         * sysdeps/i386/asm-syntax.h: Likewise.
40876         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40877         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40878         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40879         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40880         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40881         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40882         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40883         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40884         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40885         * sysdeps/powerpc/sysdep.h: Likewise.
40886         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40887         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40888
40889 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40890
40891         [BZ #411]
40892         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40893
40894 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40895
40896         * sysdeps/i386/sysdep.h: Include <features.h>.
40897         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40898         version.
40899
40900 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40901
40902         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40903         Define.
40904         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40905         LOAD_PIC_REG_STR.
40906
40907 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40908
40909         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40910         (SETUP_PIC_REG): Use GET_PC_THUNK.
40911         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40912         macro.
40913
40914 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40915
40916         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40917         for non-PIC compilation.
40918         (SETUP_PIC_REG): Add .p2align directive.
40919         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40920         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40921         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40922         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40923         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40924         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40925         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40926         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40927         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40928         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40929         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40930         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40931         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40932         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40933         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40934         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40935         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40936         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40937         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40938         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40939         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40940         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40941         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40942         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40943         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40944         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40945         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40946         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40947         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40948         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40949         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40950         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40951         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40952         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40953         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40954         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40955         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40956         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40957         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40958         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40959         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40960
40961 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40962
40963         * math/tst-CMPLX.c: Include <stdio.h>.
40964
40965 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40966
40967         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40968         float.
40969         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40970         * sysdeps/sparc/bits/mathdef.h: Likewise.
40971
40972 2012-01-31  Marek Polacek  <polacek@redhat.com>
40973
40974         * libio/libio.h: Don't define _PARAMS.
40975         * locale/programs/config.h: Don't define PARAMS.
40976         * stdlib/strtol_l.c: Likewise.
40977         (__strtol_l): Remove PARAMS from the prototype.
40978
40979 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40980
40981         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40982         names.  Just use the correct names.  Remove unnecessary wrapper
40983         functions.
40984         * malloc/arena.c: Likewise.
40985         * malloc/hooks.c: Likewise.
40986
40987         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40988         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40989         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40990
40991 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40992
40993         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40994         into tail calls.
40995         (update_get_addr): New function.
40996         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40997         GET_ADDR_MODULE parameter.
40998
40999 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41000
41001         * crypt/cert.c: Remove __STDC__ conditionals.
41002         * crypt/crypt-entry.c: Likewise.
41003         * crypt/crypt_util.c: Likewise.
41004         * libio/filedoalloc.c: Likewise.
41005         * libio/fileops.c: Likewise.
41006         * libio/genops.c: Likewise.
41007         * libio/iofclose.c: Likewise.
41008         * libio/iofdopen.c: Likewise.
41009         * libio/iofopen.c: Likewise.
41010         * libio/iofopen64.c: Likewise.
41011         * libio/iogetdelim.c: Likewise.
41012         * libio/iopopen.c: Likewise.
41013         * libio/obprintf.c: Likewise.
41014         * libio/oldfileops.c: Likewise.
41015         * libio/oldiofclose.c: Likewise.
41016         * libio/oldiofdopen.c: Likewise.
41017         * libio/oldiofopen.c: Likewise.
41018         * libio/oldiopopen.c: Likewise.
41019         * libio/wfiledoalloc.c: Likewise.
41020         * libio/wgenops.c: Likewise.
41021         * locale/programs/xmalloc.c: Likewise.
41022         * misc/syslog.c: Likewise.
41023         * stdio-common/xbug.c: Likewise.
41024         * string/memchr.c: Likewise.
41025         * string/memcmp.c: Likewise.
41026         * string/memrchr.c: Likewise.
41027         * string/rawmemchr.c: Likewise.
41028         * sysdeps/posix/getcwd.c: Likewise.
41029         * time/strftime_l.c: Likewise.
41030
41031 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41032
41033         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41034         * config.make.in (config-cflags-sse2avx): Define.
41035         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41036         Fix typo.
41037
41038 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41039
41040         * scripts/config.guess: Update from upstream config git repository.
41041         * scripts/config.sub: Likewise.
41042
41043 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41044
41045         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41046         (EM_NUM): Update.
41047         (R_TILEPRO_*, R_TILEGX_*): New macros.
41048
41049         * scripts/firstversions.awk: Fix bug in version range handling.
41050
41051         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41052
41053         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41054
41055         * include/sys/epoll.h: New file.
41056         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41057         libc_hidden_def.
41058
41059 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41060
41061         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41062         Avoid unnecessary __WORDSIZE == 64 test.
41063         (fmaxf): Use VEX format if possible.
41064         (fmax): Likewise.
41065         (fminf): Likewise.
41066         (fmin): Likewise.
41067
41068         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41069         * math/math_private.h: Remove libc_fegetround* and
41070         libc_fesetround*.
41071         * sysdeps/i386/configure.in: Check for -msse2avx.
41072         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41073         also if SSE2AVX is defined.
41074         Remove libc_fegetround* and libc_fesetround*.
41075         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41076         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41077         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41078         of HAS_YMM_USABLE.
41079         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41080         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41081         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41082         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41083         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41084
41085         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41086
41087 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41088
41089         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41090         size is not set.
41091         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41092
41093 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41094
41095         [BZ #13618]
41096         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41097         relocation.
41098         * Makeconfig (libm): Define.
41099         * elf/Makefile: Add rules to build and run tst-relsort1.
41100         * elf/tst-relsort1.c: New file.
41101         * elf/tst-relsort1mod1.c: New file.
41102         * elf/tst-relsort1mod2.c: New file.
41103
41104 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41105
41106         * math/s_ldexp.c: Remove __STDC__ conditionals.
41107         * math/s_ldexpf.c: Likewise.
41108         * math/s_ldexpl.c: Likewise.
41109         * math/s_nextafter.c: Likewise.
41110         * math/s_nexttowardf.c: Likewise.
41111         * math/s_significand.c: Likewise.
41112         * math/s_significandf.c: Likewise.
41113         * math/s_significandl.c: Likewise.
41114         * math/w_jnl.c: Likewise.
41115         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41116         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41117         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41118         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41119         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41120         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41121         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41122         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41123         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41124         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41125         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41126         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41127         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41128         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41129         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41130         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41131         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41132         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41133         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41134         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41135         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41136         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41137         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41138         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41139         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41140         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41141         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41142         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41143         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41144         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41145         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41146         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41147         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41148         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41149         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41150         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41151         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41152         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41153         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41154         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41155         * sysdeps/ieee754/k_standard.c: Likewise.
41156         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41157         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41158         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41159         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41160         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41161         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41162         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41163         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41164         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41165         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41166         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41167         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41168         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41169         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41170         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41171         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41172         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41173         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41174         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41175         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41176         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41177         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41178         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41179         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41180         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41181         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41182         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41183         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41185         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41186         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41187         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41188         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41189         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41190         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41191         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41192         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41193         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41194         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41195         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41196         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41197         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41198         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41199         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41200         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41201         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41202         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41203         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41204         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41205         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41206         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41207         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41208         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41213         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41214         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41215         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41217         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41219         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41220         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41222         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41228         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41230         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41231         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41232         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41233         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41234         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41235         * sysdeps/ieee754/s_matherr.c: Likewise.
41236         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41237         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41238         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41239         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41240
41241 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41242
41243         * crypt/md5.h: Remove __STDC__ conditionals.
41244         * libio/libioP.h: Likewise.
41245         * locale/programs/config.h: Likewise.
41246         * sysdeps/generic/sysdep.h: Likewise.
41247         * sysdeps/i386/asm-syntax.h: Likewise.
41248         * sysdeps/s390/asm-syntax.h: Likewise.
41249         * sysdeps/unix/sysdep.h: Likewise.
41250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41252
41253 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41254
41255         * libio/libio.h: Remove __STDC__ conditionals.
41256         * malloc/obstack.h: Likewise.
41257         * math/complex.h: Likewise.
41258         * math/math.h: Likewise.
41259         * sysdeps/generic/_G_config.h: Likewise.
41260         * sysdeps/gnu/_G_config.h: Likewise.
41261         * sysdeps/mach/hurd/_G_config.h: Likewise.
41262         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41263         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41264         * sysdeps/sparc/bits/mathdef.h: Likewise.
41265
41266 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41267
41268         [BZ #13583]
41269         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41270         Clean up HAS_* macros.
41271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41272         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41273         possible.
41274         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41275         HAS_AVX.
41276         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41277         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41278         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41279         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41280         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41281
41282 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41283
41284         * elf/tst-unique3.cc (gets): Remove declaration.
41285         * elf/tst-unique3lib.cc (gets): Likewise.
41286         * elf/tst-unique3lib2.cc (gets): Likewise.
41287         * elf/tst-unique4.cc (gets): Likewise.
41288
41289 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41290
41291         * include/stdio.h: Add C++ protection.  Add gets declarations and
41292         definitions.
41293         * debug/tst-chk1.c: Don't declare gets here.
41294         * stdio-common/tst-gets.c: Likewise.
41295
41296 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41297
41298         * posix/glob: Remove directory.
41299
41300 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41301
41302         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41303
41304 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41305
41306         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41307         of the non-standard EPFNOSUPPORT.
41308
41309 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41310
41311         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41312         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41313         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41314
41315 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41316
41317         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41318
41319 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41320
41321         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41322         transient errors.
41323         * nscd/grpcache.c (cache_addgr): Likewise.
41324         * nscd/hstcache.c (cache_addhst): Likewise.
41325         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41326         * nscd/pwdcache.c (cache_addpw): Likewise.
41327         * nscd/servicescache.c (cache_addserv): Likewise.
41328
41329 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41330
41331         * malloc/malloc.c: Various cleanups.
41332         * malloc/hooks.c: Likewise.
41333
41334         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41335         * stdlib/bug-fmtmsg1.c: New file.
41336
41337         * stdlib/fmtmsg.c (init): Add missing unlock.
41338         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41339
41340 2012-01-12  Marek Polacek  <polacek@redhat.com>
41341
41342         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41343         and _GNU_SOURCE.
41344
41345 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41346
41347         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41348         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41349         macro to ensure uniqueness of label name.
41350         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41351         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41352
41353 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41354
41355         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41356
41357         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41358         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41359         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41360         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41361
41362 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41363
41364         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41365
41366         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41367         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41368         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41369
41370         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41371
41372         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41373         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41374         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41375         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41376
41377         * math/bits/math-finite.h: Add ldexp support.
41378
41379 2012-01-10  Marek Polacek  <polacek@redhat.com>
41380
41381         * locale/programs/localedef.h (show_archive_content): Add noreturn
41382         attribute.
41383
41384 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41385
41386         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41387
41388 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41389
41390         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41391
41392         * io/Makefile (headers): Add bits/poll2.h.
41393
41394 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41395
41396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41397         typo #include statement.
41398
41399 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41400
41401         * include/sys/cdefs.h: Define __attribute_alloc_size.
41402         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41403         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41404         * elf/pldd.c: Likewise.
41405         * iconv/iconv_charmap.c: Likewise.
41406         * iconv/iconvconfig.c: Likewise.
41407         * iconv/strtab.c: Likewise.
41408         * locale/programs/locale.c: Likewise.
41409         * locale/programs/localedef.h: Likewise.
41410         * locale/programs/simple-hash.c: Likewise.
41411         * nscd/nscd.h: Likewise.
41412         * nss/makedb.c: Likewise.
41413         * sysdeps/generic/ldconfig.h: Likewise.
41414         * locale/programs/localedef.c: Remove xmalloc prototype.
41415         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41416
41417 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41418
41419         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41420         appropriate.
41421
41422 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41423
41424         * math/Makefile (tests): Add tst-CMPLX.
41425         * math/tst-CMPLX.c: New file.
41426
41427         * math/complex.h (CMPLXL): Fix typo.
41428
41429         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41430         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41431         GLIBC_2.16.
41432         * debug/tst-chk1.c: Add poll and ppoll tests.
41433         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41434         * include/sys/poll.h: Add hidden proto for ppoll.
41435         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41436         * sysdeps/mach/hurd/ppoll.c: Likewise.
41437         * io/ppoll.c: Likewise.
41438         * debug/poll_chk.c: New file.
41439         * debug/ppoll_chk.c: New file.
41440         * include/bits/poll2.h: New file.
41441         * io/bits/poll2.h: New file.
41442
41443         [BZ #1350]
41444         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41445
41446         * configure.in: static is always set to yes.  Remove.
41447         * config.make.in: Don't set build-static.
41448         * Makeconfig: Remove use of build-static.
41449         * dlfcn/Makefile: Likewise.
41450         * elf/Makefile: Likewise.
41451         * math/Makefile: Likewise.
41452         * misc/Makefile: Likewise.
41453         * nptl/Makefile: Likewise.
41454         * sysdeps/mach/hurd/Makefile: Likewise.
41455
41456         * configure.in: PWD_P is not used anymore.
41457         * config.make.in: Remove PWD_P entry.
41458
41459         * configure.in: Remove last remnants of RANLIB.
41460         No need to check for signed size_t anymore.
41461         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41462         and IA-64.
41463         Remove __builtin_expect test because we require at least gcc 3.4.
41464         * aclocal.m4: Likewise.
41465
41466         * wcsmbs/mbrtoc16.c: Implement using towc function.
41467         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41468         * wcsmbs/wcsmbsload.c: Likewise.
41469         * iconv/gconv_simple.c: Likewise.
41470         * iconv/gconv_int.h: Likewise.
41471         * iconv/gconv_builtin.h: Likewise.
41472         * iconv/iconv_prog.c: Remove CHAR16 handling.
41473
41474         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41475
41476         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41477
41478         * configure.in: Remove --with-elf and --enable-bounded options.
41479         Dont set base_machine for ia64.  More non-ELF conditions removed.
41480         Remove testing and setting of leading underscore information.
41481         * config.make.in (build-bounded): Set to no.
41482         * config.h.in: Remove NO_UNDERSCORES entry.
41483         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41484         them.
41485         * csu/start.c: Remove !NO_UNDERSCORE code.
41486         * locale/localeinfo.h: Likewise.
41487         * sysdeps/generic/machine-gmon.h: Likewise.
41488         * sysdeps/generic/sysdep.h: Likewise.
41489         * sysdeps/i386/sysdep.h: Likewise.
41490         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41491         * sysdeps/mach/sysdep.h: Likewise.
41492         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41493         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41494         * sysdeps/sh/sysdep.h: Likewise.
41495         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41496         * sysdeps/unix/i386/sysdep.S: Likewise.
41497         * sysdeps/unix/sparc/start.c: Likewise.
41498         * sysdeps/unix/sparc/sysdep.S: Likewise.
41499         * sysdeps/unix/sparc/sysdep.h: Likewise.
41500         * sysdeps/unix/start.c: Likewise.
41501         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41502         * sysdeps/x86_64/sysdep.h: Likewise.
41503
41504 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41505
41506         [BZ #13553]
41507         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41508         for non-gcc.
41509         * argp/argp-fmtstream.h: Use const instead __const.
41510         * argp/argp.h: Likewise.
41511         * assert/assert.h: Likewise.
41512         * bits/fenv.h: Likewise.
41513         * bits/sched.h: Likewise.
41514         * bits/sigset.h: Likewise.
41515         * bits/sigthread.h: Likewise.
41516         * catgets/nl_types.h: Likewise.
41517         * conform/data/pthread.h-data: Likewise.
41518         * crypt/crypt-private.h: Likewise.
41519         * crypt/crypt.h: Likewise.
41520         * crypt/crypt_util.c: Likewise.
41521         * ctype/ctype.h: Likewise.
41522         * debug/execinfo.h: Likewise.
41523         * debug/mbsnrtowcs_chk.c: Likewise.
41524         * debug/mbsrtowcs_chk.c: Likewise.
41525         * debug/wcsnrtombs_chk.c: Likewise.
41526         * debug/wcsrtombs_chk.c: Likewise.
41527         * debug/wcstombs_chk.c: Likewise.
41528         * dirent/dirent.h: Likewise.
41529         * dlfcn/dlfcn.h: Likewise.
41530         * elf/neededtest4.c: Likewise.
41531         * grp/grp.h: Likewise.
41532         * gshadow/gshadow.h: Likewise.
41533         * iconv/gconv.h: Likewise.
41534         * iconv/gconv_int.h: Likewise.
41535         * iconv/gconv_simple.c: Likewise.
41536         * iconv/iconv.h: Likewise.
41537         * iconv/loop.c: Likewise.
41538         * iconv/skeleton.c: Likewise.
41539         * include/aio.h: Likewise.
41540         * include/aliases.h: Likewise.
41541         * include/argz.h: Likewise.
41542         * include/arpa/inet.h: Likewise.
41543         * include/assert.h: Likewise.
41544         * include/dirent.h: Likewise.
41545         * include/dlfcn.h: Likewise.
41546         * include/execinfo.h: Likewise.
41547         * include/fcntl.h: Likewise.
41548         * include/fenv.h: Likewise.
41549         * include/glob.h: Likewise.
41550         * include/grp.h: Likewise.
41551         * include/libintl.h: Likewise.
41552         * include/mntent.h: Likewise.
41553         * include/netdb.h: Likewise.
41554         * include/pwd.h: Likewise.
41555         * include/rpc/netdb.h: Likewise.
41556         * include/sched.h: Likewise.
41557         * include/search.h: Likewise.
41558         * include/shadow.h: Likewise.
41559         * include/signal.h: Likewise.
41560         * include/stdio.h: Likewise.
41561         * include/stdlib.h: Likewise.
41562         * include/string.h: Likewise.
41563         * include/sys/socket.h: Likewise.
41564         * include/sys/stat.h: Likewise.
41565         * include/sys/statfs.h: Likewise.
41566         * include/sys/statvfs.h: Likewise.
41567         * include/sys/syslog.h: Likewise.
41568         * include/sys/time.h: Likewise.
41569         * include/sys/uio.h: Likewise.
41570         * include/time.h: Likewise.
41571         * include/unistd.h: Likewise.
41572         * include/utmp.h: Likewise.
41573         * include/wchar.h: Likewise.
41574         * include/wctype.h: Likewise.
41575         * inet/aliases.h: Likewise.
41576         * inet/arpa/inet.h: Likewise.
41577         * inet/netinet/ether.h: Likewise.
41578         * inet/netinet/in.h: Likewise.
41579         * intl/libintl.h: Likewise.
41580         * io/bits/fcntl2.h: Likewise.
41581         * io/fcntl.h: Likewise.
41582         * io/ftw.h: Likewise.
41583         * io/sys/poll.h: Likewise.
41584         * io/sys/stat.h: Likewise.
41585         * io/sys/statfs.h: Likewise.
41586         * io/sys/statvfs.h: Likewise.
41587         * io/utime.h: Likewise.
41588         * libio/bits/stdio.h: Likewise.
41589         * libio/bits/stdio2.h: Likewise.
41590         * libio/libio.h: Likewise.
41591         * libio/libioP.h: Likewise.
41592         * libio/stdio.h: Likewise.
41593         * locale/lc-ctype.c: Likewise.
41594         * locale/locale.h: Likewise.
41595         * login/utmp.h: Likewise.
41596         * malloc/arena.c: Likewise.
41597         * malloc/malloc.c: Likewise.
41598         * malloc/malloc.h: Likewise.
41599         * malloc/mcheck.c: Likewise.
41600         * malloc/mtrace.c: Likewise.
41601         * math/bits/mathcalls.h: Likewise.
41602         * math/fenv.h: Likewise.
41603         * math/math_private.h: Likewise.
41604         * misc/bits/error.h: Likewise.
41605         * misc/bits/syslog.h: Likewise.
41606         * misc/err.h: Likewise.
41607         * misc/error.h: Likewise.
41608         * misc/fstab.h: Likewise.
41609         * misc/mntent.h: Likewise.
41610         * misc/regexp.h: Likewise.
41611         * misc/search.h: Likewise.
41612         * misc/sgtty.h: Likewise.
41613         * misc/sys/mman.h: Likewise.
41614         * misc/sys/syslog.h: Likewise.
41615         * misc/sys/uio.h: Likewise.
41616         * misc/sys/xattr.h: Likewise.
41617         * misc/ttyent.h: Likewise.
41618         * nis/rpcsvc/ypclnt.h: Likewise.
41619         * nss/nss.h: Likewise.
41620         * posix/bits/unistd.h: Likewise.
41621         * posix/fnmatch.h: Likewise.
41622         * posix/glob.h: Likewise.
41623         * posix/sched.h: Likewise.
41624         * posix/spawn.h: Likewise.
41625         * posix/sys/wait.h: Likewise.
41626         * posix/unistd.h: Likewise.
41627         * posix/wordexp.h: Likewise.
41628         * pwd/pwd.h: Likewise.
41629         * resolv/netdb.h: Likewise.
41630         * resource/sys/resource.h: Likewise.
41631         * rt/aio.h: Likewise.
41632         * rt/bits/mqueue2.h: Likewise.
41633         * rt/mqueue.h: Likewise.
41634         * shadow/shadow.h: Likewise.
41635         * signal/signal.h: Likewise.
41636         * socket/send.c: Likewise.
41637         * socket/sendto.c: Likewise.
41638         * socket/sys/socket.h: Likewise.
41639         * stdio-common/printf.h: Likewise.
41640         * stdlib/bits/stdlib.h: Likewise.
41641         * stdlib/fmtmsg.h: Likewise.
41642         * stdlib/monetary.h: Likewise.
41643         * stdlib/stdlib.h: Likewise.
41644         * stdlib/ucontext.h: Likewise.
41645         * streams/stropts.h: Likewise.
41646         * string/argz.h: Likewise.
41647         * string/bits/string2.h: Likewise.
41648         * string/string.h: Likewise.
41649         * string/strings.h: Likewise.
41650         * sunrpc/rpc/auth.h: Likewise.
41651         * sunrpc/rpc/auth_des.h: Likewise.
41652         * sunrpc/rpc/clnt.h: Likewise.
41653         * sunrpc/rpc/netdb.h: Likewise.
41654         * sunrpc/rpc/pmap_clnt.h: Likewise.
41655         * sunrpc/rpc/xdr.h: Likewise.
41656         * sysdeps/generic/inttypes.h: Likewise.
41657         * sysdeps/generic/net/if.h: Likewise.
41658         * sysdeps/generic/sys/swap.h: Likewise.
41659         * sysdeps/gnu/net/if.h: Likewise.
41660         * sysdeps/gnu/utmpx.h: Likewise.
41661         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41662         * sysdeps/i386/i486/bits/string.h: Likewise.
41663         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41664         * sysdeps/s390/bits/string.h: Likewise.
41665         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41666         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41667         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41668         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41669         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41670         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41671         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41672         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41673         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41674         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41675         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41676         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41677         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41678         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41679         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41680         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41681         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41682         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41683         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41684         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41685         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41686         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41687         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41688         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41689         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41690         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41691         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41692         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41693         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41694         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41695         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41696         * sysvipc/sys/ipc.h: Likewise.
41697         * sysvipc/sys/msg.h: Likewise.
41698         * sysvipc/sys/sem.h: Likewise.
41699         * sysvipc/sys/shm.h: Likewise.
41700         * termios/termios.h: Likewise.
41701         * time/sys/time.h: Likewise.
41702         * time/time.h: Likewise.
41703         * wcsmbs/bits/wchar2.h: Likewise.
41704         * wcsmbs/uchar.h: Likewise.
41705         * wcsmbs/wchar.h: Likewise.
41706         * wctype/wctype.h: Likewise.
41707
41708         [BZ #13551]
41709         * Makeconfig: Remove all but ELF support including AIX support.
41710         * Makerules: Likewise.
41711         * config.h.in: Likewise.
41712         * config.make.in: Likewise.
41713         * configure: Likewise.
41714         * configure.in: Likewise.
41715         * csu/Makefile: Likewise.
41716         * csu/version.c: Likewise.
41717         * debug/Makefile: Likewise.
41718         * dlfcn/Makefile: Likewise.
41719         * elf/Makefile: Likewise.
41720         * extra-lib.mk: Likewise.
41721         * iconv/Makefile: Likewise.
41722         * include/libc-symbols.h: Likewise.
41723         * include/shlib-compat.h: Likewise.
41724         * resolv/Makefile: Likewise.
41725         * resolv/res_libc.c: Likewise.
41726         * rt/Makefile: Likewise.
41727         * sysdeps/i386/asm-syntax.h: Likewise.
41728         * sysdeps/i386/sysdep.h: Likewise.
41729         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41730         * sysdeps/mach/sysdep.h: Likewise.
41731         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41732         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41733         * sysdeps/s390/asm-syntax.h: Likewise.
41734         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41735         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41736         * sysdeps/sh/sysdep.h: Likewise.
41737         * sysdeps/unix/sparc/sysdep.h: Likewise.
41738         * sysdeps/wordsize-32/divdi3.c: Likewise.
41739         * sysdeps/x86_64/sysdep.h: Likewise.
41740
41741         * argp/Versions: Remove _argp_unlock_xxx.
41742
41743         [BZ #13559]
41744         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41745         * abilist/libBrokenLocale.abilist: Likewise.
41746         * abilist/libanl.abilist: Likewise.
41747         * abilist/libc.abilist: Likewise.
41748         * abilist/libcrypt.abilist: Likewise.
41749         * abilist/libdl.abilist: Likewise.
41750         * abilist/libm.abilist: Likewise.
41751         * abilist/libnsl.abilist: Likewise.
41752         * abilist/libpthread.abilist: Likewise.
41753         * abilist/libresolv.abilist: Likewise.
41754         * abilist/librt.abilist: Likewise.
41755         * abilist/libthread_db.abilist: Likewise.
41756         * abilist/libutil.abilist: Likewise.
41757         * abilist/libnss_db.abilist: New file.
41758
41759         * scripts/abilist.awk: Add support for indirect functions.
41760
41761         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41762
41763         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41764
41765         * shlib-versions: Remove entries for ports architectures.
41766
41767         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41768         files in ports.
41769         * elf/stackguard-macros.h: Remove support for IA-64.
41770         * elf/tst-auditmod1.c: Likewise.
41771         * sysdeps/generic/ldsodefs.h: Likewise.
41772
41773         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41774         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41775         configure files.
41776
41777         [BZ #13552]
41778         * configure.in: Remove --enable-omitfp support.
41779         * FAQ.in: Adjust.
41780         * config.make.in: Likewise.
41781         * Makeconfig: Likewise.
41782         * manual/install.texi: Likewise.
41783
41784         In case anyone cares, the IA-64 architecture could move to ports.
41785         * sysdeps/ia64/*: Removed.
41786         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41787         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41788
41789         [BZ #13555]
41790         * configure.in: Remove entries for unsupported architectures.
41791
41792         [BZ #13533]
41793         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41794         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41795         routines.
41796         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41797         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41798         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41799         fall back to using wcrtomb.
41800         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41801         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41802         renaming.
41803         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41804         * wcsmbs/tst-c16c32-1.c: New file.
41805
41806         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41807         local variable.
41808
41809         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41810
41811         * elf/tst-unique3.cc: Add explicit declaration of gets.
41812         * elf/tst-unique3lib.cc: Likewise.
41813         * elf/tst-unique3lib2.cc: Likewise.
41814         * elf/tst-unique4.cc: Likewise.
41815
41816         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41817
41818 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41819
41820         [BZ #13566]
41821         * assert/assert.h (static_assert): Don't define for C++.
41822         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41823         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41824
41825 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41826
41827         * iconv/loop.c (single loop): Fix assertion in storing of
41828         remaining bytes.
41829
41830         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41831
41832 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41833
41834         * posix/getconf.c: Update copyright year.
41835         * nss/getent.c: Likewise.
41836         * nss/makedb.c: Likewise.
41837         * iconv/iconvconfig.c: Likewise.
41838         * iconv/iconv_prog.c: Likewise.
41839         * elf/ldconfig.c: Likewise.
41840         * elf/pldd.c: Likewise.
41841         * elf/sotruss.ksh: Likewise.
41842         * catgets/gencat.c: Likewise.
41843         * csu/version.c: Likewise.
41844         * elf/ldd.bash.in: Likewise.
41845         * elf/sprof.c (print_version): Likewise.
41846         * locale/programs/locale.c: Likewise.
41847         * locale/programs/localedef.c: Likewise.
41848         * login/programs/pt_chown.c: Likewise.
41849         * nscd/nscd.c (print_version): Likewise.
41850         * debug/xtrace.sh: Likewise.
41851         * malloc/memusage.sh: Likewise.
41852         * malloc/mtrace.pl: Likewise.
41853         * debug/catchsegv.sh: Likewise.
41854
41855 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41856
41857         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41858         pure attribute.
41859
41860 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41861
41862         [BZ #13533]
41863         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41864         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41865         transformations.
41866         * iconv/gconv_int.h: Likewise.
41867         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41868         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41869         from libc for GLIBC_2.16.
41870         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41871         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41872         * wcsmbs/uchar.h: Really define mbstate_t.
41873         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41874         * wcsmbs/c16rtomb.c: New file.
41875         * wcsmbs/mbrtoc16.c: New file.
41876         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41877         for C/POSIX locale.
41878         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41879         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41880
41881         * wcsmbs/wchar.h: Add missing __restrict.
41882
41883 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41884
41885         [BZ #13532]
41886         * time/Makefile (routines): Add timespec_get.
41887         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41888         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41889         timespec for ISO C11.
41890         * time/timespec_get.c: New file.
41891         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41892         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41893
41894         [BZ #13531]
41895         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41896         * stdlib/stdlib.h: Declare aligned_alloc.
41897         * Versions.def: Add GLIBC_2.16 for libc.
41898         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41899
41900         [BZ 13527]
41901         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41902         ISO C11.
41903
41904         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41905         code.
41906
41907         [BZ #13528]
41908         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41909
41910         [BZ #13529]
41911         * assert/assert.h (static_assert): Define.
41912
41913         * version.h: Update for 2.16 development version.
41914
41915         [BZ #13526]
41916         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41917         _ISOC11_SOURCE.
41918
41919         * version.h (RELEASE): Bump for 2.15 release.
41920         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41921
41922         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41923         Patch by Marek Polacek <mpolacek@redhat.com>.
41924
41925         * bits/byteswap.h: Protect long long constants with __extension__.
41926         * sysdeps/i386/bits/byteswap.h: Likewise.
41927         * sysdeps/ia64/bits/byteswap.h: Likewise.
41928         * sysdeps/s390/bits/byteswap.h: Likewise.
41929         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41930
41931 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41932
41933         [BZ #13540]
41934         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41935         destination buffer.
41936         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41937
41938 2011-12-23  Marek Polacek  <polacek@redhat.com>
41939
41940         * elf/dl-addr.c (determine_info): Add inline keyword.
41941         * elf/tst-auditmod4b.c (check_avx): Likewise.
41942         * elf/tst-auditmod6b.c (check_avx): Likewise.
41943         * elf/tst-auditmod6c.c (check_avx): Likewise.
41944         * elf/tst-auditmod7b.c (check_avx): Likewise.
41945
41946 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41947
41948         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41949         !__SSE_MATH__.
41950
41951 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41952
41953         [BZ #13540]
41954         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41955         processing for last bytes.
41956
41957 2011-08-06  Bruno Haible  <bruno@clisp.org>
41958
41959         [BZ #13061]
41960         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41961         U+0385, not to U+1FEE.
41962
41963         [BZ #13062]
41964         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41965         entry for U+00A5 U+0301.
41966
41967 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41968
41969         [BZ #13166]
41970         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41971         buffer for the output is too small.
41972
41973         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41974         optimization.
41975
41976         [BZ #13185]
41977         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41978         SSE flags if possible.
41979
41980 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41981
41982         [BZ #13540]
41983         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41984         processing for last bytes.
41985
41986 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41987
41988         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41989         (syscall-list-default-options, syscall-list-default-condition)
41990         (syscall-list-includes): Define.
41991         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41992         list of ABIs and options and #if conditions for each ABI.  Do not
41993         handle common syscalls between ABIs specially.
41994         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41995         Remove.
41996         (syscall-list-variants, syscall-list-32bit-options)
41997         (syscall-list-32bit-condition, syscall-list-64bit-options)
41998         (syscall-list-64bit-condition): Define.
41999         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42000         (syscall-list-variants, syscall-list-32bit-options)
42001         (syscall-list-32bit-condition, syscall-list-64bit-options)
42002         (syscall-list-64bit-condition): Define.
42003         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42004         Remove.
42005         (syscall-list-variants, syscall-list-32bit-options)
42006         (syscall-list-32bit-condition, syscall-list-64bit-options)
42007         (syscall-list-64bit-condition): Define.
42008         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42009         Remove.
42010         (syscall-list-variants, syscall-list-32bit-options)
42011         (syscall-list-32bit-condition, syscall-list-64bit-options)
42012         (syscall-list-64bit-condition): Define.
42013
42014 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42015
42016         * locale/iso-639.def: Add brx entry.
42017
42018         [BZ #13328]
42019         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42020         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42021
42022         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42023         __feraiseexcept_renamed.
42024
42025 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42026
42027         [BZ #13538]
42028         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42029         EPOLLET with unsigned values.
42030         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42031         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42032
42033         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42034         to large cancellation.
42035         * math/s_cacoshf.c: Likewise.
42036         * math/s_cacoshl.c: Likewise.
42037
42038 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42039
42040         [BZ #13305]
42041         [BZ #12786]
42042         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42043         * math/s_cacoshf.c: Likewise.
42044         * math/s_cacoshl.c: Likewise.
42045
42046 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42047
42048         [BZ #13439]
42049         * iconv/gconv.h: Define __GCONV_SWAP.
42050         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42051         * iconvdata/utf-16.c: Likewise.
42052         * iconvdata/utf-32.c: Likewise.
42053
42054 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42055
42056         [BZ #13524]
42057         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42058         numerator after shifting it by one limb.
42059
42060 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42061
42062         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42063         under [__USE_EXTERN_INLINES].
42064
42065 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42066
42067         [BZ #13446]
42068         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42069
42070 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42071
42072         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42073         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42074         optimized code.
42075         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42076         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42077         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42078         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42079         for strncasecmp/strncasecmp_l compilation.
42080         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42081         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42082
42083 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42084
42085         [BZ #13484]
42086         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42087         of __asm__.
42088
42089 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42090
42091         [BZ #13506]
42092         * time/tzfile.c (__tzfile_read): Check values from file header.
42093
42094 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42095
42096         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42097         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42098         * powerpc/powerpc32/dl-start.S: Likewise.
42099         * powerpc/powerpc32/elf/start.S: Likewise.
42100         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42101         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42102         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42103         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42104         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42105         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42106         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42107         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42108         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42109         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42110         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42111         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42112         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42113         * powerpc/powerpc32/memset.S: Likewise.
42114         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42115         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42116         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42117         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42118         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42119         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42120         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42121         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42122         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42123         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42124         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42125         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42126         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42127
42128 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42129
42130         * math/libm-test.inc: Added more nearbyint tests.
42131         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42132         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42133         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42134         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42135
42136 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42137
42138         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42139         FD_CLOEXEC.
42140
42141 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42142
42143         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42144         Add wcscpy-ssse3 wcscpy-c.
42145         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42146         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42147         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42148         * sysdeps/x86_64/wcschr.S: New file.
42149         * sysdeps/x86_64/wcsrchr.S: New file.
42150         * string/test-strcmp.c: Remove checking of wcscmp function for
42151         wrong alignments.
42152         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42153         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42154         wcsrchr-sse2 wcsrchr-c.
42155         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42156         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42157         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42158         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42159         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42160         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42161         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42162         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42163         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42164         * wcsmbc/wcschr.c (WCSCHR): New macro.
42165
42166 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42167
42168         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42169         * wcsmbs/test-wcsrchr.c: New file.
42170         * string/test-strrchr.c: Add wcsrchr support.
42171         (WIDE): New macro.
42172         * wcsmbs/test-wcscpy.c: New file.
42173         * string/test-strcpy.c: Add wcscpy support.
42174         (WIDE): New macro.
42175
42176 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42177
42178         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42179         the inner loop.
42180
42181 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42182
42183         [BZ #13472]
42184         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42185
42186 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42187
42188         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42189         Minor optimizations.
42190
42191         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42192         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42193         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42194
42195 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42196
42197         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42198         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42199         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42200         for gcc to avoid warnings.
42201         * inet/Makefile (tests): Add tst-checks.
42202         * inet/tst-checks.c: New file.
42203
42204         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42205         warning.
42206
42207         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42208         __wmemcmp_sse2.
42209
42210         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42211         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42212
42213         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42214
42215 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42216
42217         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42218         problem.
42219
42220         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42221
42222 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42223
42224         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42225         conditional on GCC version.
42226         (__arch_compare_and_exchange_val_8_acq)
42227         (__arch_compare_and_exchange_val_16_acq)
42228         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42229         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42230         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42231
42232 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42233
42234         * sysdeps/sh/backtrace.c: New file.
42235
42236 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42237
42238         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42239         parenthesis.
42240
42241 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42242
42243         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42244         falling back to utime.
42245
42246 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42247
42248         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42249         expectations for float.
42250
42251 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42252
42253         * locale/weight.h (findidx): Add parameter len.
42254         * locale/weightwc.h (findidx): Likewise.
42255         * posix/fnmatch_loop.c (FCT): Adjust caller.
42256         * posix/regcomp.c (build_equiv_class): Likewise.
42257         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42258         * posix/regexec.c (check_node_accept_bytes): Likewise.
42259         * string/strcoll_l.c (STRCOLL): Likewise.
42260         * string/strxfrm_l.c (STRXFRM): Likewise.
42261
42262 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42263
42264         * Makefile.in: Remove CVSOPT handling.
42265         * configure.in: Remove use of AC_REVISION.
42266         * iconvdata/Makefile (distribute): No need to filter out CVS.
42267         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42268         handling.
42269
42270 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42271
42272         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42273         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42274         [USE_AS_STRNCASECMP_L]: Likewise.
42275         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42276         NO_TLS_DIRECT_SEG_REFS.
42277         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42278         Fix argument offsets for non-PIC.
42279         [USE_AS_STRNCASECMP_L]: Likewise.
42280         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42281         NO_TLS_DIRECT_SEG_REFS.
42282
42283 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42284
42285         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42286         O_CLOEXEC.
42287         * locale/loadlocale.c (_nl_load_locale): Likewise.
42288
42289 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42290
42291         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42292         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42293         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42294         (SYSCALL_GETTIME): Set errno on error.
42295
42296         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42297         count references to noai6ai_cached.
42298
42299 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42300
42301         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42302
42303         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42304         FD_CLOEXEC for /proc/self/maps.
42305
42306         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42307         FD_CLOEXEC for /proc/meminfo.
42308
42309         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42310         gai.conf.
42311
42312         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42313         FD_CLOEXEC for given file.
42314
42315         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42316
42317         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42318         FD_CLOEXEC for /etc/hosts.
42319         (_gethtent): Likewise.
42320
42321         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42322
42323         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42324         cancellation and set FD_CLOEXEC for /etc/netgroup.
42325
42326         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42327         reading /etc/publickey.
42328
42329         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42330         allow cancellation when reading /etc/group.
42331
42332         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42333         cancellation.
42334         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42335
42336         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42337         when using data file.
42338
42339         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42340
42341         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42342         (write_nis_obj): Use "c" and "e" in fopen.
42343
42344         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42345
42346         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42347
42348         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42349
42350         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42351
42352         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42353         locale.alias.
42354
42355         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42356
42357         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42358
42359         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42360
42361         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42362         file parsing and set FD_CLOEXEC.
42363
42364 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42365
42366         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42367
42368 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42369
42370         * malloc/arena.c (arena_get2): Don't call reused_arena when
42371         _int_new_arena failed.
42372
42373 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42374
42375         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42376         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42377         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42378         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42379         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42380         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42381         to compile strcasecmp and strncasecmp.
42382         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42383         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42384
42385         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42386
42387 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42388
42389         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42390         locale-defines.sym to gen-as-const-headers.
42391         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42392         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42393         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42394         to compile strcasecmp and strncasecmp.
42395         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42396         strcasecmp_l and strncasecmp_l.
42397         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42398         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42399         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42400         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42401         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42402         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42403         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42404         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42405         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42406         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42407         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42408
42409 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42410
42411         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42412         result of SYSDEP_GETTIME_CPU to retval.
42413         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42414         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42415
42416         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42417         variable.
42418
42419         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42420         mantissa words.
42421         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42422
42423         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42424         from unused variable.
42425
42426         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42427         DWARF definitions.
42428         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42429         for assembling.
42430
42431         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42432         over namespaces.
42433
42434         * sunrpc/rpc_prot.c (rejected): Fix case value.
42435
42436         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42437         unsigned long long int to avoid warnings in shift.
42438
42439         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42440         of use of trans.
42441         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42442         variable tmp.
42443
42444         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42445         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42446         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42447
42448         * nis/nis_table.c (nis_list): Use variable of correct type for
42449         result of __follow_path call.
42450
42451 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42452
42453         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42454         of math functions ceil, trunc, floor, round, and sqrt, when
42455         avaliable on the platform.
42456         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42457         name clash.
42458         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42459         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42460         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42461
42462 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42463
42464         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42465         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42466
42467 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42468
42469         * include/unistd.h: Fix __readlink return type.
42470         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42471
42472 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42473
42474         * stdlib/ucontext.h: Undo last change for makecontext.
42475
42476 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42477
42478         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42479
42480         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42481         * setjmp/setjmp.h: Mark functions as non-leaf.
42482         * setjmp/bits/setjmp2.h: Likewise.
42483         * stdlib/ucontext.h: Likewise.
42484
42485 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42486
42487         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42488         (reused_arena): Don't check arena limit.
42489         (arena_get2): Atomically check arena limit.
42490
42491 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42492
42493         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42494         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42495
42496         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42497         instructions.
42498
42499 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42500
42501         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42502         handler when locking.
42503
42504         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42505         Fix size of allocated buffer.
42506
42507 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42508
42509         [BZ #10103]
42510         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42511         declarations for long double functions.
42512         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42513
42514         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42515
42516 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42517
42518         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42519         installed.
42520
42521         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42522         is disabled.
42523
42524 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42525
42526         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42527
42528 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42529
42530         * include/alloca.h (stackinfo_alloca_round): Define.
42531         (extend_alloca): Use it.
42532         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42533         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42534         here.
42535
42536         * scripts/check-local-headers.sh: Ignore libaudit.h.
42537
42538         * nscd/Makefile (extra-objs): Make recursively expanded.
42539
42540 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42541
42542         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42543         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42544
42545         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42546         * posix/tst-rfc3484-2.c: Likewise.
42547         * posix/tst-rfc3484-3.c: Likewise.
42548
42549         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42550         process_vm_writev.
42551         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42552         process_vm_writev.
42553         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42554         process_vm_writev from libc using GLIBC_2.15 version.
42555
42556         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42557
42558 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42559
42560         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42561         stack usage.
42562
42563 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42564
42565         [BZ #13367]
42566         * nss/getent.c (initgroups_keys): Show error message in case no group
42567         names are given.
42568
42569         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42570         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42571         __bump_nl_timestamp.
42572         * nscd/connections (nscd_init): When host database is served open
42573         netlink socket and request notification about configuration changes.
42574         (main_loop_poll): Track netlink file descriptor and bump timestamp
42575         in case data becomes available.
42576         (main_loop_epoll): Likewise.
42577         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42578         (database_pers_head): Add extra_data fileds.
42579         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42580         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42581         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42582         Adjust caller.
42583         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42584         in6ai data, call __free_in6ai.
42585         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42586         Add -DHAVE_NETLINK.
42587         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42588         interface information.  Reuse previous data if netlink timestamp
42589         is not changed.
42590         (__bump_nl_timestamp): New function.
42591         (__free_in6ai): New function.
42592
42593 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42594
42595         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42596         close_not_cancel_no_status here.
42597         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42598
42599 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42600
42601         [BZ #13276]
42602         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42603         return value.
42604
42605         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42606         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42607         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42608
42609 2011-07-03  Andreas Jaeger  <aj@suse.de>
42610
42611         [BZ #10709]
42612         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42613         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42614         * math/libm-test.inc (sin_test): Add test case.
42615
42616 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42617
42618         [BZ #13337]
42619         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42620         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42621
42622         * elf/chroot_canon.c (chroot_canon): Cleanups.
42623
42624         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42625
42626         [BZ #13335]
42627         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42628         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42629
42630         * string/test-strchr.c: Make usable for strchrnul testing.
42631         * string/test-strchrnul.c: New file.
42632         * string/Makefile (strop-tests): Add strchrnul.
42633
42634         * po/it.po: Update from translation team.
42635         * po/es.po: Likewise.
42636
42637 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42638
42639         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42640         the three constants needed as parameters.  Drop the others.
42641         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42642         __m128i_strloadu_tolower.
42643         Create and initialize variable zero and use it in all the places
42644         where _mm_setzero_si128 was used.
42645
42646         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42647         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42648         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42649         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42650         anymore.
42651         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42652         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42653         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42654         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42655         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42656         __mpranred, __mptan.
42657         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42658         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42659         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42660         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42661         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42662         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42663         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42664         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42665         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42666
42667 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42668
42669         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42670         redefine if SHARED.
42671         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42672
42673         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42674         wide char related routines to wcsmbs subdir.
42675
42676 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42677
42678         [BZ #13344]
42679         * misc/sys/cdefs.h (__THROWNL): Define.
42680         * posix/unistd.h: Use __THREADNL instead of __THREAD
42681         for memory synchronization functions.
42682
42683 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42684
42685         [BZ #13349]
42686         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42687         doesn't exist.
42688         * manual/stdio.texi (Obstack Streams): Node removed.
42689
42690 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42691
42692         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42693         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42694         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42695
42696         * math/math_private.h (math_force_eval): Allow non-addressable
42697         arguments.
42698         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42699
42700 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42701
42702         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42703         file is not needed.
42704
42705         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42706         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42707         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42708         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42709         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42710         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42711         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42712         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42713         Add AVX variants.
42714         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42715         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42716         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42717         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42718         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42719         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42720         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42721         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42722         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42723         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42724         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42725         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42726         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42727         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42728         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42729         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42730         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42731         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42732         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42733
42734         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42735         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42736
42737         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42738         place.  Use VEX encoding when compiling for AVX.
42739
42740 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42741
42742         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42743         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42744
42745         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42746
42747 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42748
42749         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42750         useless if() expression.
42751         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42752         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42753         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42755         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42756         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42757         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42758         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42759         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42760         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42761         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42762         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42763         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42764         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42765         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42766         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42767         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42768         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42769         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42770
42771         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42772
42773 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42774
42775         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42776         condition.
42777         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42778
42779 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42780
42781         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42782         .text section.  Avoid duplicate constants.
42783         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42784         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42785         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42786         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42787         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42788         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42789         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42790         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42791         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42792         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42793         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42794         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42795         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42796         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42797         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42798         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42799         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42800         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42801         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42802         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42803         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42804         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42805         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42806         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42807         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42808         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42809         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42810         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42811         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42812         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42813         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42814         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42815         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42816         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42817         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42818         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42819         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42820         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42821         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42822         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42823         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42824         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42825         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42826         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42827         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42828
42829 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42830
42831         * sysdeps/x86_64/dla.h: Move to ...
42832         * sysdeps/x86_64/fpu/dla.h: ...here.
42833         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42834         situations.  Use __builtin_fma only for gcc 4.6 and up.
42835
42836         * config.make.in: Add have-mfma4 entry.
42837         * configure.in: Substitute libc_cv_cc_fma4.
42838         * math/Makefile (dbl-only-routines): Add sincostab.
42839         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42840         Use __sincostab not sincos.
42841         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42842         name is a macro.
42843         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42844         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42845         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42846         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42847         using __copysign.
42848         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42849         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42850         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42851         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42852         and __inv.
42853         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42854         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42855         __copysign.
42856         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42857         define aliases when function name is a macro.
42858         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42859         sysdeps/ieee754/dbl-64/sincos.tbl.
42860         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42861         fma4-enabled routines.
42862         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42863         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42864         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42865         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42866         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42867         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42868         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42869         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42870         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42871         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42872         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42873         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42874         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42875         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42876         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42877         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42878         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42879         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42880         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42881         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42882         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42883         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42884         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42885         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42886         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42887         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42888         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42889         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42890         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42891         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42892
42893         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42894         rename.
42895         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42896         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42897         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42898         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42899         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42900         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42901         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42902         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42903
42904 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42905
42906         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42907
42908 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42909
42910         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42911
42912         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42913         prediction.
42914         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42915
42916         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42917         Remove unused variable magic_bits.
42918         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42919
42920         * string/strnlen.c: Define and use STRNLEN macro.
42921         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42922         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42923         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42924         * wcsmbs/wcslen.c: Define and use WCSLEN.
42925         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42926         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42927         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42928         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42929         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42930         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42931         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42932
42933 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42934
42935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42936         strnlen-sse2-no-bsf.
42937         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42938         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42939         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42940         Add strnlen support.
42941         (USE_AS_STRNLEN): New macro.
42942         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42943         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42944         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42945         * sysdeps/x86_64/wcslen.S: New file.
42946
42947 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42948
42949         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42950         XMM-moves are used for copying on small sizes.
42951
42952 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42953
42954         * wcsmbs/Makefile (strop-tests): Add wcschr.
42955         * wcsmbs/test-wcschr.c: New file.
42956         * string/test-strchr.c: Update.
42957         Add wcschr support.
42958         (WIDE): New macro.
42959
42960 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42961
42962         * wcsmbs/Makefile (strop-tests): Add wcslen.
42963         * wcsmbs/test-wcslen.c: New file.
42964         * string/test-strlen.c: Update.
42965         Add wcslen support.
42966         (WIDE): New macro.
42967
42968 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42969
42970         * po/it.po: Update from translation team.
42971
42972 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42973
42974         * sysdeps/x86_64/wcscmp.S: Update.
42975         Fix wrong comparison semantics.
42976         wcscmp shall use signed comparison not unsigned.
42977         Don't use substraction to avoid overflow bug.
42978         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42979         * wcsmbc/wcscmp.c: Likewise.
42980         * string/test-strcmp.c: Likewise.
42981         Add new tests to check cases with negative values.
42982
42983 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42984
42985         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42986         * sysdeps/x86_64/dla.h: ...here.  New file.
42987         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42989         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42990         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42991         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42992         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42993         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42994         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42995         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42996
42997 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42998
42999         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43000         __ynl_finite aliases.
43001
43002 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43003
43004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43005
43006         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43007         define DLA_FMA.
43008         [DLA_FMA] (EMULV): Use DLA_FMA.
43009         [DLA_FMA] (MUL12): Use EMULV.
43010         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43011         that are not needed.
43012         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43013         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43014         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43015         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43016         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43017         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43018         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43019
43020 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43021
43022         * math/s_nan.c: Undef __nan.
43023         * math/s_nanf.c: Undef __nanf.
43024         * math/s_nanl.c: Undef __nanl.
43025         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43026         "math_private.h".
43027
43028 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43029
43030         * math/s_catan.c: Add branch predictions.
43031         * math/s_catanf.c: Likewise.
43032         * math/s_catanh.c: Likewise.
43033         * math/s_catanhf.c: Likewise.
43034         * math/s_catanhl.c: Likewise.
43035         * math/s_catanl.c: Likewise.
43036         * math/s_cexp.c: Likewise.
43037         * math/s_cexpf.c: Likewise.
43038         * math/s_cexpl.c: Likewise.
43039         * math/s_clog.c: Likewise.
43040         * math/s_clog10.c: Likewise.
43041         * math/s_clog10f.c: Likewise.
43042         * math/s_clog10l.c: Likewise.
43043         * math/s_clogf.c: Likewise.
43044         * math/s_clogl.c: Likewise.
43045         * math/s_csqrt.c: Likewise.
43046         * math/s_csqrtf.c: Likewise.
43047         * math/s_csqrtl.c: Likewise.
43048         * math/s_ctanf.c: Likewise.
43049         * math/s_ctanh.c: Likewise.
43050         * math/s_ctanhf.c: Likewise.
43051         * math/s_ctanhl.c: Likewise.
43052         * math/s_ctanl.c: Likewise.
43053
43054         * math/math_private.h: Define __nan, __nanf, __nanl.
43055         * math/s_cacosh.c: Include <math_private.h>.
43056         * math/s_cacoshl.c: Likewise.
43057         * math/s_casinh.c: Likewise.
43058         * math/s_casinhf.c: Likewise.
43059         * math/s_casinhl.c: Likewise.
43060         * math/s_ccos.c: Rely entire on ccosh.
43061         * math/s_ccosf.c: Rely entire on ccoshf.
43062         * math/s_ccosl.c: Rely entirely on ccoshl.
43063         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43064         Remove tests for FE_INVALID.
43065         * math/s_ccoshf.c: Likewise.
43066         * math/s_ccoshl.c: Likewise.
43067         * math/s_csin.c: Likewise.
43068         * math/s_csinf.c: Likewise.
43069         * math/s_csinh.c Likewise.
43070         * math/s_csinhf.c: Likewise.
43071         * math/s_csinhl.c: Likewise.
43072         * math/s_csinl.c: Likewise.
43073         * math/s_ctan.c: Likewise.
43074         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43075         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43076         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43077
43078 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43079
43080         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43081         compilation problems.
43082
43083         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43084         __builtin_expect.
43085
43086 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43087
43088         * sysdeps/i386/configure.in: Test for -mfma4 option.
43089         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43090         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43091         COMMON_CPUID_INDEX_80000001.
43092         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43093         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43094         use it if FMA3 is not supported.
43095         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43096
43097         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43098         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43099
43100 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43101
43102         [BZ #12892]
43103         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43104         it would create a cycle with a link time dependency.
43105
43106 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43107
43108         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43109         instruction.
43110         * string/Makefile (strop-tests): Add rawmemchr.
43111         * string/test-rawmemchr.c: New file.
43112
43113         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43114         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43115         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43116         when compiling str{,n}casecmp and when AVX is available.  Hook up
43117         new optimized code in initializers.
43118
43119 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43120
43121         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43122         __feraiseexcept instead of feraiseexcept.
43123
43124 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43125
43126         * math/math_private.h: Define defaults for libc_fetestexcept and
43127         libc_feupdateenv.
43128         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43129         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43130         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43131         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43132         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43133         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43134         libc_fetestexcept and libc_feupdateenv.
43135
43136         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43137         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43138         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43139         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43140         libc_feholdexcept_setround.
43141
43142         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43143         Add s_nearbyint-c and s_nearbyintf-c.
43144         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43145         nearbyintf inlines.
43146         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43147         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43148         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43149         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43150
43151         * math/math_private.h: Define defaults for libc_fegetround,
43152         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43153         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43154         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43155         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43156         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43157         standard functions.
43158         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43159         Remove comments and hacks for old compiler versions.
43160         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43161         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43162         libc_feholdexceptl.
43163
43164 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43165
43166         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43167         (__feraiseexcept_renamed): Add __NTH.
43168         (feraiseexcept): Add __NTH.  Rename local variables to fix
43169         namespace violations.
43170
43171 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43172
43173         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43174
43175         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43176
43177         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43178         recently added interfaces.
43179         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43180
43181         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43182         about macro parameter expansion.
43183
43184         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43185         __NO_MATH_INLINES is defined.  Cleanups.
43186
43187         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43188         and __floorf is target has SSE4.1.
43189         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43190         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43191         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43192         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43193
43194         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43195         name.
43196         (floorf): Likewise.
43197
43198         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43199
43200 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43201
43202         * misc/sys/cdefs.h: Fix last change.
43203
43204         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43205         database lookup.
43206
43207 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43208
43209         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43210
43211         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43212         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43213         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43214         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43215         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43216         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43217         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43218         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43219         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43220         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43221         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43222         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43223         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43224         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43225         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43226         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43227         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43228         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43229         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43230         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43231         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43232         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43233
43234         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43235         ceil, ceilf, floor, floorf.
43236
43237         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43238         Perform IRELATIVE relocations last.
43239
43240         * elf/do-rel.h: Add another parameter nrelative, replacing the
43241         local variable with the same name.  Change name of the function
43242         to end in Rel or Rela (uppercase).
43243         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43244         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43245         elf_dynamic_do_##reloc function.
43246
43247 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43248
43249         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43250         is sufficient, at least on modern CPUs.
43251
43252         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43253
43254         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43255         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43256
43257         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43258         __expl_finite.
43259         * math/bits/math-finite.h: Add entries for exp.
43260         * math/e_expl.c: Add __*_finite alias.
43261         * sysdeps/i386/fpu/e_exp.S: Likewise.
43262         * sysdeps/i386/fpu/e_expf.S: Likewise.
43263         * sysdeps/i386/fpu/e_expl.c: Likewise.
43264         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43265         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43266         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43267         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43268         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43269         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43270         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43271
43272         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43273         is sufficient, at least on modern CPUs.
43274
43275         * ctype/ctype-info.c (__ctype_init): Define.
43276         * include/ctype.h (__ctype_init): Declare.
43277         (__ctype_b_loc): The variable is always initialized.
43278         (__ctype_toupper_loc): Likewise.
43279         (__ctype_tolower_loc): Likewise.
43280         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43281         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43282
43283 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43284
43285         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43286
43287         * configure.in: Also look in $cxxmachine/include for C++ system
43288         headers.
43289
43290 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43291
43292         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43293         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43294         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43295         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43296         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43297         (USE_AS_WMEMCMP): New macro.
43298         Fixing indents.
43299         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43300         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43301         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43302         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43303         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43304         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43305         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43306         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43307         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43308         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43309         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43310         (USE_AS_WMEMCMP): New macro.
43311         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43312         * sysdeps/string/test-memcmp.c: Update.
43313         Fix simple_wmemcmp.
43314         Add new tests.
43315         * wcsmbs/wmemcmp.c: Update.
43316         (WMEMCMP): New macro.
43317         Fix overflow bug.
43318
43319 2011-10-12  Andreas Jaeger  <aj@suse.de>
43320
43321         [BZ #13268]
43322         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43323
43324 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43325
43326         * libio/iofwide.c (do_length): Avoid warning.
43327
43328         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43329
43330 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43331
43332         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43333
43334         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43335         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43336         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43337         * sysdeps/i386/i686/fpu/e_log.S: New file.
43338         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43339         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43340
43341         * ctype/ctype.h: Add support for inlined isXXX functions when
43342         compiling C++ code.
43343
43344 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43345
43346         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43347
43348         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43349
43350 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43351
43352         [BZ #13291]
43353         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43354
43355 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43356
43357         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43358         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43359         feraiseexcept.
43360
43361         * sysdeps/x86_64/memrchr.S: Check for zero size.
43362
43363         * string/stratcliff.c: Add memrchr tests.
43364
43365 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43366
43367         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43368         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43369         rawmemchr-sse2 rawmemchr-sse2-bsf.
43370         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43371         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43372         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43373         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43374         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43375         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43376         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43377         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43378         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43379         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43380         * string/memrchr.c (MEMRCHR): New macro.
43381
43382 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43383
43384         Add integration with gcc's -ffinite-math-only and optimize wrapper
43385         functions in libm.
43386         * Versions.def: Define GLIBC_2.15 version for libm.
43387         * math/Makefile (headers): Add bits/math-finite.h.
43388         * math/bits/math-finite.h: New file.
43389         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43390         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43391         * math/e_acoshl.c: Add __*_finite alias.
43392         * math/e_acosl.c: Likewise.
43393         * math/e_asinl.c: Likewise.
43394         * math/e_atan2l.c: Likewise.
43395         * math/e_atanhl.c: Likewise.
43396         * math/e_coshl.c: Likewise.
43397         * math/e_exp10.c: Likewise.
43398         * math/e_exp10f.c: Likewise.
43399         * math/e_exp10l.c: Likewise.
43400         * math/e_exp2l.c: Likewise.
43401         * math/e_fmodl.c: Likewise.
43402         * math/e_gammal_r.c: Likewise.
43403         * math/e_hypotl.c: Likewise.
43404         * math/e_j0l.c: Likewise.
43405         * math/e_j1l.c: Likewise.
43406         * math/e_jnl.c: Likewise.
43407         * math/e_lgammal_r.c: Likewise.
43408         * math/e_log10l.c: Likewise.
43409         * math/e_log2l.c: Likewise.
43410         * math/e_logl.c: Likewise.
43411         * math/e_powl.c: Likewise.
43412         * math/e_sinhl.c: Likewise.
43413         * math/e_sqrtl.c: Likewise.
43414         * math/e_scalb.c: Completely rewritten and optimized.
43415         * math/e_scalbf.c: Likewise.
43416         * math/e_scalbl.c: Likewise.
43417         * math/w_acos.c: Likewise.
43418         * math/w_acosf.c: Likewise.
43419         * math/w_acosl.c: Likewise.
43420         * math/w_acosh.c: Likewise.
43421         * math/w_acoshf.c: Likewise.
43422         * math/w_acoshl.c: Likewise.
43423         * math/w_asin.c: Likewise.
43424         * math/w_asinf.c: Likewise.
43425         * math/w_asinl.c: Likewise.
43426         * math/w_atan2.c: Likewise.
43427         * math/w_atan2f.c: Likewise.
43428         * math/w_atan2l.c: Likewise.
43429         * math/w_atanh.c: Likewise.
43430         * math/w_atanhf.c: Likewise.
43431         * math/w_atanhl.c: Likewise.
43432         * math/w_exp10.c: Likewise.
43433         * math/w_exp10f.c: Likewise.
43434         * math/w_exp10l.c: Likewise.
43435         * math/w_fmod.c: Likewise.
43436         * math/w_fmodf.c: Likewise.
43437         * math/w_fmodl.c: Likewise.
43438         * math/w_j0.c: Likewise.
43439         * math/w_j0f.c: Likewise.
43440         * math/w_j0l.c: Likewise.
43441         * math/w_j1.c: Likewise.
43442         * math/w_j1f.c: Likewise.
43443         * math/w_j1l.c: Likewise.
43444         * math/w_jn.c: Likewise.
43445         * math/w_jnf.c: Likewise.
43446         * math/w_log.c: Likewise.
43447         * math/w_logf.c: Likewise.
43448         * math/w_logl.c: Likewise.
43449         * math/w_log10.c: Likewise.
43450         * math/w_log10f.c: Likewise.
43451         * math/w_log10l.c: Likewise.
43452         * math/w_log2.c: Likewise.
43453         * math/w_log2f.c: Likewise.
43454         * math/w_log2l.c: Likewise.
43455         * math/w_pow.c: Likewise.
43456         * math/w_powf.c: Likewise.
43457         * math/w_powl.c: Likewise.
43458         * math/w_remainder.c: Likewise.
43459         * math/w_remainderf.c: Likewise.
43460         * math/w_remainderl.c: Likewise.
43461         * math/w_scalb.c: Likewise.
43462         * math/w_scalbf.c: Likewise.
43463         * math/w_scalbl.c: Likewise.
43464         * math/w_sqrt.c: Likewise.
43465         * math/w_sqrtf.c: Likewise.
43466         * math/w_sqrtl.c: Likewise.
43467         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43468         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43469         used.
43470         * math/math_private.h: Declare __kernel_standard_f.
43471         * math/w_cosh.c: Remove cruft and optimize a bit.
43472         * math/w_coshf.c: Likewise.
43473         * math/w_coshl.c: Likewise.
43474         * math/w_exp2.c: Likewise.
43475         * math/w_exp2f.c: Likewise.
43476         * math/w_exp2l.c: Likewise.
43477         * math/w_hypot.c: Likewise.
43478         * math/w_hypotf.c: Likewise.
43479         * math/w_hypotl.c: Likewise.
43480         * math/w_lgamma.c: Likewise.
43481         * math/w_lgamma_r.c: Likewise.
43482         * math/w_lgammaf.c: Likewise.
43483         * math/w_lgammaf_r.c: Likewise.
43484         * math/w_lgammal.c: Likewise.
43485         * math/w_lgammal_r.c: Likewise.
43486         * math/w_sinh.c: Likewise.
43487         * math/w_sinhf.c: Likewise.
43488         * math/w_sinhl.c: Likewise.
43489         * math/w_tgamma.c: Likewise.
43490         * math/w_tgammaf.c: Likewise.
43491         * math/w_tgammal.c: Likewise.
43492         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43493         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43494         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43495         Minor optimizations.  Pretty printing.  Remove cruft.
43496         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43497         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43498         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43499         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43500         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43501         * sysdeps/i386/fpu/e_asin.S: Likewise.
43502         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43503         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43504         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43505         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43506         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43507         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43508         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43509         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43510         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43511         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43512         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43513         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43514         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43515         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43516         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43517         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43518         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43519         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43520         * sysdeps/i386/fpu/e_log.S: Likewise.
43521         * sysdeps/i386/fpu/e_log10.S: Likewise.
43522         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43523         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43524         * sysdeps/i386/fpu/e_log2.S: Likewise.
43525         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43526         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43527         * sysdeps/i386/fpu/e_logf.S: Likewise.
43528         * sysdeps/i386/fpu/e_logl.S: Likewise.
43529         * sysdeps/i386/fpu/e_pow.S: Likewise.
43530         * sysdeps/i386/fpu/e_powf.S: Likewise.
43531         * sysdeps/i386/fpu/e_powl.S: Likewise.
43532         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43533         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43534         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43535         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43536         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43537         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43538         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43539         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43540         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43541         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43542         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43543         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43544         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43545         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43546         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43547         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43548         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43549         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43550         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43551         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43552         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43553         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43554         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43555         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43556         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43557         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43558         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43559         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43560         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43561         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43562         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43563         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43564         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43565         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43566         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43567         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43568         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43569         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43570         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43571         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43572         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43573         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43574         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43575         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43576         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43577         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43578         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43579         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43580         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43581         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43582         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43583         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43584         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43585         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43586         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43587         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43588         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43589         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43590         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43591         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43592         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43593         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43594         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43595         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43596         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43597         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43598         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43599         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43600         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43601         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43602         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43603         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43604         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43605         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43606         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43607         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43608         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43609         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43610         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43611         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43612         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43613         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43614         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43615         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43616         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43617         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43618         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43619         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43620         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43621         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43622         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43623         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43624         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43625         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43626         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43627         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43628         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43629         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43630         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43631         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43632         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43633         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43634         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43635         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43636         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43637         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43638         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43639         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43640         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43641         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43642         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43643         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43644         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43645         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43646         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43647         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43648         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43649         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43650         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43651         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43652         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43653         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43654         (__isnanf): Likewise.
43655         (__isinf_ns): Likewise.
43656         (__isinf_nsf): Likewise.
43657         (__finite): Likewise.
43658         (__finitef): Likewise.
43659         (__ieee754_sqrt): Define as macro.
43660         (__ieee754_sqrtf): Define as macro.
43661         (__ieee754_sqrtl): Define as macro.
43662         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43663         inlined copy.
43664         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43665         __FINITE_MATH_ONLY__ consistent.
43666         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43667
43668 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43669
43670         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43671         of rawmemchr.
43672
43673         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43674
43675 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43676
43677         * po/ja.po: Update from translation team.
43678
43679 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43680
43681         * locale/programs/locarchive.c (prepare_address_space): New function.
43682         (create_archive, enlarge_archive, open_archive): Use it.
43683
43684         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43685         inside [SHARED], where it is used.
43686
43687         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43688
43689         * nss/getent.c (netgroup_keys): Remove unused variable.
43690         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43691
43692 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43693
43694         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43695         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43696         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43697         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43698         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43699         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43700         * math/Makefile (libm-calls): Add s_isinf_ns.
43701         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43702         * math/multc3.c: Likewise.
43703         * math/s_casin.c: Likewise.
43704         * math/s_casinf.c: Likewise.
43705         * math/s_casinl.c: Likewise.
43706         * math/s_ccos.c: Likewise.
43707         * math/s_ccosf.c: Likewise.
43708         * math/s_ccosl.c: Likewise.
43709         * math/s_ctan.c: Likewise.
43710         * math/s_ctanf.c: Likewise.
43711         * math/s_ctanh.c: Likewise.
43712         * math/s_ctanhf.c: Likewise.
43713         * math/s_ctanhl.c: Likewise.
43714         * math/s_ctanl.c: Likewise.
43715         * math/w_fmod.c: Likewise.
43716         * math/w_fmodf.c: Likewise.
43717         * math/w_fmodl.c: Likewise.
43718         * math/w_remainder.c: Likewise.
43719         * math/w_remainderf.c: Likewise.
43720         * math/w_remainderl.c: Likewise.
43721         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43722         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43723         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43724         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43725         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43726         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43727         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43728         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43729
43730         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43731         of the number.
43732         * stdio-common/printf_fphex.c: Likewise.
43733         * stdio-common/printf_size.c: Likewise.
43734
43735         * math/e_exp10.c: Include math_private.h using <...> not "...".
43736         * math/e_exp10f.c: Likewise.
43737         * math/e_exp10l.c: Likewise.
43738         * math/e_exp2l.c: Likewise.
43739         * math/e_j0l.c: Likewise.
43740         * math/e_j1l.c: Likewise.
43741         * math/e_jnl.c: Likewise.
43742         * math/e_lgammal_r.c: Likewise.
43743         * math/e_rem_pio2l.c: Likewise.
43744         * math/e_scalb.c: Likewise.
43745         * math/e_scalbf.c: Likewise.
43746         * math/e_scalbl.c: Likewise.
43747         * math/k_cosl.c: Likewise.
43748         * math/k_sinl.c: Likewise.
43749         * math/k_tanl.c: Likewise.
43750         * math/s_cacoshf.c: Likewise.
43751         * math/s_catan.c: Likewise.
43752         * math/s_catanf.c: Likewise.
43753         * math/s_catanh.c: Likewise.
43754         * math/s_catanhf.c: Likewise.
43755         * math/s_catanhl.c: Likewise.
43756         * math/s_catanl.c: Likewise.
43757         * math/s_ccosh.c: Likewise.
43758         * math/s_ccoshf.c: Likewise.
43759         * math/s_ccoshl.c: Likewise.
43760         * math/s_cexp.c: Likewise.
43761         * math/s_cexpf.c: Likewise.
43762         * math/s_cexpl.c: Likewise.
43763         * math/s_clog.c: Likewise.
43764         * math/s_clog10.c: Likewise.
43765         * math/s_clog10f.c: Likewise.
43766         * math/s_clog10l.c: Likewise.
43767         * math/s_clogf.c: Likewise.
43768         * math/s_clogl.c: Likewise.
43769         * math/s_csin.c: Likewise.
43770         * math/s_csinf.c: Likewise.
43771         * math/s_csinh.c: Likewise.
43772         * math/s_csinhf.c: Likewise.
43773         * math/s_csinhl.c: Likewise.
43774         * math/s_csinl.c: Likewise.
43775         * math/s_csqrt.c: Likewise.
43776         * math/s_csqrtf.c: Likewise.
43777         * math/s_csqrtl.c: Likewise.
43778         * math/s_ctan.c: Likewise.
43779         * math/s_ctanf.c: Likewise.
43780         * math/s_ctanh.c: Likewise.
43781         * math/s_ctanhf.c: Likewise.
43782         * math/s_ctanhl.c: Likewise.
43783         * math/s_ctanl.c: Likewise.
43784         * math/s_ldexp.c: Likewise.
43785         * math/s_ldexpf.c: Likewise.
43786         * math/s_ldexpl.c: Likewise.
43787         * math/s_significand.c: Likewise.
43788         * math/s_significandf.c: Likewise.
43789         * math/s_significandl.c: Likewise.
43790         * math/w_acos.c: Likewise.
43791         * math/w_acosf.c: Likewise.
43792         * math/w_acosh.c: Likewise.
43793         * math/w_acoshf.c: Likewise.
43794         * math/w_acoshl.c: Likewise.
43795         * math/w_acosl.c: Likewise.
43796         * math/w_asin.c: Likewise.
43797         * math/w_asinf.c: Likewise.
43798         * math/w_asinl.c: Likewise.
43799         * math/w_atan2.c: Likewise.
43800         * math/w_atan2f.c: Likewise.
43801         * math/w_atan2l.c: Likewise.
43802         * math/w_atanh.c: Likewise.
43803         * math/w_atanhf.c: Likewise.
43804         * math/w_atanhl.c: Likewise.
43805         * math/w_cosh.c: Likewise.
43806         * math/w_coshf.c: Likewise.
43807         * math/w_coshl.c: Likewise.
43808         * math/w_dremf.c: Likewise.
43809         * math/w_exp10.c: Likewise.
43810         * math/w_exp10f.c: Likewise.
43811         * math/w_exp10l.c: Likewise.
43812         * math/w_exp2.c: Likewise.
43813         * math/w_exp2f.c: Likewise.
43814         * math/w_fmod.c: Likewise.
43815         * math/w_fmodf.c: Likewise.
43816         * math/w_fmodl.c: Likewise.
43817         * math/w_hypot.c: Likewise.
43818         * math/w_hypotf.c: Likewise.
43819         * math/w_hypotl.c: Likewise.
43820         * math/w_j0.c: Likewise.
43821         * math/w_j0f.c: Likewise.
43822         * math/w_j0l.c: Likewise.
43823         * math/w_j1.c: Likewise.
43824         * math/w_j1f.c: Likewise.
43825         * math/w_j1l.c: Likewise.
43826         * math/w_jn.c: Likewise.
43827         * math/w_jnf.c: Likewise.
43828         * math/w_jnl.c: Likewise.
43829         * math/w_lgamma.c: Likewise.
43830         * math/w_lgamma_r.c: Likewise.
43831         * math/w_lgammaf.c: Likewise.
43832         * math/w_lgammaf_r.c: Likewise.
43833         * math/w_lgammal.c: Likewise.
43834         * math/w_lgammal_r.c: Likewise.
43835         * math/w_log.c: Likewise.
43836         * math/w_log10.c: Likewise.
43837         * math/w_log10f.c: Likewise.
43838         * math/w_log10l.c: Likewise.
43839         * math/w_log2.c: Likewise.
43840         * math/w_log2f.c: Likewise.
43841         * math/w_log2l.c: Likewise.
43842         * math/w_logf.c: Likewise.
43843         * math/w_logl.c: Likewise.
43844         * math/w_pow.c: Likewise.
43845         * math/w_powf.c: Likewise.
43846         * math/w_powl.c: Likewise.
43847         * math/w_remainder.c: Likewise.
43848         * math/w_remainderf.c: Likewise.
43849         * math/w_remainderl.c: Likewise.
43850         * math/w_scalb.c: Likewise.
43851         * math/w_scalbf.c: Likewise.
43852         * math/w_scalbl.c: Likewise.
43853         * math/w_sinh.c: Likewise.
43854         * math/w_sinhf.c: Likewise.
43855         * math/w_sinhl.c: Likewise.
43856         * math/w_sqrt.c: Likewise.
43857         * math/w_sqrtf.c: Likewise.
43858         * math/w_sqrtl.c: Likewise.
43859         * math/w_tgamma.c: Likewise.
43860         * math/w_tgammaf.c: Likewise.
43861         * math/w_tgammal.c: Likewise.
43862
43863         * po/ja.po: Update from translation team.
43864
43865 2011-09-29  Andreas Jaeger  <aj@suse.de>
43866
43867         [BZ #13179]
43868         * sunrpc/netname.c (netname2host): Fix logic.
43869
43870         [BZ #6779]
43871         [BZ #6783]
43872         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43873         correctly.
43874         * math/w_remainder.c (__remainder): Likewise.
43875         * math/w_remainderf.c (__remainderf): Likewise.
43876         * math/libm-test.inc (remainder_test): Add test cases.
43877
43878 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43879
43880         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43881         sdiv_qrnnd.
43882
43883 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43884
43885         * string/test-memcmp.c: Avoid unncessary #defines.
43886         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43887
43888 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43889
43890         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43891         Use new sse2 version for core i3 - i7 as it's faster
43892         than sse42 version.
43893         (bit_Prefer_PMINUB_for_stringop): New.
43894         * sysdeps/x86_64/rawmemchr.S: Update.
43895         Replace with faster SSE2 version.
43896         * sysdeps/x86_64/memrchr.S: New file.
43897         * sysdeps/x86_64/memchr.S: Update.
43898         Replace with faster SSE2 version.
43899
43900 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43901
43902         * elf/dl-load.c (lose): Add cast to avoid warning.
43903
43904 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43905
43906         * po/ca.po: Update from translation team.
43907
43908         * inet/getnetgrent_r.c: Hook up nscd.
43909         * nscd/Makefile (routines): Add nscd_netgroup.
43910         (nscd-modules): Add netgroupcache.
43911         (CFLAGS-netgroupcache.c): Define.
43912         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43913         (cache_search): Add const to second parameter.
43914         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43915         INNETGR.
43916         (dbs): Add netgrdb entry.
43917         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43918         (verify_persistent_db): Handle netgrdb.
43919         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43920         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43921         GETFDNETGR.
43922         (netgroup_response_header): Define.
43923         (innetgroup_response_header): Define.
43924         (datahead): Add netgroup_response_header and innetgroup_response_header
43925         elements.
43926         * nscd/nscd.conf: Add entries for netgroup cache.
43927         * nscd/nscd.h (dbtype): Add netgrdb.
43928         (_PATH_NSCD_NETGROUP_DB): Define.
43929         (netgroup_iov_disabled): Declare.
43930         (xmalloc, xcalloc, xrealloc): Move declarations here.
43931         (cache_search): Adjust prototype.
43932         Add netgroup-related prototypes.
43933         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43934         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43935         (__nscd_innetgr): Declare.
43936         * nscd/selinux.c (perms): Use access_vector_t as element type and
43937         add netgroup-related initializers.
43938         * nscd/netgroupcache.c: New file.
43939         * nscd/nscd_netgroup.c: New file.
43940         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43941         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43942         For four parameters use innetgr.
43943         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43944         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43945         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43946         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43947
43948         * nscd/connections.c (register_traced_file): Don't register file
43949         for disabled databases.
43950
43951 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43952
43953         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43954
43955         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43956         from tree and freeing node.
43957
43958 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43959
43960         * nss/nsswitch.c (__nss_database_lookup): Handle
43961         nss_parse_service_list out of memory case.
43962
43963 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43964
43965         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43966         out of memory case.
43967
43968 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43969
43970         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43971         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43972         pass it down.
43973         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43974         elf_machine_rela, elf_machine_lazy_rel.
43975         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43976         (ELF_DYNAMIC_DO_REL): Likewise.
43977         (ELF_DYNAMIC_DO_RELA): Likewise.
43978         (ELF_DYNAMIC_RELOCATE): Likewise.
43979         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43980         to ELF_DYNAMIC_DO_REL.
43981         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43982         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43983         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43984         elf_machine_rela.
43985         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43986         skip_ifunc, don't call ifunc function if non-zero.
43987         (elf_machine_rela): Likewise.
43988         (elf_machine_lazy_rel): Likewise.
43989         (elf_machine_lazy_rela): Likewise.
43990         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43991         (elf_machine_lazy_rel): Likewise.
43992         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43993         Likewise.
43994         (elf_machine_lazy_rel): Likewise.
43995         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43996         Likewise.
43997         (elf_machine_lazy_rel): Likewise.
43998         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43999         (elf_machine_lazy_rel): Likewise.
44000         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44001         (elf_machine_lazy_rel): Likewise.
44002         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44003         (elf_machine_lazy_rel): Likewise.
44004         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44005         (elf_machine_lazy_rel): Likewise.
44006         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44007         (elf_machine_lazy_rel): Likewise.
44008         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44009         (elf_machine_lazy_rel): Likewise.
44010
44011 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44012
44013         * nss/nss_files/files-init.c (_nss_files_init): Use static
44014         initialization for all the *_traced_file variables.
44015
44016 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44017
44018         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44019
44020 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44021
44022         [BZ #13226]
44023         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44024
44025 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44026
44027         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44028         Reread the line before reparsing it.
44029
44030 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44031
44032         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44033
44034 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44035             Maxim Kuvyrkov  <maxim@codesourcery.com>
44036             Joseph Myers  <joseph@codesourcery.com>
44037
44038         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44039         if needed for __stack_chk_guard.
44040
44041 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44042
44043         * sysdeps/posix/spawni.c (script_execute): Always define it.
44044         It will be optimized away if unused.
44045         (maybe_script_execute): New function.
44046         (__spawni): Call it.
44047
44048         * Makerules: Don't include tls.make.
44049         (config-tls): Always set to thread.
44050         * tls.make.c: File removed.
44051
44052 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44053
44054         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44055         * config.make.in (CPPFLAGS-config): New substituted variable.
44056
44057 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44058
44059         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44060
44061         [BZ #13192]
44062         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44063         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44064
44065 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44066
44067         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44068         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44069         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44070         (CALL_FAIL): Likewise.
44071         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44072         (CALL_FAIL): Macro removed.
44073         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44074
44075 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44076
44077         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44078         for __FINITE_MATH_ONLY__ == 1.
44079
44080 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44081
44082         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44083         __ieee754_sqrt instead of sqrt.
44084         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44085         __ieee754_sqrtf instead of sqrtf.
44086         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44087         __floorf instead of floorf.
44088         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44089         __floorf, __truncf instead of floorf, truncf.
44090
44091 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44092
44093         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44094
44095         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44096         __extern_always_inline.
44097         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44098         32-bit.
44099
44100 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44101
44102         * elf/rtld.c (dl_main): Also relocate in dependency order when
44103         doing symbol dependency testing.
44104
44105 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44106
44107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44108         Always define `refsym'.
44109
44110 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44111
44112         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44113         (__FD_ELT): Renamed from __FDELT.
44114         * misc/bits/select2.h (__FD_ELT): Likewise.
44115         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44116         __FD_MASK instead of __FDELT, __FDMASK.
44117         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44118         Likewise.
44119         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44120         Likewise.
44121
44122         * elf/Makefile (gen-ldd): Fix pattern.
44123
44124         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44125         (init_tls): Likewise.
44126
44127 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44128
44129         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44130
44131 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44132
44133         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44134         `struct cmsghdr *' instead of `void *'.
44135         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44136         Likewise.
44137
44138 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44139
44140         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44141         if non-absolute.
44142         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44143         ldd_rewrite_script.
44144
44145 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44146
44147         * configure.in: Remove --with-tls option.
44148         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44149         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44150         out in case it is missing.
44151         * sysdeps/ia64/elf/configure.in: Likewise.
44152         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44153         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44154         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44155         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44156         * sysdeps/sh/elf/configure.in: Likewise.
44157         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44158         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44159         * sysdeps/x86_64/elf/configure.in: Likewise.
44160         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44161         * sysdeps/mach/hurd/tls.h: Likewise.
44162
44163         [BZ #13067]
44164         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44165
44166         [BZ #13090]
44167         * configure.in: Fix use of AC_INIT.
44168
44169         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44170
44171 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44172
44173         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44174         __set_errno.
44175         * malloc/hooks.c: Likewise.
44176
44177         [BZ #11929]
44178         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44179         variables statically.
44180         (narenas): Initialize.
44181         (list_lock): Initialize.
44182         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44183         initializtion of main_arena and list_lock.  Small cleanups.
44184         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44185         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44186         Add initializers to main_arena and mp_.
44187         (malloc_state): Remove pagesize member.  Change all users to use
44188         GLRO(dl_pagesize).
44189
44190         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44191         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44192         is always initialized.
44193
44194         * malloc/malloc.c: Removed unused configurations and dead code.
44195         * malloc/arena.c: Likewise.
44196         * malloc/hooks.c: Likewise.
44197         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44198
44199         * include/tls.h: Removed.  USE___THREAD must always be defined.
44200         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44201         * elf/dl-libc.c: Likewise.
44202         * elf/dl-tsd.c: Likewise.
44203         * include/errno.h: Likewise.
44204         * include/netdb.h: Likewise.
44205         * include/resolv.h: Likewise.
44206         * inet/herrno-loc.c: Likewise.
44207         * inet/herrno.c: Likewise.
44208         * malloc/arena.c: Likewise.
44209         * malloc/hooks.c: Likewise.
44210         * malloc/malloc.c: Likewise.
44211         * resolv/res-state.c: Likewise.
44212         * resolv/res_libc.c: Likewise.
44213         * sysdeps/i386/dl-machine.h: Likewise.
44214         * sysdeps/ia64/dl-machine.h: Likewise.
44215         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44216         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44217         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44218         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44219         * sysdeps/sh/dl-machine.h: Likewise.
44220         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44221         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44222         * sysdeps/unix/i386/sysdep.S: Likewise.
44223         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44224         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44226         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44227         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44228         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44229         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44231         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44232         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44233         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44234         * sysdeps/x86_64/dl-machine.h: Likewise.
44235         * tls.make.c: Likewise.
44236
44237         * configure.in: Remove --with-__thread option.  Make tests for
44238         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44239         tls_model attribute fail if no support is available.  Remove
44240         USE_IN_LIBIO.
44241         * Makeconfig: Adjust for dropped configure option.  All features are
44242         now mandatory.
44243         * Makerules: Likewise.
44244         * Versions.def: Likewise.
44245         * argp/argp-fmtstream.c: Likewise.
44246         * argp/argp-fmtstream.h: Likewise.
44247         * argp/argp-help.c: Likewise.
44248         * assert/assert.c: Likewise.
44249         * config.h.in: Likewise.
44250         * config.make.in: Likewise.
44251         * configure: Likewise.
44252         * configure.in: Likewise.
44253         * csu/Versions: Likewise.
44254         * csu/init.c: Likewise.
44255         * elf/tst-audit2.c: Likewise.
44256         * elf/tst-tls10.c: Likewise.
44257         * elf/tst-tls10.h: Likewise.
44258         * elf/tst-tls11.c: Likewise.
44259         * elf/tst-tls12.c: Likewise.
44260         * elf/tst-tls14.c: Likewise.
44261         * elf/tst-tlsmod11.c: Likewise.
44262         * elf/tst-tlsmod12.c: Likewise.
44263         * elf/tst-tlsmod13.c: Likewise.
44264         * elf/tst-tlsmod13a.c: Likewise.
44265         * elf/tst-tlsmod14a.c: Likewise.
44266         * elf/tst-tlsmod15b.c: Likewise.
44267         * elf/tst-tlsmod16a.c: Likewise.
44268         * elf/tst-tlsmod16b.c: Likewise.
44269         * elf/tst-tlsmod7.c: Likewise.
44270         * elf/tst-tlsmod8.c: Likewise.
44271         * elf/tst-tlsmod9.c: Likewise.
44272         * gmon/gmon.c: Likewise.
44273         * grp/fgetgrent_r.c: Likewise.
44274         * grp/putgrent.c: Likewise.
44275         * hurd/fopenport.c: Likewise.
44276         * include/libc-symbols.h: Likewise.
44277         * include/tls.h: Likewise.
44278         * intl/gettextP.h: Likewise.
44279         * intl/loadinfo.h: Likewise.
44280         * locale/global-locale.c: Likewise.
44281         * locale/localeinfo.h: Likewise.
44282         * mach/devstream.c: Likewise.
44283         * malloc/arena.c: Likewise.
44284         * malloc/set-freeres.c: Likewise.
44285         * misc/err.c: Likewise.
44286         * misc/getttyent.c: Likewise.
44287         * misc/mntent_r.c: Likewise.
44288         * posix/getopt.c: Likewise.
44289         * posix/wordexp.c: Likewise.
44290         * pwd/fgetpwent_r.c: Likewise.
44291         * resolv/Versions: Likewise.
44292         * resolv/res_hconf.c: Likewise.
44293         * shadow/fgetspent_r.c: Likewise.
44294         * shadow/putspent.c: Likewise.
44295         * stdio-common/printf_fphex.c: Likewise.
44296         * stdio-common/tmpfile.c: Likewise.
44297         * stdlib/abort.c: Likewise.
44298         * stdlib/fmtmsg.c: Likewise.
44299         * sunrpc/auth_unix.c: Likewise.
44300         * sunrpc/clnt_perr.c: Likewise.
44301         * sunrpc/clnt_tcp.c: Likewise.
44302         * sunrpc/clnt_udp.c: Likewise.
44303         * sunrpc/clnt_unix.c: Likewise.
44304         * sunrpc/openchild.c: Likewise.
44305         * sunrpc/svc_simple.c: Likewise.
44306         * sunrpc/svc_tcp.c: Likewise.
44307         * sunrpc/svc_udp.c: Likewise.
44308         * sunrpc/svc_unix.c: Likewise.
44309         * sunrpc/xdr.c: Likewise.
44310         * sunrpc/xdr_array.c: Likewise.
44311         * sunrpc/xdr_rec.c: Likewise.
44312         * sunrpc/xdr_ref.c: Likewise.
44313         * sunrpc/xdr_stdio.c: Likewise.
44314
44315 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44316
44317         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44318
44319 2011-07-03  Andreas Jaeger  <aj@suse.de>
44320
44321         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44322         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44323         regenerate with gen-libm-tests.pl.
44324
44325 2010-05-12  Petr Baudis  <pasky@suse.cz>
44326
44327         [BZ #11589]
44328         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44329         around j0() zero points by switching to j1().
44330         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44331         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44332         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44333         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44334
44335 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44336
44337         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44338         instead of 0.
44339         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44340         instead of 0.
44341         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44342         Patch in part by Pavel Roskin <proski@gnu.org>.
44343
44344         [BZ #13138]
44345         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44346         realloc.
44347         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44348         Free memory block if necessary.
44349
44350         [BZ #12847]
44351         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44352         be NULL.  Don't lock in this case.
44353
44354 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44355
44356         * elf/elf.h (ELFOSABI_GNU): New macro.
44357         (ELFOSABI_LINUX): Define to that.
44358
44359 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44360
44361         * string/strncat.c (strncat): Undef the symbol in case it has been
44362         defined in bits/string.h.
44363
44364 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44365
44366         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44367
44368         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44369         link map.
44370
44371 2011-08-17  Andreas Jaeger  <aj@suse.de>
44372
44373         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44374
44375 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44376             Ian Lance Taylor  <iant@google.com>
44377
44378         * math/libm-test.inc (lround_test): New testcase.
44379         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44380
44381 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44382
44383         * Makefile: Remove support for automatic cvs check-ins.
44384         * Makerules: Likewise.
44385         * config.make.in: Likewise.
44386         * configure.in: Likewise.
44387         * intl/Makefile: Likewise.
44388         * locale/Makefile: Likewise.
44389         * po/Makefile: Likewise.
44390         * posix/Makefile: Likewise.
44391         * sysdeps/gnu/Makefile: Likewise.
44392         * sysdeps/mach/hurd/Makefile: Likewise.
44393         * sysdeps/sparc/sparc32/Makefile: Likewise.
44394
44395         [BZ #13118]
44396         * posix/Makefile (bug-regex32-ENV): Define.
44397         Patch by John Stanley <jpsinthemix@verizon.net>.
44398
44399         * misc/Makefile (headers): Add bits/select2.h.
44400         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44401         * misc/bits/select2.h: New file.
44402         * include/bits/select2.h: New file.
44403         * debug/Makefile (routines): Add fdelt_chk.
44404         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44405         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44406         FD_ISSET.
44407         * debug/fdelt_chk.c: New file.
44408
44409         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44410         * wcsmbs/test-wmemcmp.c: Likewise.
44411         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44412         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44413
44414 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44415
44416         * string/Makefile (strop-tests): Add memcmp.
44417         * string/test-wmemcmp.c: New file.
44418         * string/test-memcmp.c: Add wmemcmp support.
44419
44420 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44421
44422         [BZ #13153]
44423         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44424         2011-07-19 change.
44425
44426         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44427         garbage value in a __mach_port_mod_refs call in the cases of the
44428         task-self and thread-self ports.
44429
44430 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44431
44432         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44433
44434 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44435
44436         * elf/dl-load.c (lose): Check for non-null L.
44437
44438 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44439
44440         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44441
44442         * elf/dl-libc.c (dlerror_run): Pass back error code from
44443         dl_catch_error.
44444
44445         [BZ #13123]
44446         * elf/dl-load.c (lose): Free l_origin if it is valid.
44447
44448         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44449         names.
44450         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44451         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44452         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44453         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44454         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44455         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44456
44457 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44458
44459         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44460         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44461         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44462         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44463         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44464         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44465         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44466         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44467         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44468         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44469
44470 2011-08-15  Alan Modra  <amodra@gmail.com>
44471
44472         [BZ #13092]
44473         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44474         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44475         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44476         ppc_mcount to static-only-routines.
44477         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44478         __mcount_internal.
44479         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44480         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44481
44482 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44483
44484         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44485         for finite and infinity parameters.
44486
44487 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44488
44489         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44490         and add nop instructions for throughput optimization.
44491         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44492
44493 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44494
44495         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44496         aligned copy for power7 with vector-scalar instructions.
44497         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44498
44499 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44500
44501         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44502         AVX check.
44503
44504 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44505
44506         [BZ #13144]
44507         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44508         last change.
44509
44510 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44511
44512         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44513         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44514         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44515         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44516         clock_gettime.
44517
44518 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44519
44520         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44521         Forgot to demangle the pointer.
44522
44523         * sysdeps/i386/sysdep.h: Define atom_text_section.
44524         * sysdeps/x86_64/sysdep.h: Likewise.
44525         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44526         section with atom_text_section.
44527         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44528         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44529         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44530         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44531         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44532
44533         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44534         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44535         already be defined.  Change to take two parameters and don't assign
44536         result to variable.  Adjust all users.
44537         Define INTERNAL_GETTIME if not already defined.
44538         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44539         call.
44540         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44541         HAVE_CLOCK_GETTIME_VSYSCALL.
44542         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44543
44544         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44545         gettimeofday vsyscall, just use time.
44546
44547 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44548
44549         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44550         <errno.h>.
44551
44552 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44553
44554         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44555         syscall on x86-64.
44556         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44557         syscall.
44558         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44559         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44560         syscall if possible.
44561
44562 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44563
44564         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44565         e_ident.  Don't pass to find_mapsXX.
44566         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44567
44568 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44569
44570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44571         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44572         * sysdeps/x86_64/multiarch/strchr.S: Update.
44573         Check bit_slow_BSF bit.
44574         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44575         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44576         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44577
44578 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44579
44580         [BZ #13134]
44581         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44582         before glibc 2.15.
44583         (tryshell): Define.
44584         (__spawni): Change last parameter to be flag.  Test
44585         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44586         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44587         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44588         * posix/spawni.c: Likewise.
44589         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44590         * posix/spawnp.c: Likewise.  Change normal version to use
44591         SPAWN_XFLAGS_USE_PATH.
44592         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44593         SPAWN_XFLAGS_TRY_SHELL.
44594
44595         [BZ #13150]
44596         * posix/glob.h: Remove gcc 1.x support.
44597
44598         [BZ #13068]
44599         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44600
44601 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44602
44603         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44604         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44605         strrchr-sse2-bsf
44606         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44607         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44608         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44609         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44610         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44611         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44612
44613 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44614
44615         * sysdeps/x86_64/wcscmp.S: New file.
44616
44617         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44618         wcscmp-c wcscmp-sse2
44619         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44620         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44621         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44622         * wcsmbs/wcscmp.c: Allow renaming.
44623
44624 2011-09-05  David S. Miller  <davem@davemloft.net>
44625
44626         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44627         stack slot, rather than the struct return pointer slot.
44628         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44629         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44631         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44632
44633 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44634
44635         * po/ja.po: Update from translation team.
44636
44637         [BZ #13144]
44638         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44639         kernel in 64-bit binaries.
44640
44641 2011-09-01  David S. Miller  <davem@davemloft.net>
44642
44643         * elf/elf.h (HWCAP_SPARC_*): Move to..
44644         * sysdeps/sparc/sysdep.h: this new file and add new values.
44645         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44646         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44647         _DL_HWCAP_COUNT to 24.
44648         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44649         entries.
44650         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44651         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44652         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44653         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44654         instead of magic constants.
44655         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44656
44657 2011-08-31  David S. Miller  <davem@davemloft.net>
44658
44659         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44660         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44661         Reimplement to do errno handling inline.
44662         (SYSCALL_ERROR_HANDLER): New macro.
44663         (__SYSCALL_STRING): Do not do errno handling in asm.
44664         (__CLONE_SYSCALL_STRING): Delete.
44665         (__INTERNAL_SYSCALL_STRING): Delete.
44666         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44667         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44668         (PSEUDO): Reimplement to do errno handling inline.
44669         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44670         (SYSCALL_ERROR_HANDLER): New macro.
44671         (__SYSCALL_STRING): Do not do errno handling in asm.
44672         (__CLONE_SYSCALL_STRING): Delete.
44673         (__INTERNAL_SYSCALL_STRING): Delete.
44674         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44675         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44676         i386.
44677         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44678         (inline_syscall*): Add 'err' argument.
44679         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44680         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44681         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44682         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44683
44684         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44685         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44686
44687 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44688
44689         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44690
44691 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44692
44693         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44694         directive.
44695
44696 2011-08-24  David S. Miller  <davem@davemloft.net>
44697
44698         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44699
44700 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44701
44702         * elf/Makefile: Add rules to build and run unload8 test.
44703         * elf/unload8.c: New file.
44704         * elf/unload8mod1.c: New file.
44705         * elf/unload8mod1x.c: New file.
44706         * elf/unload8mod2.c: New file.
44707         * elf/unload8mod3.c: New file.
44708
44709         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44710         it wasn't used.
44711
44712 2011-08-23  David S. Miller  <davem@davemloft.net>
44713
44714         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44715         subtract stack bias.
44716         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44717         %sp not %fp in calculations.
44718         (_JMPBUF_UNWINDS_ADJ): Likewise.
44719
44720         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44721         (aio_suspend): Call it to force an exception region around the
44722         AIO_MISC_WAIT() invocation.
44723
44724 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44725
44726         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44727         backslash.
44728
44729 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44730
44731         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44732         protection macro.
44733         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44734         and <dl-machine.h>.
44735         (Elf64_FuncDesc): Remove.
44736
44737 2011-08-22  David S. Miller  <davem@davemloft.net>
44738
44739         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44740         sigaltstack check, add missing cfi directives.
44741         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44742         missing cfi directives, and sigaltstack handling.
44743
44744 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44745
44746         [BZ #11724]
44747         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44748         object is seen twice.
44749         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44750
44751         * elf/Makefile (distribute): Add tst-initorder2.c.
44752         (tests): Add tst-initorder2.
44753         (modules-names): Add tst-initorder2a tst-initorder2b
44754         tst-initorder2c tst-initorder2d.  Add rules to build them.
44755         ($(objpfx)tst-initorder2.out): New rule.
44756         * elf/tst-initorder2.c: New file.
44757         * elf/tst-initorder2.exp: New file.
44758
44759 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44760
44761         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44762
44763         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44764         dependencies back to end of function.
44765
44766         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44767         $(elfobjdir)/ld.so.
44768
44769 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44770
44771         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44772         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44773         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44774         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44775         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44776         of __vdso_gettimeofday.
44777         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44778         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44779         attribute_hidden.
44780         (_libc_vdso_platform_setup): Remove initialization of
44781         __vdso_gettimeofday and __vdso_time.
44782
44783 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44784
44785         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44786         and fgetc_unlocked.
44787         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44788         getc_unlocked.
44789
44790         * elf/dl-open.c (add_to_global): Report additions to the global scope
44791         for LD_DEBUG=scopes.
44792         (dl_open_worker): Also print scope of newly loaded dependencies.
44793         (_dl_show_scope): Indicate if there is no scope.
44794
44795         [BZ #13114]
44796         * stdio-common/Makefile (tests): Add bug24.
44797         * stdio-common/bug24.c: New file.
44798
44799 2011-08-19  Andreas Jaeger  <aj@suse.de>
44800
44801         [BZ #13114]
44802         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44803         non-existant file when using close-on-exec mode.
44804
44805 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44806
44807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44808         the very first instruction.
44809
44810         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44811         the CFI state in the end.
44812         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44813         inclusion of dl-trampoline.h.
44814         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44815
44816 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44817
44818         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44819         expectations for long double.
44820
44821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44822         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44823
44824 2011-08-14  David S. Miller  <davem@davemloft.net>
44825
44826         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44827         artificual limit depends upon the system page size.
44828
44829 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44830
44831         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44832         * resolv/Makefile: Define CFLAGS-libresolv.
44833
44834 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44835
44836         * nss/makedb.c (compute_tables): Make variables used in nested
44837         function static.
44838
44839 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44840
44841         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44842         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44843         if buffer was too small.
44844
44845         * elf/pldd.c (main): Attach to all threads in the process.
44846         Rewrite /proc handling to use *at functions.
44847
44848 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44849
44850         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44851         specifies first scope to show.
44852         (dl_open_worker): Update callers.  Move printing scope of new
44853         object to before the relocation.
44854         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44855         * sysdeps/generic/ldsodefs.h: Update declaration.
44856
44857         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44858         string for the scope number.
44859
44860 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44861
44862         * nscd/servicescache.c (cache_addserv): Make sure written is always
44863         initialized.
44864
44865 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44866
44867         * sysdeps/i386/i486/bits/atomic.h
44868         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44869         statement expression, so as to suppress "set but not used" warning.
44870         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44871
44872         * string/strncat.c (STRNCAT): Use prototype definition.
44873
44874         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44875         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44876         -Iprograms here.
44877         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44878         (localedef-modules): Add localedef.
44879         (locale-modules): Add locale.
44880
44881         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44882         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44883         to avoid a warning.
44884
44885 2011-08-14  David S. Miller  <davem@davemloft.net>
44886
44887         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44888         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44889
44890 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44891
44892         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44893         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44894         * elf/rtld.c (dl_main): Set l_name of vDSO.
44895         Call _dl_show_scope when DL_DEBUG_SCOPES.
44896         (process_dl_debug): Recognize scopes flag and also set it for all.
44897         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44898         Declare _dl_show_scope.
44899
44900         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44901         (do_dlopen): Pass caller_dlopen to dl_open.
44902         (__libc_dlopen_mode): Initialize caller_dlopen.
44903
44904         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44905         of libc.  Make tolower call locale-independent.  Optimize a bit by
44906         using isdigit instead of isalnum.
44907         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44908
44909 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44910
44911         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44912         was a dependency or dynamically loaded.
44913
44914 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44915
44916         * intl/l10nflist.c: Allow architecture-specific pop function.
44917         * sysdeps/x86_64/l10nflist.c: New file.
44918
44919         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44920         classification.
44921
44922 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44923
44924         * include/dirent.h: Add libc_hidden_proto for scandirat and
44925         scandirat64.  Don't declare __scandirat64.
44926         * dirent/scandirat.c: Add libc_hidden_def.
44927         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44928         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44929
44930 2011-08-10  David S. Miller  <davem@davemloft.net>
44931
44932         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44933         enum.
44934         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44935         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44936         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44937
44938 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44939
44940         * Versions.def [libc]: Add GLIBC_2.15.
44941         * dirent/Makefile (routines): Add scandirat and scandirat64.
44942         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44943         GLIBC_2.15.
44944         * dirent/dirent.h: Declare scandirat and scandirat64.
44945         * dirent/scandirat.c: New file.
44946         * dirent/scandirat64.c: New file.
44947         * sysdeps/wordsize-64/scandirat.c: New file.
44948         * sysdeps/wordsize-64/scandirat64.c: New file.
44949         * dirent/opendir.c: Define opendirat.
44950         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44951         using scandirat.
44952         * dirent/scandir64.c: Adjust for scandir.c change.
44953         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44954         __scandirat64, and __scandir_cancel_handler.
44955         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44956         additional parameter and use openat instead of open (outside of ld.so).
44957         Add new __opendir as wrapper around __opendirat.
44958         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44959         here without requiring old scandirat implementation.
44960
44961 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44962
44963         * dirent/scandir.c (cancel_handler): Renamed to
44964         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44965         defined.  Adjust users.
44966         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44967         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44968
44969 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44970
44971         * string/test-string.h (IMPL): Use __STRING to expand name and then
44972         stringify it.
44973
44974         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44975         of cleanups.
44976
44977 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44978
44979         * string/Makefile: Update.
44980         (strop-tests): Append strncat.
44981         * string/test-wcscmp.c: New file.
44982         New comprehensive test for wcscmp.
44983         * string/test-strcmp.c: Update.
44984         (WIDE): New define.
44985
44986 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44987
44988         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44989         line.
44990
44991 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44992
44993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44994         encoding to ACE if AI_IDN.
44995
44996 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44997
44998         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44999         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45000
45001 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45002
45003         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45004         Fix overflow bug in strncat.
45005         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45006
45007         * string/test-strncat.c: Update.
45008         Add new tests for checking overflow bugs.
45009
45010 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45011
45012         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45013         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45014         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45015         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45016         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45017         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45018         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45019         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45020         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45021
45022         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45023         (USE_AS_STRCAT): Define.
45024         Add strcat and strncat support.
45025         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45026
45027 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45028
45029         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45030         __n bigger than INT_MAX+1.
45031         (__strncmp_g): Likewise.
45032
45033 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45034
45035         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45036         * libio/stido.h: Likewise.
45037
45038         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45039         (AF_NFC): Define.
45040         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45041         (AF_NFC): Define.
45042
45043         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45044         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45045         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45046         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45047         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45048
45049         [BZ #13021]
45050         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45051         installed.
45052
45053         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45054         typo.
45055         (_dl_x86_64_save_sse): Likewise.
45056
45057 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45058
45059         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45060         OSXSAVE.
45061         (_dl_x86_64_save_sse): Likewise.
45062
45063         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45064
45065         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45066
45067 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45068
45069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45070         change.
45071         (_dl_x86_64_save_sse): Use correct AVX check.
45072
45073 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45074
45075         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45076         bug in strncpy/strncat.
45077         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45078
45079 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45080
45081         * string/tester.c (test_strcat): Add tests for different alignments
45082         of source and destination.
45083         (test_strncat): Likewise.
45084
45085 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45086
45087         [BZ #12852]
45088         * posix/glob.c (glob): Check passed in values before using them in
45089         expressions to avoid some overflows.
45090         (glob_in_dir): Likewise.
45091
45092         [BZ #13007]
45093         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45094         check for AVX enablement so that we don't crash with old kernels and
45095         new hardware.
45096         * elf/tst-audit4.c: Add same checks here.
45097         * elf/tst-audit6.c: Likewise.
45098
45099         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45100
45101 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45102
45103         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45104
45105 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45106
45107         * po/cs.po: Update from translation team.
45108         * po/bg.po: Likewise.
45109
45110 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45111
45112         * misc/sys/cdefs.h: Add support for const attribute.
45113         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45114         to gnu_dev_{major,minor,makedev} functions.
45115
45116 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45117
45118         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45119
45120 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45121
45122         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45123         strlen results.
45124
45125 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45126
45127         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45128         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45129         register in order to avoid conflicts with the soft frame pointer
45130         being held in r11 when necessary.
45131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45132         (INTERNAL_VSYSCALL_NCS): Likewise.
45133
45134 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45135
45136         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45137         * elf/dl-fini.c (_dl_fini): Adjust caller.
45138         * elf/dl-close.c (_dl_close_worker): Likewise.
45139         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45140
45141 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45142
45143         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45144         "aux_cache->nlibs < 0".
45145
45146         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45147         in the reload-count case.
45148
45149 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45150
45151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45152         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45153         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45154         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45155         * sysdeps/x86_64/multiarch/strcat.S: New file.
45156         * sysdeps/x86_64/multiarch/strncat.S: New file.
45157         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45158         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45159         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45160         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45161         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45162         (USE_AS_STRCAT): Define.
45163         Add strcat and strncat support.
45164         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45165         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45166         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45167         * string/strncat.c: Update.
45168         (USE_AS_STRNCAT): Define.
45169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45170         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45171         and i7.
45172         * sysdeps/x86_64/multiarch/init-arch.h
45173         (bit_Prefer_PMINUB_for_stringop): New.
45174         (index_Prefer_PMINUB_for_stringop): Likewise.
45175         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45176         bit_Prefer_PMINUB_for_stringop.
45177
45178 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45179
45180         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45181         buffer64.
45182         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45183         of casting of buffer.
45184         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45185         buffer32 and buffer64.
45186         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45187         writes instead of casting of buffer.
45188         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45189         buffer32.
45190         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45191         casting of buffer.
45192
45193 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45194
45195         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45196
45197 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45198
45199         * nscd/nscd.c (termination_handler): Don't do anything for a database
45200         if it has not yet been initialized.
45201
45202 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45203
45204         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45205
45206 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45207
45208         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45209
45210 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45211
45212         * po/nl.po: Update from translation team.
45213         * po/sv.po: Likewise.
45214
45215 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45216
45217         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45218         now disallowed by GCC.
45219
45220         * configure.in (use-default-link): Default to yes if a test -shared
45221         link meets our qualifications.
45222         * configure: Regenerated.
45223
45224         * config.make.in (output-format): New variable.
45225         * configure.in: Check for ld --print-output-format support.
45226         * configure: Regenerated.
45227         * Makerules ($(common-objpfx)format.lds)
45228         [$(output-format) != unknown]: Just use $(output-format),
45229         instead of the linker-script munging.
45230
45231 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45232
45233         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45234         of $(common-objpfx)shlib.lds.
45235         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45236
45237         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45238         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45239
45240         * configure.in (-z relro check): Adjust test code to add a large
45241         writable data section after it.
45242         * configure: Regenerated.
45243
45244 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45245
45246         * configure.in (-z relro check): Fix test code to make the variable
45247         truly const.
45248         * configure: Regenerated.
45249
45250 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45251
45252         * nscd/nscd.h (struct traced_file): Define.
45253         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45254         elements.  Add traced_files.
45255         (inotify_fd): Declare.
45256         (register_traced_file): Declare.
45257         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45258         (inotify_fd): Export.
45259         (resolv_conf_descr): Remove.
45260         (nscd_init): Move inotify descriptor creation to main.
45261         Don't register files for notification here.
45262         (register_traced_file): New function.
45263         (invalidate_cache): Don't use reset_res to determine whether to call
45264         res_init, go through the list of registered files.
45265         (main_loop_poll): The inotify descriptors are now stored in the
45266         structures for the traced files.
45267         (main_loop_epoll): Likewise
45268         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45269         to __nss_disable_nscd.
45270         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45271         for a database anymore.  Check the records for all the registered
45272         files instead.
45273         * nss/Makefile (libnss_files-routines): Add files-init.
45274         (libnss_db-routines): Add db-init.
45275         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45276         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45277         * nss/nss_db/db-init.c: New file.
45278         * nss/nss_files/files-init.c: New file.
45279         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45280         __nss_lookup_function.
45281         (__nss_lookup_function): Call nss_load_library.
45282         (nss_load_all_libraries): New function.
45283         (__nss_disable_nscd): Take parameter with callback function for files
45284         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45285         used for the cached services.
45286         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45287         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45288         options for features to all the files in nscd.
45289
45290         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45291
45292 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45293
45294         * csu/elf-init.c (__libc_csu_init): Comment typo.
45295
45296 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45297
45298         * po/pl.po: Update from translation team.
45299         * po/ja.po: Likewise.
45300         * po/ru.po: Likewise.
45301         * po/ko.po: Likewise.
45302         * po/fr.po: Likewise.
45303
45304 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45305
45306         * configure.in (.ctors/.dtors header and trailer check):
45307         Use an empirical test on a built program.
45308         * configure: Regenerated.
45309
45310         * configure.in (-z relro check): Use an empirical test on a built DSO.
45311         Detect, but do not require, on ia64.
45312         * configure: Regenerated.
45313
45314         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45315         Update tests that use readelf to use $READELF instead.
45316         * configure: Regenerated.
45317
45318 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45319
45320         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45321         if the result is not used.
45322
45323 2011-07-05  Andreas Jaeger  <aj@suse.de>
45324
45325         [BZ#9696]
45326         * stdlib/tst-strtod.c: Add testcase.
45327
45328 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45329
45330         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45331         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45332         The latter has a higher limit.  Take additional parameter to pass to
45333         the new function.
45334         (__pathconf): Pass file to __statfs_link_max.
45335         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45336         __statfs_link_max.
45337         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45338         __statfs_link_max.
45339
45340         [BZ #12868]
45341         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45342         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45343         Handle Lustre.
45344         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45345         (__statfs_filesize_max): Likewise.
45346         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45347
45348 2011-07-05  Andreas Jaeger  <aj@suse.de>
45349
45350         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45351
45352 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45353
45354         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45355         `status' variable.
45356         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45357         Likewise.
45358
45359 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45360
45361         * Makefile (strop-tests): Add strncat.
45362         * string/test-strncat.c: New file.
45363
45364 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45365
45366         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45367
45368 2011-06-21  Andreas Jaeger  <aj@suse.de>
45369
45370         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45371         Copy rule from iconvdata/Makefile.
45372
45373 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45374
45375         [BZ #12922]
45376         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45377         but no long options are defined, just return 'W'.
45378
45379 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45380
45381         [BZ #9696]
45382         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45383
45384 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45385
45386         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45387         netgroups to read.
45388         (innetgr): Likewise.
45389
45390 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45391
45392         * config.make.in (install_root): Default to $(DESTDIR).
45393
45394 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45395
45396         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45397
45398 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45399
45400         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45401
45402         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45403         containing directory rather than embedding absolute directory names.
45404
45405         * scripts/check-local-headers.sh: Rewritten using awk.
45406         Match by word, not by line.  Print error messages for matches.
45407         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45408
45409         * Makerules [shlib-lds-flags empty]:
45410         ($(common-objpfx)libc_pic.opts): New target.
45411         ($(common-objpfx)libc_pic.os.clean): New target.
45412         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45413
45414         * config.make.in (OBJCOPY): New variable.
45415         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45416         * configure: Regenerated.
45417
45418         * config.make.in (use-default-link): New variable.
45419         * configure.in (use_default_link): Grok --with-default-link to set it.
45420         * configure: Regenerated.
45421         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45422         (shlib-lds, shlib-lds-flags): Define to empty.
45423
45424         * Makerules (shlib-lds): New variable.
45425         (shlib-lds-flags): New variable.
45426         (build-shlib, build-moduile, build-module-asneeded): Use it.
45427         ($(common-objpfx)libc.so): Use $(shlib-lds).
45428         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45429         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45430
45431         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45432         DT_FLAGS/DT_FLAGS_1 with zero flags.
45433
45434         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45435         linker script munging.
45436
45437 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45438
45439         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45440         as 128-bit value.
45441         * crypt/sha512.c (sha512_process_block): Perform total addition using
45442         128-bit if possible.
45443         (__sha512_finish_ctx): Likewise.
45444         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45445         as 64-bit value.
45446         * crypt/sha256.c (SWAP64): Define.
45447         (sha256_process_block): Perform total addition using 64-bit if
45448         possible.
45449         (__sha256_finish_ctx): Likewise.
45450
45451 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45452
45453         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45454         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45455         * nscd/hstcache.c (cache_addhst): Likewise.
45456         * nscd/grpcache.c (cache_addgr): Likewise.
45457         * nscd/aicache.c (addhstaiX): Likewise
45458         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45459
45460 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45461
45462         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45463         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45464         * nscd/hstcache.c (cache_addhst): Likewise.
45465         * nscd/grpcache.c (cache_addgr): Likewise.
45466         * nscd/aicache.c (addhstaiX): Likewise
45467
45468 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45469
45470         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45471         domain only when needed.
45472
45473 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45474
45475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45476         is always restored.
45477
45478 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45479
45480         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45481         are re-adding the entry.
45482         * nscd/servicescache.c (cache_addserv): Likewise.
45483
45484 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45485
45486         * sysdeps/generic/dl-irel.h: fix protection against multiple
45487         inclusions.
45488         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45489
45490 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45491
45492         [BZ #12935]
45493         * malloc/memusage.sh: Fix quoting in message.
45494         * debug/xtrace.sh: Likewise.
45495
45496         * configure.in: Remove support for --experimental-malloc option, make
45497         it the default.
45498         * config.make.in: Likewise.
45499         * malloc/Makefile: Likewise.
45500
45501 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45502
45503         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45504         two-byte characters.
45505
45506 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45507
45508         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45509         AC_CACHE_CHECK invocation.
45510         * configure: Regenerated.
45511
45512         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45513
45514 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45515
45516         [BZ #12350]
45517         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45518         bit from old_res_options.
45519
45520         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45521
45522         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45523         value type for setfct.
45524
45525 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45526
45527         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45528         __gettimeofday instead of gettimeofday.
45529
45530 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45531
45532         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45533
45534 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45535
45536         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45537
45538         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45539         info.
45540
45541 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45542
45543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45544         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45545         strcpy-sse2-unaligned strncpy-sse2-unaligned
45546         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45547         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45548         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45549         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45550         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45551         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45552         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45553         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45554         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45555         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45556         (STRCPY): Support SSE2 and SSSE3 versions.
45557
45558 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45559
45560         [BZ #12874]
45561         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45562         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45563         kernels which artificially limit size of requests.
45564
45565 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45566
45567         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45568         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45569         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45570         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45571         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45572         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45573         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45574         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45575         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45576         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45577         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45578         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45579         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45580         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45581         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45583         Enable unaligned load optimization for Intel Core i3, i5 and i7
45584         processors.
45585         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45586         Define.
45587         (index_Fast_Unaligned_Load): Define.
45588         (HAS_FAST_UNALIGNED_LOAD): Define.
45589
45590 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45591
45592         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45593
45594 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45595
45596         [BZ #12907]
45597         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45598         until it is clear that the information is realy needed.
45599         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45600
45601 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45602
45603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45604
45605 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45606
45607         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45608         /sys/devices/system/cpu/online if it is usable.
45609
45610         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45611         reading the information from the /proc filesystem to once a second.
45612
45613 2011-06-21  Andreas Jaeger  <aj@suse.de>
45614
45615         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45616         NULL after inclusion of kernel headers.
45617
45618 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45619
45620         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45621         calls to internal_setent.
45622
45623         [BZ #12885]
45624         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45625         addresses using gethostbyname4_r ignore IPv4 addresses.
45626
45627         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45628         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45629
45630         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45631
45632 2011-06-20  David S. Miller  <davem@davemloft.net>
45633
45634         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45635         inclusions.
45636         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45637
45638         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45639         (elf_irel): Use it.
45640         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45641         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45642         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45643         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45644         * sysdeps/x86_64/dl-irel.h: Likewise.
45645
45646         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45647         * elf/dl-sym.c: Likewise.
45648
45649 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45650
45651         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45652         need to dereference resplen2.
45653
45654 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45655
45656         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45657
45658 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45659
45660         * Makeconfig: Define vardbdir and inst_vardbdir.
45661         * nss/Makefile: Add rules to install db-Makefile.
45662
45663         * nss/nss_db/db-XXX.c: Cleanup.
45664
45665         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45666         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45667         GLIBC_PRIVATE.
45668         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45669         * nss/makedb.c: Implement -g option to specify that value strings
45670         are generated and should not be added to table iterated over for
45671         get*ent calls.
45672         * nss/nss_db/db-initgroups.c: New file.
45673
45674         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45675         interface.
45676
45677         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45678         (internal_getgrouplist): Adjust to name change.
45679         Update use_initgroups_entry if this is not the first call.
45680         * nss/databases.def: Add initgroups entry.
45681
45682         * nss/makedb.c (compute_tables): Check result of multiple hash table
45683         sizes to minimize maximum chain length.
45684
45685 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45686
45687         * Versions.def: Add entry for libnss_db.
45688         * shlib-versions: Likewise.
45689         * nss/Makefile: Add rules to build libnss_db.
45690         * nss/Versions: Add libnss_db information.  Organize libnss_files
45691         entries better.
45692         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45693         makedb progra.  Some minor improvements to generate smaller files.
45694         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45695         here from...
45696         * nss/makedb.c: ...here.
45697         Improve database format to be smaller and require less memory at
45698         runtime.
45699         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45700         db anymore.
45701         * nss/nss_db/db-netgrp.c: Likewise.
45702         * nss/nss_db/db-open.c: Likewise.
45703         * nss/nss_files/flies-XXX.x: Adjust comments.
45704         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45705         * nss/nss_files/files-grp.c: Likewise.
45706         * nss/nss_files/files-hosts.c: Likewise.
45707         * nss/nss_files/files-network.c: Likewise.
45708         * nss/nss_files/files-proto.c: Likewise.
45709         * nss/nss_files/files-pwd.c: Likewise.
45710         * nss/nss_files/files-rpc.c: Likewise.
45711         * nss/nss_files/files-service.c: Likewise.
45712         * nss/nss_files/files-sgrp.c: Likewise.
45713         * nss/nss_files/files-spwd.c: Likewise.
45714         * nss/nss_db/db-alias.c: Removed.
45715         * nss/nss_db/dummy-db.h: Removed.
45716
45717 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45718
45719         * nss/makedb.c: Rewritten to not use database library.
45720         * nss/Makefile: Update to build new makedb program.
45721
45722 2011-06-14  Andreas Jaeger  <aj@suse.de>
45723
45724         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45725         memset declaration.
45726
45727 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45728
45729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45730         tmpbuf.
45731
45732 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45733
45734         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45735         * elf/Makefile ($(objpfx)ld.so): Likewise.
45736
45737         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45738         Don't list ld.so twice in dependencies.
45739
45740         * posix/bug-regex31.c: Include <stdlib.h>.
45741
45742         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45743
45744         * nis/nss_compat/compat-spwd.c
45745         (getspent_next_nss_netgr): Remove unused variable.
45746         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45747
45748         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45749         nonmembers" output to use the right array.
45750
45751         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45752
45753         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45754
45755         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45756         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45757         * catgets/gencat.c (read_input_file): Likewise.
45758         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45759
45760         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45761         variable definition inside #if's controlling its use.
45762
45763         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45764
45765         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45766
45767         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45768
45769         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45770         unreachable code.
45771
45772         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45773
45774         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45775         * configure: Regenerated.
45776
45777         * Makerules: Revert last change.
45778         * elf/Makefile: Likewise.
45779
45780 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45781
45782         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45783         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45784         (reloc-link): Likewise.
45785
45786 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45787
45788         * elf/Makefile: Add rules to build pldd.
45789         * elf/pldd.c: New file.
45790         * elf/pldd-xx.c: New file.
45791
45792 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45793
45794         * version.h: Update for 2.15 development version.
45795
45796 2011-06-07  David S. Miller  <davem@davemloft.net>
45797
45798         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45799         ifuncs.
45800         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45801         elf_machine_lazy_rel): Likewise.
45802         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45803         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45804         elf_machine_lazy_rel): Likewise.
45805         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45806         dl_hwcap via passed in argument.
45807         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45808         Likewise.
45809
45810 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45811
45812         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45813
45814 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45815
45816         [BZ #12849]
45817         * manual/fdl-1.1.texi: New file, verbatim from:
45818         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45819         * manual/lgpl-2.1.texi: New file, verbatim from:
45820         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45821         * manual/Makefile (licenses): New variable, list those new file names.
45822         (texis): Use it.
45823         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45824
45825         * manual/fdl.texi: File removed.
45826         * manual/lesser.texi: File removed.
45827         * manual/libc.texinfo (Copying, Documentation License):
45828         Use new @include file names, put @appendix directive before @include.
45829
45830 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45831
45832         [BZ #12841]
45833         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45834         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45835         (mq_open): Add __NTH.
45836
45837 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45838
45839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45840         Assume Intel Core i3/i5/i7 processor if AVX is available.
45841
45842 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45843
45844         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45845         typo.
45846
45847 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45848
45849         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45850         memory.  Use alloca_account.  Fix memory leak when retrying.
45851
45852 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45853
45854         * version.h (RELEASE): Bump for 2.14 release.
45855         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45856
45857         * config.make.in (RANLIB): Remove entry.
45858
45859 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45860
45861         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45862         (libc.pot): Work around missing support for .ksh extension in xgettext.
45863
45864         [BZ #12684]
45865         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45866         if both request failed.
45867         (send_dg): In case of server errors clear resplen or *resplen2.
45868
45869         [BZ #12454]
45870         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45871         when there are multiple maps.
45872         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45873         (_dl_fini): Remove test here.
45874
45875         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45876
45877 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45878
45879         [BZ #12350]
45880         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45881         bit from old_res_options.
45882         (gaih_inet): Likewise.
45883
45884         [BZ #11099]
45885         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45886         as signed.
45887
45888         * resolv/res_init.c (res_setoptions): Make the code more compact.
45889
45890         [BZ #11558]
45891         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45892         set RES_USEVC.
45893
45894         [BZ #11634]
45895         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45896
45897         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45898
45899         [BZ #11781]
45900         * malloc/malloc.h: Declare malloc hook variables as volatile.
45901
45902         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45903         in last patch.
45904
45905         [BZ #11799]
45906         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45907         raise in the comment.
45908         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45909         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45910         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45911
45912 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45913
45914         [BZ #12811]
45915         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45916         grow the buffers more if it already has to be sufficient.
45917         (build_wcs_upper_buffer): Likewise.
45918         * posix/regexec.c (check_matching): Likewise.
45919         (clean_state_log_if_needed): Likewise.
45920         (extend_buffers): Don't enlarge buffers beyond size of the input
45921         buffer.
45922         Patches mostly by Emil Wojak <emil@wojak.eu>.
45923         * posix/bug-regex32.c: New file.
45924         * posix/Makefile (tests): Add bug-regex32.
45925
45926         * locale/findlocale.c (_nl_find_locale): Return right away if
45927         _nl_explode_name failed.
45928         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45929
45930         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45931
45932         * debug/xtrace.sh: Unify messages.
45933         * malloc/memusage.sh: Likewise.
45934
45935         [BZ #12813]
45936         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45937         time symbol from vDSO.  Substitute with vsyscall if not available.
45938         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45939         __vdso_time.
45940
45941         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45942         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45943         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45944         Add sendmmsg and internal_sendmmsg.
45945         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45946         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45947         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45948
45949         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45950         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45951         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45952
45953 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45954
45955         [BZ #12813]
45956         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45957         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45958         available.
45959         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45960         __vdso_getcpu.
45961
45962         [BZ #12814]
45963         * iconvdata/Makefile (tests): Add bug-iconv9.
45964         * iconvdata/bug-iconv9.c: New file.
45965
45966 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45967
45968         [BZ #12814]
45969         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45970
45971 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45972
45973         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45974         (struct user_regs_struct): Change intcs field back to cs.
45975
45976 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45977
45978         * po/ja.po: Update from translation team.
45979
45980 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45981
45982         [BZ #12795]
45983         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45984         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45985
45986 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45987
45988         * stdlib/longlong.h: Update from GCC.
45989
45990 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45991
45992         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45993         parameter name.
45994         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45995         Add parameter name.
45996         (__sysconf): Pass it down.
45997
45998 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45999
46000         [BZ #12671]
46001         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46002         some situations.
46003         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46004         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46005         add in in __libc_use_alloca calls.  Adjust callers.
46006         (glob): Use malloc in some situations.
46007
46008         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46009         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46010         pltexit.
46011
46012 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46013
46014         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46015         and CLOCK_BOOTTIME_ALARM.
46016
46017         [BZ #12782]
46018         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46019         is returned.
46020
46021         * string/_strerror.c (__strerror_r): Print negative errors as signed
46022         numbers.
46023
46024         [BZ #12777]
46025         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46026         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46027         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46028
46029         * configure.in: Fix typo in redirection and correct removal of test
46030         files in two cases.
46031
46032         [BZ #12788]
46033         * locale/setlocale.c (new_composite_name): Fix test to check for
46034         identical name of all categories.
46035
46036         [BZ #12792]
46037         * libio/filedoalloc.c (local_isatty): New function.
46038         (_IO_file_doallocate): Use local_isatty.
46039         * stdio-common/perror.c (perror): In case a new stream is used
46040         forward the stream error.
46041         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46042         error flag.
46043
46044 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46045
46046         [BZ #11869]
46047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46048         alloca.
46049         * include/alloca.h (extend_alloca_account): Define.
46050
46051         [BZ #11857]
46052         * posix/regex.h: Fix comments with documentation of user-accessible
46053         fields after compilation and describe correct free'ing of pattern
46054         after re_compile_pattern.
46055         Patch by Reuben Thomas <rrt@sc3d.org>.
46056
46057 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46058
46059         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46060         and -mno-altivec to prevent the compiler from using Altivec and/or
46061         VSX instructions when the corresponding registers are not available.
46062
46063 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46064
46065         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46066
46067 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46068
46069         * libio/freopen.c (freopen): Use __dup2, not dup2.
46070         * libio/freopen64.c (freopen64): Likewise.
46071
46072 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46073
46074         [BZ #12775]
46075         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46076         * math/Makefile (tests): Add test-powl.
46077         (CFLAGS-test-powl.c): Define.
46078         * math/test-powl.c: New file.
46079
46080 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46081
46082         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46083
46084 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46085
46086         [BZ #11837]
46087         * iconvdata/gb18030.c: Update to GB18020-2005.
46088
46089 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46090
46091         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46092         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46093         Patch by Aharon Robbins <arnold@skeeve.com>.
46094
46095         [BZ #11892]
46096         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46097         on the stack.
46098
46099         [BZ #11895]
46100         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46101         through underflows.
46102
46103         [BZ #12766]
46104         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46105         point to strings before performing equality test for error_one_per_line
46106         mode.
46107
46108         [BZ #11697]
46109         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46110
46111         [BZ #11820]
46112         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46113         (struct user_fpregs_struct): Avoid __uint*_t types.
46114
46115         [BZ #6420]
46116         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46117         symbol info.  Use it instead of calling _dl_addr locally.
46118         (lock_and_info): New function.
46119         (tr_freehook): Call lock_and_info and pass symbol info as additional
46120         parameter to tr_where.
46121         (tr_mallochook): Likewise.
46122         (tr_reallochook): Likewise.
46123         (tr_memalignhook): Likewise.
46124
46125         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46126         used and couldn't be at all thread-safe.
46127
46128 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46129
46130         * libio/freopen.c (freopen): Don't close old file descriptor
46131         before the new one is opened.  Instead dup the new file descriptor
46132         to the old one after the new stream is created.
46133         * libio/freopen64.c (freopen64): Likewise.
46134         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46135         * libio/fileops.c (_IO_new_file_close_it): Handle new
46136         _IO_FLAGS2_NOCLOSE flag.
46137         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46138         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46139         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46140         _IO_FLAGS2_NOCLOSE flag.
46141         * include/unistd.h: Add hidden_proto for dup3.
46142         Define __have_dup3.
46143         * io/dup3.c: Define hidden symbol.
46144         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46145
46146         [BZ #7101]
46147         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46148         when an incomplete long option is used.
46149         * posix/tst-getopt_long1.c: New file.
46150         * posix/Makefile (tests): Add tst-getopt_long1.
46151
46152         [BZ #10138]
46153         * scripts/config.guess: Update from autoconf-2.68.
46154         * scripts/config.sub: Likewise.
46155
46156         [BZ #10157]
46157         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46158         tests into ...
46159         (has_cpuclock): ...this.  New function.
46160         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46161         macro here based on has_cpuclock code.
46162
46163         [BZ #10149]
46164         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46165         First byte (not low byte) is now always NUL.
46166         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46167
46168         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46169         Use non-cancelable interfaces.
46170
46171         [BZ #9809]
46172         * locale/iso-639.def: Add entry for Sorani.
46173
46174         [BZ #11901]
46175         * include/stdlib.h: Move include protection to the right place.
46176         Define abort_msg_s.  Declare __abort_msg with it.
46177         * stdlib/abort.c (__abort_msg): Adjust type.
46178         * assert/assert.c (__assert_fail_base): New function.  Majority
46179         of code from __assert_fail.  Allocate memory for __abort_msg with
46180         mmap.
46181         (__assert_fail): Now call __assert_fail_base.
46182         * assert/assert-perr.c: Remove bulk of implementation.  Use
46183         __assert_fail_base.
46184         * include/assert.hL Declare __assert_fail_base.
46185         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46186         mmap.
46187         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46188
46189 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46190
46191         [BZ #11952]
46192         [BZ #12453]
46193         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46194         until all modules are registered in the DTV.
46195         * elf/Makefile: Add rules to build and run tst-tls19.
46196         * elf/tst-tls19.c: New file.
46197         * elf/tst-tls19mod1.c: New file.
46198         * elf/tst-tls19mod2.c: New file.
46199         * elf/tst-tls19mod3.c: New file.
46200         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46201
46202         [BZ #12083]
46203         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46204         correctly.
46205
46206         [BZ #12601]
46207         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46208         two-byte sequence errors.
46209         * iconvdata/Makefile (tests): Add bug-iconv8.
46210         * iconvdata/bug-iconv8.c: New file.
46211
46212         [BZ #12626]
46213         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46214         buf2 definition.
46215
46216         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46217
46218         [BZ #12432]
46219         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46220         (dummy_getcfa): New function.
46221         (init): Get _Unwind_GetCFA address, use dummy if not found.
46222         (backtrace_helper): In recursion check, also check whether CFA changes.
46223         (__backtrace): Completely initialize arg.
46224
46225         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46226         storing incomplete byte sequence in state object.  Avoid testing for
46227         guaranteed too small input if we know there is enough data available.
46228
46229 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46230
46231         * Makeconfig (+link-pie): Indent.
46232         * Rules (binaries-pie): Define if $(have-fpie) and
46233         $(build-shared).
46234         (binaries-shared): Also filter out $(binaries-pie).
46235         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46236         * nscd/Makefile (others-pie): Add nscd.
46237         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46238         ($(objpfx)nscd): Remove command override.
46239         * login/Makefile (others-pie): Add pt_chown.
46240         ($(objpfx)pt_chown): Remove command override.
46241         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46242         remove command overrides.
46243
46244 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46245
46246         * libio/tst_putwc.c: Fix error messages.
46247
46248         [BZ #12724]
46249         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46250         currently writing and seek to current position when not.
46251         * libio/Makefile (tests): Add bug-fclose1.
46252         * libio/bug-fclose1.c: New file.
46253
46254 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46255
46256         [BZ #12511]
46257         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46258         don't set DF_1_NODELETE here.
46259         (do_lookup_x): When entering new entry test for copy relocation
46260         and if necessary set DF_1_NODELETE flag.
46261         * elf/tst-unique4.cc: New file.
46262         * elf/tst-unique4.h: New file.
46263         * elf/tst-unique4lib.cc: New file.
46264         * elf/Makefile: Add rules to build and run tst-unique4.
46265         Patch by Piotr Bury <pbury@goahead.com>.
46266
46267 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46268
46269         [BZ #12052]
46270         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46271
46272         [BZ #12625]
46273         * misc/mntent_r.c (addmntent): Flush the stream after the output
46274
46275         [BZ #12393]
46276         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46277         (is_trusted_path_normalize): Skip initial colon.  Append slash
46278         to empty buffer.  Duplicate is_trusted_path code but allow
46279         constructed patch to be prefix.
46280         (is_dst): Allow $ORIGIN followed by /.
46281         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46282         Correct testing of result of is_trusted_path_normalize
46283         (decompose_rpath): Fix warning.
46284
46285 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46286
46287         [BZ #11257]
46288         * grp/initgroups.c (internal_getgrouplist): When we found the service
46289         list through the initgroups entry in nsswitch.conf do not always
46290         continue on a successful lookup.  Don't always use the
46291         __nss_group_database value if it is set.
46292         * nss/nsswitch.conf (initgroups): Change action for successful db
46293         lookup to continue for compatibility.
46294
46295 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46296
46297         [BZ #11532]
46298         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46299         and CP774 modules.
46300         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46301         and CP774 modules.
46302         * iconvdata/tst-tables.sh: Likewise.
46303         * iconvdata/cp770.c: New file.
46304         * iconvdata/cp771.c: New file.
46305         * iconvdata/cp772.c: New file.
46306         * iconvdata/cp773.c: New file.
46307         * iconvdata/cp774.c: New file.
46308         * iconvdata/testdata/CP770: New file.
46309         * iconvdata/testdata/CP770..UTF8: New file.
46310         * iconvdata/testdata/CP771: New file.
46311         * iconvdata/testdata/CP771..UTF8: New file.
46312         * iconvdata/testdata/CP772: New file.
46313         * iconvdata/testdata/CP772..UTF8: New file.
46314         * iconvdata/testdata/CP773: New file.
46315         * iconvdata/testdata/CP773..UTF8: New file.
46316         * iconvdata/testdata/CP774: New file.
46317         * iconvdata/testdata/CP774..UTF8: New file.
46318
46319         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46320         END CHARMAP line.
46321         * iconvdata/gen-8bit-gap.sh: Likewise.
46322         * iconvdata/gen-8bit.sh: Likewise.
46323
46324         * locale/iso-639.def: Add ary entry.
46325
46326         [BZ #11258]
46327         * locale/C-translit.h.in: Add U20A1 transliteration.
46328
46329         [BZ #12178]
46330         * locale/iso-639.def: Add wae entry.
46331         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46332
46333         [BZ #12545]
46334         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46335         for n.
46336
46337         [BZ #12711]
46338         * locale/C-translit.h.in: Add entry for U20B9.
46339         Patch by pravin.d.s@gmail.com.
46340
46341 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46342
46343         [BZ #12713]
46344         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46345         ENAMETOOLONG use generic getcwd.
46346         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46347         in rtld.  Use *stat64.
46348         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46349         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46350         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46351         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46352         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46353         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46354         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46355         __fstatat64 macros.
46356         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46357         * dirent/rewinddir.c: Add libc_hidden_def.
46358         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46359         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46360
46361         * include/dirent.h (__alloc_dir): Add flags parameter.
46362         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46363         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46364         __alloc_dir.
46365         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46366         from fdopendir if O_CLOEXEC is already set.
46367
46368 2011-03-15  Alan Modra  <amodra@gmail.com>
46369
46370         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46371         l_tls_firstbyte_offset non-zero.  Save padding offset in
46372         l_tls_firstbyte_offset for later use.
46373         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46374         freeing static tls block.
46375
46376 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46377
46378         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46379         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46380         being defined by the kernel headers.
46381
46382 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46383
46384         [BZ #12734]
46385         * resolv/resolv.h: Define RES_NOTLDQUERY.
46386         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46387         no-tld-query and set RES_NOTLDQUERY.
46388         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46389         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46390         modern BIND to search name as TLD unless forbidden.
46391
46392 2011-05-07  Petr Baudis  <pasky@suse.cz>
46393             Ulrich Drepper  <drepper@gmail.com>
46394
46395         [BZ #12393]
46396         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46397         (is_trusted_path): ...to here.
46398         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46399         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46400         using is_trusted_path_normalize() in setuid scripts.
46401
46402 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46403
46404         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46405         __BEGIN/__END_DECLS.
46406
46407 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46408
46409         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46410         NSS_STATUS_NOTFOUND if no record was found.
46411
46412 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46413
46414         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46415         (headers-not-in-tirpc): Remove rpc/netdb.h
46416         * resolv/netdb.h: Revert last change.
46417
46418 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46419
46420         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46421         circular dependency between libgcc.a and libc.a.
46422
46423 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46424
46425         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46426         * nis/Makefile: Don't install rpcsvc/*.
46427         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46428         instead of <rpc/types.h>.
46429         (MAXHOSTNAMELEN): Define.
46430
46431 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46432
46433         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46434
46435 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46436
46437         [BZ #12714]
46438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46439         gethostbyname4_r when IPv6 results are possible.
46440
46441 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46442
46443         [BZ #12723]
46444         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46445         _PC_PIPE_BUF handling.
46446
46447 2011-04-30  Bruno Haible  <bruno@clisp.org>
46448
46449         [BZ #12717]
46450         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46451         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46452         to 'int'.
46453         * inet/getnameinfo.c (getnameinfo): Likewise.
46454
46455 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46456
46457         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46458         to groups setting in database lookup.
46459         * nss/nsswitch.conf: Add initgroups entry.
46460
46461 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46462
46463         [BZ #12685]
46464         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46465         mode string.
46466         Patch by Eric Blake <eblake@redhat.com>.
46467
46468 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46469
46470         * sunrpc/Makefile (need-export-routines): Add svc_run.
46471         (routines): Remove svc_run.
46472         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46473         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46474         * sunrpc/svc_run.c (svc_run): Likewise.
46475         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46476
46477 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46478
46479         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46480         problem in reallocation in last patch.
46481
46482 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46483
46484         * sunrpc/Makefile: Move inclusion of Rules.
46485
46486 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46487
46488         * nss/nss_files/files-initgroups.c: New file.
46489         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46490         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46491         _nss_files_initgroups_dyn.
46492
46493 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46494
46495         * elf/elf.h (R_ARM_IRELATIVE): Define.
46496
46497 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46498
46499         * po/ru.po: Update from translation team.
46500
46501 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46502
46503         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46504         dependencies.
46505
46506 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46507
46508         [BZ #12653]
46509         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46510         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46511         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46512         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46513         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46514
46515 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46516
46517         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46518         differing bytes.
46519         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46520         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46521         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46522
46523 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46524
46525         [BZ #12420]
46526         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46527         storing it.
46528         * stdlib/bug-getcontext.c: New file.
46529         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46530
46531 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46532
46533         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46534         instructions into .machine "z9-109".
46535         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46536         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46537
46538 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46539
46540         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46541         between environment variables and auxiliary vector.
46542
46543 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46544
46545         * Makefile: Add rules to build linkobj/libc.so.
46546         * include/libc-symbols.h: Define libc_hidden_nolink.
46547         * include/rpc/auth.h: Mark functions which are to be hidden.
46548         * include/rpc/auth_des.h: Likewise.
46549         * include/rpc/auth_unix.h: Likewise.
46550         * include/rpc/clnt.h: Likewise.
46551         * include/rpc/des_crypt.h: Likewise.
46552         * include/rpc/key_prot.h: Likewise.
46553         * include/rpc/pmap_clnt.h: Likewise.
46554         * include/rpc/pmap_prot.h: Likewise.
46555         * include/rpc/pmap_rmt.h: Likewise.
46556         * include/rpc/rpc_msg.h: Likewise.
46557         * include/rpc/svc.h: Likewise.
46558         * include/rpc/svc_auth.h: Likewise.
46559         * include/rpc/xdr.h: Likewise.
46560         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46561         * nss/Makefile: Likewise.
46562         * sunrpc/Makefile: Don't install headers.  Build library with normal
46563         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46564         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46565         for the compat linking library.  Remove use of INTDEF/INTUSE.
46566         * sunrpc/auth_none.c: Likewise.
46567         * sunrpc/auth_unix.c: Likewise.
46568         * sunrpc/authdes_prot.c: Likewise.
46569         * sunrpc/authuxprot.c: Likewise.
46570         * sunrpc/clnt_gen.c: Likewise.
46571         * sunrpc/clnt_perr.c: Likewise.
46572         * sunrpc/clnt_raw.c: Likewise.
46573         * sunrpc/clnt_simp.c: Likewise.
46574         * sunrpc/clnt_tcp.c: Likewise.
46575         * sunrpc/clnt_udp.c: Likewise.
46576         * sunrpc/clnt_unix.c: Likewise.
46577         * sunrpc/des_crypt.c: Likewise.
46578         * sunrpc/des_soft.c: Likewise.
46579         * sunrpc/get_myaddr.c: Likewise.
46580         * sunrpc/key_call.c: Likewise.
46581         * sunrpc/key_prot.c: Likewise.
46582         * sunrpc/netname.c: Likewise.
46583         * sunrpc/pm_getmaps.c: Likewise.
46584         * sunrpc/pm_getport.c: Likewise.
46585         * sunrpc/pmap_clnt.c: Likewise.
46586         * sunrpc/pmap_prot.c: Likewise.
46587         * sunrpc/pmap_prot2.c: Likewise.
46588         * sunrpc/pmap_rmt.c: Likewise.
46589         * sunrpc/publickey.c: Likewise.
46590         * sunrpc/rpc_cmsg.c: Likewise.
46591         * sunrpc/rpc_common.c: Likewise.
46592         * sunrpc/rpc_dtable.c: Likewise.
46593         * sunrpc/rpc_prot.c: Likewise.
46594         * sunrpc/rpc_thread.c: Likewise.
46595         * sunrpc/rtime.c: Likewise.
46596         * sunrpc/svc.c: Likewise.
46597         * sunrpc/svc_auth.c: Likewise.
46598         * sunrpc/svc_authux.c: Likewise.
46599         * sunrpc/svc_raw.c: Likewise.
46600         * sunrpc/svc_run.c: Likewise.
46601         * sunrpc/svc_simple.c: Likewise.
46602         * sunrpc/svc_tcp.c: Likewise.
46603         * sunrpc/svc_udp.c: Likewise.
46604         * sunrpc/svc_unix.c: Likewise.
46605         * sunrpc/svcauth_des.c: Likewise.
46606         * sunrpc/xcrypt.c: Likewise.
46607         * sunrpc/xdr.c: Likewise.
46608         * sunrpc/xdr_array.c: Likewise.
46609         * sunrpc/xdr_float.c: Likewise.
46610         * sunrpc/xdr_intXX_t.c: Likewise.
46611         * sunrpc/xdr_mem.c: Likewise.
46612         * sunrpc/xdr_rec.c: Likewise.
46613         * sunrpc/xdr_ref.c: Likewise.
46614         * sunrpc/xdr_sizeof.c: Likewise.
46615         * sunrpc/xdr_stdio.c: Likewise.
46616
46617 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46618
46619         [BZ #12650]
46620         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46621         * sysdeps/ia64/dl-tls.h: Likewise.
46622         * sysdeps/powerpc/dl-tls.h: Likewise.
46623         * sysdeps/s390/dl-tls.h: Likewise.
46624         * sysdeps/sh/dl-tls.h: Likewise.
46625         * sysdeps/sparc/dl-tls.h: Likewise.
46626         * sysdeps/x86_64/dl-tls.h: Likewise.
46627         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46628
46629 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46630
46631         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46632         rpath element also skip the following colon.
46633         (expand_dynamic_string_token): Add is_path parameter and pass
46634         down to DL_DST_REQUIRED and _dl_dst_substitute.
46635         (decompose_rpath): Call expand_dynamic_string_token with
46636         non-zero is_path.  Ignore empty rpaths.
46637         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46638         with zero is_path.
46639
46640 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46641
46642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46643         Make cancelable.
46644
46645 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46646
46647         [BZ #12655]
46648         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46649         Patch by Filipe David Manana <fdmanana@apache.org>.
46650
46651 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46652
46653         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46654         Maintain aligned stack.
46655         (CHECK_RSP): Remove unused macro.
46656
46657 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46658
46659         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46660         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46661
46662 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46663
46664         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46665
46666         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46667
46668 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46669
46670         [BZ #12518]
46671         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46672         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46673         * sysdeps/x86_64/memmove.c: New file.
46674         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46675         (memcpy): Renamed to ...
46676         (__new_memcpy): This.
46677         (memcpy): Provide GLIBC_2_14 memcpy.
46678         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46679         (memcpy): Provide GLIBC_2_2_5 memcpy.
46680
46681 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46682
46683         [BZ #12631]
46684         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46685
46686 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46687
46688         * misc/syncfs.c: New file.
46689         * misc/Makefile (routines): Add syncfs.
46690         * posix/unistd.h: Declare syncfs.
46691         * sysdeps/unix/syscalls.list: Add syncfs.
46692
46693 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46694
46695         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46696         open_by_handle_at.
46697         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46698         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46699         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46700         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46701         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46702         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46703         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46704
46705 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46706
46707         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46708         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46709         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46710         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46711         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46713         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46714
46715         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46716         sync_file_range.c with -fexceptions.
46717         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46718         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46719         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46720         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46721         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46722         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46723         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46724         sync_file_range as cancellation point
46725         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46726         now a wrapper around __call_sync_file_range with cancellation handling.
46727         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46728         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46729         function name to __call_sync_file_range.
46730         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46731         Add call_sync_file_range.
46732
46733 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46734
46735         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46736         bits/timex.h.
46737
46738 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46739
46740         * iconv/iconv.h: Fix typo in comment.
46741         * io/fcntl.h: Likewise.
46742         * libio/stdio.h: Likewise.
46743         * posix/spawn.h: Likewise.
46744         * posix/unistd.h: Likewise.
46745         * stdlib/stdlib.h: Likewise.
46746         * time/time.h: Likewise.
46747         * wcsmbs/wchar.h: Likewise.
46748
46749         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46750         open_by_handle): Add.
46751         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46752         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46753         Augment a few comments.
46754         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46755         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46756         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46757         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46758         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46759         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46760         open_by_handle.
46761
46762         * io/fcntl.h (AT_EMPTY_PATH): Define.
46763
46764 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46765
46766         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46767         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46768         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46769         to...
46770         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46771         * Versions.def: Add GLIBC_2.14.
46772         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46773         Export.
46774
46775 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46776
46777         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46778         round counter.
46779         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46780
46781 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46782
46783         [BZ #12597]
46784         * string/test-strncmp.c (do_page_test): New function.
46785         (check2): Likewise.
46786         (test_main): Call check2.
46787         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46788
46789 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46790
46791         [BZ #12587]
46792         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46793         Handle cache information in CPU leaf 4.
46794         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46795
46796 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46797
46798         [BZ #12583]
46799         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46800         character representation.
46801         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46802
46803 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46804
46805         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46806         END(__isnan) to END(__isnanf) to match function entry point/label
46807         EALIGN(__isnanf,...).
46808
46809 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46810
46811         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46812
46813 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46814
46815         [BZ #12510]
46816         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46817         copy from the symbol referenced in the relocation to initialize the
46818         used variable.
46819         Patch by Piotr Bury <pbury@goahead.com>.
46820         * elf/Makefile: Add rules to build and tst-unique3.
46821         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46822         * elf/tst-unique3.cc: New file.
46823         * elf/tst-unique3.h: New file.
46824         * elf/tst-unique3lib.cc: New file.
46825         * elf/tst-unique3lib2.cc: New file.
46826
46827         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46828
46829 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46830
46831         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46832         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46833         to _start.
46834
46835 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46836
46837         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46838         to-be-loaded object along a path to loader is ld.so.
46839
46840 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46841             Ulrich Drepper  <drepper@gmail.com>
46842
46843         * sysdeps/x86_64/memset.S: After aligning destination, code
46844         branches to different locations depending on the value of
46845         misalignment, when multiarch is enabled. Fix this.
46846
46847 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46848
46849         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46850         Set _x86_64_preferred_memory_instruction for AMD processsors.
46851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46852         Set bit_Prefer_SSE_for_memop for AMD processors.
46853
46854 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46855
46856         * libio/fmemopen.c (fmemopen): Optimize a bit.
46857
46858 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46859
46860         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46861
46862 2011-03-03  Roland McGrath  <roland@redhat.com>
46863
46864         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46865
46866 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46867
46868         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46869         __bzero_ultra1 instead of __memset_ultra1.
46870
46871 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46872             Ulrich Drepper  <drepper@gmail.com>
46873
46874         [BZ #12509]
46875         * include/link.h (struct link_map): Add l_orig_initfini.
46876         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46877         returning unsuccessfully.
46878         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46879         close of a file loaded at startup, restore the original l_initfini
46880         list.
46881         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46882         list, store the pointer.
46883         * elf/Makefile ($(objpfx)noload-mem): New rule.
46884         (noload-ENV): Define.
46885         (tests): Add $(objpfx)noload-mem.
46886         * elf/noload.c: Include <memcheck.h>.
46887         (main): Call mtrace.  Close all opened handles.
46888
46889 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46890
46891         [BZ #12454]
46892         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46893         dependencies are missing.
46894
46895 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46896
46897         Fix __if_freereq crash: Unlike the generic version which uses free,
46898         Hurd needs munmap.
46899         * sysdeps/mach/hurd/ifreq.h: New file.
46900
46901 2011-01-27  Petr Baudis  <pasky@suse.cz>
46902             Ulrich Drepper  <drepper@gmail.com>
46903
46904         [BZ 12445]#
46905         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46906         to extend_alloca().
46907         * stdio-common/bug23.c: New file.
46908         * stdio-common/Makefile (tests): Add bug23.
46909
46910 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46911             Ulrich Drepper  <drepper@gmail.com>
46912
46913         [BZ #12489]
46914         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46915         before performing relro protection.  At old place add assertion
46916         to make sure nothing changed.
46917
46918 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46919             Glauber de Oliveira Costa  <glommer@gmail.com>
46920
46921         * elf/elf.h: Add new ARM TLS relocs.
46922
46923 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46924
46925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46926         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46927         cast from r3.
46928         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46929         'tests' variable.
46930         * sysdeps/wordsize-64/tst-writev.c: New file.
46931
46932 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46933
46934         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46935         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46936         insns in _dl_start to prevent a TOC reference before relocs are
46937         resolved.
46938
46939 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46940
46941         [BZ #12469]
46942         * Makeconfig: Remove RANLIB definition.
46943         * Makerules: Don't use RANLIB.
46944         * aclocal.m4: Remove ranlib test.
46945         * configure.in: No need to check for ranlib.
46946         * elf/rtld-Rules: Don't use RANLIB.
46947
46948 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46949
46950         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46951         protection macro.
46952         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46953         inclusion protection macro.
46954
46955         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46956         SIGRTMIN and SIGRTMAX and print information in that case only when
46957         SIGRTMIN is defined.
46958
46959 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46960
46961         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46962         arginfo fn returning -1.
46963
46964         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46965         and thousands string is zero terminated.
46966
46967 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46968
46969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46970         sysdeps/unix/sysv/linux/bits/socket.h.
46971
46972 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46973
46974         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46975         (__CPU_COUNT): Remove old macros.
46976         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46977         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46978         (__CPU_ALLOC, __CPU_FREE): Add macros.
46979         (__sched_cpualloc, __sched_cpufree): Add declarations.
46980
46981 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46982
46983         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46984         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46985         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46986         (readdhstai): Return value of addhstaiX call.
46987         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46988         (addgrbyX): Return value returned by cache_addgr.
46989         (readdgrbyname): Return value returned by addgrbyX.
46990         (readdgrbygid): Likewise.
46991         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46992         (addpwbyX): Return value returned by cache_addpw.
46993         (readdpwbyname): Return value returned by addhstbyX.
46994         (readdpwbyuid): Likewise.
46995         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46996         (addservbyX): Return value returned by cache_addserv.
46997         (readdservbyname): Return value returned by addservbyX:
46998         (readdservbyport): Likewise.
46999         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47000         (addhstbyX): Return value returned by cache_addhst.
47001         (readdhstbyname): Return value returned by addhstbyX.
47002         (readdhstbyaddr): Likewise.
47003         (readdhstbynamev6): Likewise.
47004         (readdhstbyaddrv6): Likewise.
47005         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47006         (readdinitgroups): Return value returned by addinitgroupsX.
47007         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47008         (prune_cache): Keep track of timeout value of re-added entries.
47009         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47010         * nscd/nscd.h: Adjust prototypes of readd* functions.
47011
47012 2011-02-04  Roland McGrath  <roland@redhat.com>
47013
47014         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47015         (nis_stats): Likewise.
47016         * nis/nis_modify.c (nis_modify): Likewise.
47017         * nis/nis_remove.c (nis_remove): Likewise.
47018         * nis/nis_add.c (nis_add): Likewise.
47019
47020         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47021
47022         * posix/fnmatch_loop.c: Add some consts.
47023
47024         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47025
47026 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47027
47028         [BZ #12460]
47029         * config.make.in (config-cflags-novzeroupper): Define.
47030         * configure.in: Substitute libc_cv_cc_novzeroupper.
47031         * elf/Makefile (AVX-CFLAGS): Define.
47032         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47033         (CFLAGS-tst-auditmod4a.c): Likewise.
47034         (CFLAGS-tst-auditmod4b.c): Likewise.
47035         (CFLAGS-tst-auditmod6b.c): Likewise.
47036         (CFLAGS-tst-auditmod6c.c): Likewise.
47037         (CFLAGS-tst-auditmod7b.c): Likewise.
47038         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47039
47040 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47041
47042         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47043         function to the callback.
47044         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47045
47046 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47047
47048         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47049         of errno.
47050
47051 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47052
47053         [BZ #11724]
47054         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47055         of constructors.
47056         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47057         of destructors.
47058         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47059
47060         [BZ #11724]
47061         * elf/Makefile: Add rules to build and run new test.
47062         * elf/tst-initorder.c: New file.
47063         * elf/tst-initorder.exp: New file.
47064         * elf/tst-initordera1.c: New file.
47065         * elf/tst-initordera2.c: New file.
47066         * elf/tst-initordera3.c: New file.
47067         * elf/tst-initordera4.c: New file.
47068         * elf/tst-initorderb1.c: New file.
47069         * elf/tst-initorderb2.c: New file.
47070         * elf/tst-order-a1.c: New file.
47071         * elf/tst-order-a2.c: New file.
47072         * elf/tst-order-a3.c: New file.
47073         * elf/tst-order-a4.c: New file.
47074         * elf/tst-order-b1.c: New file.
47075         * elf/tst-order-b2.c: New file.
47076         * elf/tst-order-main.c: New file.
47077         New test case by George Gensure <werkt0@gmail.com>.
47078
47079 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47080
47081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47082         decoding ACE if AI_CANONIDN.
47083
47084 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47085
47086         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47087
47088 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47089
47090         * version.h (RELEASE): Bump for 2.13 release.
47091         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47092
47093         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47094
47095         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47096         MADV_NOHUGEPAGE.
47097         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47098         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47099         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47100         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47101         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47102         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47103
47104         * posix/getconf.c: Update copyright year.
47105         * catgets/gencat.c: Likewise.
47106         * csu/version.c: Likewise.
47107         * debug/catchsegv.sh: Likewise.
47108         * debug/xtrace.sh: Likewise.
47109         * elf/ldconfig.c: Likewise.
47110         * elf/ldd.bash.in: Likewise.
47111         * elf/sprof.c (print_version): Likewise.
47112         * iconv/iconv_prog.c: Likewise.
47113         * iconv/iconvconfig.c: Likewise.
47114         * locale/programs/locale.c: Likewise.
47115         * locale/programs/localedef.c: Likewise.
47116         * malloc/memusage.sh: Likewise.
47117         * malloc/mtrace.pl: Likewise.
47118         * nscd/nscd.c (print_version): Likewise.
47119         * nss/getent.c: Likewise.
47120
47121         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47122         PF_CAIF, and PF_ALG.
47123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47124
47125 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47126
47127         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47128         (modules-names): Use them.
47129         (ifunc-test-modules, ifunc-pie-tests): Define.
47130         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47131         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47132         (test-extras): Likewise.
47133         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47134         $(compile-command.c).
47135         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47136         (all-built-dso): Define.
47137         (check-textrel.out, check-execstack.out): Depend on it.
47138
47139         * configure.in: Don't override --enable-multi-arch.
47140
47141 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47142
47143         [BZ #6812]
47144         * nscd/hstcache.c (tryagain): Define.
47145         (cache_addhst): Return tryagain not notfound for temporary errors.
47146         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47147         failed.
47148
47149 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47150
47151         [BZ #10563]
47152         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47153         to make the syscall.
47154         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47155
47156         [BZ #12378]
47157         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47158         and fall back to matching as normal character if the string ends before
47159         the matching ']' is found.  This is what POSIX requires.
47160         * posix/testfnm.c: Adjust test result.
47161         * posix/globtest.sh: Adjust test result.  Add new test.
47162         * posix/tst-fnmatch.input: Likewise.
47163         * posix/tst-fnmatch2.c: Add new test.
47164
47165 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47166
47167         * elf/Makefile (check-execstack): Revert last change.  Depend on
47168         check-execstack.h.
47169         (check-execstack.h): New target.
47170         (generated): Add check-execstack.h.
47171         * elf/check-execstack.c: Include "check-execstack.h".
47172         (main): Revert last change.
47173         (handle_file): Return zero if GNU_STACK is absent and
47174         DEFAULT_STACK_PERMS doesn't include PF_X.
47175
47176 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47177
47178         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47179         in child fails because the descriptor is already closed.
47180         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47181         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47182         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47183
47184         [BZ #12397]
47185         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47186         syscall.
47187
47188         [BZ #10484]
47189         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47190         temporary buffer used to handle multi lookups locally.
47191         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47192
47193 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47194
47195         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47196         loader is ld.so.
47197
47198 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47199
47200         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47201         alignment for SSE2.
47202
47203 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47204
47205         [BZ #12394]
47206         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47207         characters.  When rounding increased number of integer digits recompute
47208         number of groups.
47209         * stdio-common/tst-grouping.c: New file.
47210         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47211
47212 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47213
47214         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47215         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47216
47217         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47218         void.
47219         * bits/select.h: Likewise.
47220
47221 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47222
47223         * po/ja.po: Update from translation team.
47224
47225 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47226
47227         [BZ #11155]
47228         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47229         implementation just like for lxstat, fxstatat, et al.
47230
47231 2010-12-27  Jim Meyering  <meyering@redhat.com>
47232
47233         [BZ #12348]
47234         * posix/regexec.c (build_trtable): Return failure indication upon
47235         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47236
47237 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47238
47239         [BZ #12201]
47240         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47241         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47242         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47243         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47244
47245         [BZ #12207]
47246         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47247
47248         [BZ #12204]
47249         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47250         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47251
47252 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47253
47254         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47255         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47256         script has SORT_BY_INIT_PRIORITY.
47257         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47258         NO_CTORS_DTORS_SECTIONS is defined.
47259         * elf/soinit.c: Likewise.
47260         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47261         NO_CTORS_DTORS_SECTIONS is defined.
47262         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47263         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47264         * sysdeps/sh/init-first.c: Likewise.
47265         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47266
47267 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47268
47269         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47270         always use the slow path.
47271
47272 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47273
47274         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47275         similar rule which adds the sysdep directories to the header search in
47276         order to pick up the correct platform stackinfo.h.
47277         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47278         perform test if it is, otherwise return successfully without testing.
47279         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47280         DEFAULT_STACK_PERMS define in stackinfo.h.
47281         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47282         defined in stackinfo.h.
47283         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47284         DEFAULT_STACK_PERMS defined in stackinfo.h.
47285         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47286         * sysdeps/ia64/stackinfo.h: Likewise.
47287         * sysdeps/s390/stackinfo.h: Likewise.
47288         * sysdeps/sh/stackinfo.h: Likewise.
47289         * sysdeps/sparc/stackinfo.h: Likewise.
47290         * sysdeps/x86_64/stackinfo.h: Likewise.
47291         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47292         PF_X for powerpc64.  Retain PF_X for powerpc32.
47293
47294 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47295
47296         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47297         accurately.
47298         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47299         GETDENTS_64BIT_ALIGNED.
47300
47301 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47302
47303         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47304
47305 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47306
47307         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47308         _GNU_SOURCE.
47309
47310         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47311         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47312         Remove __restrict.
47313         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47314         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47315
47316 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47317
47318         [BZ #11655]
47319         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47320         are initialized.
47321
47322 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47323
47324         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47325
47326 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47327
47328         * po/it.po: Update from translation team.
47329
47330 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47331
47332         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47333         unused codes.
47334
47335 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47336
47337         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47338
47339 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47340
47341         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47342         specially.
47343         (gaih_getanswer_slice): Likewise.
47344
47345 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47346
47347         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47348
47349 2010-05-31  Petr Baudis  <pasky@suse.cz>
47350
47351         [BZ #11149]
47352         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47353         silently even in the chroot mode.
47354
47355 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47356
47357         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47358         last patch a bit.  Pretty printing
47359
47360 2010-05-31  Petr Baudis <pasky@suse.cz>
47361
47362         [BZ #10085]
47363         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47364         initialization of skip_initgroups_dyn.
47365
47366 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47367
47368         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47369         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47370
47371 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47372
47373         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47374
47375 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47376
47377         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47378         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47379         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47380         ($(objpfx)tst-fnmatch-mem): New rule.
47381         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47382         * posix/tst-fnmatch.c (main): Call mtrace.
47383
47384 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47385
47386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47387         Support Intel processor model 6 and model 0x2c.
47388
47389 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47390
47391         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47392           signed comparison.
47393
47394 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47395
47396         [BZ #12205]
47397         * string/test-strncasecmp.c (check_result): New function.
47398         (do_one_test): Use it.
47399         (check1): New function.
47400         (test_main): Use it.
47401         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47402         Support strcasecmp and strncasecmp.
47403
47404 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47405
47406         [BZ #12194]
47407         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47408         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47409
47410 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47411
47412         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47413         IFUNC support.
47414         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47415         memset-x86-64.
47416         * sysdeps/x86_64/multiarch/bzero.S: New file.
47417         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47418         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47419         * sysdeps/x86_64/multiarch/memset.S: New file.
47420         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47422         Set bit_Prefer_SSE_for_memop for Intel processors.
47423         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47424         Define.
47425         (index_Prefer_SSE_for_memop): Define.
47426         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47427
47428 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47429
47430         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47431         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47432
47433 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47434
47435         [BZ #12191]
47436         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47437         (__x86_64_raw_data_cache_size_half): Likewise.
47438         (__x86_64_raw_shared_cache_size): Likewise.
47439         (__x86_64_raw_shared_cache_size_half): Likewise.
47440
47441         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47442         (__x86_64_raw_data_cache_size_half): Likewise.
47443         (__x86_64_raw_shared_cache_size): Likewise.
47444         (__x86_64_raw_shared_cache_size_half): Likewise.
47445         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47446         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47447         and __x86_64_raw_shared_cache_size_half.  Round
47448         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47449         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47450         to multiple of 256 bytes.
47451
47452 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47453
47454         [BZ #12167]
47455         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47456         of inacessible symlinks.  Verify result of symlink before returning it.
47457         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47458         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47459
47460 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47461
47462         * math/math.h (isinf): Fix typo in comment.
47463
47464 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47465
47466         * po/da.po: Update from translation team.
47467
47468 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47469
47470         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47471         is added to the list.
47472
47473 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47474             Ulrich Drepper  <drepper@gmail.com>
47475
47476         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47477         the global list here.  Move code to...
47478         (_dl_add_to_namespace_list): ...here.  New function.
47479         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47480         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47481         * elf/dl-load.c (lose): Don't remove the element from the list.
47482         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47483         (_dl_map_object): Likewise.
47484
47485 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47486
47487         [BZ #12159]
47488         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47489         into all bytes of SSE register.
47490         Patch by Richard Li <richardpku@gmail.com>.
47491
47492 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47493
47494         [BZ #12140]
47495         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47496         perturbing.
47497
47498 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47499
47500         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47501         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47502         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47503         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47505         submachine.
47506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47507
47508 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47509
47510         * include/dlfcn.h (__RTLD_SECURE): Define.
47511         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47512         mode & __RTLD_SECURE instead.
47513         (open_path): Rename preloaded parameter to secure.
47514         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47515         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47516         * elf/dl-deps.c (openaux): Likewise.
47517         * elf/rtld.c (struct map_args): Remove is_preloaded.
47518         (map_doit): Don't use it.
47519         (dl_main): Likewise.
47520         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47521         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47522
47523 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47524
47525         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47526         (sysd-rules-targets): Remove duplicates.
47527         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47528         rtld-%.$o dependency.
47529
47530 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47531
47532         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47533         _dl_map_object do it.
47534
47535 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47536
47537         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47538         fast fma builtins, define the macros in the C99 standard.
47539         (FP_FAST_FMAF): Likewise.
47540         (FP_FAST_FMAL): Likewise.
47541         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47542
47543         * bits/mathdef.h: Update copyright year.
47544         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47545
47546 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47547
47548         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47549         builtins, define the macros in the C99 standard.
47550         (FP_FAST_FMAF): Likewise.
47551         (FP_FAST_FMAL): Likewise.
47552         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47553         multiply/add.
47554         (FP_FAST_FMAF): Likewise.
47555
47556 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47557
47558         [BZ #3268]
47559         * math/libm-test.inc (fma_test): Some new testcases.
47560         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47561         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47562         y and infinite z.  Do multiplication by C already in long double.
47563         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47565         y and infinite z.  Do bitwise or of inexact bit into u.d.
47566         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47567         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47568         * sysdeps/i386/fpu/s_fma.S: Removed.
47569         * sysdeps/i386/fpu/s_fmal.S: Removed.
47570
47571 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47572
47573         [BZ #3268]
47574         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47575         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47576         computation is not scheduled after fetestexcept.  Fix value
47577         of minimum denormal long double.
47578
47579 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47580
47581         [BZ #3268]
47582         * math/libm-test.inc (fma_test): Add some more tests.
47583         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47584         correctly.
47585
47586 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47587
47588         * scripts/data/localplt-s390-linux-gnu.data: New file.
47589         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47590
47591 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47592
47593         [BZ #3268]
47594         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47595         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47596         instead of dbl-64.
47597         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47598         inlines.
47599         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47601         if one of x and y is very large and the other is subnormal.
47602         * sysdeps/s390/fpu/s_fmaf.c: New file.
47603         * sysdeps/s390/fpu/s_fma.c: New file.
47604         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47605         * sysdeps/powerpc/fpu/s_fma.S: New file.
47606         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47607         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47608         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47609
47610 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47611
47612         [BZ #3268]
47613         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47614         fma tests.
47615         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47616         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47617         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47618         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47619         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47620         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47621         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47622
47623 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47624
47625         [BZ #12078]
47626         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47627         * posix/bug-regex31.input: Add test case.
47628
47629 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47630
47631         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47632         * posix/bug-regex31.input: New file.
47633
47634         [BZ #12078]
47635         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47636         (parse_sub_exp): Fix last change, use postorder.
47637
47638         * posix/bug-regex31.c: New file.
47639         * posix/Makefile: Add rules to build and run bug-regex31.
47640
47641         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47642
47643         [BZ #12078]
47644         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47645
47646         [BZ #12108]
47647         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47648         to have entries in sys_siglist.
47649
47650         [BZ #12093]
47651         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47652         be NULL.
47653
47654 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47655
47656         [BZ #3268]
47657         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47658         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47659         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47660         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47661         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47662         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47663         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47664         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47665         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47666         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47667         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47668         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47669         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47670         * math/ftestexcept.c (fetestexcept): Likewise.
47671         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47672         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47673         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47674         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47675         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47676         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47677         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47678
47679 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47680
47681         [BZ #12107]
47682         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47683         newline.
47684
47685 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47686
47687         * string/bug-strstr1.c: New file.
47688         * string/Makefile: Add rules to build and run bug-strstr1.
47689
47690 2010-10-05  Eric Blake  <eblake@redhat.com>
47691
47692         [BZ #12092]
47693         * string/str-two-way.h (two_way_long_needle): Always clear memory
47694         when skipping input due to the shift table.
47695
47696 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47697
47698         [BZ #12005]
47699         * malloc/mcheck.c: Handle large requests.
47700
47701         [BZ #12077]
47702         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47703         for strncmp and strncasecmp.
47704         * string/stratcliff.c: Add tests for strcmp and strncmp.
47705         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47706
47707 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47708
47709         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47710         __set_fpscr.
47711
47712 2010-09-30  Andreas Jaeger  <aj@suse.de>
47713
47714         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47715         (CGROUP_SUPER_MAGIC): Define.
47716         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47717         Handle btrfs and cgroup file systems.
47718         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47719         Likewise.
47720
47721 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47722
47723         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47724         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47725
47726 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47727
47728         [BZ #12067]
47729         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47730         trying to locate the ELF header.
47731
47732 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47733
47734         [BZ #11611]
47735         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47736         Mask out sign-bit copies when constructing f_fsid.
47737
47738 2010-09-24  Petr Baudis <pasky@suse.cz>
47739
47740         * debug/stack_chk_fail_local.c: Add missing licence exception.
47741         * debug/warning-nop.c: Likewise.
47742
47743 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47744
47745         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47746         implementing getdents64 using getdents syscall, set d_type if
47747         __ASSUME_GETDENTS32_D_TYPE.
47748
47749 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47750
47751         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47752         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47753
47754 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47755
47756         [BZ #12037]
47757         * posix/unistd.h: Undo change of feature selection for ftruncate from
47758         2010-01-11.
47759
47760 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47761
47762         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47763         detection.
47764
47765 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47766
47767         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47768         fanotify_mark.
47769         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47770
47771 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47772
47773         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47774         variables after CHECK_SP call.
47775         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47776
47777 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47778             Ulrich Drepper  <drepper@redhat.com>
47779
47780         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47781         re-relocationg ld.so.
47782         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47783         _dl_init_paths call.
47784         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47785         here anymore.
47786
47787 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47788
47789         * resolv/res_init.c (__res_vinit): Count the default server we added.
47790
47791 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47792             Ulrich Drepper  <drepper@redhat.com>
47793
47794         [BZ #11968]
47795         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47796         (____longjmp_chk): Use %ebx for saving value across system call.
47797         Add unwind info.
47798
47799 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47800
47801         * manual/Makefile: Don't mix pattern rules with normal rules.
47802
47803 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47804
47805         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47806         operation.
47807         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47808         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47809         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47810         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47811         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47812         Likewise.
47813
47814 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47815
47816         [BZ #11979]
47817         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47818         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47819
47820 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47821
47822         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47823         * sysdeps/x86_64/addmul_1.S: Likewise.
47824         * sysdeps/x86_64/lshift.S: Likewise.
47825         * sysdeps/x86_64/mul_1.S: Likewise.
47826         * sysdeps/x86_64/rshift.S: Likewise.
47827         * sysdeps/x86_64/sub_n.S: Likewise.
47828         * sysdeps/x86_64/submul_1.S: Likewise.
47829
47830 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47831
47832         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47833         Define __sched_param instead of SCHED_* and sched_param when
47834         <bits/sched.h> is included with __need_schedparam defined.
47835         * bits/sched.h [__need_schedparam]
47836         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47837         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47838         (__defined_schedparam): Define to 1.
47839         (__sched_param): New structure, identical to sched_param.
47840         (__need_schedparam): Undefine.
47841
47842 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47843
47844         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47845         (epoll_create1): Declare.
47846
47847         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47848
47849 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47850
47851         [BZ #7066]
47852         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47853         shifting retval into place.
47854
47855 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47856
47857         * nis/rpcsvc/nis.h: Update copyright notice.
47858         * nis/rpcsvc/nis.x: Likewise.
47859         * nis/rpcsvc/nis_callback.h: Likewise.
47860         * nis/rpcsvc/nis_callback.x: Likewise.
47861         * nis/rpcsvc/nis_object.x: Likewise.
47862         * nis/rpcsvc/nis_tags.h: Likewise.
47863         * nis/rpcsvc/yp.h: Likewise.
47864         * nis/rpcsvc/yp.x: Likewise.
47865         * nis/rpcsvc/ypupd.h: Likewise.
47866         * nis/yp_xdr.c: Likewise.
47867         * nis/ypupdate_xdr.c: Likewise.
47868
47869         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47870         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47871         (pmap_getport): Use __libc_rpc_getport.
47872         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47873         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47874         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47875
47876 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47877
47878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47879         fanotify_mark.
47880
47881 2010-08-27  Roland McGrath  <roland@redhat.com>
47882
47883         * sysdeps/i386/i686/multiarch/Makefile
47884         (CFLAGS-varshift.c): New variable.
47885
47886 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47887
47888         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47889         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47890
47891         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47892
47893         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47894
47895 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47896
47897         * sysdeps/x86_64/strlen.S: Unroll the loop.
47898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47899         strlen-sse2 strlen-sse2-bsf.
47900         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47901         __strlen_no_bsf if bit_Slow_BSF is set.
47902         (__strlen_sse42): Removed.
47903         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47904         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47905
47906 2010-08-25  Roland McGrath  <roland@redhat.com>
47907
47908         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47909         * sysdeps/x86_64/multiarch/varshift.c: New file.
47910         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47911         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47912         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47913         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47914
47915 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47916
47917         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47918         strlen-sse2 strlen-sse2-bsf.
47919         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47920         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47921         (__strlen_sse2): Removed.
47922         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47923         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47925         bit_Slow_BSF for Atom.
47926         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47927         (index_Slow_BSF): Define.
47928         (HAS_SLOW_BSF): Define.
47929
47930 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47931
47932         [BZ #10851]
47933         * resolv/res_init.c (__res_vinit): When no server address at all
47934         is given default to loopback.
47935
47936 2010-08-24  Roland McGrath  <roland@redhat.com>
47937
47938         * configure.in: Remove config-name.h generation.
47939         * configure: Regenerated.
47940         * config-name.in: File removed.
47941         * scripts/config-uname.sh: New file.
47942         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47943         ($(objdir)config-name.h): New target.
47944
47945         * sunrpc/rpc_parse.h: Avoid nested comment.
47946
47947 2010-08-24  Richard Henderson  <rth@redhat.com>
47948             Ulrich Drepper  <drepper@redhat.com>
47949             H.J. Lu  <hongjiu.lu@intel.com>
47950
47951         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47953         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47954         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47955         _mm_alignr_epi8 with _mm_loadu_si128.
47956         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47957         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47958         (__m128i_shift_right): Removed.
47959         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47960         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47961         * sysdeps/x86_64/multiarch/varshift.h: New file.
47962         * sysdeps/x86_64/multiarch/varshift.S: New file.
47963
47964 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47965
47966         * configure.in: Move assembler checks to before sysdep dir checking.
47967
47968 2010-08-20  Petr Baudis  <pasky@suse.cz>
47969
47970         * LICENSES: Sync the sunrpc license.
47971
47972 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47973
47974         * sunrpc/auth_des.c: Update copyright notice once again.
47975         * sunrpc/auth_none.c: Likewise.
47976         * sunrpc/auth_unix.c: Likewise.
47977         * sunrpc/authdes_prot.c: Likewise.
47978         * sunrpc/authuxprot.c: Likewise.
47979         * sunrpc/bindrsvprt.c: Likewise.
47980         * sunrpc/clnt_gen.c: Likewise.
47981         * sunrpc/clnt_perr.c: Likewise.
47982         * sunrpc/clnt_raw.c: Likewise.
47983         * sunrpc/clnt_simp.c: Likewise.
47984         * sunrpc/clnt_tcp.c: Likewise.
47985         * sunrpc/clnt_udp.c: Likewise.
47986         * sunrpc/clnt_unix.c: Likewise.
47987         * sunrpc/des_crypt.c: Likewise.
47988         * sunrpc/des_soft.c: Likewise.
47989         * sunrpc/get_myaddr.c: Likewise.
47990         * sunrpc/getrpcport.c: Likewise.
47991         * sunrpc/key_call.c: Likewise.
47992         * sunrpc/key_prot.c: Likewise.
47993         * sunrpc/openchild.c: Likewise.
47994         * sunrpc/pm_getmaps.c: Likewise.
47995         * sunrpc/pm_getport.c: Likewise.
47996         * sunrpc/pmap_clnt.c: Likewise.
47997         * sunrpc/pmap_prot.c: Likewise.
47998         * sunrpc/pmap_prot2.c: Likewise.
47999         * sunrpc/pmap_rmt.c: Likewise.
48000         * sunrpc/rpc/auth.h: Likewise.
48001         * sunrpc/rpc/auth_unix.h: Likewise.
48002         * sunrpc/rpc/clnt.h: Likewise.
48003         * sunrpc/rpc/des_crypt.h: Likewise.
48004         * sunrpc/rpc/key_prot.h: Likewise.
48005         * sunrpc/rpc/netdb.h: Likewise.
48006         * sunrpc/rpc/pmap_clnt.h: Likewise.
48007         * sunrpc/rpc/pmap_prot.h: Likewise.
48008         * sunrpc/rpc/pmap_rmt.h: Likewise.
48009         * sunrpc/rpc/rpc.h: Likewise.
48010         * sunrpc/rpc/rpc_des.h: Likewise.
48011         * sunrpc/rpc/rpc_msg.h: Likewise.
48012         * sunrpc/rpc/svc.h: Likewise.
48013         * sunrpc/rpc/svc_auth.h: Likewise.
48014         * sunrpc/rpc/types.h: Likewise.
48015         * sunrpc/rpc/xdr.h: Likewise.
48016         * sunrpc/rpc_clntout.c: Likewise.
48017         * sunrpc/rpc_cmsg.c: Likewise.
48018         * sunrpc/rpc_common.c: Likewise.
48019         * sunrpc/rpc_cout.c: Likewise.
48020         * sunrpc/rpc_dtable.c: Likewise.
48021         * sunrpc/rpc_hout.c: Likewise.
48022         * sunrpc/rpc_main.c: Likewise.
48023         * sunrpc/rpc_parse.c: Likewise.
48024         * sunrpc/rpc_parse.h: Likewise.
48025         * sunrpc/rpc_prot.c: Likewise.
48026         * sunrpc/rpc_sample.c: Likewise.
48027         * sunrpc/rpc_scan.c: Likewise.
48028         * sunrpc/rpc_scan.h: Likewise.
48029         * sunrpc/rpc_svcout.c: Likewise.
48030         * sunrpc/rpc_tblout.c: Likewise.
48031         * sunrpc/rpc_util.c: Likewise.
48032         * sunrpc/rpc_util.h: Likewise.
48033         * sunrpc/rpcinfo.c: Likewise.
48034         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48035         * sunrpc/rpcsvc/key_prot.x: Likewise.
48036         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48037         * sunrpc/rpcsvc/mount.x: Likewise.
48038         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48039         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48040         * sunrpc/rpcsvc/rex.x: Likewise.
48041         * sunrpc/rpcsvc/rstat.x: Likewise.
48042         * sunrpc/rpcsvc/rusers.x: Likewise.
48043         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48044         * sunrpc/rpcsvc/spray.x: Likewise.
48045         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48046         * sunrpc/rtime.c: Likewise.
48047         * sunrpc/svc.c: Likewise.
48048         * sunrpc/svc_auth.c: Likewise.
48049         * sunrpc/svc_authux.c: Likewise.
48050         * sunrpc/svc_raw.c: Likewise.
48051         * sunrpc/svc_run.c: Likewise.
48052         * sunrpc/svc_simple.c: Likewise.
48053         * sunrpc/svc_tcp.c: Likewise.
48054         * sunrpc/svc_udp.c: Likewise.
48055         * sunrpc/svc_unix.c: Likewise.
48056         * sunrpc/svcauth_des.c: Likewise.
48057         * sunrpc/xcrypt.c: Likewise.
48058         * sunrpc/xdr.c: Likewise.
48059         * sunrpc/xdr_array.c: Likewise.
48060         * sunrpc/xdr_float.c: Likewise.
48061         * sunrpc/xdr_mem.c: Likewise.
48062         * sunrpc/xdr_rec.c: Likewise.
48063         * sunrpc/xdr_ref.c: Likewise.
48064         * sunrpc/xdr_sizeof.c: Likewise.
48065         * sunrpc/xdr_stdio.c: Likewise.
48066
48067         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48068         handling.
48069
48070 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48071
48072         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48073
48074 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48075
48076         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48077         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48078         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48079         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48080         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48081         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48082         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48083         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48084         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48085         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48086         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48087         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48088         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48089         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48090
48091 2010-07-26  Anton Blanchard  <anton@samba.org>
48092
48093         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48094         * malloc/arena.c (heap_trim): Likewise.
48095
48096 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48097
48098         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48099         here.  Not...
48100         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48101         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48102
48103 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48104
48105         * sysdeps/i386/elf/Makefile: New file.
48106
48107 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48108
48109         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48110         from fanotify_init.
48111         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48112         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48113
48114 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48115
48116         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48117         of strncasecmp_l.
48118         * sysdeps/multiarch/strcmp.S: Likewise.
48119
48120 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48121
48122         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48123         strncase_l-nonascii.
48124         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48125         Add strncase_l-ssse3.
48126         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48127         * sysdeps/x86_64/strcmp.S: Likewise.
48128         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48129         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48130         * sysdeps/x86_64/strncase.S: New file.
48131         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48132         * sysdeps/x86_64/strncase_l.S: New file.
48133         * string/Makefile (strop-tests): Add strncasecmp.
48134         * string/test-strncasecmp.c: New file.
48135
48136         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48137         warning.
48138
48139         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48140         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48141
48142 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48143
48144         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48145
48146 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48147
48148         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48149         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48150         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48151
48152 2010-05-01  Alan Modra  <amodra@gmail.com>
48153
48154         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48155         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48156         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48157         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48158         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48159         tidying.  Don't tail-call __sigjmp_save for static lib.
48160         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48161         save location.
48162         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48163         (CALL_MCOUNT): Add eh info, and nop after bl.
48164         (TAIL_CALL_SYSCALL_ERROR): New macro.
48165         (PSEUDO_RET): Use it.
48166         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48167         Correct save location of integer regs and cr.
48168         (_dl_profile_resolve): Correct cr save location.  Delete nops
48169         after bl when SHARED.  Reduce cfi size a little by better
48170         placement of cfi directives.
48171         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48172         make a stack frame.  Instead use parm save area as a temp.
48173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48174         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48176         Don't make a stack frame for parent, use parm save area.
48177         Increase child stack frame to 112 bytes.  Don't save unused reg,
48178         and adjust reg usage.  Set up cfi on error recovery and
48179         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48181         (__makecontext): Add dummy nop after jump to exit.
48182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48183         Use correct parm save area and cr save, reduce stack frame.
48184         Correct cfi for possible PSEUDO_RET frame setup.
48185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48186         Branch to local label emitted by PSEUDO_RET rather than
48187         __syscall_error.
48188
48189 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48190
48191         [BZ #11904]
48192         * locale/programs/locale.c (print_assignment): New function.
48193         (show_locale_vars): Use it.
48194
48195 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48196
48197         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48198         field.
48199         (struct statfs64): Likewise.
48200         (_STATFS_F_FLAGS): Define.
48201         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48202         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48203         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48204         (ST_VALID): Define locally.
48205         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48206         __statvfs_getflags, use the provided value.
48207         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48208         __ASSUME_STATFS_F_FLAGS.
48209
48210         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48211
48212         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48213         Add sys/fanotify.h.
48214         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48215         fanotify_mask for GLIBC_2.13.
48216         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48217         fanotify_init and fanotify_mark.
48218         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48219         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48220
48221         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48222         Add prlimit.
48223         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48224         prlimit64 for GLIBC_2.13.
48225         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48226         prlimit64.
48227         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48228         syscall.
48229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48230         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48231         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48232         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48233         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48234         add prlimit alias.
48235         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48236
48237         [BZ #11903]
48238         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48239         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48240
48241         * nss/Makefile: Add rules to build and run tst-nss-test1.
48242         * shlib-versions: Add entry for libnss_test1.
48243         * nss/nss_test1.c: New file.
48244         * nss/tst-nss-test1.c: New file.
48245
48246         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48247         (__nss_configure_lookup): Set appropriate entry in
48248         __nss_configure_lookup to true.
48249         * nss/nsswitch.h: Define enum with indeces of databases in
48250         databases and __nss_database_custom arrays.  Declare
48251         __nss_database_custom.
48252         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48253         to avoid using nscd when custom rules are installed.
48254         * nss/getXXbyYY_r.c: Likewise.
48255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48256
48257         * nss/nss_files/files-parse.c: Whitespace fixes.
48258
48259 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48260
48261         [BZ #11883]
48262         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48263         * posix/fnmatch_loop.c: Likewise.
48264
48265 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48266
48267         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48268         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48269         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48270         * Versions.def [GLIBC_2.13]: Add.
48271
48272 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48273
48274         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48275         Also fail if tpwd after pwuid call is NULL.
48276
48277 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48278
48279         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48280         when converting to ms.
48281
48282 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48283
48284         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48285         EOPNOTSUPP errors with ENOTTY.
48286         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48287         EOPNOTSUPP errors with ENOTTY.
48288
48289 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48290
48291         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48292         Add strcasecmp_l-ssse3.
48293         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48294         strcasecmp.
48295         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48296         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48297         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48298
48299 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48300
48301         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48302
48303         * string/Makefile (strop-tests): Add strcasecmp.
48304         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48305         strcasecmp_l-nonascii.
48306         (gen-as-const-headers): Add locale-defines.sym.
48307         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48308         * sysdeps/x86_64/strcasecmp.S: New file.
48309         * sysdeps/x86_64/strcasecmp_l.S: New file.
48310         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48311         * sysdeps/x86_64/locale-defines.sym: New file.
48312         * string/test-strcasecmp.c: New file.
48313
48314         * string/test-strcasestr.c: Test both ends of the range of characters.
48315         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48316
48317 2010-07-29  Roland McGrath  <roland@redhat.com>
48318
48319         [BZ #11856]
48320         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48321
48322 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48323
48324         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48325         for ld.so.
48326
48327 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48328
48329         * manual/memory.texi (Malloc Tunable Parameters): Document
48330         M_PERTURB.
48331
48332 2010-07-26  Roland McGrath  <roland@redhat.com>
48333
48334         [BZ #11840]
48335         * configure.in (-fgnu89-inline check): Set and substitute
48336         gnu89_inline, not libc_cv_gnu89_inline.
48337         * configure: Regenerated.
48338         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48339
48340 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48341
48342         * string/test-strnlen.c: New file.
48343         * string/Makefile (strop-tests): Add strnlen.
48344         * string/tester.c (test_strnlen): Add a few more test cases.
48345         * string/tst-strlen.c: Better error reporting.
48346
48347         * sysdeps/x86_64/strnlen.S: New file.
48348
48349 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48350
48351         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48352         lower-latency instructions.
48353
48354 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48355
48356         * string/test-strcasestr.c: New file.
48357         * string/test-strstr.c: New file.
48358         * string/Makefile (strop-tests): Add strstr and strcasestr.
48359         * string/str-two-way.h: Don't undefine MAX.
48360         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48361
48362 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48363
48364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48365         strcasestr-nonascii.
48366         (CFLAGS-strcasestr-nonascii.c): Define.
48367         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48368         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48369         Remove unused attribute.
48370
48371 2010-07-20  Roland McGrath  <roland@redhat.com>
48372
48373         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48374         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48375         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48376         like LD_HWCAP_MASK can disable hwcaps.
48377
48378 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48379
48380         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48381
48382 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48383
48384         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48385         call in strcasestr.
48386         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48387         __strcasestr_sse42_nonascii.
48388         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48389         strcasestr-nonascii.c.
48390         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48391
48392 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48393
48394         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48395         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48396         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48397         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48398
48399 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48400
48401         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48402         fcntl.
48403
48404 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48405
48406         [BZ #11577]
48407         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48408         dl_signal_cerror.
48409
48410 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48411
48412         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48413         _PC_PIPE_BUF using F_GETPIPE_SZ.
48414
48415 2010-07-05  Roland McGrath  <roland@redhat.com>
48416
48417         * manual/arith.texi (Rounding Functions): Fix rint description
48418         implicit in round description.
48419
48420 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48421
48422         * elf/Makefile: Fix linking for a few tests to make recent linker
48423         happy.
48424
48425 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48426
48427         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48428         $(common-objpfx)libc_nonshared.a.
48429
48430 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48431
48432         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48433         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48434         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48435         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48436         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48437         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48438         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48439         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48454         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48455         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48456         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48457         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48458         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48459         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48460         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48461         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48462         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48463         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48464         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48465         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48480
48481 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48482
48483         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48484         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48485         * string/memmove.c (memmove): Renamed to ...
48486         (MEMMOVE): ...this.  Default to memmove.
48487         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48488         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48489         (END_CHK): Define.
48490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48491         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48492         mempcpy-ssse3-back memmove-ssse3-back.
48493         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48494         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48495         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48496         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48497         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48498         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48499         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48500         * sysdeps/x86_64/multiarch/memmove.c: New file.
48501         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48502         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48503         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48504         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48505         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48506         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48507         Define.
48508         (index_Fast_Copy_Backward): Define.
48509         (HAS_ARCH_FEATURE): Define.
48510         (HAS_FAST_REP_STRING): Define.
48511         (HAS_FAST_COPY_BACKWARD): Define.
48512
48513 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48514
48515         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48516         Restore proper fallback handling.
48517
48518 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48519
48520         [BZ #11701]
48521         * posix/group_member.c (__group_member): Correct checking loop.
48522
48523         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48524         OOM in getpwuid_r correctly.  Return error number when the caller
48525         should return, otherwise -1.
48526         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48527         call returning > 0 value.
48528         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48529
48530 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48531
48532         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48533         libc_nonshared.a from targets in modules-names.
48534
48535 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48536
48537         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48538         requires it.
48539
48540 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48541
48542         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48543         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48544         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48545         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48546
48547 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48548
48549         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48550
48551 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48552
48553         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48554         and F_GETPIPE_SZ.
48555         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48556         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48557         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48559         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48560         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48561
48562 2010-06-14  Roland McGrath  <roland@redhat.com>
48563
48564         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48565
48566 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48567
48568         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48569         __REDIRECT followed by __THROW.
48570         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48571         * posix/getopt.h (getopt): Likewise.
48572
48573 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48574
48575         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48576         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48577         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48578         in AT_FLAGS.
48579         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48580         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48581
48582 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48583
48584         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48585
48586 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48587
48588         [BZ #11640]
48589         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48590         Properly check family and model.
48591
48592 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48593
48594         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48595
48596 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48597
48598         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48599
48600 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48601
48602         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48603         symbol reference.
48604
48605 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48606
48607         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48608         symbol reference.
48609
48610 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48611
48612         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48613         and internal_recvmmsg.
48614         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48615         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48616         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48617         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48618
48619         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48620         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48621         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48622
48623 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48624
48625         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48626
48627 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48628
48629         POWER7 optimizations.
48630         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48631         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48632
48633 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48634
48635         * version.h: Update for 2.13 development version.
48636
48637 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48638
48639         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48640         exceptions.  Return 0.
48641
48642 2010-05-07  Roland McGrath  <roland@redhat.com>
48643
48644         * elf/ldconfig.c (main): Add a const.
48645
48646 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48647
48648         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48649         (args_options): Add no-idn option.
48650         (ahosts_keys_int): Add idn_flags to ai_flags.
48651         (parse_option): Handle 'i' option to clear idn_flags.
48652
48653         * malloc/malloc.c (_int_free): Possible race in the most recently
48654         added check.  Only act on the data if no current modification
48655         happened.
48656
48657 See ChangeLog.17 for earlier changes.