S390: Quash unused variable warning due to no-op THREAD_SET_POINTER_GUARD.
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2
3         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4         value so it's not diagnosed as unused.
5
6         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7         thing) with "ifeq ($(subdir),rt)".
8
9 2014-07-03  Richard Henderson  <rth@redhat.com>
10
11         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14
15         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16         (math_force_eval): New.
17
18         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
19         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
20
21         * sysdeps/alpha/fpu/s_round.c: Remove file.
22         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23
24         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
25         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28         (_dl_start, print_statistics): Likewise.
29         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31
32         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37         (HP_SMALL_TIMING_AVAIL): Define.
38         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40         (HP_SMALL_TIMING_AVAIL): Define.
41         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43
44         * sysdeps/aarch64/hp-timing.h: New file.
45
46         * sysdeps/generic/hp-timing.h: Remove dead comment.
47         * sysdeps/generic/hp-timing-common.h: New file.
48         * sysdeps/alpha/hp-timing.h: Include it.
49         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
50         * sysdeps/i386/i686/hp-timing.h: Likewise.
51         * sysdeps/ia64/hp-timing.h: Likewise.
52         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
56         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
57         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
58         (hp_timing_t): New.
59
60         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
61         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
62         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
63         * elf/rtld.c (_dl_start_final): Likewise.
64         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
65         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
66         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
67         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
68         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
69         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
70         (HP_TIMING_DIFF_INIT): Remove.
71         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
72         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
73         (HP_TIMING_DIFF_INIT): Remove.
74         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
75         * sysdeps/i386/i686/hp-timing.c: Remove file.
76         * sysdeps/x86_64/hp-timing.c: Remove file.
77         * sysdeps/ia64/hp-timing.c: Remove file.
78         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
79         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
80         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
81         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
82
83         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
84         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
85         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
86         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
87         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
88         (HP_TIMING_ACCUM): Remove.
89         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
90         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
91         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
92
93         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
94         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
95         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
96         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
97         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
98         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
99         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
100         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
101
102         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
103
104 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
105
106         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
107
108 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
109
110         Sync up with gettext.
111         * intl/loadmsgcat.c: Define O_BINARY if not defined.
112         [_MSC_VER]: Include malloc.h
113         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
114         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
115         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
116         TEMP_FAILURE_RETRY.  Cast return of alloca.
117         [!_LIBC] Call gl_rwlock_init.
118         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
119
120 2014-07-02  Roland McGrath  <roland@hack.frob.com>
121
122         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
123         before checking its value.
124
125 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
126
127         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
128
129         * debug/memcpy_chk.c: Don't include pagecopy.h.
130         * debug/mempcpy_chk.c: Likewise.
131         * string/memcpy.c: Likewise.
132         * string/memmove.c: Likewise.
133         * sysdeps/powerpc/memmove.c: Likewise.
134         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
135         definition of PAGE_COPY_FWD_MAYBE here...
136         * sysdeps/generic/pagecopy.h: ... from here.
137         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
138
139 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
140             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
141
142         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
144         optimizations.
145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
146         (__libc_ifunc_impl_list): Likewise.
147         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
148         multiarch strcat for PPC64.
149         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
150         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
151
152 2014-07-02  Roland McGrath  <roland@hack.frob.com>
153
154         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
155
156 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
157
158         * intl/loadmsgcat.c: Remove declaration of
159         get_sysdep_segment_value.
160         (get_sysdep_segment_value): Use ISO C style.
161         (_nl_load_domain): Use ISO C style.  Get rid of redundant
162         semicolon.  Fix typo and formatting in comment.
163         (_nl_unload_domain): Use ISO C style.
164
165         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
166
167 2014-07-02  Will Newton  <will.newton@linaro.org>
168
169         * malloc/obstack.c: Merge from gnulib master.
170         [HAVE_CONFIG_H]: Remove conditional code.
171         [!_LIBC]: Include config.h.
172         [!ELIDE_CODE]: Don't include inttypes.h, include
173         stdint.h unconditionally.
174         (print_and_abort): Mark as _Noreturn.
175         (_obstack_allocated_p): Mark as __attribute_pure__.
176         (obstack_free): Rename to __obstack_free.
177         [!__attribute__]: Remove conditional code.
178         * malloc/obstack.h: Merge from gnulib master.
179         [__cplusplus]: Move conditional down.
180         [!__attribute_pure__]: Define __attribute_pure__ here
181         if it is not already defined.
182         (_obstack_memory_used): Mark as __attribute_pure__.
183         [!__obstack_free]: Define as obstack_free.
184         [__GNUC__]: Remove check for ancient NeXT gcc.
185
186 2014-07-02  Will Newton  <will.newton@linaro.org>
187             Paul Eggert  <eggert@cs.ucla.edu>
188
189         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
190
191 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
192
193         * resolv/gethnamaddr.c: Add comment warning that the file is
194         not maintained.
195
196 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
197
198         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
199         entries.
200
201         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
202         entry for aio_cancel and aio_cancel64.
203         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
204         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
205         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
206         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
207         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
208         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
209         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
210         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
211         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
212         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
213         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
214         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
215         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
216
217 2014-07-01  Roland McGrath  <roland@hack.frob.com>
218
219         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
220         * nptl/pthread_mutex_lock.c: Likewise.
221         * nptl/pthread_mutex_timedlock.c: Likewise.
222         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
223
224 2014-07-01  Richard henderson  <rth@redhat.com>
225
226         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
227         (__isnan, __isnanl): Remove.
228         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
229
230         * sysdeps/alpha/fpu/libm-test-ulps: Update.
231
232 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
233
234         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
235
236 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
237
238         * resolv/nss_dns/dns-host.c (getanswer_r)
239         [MULTI_PTRS_ARE_ALIASES]: Remove code.
240
241 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
242
243         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
244         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
245         undefine.
246         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
247         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
248
249 2014-07-01  Roland McGrath <roland@hack.frob.com>
250
251         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
252         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
253
254         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
255         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
256
257         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
258         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
259         ... here.
260         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
261         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
262
263         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
264         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
265         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
266         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
267
268         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
269         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
270         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
271         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
272         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
273         Moved ...
274         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
275         ... here.
276         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
277         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
278         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
279         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
280         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
281         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
282         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
283         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
284         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
285         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
286         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
287         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
288         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
289         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
290         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
291         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
292         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
293         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
294         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
295         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
296         ... here.
297         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
298         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
299         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
300         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
301         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
302         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
303         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
304         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
305
306 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
307
308         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
309         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
310         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
311         Add sysdep.
312
313 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
314
315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
316
317 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
318
319         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
320         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
321
322         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
323
324         * sysdeps/arm/libm-test-ulps: Regenerated.
325
326 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
327             Roland McGrath <roland@hack.frob.com>
328
329         * test-skeleton.c (signal_handler): Kill the whole process group
330         before killing the child individually.
331         (main): Report any failure on `setpgid'.
332
333 2014-06-30  Roland McGrath  <roland@hack.frob.com>
334
335         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
336         from _TLS_H to _ARM_NPTL_TLS_H.
337         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
338         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
339
340 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
341
342         [BZ #16539]
343         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
344         (__expm1l): Return argument unchanged when small but not
345         subnormal.
346
347         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
348         include macro name.
349         (_FP_UNPACK_RAW_1_P): Likewise.
350         (_FP_PACK_RAW_1): Likewise.
351         (_FP_PACK_RAW_1_P): Likewise.
352         (_FP_MUL_MEAT_1_wide): Likewise.
353         (_FP_MUL_MEAT_DW_1_hard): Likewise.
354         (_FP_MUL_MEAT_1_hard): Likewise.
355         (_FP_DIV_MEAT_1_imm): Likewise.
356         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
357         (_FP_DIV_MEAT_1_udiv): Likewise.
358         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
359         (_FP_UNPACK_RAW_2): Likewise.
360         (_FP_UNPACK_RAW_2_P): Likewise.
361         (_FP_PACK_RAW_2): Likewise.
362         (_FP_PACK_RAW_2_P): Likewise.
363         (_FP_MUL_MEAT_DW_2_wide): Likewise.
364         (_FP_MUL_MEAT_2_wide): Likewise.
365         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
366         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
367         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
368         (_FP_MUL_MEAT_2_gmp): Likewise.
369         (_FP_DIV_MEAT_2_udiv): Likewise.
370         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
371         (_FP_FRAC_SRL_4): Likewise.
372         (_FP_FRAC_SRST_4): Likewise.
373         (_FP_FRAC_SRS_4): Likewise.
374         (_FP_UNPACK_RAW_4): Likewise.
375         (_FP_UNPACK_RAW_4_P): Likewise.
376         (_FP_PACK_RAW_4): Likewise.
377         (_FP_PACK_RAW_4_P): Likewise.
378         (_FP_MUL_MEAT_DW_4_wide): Likewise.
379         (_FP_MUL_MEAT_4_wide): Likewise.
380         (_FP_MUL_MEAT_4_gmp): Likewise.
381         (umul_ppppmnnn): Likewise.
382         (_FP_DIV_MEAT_4_udiv): Likewise.
383         (__FP_FRAC_ADD_4): Likewise.
384         (__FP_FRAC_SUB_3): Likewise.
385         (__FP_FRAC_SUB_4): Likewise.
386         (__FP_FRAC_DEC_3): Likewise.
387         (__FP_FRAC_DEC_4): Likewise.
388         (__FP_FRAC_ADDI_4): Likewise.
389         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
390         (_FP_FRAC_SRL_8): Likewise.
391         (_FP_FRAC_SRS_8): Likewise.
392
393         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
394         include macro name.
395         (FP_UNPACK_RAW_EP): Likewise.
396         (FP_PACK_RAW_E): Likewise.
397         (FP_PACK_RAW_EP): Likewise.
398         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
399         (_FP_ISSIGNAN): Likewise.
400         (_FP_ADD_INTERNAL): Likewise.
401         (_FP_FMA): Likewise.
402         (_FP_CMP): Likewise.
403         (_FP_SQRT): Likewise.
404         (_FP_TO_INT): Likewise.
405         (_FP_FROM_INT): Likewise.
406         (FP_EXTEND): Likewise.
407         (_FP_DIV_MEAT_N_loop): Likewise.
408
409 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
410
411         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
412         throughout.
413
414 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
415
416         [BZ #17097]
417         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
418         result with correct sign in case of exponents that produce
419         overflow except for X very close to 1.
420
421 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
422
423         mktime: merge #if/#ifdef usage from glibc
424         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
425         as that works with both Glibc's and Gnulib's style.
426         See thread starting at Siddhesh Poyarekar's bug report at:
427         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
428
429 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
430
431         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
432         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
433         * sysdeps/tile/tilegx/memmove.c: Remove file.
434
435 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
436
437         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
438         abi-name definition.
439         * scripts/soversions.awk: Do not handle or generate ABI lines.
440         * shlib-versions: Remove ABI entries.
441         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
442         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
443
444 2014-06-27  Roland McGrath  <roland@hack.frob.com>
445
446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
447         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
448         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
449         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
451         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
453         Moved ...
454         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
455         ... here.
456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
457         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
458         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
459         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
460         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
461         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
463         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
465         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
466         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
467         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
469         Moved ...
470         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
472         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
473         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
474         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
476         Moved ...
477         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
478         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
479         Moved ...
480         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
481         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
482         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
484         Moved ...
485         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
487         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
488         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
489         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
491         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
493         Moved ...
494         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
496         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
497         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
498         Moved ...
499         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
501         Moved ...
502         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
503         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
504         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
505         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
506         Moved ...
507         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
508         ... here.
509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
510         Identical file removed.
511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
512         Moved ...
513         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
514         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
515         Identical file removed.
516         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
517         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
518         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
519         Moved ...
520         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
522         Identical file removed.
523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
524         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
525         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
526         Identical file removed.
527         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
528         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
529         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
530         Identical file removed.
531         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
532         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
534         Identical file removed.
535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
536         Moved ...
537         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
538         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
539         Identical file removed.
540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
541         Moved ...
542         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
543         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
544         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
545         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
546         Identical file removed.
547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
548         Moved ...
549         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
550         ... here.
551         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
552         Identical file removed.
553         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
554         Moved ...
555         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
556         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
557         Identical file removed.
558         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
559         Moved ...
560         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
561         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
562         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
563         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
564         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
566         Moved ...
567         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
568         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
569         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
570
571         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
572         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
573         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
574         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
575         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
576
577 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
578
579         [BZ #17092]
580         * nscd/nscd.c (monitor_child): Return exit status of child
581         instead of return value from wait syscall.
582
583 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
584
585         * configure.ac (libc_commonpagesize): Remove variable.
586         (libc_relro_required): Likewise.
587         (libc_cv_z_relro): Remove configure test.
588         * configure: Regenerated.
589         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
590         variable.
591         (libc_relro_required): Likewise.
592         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
593         (libc_relro_required): Likewise.
594         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
595         (libc_relro_required): Likewise.
596         * sysdeps/arm/preconfigure: Regenerated.
597         * sysdeps/ia64/preconfigure: Remove file.
598         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
599         variable.
600         (libc_relro_required): Likewise.
601
602         [BZ #16561]
603         [BZ #16562]
604         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
605         (__ieee754_yn): Set FE_TONEAREST mode internally and then
606         recompute overflowing results in original rounding mode.
607         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
608         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
609         recompute overflowing results in original rounding mode.
610         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
611         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
612         recompute overflowing results in original rounding mode.
613         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
614         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
615         recompute overflowing results in original rounding mode.
616         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
617         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
618         recompute overflowing results in original rounding mode.
619         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
620         (libc_feholdsetround_ctx): New macro.
621         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
622         * sysdeps/i386/fpu/libm-test-ulps: Update.
623         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
624
625 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
626
627         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
628         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
629         corresponding .cpsetup call.
630
631 2014-06-26  Roland McGrath  <roland@hack.frob.com>
632
633         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
634         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
635         * sysdeps/arm/Makefile [$(subdir) = csu]
636         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
637         (static-only-routines): Add aeabi_read_tp here.
638         (shared-only-routines): Add libc-aeabi_read_tp here.
639         (CFLAGS-libc-start.c): Add -fexceptions here.
640         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
641         (sysdep_routines, static-only-routines, shared-only-routines):
642         Don't add to these here.
643         (CFLAGS-libc-start.c): Likewise.
644
645         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
646         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
647         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
648         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
649         * sysdeps/arm/Makefile [$(subdir) = rt]
650         (librt-sysdep_routines, librt-shared-only-routines):
651         Append rt-aeabi_unwind_cpp_pr1 here.
652         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
653         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
654         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
655         (libpthread-sysdep_routines, libpthread-shared-only-routines):
656         Append nptl-aeabi_unwind_cpp_pr1 here.
657         (tests): Filter out tst-cleanupx4 here.
658         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
659         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
660         Don't do those here.
661
662 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
663
664         * scripts/list-sources.sh: Do not handle ports specially.
665
666 2014-06-26  Roland McGrath  <roland@hack.frob.com>
667
668         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
669         * sysdeps/arm/feupdateenv.c: Likewise.
670
671         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
672
673 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
674
675         * manual/texinfo.tex: Update to version 2014-05-05.10 with
676         trailing whitespace removed.
677         * scripts/config.guess: Update to version 2014-03-23.
678         * scripts/config.sub: Update to version 2014-05-01
679         * scripts/install-sh: Update to version 2013-12-25.23.
680         * scripts/move-if-change: Update from gnulib.
681
682 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
683
684         * debug/memmove_chk.c: Remove pagecopy.h include.
685
686 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
687
688         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
689         identical to gnulib mktime.
690
691 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
692
693         * configure.ac: Do not test for machine being rs6000.  Do not test
694         for powerpc*-*soft.
695         * configure: Regenerated.
696
697         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
698         test.
699         * configure: Regenerated.
700         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
701         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
702         Remove configure test.
703         * sysdeps/arm/configure: Regenerated.
704         * sysdeps/nptl/configure.ac: Do not check
705         libc_cv_asm_cfi_directives.
706         * sysdeps/nptl/configure: Regenerated.
707         * sysdeps/x86_64/nptl/configure.ac: Remove file.
708         * sysdeps/x86_64/nptl/configure: Remove generated file.
709         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
710         unconditional.
711         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
712
713 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
714
715         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
716         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
717         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
718         it is defined.
719
720         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
721         instead of whether it is defined.
722         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
723         * sysdeps/hppa/dl-machine.h: Likewise.
724         * sysdeps/ia64/dl-machine.h: Likewise.
725         * sysdeps/m68k/dl-machine.h: Likewise.
726         * sysdeps/microblaze/dl-machine.h: Likewise.
727         * sysdeps/mips/dl-machine.: Likewise.
728         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
729         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
730         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
731         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
732         * sysdeps/sh/dl-machine.h: Likewise.
733         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
734         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
735         * sysdeps/tile/dl-machine.h: Likewise.
736         * sysdeps/x86_64/dl-machine.h: Likewise.
737
738         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
739         code.
740         (verify_persistent_db): Likewise.
741
742 2014-06-26  Roland McGrath  <roland@hack.frob.com>
743
744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
745         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
747         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
749         Moved ...
750         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
751         ... here.
752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
753         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
755         Identical file removed.
756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
757         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
759         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
761         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
763         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
765         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
767         Moved ...
768         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
770         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
772         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
774         Moved ...
775         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
777         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
779         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
781         Identical file removed.
782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
783         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
785         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
787         Moved ...
788         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
789         ... here.
790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
791         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
793         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
795         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
797         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
799         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
801         Moved ...
802         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
804         Moved ...
805         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
807         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
809         Moved ...
810         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
812         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
813
814         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
815         folded into ...
816         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
817         * sysdeps/unix/sysv/linux/s390/Versions
818         (libpthread: GLIBC_2.19): New version set.
819         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
820         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
821         (librt: GLIBC_2.3.3): New version set.
822         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
823         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
824         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
825         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
826         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
827         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
828         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
829         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
830         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
831         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
832         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
833         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
834         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
835         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
836         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
837         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
838         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
839         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
840         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
841         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
842         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
843         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
844         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
845         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
846         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
847         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
848         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
849         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
850         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
851         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
852         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
853         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
855         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
857         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
858         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
859         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
860         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
861         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
862         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
863         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
864         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
866         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
867
868         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
869         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
870         (__libc_vfork): Define the function under this name.
871         [!NOT_IN_libc] (__vfork): Make this an alias.
872         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
874         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
875         (__libc_vfork): Define the function under this name.
876         [!NOT_IN_libc] (__vfork): Make this an alias.
877         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
878         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
879         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
881         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
882         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
883
884         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
885         code that was previously under [RESET_PID].
886         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
887         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
888         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
889
890         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
891         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
892         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
893         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
894         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
895         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
896         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
897         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
898         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
899         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
900         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
901         Moved ...
902         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
903         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
904         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
905         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
906         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
907         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
908         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
909         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
910         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
911         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
912         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
913         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
914         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
915         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
916         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
917         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
918         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
919         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
920         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
921         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
922         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
923         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
924         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
925         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
926         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
927         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
928         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
929         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
930         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
931
932 2014-06-25  Roland McGrath  <roland@hack.frob.com>
933
934         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
935         that was previously under [RESET_PID].
936         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
937
938 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
939
940         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
941         not undefine and redefine.
942         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
943         [O_CLOEXEC]: Make code unconditional.
944         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
945         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
946         <kernel-features.h>.
947         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
948         conditional variable definition.
949         (shm_open) [O_CLOEXEC]: Make code unconditional.
950         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
951         code.
952
953         * configure.ac (USE_REGPARMS): Don't define here.
954         * configure: Regenerated.
955         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
956         * sysdeps/i386/configure: Regenerated.
957
958         * nptl/createthread.c: Don't include kernel-features.h.
959         * nptl/pthread_cancel.c: Likewise.
960         * nptl/pthread_condattr_setclock.c: Likewise.
961         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
962         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
963         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
964         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
965         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
966         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
967         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
968         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
969         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
970         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
971         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
972         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
973         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
974         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
975         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
976         * nscd/gai.c: Likewise.
977         * nss/nss_db/db-open.c: Likewise.
978         * sysdeps/generic/ldsodefs.h: Likewise.
979         * sysdeps/sh/nptl/tls.h: Likewise.
980         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
981         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
982         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
983         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
984         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
985         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
986         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
987         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
988         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
989         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
990         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
991         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
992         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
993         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
994         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
995         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
996         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
997         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
998         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
999         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1000         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1001         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1002         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1003         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1004         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1005         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1006         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1007         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1008         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1009         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1010         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1011         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1012         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1013         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1014         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1015         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1016         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1017         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1018         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1019         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1020         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1021         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1022         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1023         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1024         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1025         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1026         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1027         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1028         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1029         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1030         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1031         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1032         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1033         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1034         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1035         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1036         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1037         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1060         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1061         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1062         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1063         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1064         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1065         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1066         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1067         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1068         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1069         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1070         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1071         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1072         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1073         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1074         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1075         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1076         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1077         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1078         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1079         * sysdeps/unix/sysv/linux/system.c: Likewise.
1080         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1081         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1082         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1083         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1084         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1085         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1086         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1087
1088         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1089         * configure: Regenerated.
1090         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1091
1092         * configure.ac (base_machine): Do not set specially for particular
1093         machines here.
1094         * configure: Regenerated.
1095         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1096         settings from configure.ac.
1097         * sysdeps/i386/preconfigure: New file.
1098         * sysdeps/s390/preconfigure: Likewise.
1099         * sysdeps/sh/preconfigure: Likewise.
1100         * sysdeps/sparc/preconfigure: Likewise.
1101
1102 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1103
1104         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1105         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1106         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1107         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1108         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1109         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1110         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1111         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1112         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1113         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1114         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1115         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1116         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1117         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1118         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1119         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1120         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1121         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1122         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1123
1124         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1125         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1126         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1127         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1128         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1129         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1130         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1131         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1132         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1133         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1134         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1135         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1136         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1137         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1138         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1139         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1140         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1141         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1142         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1143         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1144         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1145         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1146         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1147         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1148         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1149         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1150         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1151         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1152         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1153         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1154         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1155         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1156         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1157         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1158         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1159         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1160         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1161         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1162
1163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1164         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1166         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1168         Moved ...
1169         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1170         ... here.
1171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1172         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1174         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1176         Moved ...
1177         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1179         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1181         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1183         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1185         Moved ...
1186         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1188         Moved ...
1189         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1191         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1193         Moved ...
1194         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1196         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1198         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1200         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1202         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1204         Moved ...
1205         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1206         ... here.
1207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1208         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1210         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1212         Moved ...
1213         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1215         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1217         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1219         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1221         Moved ...
1222         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1224         Moved ...
1225         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1227         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1229         Moved ...
1230         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1232         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1234         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1235
1236 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1237
1238         * timezone/checktab.awk: Update from tzcode 2014e.
1239         * timezone/private.h: Likewise.
1240         * timezone/tzfile.h: Likewise.
1241         * timezone/zdump.c: Likewise.
1242         * timezone/zic.c: Likewise.
1243
1244         * sysdeps/unix/sysv/linux/kernel-features.h
1245         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1246         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1247         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1248         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1249         Remove conditional code.
1250
1251 2014-06-25  Will Newton  <will.newton@linaro.org>
1252
1253         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1254         (_dl_arm_cap_flags): Add HWCAP2 values.
1255         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1256         (_DL_HWCAP_COUNT): Increase to 37.
1257         (_DL_HWCAP_LAST): New define.
1258         (_DL_HWCAP2_LAST): New define.
1259         (_dl_procinfo): Add support for printing
1260         AT_HWCAP2 entries.
1261         (_dl_string_hwcap): Use _dl_hwcap_string.
1262
1263 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1264
1265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1266
1267 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1268
1269         * README: Do not mention ports directory.
1270
1271         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1272         Remove macro.
1273         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1274         <kernel-features.h>.
1275         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1276         conditional variable definition.
1277         (__futimes): Update comment.
1278         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1279         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1280
1281         [BZ #16560]
1282         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1283         arguments close to 0.
1284         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1285         Likewise.
1286         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1287         Likewise.
1288         * math/auto-libm-test-in: Add more tests of exp10.
1289         * math/auto-libm-test-out: Regenerated.
1290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1291
1292         * sysdeps/unix/sysv/linux/kernel-features.h
1293         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1294         * sysdeps/unix/sysv/linux/readv.c: Do not include
1295         <kernel-features.h>.
1296         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1297         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1298         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1299         unconditional.
1300         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1301         conditional code.
1302         * sysdeps/unix/sysv/linux/writev.c: Do not include
1303         <kernel-features.h>.
1304         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1305         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1306         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1307         unconditional.
1308         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1309         conditional code.
1310
1311 2014-06-25  Will Newton  <will.newton@linaro.org>
1312
1313         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1314         comment changes throughout the file.  Remove checks
1315         for HAVE_*_H definitions that are not required.
1316         (__gen_tempname): Call abort if an unknown kind value is
1317         passed.
1318
1319 2014-06-25  Andreas Schwab  <schwab@suse.de>
1320
1321         [BZ #17086]
1322         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1323         scalbln, scalblnf, scalblnl in libc.
1324
1325 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1326
1327         [BZ #17086]
1328         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1329         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1330         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1331
1332 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1333
1334         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1335         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1336         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1337         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1338         Update #include.
1339         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1340         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1341         Update #include.
1342         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1343         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1344         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1345         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1346         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1347         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1348         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1349         * sysdeps/x86/bits/semaphore.h: ... here.
1350         * sysdeps/x86/nptl/elide.h: Moved ...
1351         * sysdeps/x86/elide.h: ... here.
1352         * sysdeps/x86_64/nptl/Implies: File removed.
1353         * sysdeps/i386/nptl/Implies: File removed.
1354
1355 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1356
1357         [BZ #16539]
1358         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1359         return the argument for normal arguments with exponent below -64.
1360         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1361         Likewise.
1362         * math/auto-libm-test-in: Add another test of expm1.
1363         * math/auto-libm-test-out: Regenerated.
1364
1365         [BZ #16287]
1366         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1367         calling __erfcl for arguments at least 16.
1368         * math/auto-libm-test-in: Add more tests of erf.
1369         * math/auto-libm-test-out: Regenerated.
1370
1371         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1372         individual architectures.
1373         * sysdeps/unix/sysv/linux/configure: Regenerated.
1374         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1375         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1376         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1377         (ldd_rewrite_script): Define variable.
1378         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1380         file.
1381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1382         generated file.
1383         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1384         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1385         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1386         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1387         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1388         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1389         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1390         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1391
1392 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1393
1394         [BZ #17084]
1395         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1396         Rename member __data.d to __data.__elision_data.
1397
1398 2014-06-24  Wilco  <wdijkstr@arm.com>
1399
1400         * NEWS: Add 16918 to fixed bug list.
1401
1402 2014-06-24  Wilco  <wdijkstr@arm.com>
1403
1404         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1405
1406 2014-06-24  Wilco  <wdijkstr@arm.com>
1407
1408         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1409         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1410         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1411         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1412         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1413         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1414         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1415         Use _FPU_MASK_RM.
1416
1417 2014-06-24  Wilco  <wdijkstr@arm.com>
1418
1419         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1420
1421 2014-06-24  Wilco  <wdijkstr@arm.com>
1422
1423         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1424         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1425         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1426         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1427
1428 2014-06-24  Wilco  <wdijkstr@arm.com>
1429
1430         [BZ #16918]
1431         * sysdeps/arm/feupdateenv.c (feupdateenv):
1432         Rewrite to reduce FPSCR accesses and fix return value.
1433
1434 2014-06-24  Wilco  <wdijkstr@arm.com>
1435
1436         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1437         Optimize to avoid unnecessary FPSCR writes.
1438         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1439         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1440         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1441         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1442
1443 2014-06-24  Wilco  <wdijkstr@arm.com>
1444
1445         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1446         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1447         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1448         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1449         Call libc_fetestexcept_vfp.
1450         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1451         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1452         __SOFTFP__ ifdef so that they can be built for softfp.
1453
1454 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1455
1456         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1457         argument type signed char.
1458
1459         * Makerules (check-abi): Dump diff of symlist if the test
1460         fails.
1461
1462 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1463
1464         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1465         using abort.
1466
1467         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1468         Remove unused variable ST.
1469
1470 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1471
1472         [BZ #16354]
1473         [BZ #17061]
1474         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1475         small arguments before calling __expm1.
1476         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1477         small arguments before calling __expm1f.
1478         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1479         small arguments before calling __expm1l.
1480         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1481         Likewise.
1482         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1483         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1484         spurious underflow for some cosh tests.
1485         * math/auto-libm-test-out: Regenerated.
1486         * sysdeps/i386/fpu/libm-test-ulps: Update.
1487
1488         [BZ #17050]
1489         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1490         (__ieee754_y1): Set errno if return value overflows.
1491         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1492         (__ieee754_y1f): Set errno if return value overflows.
1493         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1494         (__ieee754_y1l): Set errno if return value overflows.
1495         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1496         (__ieee754_y1l): Set errno if return value overflows.
1497         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1498         * math/auto-libm-test-out: Regenerated.
1499
1500         * math/gen-auto-libm-tests.c: Document use of
1501         ignore-zero-inf-sign.
1502         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1503         (input_flags): Add ignore-zero-inf-sign.
1504         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1505         * math/gen-libm-test.pl (generate_testfile): Handle
1506         ignore-zero-inf-sign.
1507         * math/auto-libm-test-in: Mark some cpow tests with
1508         ignore-zero-inf-sign and some with xfail-rounding.
1509         * math/auto-libm-test-out: Regenerated.
1510         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1511         * sysdeps/i386/fpu/libm-test-ulps: Update.
1512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1513
1514         [BZ #16315]
1515         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1516         overflowing or underflowing operations take place with sign of
1517         result.
1518         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1519         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1520         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1521         (__ieee754_pow): Recompute overflowing and underflowing results in
1522         original rounding mode.
1523         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1524         (__powl_helper): Allow negative argument X and scale negated value
1525         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1526         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1527         overflowing or underflowing operations take place with sign of
1528         result.
1529         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1530         Include <math.h>.
1531         * math/auto-libm-test-in: Add more tests of pow.
1532         * math/auto-libm-test-out: Regenerated.
1533         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1534         (pow_tonearest_test_data): Remove.
1535         (pow_test_tonearest): Likewise.
1536         (pow_towardzero_test_data): Likewise.
1537         (pow_test_towardzero): Likewise.
1538         (pow_downward_test_data): Likewise.
1539         (pow_test_downward): Likewise.
1540         (pow_upward_test_data): Likewise.
1541         (pow_test_upward): Likewise.
1542         (main): Don't call removed functions.
1543         * sysdeps/i386/fpu/libm-test-ulps: Update.
1544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1545
1546 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1547
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1549         Moved ...
1550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1552         Moved ...
1553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1555         Moved ...
1556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1558         Moved ...
1559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1561         File removed.
1562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1563         File removed.
1564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1565         File removed.
1566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1567         File removed.
1568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1569         File removed.
1570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1571         File removed.
1572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1573         File removed.
1574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1575         File removed.
1576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1577         File removed.
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1579         File removed.
1580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1581         File removed.
1582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1583         File removed.
1584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1585         Moved ...
1586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1588         Moved ...
1589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1590         ... here.
1591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1592         Moved ...
1593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1595         Moved ...
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1598         Moved ...
1599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1601         Moved ...
1602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1604         Moved ...
1605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1607         Moved ...
1608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1610         Moved ...
1611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1614         ... here.
1615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1616         Moved ...
1617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1619         Moved ...
1620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1621         ... here.
1622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1623         Moved ...
1624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1625         ... here.
1626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1627         Moved ...
1628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1629         ... here.
1630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1631         Moved ...
1632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1634         Moved ...
1635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1639         Moved ...
1640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1641         ... here.
1642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1643         Moved ...
1644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1645         ... here.
1646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1647         Moved ...
1648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1650         Moved ...
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1653         Moved ...
1654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1656         Moved ...
1657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1659         Moved ...
1660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1661         ... here.
1662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1663         Moved ...
1664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1666         Moved ...
1667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1669         Moved ...
1670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1672         Moved ...
1673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1677         Moved ...
1678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1680         Moved ...
1681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1683         Moved ...
1684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1685         ... here.
1686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1687         Moved ...
1688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1689         ... here.
1690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1691         Moved ...
1692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1693         ... here.
1694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1695         Moved ...
1696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1698         Moved ...
1699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1701         Moved ...
1702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1704         Moved ...
1705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1706         ... here.
1707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1708         Moved ...
1709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1710         ... here.
1711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1712         Moved ...
1713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1714         ... here.
1715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1716         Moved ...
1717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1719         Moved ...
1720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1721
1722 2014-06-23  Will Newton  <will.newton@linaro.org>
1723             Wilco  <wdijkstr@arm.com>
1724
1725         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1726         implementation.  Include get-rounding-mode.h.
1727         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1728         [!libc_feholdsetround_noex_ctx]: Define
1729         libc_feholdsetround_noex_ctx.
1730         [!libc_feholdsetround_noexf_ctx]: Define
1731         libc_feholdsetround_noexf_ctx.
1732         [!libc_feholdsetround_noexl_ctx]: Define
1733         libc_feholdsetround_noexl_ctx.
1734         (libc_feholdsetround_ctx): New function.
1735         (libc_feresetround_ctx): New function.
1736         (libc_feholdsetround_noex_ctx): New function.
1737         (libc_feresetround_noex_ctx): New function.
1738
1739 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1740
1741         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1742         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1743         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1744         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1745         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1746         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1747
1748         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1749         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1750         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1751         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1752         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1753         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1754         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1755         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1756         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1757         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1758         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1759         Moved ...
1760         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1761         ... here.
1762         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1763         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1764         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1765         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1766         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1767         Moved ...
1768         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1769         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1770         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1771         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1772         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1773         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1774         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1775         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1776         Moved ...
1777         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1778         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1779         Moved ...
1780         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1782         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1784         Moved ...
1785         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1786         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1787         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1788         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1789         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1790         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1791         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1792         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1793         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1794         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1795         Moved ...
1796         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1797         ... here.
1798         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1799         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1800         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1801         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1802         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1803         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1804         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1805         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1806         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1807         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1808         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1809         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1810         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1811         Moved ...
1812         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1813         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1814         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1815         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1816         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1817         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1818         Moved ...
1819         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1820         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1821         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1822         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1823         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1824
1825         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1826         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1827         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1828         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1829         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1830         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1831         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1832         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1833         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1834         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1835         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1836         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1837         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1838         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1839         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1840         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1841         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1842         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1843         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1844         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1845         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1846         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1847         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1848         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1849         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1850         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1851         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1852         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1853
1854 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1855
1856         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1857         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1858         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1859         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1860         (IPV6_PMTUDISC_INTERFACE): Likewise.
1861         (IPV6_PMTUDISC_OMIT): Likewise.
1862
1863 2014-06-23  Andreas Schwab  <schwab@suse.de>
1864
1865         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1866         Remove unused errout label.
1867
1868 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1869
1870         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1871         macro: hardware supports Vector Crypto instructions.
1872
1873 2014-06-23  Will Newton  <will.newton@linaro.org>
1874
1875         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1876         rather than __builtin_expect.
1877
1878         * elf/dl-lookup.c (undefined_msg): Remove variable.
1879         (_dl_lookup_symbol_x): Replace undefined_msg with string
1880         literal.
1881
1882         * elf/dl-lookup.c (do_lookup_unique): New function.
1883         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1884         to a separate function.
1885
1886 2014-06-23  Andreas Schwab  <schwab@suse.de>
1887
1888         [BZ #17079]
1889         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1890         before reading the next line.
1891
1892 2014-06-23  Will Newton  <will.newton@linaro.org>
1893
1894         * test-skeleton.c (signal_handler): Use printf and %m
1895         rather than perror.  Use printf rather than fprintf to
1896         stderr.  Use puts rather than fputs to stderr.
1897         (main): Likewise.
1898
1899 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1900
1901         * nscd/nscd.c (thread_info_t): Remove typedef.
1902         (thread_info): Remove variable.
1903
1904 2014-06-21  Allan McRae  <allan@archlinux.org>
1905
1906         * NEWS: Mention CVE-2014-4043.
1907
1908 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1909
1910         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1911         * nptl/smp.h: ... here.
1912
1913         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1914
1915         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1916         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1917         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1918         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1919
1920         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1921         * nptl/stack-aliasing.h: New file.
1922         * sysdeps/i386/i686/stack-aliasing.h: New file.
1923         * sysdeps/i386/i686/nptl/Makefile: File removed.
1924         * sysdeps/x86_64/stack-aliasing.h: New file.
1925         * sysdeps/x86_64/nptl/Makefile
1926         (CFLAGS-pthread_create.c): Variable removed.
1927
1928         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1929         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1930         old file.
1931         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1932         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1933         old file.
1934
1935 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1936
1937         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1938         (__ASSUME_SIGFRAME_V2): Remove macro.
1939         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1940         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1941         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1942         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1943         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1944         Declare as function.  Remove conditional macro definitions.
1945         (__default_rt_sa_restorer): Likewise.
1946         (__default_sa_restorer_v1): Remove declaration.
1947         (__default_sa_restorer_v2): Likewise.
1948         (__default_rt_sa_restorer_v1): Likewise.
1949         (__default_rt_sa_restorer_v2): Likewise.
1950         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1951         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1952         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1953
1954 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1955
1956         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1957         (libpthread-routines): Add sysdep.
1958         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1959         * sysdeps/unix/sysv/linux/sparc/Versions
1960         (libpthread: GLIBC_2.3.3): New version set.
1961         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1962         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1963         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1964         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1965         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1966         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1967         Moved ...
1968         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1969         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1970         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1971         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1972         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1973         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1974         * sysdeps/sparc/nptl/sem_init.c: ... here.
1975         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1976         * sysdeps/sparc/nptl/sem_post.c: ... here.
1977         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1978         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1979         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1980         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1981         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1982         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1983         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1984         (libpthread-routines): Add cpu_relax.
1985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1986         File removed.
1987         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1988         (librt: GLIBC_2.3.3): New version set.
1989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1990         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1991         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1992         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1995         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1997         Moved ...
1998         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2000         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2002         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2004         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2006         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2008         Moved ...
2009         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2010         Update #include.
2011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2012         Moved ...
2013         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2014         Update #include.
2015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2016         Moved ...
2017         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2018         Update #include.
2019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2020         Moved ...
2021         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2022         Update #include.
2023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2024         Moved ...
2025         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2026         Update #include.
2027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2028         Moved ...
2029         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2030         Update #include.
2031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2032         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2034         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2036         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2038         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2040         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2042         Moved ...
2043         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2045         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2047         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2048
2049 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2050
2051         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2052         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2053         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2054         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2055         * nscd/nscd.c: Likewise.
2056         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2057         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2058         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2059         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2060
2061         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2062         <kernel-features.h>.
2063         (init_mq_netlink): Remove conditional have_sock_cloexec
2064         definitions.  Remove code conditional on have_sock_cloexec < 0.
2065         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2066         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2067         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2068         <kernel-features.h>.
2069         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2070         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2071
2072 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2073
2074         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2075         Add tests for memset_chk and memset.
2076
2077         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2078         with AVX2_Usable.
2079
2080 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2081
2082         [BZ #16046]
2083         * elf/tst-dl-iter-static.c: New file.
2084         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2085
2086         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2087         error.
2088
2089 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2090
2091         * sysdeps/unix/sysv/linux/kernel-features.h
2092         (__ASSUME_F_GETOWN_EX): Remove macro.
2093         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2094         <kernel-features.h>.
2095         (miss_F_GETOWN_EX): Remove variable or macro.
2096         (do_fcntl): Do not check miss_F_GETOWN_EX.
2097         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2098
2099         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2100         Remove macro.
2101         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2102         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2103         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2104
2105         * sysdeps/unix/sysv/linux/kernel-features.h
2106         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2107         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2108         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2109         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2110
2111 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2112
2113         [BZ #17075]
2114         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2115         Fix calculation of the symbol's value.
2116         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2117         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2118         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2119         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2120         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2121         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2122         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2123         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2124         (modules-names): Add `tst-armtlsdescmod',
2125         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2126         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2127         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2128         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2129         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2130         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2131         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2132         ($(objpfx)tst-armtlsdescloc): New dependency.
2133         ($(objpfx)tst-armtlsdescextnow): Likewise.
2134         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2135         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2136         TLS scheme support.
2137         * sysdeps/arm/configure: Regenerate.
2138
2139 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2140
2141         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2142         (__atfct_seterrno_2): Likewise.
2143         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2144         <kernel-features.h>.
2145         (__ASSUME_ATFCTS): Do not undefine and redefine.
2146         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2147         (__have_atfcts): Remove conditional definition.
2148         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2149         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2150         unreachable if [__ASSUME_ATFCTS].
2151         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2152         not undefine and redefine.
2153         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2154         <kernel-features.h>.
2155         (faccessat) [__NR_faccessat]: Make code unconditional.
2156         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2157         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2158         <kernel-features.h>.
2159         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2160         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2161         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2162         <kernel-features.h>.
2163         (fchownat) [__NR_fchownat]: Make code unconditional.
2164         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2165         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2166         <kernel-features.h>.
2167         (futimesat) [__NR_futimesat]: Make code unconditional.
2168         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2169         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2170         <kernel-features.h>.
2171         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2172         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2173         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2174         <kernel-features.h>.
2175         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2176         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2177         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2178         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2179         <kernel-features.h>.
2180         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2181         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2182         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2183         <kernel-features.h>.
2184         (linkat) [__NR_linkat]: Make code unconditional.
2185         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2186         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2187         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2188         <kernel-features.h>.
2189         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2190         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2191         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2192         <kernel-features.h>.
2193         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2194         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2195         * sysdeps/unix/sysv/linux/openat.c: Do not include
2196         <kernel-features.h>.
2197         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2198         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2199         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2200         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2201         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2202         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2203         <kernel-features.h>.
2204         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2205         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2206         result of INLINE_SYSCALL directly, not via int variable.
2207         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2208         <kernel-features.h>.
2209         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2210         (renameat) [__NR_renameat]: Make code unconditional.
2211         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2212         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2213         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2214         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2215         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2216         (__ASSUME_ATFCTS): Do not undefine and redefine.
2217         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2218         <kernel-features.h>.
2219         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2220         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2221         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2222         <kernel-features.h>.
2223         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2224         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2225         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2226         (__ASSUME_ATFCTS): Do not undefine and redefine.
2227         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2228         <kernel-features.h>.
2229         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2230         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2231         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2232         <kernel-features.h>.
2233         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2234         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2235
2236 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2237
2238         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2239
2240 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2241
2242         [BZ #17069]
2243         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2244         constructed tree before returning error.
2245         * posix/bug-regexp36.c: Expand test case.
2246
2247 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2248
2249         [BZ #6803]
2250         * math/libm-test.inc (scalbln_test_date):
2251         Add errno expectations.
2252         * math/w_scalblnf.c: New File.
2253         Add wrapper which checks for setting errno to ERANGE.
2254         Add weak_alias for corresponding scalbln function.
2255         * math/w_scalbln.c: Likewise.
2256         * math/w_scalblnl.c: Likewise.
2257         * math/Makefile (libm-calls): Add w_scalbln.
2258         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2259         Remove weak_alias for corresponding scalbln function.
2260         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2261         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2262         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2263         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2264         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2265         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2266         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2267         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2268         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2269         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2270         Remove long_double_symbol for scalblnl function in libm, libc.
2271         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2272         Add wrapper which checks for setting errno to ERANGE.
2273         Add long_double_symbol for scalblnl function in libm, libc.
2274         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2275         Remove long_double_symbol for scalblnl in libm.
2276         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2277         Add wrapper which checks for setting errno to ERANGE.
2278         Add long_double_symbol for scalblnl function in libm.
2279         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2280         Do not use wrapper because of own implementation.
2281
2282 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2283
2284         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2285         3 bytes for __pad1 for x32.
2286         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2287
2288 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2289             H.J. Lu  <hongjiu.lu@intel.com>
2290
2291         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2292         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2293         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2294         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2295         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2296
2297 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2298
2299         [BZ #17069]
2300         * posix/regcomp.c (parse_expression): Deallocate partially
2301         constructed tree before returning error.
2302         * posix/Makefile.c (tests): Add bug-regex36.
2303         (generated): Add bug-regex36.mtrace.
2304         (tests-special): Add $(objpfx)bug-regex36-mem.out
2305         (bug-regex36-ENV): New variable.
2306         ($(objpfx)bug-regex36-mem.out): New rule.
2307         * posix/bug-regex36.c: New file.
2308
2309 2014-06-19  Will Newton  <will.newton@linaro.org>
2310
2311         * malloc/malloc.c (systrim): If extra is zero then return
2312         early.
2313
2314 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2315
2316         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2317
2318 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2319
2320         * sysdeps/aarch64/strchr.S: New file.
2321
2322 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2323
2324         [BZ #17022]
2325         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2326         from arguments -2 or below.
2327         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2328         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2329
2330 2014-06-18  Andreas Schwab  <schwab@suse.de>
2331
2332         [BZ #17062]
2333         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2334         of a bracket expr not to run off the end of the string.
2335         * posix/Makefile (tests): Add tst-fnmatch3.
2336         * posix/tst-fnmatch3.c: New file.
2337
2338 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2339
2340         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2341         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2342         [$(cross-compiling) = no]: Likewise.
2343         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2344         [$(cross-compiling) = no]: Likewise.
2345
2346 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2347
2348         [BZ #17031]
2349         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2350         double, adjusted for any remainder from the high double.
2351         * math/libm-test.inc (nearbyint): Add tests.
2352         (rint): Likewise.
2353
2354 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2355
2356         * nptl/sysdeps/powerpc/Makefile: Moved ...
2357         * sysdeps/powerpc/nptl/Makefile: ... here.
2358         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2359         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2360         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2361         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2362         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2363         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2364         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2365         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2366         * nptl/sysdeps/powerpc/tls.h: Moved ...
2367         * sysdeps/powerpc/nptl/tls.h: ... here.
2368
2369 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2370
2371         [BZ #16681]
2372         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2373         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2374         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2375         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2376         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2377         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2378         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2379         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2380         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2381
2382 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2383
2384         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2385
2386 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2387
2388         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2389         defined operator.
2390
2391         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2392         $TIMEOUTFACTOR.
2393
2394 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2395
2396         [BZ #17058]
2397         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2398         non-executed part of the test.
2399
2400 2014-06-16  Andreas Schwab  <schwab@suse.de>
2401
2402         * string/bits/string2.h (strdup, strndup): Update feature guard.
2403
2404 2014-06-14  David S. Miller  <davem@davemloft.net>
2405
2406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2407
2408 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2409
2410         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2411         that was previously under [RESET_PID].
2412         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2413
2414         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2415         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2416         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2417         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2418         (__libc_vfork): New strong alias.
2419         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2420
2421 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2422
2423         * sysdeps/generic/elide.h: New file.
2424
2425 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2426
2427         * Makefile (installed-headers): Adjust path of pthread.h header.
2428
2429 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2430
2431         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2432         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2433         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2434         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2435
2436         * nptl/sysdeps/s390/Makefile: Moved ...
2437         * sysdeps/s390/nptl/Makefile: ... here.
2438         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2439         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2440         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2441         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2442         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2443         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2444         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2445         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2446         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2447         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2448         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2449         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2450         * nptl/sysdeps/s390/tls.h: Moved ...
2451         * sysdeps/s390/nptl/tls.h: ... here.
2452
2453         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2454         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2455
2456 2014-06-13  David S. Miller  <davem@davemloft.net>
2457
2458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2461         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2465         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2466         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2467         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2468         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2469         Remove RESET_PID cpp guards.
2470         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2471         Remove RESET_PID cpp guards.
2472         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2473
2474 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2475
2476         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2477         __sp to uintptr_t.
2478
2479 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2480
2481         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2482         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2483         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2484         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2485         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2486         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2487         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2488         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2489         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2490         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2491         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2492         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2493         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2494         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2495         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2496         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2497         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2498         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2499         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2500         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2501
2502         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2503         (pthread_rwlock_rdlock): Add elision.
2504         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2505         (pthread_rwlock_wrlock): Add elision.
2506         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2507         (pthread_rwlock_trywrlock): Add elision.
2508         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2509         (pthread_rwlock_tryrdlock): Add elision.
2510         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2511         (pthread_rwlock_tryrdlock): Add elision unlock.
2512         * nptl/sysdeps/pthread/pthread.h:
2513         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2514         (PTHREAD_RWLOCK_INITIALIZER,
2515         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2516         Handle new elision field.
2517         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2518         * sysdeps/arm/nptl/bits/pthreadtypes.h
2519         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2520         * sysdeps/sh/nptl/bits/pthreadtypes.h
2521         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2522         * sysdeps/tile/nptl/bits/pthreadtypes.h
2523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2524         * sysdeps/a/nptl/bits/pthreadtypes.h
2525         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2526         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2527         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2528         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2529         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2530         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2532         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2533         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2534         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2535         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2536         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2537         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2538         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2539         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2540         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2541         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2542         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2543         (elision_init): Set try_xbegin to zero when no RTM.
2544         * sysdeps/x86/nptl/bits/pthreadtypes.h
2545         (pthread_rwlock_t): Change __pad1 to __rwelision.
2546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2547
2548 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2549
2550         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2551         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2552         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2553         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2554
2555 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2556
2557         [BZ #16996]
2558         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2559         that the cached result has been set before returning it.
2560
2561 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2562
2563         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2564         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2565         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2566         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2567         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2568         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2569
2570         * nptl/sysdeps/sparc/Makefile: Moved ...
2571         * sysdeps/sparc/nptl/Makefile: ... here.
2572         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2573         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2574         * nptl/sysdeps/sparc/tls.h: Moved ...
2575         * sysdeps/sparc/nptl/tls.h: ... here.
2576         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2577         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2578         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2579         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2580         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2581         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2582         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2583         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2584         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2585         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2586         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2587         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2588         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2589         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2590         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2591         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2592         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2593         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2594         Update #include.
2595         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2596         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2597         Update #include.
2598         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2599         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2600         Update #include.
2601         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2602         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2603         Update #include.
2604
2605         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2606
2607         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2608         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2609
2610         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2611         (struct list_links): Type removed.
2612         (struct thread_node, struct timer_node): Replace struct list_links
2613         with struct list_head.
2614         (list_unlink_ip): Likewise.
2615         * sysdeps/pthread/timer_routines.c
2616         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2617         (list_append, list_insbefore): Likewise.
2618         (list_init): Function removed.
2619         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2620         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2621         * sysdeps/pthread/Makefile: ... here, new file.
2622
2623         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2624         * sysdeps/nptl/Implies: ... here.
2625         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2626         * nptl/sysdeps/pthread/list.h: Moved ...
2627         * include/list.h: ... here.
2628         * nptl/sysdeps/pthread/createthread.c: Moved ...
2629         * nptl/createthread.c: ... here.
2630         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2631         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2632         * nptl/pt-longjmp.c: ... here.
2633         * nptl/sysdeps/pthread/Makefile: Moved ...
2634         * sysdeps/nptl/Makefile: ... here.
2635         * nptl/sysdeps/pthread/Subdirs: Moved ...
2636         * sysdeps/nptl/Subdirs: ... here.
2637         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2638         * sysdeps/nptl/aio_misc.h: ... here.
2639         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2640         * sysdeps/nptl/bits/libc-lock.h: ... here.
2641         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2642         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2643         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2644         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2645         * nptl/sysdeps/pthread/configure: Moved ...
2646         * sysdeps/nptl/configure: ... here.
2647         * nptl/sysdeps/pthread/configure.ac: Moved ...
2648         * sysdeps/nptl/configure.ac: ... here.
2649         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2650         * sysdeps/nptl/gai_misc.h: ... here.
2651         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2652         * sysdeps/nptl/librt-cancellation.c: ... here.
2653         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2654         * sysdeps/nptl/malloc-machine.h: ... here.
2655         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2656         * sysdeps/nptl/pthread-functions.h: ... here.
2657         * nptl/sysdeps/pthread/pthread.h: Moved ...
2658         * sysdeps/nptl/pthread.h: ... here.
2659         * nptl/sysdeps/pthread/setxid.h: Moved ...
2660         * sysdeps/nptl/setxid.h: ... here.
2661         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2662         * sysdeps/nptl/sigfillset.c: ... here.
2663         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2664         * sysdeps/nptl/tcb-offsets.h: ... here.
2665         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2666         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2667         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2668         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2669         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2670         * sysdeps/pthread/allocalim.h: ... here.
2671         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2672         * sysdeps/pthread/bits/sigthread.h: ... here.
2673         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2674         * sysdeps/pthread/flockfile.c: ... here.
2675         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2676         * sysdeps/pthread/ftrylockfile.c: ... here.
2677         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2678         * sysdeps/pthread/funlockfile.c: ... here.
2679         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2680         * sysdeps/pthread/posix-timer.h: ... here.
2681         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2682         * sysdeps/pthread/timer_create.c: ... here.
2683         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2684         * sysdeps/pthread/timer_delete.c: ... here.
2685         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2686         * sysdeps/pthread/timer_getoverr.c: ... here.
2687         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2688         * sysdeps/pthread/timer_gettime.c: ... here.
2689         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2690         * sysdeps/pthread/timer_routines.c: ... here.
2691         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2692         * sysdeps/pthread/timer_settime.c: ... here.
2693         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2694         * sysdeps/pthread/tst-timer.c: ... here.
2695         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2696         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2697
2698         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2699         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2700
2701         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2702         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2703         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2704         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2705         Update #include target.
2706         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2707         * sysdeps/i386/i686/nptl/Makefile: ... here.
2708         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2709         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2710         Update #include target.
2711         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2712         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2713         * nptl/sysdeps/i386/Makefile: Moved ...
2714         * sysdeps/i386/nptl/Makefile: ... here.
2715         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2716         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2717         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2718         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2719         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2720         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2721         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2722         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2723         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2724         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2725         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2726         * nptl/sysdeps/i386/tls.h: Moved ...
2727         * sysdeps/i386/nptl/tls.h: ... here.
2728
2729         * sysdeps/sh/Makefile [$(subdir) = csu]
2730         (gen-as-const-headers): Add tcb-offsets.sym.
2731         * nptl/sysdeps/sh/Makefile: File removed.
2732         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2733         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2734         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2735         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2736         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2737         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2738         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2739         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2740         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2741         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2742         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2743         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2744         * nptl/sysdeps/sh/tls.h: Moved ...
2745         * sysdeps/sh/nptl/tls.h: ... here.
2746         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2747         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2748         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2749         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2750         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2751         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2752         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2753         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2754         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2755         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2756         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2757         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2758         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2759         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2760         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2761         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2762         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2763         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2764         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2765         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2766         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2767         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2768         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2769         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2770         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2771         Moved ...
2772         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2773         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2774         Moved ...
2775         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2776         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2777         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2778         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2779         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2780         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2781         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2782         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2783         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2784         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2785         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2786         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2787         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2788         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2789         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2790         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2791         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2792         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2793         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2794
2795 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2796
2797         * posix/spawn_faction_addopen.c: Include string.h.
2798
2799 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2800
2801         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2802         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2803         * nptl/sysdeps/x86_64/Makefile: Moved ...
2804         * sysdeps/x86_64/nptl/Makefile: ... here.
2805         * nptl/sysdeps/x86_64/configure: Moved ...
2806         * sysdeps/x86_64/nptl/configure: ... here.
2807         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2808         * sysdeps/x86_64/nptl/configure.ac: ... here.
2809         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2810         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2811         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2812         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2813         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2814         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2815         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2816         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2817         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2818         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2819         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2820         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2821         * nptl/sysdeps/x86_64/tls.h: Moved ...
2822         * sysdeps/x86_64/nptl/tls.h: ... here.
2823         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2824         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2825         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2826         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2827
2828         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2829
2830 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2831
2832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2833
2834 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2835
2836         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2837         type.
2838         [POSIX] (off_t): Likewise.
2839         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2840         [POSIX] (S_ISBLK): Require macro.
2841         [POSIX] (S_ISCHR): Likewise.
2842         [POSIX] (S_ISDIR): Likewise.
2843         [POSIX] (S_ISFIFO): Likewise.
2844         [POSIX] (S_ISREG): Likewise.
2845         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2846         optional-macro.
2847         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2848         type.
2849         [POSIX] (time_t): Likewise.
2850         [POSIX] (timer_t): Likewise.
2851
2852 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2853
2854         [BZ #17048]
2855         * posix/spawn_int.h (struct __spawn_action): Make the path string
2856         non-const to support deallocation.
2857         * posix/spawn_faction_addopen.c
2858         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2859         * posix/spawn_faction_destroy.c
2860         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2861         path in all spawn_do_open actions.
2862         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2863         posix_spawn_file_actions_addopen.
2864
2865 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2866
2867         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2868         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2869         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2870         conditional code always true.
2871         (__libc_vfork): New alias.
2872
2873 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2874
2875         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2876         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2877
2878         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2879
2880         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2881         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2882
2883         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2884         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2885
2886         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2887         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2888
2889 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2890
2891         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2892         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2893         multiarch strcmp for PPC64.
2894         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2895         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2897         multiarch optimizations.
2898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2899         (__libc_ifunc_impl_list): Likewise.
2900
2901 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2902
2903         * benchtests/scripts/validate_benchout.py: New script.
2904         * benchtests/Makefile (bench-func): Call it.
2905         * benchtests/scripts/benchout.schema.json: New file.
2906
2907 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2908
2909         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2910         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2911         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2912         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2913         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2914         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2915         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2916         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2917         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2918         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2919         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2920         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2921         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2922         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2923         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2924         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2926         Moved ...
2927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2928         ... here.
2929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2930         Moved ...
2931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2933         Moved ...
2934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2935         ... here.
2936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2937         Moved ...
2938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2939         ... here.
2940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2941         Moved ...
2942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2944         Moved ...
2945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2946         ... here.
2947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2948         Moved ...
2949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2950         ... here.
2951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2952         Moved ...
2953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2955         Moved ...
2956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2957         ... here.
2958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2959         Moved ...
2960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2961         ... here.
2962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2963         Moved ...
2964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2965         ... here.
2966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2967         Moved ...
2968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2970         Moved ...
2971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2972         ... here.
2973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2974         Moved ...
2975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2976         ... here.
2977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2978         Moved ...
2979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2980         ... here.
2981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2982         Moved ...
2983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2985         Moved ...
2986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2987         ... here.
2988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2989         Moved ...
2990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2991         ... here.
2992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2993         Moved ...
2994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2996         Moved ...
2997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2998         ... here.
2999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3000         Moved ...
3001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3003         Moved ...
3004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3006         Moved ...
3007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3008         ... here.
3009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3010         Moved ...
3011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3012         ... here.
3013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3014         Moved ...
3015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3016         ... here.
3017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3018         Moved ...
3019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3021         Moved ...
3022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3023         ... here.
3024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3025         Moved ...
3026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3027         ... here.
3028         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3029         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3030         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3031         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3032         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3033         Moved ...
3034         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3035         ... here.
3036         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3037         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3038         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3039         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3040         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3041         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3042         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3043         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3044         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3045         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3046         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3047         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3048         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3049         Moved ...
3050         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3051         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3052         Moved ...
3053         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3055         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3057         Moved ...
3058         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3060         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3061         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3062         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3063         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3064         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3065
3066 2014-06-10  Wilco  <wdijkstr@arm.com>
3067
3068         * math/test-fenv-return.c: New file.
3069         * math/Makefile: Add new test test-fenv-return.
3070
3071 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3072
3073         [BZ #17042]
3074         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3075         when x - 1 is zero.
3076         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3077         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3078         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3079         0.0L for an argument of 1.0L.
3080         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3081         Likewise.
3082         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3083         value when x - 1 is zero.
3084         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3085         * sysdeps/i386/fpu/libm-test-ulps: Update.
3086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3087
3088 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3089
3090         [BZ #15119]
3091         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3092
3093 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3094
3095         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3096         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3097
3098 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3099
3100         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3101         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3102
3103         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3104         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3105
3106         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3107         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3108
3109         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3110         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3111
3112         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3113         if not already defined.
3114         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3115         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3116         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3117         (TLS_INIT_TP): Use it.
3118         (TLS_DEFINE_INIT_TP): New macro.
3119         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3120
3121 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3122
3123         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3124         constant.
3125         [POSIX] (IXANY): Likewise.
3126         [POSIX] (OLCUC): Likewise.
3127         [POSIX || POSIX2008] (CBAUD): Do not allow.
3128         [POSIX || POSIX2008] (DEFECHO): Likewise.
3129         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3130         [POSIX || POSIX2008] (ECHOKE): Likewise.
3131         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3132         [POSIX || POSIX2008] (EXTA): Likewise.
3133         [POSIX || POSIX2008] (EXTB): Likewise.
3134         [POSIX || POSIX2008] (FLUSHO): Likewise.
3135         [POSIX || POSIX2008] (LOBLK): Likewise.
3136         [POSIX || POSIX2008] (PENDIN): Likewise.
3137         [POSIX || POSIX2008] (SWTCH): Likewise.
3138         [POSIX || POSIX2008] (VDISCARD): Likewise.
3139         [POSIX || POSIX2008] (VDSUSP): Likewise.
3140         [POSIX || POSIX2008] (VLNEXT): Likewise.
3141         [POSIX || POSIX2008] (VREPRINT): Likewise.
3142         [POSIX || POSIX2008] (VSTATUS): Likewise.
3143         [POSIX || POSIX2008] (VWERASE): Likewise.
3144         (B*): Change to B[0123456789]*.
3145         * conform/data/time.h-data [POSIX || UNIX98]
3146         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3147         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3148         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3149         [POSIX] (tm_*): Do not allow.
3150
3151 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3152
3153         * Makefile (install): Don't set LANGUAGE.
3154         * Makefile.in (install): Likewise.
3155         * assert/Makefile (test-assert-ENV): Remove variable.
3156         (test-assert-perr-ENV): Likewise.
3157         * elf/Makefile (neededtest4-ENV): Likewise.
3158         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3159         [$(cross-compiling) = no]: Don't set LANGUAGE.
3160         * io/ftwtest-sh (LANG): Remove variable.
3161         * libio/Makefile (tst-widetext-ENV): Likewise.
3162         * manual/install.texi (Running make install): Don't refer to
3163         environment settings for make install.
3164         * INSTALL: Regenerated.
3165         * nptl/tst-tls6.sh: Don't set LANG.
3166         * posix/globtest.sh (LANG): Remove variable.
3167         * string/Makefile (tester-ENV): Likewise.
3168         (inl-tester-ENV): Likewise.
3169         (noinl-tester-ENV): Likewise.
3170         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3171         [$(cross-compiling) = no]: Don't set LANGUAGE.
3172         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3173         without explicit environment settings.
3174
3175 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3176
3177         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3178         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3179         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3180         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3181
3182 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3183
3184         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3185         other files in the crypt directory.
3186         * crypt/crypt.c: Remove duplicate includes.
3187         * crypt/crypt-entry.c: Likewise.
3188         * crypt/crypt_util.c: Likewise.
3189
3190 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3191
3192         * Makeconfig (run-program-env): New variable.
3193         (run-program-prefix-before-env): Likewise.
3194         (run-program-prefix-after-env): Likewise.
3195         (run-program-prefix): Define in terms of new variables.
3196         (built-program-cmd-before-env): New variable.
3197         (built-program-cmd-after-env): Likewise.
3198         (built-program-cmd): Define in terms of new variables.
3199         (test-program-prefix-before-env): New variable.
3200         (test-program-prefix-after-env): Likewise.
3201         (test-program-prefix): Define in terms of new variables.
3202         (test-program-cmd-before-env): New variable.
3203         (test-program-cmd-after-env): Likewise.
3204         (test-program-cmd): Define in terms of new variables.
3205         * Rules (make-test-out): Use $(run-program-env).
3206         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3207         (help): Do not mention environment variables.  Mention
3208         --timeoutfactor option.
3209         (timeoutfactor): New variable.
3210         (blacklist_exports): Remove function.
3211         (exports): Remove variable.
3212         (command): Do not include ${exports}.
3213         * manual/install.texi (Configuring and compiling): Do not mention
3214         test wrappers preserving environment variables.  Mention that last
3215         assignment to a variable must take precedence.
3216         * INSTALL: Regenerated.
3217         * benchtests/Makefile (run-bench): Use $(run-program-env).
3218         * catgets/Makefile ($(objpfx)test1.cat): Use
3219         $(built-program-cmd-before-env), $(run-program-env) and
3220         $(built-program-cmd-after-env).
3221         ($(objpfx)test2.cat): Do not specify environment variables
3222         explicitly.
3223         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3224         $(run-program-env) and $(built-program-cmd-after-env).
3225         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3226         $(run-program-env) and $(test-program-cmd-after-env).
3227         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3228         explicitly.
3229         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3230         run_program_env and test_program_cmd_after_env arguments.
3231         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3232         * elf/tst-pathopt.sh: Use run_program_env argument.
3233         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3234         $(test-wrapper-env) and $(run-program-env).
3235         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3236         run_program_env arguments.
3237         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3238         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3239         $(test-program-prefix-before-env), $(run-program-env) and
3240         $(test-program-prefix-after-env).
3241         ($(objpfx)tst-gettext2.out): Likewise.
3242         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3243         run_program_env and test_program_prefix_after_env arguments.
3244         * intl/tst-gettext2.sh: Likewise.
3245         * intl/tst-gettext4.sh: Do not set environment variables
3246         explicitly.
3247         * intl/tst-gettext6.sh: Likewise.
3248         * intl/tst-translit.sh: Likewise.
3249         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3250         $(test-program-prefix-before-env), $(run-program-env) and
3251         $(test-program-prefix-after-env).
3252         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3253         run_program_env and test_program_prefix_after_env arguments.
3254         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3255         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3256         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3257         explicitly with each use of ${test_wrapper_env}.
3258         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3259         $(test-program-prefix-before-env), $(run-program-env) and
3260         $(test-program-prefix-after-env).
3261         * posix/tst-getconf.sh: Do not set environment variables
3262         explicitly.
3263         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3264         run_program_env and test_program_prefix_after_env arguments.
3265         * stdio-common/tst-printf.sh: Do not set environment variables
3266         explicitly.
3267         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3268         $(test-program-prefix-before-env), $(run-program-env) and
3269         $(test-program-prefix-after-env).
3270         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3271         run_program_env and test_program_prefix_after_env arguments.
3272         Split $test calls into $test_pre and $test.
3273         * timezone/Makefile (build-testdata): Use
3274         $(built-program-cmd-before-env), $(run-program-env) and
3275         $(built-program-cmd-after-env).
3276
3277 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3278
3279         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3280         strlen for non SHARED builds.
3281
3282 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3283
3284         * nptl/allocatestack.c (check_list): Inlined function...
3285         (__reclaim_stacks): ... here.
3286
3287 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3288
3289         [BZ #15698]
3290         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3291         memory overrun.
3292
3293 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3294
3295         * Rules (make-test-out): Include
3296         LOCPATH=$(common-objpfx)localedata in default environment.
3297         * debug/Makefile (tst-chk1-ENV): Remove variable.
3298         (tst-chk2-ENV): Likewise.
3299         (tst-chk3-ENV): Likewise.
3300         (tst-chk4-ENV): Likewise.
3301         (tst-chk5-ENV): Likewise.
3302         (tst-chk6-ENV): Likewise.
3303         (tst-lfschk1-ENV): Likewise.
3304         (tst-lfschk2-ENV): Likewise.
3305         (tst-lfschk3-ENV): Likewise.
3306         (tst-lfschk4-ENV): Likewise.
3307         (tst-lfschk5-ENV): Likewise.
3308         (tst-lfschk6-ENV): Likewise.
3309         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3310         (tst-iconv7-ENV): Likewise.
3311         * intl/Makefile (LOCPATH-ENV): Likewise.
3312         (tst-codeset-ENV): Likewise.
3313         (tst-gettext3-ENV): Likewise.
3314         (tst-gettext5-ENV): Likewise.
3315         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3316         (tst-fopenloc-ENV): Likewise.
3317         (tst-fgetws-ENV): Remove variable.
3318         (tst-ungetwc1-ENV): Likewise.
3319         (tst-ungetwc2-ENV): Likewise.
3320         (bug-ungetwc2-ENV): Likewise.
3321         (tst-swscanf-ENV): Likewise.
3322         (bug-ftell-ENV): Likewise.
3323         (tst-fgetwc-ENV): Likewise.
3324         (tst-fseek-ENV): Likewise.
3325         (tst-ftell-partial-wide-ENV): Likewise.
3326         (tst-ftell-active-handler-ENV): Likewise.
3327         (tst-ftell-append-ENV): Likewise.
3328         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3329         (tst-regexloc-ENV): Likewise.
3330         (bug-regex1-ENV): Likewise.
3331         (tst-regex-ENV): Likewise.
3332         (tst-regex2-ENV): Likewise.
3333         (bug-regex5-ENV): Likewise.
3334         (bug-regex6-ENV): Likewise.
3335         (bug-regex17-ENV): Likewise.
3336         (bug-regex18-ENV): Likewise.
3337         (bug-regex19-ENV): Likewise.
3338         (bug-regex20-ENV): Likewise.
3339         (bug-regex22-ENV): Likewise.
3340         (bug-regex23-ENV): Likewise.
3341         (bug-regex25-ENV): Likewise.
3342         (bug-regex26-ENV): Likewise.
3343         (bug-regex30-ENV): Likewise.
3344         (bug-regex32-ENV): Likewise.
3345         (bug-regex33-ENV): Likewise.
3346         (bug-regex34-ENV): Likewise.
3347         (bug-regex35-ENV): Likewise.
3348         (tst-rxspencer-ENV): Likewise.
3349         (tst-rxspencer-no-utf8-ENV): Likewise.
3350         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3351         (tst-sscanf-ENV): Likewise.
3352         (tst-swprintf-ENV): Likewise.
3353         (tst-swscanf-ENV): Likewise.
3354         (test-vfprintf-ENV): Likewise.
3355         (scanf13-ENV): Likewise.
3356         (bug14-ENV): Likewise.
3357         (tst-grouping-ENV): Likewise.
3358         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3359         (tst-strtod3-ENV): Likewise.
3360         (tst-strtod4-ENV): Likewise.
3361         (tst-strtod5-ENV): Likewise.
3362         (testmb2-ENV): Likewise./
3363         * string/Makefile (tst-strxfrm-ENV): Likewise.
3364         (tst-strxfrm2-ENV): Likewise.
3365         (bug-strcoll1-ENV): Likewise.
3366         (test-strcasecmp-ENV): Likewise.
3367         (test-strncasecmp-ENV): Likewise.
3368         * time/Makefile (tst-strptime-ENV): Likewise.
3369         (tst-ftime_l-ENV): Likewise.
3370         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3371         (tst-mbrtowc-ENV): Likewise.
3372         (tst-wcrtomb-ENV): Likewise.
3373         (tst-mbrtowc2-ENV): Likewise.
3374         (tst-c16c32-1-ENV): Likewise.
3375         (tst-mbsnrtowcs-ENV): Likewise.
3376
3377 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3378
3379         * manual/resource.texi (How to get information about the memory
3380         subsystem?): Fix typo.
3381         Reported by Peon de la Parra Ivan <peon@keba.com>
3382
3383 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3384
3385         [BZ #16882]
3386         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3387         (pthread_spin_lock): Branch out of spin loop to proper location.
3388         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3389         (pthread_spin_lock): Likewise.
3390
3391         * nptl/tst-spin4.c: New test.
3392         * nptl/Makefile (tests): Add tst-spin4.
3393
3394 2014-06-03  Andreas Schwab  <schwab@suse.de>
3395
3396         [BZ #15946]
3397         * resolv/res_send.c (send_dg): Reload file descriptor after
3398         calling reopen.
3399
3400 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3401
3402         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3403
3404 2014-06-03  Richard Henderson  <rth@redhat.com>
3405
3406         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3407         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3408         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3409         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3410         in the SAVE_PID block.
3411         (__libc_vfork): New alias.
3412         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3413
3414         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3415         child in registers, not on the stack.  Remove RESET_PID conditionals.
3416         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3417
3418 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3419
3420         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3421
3422 2014-06-03  Wilco  <wdijkstr@arm.com>
3423
3424         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3425         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3426         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3427         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3428         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3429         Likewise.
3430
3431 2014-06-03  Wilco  <wdijkstr@arm.com>
3432
3433         * sysdeps/aarch64/fpu/math_private.h
3434         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3435         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3436         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3437         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3438         Fix declarations.
3439
3440 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3441
3442         * crypt/crypt-private.h: Include ufc-crypt.h.
3443         (__b64_from_24bit): Declare extern.
3444         * crypt/crypt_util.c(__b64_from_24bit): New function.
3445         (b64t): New static const variable.
3446         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3447         (b64t): Remove variable.
3448         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3449         * crypt/sha256-crypt.c: Include crypt-private.h.
3450         (b64t): Remove variable.
3451         (__sha256_crypt_r): Remove b64_from_24bit and replace
3452         with __b64_from_24bit.
3453         * crypt/sha512-crypt.c: Likewise.
3454
3455 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3456
3457         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3458         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3459         Label the code __libc_vfork rather than __vfork.
3460         [!NOT_IN_libc] (vfork): Define as weak alias.
3461         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3462         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3463         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3464
3465 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3466
3467         * malloc/malloc.c (malloc_info): Fix format specifier for
3468         n_mmaps.
3469
3470 2014-06-02  Wilco  <wdijkstr@arm.com>
3471
3472         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3473         FPCR write.
3474
3475 2014-06-02  Wilco  <wdijkstr@arm.com>
3476
3477         [BZ #17009]
3478         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3479         Rewrite to reduce FPCR/FPSR accesses.
3480
3481 2014-06-01  David S. Miller  <davem@davemloft.net>
3482
3483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3484
3485 2014-05-31  David S. Miller  <davem@davemloft.net>
3486
3487         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3488         to occur in round to nearest mode when |x| >= 2.0
3489
3490 2014-05-30  Richard Henderson  <rth@twiddle.net>
3491
3492         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3493         (PSEUDO_RET_NOERRNO): Remove.
3494         (ret): Don't redefine.
3495         (ret_NOERRNO): Define in terms of ret.
3496         (ret_ERRVAL): Likewise.
3497
3498         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3499         use of PSEUDO_RET; perform the error check directly.
3500
3501 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3502
3503         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3504         with __int128_t.
3505
3506 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3507
3508         * malloc/malloc (malloc_info): Fix formatting.
3509
3510 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3511             Roland McGrath  <roland@hack.frob.com>
3512
3513         * malloc/malloc (malloc_info): Also print mmapped statistics.
3514
3515 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3516
3517         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3518         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3519
3520 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3521
3522         * malloc/malloc.c (malloc_info): Inline mi_arena.
3523
3524 2014-05-29  Richard Henderson  <rth@twiddle.net>
3525
3526         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3527         Remove comma before expanding ASM_ARGS_##nr.
3528         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3529         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3530         of ASM_ARGS_##nr.
3531         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3532         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3533         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3534         (ASM_ARGS_1): Add leading comma.
3535
3536         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3537         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3538         to __errno_location.
3539         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3540         Remove the expected plt for __errno_location.
3541
3542         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3543         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3544         call to __read_tp.
3545
3546         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3547         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3548         it and break it down.
3549         (DOCARGS_0, DOCARGS_1): Do nothing.
3550         (DOCARGS_2): Update to store into the new stack frame.
3551         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3552         (UNDOCARGS_1): Update to restore from the new stack frame.
3553         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3554         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3555
3556         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3557         (SINGLE_THREAD_P): New parameter for result regno.
3558         (PSEUDO): Update to match; use cbz instead of beq.
3559
3560         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3561         Use ENTRY to define the _nocancel entry point.  Share the syscall
3562         and syscall error check paths with the cancel path.
3563         (PSEUDO_END): New.
3564
3565         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3566         whitespace; tabs before and after asm mnemonics.
3567
3568 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3569
3570         [BZ #15132]
3571         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3572         Call fstat64 or stat64 internally, depending on arguments passed.
3573         Replace stat buffer argument with file descriptor argument.
3574         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3575         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3576         Pass fd to __internal_statvfs instead of calling fstat64.
3577         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3578         Pass fd to __internal_statvfs64 instead of calling fstat64.
3579         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3580         Pass -1 to __internal_statvfs instead of calling stat64.
3581         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3582         Pass -1 to __internal_statvfs64 instead of calling stat64.
3583
3584 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3585
3586         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3587         that was previously under [RESET_PID].
3588         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3589
3590         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3591         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3592
3593 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3594
3595         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3596
3597         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3598         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3599
3600 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3601
3602         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3603
3604 2014-05-27  Andreas Schwab  <schwab@suse.de>
3605
3606         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3607         TLS_INIT_TP macro.
3608         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3609         * elf/rtld.c (init_tls, dl_main): Likewise.
3610         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3611         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3612         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3613         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3614         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3615         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3616         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3617         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3618         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3619         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3620         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3621         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3622         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3623         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3624         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3625         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3626         * sysdeps/generic/tls.h: Update description.
3627
3628 2014-05-27  Will Newton  <will.newton@linaro.org>
3629
3630         [BZ #16990]
3631         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3632         and restore r2 rather than just restoring.
3633
3634 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3635
3636         [BZ #16724]
3637         * libio/tst-ftell-append.c: New test case.
3638         * libio/Makefile (tests): Add test case.
3639         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3640         append mode.
3641         * libio/wfileops.c (do_ftell_wide): Likewise.
3642
3643 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3644
3645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3646
3647         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3648         ...
3649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3651         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3652         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3653         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3654         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3655         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3656         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3658         Moved ...
3659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3660         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3661         Moved ...
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3663         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3664         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3665         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3666         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3667         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3668         ...
3669         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3670         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3671         Moved ...
3672         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3673         here.
3674         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3675         ...
3676         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3677         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3678         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3679
3680         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3681         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3682         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3683         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3684
3685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3686         merge into ...
3687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3688         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3689         ...
3690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3691         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3692         ...
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3695         Moved ...
3696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3697         here.
3698         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3699         Moved ...
3700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3701         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3702         Moved ...
3703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3704
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3706         conditional [RESET_PID].
3707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3708         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3709         removed.
3710         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3711         removed.
3712
3713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3714         <tcb-offsets.h>.
3715         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3716         (__libc_vfork): New strong alias.
3717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3718         removed.
3719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3720         Removed.
3721
3722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3723         <tcb-offsets.h>.
3724         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3725         (__libc_vfork): New strong alias.
3726         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3727         removed.
3728         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3729         removed.
3730
3731 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3732
3733         * malloc/malloc.c (mi_arena): New function.
3734         (malloc_info): Remove nested function mi_arena. Call non-nosted
3735         function mi_arena.
3736
3737 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3738
3739         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3740         by insrwi.
3741         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3742         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3743         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3744         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3745         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3746         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3747         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3748
3749 2014-05-26  Andreas Schwab  <schwab@suse.de>
3750
3751         [BZ #16984]
3752         * locale/programs/repertoire.c (repertoire_read): Add slash
3753         between I18NPATH element and file name.
3754         * locale/programs/locfile.c (locfile_read): Likewise.
3755
3756 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3757
3758         * nptl/pthread_mutexattr_settype.c
3759         (__pthread_mutexattr_settype):
3760         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3761
3762 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3763
3764         * nptl/tst-mutex5 (do_test):
3765         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3766
3767 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3768
3769         * benchtests/README: Document 'init' directive.
3770         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3771         BENCH_INIT.
3772         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3773         (parse_file): Recognize 'init' directive.
3774
3775 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3776
3777         [BZ #16796]
3778         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3779         alignment of struct pthread.
3780
3781 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3782
3783         [BZ #16878]
3784         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3785         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3786         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3787         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3788
3789 2014-05-25  Richard Henderson  <rth@twiddle.net>
3790
3791         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3792         (SINGLE_THREAD_P_PIC): Remove.
3793         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3794         (SINGLE_THREAD_P_PIC): Remove.
3795
3796         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3797         branch to syscall error ...
3798         (PSEUDO): ... here.
3799         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3800         from __local_syscall_error to .Lsyscall_error.
3801         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3802         (SYSCALL_ERROR): Update label name.
3803
3804         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3805         Do not use DOARGS/UNDOARGS.
3806         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3807         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3808         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3809         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3810         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3811
3812         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3813         block comment.
3814
3815         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3816         define if !NOT_IN_libc.
3817         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3818         define with non-default symbol versions.
3819
3820 2014-05-23  Richard Henderson  <rth@twiddle.net>
3821
3822         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3823         (vfork, __vfork): Define via compat_symbol.
3824
3825         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3826         [!HAVE_IFUNC] (vfork_compat): Remove.
3827         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3828
3829 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3830
3831         [BZ #16978]
3832         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3833         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3834         variable.
3835
3836 2014-05-23  Richard Henderson  <rth@twiddle.net>
3837
3838         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3839         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3840         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3841         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3842
3843         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3844         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3845         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3846         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3847         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3848         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3849         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3850         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3851         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3852         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3853         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3854         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3855         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3856         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3857         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3858         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3859         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3860         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3861         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3862         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3863         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3864         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3865         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3866         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3867         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3868         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3869         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3870         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3871         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3872         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3873         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3874         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3875         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3876         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3877         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3878         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3879         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3880         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3881         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3882         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3883         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3884         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3885         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3886         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3887         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3888         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3889         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3890         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3891         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3892         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3893         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3894         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3895         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3896         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3897         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3898         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3899
3900         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3901         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3902         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3903         before exiting on error.
3904         (__libc_vfork): New strong alias.
3905         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3906         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3907
3908         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3909         that was previously under [RESET_PID].
3910         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3911
3912         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3913
3914 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3915
3916         [BZ #16977]
3917         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3918         value when x - 1 is zero.
3919         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3920         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3921         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3922         0.0L for an argument of 1.0L.
3923         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3924         Likewise.
3925         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3926         value when x - 1 is zero.
3927         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3928         * sysdeps/i386/fpu/libm-test-ulps: Update.
3929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3930
3931 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3932
3933         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3934         alphasort and versionsort.
3935
3936 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3937
3938         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3939         macro.
3940         [copysignf]: Likewise.
3941
3942 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3943
3944         * crypt/md5-crypt.c: Fix formatting.
3945
3946 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3947
3948         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3949         (b64_from_24bit): New function.
3950
3951 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3952
3953         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3954         libc_hidden_builtin_def to ifunc.
3955         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3956         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3957
3958 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3959
3960         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3961         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3962
3963 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3964
3965         * nscd/Depend (linuxthreads): Remove.
3966         (nptl): Add.
3967         * resolv/Depend (linuxthreads): Remove.
3968         * rt/Depend (linuxthreads): Remove.
3969
3970         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3971         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3972         $(common-objpfx)elf/.
3973         (link-libc-before-gnulib): Likewise.
3974         (elfobjdir): Remove variable.
3975         * Makefile (install): Use $(elf-objpfx) instead of
3976         $(common-objpfx)elf/.
3977         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3978         $(elfobjdir)/.
3979         (link-libc-deps): Likewise.
3980         ($(common-objpfx)libc.so): Likewise.
3981         ($(common-objpfx)linkobj/libc.so): Likewise.
3982         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3983         instead of $(common-objpfx)elf/.
3984         (symbolic-link-list): Likewise.
3985         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3986         [$(cross-compiling) = no]: Likewise.
3987         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3988         $(elfobjdir)/.
3989         (static-gnulib-arch): Likewise.
3990         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3991         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3992         $(common-objpfx)elf/.
3993
3994 2014-05-21  Richard Henderson  <rth@redhat.com>
3995
3996         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3997         (SINGLE_THREAD_P): Use the correct width load.  Fold
3998         into the ldr offset.
3999
4000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4001         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4002
4003 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4004
4005         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4006         (libgcc_s_resume): Use __attribute_used__.
4007         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4008         Likewise.
4009
4010 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4011
4012         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4013         optimization when used with float constants.
4014
4015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4016
4017 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4018
4019         [BZ #16915]
4020         * locale/nl_langinfo_l.c: Make direct reference to every
4021         _nl_current_CATEGORY symbol.
4022         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4023         (tests-static): Add tst-langinfo-static.
4024         (tests-special): Add tst-langinfo-static.out.
4025         ($(objpfx)tst-langinfo.out): Redirect output.
4026         ($(objpfx)tst-langinfo-static.out): New.
4027         * localedata/tst-langinfo.sh: Send output to stdout.
4028         * localedata/tst-langinfo-static.c: New file.
4029
4030         [BZ #16965]
4031         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4032         when the shift amount is modulo the limb size.
4033
4034 2014-05-20  Richard Henderson  <rth@redhat.com>
4035
4036         [BZ #16967]
4037         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4038         Change type of sa_flags from unsigned int to int.
4039
4040         [BZ #16966]
4041         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4042
4043         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4044
4045 2014-05-20  Will Newton  <will.newton@linaro.org>
4046
4047         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4048         Test the return value of the system call in the nocancel case.
4049
4050 2014-05-20  Will Newton  <will.newton@linaro.org>
4051             Yvan Roux  <yvan.roux@linaro.org>
4052
4053         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4054         #include of asm/ptrace.h.
4055         (PTRACE_GET_THREAD_AREA): Remove #undef.
4056         (PTRACE_GETHBPREGS): Likewise.
4057         (PTRACE_SETHBPREGS): Likewise.
4058         (struct user_regs_struct): New structure.
4059         (struct user_fpsimd_struct): New structure.
4060         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4061         #include of asm/ptrace.h and second #include of sys/user.h.
4062         (PTRACE_GET_THREAD_AREA): Remove #undef.
4063         (PTRACE_GETHBPREGS): Likewise.
4064         (PTRACE_SETHBPREGS): Likewise.
4065         (ELF_NGREG): Use new struct user_regs_struct.
4066         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4067
4068 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4069
4070         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4071         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4072
4073 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4074
4075         [BZ #16958]
4076         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4077         membar to avoid block loads/stores to overlap previous stores.
4078
4079 2014-05-17  Richard Henderson  <rth@redhat.com>
4080
4081         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4082         Create the __##syscall_name##_nocancel entry point.
4083         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4084         Remove; let the sysdep-cancel.h code create it.
4085
4086 2014-05-17  David S. Miller  <davem@davemloft.net>
4087
4088         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4089         Protect with __USE_GNU.
4090         (TIOCSET_TEMPT): Likewise.
4091         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4092         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4093         these are already provided in bits/ioctl-types.h
4094
4095 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4096
4097         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4098         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4099
4100         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4101         Use wait4 regardless of [__NR_waitpid].
4102
4103 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4104
4105         PR libgcc/60166
4106         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4107         (_FP_NANSIGN_Q): Set the quiet bit.
4108
4109 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4110
4111         * benchtests/Makefile
4112         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4113         not $(common-objpfx)math/libm.so.
4114         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4115         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4116         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4117         $(common-objpfx)dlfcn/libdl.so.
4118         ($(objpfx)tst-audit8): Depend on $(libm), not
4119         $(common-objpfx)math/libm.so.
4120         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4121         not $(common-objpfx)dlfcn/libdl.so.
4122         * math/Makefile
4123         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4124         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4125         [$(build-shared) = yes].
4126         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4127         $(common-objpfx)nptl/libpthread.so.
4128         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4129         $(common-objpfx)math/libm.so$(libm.so-version) or
4130         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4131         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4132         $(common-objpfx)dlfcn/libdl.so.
4133         * setjmp/Makefile (link-libm): Remove variable.
4134         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4135         * stdio-common/Makefile (link-libm): Remove variable.
4136         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4137         * stdlib/Makefile (link-libm): Remove variable.
4138         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4139         ($(objpfx)tst-strtod-round): Likewise.
4140         ($(objpfx)tst-tininess): Likewise.
4141         ($(objpfx)tst-strtod-underflow): Likewise.
4142         ($(objpfx)tst-strtod6): Likewise.
4143         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4144         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4145         $(common-objpfx)dlfcn/libdl.so.
4146
4147 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4148
4149         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4150         BSD terminal modes definitions.
4151
4152 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4153
4154         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4155         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4156
4157         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4158         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4159         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4160         Don't do #include_next.
4161         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4162         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4163         Don't do #include_next.
4164         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4165         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4166         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4167         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4168
4169 2014-05-16  Allan McRae  <allan@archlinux.org>
4170
4171         * po/sv.po: Update Swedish translation from translation project.
4172
4173         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4174         in sed expression.
4175
4176 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4177
4178         [BZ #16917]
4179         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4180         errno if the TIOCGPTN ioctl fails with an error different than
4181         EINVAL.
4182         * login/tst-ptsname.c: New file.
4183         * login/Makefile (tests): Add tst-ptsname.
4184
4185         [BZ #16943]
4186         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4187         and prlimit64.
4188
4189 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4190
4191         [BZ #16849]
4192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4193         herrno to return EAI_AGAIN.
4194
4195 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4196
4197         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4198         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4199         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4200         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4201         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4202         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4203         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4204         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4205         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4206         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4207         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4208         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4209         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4210         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4211         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4212         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4213         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4214         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4215         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4216         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4217         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4218         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4219         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4220         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4221         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4222         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4223         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4224         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4225         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4226         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4228         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4230         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4232         Moved ...
4233         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4235         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4237         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4239         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4241         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4243         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4245         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4247         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4249         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4251         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4253         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4255         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4257         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4259         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4261         Moved ...
4262         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4264         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4266         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4268         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4270         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4272         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4274         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4276         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4278         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4280         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4282         Moved ...
4283         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4285         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4286
4287         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4288         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4289         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4290         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4291         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4292         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4293         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4294         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4295         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4296         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4297         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4298         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4299         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4300         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4301         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4302         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4303         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4304         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4305         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4306         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4307         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4308         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4309         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4310         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4311         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4312         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4313         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4314         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4315         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4316         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4317         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4318
4319         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4320         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4321
4322         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4323         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4324         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4325         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4326         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4327         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4328         Moved ...
4329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4330         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4331         Moved ...
4332         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4333         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4334         Moved ...
4335         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4336         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4337         Moved ...
4338         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4339         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4340         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4341         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4342         Moved ...
4343         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4344         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4345         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4346         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4347         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4348         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4349         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4350         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4351         Moved ...
4352         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4353         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4354         Moved ...
4355         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4356         ... here.
4357         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4358         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4359         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4360         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4361         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4362         Moved ...
4363         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4364         ... here.
4365         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4366         Moved ...
4367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4368         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4369         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4370         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4371         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4372         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4373         Moved ...
4374         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4375         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4376         Moved ...
4377         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4378         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4379         Moved ...
4380         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4381         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4382         Moved ...
4383         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4384         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4385         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4386         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4387         Moved ...
4388         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4389         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4390         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4391         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4392         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4393         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4394         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4395         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4396         Moved ...
4397         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4398         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4399         Moved ...
4400         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4401         ... here.
4402         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4403         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4404         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4405         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4406         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4407         Moved ...
4408         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4409         ... here.
4410         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4411         Moved ...
4412         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4413         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4414         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4415         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4416         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4417         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4418         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4419         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4420         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4421         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4422         Moved ...
4423         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4424         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4425         Moved ...
4426         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4427         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4428         Moved ...
4429         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4430         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4431         Moved ...
4432         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4433         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4434         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4435         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4436         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4437         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4438         Moved ...
4439         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4440         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4441         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4442         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4443         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4444         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4445         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4446         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4447         Moved ...
4448         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4450         Moved ...
4451         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4452         ... here.
4453         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4454         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4455         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4456         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4457         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4458         Moved ...
4459         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4460         ... here.
4461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4462         Moved ...
4463         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4464         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4465         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4466         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4467         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4468         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4469         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4470         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4471         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4472         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4473         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4474
4475         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4476         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4477
4478         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4479         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4480
4481         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4482         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4483         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4484         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4485         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4486         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4487         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4488         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4489         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4490         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4491         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4492         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4493         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4494         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4495         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4496         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4497         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4498         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4499         Moved ...
4500         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4501         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4502         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4503         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4504         Moved ...
4505         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4506         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4507         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4509         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4510         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4511         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4512         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4513         Moved ...
4514         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4516         Moved ...
4517         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4519         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4521         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4522         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4523         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4524         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4525         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4526         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4527         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4528         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4529         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4530         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4531         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4532         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4533         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4534
4535         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4536         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4537         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4538         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4539         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4540
4541         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4542         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4543         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4544         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4545         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4546         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4547         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4548         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4549         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4550         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4551
4552         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4553         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4554
4555         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4556         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4557         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4558         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4559         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4560         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4561         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4562         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4563         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4564         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4565         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4566         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4567         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4568         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4569         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4570         Update #include.
4571         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4572         Likewise.
4573         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4574         Likewise.
4575         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4576         Likewise.
4577         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4578         Likewise.
4579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4580         Likewise.
4581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4582         Likewise.
4583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4584         Likewise.
4585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4586         Likewise.
4587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4588         Likewise.
4589         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4590         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4591         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4592         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4593         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4594         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4595         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4596         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4597         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4598         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4599         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4600         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4601         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4602         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4603         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4604
4605         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4606         that was previously under [RESET_PID].
4607         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4608         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4609         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4610
4611         * sysdeps/i386/nptl/Implies: New file.
4612         * sysdeps/x86_64/nptl/Implies: New file.
4613         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4614         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4615         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4616         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4617
4618         * sysdeps/unix/sysv/linux/i386/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         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4622         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4623
4624         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4625         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4626         (__libc_vfork): New strong alias.
4627         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4628         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4629
4630         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4631         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4632         (__libc_vfork): New strong alias.
4633         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4634         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4635         * nptl/pt-vfork.c: New file.
4636         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4637         (libpthread: GLIBC_2.20): New version set (empty).
4638
4639 2014-05-14  Will Newton  <will.newton@linaro.org>
4640
4641         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4642         rather than #if.
4643
4644 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4645
4646         [BZ #16564]
4647         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4648         arguments with exponent 65 or above.
4649         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4650         arguments 0x1p113L or above.
4651         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4652         to arguments 0x1p107L or above.
4653         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4654         positive arguments with exponent 65 or above.
4655         * math/auto-libm-test-in: Add more tests of log1p.
4656         * math/auto-libm-test-out: Regenerated.
4657
4658         [BZ #16928]
4659         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4660         non-finite arguments is +0.
4661         * math/s_cacosf.c (__cacosf): Likewise.
4662         * math/s_cacosl.c (__cacosl): Likewise.
4663         * math/libm-test.inc (cacos_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 #16927]
4668         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4669         value.
4670         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4671         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4672         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4673         for explicit high bit of mantissa when testing for argument equal
4674         to 1.
4675         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4676         * sysdeps/i386/fpu/libm-test-ulps: Update.
4677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4678
4679         [BZ #16516]
4680         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4681         (__erf): Scale by 16 instead of 8 in potentially underflowing
4682         case.  Ensure exception if result actually underflows.
4683         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4684         (__erff): Scale by 16 instead of 8 in potentially underflowing
4685         case.  Ensure exception if result actually underflows.
4686         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4687         (efx8): Remove variable.
4688         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4689         case.  Ensure exception if result actually underflows.
4690         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4691         (efx8): Remove variable.
4692         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4693         case.  Ensure exception if result actually underflows.
4694         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4695         (efx8): Remove variable.
4696         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4697         case.  Ensure exception if result actually underflows.
4698         * math/auto-libm-test-in: Add more tests of erf.
4699         * math/auto-libm-test-out: Regenerated.
4700
4701 2014-05-14  Andreas Schwab  <schwab@suse.de>
4702
4703         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4704         Remove code conditionalized on USE___THREAD.
4705
4706         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4707         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4708         not definedness.
4709
4710 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4711
4712         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4713         Define unconditionally.
4714         (__ASSUME_O_CLOEXEC): Likewise.
4715         (__ASSUME_SOCK_CLOEXEC): Likewise.
4716         (__ASSUME_IN_NONBLOCK): Likewise.
4717         (__ASSUME_PIPE2): Likewise.
4718         (__ASSUME_EVENTFD2): Likewise.
4719         (__ASSUME_SIGNALFD4): Likewise.
4720         (__ASSUME_DUP3): Likewise.
4721         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4722         (__ASSUME_DUP3): Do not define.
4723         (__ASSUME_EVENTFD2): Likewise.
4724         (__ASSUME_IN_NONBLOCK): Likewise.
4725         (__ASSUME_O_CLOEXEC): Likewise.
4726         (__ASSUME_PIPE2): Likewise.
4727         (__ASSUME_SIGNALFD4): Likewise.
4728         (__ASSUME_SOCK_CLOEXEC): Likewise.
4729         (__ASSUME_UTIMES): Undefine.
4730         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4731         (__ASSUME_UTIMES): Do not define.
4732         (__ASSUME_O_CLOEXEC): Likewise.
4733         (__ASSUME_SOCK_CLOEXEC): Likewise.
4734         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4735         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4736         0x020621].
4737         (__ASSUME_PIPE2): Likewise.
4738         (__ASSUME_EVENTFD2): Likewise.
4739         (__ASSUME_SIGNALFD4): Likewise.
4740         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4741         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4742         Do not define.
4743         (__ASSUME_EVENTFD2): Likewise.
4744         (__ASSUME_SIGNALFD4): Likewise.
4745         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4746         (__ASSUME_32BITUIDS): Likewise.
4747         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4748         (__ASSUME_IPC64): Likewise.
4749         (__ASSUME_ST_INO_64_BIT): Likewise.
4750         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4751         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4752         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4753         (__ASSUME_UTIMES): Do not define.
4754         (__ASSUME_PSELECT): Likewise.
4755         (__ASSUME_PPOLL): Likewise.
4756         (__ASSUME_O_CLOEXEC): Likewise.
4757         (__ASSUME_SOCK_CLOEXEC): Likewise.
4758         (__ASSUME_IN_NONBLOCK): Likewise.
4759         (__ASSUME_PIPE2): Likewise.
4760         (__ASSUME_EVENTFD2): Likewise.
4761         (__ASSUME_SIGNALFD4): Likewise.
4762         (__ASSUME_DUP3): Likewise.
4763         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4764         (__ASSUME_UTIMES): Likewise.
4765         (__ASSUME_O_CLOEXEC): Likewise.
4766         (__ASSUME_SOCK_CLOEXEC): Likewise.
4767         (__ASSUME_IN_NONBLOCK): Likewise.
4768         (__ASSUME_PIPE2): Likewise.
4769         (__ASSUME_EVENTFD2): Likewise.
4770         (__ASSUME_SIGNALFD4): Likewise.
4771         (__ASSUME_DUP3): Likewise.
4772         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4773         (__ASSUME_UTIMES): Likewise.
4774         (__ASSUME_O_CLOEXEC): Likewise.
4775         (__ASSUME_SOCK_CLOEXEC): Likewise.
4776         (__ASSUME_IN_NONBLOCK): Likewise.
4777         (__ASSUME_PIPE2): Likewise.
4778         (__ASSUME_EVENTFD2): Likewise.
4779         (__ASSUME_SIGNALFD4): Likewise.
4780         (__ASSUME_DUP3): Likewise.
4781         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4782         Likewise.
4783         (__ASSUME_UTIMES): Likewise.
4784         (__ASSUME_EVENTFD2): Likewise.
4785         (__ASSUME_SIGNALFD4): Likewise.
4786         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4787         (__ASSUME_O_CLOEXEC): Likewise.
4788         (__ASSUME_SOCK_CLOEXEC): Likewise.
4789         (__ASSUME_IN_NONBLOCK): Likewise.
4790         (__ASSUME_PIPE2): Likewise.
4791         (__ASSUME_EVENTFD2): Likewise.
4792         (__ASSUME_SIGNALFD4): Likewise.
4793         (__ASSUME_DUP3): Likewise.
4794         (__ASSUME_UTIMES): Undefine.
4795
4796         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4797         feclearexcept.  Remove symbol versioning code.
4798         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4799         symbol versioning code.
4800         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4801         symbol versioning code.
4802         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4803         feupdateenv.  Remove symbol versioning code.
4804         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4805         fegetexceptflag.  Remove symbol versioning code.
4806         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4807         fesetexceptflag.  Remove symbol versioning code.
4808         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4809         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4810         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4811         (__posix_fadvise64_l32): Remove prototype.
4812         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4813         code.
4814
4815 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4816
4817         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4818         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4819         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4820         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4821
4822 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4823
4824         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4825         current working directory
4826
4827 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4828
4829         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4830         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4831         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4832         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4833         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4834         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4835         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4836         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4837         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4838         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4839         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4840         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4841         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4842         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4843         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4844         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4845         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4846         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4847         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4848         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4849         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4850         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4851         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4852         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4853         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4854         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4855         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4856         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4857         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4858         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4859         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4860         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4861         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4862         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4863         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4864         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4865         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4866         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4867         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4868         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4869         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4870         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4871
4872         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4873         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4874
4875         * sysdeps/unix/sysv/linux/arm/Makefile
4876         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4877         Add rt-aeabi_unwind_cpp_pr1.
4878         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4879         Add nptl-aeabi_unwind_cpp_pr1.
4880         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4881         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4882         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4883         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4884         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4885         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4886
4887         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4888         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4889         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4890         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4891
4892         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4893         Deconditionalize the code that was previously under [RESET_PID].
4894         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4895
4896         * sysdeps/generic/exit-thread.h: New file.
4897         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4898         * include/unistd.h (__exit_thread): Remove declaration.
4899         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4900         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4901         * csu/libc-start.c: Include <exit-thread.h>.
4902         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4903         * nptl/pthread_create.c: Include <exit-thread.h>.
4904         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4905         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4906         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4907         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4908         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4909         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4910         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4911         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4912         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4913         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4914         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4915         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4916         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4917         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4918         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4919         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4920         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4921
4922 2014-05-13  Andreas Schwab  <schwab@suse.de>
4923
4924         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4925
4926 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4927
4928         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4929         (__ASSUME_UTIMES): Do not condition on kernel version.
4930         (__ASSUME_PSELECT): Define unconditionally.
4931         (__ASSUME_PPOLL): Likewise.
4932         (__ASSUME_ATFCTS): Likewise.
4933         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4934         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4935         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4936         (__ASSUME_UTIMENSAT): Define unconditionally.
4937         (__ASSUME_PRIVATE_FUTEX): Likewise.
4938         (__ASSUME_FALLOCATE): Likewise.
4939         (__ASSUME_O_CLOEXEC): Likewise.
4940         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4941         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4942         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4943         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4944         (__ASSUME_IN_NONBLOCK): Likewise.
4945         (__ASSUME_PIPE2): Likewise.
4946         (__ASSUME_EVENTFD2): Likewise.
4947         (__ASSUME_SIGNALFD4): Likewise.
4948         (__ASSUME_DUP3): Likewise.
4949         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4950         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4951         (__ASSUME_AT_RANDOM): Likewise.
4952         (__ASSUME_PREADV): Likewise.
4953         (__ASSUME_PWRITEV): Likewise.
4954         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4955         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4956         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4957         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4958         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4959         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4960         (__ASSUME_O_CLOEXEC): Define unconditionally.
4961         (__ASSUME_PSELECT): Do not undefine conditionally.
4962         (__ASSUME_PPOLL): Likewise.
4963         (__ASSUME_ATFCTS): Likewise.
4964         (__ASSUME_SET_ROBUST_LIST): Likewise.
4965         (__ASSUME_UTIMENSAT): Likewise.
4966         (__ASSUME_FDATASYNC): Define unconditionally.
4967         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4968         (__ASSUME_SIGFRAME_V2): Likewise.
4969         )__ASSUME_EVENTFD2): Likewise.
4970         (__ASSUME_SIGNALFD4): Likewise.
4971         (__ASSUME_PSELECT): Do not undefine conditionally.
4972         (__ASSUME_PPOLL): Likewise.
4973         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4974         (__ASSUME_PSELECT): Define unconditionally.
4975         (__ASSUME_PPOLL): Likewise.
4976         (__ASSUME_O_CLOEXEC): Likewise.
4977         (__ASSUME_SOCK_CLOEXEC): Likewise.
4978         (__ASSUME_IN_NONBLOCK): Likewise.
4979         (__ASSUME_PIPE2): Likewise.
4980         (__ASSUME_EVENTFD2): Likewise.
4981         (__ASSUME_SIGNALFD4): Likewise.
4982         (__ASSUME_DUP3): Likewise.
4983         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4984         (__ASSUME_O_CLOEXEC): Likewise.
4985         (__ASSUME_SOCK_CLOEXEC): Likewise.
4986         (__ASSUME_IN_NONBLOCK): Likewise.
4987         (__ASSUME_PIPE2): Likewise.
4988         (__ASSUME_EVENTFD2): Likewise.
4989         (__ASSUME_SIGNALFD4): Likewise.
4990         (__ASSUME_DUP3): Likewise.
4991         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4992         (__ASSUME_EVENTFD2): Likewise.
4993         (__ASSUME_SIGNALFD4): Likewise.
4994         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4995
4996 2014-05-12  Andreas Schwab  <schwab@suse.de>
4997
4998         [BZ #16932]
4999         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5000         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5001         than maximum RPC packet size.
5002         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5003         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5004         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5005         (_nss_nis_getservbyport_r): Likewise.
5006
5007 2014-05-12  Will Newton  <will.newton@linaro.org>
5008
5009         * malloc/Makefile (tests): Add tst-mallopt.
5010         * malloc/tst-mallopt.c: New file.
5011
5012 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5013
5014         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5015         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5016
5017 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5018
5019         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5020         (tst-tlsmod6.so): Likewise.
5021
5022 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5023
5024         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5025
5026 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5027
5028         [BZ #16064]
5029         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5030         and <dl-procinfo.h>.
5031         (__fegetenv): Save SSE state in envp->__eip if supported.
5032         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5033         envp->__eip if supported.
5034         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5035         and <dl-procinfo.h>.
5036         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5037         __data_offset and __data_selector in environment to 0.  Set SSE
5038         state if supported.
5039         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5040         test-fenv-sse.
5041         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5042         -mfpmath=sse.
5043         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5044
5045 2014-05-09  Will Newton  <will.newton@linaro.org>
5046
5047         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5048         and libc_relro_required for ARM.
5049         * sysdeps/arm/preconfigure: Regenerate.
5050
5051 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5052             Stefan Liebler  <stli@linux.vnet.ibm.com>
5053
5054         * config.make.in (enable-lock-elision): New Makefile variable.
5055         * configure.ac: Likewise.
5056         * configure: Regenerate.
5057         * sysdeps/s390/configure.ac:
5058         Add check for gcc transactions support.
5059         * sysdeps/s390/configure: Regenerate.
5060         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5061         Build elision files if enabled.
5062         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5063         Add lock elision support for s390.
5064         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5065         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5066         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5067         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5068         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5069         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5070         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5071         Likewise.
5072         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5073         Likewise.
5074         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5075         Likewise.
5076         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5077         Likewise.
5078         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5079         (__lll_timedlock_elision, __lll_lock_elision)
5080         (__lll_unlock_elision, __lll_trylock_elision)
5081         (lll_timedlock_elision, lll_lock_elision)
5082         (lll_unlock_elision, lll_trylock_elision): Add.
5083         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5084         (pthread_mutex_t): Add lock elision support for s390.
5085
5086 2014-05-14  Wilco  <wdijkstr@arm.com>
5087
5088         * sysdeps/arm/fclrexcpt.c: Cleanup.
5089         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5090         * sysdeps/arm/feenablxcpt.c: Cleanup.
5091         * sysdeps/arm/fegetenv.c: Cleanup.
5092         * sysdeps/arm/fegetexcept.c: Cleanup.
5093         * sysdeps/arm/fegetround.c: Cleanup.
5094         * sysdeps/arm/feholdexcpt.c: Cleanup.
5095         * sysdeps/arm/fesetenv.c: Cleanup.
5096         * sysdeps/arm/fesetround.c: Cleanup.
5097         * sysdeps/arm/feupdateenv.c: Cleanup.
5098         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5099         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5100         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5101         * sysdeps/arm/ftestexcept.c: Cleanup.
5102         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5103         * sysdeps/arm/setfpucw.c: Cleanup.
5104
5105 2014-05-09  Will Newton  <will.newton@linaro.org>
5106
5107         * sysdeps/arm/armv7/strcmp.S: New file.
5108         * NEWS: Mention addition of ARMv7 optimized strcmp.
5109
5110 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5111
5112         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5113         look for %.ac rather than %.in.
5114
5115         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5116         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5117         * sysdeps/mach/hurd/configure: Regenerated.
5118         * sysdeps/unix/sysv/linux/configure: Regenerated.
5119
5120         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5121
5122 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5123
5124         [BZ# 16922]
5125         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5126         (LONG_SUB): Ditto.
5127         (PTR_SUB): Ditto.
5128
5129 2014-05-07  Andreas Schwab  <schwab@suse.de>
5130
5131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5132         when skipping over non-matching result from nscd.
5133
5134 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5135
5136         [BZ #16876]
5137         * nptl/sockperf.c (client): Check socket return value.
5138
5139         [BZ #16877]
5140         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5141         nscd security class.
5142
5143 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5144
5145         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5146         * sysdeps/arm/unwind.h: ... here.
5147
5148 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5149
5150         [BZ# 16916]
5151         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5152         Define.
5153
5154 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5155
5156         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5157         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5158         multiarch strncpy for PPC64.
5159         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5160         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5162         multiarch optimizations.
5163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5164         (__libc_ifunc_impl_list): Likewise.
5165         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5166         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5167         multiarch stpncpy for PPC64.
5168         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5169         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5170
5171 2014-05-06  Andreas Schwab  <schwab@suse.de>
5172
5173         [BZ #16912]
5174         * gmon/mcount.c (_MCOUNT_DECL): Use
5175         atomic_compare_and_exchange_bool_acq instead of
5176         catomic_compare_and_exchange_bool_acq.
5177
5178 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5179
5180         * elf/Makefile (others, install-bin): Remove pldd.
5181         (pldd-modules): Variable removed.
5182         ($(objpfx)pldd): Target removed.
5183         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5184         (others, install-bin): Append pldd here.
5185         ($(objpfx)pldd): New target.
5186
5187         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5188         to 0, so the first #if test emitted later doesn't see it undefined.
5189         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5190         * sysdeps/gnu/errlist.c: Regenerated.
5191
5192 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5193
5194         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5195         [libc_hidden_builtin_def]: Define to empty value.
5196         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5197         [libc_hidden_builtin_def]: Likewise.
5198         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5199         [libc_hidden_builtin_def]: Likewise.
5200         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5201         [libc_hidden_builtin_def]: Likewise.
5202         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5203         __redirect_memcpy and define ifunc as default hidden symbol.
5204         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5205         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5206
5207 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5208
5209         * locale/iso-4217.def: Reintroduce XDR currency.
5210
5211 2014-05-04  Allan McRae  <allan@archlinux.org>
5212
5213         * po/eo.po: Update Esperanto translation from translation project.
5214
5215 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5216
5217         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5218         and FEATURE_INDEX_MAX to 1.
5219         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5220
5221 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5222
5223         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5224         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5225         * iconvdata/big5.c (ONE_DIRECTION): Define.
5226         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5227         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5228         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5229         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5230         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5231         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5232         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5233         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5234         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5235         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5236         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5237         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5238         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5239         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5240         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5241         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5242         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5243         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5244         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5245         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5246         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5247         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5248         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5249         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5250         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5251         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5252         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5253         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5254         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5255         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5256         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5257         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5258         * iconvdata/johab.c (ONE_DIRECTION): Define.
5259         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5260         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5261         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5262         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5263         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5264         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5265         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5266         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5267         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5268         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5269
5270 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5271
5272         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5273         (_IO_JUMPS_OFFSET): Define to 0.
5274
5275         * nptl/sysdeps/pthread/bits/libc-lock.h
5276         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5277         (__libc_lock_define_initialized_recursive): Always define using
5278         initializer.  Modern compilers treat uninitialized (implicit zero) and
5279         explicit zero initializers the same (i.e. put the datum in bss).
5280
5281 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5282
5283         * nscd/nscd-client.h: Include <string.h>.
5284
5285 2014-05-01  David S. Miller  <davem@davemloft.net>
5286
5287         [BZ #16885]
5288         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5289         multiple zero bytes exist at the end of a string.
5290         Reported by Aurelien Jarno <aurelien@aurel32.net>
5291
5292         * string/test-strcmp.c (check): Add explicit test for situations where
5293         there are multiple zero bytes after the first.
5294
5295 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5296
5297         [BZ #16890]
5298         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5299         when compiling wprintf.
5300         * stdio-common/tstdiomisc.c (t3): New function.
5301         (main): Call it.
5302
5303 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5304
5305         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5306         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5307         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5308         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5309
5310 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5311
5312         * stdlib/longlong.h: Updated from GCC.
5313
5314 2014-05-01  Will Newton  <will.newton@linaro.org>
5315             Bernard Ogden  <bernie.ogden@linaro.org>
5316
5317         * NEWS: Update fixed bug list.
5318
5319         [BZ #15119]
5320         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5321
5322 2014-04-30  David S. Miller  <davem@davemloft.net>
5323
5324         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5325         (libc_feholdexcept_setround_sparc_ctx): New function.
5326         (libc_fesetenv_sparc_ctx): Likewise.
5327         (libc_feupdateenv_sparc_ctx): Likewise.
5328         (libc_feholdsetround_sparc_ctx): Likewise.
5329         (libc_feholdexcept_setround_ctx): Define.
5330         (libc_feholdexcept_setroundf_ctx): Likewise.
5331         (libc_feholdexcept_setroundl_ctx): Likewise.
5332         (libc_fesetenv_ctx): Likewise.
5333         (libc_fesetenvf_ctx): Likewise.
5334         (libc_fesetenvl_ctx): Likewise.
5335         (libc_feupdateenv_ctx): Likewise.
5336         (libc_feupdateenvf_ctx): Likewise.
5337         (libc_feupdateenvl_ctx): Likewise.
5338         (libc_feresetround_ctx): Likewise.
5339         (libc_feresetroundf_ctx): Likewise.
5340         (libc_feresetroundl_ctx): Likewise.
5341         (libc_feholdsetround_ctx): Likewise.
5342         (libc_feholdsetroundf_ctx): Likewise.
5343         (libc_feholdsetroundl_ctx): Likewise.
5344
5345         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5346         with __USE_GNU instead of XOPEN cpp guards.
5347
5348         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5349         0.
5350
5351         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5352         with XOPEN cpp guards.
5353
5354 2014-04-30  Julian Brown  <julian@codesourcery.com>
5355
5356         [BZ #16888]
5357         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5358         handling.
5359
5360 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5361
5362         [BZ #9894]
5363         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5364         Change to 2.6.32.
5365         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5366         * sysdeps/unix/sysv/linux/configure: Regenerated.
5367         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5368         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5369         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5370         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5371         * README: Update reference to required Linux kernel version.
5372         * manual/install.texi (Linux): Update reference to required Linux
5373         kernel headers version.
5374         * INSTALL: Regenerated.
5375
5376         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5377         header inclusion.
5378         [POSIX] (limits.h): Likewise.
5379         [POSIX] (math.h): Likewise.
5380         [POSIX] (sys/wait.h): Likewise.
5381         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5382         function.
5383         [POSIX] (stddef.h): Do not allow header inclusion.
5384
5385 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5386
5387         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5388
5389 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5390
5391         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5392         Return immediately after lll_futex_wake.
5393
5394 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5395
5396         [BZ #16791]
5397         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5398         structure.
5399         (datahead_init_pos): Call datahead_init_common early.
5400         (datahead_init_neg): Likewise.
5401
5402         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5403         datahead_init_neg): New functions.
5404         * nscd/aicache.c (addhstaiX): Use them.
5405         * nscd/grpcache.c (cache_addgr): Likewise.
5406         * nscd/hstcache.c (cache_addhst): Likewise.
5407         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5408         * nscd/netgroupcache.c (do_notfound): Likewise.
5409         (addgetnetgrentX): Likewise.
5410         (addinnetgrX): Likewise.
5411         * nscd/pwdcache.c (cache_addpw): Likewise.
5412         * nscd/servicescache.c (cache_addserv): Likewise.
5413
5414 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5415             Atsushi Onoe  <atsushi@onoe.org>
5416
5417         [BZ #14308]
5418         [BZ #12994]
5419         [BZ #13651]
5420         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5421         one response is valid.
5422         * resolv/res_send.c (send_dg): Check for validity of other
5423         response if the current response is a referral.
5424
5425 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5426
5427         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5428
5429 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5430
5431         [BZ #16823]
5432         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5433         Always divide by positive zero when computing -Inf result.
5434         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5435         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5436
5437 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5438
5439         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5440         FPSCR if value do not change.
5441         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5442         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5443         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5444         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5445         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5446         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5447         function.
5448
5449 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5450
5451         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5452         * sysdeps/unix/sysv/linux/hppa: Move directory from
5453         ports/systeps/unix/sysv/linux/hppa.
5454         * README: Update listing for hppa-*-linux-gnu.
5455
5456 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5457
5458         [BZ #16754]
5459         * manual/stdio.texi (Hook functions): Fix types of stream hook
5460         functions.
5461         [BZ #16854]
5462         * socket/sys/socket.h: Fix typo in comment.
5463
5464 2014-04-28  Wilco  <wdijkstr@arm.com>
5465
5466         * sysdeps/arm/fenv_private.h: New file.
5467         * sysdeps/arm/math_private.h: New file.
5468         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5469
5470 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5471
5472         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5473         with __int128_t.
5474         (La_x86_64_retval): Likewise.
5475
5476 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5477
5478         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5479         fpsr if value didn't change.
5480         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5481         to fpcr if value didn't change.
5482         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5483         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5484         fpsr or fpcr if value didn't change.
5485         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5486         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5487         fpcr if value didn't change.
5488         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5489         to fpsr if value didn't change.
5490
5491 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5492
5493         * nptl/tst-sem3.c: Use test-skeleton.c
5494         (main): Rename to do_test.  Use return instead of
5495         exit.
5496         * nptl/tst-sem4.c: Use test-skeleton.c
5497         (main): Rename to do_test.
5498
5499 2014-04-22  David S. Miller  <davem@davemloft.net>
5500
5501         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5502         (struct sigaction): New struct member __glibc_reserved0, change
5503         type of sa_flags to int.
5504
5505 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5506
5507         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5508         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5509
5510 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5511
5512         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5513         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5514
5515 2014-04-22  Will Newton  <will.newton@linaro.org>
5516             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5517
5518         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5519         (__longjmp): Add longjmp and longjmp_target SystemTap
5520         probes.
5521         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5522         (__sigsetjmp): Add setjmp SystemTap probe.
5523
5524 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5525
5526         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5527         match manual order.
5528
5529 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5530
5531         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5532
5533         * sysdeps/powerpc/fpu/fenv_private.h
5534         (libc_feholdexcept_setroundl_ctx): Define to
5535         libc_feholdexcept_setround_ppc_ctx.
5536         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5537         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5538         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5539         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5540
5541 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5542
5543         * sysdeps/aarch64/math-tests.h: New file.
5544
5545 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5546
5547         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5548         New.
5549         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5550         Check and set bit_AVX2_Usable.
5551         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5552         macro.
5553         (bit_AVX2): Likewise.
5554         (index_AVX2_Usable): Likewise.
5555         (CPUID_AVX2): Likewise.
5556         (HAS_AVX2): Likewise.
5557
5558 2014-04-17  Will Newton  <will.newton@linaro.org>
5559
5560         * manual/setjmp.texi (System V contexts): Add note that
5561         calling setcontext on a context created by a call to a
5562         signal handler is undefined.  Update text to note that
5563         setcontext from a signal handler is possible but not
5564         recommended.
5565
5566         [BZ #16629]
5567         * stdlib/tst-setcontext.c: Include signal.h.
5568         (main): Check that the signal stack before and
5569         after swapcontext is the same.
5570
5571         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5572         Re-implement to restore registers in user code and avoid
5573         rt_sigreturn system call.
5574
5575 2014-04-17  Wilco  <wdijkstr@arm.com>
5576
5577         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5578         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5579         * math/test-fenv.c: Skip exception trap tests on targets which only
5580         support non-stop mode.
5581
5582 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5583             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5584
5585         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5586         (libc_feholdsetround_aarch64_ctx)
5587         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5588         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5589         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5590         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5591         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5592         (libc_feresetround_noexl_ctx): Define.
5593
5594 2014-04-16  Richard Henderson  <rth@redhat.com>
5595
5596         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5597
5598         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5599         unwind tables.
5600
5601         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5602         const from the non-libc, non-ldso copy.
5603
5604         * sysdeps/alpha/libm-test-ulps: Regenerate.
5605
5606 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5607             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5608
5609         * sysdeps/aarch64/fpu/math_private.h: New file.
5610
5611 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5612
5613         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5614
5615 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5616
5617         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5618         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5619         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5620         Intel MPX bound registers before _dl_profile_fixup.
5621         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5622         registers after _dl_profile_fixup.  Save and restore bound
5623         registers bnd0/bnd1 when calling _dl_call_pltexit.
5624         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5625         (LR_BND_OFFSET): Likewise.
5626         (LRV_BND0_OFFSET): Likewise.
5627         (LRV_BND1_OFFSET): Likewise.
5628
5629 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5630
5631         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5632         to...
5633         * sysdeps/mach/hurd/i386/tls.h: ... here.
5634         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5635         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5636         fields.
5637
5638 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5639
5640         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5641
5642 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5643
5644         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5645
5646 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5647
5648         [BZ #14770]
5649         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5650         * sysdeps/s390/configure: Regenerate.
5651
5652         [BZ #16824]
5653         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5654         Set round-to-nearest internally to reduce error accumulation.
5655
5656 2014-04-16  Alan Modra  <amodra@gmail.com>
5657
5658         [BZ #16740]
5659         [BZ #16619]
5660         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5661         * math/libm-test.inc (frexp_test_data): Add tests.
5662         * NEWS: Update fixed bug list.
5663
5664 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5665
5666         * benchtests/Makefile: Depend on libraries in build directory.
5667         (bench-math): Separate out math tests.
5668         (bench-pthread): Separate out pthread tests.
5669         (bench): Include math and pthread tests.
5670
5671 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5672
5673         [BZ #16831]
5674         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5675         _dl_debug_initialize.
5676
5677         * configure.ac: Remove SELinux header check.
5678         * configure: Regenerate.
5679         * nscd/selinux.c (perms): Array of const char* to permission names.
5680         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5681         default policy. Call string_to_security_class and string_to_av_perm to
5682         translate strings. Enforce default policy and call avs_has_perm with
5683         results of translated strings.
5684
5685 2014-04-13  David S. Miller  <davem@davemloft.net>
5686
5687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5688
5689 2014-04-12  Allan McRae  <allan@archlinux.org>
5690
5691         [BZ #16838]
5692         * manual/string.texi (Collation Functions): Fix qsort argument
5693         order in example.
5694         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5695
5696 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5697
5698         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5699         Make the test a no-op if there are no exceptions defined.
5700
5701 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5702
5703         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5704         enable-hardcoded-path-in-tests
5705
5706 2014-04-11  Will Newton  <will.newton@linaro.org>
5707
5708         * benchtests/Makefile (extra-objs): Add json-lib.o.
5709         (bench-func): Tidy up JSON output.
5710         * benchtests/bench-skeleton.c: Include json-lib.h.
5711         (main): Use JSON library functions to do output of
5712         benchmark results.
5713         * benchtests/bench-timing-type.c (main): Output the
5714         timing type simply, leaving formatting to the user.
5715         * benchtests/json-lib.c: New file.
5716         * benchtests/json-lib.h: Likewise.
5717
5718 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5719
5720         [BZ #15215]
5721         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5722         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5723         memory barriers.  Add comments.
5724         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5725         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5726         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5727         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5728         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5729         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5730
5731 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5732
5733         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5734         * sysdeps/s390/s390-64/configure.ac: ... this ...
5735         * sysdeps/s390/configure.ac: ... to here.
5736         * sysdeps/s390/s390-32/configure: Delete file.
5737         * sysdeps/s390/s390-64/configure: Delete file.
5738         * sysdeps/s390/configure: Regenerate.
5739
5740 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5741
5742         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5743
5744 2014-04-11  Will Newton  <will.newton@linaro.org>
5745
5746         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5747         to zero if it is not defined elsewhere.  (mtrim): Test
5748         the value of MALLOC_DEBUG with #if rather than #ifdef.
5749
5750 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5751
5752         * benchtests/pthread_once-inputs: New file.
5753         * benchtests/pthread_once-source.c: New file.
5754         * benchtests/README: Update documentation.
5755
5756 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5757             H.J. Lu  <hongjiu.lu@intel.com>
5758
5759         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5760         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5761         * sysdeps/x86_64/configure: Regenerated.
5762         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5763         macro.
5764         (REGISTER_SAVE_RAX): Likewise.
5765         (REGISTER_SAVE_RCX): Likewise.
5766         (REGISTER_SAVE_RDX): Likewise.
5767         (REGISTER_SAVE_RSI): Likewise.
5768         (REGISTER_SAVE_RDI): Likewise.
5769         (REGISTER_SAVE_R8): Likewise.
5770         (REGISTER_SAVE_R9): Likewise.
5771         (REGISTER_SAVE_BND0): Likewise.
5772         (REGISTER_SAVE_BND1): Likewise.
5773         (REGISTER_SAVE_BND2): Likewise.
5774         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5775         bound registers when calling _dl_fixup.
5776
5777 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5778
5779         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5780         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5781         of its definition.
5782         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5783         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5784         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5785         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5786         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5787         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5788         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5789
5790 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5791
5792         [BZ #15514]
5793         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5794         pathconf(_PC_NAME_MAX).
5795
5796 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5797
5798         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5799         Remove macro usage.
5800         (__PTHREAD_SPINS): Move definition to ...
5801         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5802         (__PTHREAD_SPINS): ... here.
5803         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5804         (__PTHREAD_SPIN): Likewise.
5805         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5806         (__PTHREAD_SPIN): Likewise.
5807         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5808         (__PTHREAD_SPIN): Likewise.
5809         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5810         (__PTHREAD_SPIN): Likewise.
5811         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5812         (__PTHREAD_SPIN): Likewise.
5813         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5814         (__PTHREAD_SPIN): Likewise.
5815         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5816         (__PTHREAD_SPIN): Likewise.
5817         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5818         (__PTHREAD_SPIN): Likewise.
5819         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5820         (__PTHREAD_SPIN): Likewise.
5821         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5822         (__PTHREAD_SPIN): Likewise.
5823         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5824         (__PTHREAD_SPIN): Likewise.
5825         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5826         (__PTHREAD_SPIN): Likewise.
5827
5828         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5829         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5830         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5831         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5832         imply folder.
5833         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5834         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5835         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5836         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5837         correct imply path.
5838         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5839         strlen symbol for non multi-arch builds.
5840         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5841         missing hidden_def and weak_alias.
5842
5843 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5844
5845         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5846
5847 2014-04-07  Will Newton  <will.newton@linaro.org>
5848
5849         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5850         and contents.  [!_LIBC] Remove #ifndef and contents.
5851         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5852         * string/memccpy.c (__memccpy): Use ANSI prototype.
5853         * string/memfrob.c (memfrob): Likewise.
5854         * string/strcoll.c (STRCOLL): Likewise.
5855         * string/strlen.c (strlen): Likewise.
5856         * string/strtok.c (STRTOK): Likewise.
5857         * string/strcat.c: Remove unused #include of memcopy.h.
5858         (strcat): Use ANSI prototype.
5859         * string/strchr.c: Remove unused #include of memcopy.h.
5860         (strchr): Use ANSI prototype.
5861         * string/strcmp.c: Remove unused #include of memcopy.h.
5862         (strcmp): Use ANSI prototype.
5863         * string/strcpy.c: Remove unused #include of memcopy.h.
5864         (strcpy): Use ANSI prototype.
5865
5866 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5867
5868         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5869         * config.make.in (config-extra-cppflags): Set it from
5870         libc_extra_cppflags.
5871         * configure.ac (libc_extra_cflags): Make it accumulate over
5872         configure fragments.
5873         (libc_extra_cppflags): New flag.
5874         * configure. Regenerate.
5875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5876         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5877         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5879
5880         [BZ #16815]
5881         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5882         result for FE_DOWNWARD rounding mode.
5883         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5884         Likewise.
5885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5886
5887 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5888
5889         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5890         in function argument name.
5891
5892 2014-04-03  David Svoboda  <svoboda@cert.org>
5893
5894         [BZ #5666]
5895         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5896         explicitly.
5897
5898 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5899
5900         * elf/dl-unmap-segments.h: New file.
5901         * sysdeps/generic/ldsodefs.h
5902         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5903         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5904         * elf/dl-fptr.c: Likewise.
5905         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5906         * sysdeps/aarch64/tlsdesc.c: Likewise.
5907         * sysdeps/arm/tlsdesc.c: Likewise.
5908         * sysdeps/i386/tlsdesc.c: Likewise.
5909         * sysdeps/tile/dl-runtime.c: Likewise.
5910         * sysdeps/x86_64/tlsdesc.c: Likewise.
5911         * elf/dl-load.h: New file.
5912         * elf/dl-load.c: Include it.
5913         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5914         Macros moved to dl-load.h.
5915         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5916         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5917         Use _dl_unmap_segments in place of __munmap.
5918         Break out segment-mapping loop into ...
5919         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5920
5921 2014-04-03  Will Newton  <will.newton@linaro.org>
5922
5923         * elf/dl-lookup.c (do_lookup_x): Remove comment
5924         referring to nested function and move variable
5925         declarations down to before first use.
5926
5927 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5928
5929         [BZ #16799]
5930         [BZ #16800]
5931         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5932         with 0 numerator.
5933         * math/s_catanf.c (__catanf): Likewise.
5934         * math/s_catanh.c (__catanh): Likewise.
5935         * math/s_catanhf.c (__catanhf): Likewise.
5936         * math/s_catanhl.c (__catanhl): Likewise.
5937         * math/s_catanl.c (__catanl): Likewise.
5938         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5939         by positive zero when computing -Inf result.
5940         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5941         (catanh_test): Likewise.
5942         * sysdeps/i386/fpu/libm-test-ulps: Update.
5943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5944
5945         [BZ #16789]
5946         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5947         instead of using underflowing value in computing result.
5948         * math/s_clog10.c (__clog10): Likewise.
5949         * math/s_clog10f.c (__clog10f): Likewise.
5950         * math/s_clog10l.c (__clog10l): Likewise.
5951         * math/s_clogf.c (__clogf): Likewise.
5952         * math/s_clogl.c (__clogl): Likewise.
5953         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5954         (clog10_test): Likewise.
5955         * sysdeps/i386/fpu/libm-test-ulps: Update.
5956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5957
5958 2014-04-02  Alan Modra  <amodra@gmail.com>
5959
5960         [BZ #16739]
5961         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5962         output when value is near a power of two.  Use int64_t for lx and
5963         remove casts.  Use decimal rather than hex exponent constants.
5964         Don't use long double multiplication when double will suffice.
5965         * math/libm-test.inc (nextafter_test_data): Add tests.
5966         * NEWS: Add 16739 and 16786 to bug list.
5967
5968         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5969
5970         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5971
5972 2014-04-01  Will Newton  <will.newton@linaro.org>
5973
5974         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5975         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5976
5977 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5978
5979         [BZ #13347]
5980         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5981         * nptl/tst-setuid2.c: New file.
5982         * nptl/Makefile (xtests): Add tst-setuid2.
5983
5984 2014-04-01  Alan Modra  <amodra@gmail.com>
5985
5986         [BZ #16786]
5987         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5988
5989 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5990
5991         [BZ #6803]
5992         [BZ #6804]
5993         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5994         set errno as appropriate.
5995         * math/w_scalbf.c (__scalbf): Likewise.
5996         * math/w_scalbl.c (__scalbl): Likewise.
5997         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5998         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5999         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6000         Add more NaN tests.
6001
6002         [BZ #16349]
6003         * math/w_atan2.c: Include <errno.h>.
6004         (__atan2): Set errno for result underflowing to zero.
6005         * math/w_atan2f.c: Include <errno.h>.
6006         (__atan2f): Set errno for result underflowing to zero.
6007         * math/w_atan2l.c: Include <errno.h>.
6008         (__atan2l): Set errno for result underflowing to zero.
6009         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6010         tests.
6011         * math/auto-libm-test-out: Regenerated.
6012
6013 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6014
6015         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6016         Encode instruction correctly in little endian.
6017         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6018         Likewise.
6019         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6020         Likewise.
6021         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6022         Likewise.
6023         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6024         Likewise.
6025
6026 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6027
6028         [BZ #9894]
6029         * sysdeps/unix/sysv/linux/kernel-features.h
6030         [__sparc__ && !__arch64__ && !__sparc_v9__]
6031         (__ASSUME_SET_ROBUST_LIST): Do not define.
6032         [__sparc__ && !__arch64__ && !__sparc_v9__]
6033         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6034         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6035         Likewise.
6036         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6037         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6038         (__ASSUME_REQUEUE_PI): Likewise.
6039         (__ASSUME_SET_ROBUST_LIST): Likewise.
6040         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6041         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6042         Undefine.
6043         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6044         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6045         Likewise.
6046         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6047         Likewise.
6048         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6049         Likewise.
6050         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6051         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6052         Undefine.
6053         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6054         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6055         Likewise.
6056
6057         [BZ #16648]
6058         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6059         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6060         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6061
6062 2014-03-31  Will Newton  <will.newton@linaro.org>
6063
6064         * benchtests/Makefile (bench): Add ffs and ffsll to list
6065         of tests.
6066         * benchtests/ffs-inputs: New file.
6067         * benchtests/ffsll-inputs: Likewise.
6068
6069 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6070
6071         [BZ #16770]
6072         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6073         too large before casting to int.
6074         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6075         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6076         * math/libm-test.inc (scalb_test_data): Add more tests.
6077
6078 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6079
6080         * benchtests/Makefile (DETAILED_OPT): New make option.
6081         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6082         set.
6083         * benchtests/bench-skeleton.c: Include stdbool.h.
6084         (main): Store and print timings per input.
6085         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6086         member to each argument value.
6087         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6088         (_print_arg_data): Initialize per-input timing to 0.
6089
6090         * benchtests/Makefile (timing-type): New binary.
6091         (bench-clean): Also remove bench-timing-type.
6092         (bench): New target for timing-type.
6093         (bench-func): Print output in JSON format.
6094         * benchtests/bench-skeleton.c (main): Print output in JSON
6095         format.
6096         * benchtests/bench-timing-type.c: New file.
6097         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6098         (TIMING_PRINT_STATS): Remove.
6099         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6100         name separately.
6101
6102         * benchtests/bench-modf.c: Remove.
6103         * benchtests/modf-inputs: New inputs file.
6104
6105 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6106
6107         [BZ #16362]
6108         * math/s_clog10.c (M_PI_LOG10E): New macro.
6109         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6110         imaginary parts are 0.
6111         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6112         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6113         imaginary parts are 0.
6114         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6115         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6116         imaginary parts are 0.
6117         * math/libm-test.inc (clog10_test_data): Update expected results
6118         for when real and imaginary parts are 0.
6119
6120 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6121
6122         * elf/dl-load.c: Finish conversion of __builtin_expect into
6123         __glibc_{un}likely.
6124
6125 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6126
6127         [BZ #16348]
6128         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6129         1+x for argument with exponent below -67.
6130         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6131         Likewise.
6132         * math/auto-libm-test-in: Add more tests of exp.
6133         * math/auto-libm-test-out: Regenerated.
6134
6135 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6136
6137         [BZ #16759]
6138         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6139         (nscd_getnetgrent): Use it.
6140
6141         [BZ #16760]
6142         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6143         of stpcpy.
6144
6145 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6146
6147         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6148         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6149         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6150         (lll_robust_unlock): Remove out of line section. Use cfi
6151         intrinsics.
6152         (LLL_STUB_UNWIND_INFO*): Remove.
6153         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6154         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6155         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6156         (lll_robust_unlock): Remove out of line section. Use cfi
6157         intrinsics.
6158         (LLL_STUB_UNWIND_INFO*): Remove.
6159
6160 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6161
6162         [BZ #16758]
6163         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6164         blank values.
6165
6166 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6167
6168         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6169
6170 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6171
6172         [BZ #16198]
6173         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6174         fnstenv.
6175         * math/test-fenv-preserve.c: New file.
6176         * math/Makefile (tests): Add test-fenv-preserve.
6177
6178 2014-03-26  Will Newton <will.newton@linaro.org>
6179
6180         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6181
6182 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6183
6184         * scripts/versionlist.awk: Partition the version sets and emit all
6185         GLIBC_* (sorted) before all others (sorted).
6186
6187 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6188
6189         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6190         GLIBC_2.2.5 version.
6191
6192 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6193
6194         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6195         calls.
6196
6197         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6198         previous change.
6199
6200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6201
6202 2014-03-25  Andreas Schwab  <schwab@suse.de>
6203
6204         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6205         label to be used after in6ailist is initialized.
6206
6207 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6208
6209         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6210         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6211
6212 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6213
6214         [BZ #16357]
6215         [BZ #16599]
6216         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6217         min_plus_half.
6218         (fp_formats): Update initializers.
6219         (init_fp_formats): Initialize new field.
6220         (output_for_one_input_case): Allow underflow for results up to
6221         min_plus_half.
6222         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6223         * math/auto-libm-test-in: Don't mark some underflows from asin and
6224         atanh as spurious.
6225         * math/auto-libm-test-out: Regenerated.
6226         * sysdeps/i386/fpu/libm-test-ulps: Update.
6227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6228
6229 2014-03-25  Andreas Schwab  <schwab@suse.de>
6230
6231         * libio/Makefile (tst-ftell-partial-wide-ENV)
6232         (tst-ftell-active-handler-ENV): Define.
6233
6234 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6235
6236         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6237
6238 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6239
6240         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6241
6242 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6243
6244         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6245         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6246         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6247
6248 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6249
6250         [BZ #16634]
6251         * elf/dl-load.c (open_verify): Add mode parameter.
6252         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6253         (open_path): Change from boolean 'secure' to complete flag 'mode'
6254         (_dl_map_object): Adjust.
6255         * elf/Makefile (tests): Add tst-dlopen-aout.
6256         * elf/tst-dlopen-aout.c: New test.
6257
6258 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6259
6260         [BZ #16714]
6261         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6262         (struct stat): Rename member pad0 to __glibc_reserved0.
6263
6264         [BZ #16712]
6265         * sysdeps/s390/s390-32/bits/wordsize.h
6266         (__WORDSIZE32_SIZE_ULONG): New define.
6267         * sysdeps/s390/s390-64/bits/wordsize.h
6268         (__WORDSIZE32_SIZE_ULONG): Likewise.
6269         * sysdeps/generic/stdint.h (SIZE_MAX):
6270         Define as UL if __WORDSIZE32_SIZE_ULONG.
6271
6272         [BZ #16713]
6273         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6274         (__glibc_reserved0): New variable.
6275         (sa_flags): Change type to int.
6276
6277         * posix/Makefile (before-compile): Use += before-compile instead
6278         of a :=.
6279
6280         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6281         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6282
6283 2014-03-20  Andreas Schwab  <schwab@suse.de>
6284
6285         [BZ #16743]
6286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6287         non-matching result from nscd.
6288
6289 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6290
6291         * scripts/bench.py: Moved to ...
6292         * benchtests/scripts/bench.py: ... here.
6293         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6294
6295 2014-03-24  Andreas Schwab  <schwab@suse.de>
6296
6297         [BZ #16002]
6298         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6299         alloca_account and account alloca use for struct in6ailist.
6300
6301 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6302
6303         [BZ #16284]
6304         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6305         rounding mode to recompute results that overflow to infinity or
6306         underflow to zero.
6307         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6308         bug 16284.
6309         * math/auto-libm-test-out: Regenerated.
6310         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6311         (ccosh_test): Likewise.
6312         (csin_test_data): Use plus_oflow.
6313         (csin_test): Use ALL_RM_TEST.
6314         (csinh_test_data): Use plus_oflow.
6315         (csinh_test): Use ALL_RM_TEST.
6316         * sysdeps/i386/fpu/libm-test-ulps: Update.
6317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6318
6319 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6320
6321         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6322         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6323         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6324
6325         [BZ #16731]
6326         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6327         when x - 1 is zero.
6328         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6329         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6330         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6331         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6332         argument is 1.
6333         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6334         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6335         zero.
6336         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6337         * sysdeps/i386/fpu/libm-test-ulps: Update.
6338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6339
6340 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6341
6342         * scripts/bench.pl: Remove file.
6343         * scripts/bench.py: New benchmark script.
6344         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6345         * benchtests/README: Mention python dependency.
6346         * scripts/pylintrc: New file.
6347         * scripts/pylint: New file.
6348
6349         * bits/mathdef.h: Use #ifdef instead of #if.
6350         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6351         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6352         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6353         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6354         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6355         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6356
6357 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6358             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6359
6360         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6362         and strpbrk-ppc64 objects.
6363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6364         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6365         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6366         multiarch strpbrk for POWER7.
6367         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6368         multiarch strpbrk for PPC64.
6369         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6370         ifunc selector.
6371         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6372         strpbrk for POWER7.
6373
6374 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6375
6376         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6377         (atan_test): Likewise.
6378         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6379         (atanh_test): Use ALL_RM_TEST.
6380         (atan2_test_data): Likewise.
6381         (cabs_test): Likewise.
6382         (cacosh_test): Likewise.
6383         (carg_test): Likewise.
6384         (casin_test): Likewise.
6385         (casinh_test): Likewise.
6386         (cbrt_test): Likewise.
6387         (csqrt_test): Likewise.
6388         (erf_test): Likewise.
6389         (erfc_test): Likewise.
6390         (pow10_test): Likewise.
6391         (exp2_test): Likewise.
6392         (hypot_test): Likewise.
6393         (j0_test): Likewise.
6394         (j1_test): Likewise.
6395         (lgamma_test): Likewise.
6396         (gamma_test): Likewise.
6397         (sincos_test): Likewise.
6398         (tanh_test): Likewise.
6399         (y0_test): Likewise.
6400         (y1_test): Likewise.
6401         * sysdeps/i386/fpu/libm-test-ulps: Update.
6402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6403
6404 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6405
6406         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6408         and strcspn-ppc64 objects.
6409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6410         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6411         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6412         multiarch strcspn for POWER7.
6413         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6414         multiarch strcspn for PPC64.
6415         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6416         ifunc selector.
6417         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6418         strcspn for POWER7.
6419
6420 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6421
6422         * math/gen-libm-test.pl (generate_testfile): Expect only function
6423         name as argument to AUTO_TESTS_* and pass results for all rounding
6424         modes to parse_args.
6425         (parse_auto_input): Separate inputs of automatic tests from
6426         outputs before storing in %auto_tests.
6427         * math/libm-test.inc (acos_test_data): Update call to
6428         AUTO_TESTS_f_f.
6429         (acos_test): Use ALL_RM_TEST.
6430         (acos_tonearest_test_data): Remove.
6431         (acos_test_tonearest): Likewise.
6432         (acos_towardzero_test_data): Likewise.
6433         (acos_test_towardzero): Likewise.
6434         (acos_downward_test_data): Likewise.
6435         (acos_test_downward): Likewise.
6436         (acos_upward_test_data): Likewise.
6437         (acos_test_upward): Likewise.
6438         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6439         (asin_test_data): Likewise.
6440         (asin_test): Use ALL_RM_TEST.
6441         (asin_tonearest_test_data): Remove.
6442         (asin_test_tonearest): Likewise.
6443         (asin_towardzero_test_data): Likewise.
6444         (asin_test_towardzero): Likewise.
6445         (asin_downward_test_data): Likewise.
6446         (asin_test_downward): Likewise.
6447         (asin_upward_test_data): Likewise.
6448         (asin_test_upward): Likewise.
6449         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6450         (atan_test_data): Likewise.
6451         (atanh_test_data): Likewise.
6452         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6453         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6454         (carg_test_data): Likewise.
6455         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6456         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6457         (ccosh_test_data): Likewise.
6458         (cexp_test_data): Likewise.
6459         (clog_test_data): Likewise.
6460         (clog10_test_data): Likewise.
6461         (cos_test_data): Update call to AUTO_TESTS_f_f.
6462         (cos_test): Use ALL_RM_TEST.
6463         (cos_tonearest_test_data): Remove.
6464         (cos_test_tonearest): Likewise.
6465         (cos_towardzero_test_data): Likewise.
6466         (cos_test_towardzero): Likewise.
6467         (cos_downward_test_data): Likewise.
6468         (cos_test_downward): Likewise.
6469         (cos_upward_test_data): Likewise.
6470         (cos_test_upward): Likewise.
6471         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6472         (cosh_test): Use ALL_RM_TEST.
6473         (cosh_tonearest_test_data): Remove.
6474         (cosh_test_tonearest): Likewise.
6475         (cosh_towardzero_test_data): Likewise.
6476         (cosh_test_towardzero): Likewise.
6477         (cosh_downward_test_data): Likewise.
6478         (cosh_test_downward): Likewise.
6479         (cosh_upward_test_data): Likewise.
6480         (cosh_test_upward): Likewise.
6481         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6482         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6483         (ctan_test_data): Likewise.
6484         (ctan_test): Use ALL_RM_TEST.
6485         (ctan_tonearest_test_data): Remove.
6486         (ctan_test_tonearest): Likewise.
6487         (ctan_towardzero_test_data): Likewise.
6488         (ctan_test_towardzero): Likewise.
6489         (ctan_downward_test_data): Likewise.
6490         (ctan_test_downward): Likewise.
6491         (ctan_upward_test_data): Likewise.
6492         (ctan_test_upward): Likewise.
6493         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6494         (ctanh_test): Use ALL_RM_TEST.
6495         (ctanh_tonearest_test_data): Remove.
6496         (ctanh_test_tonearest): Likewise.
6497         (ctanh_towardzero_test_data): Likewise.
6498         (ctanh_test_towardzero): Likewise.
6499         (ctanh_downward_test_data): Likewise.
6500         (ctanh_test_downward): Likewise.
6501         (ctanh_upward_test_data): Likewise.
6502         (ctanh_test_upward): Likewise.
6503         (erf_test_data): Update call to AUTO_TESTS_f_f.
6504         (erfc_test_data): Likewise.
6505         (exp_test_data): Likewise.
6506         (exp_test): Use ALL_RM_TEST.
6507         (exp_tonearest_test_data): Remove.
6508         (exp_test_tonearest): Likewise.
6509         (exp_towardzero_test_data): Likewise.
6510         (exp_test_towardzero): Likewise.
6511         (exp_downward_test_data): Likewise.
6512         (exp_test_downward): Likewise.
6513         (exp_upward_test_data): Likewise.
6514         (exp_test_upward): Likewise.
6515         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6516         (exp10_test): Use ALL_RM_TEST.
6517         (exp10_tonearest_test_data): Remove.
6518         (exp10_test_tonearest): Likewise.
6519         (exp10_towardzero_test_data): Likewise.
6520         (exp10_test_towardzero): Likewise.
6521         (exp10_downward_test_data): Likewise.
6522         (exp10_test_downward): Likewise.
6523         (exp10_upward_test_data): Likewise.
6524         (exp10_test_upward): Likewise.
6525         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6526         (expm1_test_data): Likewise.
6527         (expm1_test): Use ALL_RM_TEST.
6528         (expm1_tonearest_test_data): Remove.
6529         (expm1_test_tonearest): Likewise.
6530         (expm1_towardzero_test_data): Likewise.
6531         (expm1_test_towardzero): Likewise.
6532         (expm1_downward_test_data): Likewise.
6533         (expm1_test_downward): Likewise.
6534         (expm1_upward_test_data): Likewise.
6535         (expm1_test_upward): Likewise.
6536         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6537         (fma_test): Use ALL_RM_TEST.
6538         (fma_towardzero_test_data): Remove.
6539         (fma_test_towardzero): Likewise.
6540         (fma_downward_test_data): Likewise.
6541         (fma_test_downward): Likewise.
6542         (fma_upward_test_data): Likewise.
6543         (fma_test_upward): Likewise.
6544         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6545         (j0_test_data): Update call to AUTO_TESTS_f_f.
6546         (j1_test_data): Likewise.
6547         (jn_test_data): Update call to AUTO_TESTS_if_f.
6548         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6549         (log_test_data): Update call to AUTO_TESTS_f_f.
6550         (log10_test_data): Likewise.
6551         (log1p_test_data): Likewise.
6552         (log2_test_data): Likewise.
6553         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6554         (pow_tonearest_test_data): Likewise.
6555         (sin_test_data): Update call to AUTO_TESTS_f_f.
6556         (sin_test): Use ALL_RM_TEST.
6557         (sin_tonearest_test_data): Remove.
6558         (sin_test_tonearest): Likewise.
6559         (sin_towardzero_test_data): Likewise.
6560         (sin_test_towardzero): Likewise.
6561         (sin_downward_test_data): Likewise.
6562         (sin_test_downward): Likewise.
6563         (sin_upward_test_data): Likewise.
6564         (sin_test_upward): Likewise.
6565         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6566         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6567         (sinh_test): Use ALL_RM_TEST.
6568         (sinh_tonearest_test_data): Remove.
6569         (sinh_test_tonearest): Likewise.
6570         (sinh_towardzero_test_data): Likewise.
6571         (sinh_test_towardzero): Likewise.
6572         (sinh_downward_test_data): Likewise.
6573         (sinh_test_downward): Likewise.
6574         (sinh_upward_test_data): Likewise.
6575         (sinh_test_upward): Likewise.
6576         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6577         (sqrt_test): Use ALL_RM_TEST.
6578         (sqrt_tonearest_test_data): Remove.
6579         (sqrt_test_tonearest): Likewise.
6580         (sqrt_towardzero_test_data): Likewise.
6581         (sqrt_test_towardzero): Likewise.
6582         (sqrt_downward_test_data): Likewise.
6583         (sqrt_test_downward): Likewise.
6584         (sqrt_upward_test_data): Likewise.
6585         (sqrt_test_upward): Likewise.
6586         (tan_test_data): Update call to AUTO_TESTS_f_f.
6587         (tan_test): Use ALL_RM_TEST.
6588         (tan_tonearest_test_data): Remove.
6589         (tan_test_tonearest): Likewise.
6590         (tan_towardzero_test_data): Likewise.
6591         (tan_test_towardzero): Likewise.
6592         (tan_downward_test_data): Likewise.
6593         (tan_test_downward): Likewise.
6594         (tan_upward_test_data): Likewise.
6595         (tan_test_upward): Likewise.
6596         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6597         (tgamma_test_data): Likewise.
6598         (y0_test_data): Likewise.
6599         (y1_test_data): Likewise.
6600         (yn_test_data): Update call to AUTO_TESTS_if_f.
6601         (main): Do not call removed functions.
6602
6603 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6604
6605         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6606         (ldexp_test_data): Remove.
6607         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6608         scalbn_test_data.
6609         (scalb_test): Use ALL_RM_TEST.
6610
6611 2014-03-19  Andreas Schwab  <schwab@suse.de>
6612
6613         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6614
6615 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6616
6617         [BZ #16649]
6618         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6619         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6620         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6621         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6622         (__ASSUME_PREADV): Undefine.
6623         (__ASSUME_PWRITEV): Likewise.
6624
6625 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6626
6627         * bits/mman-linux.h: Add comment about non-Linux use.
6628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6629         bits/mman-linux.h resting place.
6630
6631         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6632         * bits/mman-linux.h: ... here.
6633
6634 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6635
6636         * conform/conformtest.pl: Add standard definition when calling C
6637         preprocessor on data files.
6638         (checknamespace): Remove unused variable.
6639
6640 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6641
6642         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6643         minus_oflow, plus_uflow and minus_uflow in expected results.
6644         * math/libm-test.inc (scalbn_test_data): Add more tests of
6645         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6646         minus_uflow.
6647         (scalbn_test): Use ALL_RM_TEST.
6648         (scalbln_test_data): Add more tests of negative arguments.  Use
6649         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6650         (scalbln_test): Use ALL_RM_TEST.
6651
6652 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6653
6654         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6655
6656 2014-03-18  Will Newton  <will.newton@linaro.org>
6657
6658         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6659         inaccurate comment.
6660
6661 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6662
6663         * Makerules [!subdir] (check-abi): Exit with error status if a
6664         test failed.
6665
6666 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6667
6668         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6669         for rint.  Include results for all rounding modes.
6670         (nearbyint_test): Use ALL_RM_TEST.
6671         (rint_test_data): Include all tests used for nearbyint.
6672
6673 2014-03-17  Will Newton  <will.newton@linaro.org>
6674
6675         * nptl/sysdeps/pthread/pthread.h: Revert previous
6676         change.
6677
6678         * sysdeps/generic/ldsodefs.h: Revert previous
6679         change.
6680
6681         * libio/genops.c: Revert previous change.
6682         * libio/libioP.h: Likewise.
6683         * stdio-common/vfprintf.c: Likewise.
6684
6685         * sysdeps/generic/math_private.h: Revert previous
6686         change.
6687
6688         * sysdeps/generic/math_private.h: Check whether
6689         HAVE_RM_CTX is defined with #ifdef rather
6690         than #if.
6691
6692         * argp/argp-fmtstream.h: Check whether
6693         __STRICT_ANSI__ is defined with #ifdef rather
6694         than #if.
6695         * argp/argp.h: Likewise.
6696
6697         * libio/genops.c: Check whether
6698         _IO_JUMPS_OFFSET is defined with #ifdef rather
6699         than #if.
6700         * libio/libioP.h: Likewise.
6701         * stdio-common/vfprintf.c: Likewise.
6702
6703         * sysdeps/generic/ldsodefs.h: Check whether
6704         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6705         than #if.
6706
6707         * nptl/sysdeps/pthread/pthread.h: Check
6708         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6709         its value.
6710
6711 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6712
6713         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6714         setting O_APPEND.
6715         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6716         test case.
6717
6718         [BZ #16680]
6719         * libio/fileops.c (_IO_file_open): Seek to end of file but
6720         don't cache the offset.
6721         (get_file_offset): Remove function.
6722         (do_ftell): Use cached offset when available.
6723         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6724         don't cache the offset.
6725         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6726         case.
6727         (do_one_test): Call it.
6728         (do_ftell_test): Fix up expected old offset for a+ mode.
6729         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6730         available.
6731
6732         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6733         up test status with function return status.
6734         (do_write_test): Likewise.
6735         (do_append_test): Likewise.
6736
6737         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6738         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6739         Remove.
6740
6741 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6742
6743         * math/gen-libm-test.pl (parse_args): Handle results specified for
6744         each rounding mode separately.
6745         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6746         tests and results from lrint_tonearest_test_data,
6747         lrint_towardzero_test_data, lrint_downward_test_data and
6748         lrint_upward_test_data.
6749         (lrint_test): Use ALL_RM_TEST.
6750         (lrint_tonearest_test_data): Remove.
6751         (lrint_test_tonearest): Likewise.
6752         (lrint_towardzero_test_data): Likewise.
6753         (lrint_test_towardzero): Likewise.
6754         (lrint_downward_test_data): Likewise.
6755         (lrint_test_downward): Likewise.
6756         (lrint_upward_test_data): Likewise.
6757         (lrint_test_upward): Likewise.
6758         (llrint_test_data): Merge in per-rounding-mode tests and results
6759         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6760         llrint_downward_test_data and llrint_upward_test_data.
6761         (llrint_test): Use ALL_RM_TEST.
6762         (llrint_tonearest_test_data): Remove.
6763         (llrint_test_tonearest): Likewise.
6764         (llrint_towardzero_test_data): Likewise.
6765         (llrint_test_towardzero): Likewise.
6766         (llrint_downward_test_data): Likewise.
6767         (llrint_test_downward): Likewise.
6768         (llrint_upward_test_data): Likewise.
6769         (llrint_test_upward): Likewise.
6770         (rint_test_data): Merge in per-rounding-mode tests and results
6771         from rint_tonearest_test_data, rint_towardzero_test_data,
6772         rint_downward_test_data and rint_upward_test_data.  Add
6773         per-rounding-mode results for tests not in those arrays.
6774         (rint_test): Use ALL_RM_TEST.
6775         (rint_tonearest_test_data): Remove.
6776         (rint_test_tonearest): Likewise.
6777         (rint_towardzero_test_data): Likewise.
6778         (rint_test_towardzero): Likewise.
6779         (rint_downward_test_data): Likewise.
6780         (rint_test_downward): Likewise.
6781         (rint_upward_test_data): Likewise.
6782         (rint_test_upward): Likewise.
6783         (main): Don't call removed functions.
6784
6785 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6786
6787         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6788         "Compiled on ..." crapola.  It is anti-useful.
6789
6790 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6791
6792         * scripts/evaluate-test.sh: Handle fourth argument to determine
6793         whether test run should stop on failure.
6794         * Makeconfig (stop-on-test-failure): New variable.
6795         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6796         $(stop-on-test-failure).
6797         * Makefile (tests): Give a summary of results from testing and
6798         exit with failure status if they include an ERROR or FAIL.
6799         (xtests): Likewise.
6800         * manual/install.texi (Configuring and compiling): Mention
6801         stop-on-test-failure=y.
6802         * INSTALL: Regenerated.
6803
6804 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6805
6806         * scripts/versionlist.awk: New file.
6807         * Makerules [$(build-shared) = yes]
6808         (postclean-generated): Add Versions.def, not Versions.def.v and
6809         Versions.def.v.i.
6810         ($(common-objpfx)Versions.def.v.i): Target removed.
6811         ($(common-objpfx)Versions.def): New target.
6812         ($(common-objpfx)Versions.all): Depend on that rather that
6813         $(common-objpfx)Versions.def.v.
6814         * Versions.def: File removed.
6815
6816         * Makeconfig (+gccwarn): Add -Wundef.
6817         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6818         a dl-sysdep.h breaking its contract.
6819         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6820         * include/stackinfo.h: New file.
6821         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6822         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6823         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6824         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6825         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6826         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6827         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6828         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6829         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6830         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6831         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6832         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6833         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6834         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6835         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6836
6837 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6838
6839         [BZ #16707]
6840         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6841         implementation.
6842         * math/libm-test.inc (round_test_data): Add more tests.
6843
6844         [BZ #16706]
6845         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6846         implementation.
6847         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6848
6849         [BZ #16701]
6850         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6851         implementation.
6852         * math/libm-test.inc (ceil_test_data): Add more tests.
6853
6854         * math/libm-test.inc (trunc_test_data): Add more tests related to
6855         BZ#16414.
6856
6857 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6858
6859         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6860         with #if rather than #ifdef.
6861         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6862
6863 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6864
6865         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6866         first.  Disable AVX-512 GCC support if assembler doesn't support
6867         it.
6868         * sysdeps/x86_64/configure: Regenerated.
6869
6870 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6871
6872         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6873         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6874         (__old_pthread_attr_setstack): Likewise.
6875         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6876         [!_STACK_GROWS_DOWN]: Likewise.
6877
6878 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6879
6880         * config.make.in (have-bash2): Delete.
6881         * configure.ac (libc_cv_have_bash2): Delete.
6882         * configure: Regenerate.
6883         * elf/Makefile (common-ldd-rewrite): Rename to ...
6884         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6885         (sh-ldd-rewrite): Delete.
6886         (bash-ldd-rewrite): Delete.
6887         (have-bash2): Delete checks.
6888         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6889         ldd-rewrite.
6890
6891         * config.make.in (have-ksh): Delete.
6892         (KSH): Delete.
6893         * configure.ac (libc_cv_have_ksh): Delete.
6894         * configure: Regenerate.
6895
6896         * elf/Makefile: Delete $(have-ksh) check.
6897         ($(objpfx)sotruss): Change KSH to BASH.
6898         * elf/sotruss.ksh: Rename to ...
6899         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6900         function style to match POSIX.  Drop ksh vim mode setting.
6901
6902         * manual/time.texi (Specifying the Time Zone with TZ): Change
6903         Tuesday to Thursday.
6904
6905         * debug/tst-longjmp_chk2.c: Update header comment.
6906         (stackoverflow_handler): Add comment.  Call assert on pass value.
6907
6908 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6909
6910         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6911         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6912         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6913         (La_x86_64_vector): Add zmm.
6914         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6915         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6916         ($(objpfx)tst-audit10): New target.
6917         ($(objpfx)tst-audit10.out): Likewise.
6918         (tst-audit10-ENV): New.
6919         (AVX512-CFLAGS): Likewise.
6920         (CFLAGS-tst-audit10.c): Likewise.
6921         (CFLAGS-tst-auditmod10a.c): Likewise.
6922         (CFLAGS-tst-auditmod10b.c): Likewise.
6923         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6924         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6925         * sysdeps/x86_64/configure: Regenerated.
6926         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6927         AVX-512 zmm register support.
6928         (_dl_x86_64_save_sse): Likewise.
6929         (_dl_x86_64_restore_sse): Likewise.
6930         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6931         size vector registers.
6932         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6933         (ZMM_SIZE): Likewise.
6934         * sysdeps/x86_64/tst-audit10.c: New file.
6935         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6936         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6937
6938 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6939
6940         * configure.ac (HAVE_EHDR_START): New check.
6941         * configure: Regenerated.
6942         * config.h.in (HAVE_EHDR_START): New #undef.
6943         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6944         assuming the lowest-addressed segment maps the start of the file.
6945
6946 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6947
6948         * INSTALL: Regenerated.
6949
6950 2014-03-13  Will Newton  <will.newton@linaro.org>
6951
6952         * manual/setjmp.texi (System V contexts): Improve
6953         clarity and grammar of documentation.
6954
6955 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6956
6957         [BZ #16381]
6958         * elf/Makefile (tests): Add tst-pie2.
6959         (tests-pie): Add tst-pie2.
6960         * elf/tst-pie2.c: New file.
6961         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6962         for ET_EXEC.
6963         * elf/rtld.c (map_doit): Load executable as lt_executable.
6964         (dl_main): Likewise.
6965
6966 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6967
6968         [BZ #16642]
6969         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6970         (__ASSUME_PSELECT): Undefine.
6971
6972 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6973
6974         [BZ #16689]
6975         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6976         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6977         static build.
6978         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6979         selector for static builds.
6980
6981 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6982
6983         [BZ #16695]
6984         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6985         key in the buffer.
6986
6987 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6988
6989         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6990         IFUNC selector for static builds.
6991
6992 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6993
6994         * sysdeps/mips/math_private.h [__mips_hard_float]
6995         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6996         libc_feresetround_mips_ctx.
6997         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6998         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6999         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7000
7001         [BZ #16677]
7002         * math/s_nextafter.c (__nextafter): Do not return value from
7003         overflowing computation.
7004         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7005         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7006         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7007         Likewise.
7008         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7009         Likewise.
7010         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7011         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7012
7013 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7014
7015         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7016         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7017         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7018         the new mov targetting sp.
7019
7020 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7021
7022         [BZ #16683]
7023         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7024         Define it for static builds as well.
7025         (NO_BZERO_IMPL): Likewise.
7026
7027 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7028
7029         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7030         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7031         multiarch strspn for PPC64.
7032         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7033         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7035         (__libc_ifunc_impl_list): Likewise.
7036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7037         multiarch optimizations
7038         * string/strspn.c (strspn): Using macro to redefine symbol name.
7039
7040 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7041             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7042
7043         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7044         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7045         multiarch strncat for PPC64.
7046         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7047         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7049         (__libc_ifunc_impl_list): Likewise.
7050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7051         multiarch optimizations
7052
7053 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7054
7055         [BZ #16639]
7056         * nscd/nscd.service: Make service type forking.
7057
7058 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7059
7060         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7061         sign in non default rounding modes.
7062         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7063
7064 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7065
7066         * math/libm-test.inc (ALL_RM_TEST): New macro.
7067         (ceil_test): Use ALL_RM_TEST.
7068         (cimag_test): Likewise.
7069         (conj_test): Likewise.
7070         (copysign_test): Likewise.
7071         (cproj_test): Likewise.
7072         (creal_test): Likewise.
7073         (fabs_test): Likewise.
7074         (floor_test): Likewise.
7075         (fmax_test): Likewise.
7076         (fmin_test): Likewise.
7077         (fmod_test): Likewise.
7078         (fpclassify_test): Likewise.
7079         (frexp_test): Likewise.
7080         (ilogb_test): Likewise.
7081         (isfinite_test): Likewise.
7082         (finite_test): Likewise.
7083         (isgreater_test): Likewise.
7084         (isgreaterequal_test): Likewise.
7085         (isinf_test): Likewise.
7086         (isless_test): Likewise.
7087         (islessequal_test): Likewise.
7088         (islessgreater_test): Likewise.
7089         (isnan_test): Likewise.
7090         (isnormal_test): Likewise.
7091         (issignaling_test): Likewise.
7092         (isunordered_test): Likewise.
7093         (logb_test): Likewise.
7094         (logb_downward_test_data): Remove.
7095         (logb_test_downward): Likewise.
7096         (lround_test): Use ALL_RM_TEST.
7097         (llround_test): Likewise.
7098         (modf_test): Likewise.
7099         (nexttoward_test): Likewise.
7100         (remainder_test): Likewise.
7101         (drem_test): Likewise.
7102         (remainder_tonearest_test_data): Likewise.
7103         (remainder_test_tonearest): Likewise.
7104         (drem_test_tonearest): Likewise.
7105         (remainder_towardzero_test_data): Likewise.
7106         (remainder_test_towardzero): Likewise.
7107         (drem_test_towardzero): Likewise.
7108         (remainder_downward_test_data): Likewise.
7109         (remainder_test_downward): Likewise.
7110         (drem_test_downward): Likewise.
7111         (remainder_upward_test_data): Likewise.
7112         (remainder_test_upward): Likewise.
7113         (drem_test_upward): Likewise.
7114         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7115         (round_test): Use ALL_RM_TEST.
7116         (signbit_test): Likewise.
7117         (trunc_test): Likewise.
7118         (significand_test): Likewise.
7119         (main): Don't call removed functions.
7120
7121 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7122
7123         [BZ #16674]
7124         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7125         || __USE_XOPEN2K8].
7126         (ILL_ILLOPN): Likewise.
7127         (ILL_ILLADR): Likewise.
7128         (ILL_ILLTRP): Likewise.
7129         (ILL_PRVOPC): Likewise.
7130         (ILL_PRVREG): Likewise.
7131         (ILL_COPROC): Likewise.
7132         (ILL_BADSTK): Likewise.
7133         (FPE_INTDIV): Likewise.
7134         (FPE_INTOVF): Likewise.
7135         (FPE_FLTDIV): Likewise.
7136         (FPE_FLTOVF): Likewise.
7137         (FPE_FLTUND): Likewise.
7138         (FPE_FLTRES): Likewise.
7139         (FPE_FLTINV): Likewise.
7140         (FPE_FLTSUB): Likewise.
7141         (SEGV_MAPERR): Likewise.
7142         (SEGV_ACCERR): Likewise.
7143         (BUS_ADRALN): Likewise.
7144         (BUS_ADRERR): Likewise.
7145         (BUS_OBJERR): Likewise.
7146         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7147         (TRAP_TRACE): Likewise.
7148         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7149         __USE_XOPEN2K8].
7150         (CLD_KILLED): Likewise.
7151         (CLD_DUMPED): Likewise.
7152         (CLD_TRAPPED): Likewise.
7153         (CLD_STOPPED): Likewise.
7154         (CLD_CONTINUED): Likewise.
7155         (POLL_IN): Likewise.
7156         (POLL_OUT): Likewise.
7157         (POLL_MSG): Likewise.
7158         (POLL_ERR): Likewise.
7159         (POLL_PRI): Likewise.
7160         (POLL_HUP): Likewise.
7161         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7162         Likewise.
7163         (ILL_ILLOPN): Likewise.
7164         (ILL_ILLADR): Likewise.
7165         (ILL_ILLTRP): Likewise.
7166         (ILL_PRVOPC): Likewise.
7167         (ILL_PRVREG): Likewise.
7168         (ILL_COPROC): Likewise.
7169         (ILL_BADSTK): Likewise.
7170         (FPE_INTDIV): Likewise.
7171         (FPE_INTOVF): Likewise.
7172         (FPE_FLTDIV): Likewise.
7173         (FPE_FLTOVF): Likewise.
7174         (FPE_FLTUND): Likewise.
7175         (FPE_FLTRES): Likewise.
7176         (FPE_FLTINV): Likewise.
7177         (FPE_FLTSUB): Likewise.
7178         (SEGV_MAPERR): Likewise.
7179         (SEGV_ACCERR): Likewise.
7180         (BUS_ADRALN): Likewise.
7181         (BUS_ADRERR): Likewise.
7182         (BUS_OBJERR): Likewise.
7183         (BUS_MCEERR_AR): Likewise.
7184         (BUS_MCEERR_AO): Likewise.
7185         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7186         (TRAP_TRACE): Likewise.
7187         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7188         __USE_XOPEN2K8].
7189         (CLD_KILLED): Likewise.
7190         (CLD_DUMPED): Likewise.
7191         (CLD_TRAPPED): Likewise.
7192         (CLD_STOPPED): Likewise.
7193         (CLD_CONTINUED): Likewise.
7194         (POLL_IN): Likewise.
7195         (POLL_OUT): Likewise.
7196         (POLL_MSG): Likewise.
7197         (POLL_ERR): Likewise.
7198         (POLL_PRI): Likewise.
7199         (POLL_HUP): Likewise.
7200         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7201         (ILL_ILLOPN): Likewise.
7202         (ILL_ILLADR): Likewise.
7203         (ILL_ILLTRP): Likewise.
7204         (ILL_PRVOPC): Likewise.
7205         (ILL_PRVREG): Likewise.
7206         (ILL_COPROC): Likewise.
7207         (ILL_BADSTK): Likewise.
7208         (FPE_INTDIV): Likewise.
7209         (FPE_INTOVF): Likewise.
7210         (FPE_FLTDIV): Likewise.
7211         (FPE_FLTOVF): Likewise.
7212         (FPE_FLTUND): Likewise.
7213         (FPE_FLTRES): Likewise.
7214         (FPE_FLTINV): Likewise.
7215         (FPE_FLTSUB): Likewise.
7216         (SEGV_MAPERR): Likewise.
7217         (SEGV_ACCERR): Likewise.
7218         (BUS_ADRALN): Likewise.
7219         (BUS_ADRERR): Likewise.
7220         (BUS_OBJERR): Likewise.
7221         (BUS_MCEERR_AR): Likewise.
7222         (BUS_MCEERR_AO): Likewise.
7223         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7224         (TRAP_TRACE): Likewise.
7225         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7226         __USE_XOPEN2K8].
7227         (CLD_KILLED): Likewise.
7228         (CLD_DUMPED): Likewise.
7229         (CLD_TRAPPED): Likewise.
7230         (CLD_STOPPED): Likewise.
7231         (CLD_CONTINUED): Likewise.
7232         (POLL_IN): Likewise.
7233         (POLL_OUT): Likewise.
7234         (POLL_MSG): Likewise.
7235         (POLL_ERR): Likewise.
7236         (POLL_PRI): Likewise.
7237         (POLL_HUP): Likewise.
7238         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7239         Likewise.
7240         (ILL_ILLOPN): Likewise.
7241         (ILL_ILLADR): Likewise.
7242         (ILL_ILLTRP): Likewise.
7243         (ILL_PRVOPC): Likewise.
7244         (ILL_PRVREG): Likewise.
7245         (ILL_COPROC): Likewise.
7246         (ILL_BADSTK): Likewise.
7247         (ILL_BADIADDR): Likewise.
7248         (ILL_BREAK): Likewise.
7249         (FPE_INTDIV): Likewise.
7250         (FPE_INTOVF): Likewise.
7251         (FPE_FLTDIV): Likewise.
7252         (FPE_FLTOVF): Likewise.
7253         (FPE_FLTUND): Likewise.
7254         (FPE_FLTRES): Likewise.
7255         (FPE_FLTINV): Likewise.
7256         (FPE_FLTSUB): Likewise.
7257         (FPE_DECOVF): Likewise.
7258         (FPE_DECDIV): Likewise.
7259         (FPE_DECERR): Likewise.
7260         (FPE_INVASC): Likewise.
7261         (FPE_INVDEC): Likewise.
7262         (SEGV_MAPERR): Likewise.
7263         (SEGV_ACCERR): Likewise.
7264         (SEGV_PSTKOVF): Likewise.
7265         (BUS_ADRALN): Likewise.
7266         (BUS_ADRERR): Likewise.
7267         (BUS_OBJERR): Likewise.
7268         (BUS_MCEERR_AR): Likewise.
7269         (BUS_MCEERR_AO): Likewise.
7270         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7271         (TRAP_TRACE): Likewise.
7272         (TRAP_BRANCH): Likewise.
7273         (TRAP_HWBKPT): Likewise.
7274         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7275         __USE_XOPEN2K8].
7276         (CLD_KILLED): Likewise.
7277         (CLD_DUMPED): Likewise.
7278         (CLD_TRAPPED): Likewise.
7279         (CLD_STOPPED): Likewise.
7280         (CLD_CONTINUED): Likewise.
7281         (POLL_IN): Likewise.
7282         (POLL_OUT): Likewise.
7283         (POLL_MSG): Likewise.
7284         (POLL_ERR): Likewise.
7285         (POLL_PRI): Likewise.
7286         (POLL_HUP): Likewise.
7287         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7288         (ILL_ILLOPN): Likewise.
7289         (ILL_ILLADR): Likewise.
7290         (ILL_ILLTRP): Likewise.
7291         (ILL_PRVOPC): Likewise.
7292         (ILL_PRVREG): Likewise.
7293         (ILL_COPROC): Likewise.
7294         (ILL_BADSTK): Likewise.
7295         (FPE_INTDIV): Likewise.
7296         (FPE_INTOVF): Likewise.
7297         (FPE_FLTDIV): Likewise.
7298         (FPE_FLTOVF): Likewise.
7299         (FPE_FLTUND): Likewise.
7300         (FPE_FLTRES): Likewise.
7301         (FPE_FLTINV): Likewise.
7302         (FPE_FLTSUB): Likewise.
7303         (SEGV_MAPERR): Likewise.
7304         (SEGV_ACCERR): Likewise.
7305         (BUS_ADRALN): Likewise.
7306         (BUS_ADRERR): Likewise.
7307         (BUS_OBJERR): Likewise.
7308         (BUS_MCEERR_AR): Likewise.
7309         (BUS_MCEERR_AO): Likewise.
7310         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7311         (TRAP_TRACE): Likewise.
7312         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7313         __USE_XOPEN2K8].
7314         (CLD_KILLED): Likewise.
7315         (CLD_DUMPED): Likewise.
7316         (CLD_TRAPPED): Likewise.
7317         (CLD_STOPPED): Likewise.
7318         (CLD_CONTINUED): Likewise.
7319         (POLL_IN): Likewise.
7320         (POLL_OUT): Likewise.
7321         (POLL_MSG): Likewise.
7322         (POLL_ERR): Likewise.
7323         (POLL_PRI): Likewise.
7324         (POLL_HUP): Likewise.
7325         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7326         (ILL_ILLOPN): Likewise.
7327         (ILL_ILLADR): Likewise.
7328         (ILL_ILLTRP): Likewise.
7329         (ILL_PRVOPC): Likewise.
7330         (ILL_PRVREG): Likewise.
7331         (ILL_COPROC): Likewise.
7332         (ILL_BADSTK): Likewise.
7333         (FPE_INTDIV): Likewise.
7334         (FPE_INTOVF): Likewise.
7335         (FPE_FLTDIV): Likewise.
7336         (FPE_FLTOVF): Likewise.
7337         (FPE_FLTUND): Likewise.
7338         (FPE_FLTRES): Likewise.
7339         (FPE_FLTINV): Likewise.
7340         (FPE_FLTSUB): Likewise.
7341         (SEGV_MAPERR): Likewise.
7342         (SEGV_ACCERR): Likewise.
7343         (BUS_ADRALN): Likewise.
7344         (BUS_ADRERR): Likewise.
7345         (BUS_OBJERR): Likewise.
7346         (BUS_MCEERR_AR): Likewise.
7347         (BUS_MCEERR_AO): Likewise.
7348         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7349         (TRAP_TRACE): Likewise.
7350         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7351         __USE_XOPEN2K8].
7352         (CLD_KILLED): Likewise.
7353         (CLD_DUMPED): Likewise.
7354         (CLD_TRAPPED): Likewise.
7355         (CLD_STOPPED): Likewise.
7356         (CLD_CONTINUED): Likewise.
7357         (POLL_IN): Likewise.
7358         (POLL_OUT): Likewise.
7359         (POLL_MSG): Likewise.
7360         (POLL_ERR): Likewise.
7361         (POLL_PRI): Likewise.
7362         (POLL_HUP): Likewise.
7363         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7364         (ILL_ILLOPN): Likewise.
7365         (ILL_ILLADR): Likewise.
7366         (ILL_ILLTRP): Likewise.
7367         (ILL_PRVOPC): Likewise.
7368         (ILL_PRVREG): Likewise.
7369         (ILL_COPROC): Likewise.
7370         (ILL_BADSTK): Likewise.
7371         (FPE_INTDIV): Likewise.
7372         (FPE_INTOVF): Likewise.
7373         (FPE_FLTDIV): Likewise.
7374         (FPE_FLTOVF): Likewise.
7375         (FPE_FLTUND): Likewise.
7376         (FPE_FLTRES): Likewise.
7377         (FPE_FLTINV): Likewise.
7378         (FPE_FLTSUB): Likewise.
7379         (SEGV_MAPERR): Likewise.
7380         (SEGV_ACCERR): Likewise.
7381         (BUS_ADRALN): Likewise.
7382         (BUS_ADRERR): Likewise.
7383         (BUS_OBJERR): Likewise.
7384         (BUS_MCEERR_AR): Likewise.
7385         (BUS_MCEERR_AO): Likewise.
7386         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7387         (TRAP_TRACE): Likewise.
7388         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7389         __USE_XOPEN2K8].
7390         (CLD_KILLED): Likewise.
7391         (CLD_DUMPED): Likewise.
7392         (CLD_TRAPPED): Likewise.
7393         (CLD_STOPPED): Likewise.
7394         (CLD_CONTINUED): Likewise.
7395         (POLL_IN): Likewise.
7396         (POLL_OUT): Likewise.
7397         (POLL_MSG): Likewise.
7398         (POLL_ERR): Likewise.
7399         (POLL_PRI): Likewise.
7400         (POLL_HUP): Likewise.
7401         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7402         (ILL_ILLOPN): Likewise.
7403         (ILL_ILLADR): Likewise.
7404         (ILL_ILLTRP): Likewise.
7405         (ILL_PRVOPC): Likewise.
7406         (ILL_PRVREG): Likewise.
7407         (ILL_COPROC): Likewise.
7408         (ILL_BADSTK): Likewise.
7409         (ILL_DBLFLT): Likewise.
7410         (ILL_HARDWALL): Likewise.
7411         (FPE_INTDIV): Likewise.
7412         (FPE_INTOVF): Likewise.
7413         (FPE_FLTDIV): Likewise.
7414         (FPE_FLTOVF): Likewise.
7415         (FPE_FLTUND): Likewise.
7416         (FPE_FLTRES): Likewise.
7417         (FPE_FLTINV): Likewise.
7418         (FPE_FLTSUB): Likewise.
7419         (SEGV_MAPERR): Likewise.
7420         (SEGV_ACCERR): Likewise.
7421         (BUS_ADRALN): Likewise.
7422         (BUS_ADRERR): Likewise.
7423         (BUS_OBJERR): Likewise.
7424         (BUS_MCEERR_AR): Likewise.
7425         (BUS_MCEERR_AO): Likewise.
7426         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7427         (TRAP_TRACE): Likewise.
7428         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7429         __USE_XOPEN2K8].
7430         (CLD_KILLED): Likewise.
7431         (CLD_DUMPED): Likewise.
7432         (CLD_TRAPPED): Likewise.
7433         (CLD_STOPPED): Likewise.
7434         (CLD_CONTINUED): Likewise.
7435         (POLL_IN): Likewise.
7436         (POLL_OUT): Likewise.
7437         (POLL_MSG): Likewise.
7438         (POLL_ERR): Likewise.
7439         (POLL_PRI): Likewise.
7440         (POLL_HUP): Likewise.
7441         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7442         (ILL_ILLOPN): Likewise.
7443         (ILL_ILLADR): Likewise.
7444         (ILL_ILLTRP): Likewise.
7445         (ILL_PRVOPC): Likewise.
7446         (ILL_PRVREG): Likewise.
7447         (ILL_COPROC): Likewise.
7448         (ILL_BADSTK): Likewise.
7449         (FPE_INTDIV): Likewise.
7450         (FPE_INTOVF): Likewise.
7451         (FPE_FLTDIV): Likewise.
7452         (FPE_FLTOVF): Likewise.
7453         (FPE_FLTUND): Likewise.
7454         (FPE_FLTRES): Likewise.
7455         (FPE_FLTINV): Likewise.
7456         (FPE_FLTSUB): Likewise.
7457         (SEGV_MAPERR): Likewise.
7458         (SEGV_ACCERR): Likewise.
7459         (BUS_ADRALN): Likewise.
7460         (BUS_ADRERR): Likewise.
7461         (BUS_OBJERR): Likewise.
7462         (BUS_MCEERR_AR): Likewise.
7463         (BUS_MCEERR_AO): Likewise.
7464         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7465         (TRAP_TRACE): Likewise.
7466         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7467         __USE_XOPEN2K8].
7468         (CLD_KILLED): Likewise.
7469         (CLD_DUMPED): Likewise.
7470         (CLD_TRAPPED): Likewise.
7471         (CLD_STOPPED): Likewise.
7472         (CLD_CONTINUED): Likewise.
7473         (POLL_IN): Likewise.
7474         (POLL_OUT): Likewise.
7475         (POLL_MSG): Likewise.
7476         (POLL_ERR): Likewise.
7477         (POLL_PRI): Likewise.
7478         (POLL_HUP): Likewise.
7479         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7480         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7481
7482         [BZ #16670]
7483         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7484         before #include of <time.h>.
7485         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7486         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7487         (test-xfail-UNIX98/sched.h/conform): Likewise.
7488
7489 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7490
7491         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7492         error absence of trapping exception support.
7493         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7494
7495 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7496
7497         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7498         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7499         * timezone/Makefile (testdata): Move definition above include of
7500         Rules.
7501         (test-zones): New variable.
7502         (tests-special): Add zone files.
7503         (build-testdata): Use $(evaluate-test).
7504
7505         * elf/Makefile (tests-special): Rename tests to end with .out.
7506         ($(objpfx)noload-mem): Likewise.
7507         ($(objpfx)tst-leaks1-mem): Likewise.
7508         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7509         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7510         $(objpfx)test-iconvconfig.out.
7511         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7512         set -e inside subshell and redirect output to file.
7513         * iconvdata/Makefile (generated): Rename tests to end with .out.
7514         Correct type.
7515         (tests-special): Rename tests to end with .out.
7516         ($(objpfx)mtrace-tst-loading): Likewise.
7517         * intl/Makefile (generated): Likewise.
7518         (tests-special): Likewise.
7519         ($(objpfx)mtrace-tst-gettext): Likewise.
7520         * misc/Makefile (generated): Likewise.
7521         (tests-special): Likewise.
7522         ($(objpfx)tst-error1-mem): Likewise.
7523         * nptl/Makefile (tests-special): Likewise.
7524         ($(objpfx)tst-stack3-mem): Likewise.
7525         (generated): Likewise.
7526         * posix/Makefile (generated): Likewise.
7527         (tests-special): Likewise.
7528         (xtests-special): Likewise.
7529         ($(objpfx)tst-fnmatch-mem): Likewise.
7530         ($(objpfx)bug-regex2-mem): Likewise.
7531         ($(objpfx)bug-regex14-mem): Likewise.
7532         ($(objpfx)bug-regex21-mem): Likewise.
7533         ($(objpfx)bug-regex31-mem): Likewise.
7534         ($(objpfx)tst-vfork3-mem): Likewise.
7535         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7536         ($(objpfx)tst-pcre-mem): Likewise.
7537         ($(objpfx)tst-boost-mem): Likewise.
7538         ($(objpfx)bug-ga2-mem): Likewise.
7539         ($(objpfx)bug-glob2-mem): Likewise.
7540         * resolv/Makefile (generate): Likewise.
7541         (tests-special): Likewise.
7542         (xtests-special): Likewise.
7543         (generated): Likewise.
7544         ($(objpfx)mtrace-tst-leaks): Likewise.
7545         ($(objpfx)mtrace-tst-leaks2): Likewise.
7546
7547         * scripts/merge-test-results.sh: New file.
7548         * Makefile (tests-special-notdir): New variable.
7549         (tests): Run merge-test-results.sh.
7550         (xtests): Likewise.
7551         * Rules (tests-special-notdir): New variable.
7552         (xtests-special-notdir): Likewise.
7553         (tests): Run merge-test-results.sh
7554         (xtests): Likewise.
7555
7556         * Makeconfig (test-xfail-name): New variable.
7557         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7558         compute variable name for expected failures.
7559         * conform/Makefile (conformtest-headers-data): New variable.
7560         (conformtest-standards): Likewise.
7561         (conformtest-headers-ISO): Likewise.
7562         (conformtest-headers-ISO99): Likewise.
7563         (conformtest-headers-ISO11): Likewise.
7564         (conformtest-headers-POSIX): Likewise.
7565         (conformtest-headers-XPG3): Likewise.
7566         (conformtest-headers-XPG4): Likewise.
7567         (conformtest-headers-UNIX98): Likewise.
7568         (conformtest-headers-XOPEN2K): Likewise.
7569         (conformtest-headers-POSIX2008): Likewise.
7570         (conformtest-headers-XOPEN2K8): Likewise.
7571         (conformtest-header-list-base): Likewise.
7572         (conformtest-header-list-tests): Likewise.
7573         (conformtest-header-base): Likewise.
7574         (conformtest-header-tests): Likewise.
7575         (tests-special): Add $(conformtest-header-list-tests).  If
7576         [$(fast-check) && !$(cross-compiling)], add
7577         $(conformtest-header-tests) instead of
7578         $(objpfx)run-conformtest.out.
7579         (generated): Add $(conformtest-header-list-base).  If
7580         [$(fast-check) && !$(cross-compiling)], add
7581         $(conformtest-header-base).  Remove previous setting.
7582         ($(conformtest-header-list-tests)): New target.
7583         (test-xfail-run-conformtest): Remove variable.
7584         ($(objpfx)run-conformtest.out): Remove target.
7585         (test-xfail-ISO11/complex.h/conform): New variable.
7586         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7587         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7588         (test-xfail-XPG3/varargs.h/conform): Likewise.
7589         (test-xfail-XPG4/varargs.h/conform): Likewise.
7590         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7591         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7592         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7593         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7594         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7595         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7596         (test-xfail-XPG3/ftw.h/conform): Likewise.
7597         (test-xfail-XPG3/grp.h/conform): Likewise.
7598         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7599         (test-xfail-XPG3/limits.h/conform): Likewise.
7600         (test-xfail-XPG3/pwd.h/conform): Likewise.
7601         (test-xfail-XPG3/search.h/conform): Likewise.
7602         (test-xfail-XPG3/signal.h/conform): Likewise.
7603         (test-xfail-XPG3/stdio.h/conform): Likewise.
7604         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7605         (test-xfail-XPG3/string.h/conform): Likewise.
7606         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7607         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7608         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7609         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7610         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7611         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7612         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7613         (test-xfail-XPG3/termios.h/conform): Likewise.
7614         (test-xfail-XPG3/time.h/conform): Likewise.
7615         (test-xfail-XPG3/unistd.h/conform): Likewise.
7616         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7617         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7618         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7619         (test-xfail-XPG4/netdb.h/conform): Likewise.
7620         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7621         (test-xfail-XPG4/signal.h/conform): Likewise.
7622         (test-xfail-XPG4/stdio.h/conform): Likewise.
7623         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7624         (test-xfail-XPG4/stropts.h/conform): Likewise.
7625         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7626         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7627         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7628         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7629         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7630         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7631         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7632         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7633         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7634         (test-xfail-XPG4/termios.h/conform): Likewise.
7635         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7636         (test-xfail-XPG4/unistd.h/conform): Likewise.
7637         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7638         (test-xfail-POSIX/sched.h/conform): Likewise.
7639         (test-xfail-POSIX/signal.h/conform): Likewise.
7640         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7641         (test-xfail-POSIX/tar.h/conform): Likewise.
7642         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7643         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7644         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7645         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7646         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7647         (test-xfail-UNIX98/sched.h/conform): Likewise.
7648         (test-xfail-UNIX98/signal.h/conform): Likewise.
7649         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7650         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7651         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7652         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7653         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7654         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7655         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7656         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7657         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7658         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7659         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7660         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7661         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7662         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7663         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7664         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7665         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7666         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7667         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7668         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7669         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7670         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7671         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7672         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7673         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7674         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7675         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7676         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7677         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7678         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7679         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7680         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7681         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7682         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7683         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7684         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7685         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7686         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7687         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7688         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7689         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7690         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7691         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7692         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7693         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7694         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7695         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7696         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7697         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7698         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7699         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7700         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7701         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7702         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7703         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7704         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7705         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7706         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7707         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7708         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7709         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7710         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7711         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7712         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7713         (conformtest-cc-flags): Likewise.
7714         ($(conformtest-header-tests): New target.
7715         * conform/check-header-lists.sh: New file.
7716         * conform/run-conformtest.sh: Remove.
7717
7718         * conform/conformtest.pl: Allow ' and \ in values given for
7719         constants.
7720         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7721         inclusion.
7722         [POSIX] (sys/types.h): Likewise.
7723         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7724         inclusion.
7725         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7726         inclusion.
7727         * conform/data/signal.h-data (SIGIO): Remove expectation.
7728         [XPG3] (SIGBUS): Do not expect.
7729         [POSIX || XPG3] (SIGPOLL): Likewise.
7730         [POSIX || XPG3] (SIGPROF): Likewise.
7731         [POSIX || XPG3] (SIGSYS): Likewise.
7732         [XPG3] (SIGTRAP): Likewise.
7733         [POSIX || XPG3] (SIGURG): Likewise.
7734         [POSIX || XPG3] (SIGVTALRM): Likewise.
7735         [POSIX || XPG3] (SIGXCPU): Likewise.
7736         [POSIX || XPG3] (SIGXFSZ): Likewise.
7737         [POSIX] (SA_SIGINFO): Expect.
7738         [XPG3] (siginfo_t): Do not expect type or contents.
7739         [POSIX] (si_pid): Do not expect element.
7740         [POSIX] (si_uid): Likewise.
7741         [POSIX] (si_addr): Likewise.
7742         [POSIX] (si_status): Likewise.
7743         [POSIX] (si_band): Likewise.
7744         [XPG4] (si_value): Likewise.
7745         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7746         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7747         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7748         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7749         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7750         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7751         [POSIX || XPG3] (ILL_COPROC): Likewise.
7752         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7753         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7754         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7755         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7756         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7757         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7758         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7759         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7760         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7761         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7762         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7763         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7764         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7765         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7766         [POSIX || XPG3] (CLD_EXITED): Likewise.
7767         [POSIX || XPG3] (CLD_KILLED): Likewise.
7768         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7769         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7770         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7771         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7772         [POSIX || XPG3] (POLL_IN): Likewise.
7773         [POSIX || XPG3] (POLL_OUT): Likewise.
7774         [POSIX || XPG3] (POLL_MSG): Likewise.
7775         [POSIX || XPG3] (POLL_ERR): Likewise.
7776         [POSIX || XPG3] (POLL_PRI): Likewise.
7777         [POSIX || XPG3] (POLL_HUP): Likewise.
7778         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7779         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7780         (SIG*): Do not allow.
7781         [XPG3] (si_*): Likewise.
7782         [XPG3] (SI_*): Likewise.
7783         [XPG3 || XPG4] (sigev_*): Likewise.
7784         [XPG3 || XPG4] (SIGEV_*): Likewise.
7785         [XPG3 || XPG4] (sival_*): Likewise.
7786         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7787         [POSIX || XPG3] (BUS_*): Likewise.
7788         [POSIX || XPG3] (CLD_*): Likewise.
7789         [POSIX || XPG3] (FPE_*): Likewise.
7790         [POSIX || XPG3] (ILL_*): Likewise.
7791         [POSIX || XPG3] (POLL_*): Likewise.
7792         [POSIX || XPG3] (SEGV_*): Likewise.
7793         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7794         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7795         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7796         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7797         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7798         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7799         Specify type and value.
7800         (TVERSLEN): Likewise.
7801         (REGTYPE): Likewise.
7802         (AREGTYPE): Likewise.
7803         (LNKTYPE): Likewise.
7804         (SYMTYPE): Likewise.
7805         (CHRTYPE): Likewise.
7806         (BLKTYPE): Likewise.
7807         (DIRTYPE): Likewise.
7808         (FIFOTYPE): Likewise.
7809         (CONTTYPE): Likewise.
7810         (TSUID): Likewise.
7811         (TSGID): Likewise.
7812         (TSVTX): Likewise.
7813         (TUREAD): Likewise.
7814         (TUWRITE): Likewise.
7815         (TUEXEC): Likewise.
7816         (TGREAD): Likewise.
7817         (TGWRITE): Likewise.
7818         (TGEXEC): Likewise.
7819         (TOREAD): Likewise.
7820         (TOWRITE): Likewise.
7821         (TOEXEC): Likewise.
7822         [POSIX] (TSVTX): Expect constant.
7823
7824 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7825
7826         * Makefile (tests): Change dependencies to ....
7827         (tests-special): ... additions to this variable.
7828         (tests): Depend on $(tests-special).
7829         * Makerules (check-abi-list): New variable.
7830         (check-abi): Depend on $(check-abi-list).
7831         [$(subdir) = elf] (tests-special): Add
7832         $(objpfx)check-abi-libc.out.
7833         [$(build-shared) = yes && subdir] (tests-special): Add
7834         $(check-abi-list).
7835         [$(build-shared) = yes && subdir] (tests): Do not depend on
7836         check-abi.
7837         * Rules (tests): Depend on $(tests-special).
7838         (xtests): Depend on $(xtests-special).
7839         * catgets/Makefile (tests): Change dependencies to ....
7840         (tests-special): ... additions to this variable.
7841         * conform/Makefile (tests): Change dependencies to ....
7842         (tests-special): ... additions to this variable.
7843         * elf/Makefile (tests): Change dependencies to ....
7844         (tests-special): ... additions to this variable.
7845         * grp/Makefile (tests): Change dependencies to ....
7846         (tests-special): ... additions to this variable.
7847         * iconv/Makefile (xtests): Change dependencies to ....
7848         (xtests-special): ... additions to this variable.
7849         * iconvdata/Makefile (tests): Change dependencies to ....
7850         (tests-special): ... additions to this variable.
7851         * intl/Makefile (tests): Change dependencies to ....
7852         (tests-special): ... additions to this variable.  Also add
7853         $(objpfx)tst-gettext.out.
7854         * io/Makefile (tests): Change dependencies to ....
7855         (tests-special): ... additions to this variable.
7856         * libio/Makefile (tests): Change dependencies to ....
7857         (tests-special): ... additions to this variable.
7858         * malloc/Makefile (tests): Change dependencies to ....
7859         (tests-special): ... additions to this variable.
7860         * misc/Makefile (tests): Change dependencies to ....
7861         (tests-special): ... additions to this variable.
7862         * nptl/Makefile (tests): Change dependencies to ....
7863         (tests-special): ... additions to this variable.
7864         * nptl_db/Makefile (tests): Change dependencies to ....
7865         (tests-special): ... additions to this variable.
7866         * posix/Makefile (tests): Change dependencies to ....
7867         (tests-special): ... additions to this variable.
7868         (xtests): Change dependencies to ....
7869         (xtests-special): ... additions to this variable.
7870         * resolv/Makefile (tests): Change dependencies to ....
7871         (tests-special): ... additions to this variable.
7872         (xtests): Change dependencies to ....
7873         (xtests-special): ... additions to this variable.
7874         * stdio-common/Makefile (tests): Change dependencies to ....
7875         (tests-special): ... additions to this variable.
7876         (do-tst-unbputc): Remove target.
7877         (do-tst-printf): Likewise.
7878         * stdlib/Makefile (tests): Change dependencies to ....
7879         (tests-special): ... additions to this variable.
7880         * string/Makefile (tests): Change dependencies to ....
7881         (tests-special): ... additions to this variable.
7882         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7883         (tests-special): ... additions to this variable.
7884
7885         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7886         whole file.
7887         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7888         whole file.
7889         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7890         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7891
7892         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7893         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7894         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7895         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7896         * conform/data/libgen.h-data [XPG3]: Likewise.
7897         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7898         * conform/data/ndbm.h-data [XPG3]: Likewise.
7899         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7900         * conform/data/netdb.h-data [XPG3]: Likewise.
7901         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7902         * conform/data/poll.h-data [XPG3]: Likewise.
7903         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7904         * conform/data/strings.h-data [XPG3]: Likewise.
7905         * conform/data/stropts.h-data [XPG3]: Likewise.
7906         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7907         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7908         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7909         Likewise.
7910         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7911         * conform/data/sys/time.h-data [XPG3]: Likewise.
7912         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7913         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7914         * conform/data/sys/un.h-data [XPG3]: Likewise.
7915         * conform/data/syslog.h-data [XPG3]: Likewise.
7916         * conform/data/ucontext.h-data [XPG3]: Likewise.
7917         * conform/data/utmpx.h-data [XPG3]: Likewise.
7918         * conform/data/varargs.h-data [UNIX98]: Enable file.
7919
7920         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7921
7922         * math/libm-test.inc (struct test_f_f_data): Move expected results
7923         into structure for each rounding mode.
7924         (struct test_ff_f_data): Likewise.
7925         (struct test_ff_f_data_nexttoward): Likewise.
7926         (struct test_fi_f_data): Likewise.
7927         (struct test_fl_f_data): Likewise.
7928         (struct test_if_f_data): Likewise.
7929         (struct test_fff_f_data): Likewise.
7930         (struct test_c_f_data): Likewise.
7931         (struct test_f_f1_data): Likewise.
7932         (struct test_fF_f1_data): Likewise.
7933         (struct test_ffI_f1_data): Likewise.
7934         (struct test_c_c_data): Likewise.
7935         (struct test_cc_c_data): Likewise.
7936         (struct test_f_i_data): Likewise.
7937         (struct test_ff_i_data): Likewise.
7938         (struct test_f_l_data): Likewise.
7939         (struct test_f_L_data): Likewise.
7940         (struct test_fFF_11_data): Likewise.
7941         (RM_): New macro.
7942         (RM_FE_DOWNWARD): Likewise.
7943         (RM_FE_TONEAREST): Likewise.
7944         (RM_FE_TOWARDZERO): Likewise.
7945         (RM_FE_UPWARD): Likewise.
7946         (RUN_TEST_LOOP_f_f): Update references to expected results.
7947         (RUN_TEST_LOOP_2_f): Likewise.
7948         (RUN_TEST_LOOP_fff_f): Likewise.
7949         (RUN_TEST_LOOP_c_f): Likewise.
7950         (RUN_TEST_LOOP_f_f1): Likewise.
7951         (RUN_TEST_LOOP_fF_f1): Likewise.
7952         (RUN_TEST_LOOP_fI_f1): Likewise.
7953         (RUN_TEST_LOOP_ffI_f1): Likewise.
7954         (RUN_TEST_LOOP_c_c): Likewise.
7955         (RUN_TEST_LOOP_cc_c): Likewise.
7956         (RUN_TEST_LOOP_f_i): Likewise.
7957         (RUN_TEST_LOOP_f_i_tg): Likewise.
7958         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7959         (RUN_TEST_LOOP_f_b): Likewise.
7960         (RUN_TEST_LOOP_f_b_tg): Likewise.
7961         (RUN_TEST_LOOP_f_l): Likewise.
7962         (RUN_TEST_LOOP_f_L): Likewise.
7963         (RUN_TEST_LOOP_fFF_11): Likewise.
7964         * math/gen-libm-test.pl (parse_args): Output four copies of
7965         expected results for each test.
7966
7967         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7968         (__ASSUME_UTIMES): Remove.
7969         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7970         (__ASSUME_UTIMES): Likewise.
7971
7972         * math/gen-auto-libm-tests.c: Update comment on output format.
7973         (output_for_one_input_case): Generate before-rounding and
7974         after-rounding information as conditions on output flags not
7975         floating-point format.
7976         * math/auto-libm-test-out: Regenerated.
7977         * math/gen-libm-test.pl (cond_value): New function.
7978         (or_cond_value): Use cond_value.
7979         (generate_testfile): Handle conditional exceptions.
7980
7981 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7982
7983         * math/libm-test.inc (max_valid_error): New variable.
7984         (init_max_error): Take new argument specifying whether function
7985         results are exactly determined.  Set max_valid_error and bound
7986         other variables for errors based on this argument.
7987         (set_max_error): Do not record results above max_valid_error.
7988         (check_float_internal): Only accept errors of up to 0.5ulps if
7989         also at most max_valid_error.
7990         (START): Take new argument EXACT and pass it to init_max_error.
7991         (acos_test): Update call to START.
7992         (acos_test_tonearest): Likewise.
7993         (acos_test_towardzero): Likewise.
7994         (acos_test_downward): Likewise.
7995         (acos_test_upward): Likewise.
7996         (acosh_test): Likewise.
7997         (asin_test): Likewise.
7998         (asin_test_tonearest): Likewise.
7999         (asin_test_towardzero): Likewise.
8000         (asin_test_downward): Likewise.
8001         (asin_test_upward): Likewise.
8002         (asinh_test): Likewise.
8003         (atan_test): Likewise.
8004         (atanh_test): Likewise.
8005         (atan2_test): Likewise.
8006         (cabs_test): Likewise.
8007         (cacos_test): Likewise.
8008         (cacosh_test): Likewise.
8009         (carg_test): Likewise.
8010         (casin_test): Likewise.
8011         (casinh_test): Likewise.
8012         (catan_test): Likewise.
8013         (catanh_test): Likewise.
8014         (cbrt_test): Likewise.
8015         (ccos_test): Likewise.
8016         (ccosh_test): Likewise.
8017         (ceil_test): Likewise.
8018         (cexp_test): Likewise.
8019         (cimag_test): Likewise.
8020         (clog_test): Likewise.
8021         (clog10_test): Likewise.
8022         (conj_test): Likewise.
8023         (copysign_test): Likewise.
8024         (cos_test): Likewise.
8025         (cos_test_tonearest): Likewise.
8026         (cos_test_towardzero): Likewise.
8027         (cos_test_downward): Likewise.
8028         (cos_test_upward): Likewise.
8029         (cosh_test): Likewise.
8030         (cosh_test_tonearest): Likewise.
8031         (cosh_test_towardzero): Likewise.
8032         (cosh_test_downward): Likewise.
8033         (cosh_test_upward): Likewise.
8034         (cpow_test): Likewise.
8035         (cproj_test): Likewise.
8036         (creal_test): Likewise.
8037         (csin_test): Likewise.
8038         (csinh_test): Likewise.
8039         (csqrt_test): Likewise.
8040         (ctan_test): Likewise.
8041         (ctan_test_tonearest): Likewise.
8042         (ctan_test_towardzero): Likewise.
8043         (ctan_test_downward): Likewise.
8044         (ctan_test_upward): Likewise.
8045         (ctanh_test): Likewise.
8046         (ctanh_test_tonearest): Likewise.
8047         (ctanh_test_towardzero): Likewise.
8048         (ctanh_test_downward): Likewise.
8049         (ctanh_test_upward): Likewise.
8050         (erf_test): Likewise.
8051         (erfc_test): Likewise.
8052         (exp_test): Likewise.
8053         (exp_test_tonearest): Likewise.
8054         (exp_test_towardzero): Likewise.
8055         (exp_test_downward): Likewise.
8056         (exp_test_upward): Likewise.
8057         (exp10_test): Likewise.
8058         (exp10_test_tonearest): Likewise.
8059         (exp10_test_towardzero): Likewise.
8060         (exp10_test_downward): Likewise.
8061         (exp10_test_upward): Likewise.
8062         (pow10_test): Likewise.
8063         (exp2_test): Likewise.
8064         (expm1_test): Likewise.
8065         (expm1_test_tonearest): Likewise.
8066         (expm1_test_towardzero): Likewise.
8067         (expm1_test_downward): Likewise.
8068         (expm1_test_upward): Likewise.
8069         (fabs_test): Likewise.
8070         (fdim_test): Likewise.
8071         (floor_test): Likewise.
8072         (fma_test): Likewise.
8073         (fma_test_towardzero): Likewise.
8074         (fma_test_downward): Likewise.
8075         (fma_test_upward): Likewise.
8076         (fmax_test): Likewise.
8077         (fmin_test): Likewise.
8078         (fmod_test): Likewise.
8079         (fpclassify_test): Likewise.
8080         (frexp_test): Likewise.
8081         (hypot_test): Likewise.
8082         (ilogb_test): Likewise.
8083         (isfinite_test): Likewise.
8084         (finite_test): Likewise.
8085         (isgreater_test): Likewise.
8086         (isgreaterequal_test): Likewise.
8087         (isinf_test): Likewise.
8088         (isless_test): Likewise.
8089         (islessequal_test): Likewise.
8090         (islessgreater_test): Likewise.
8091         (isnan_test): Likewise.
8092         (isnormal_test): Likewise.
8093         (issignaling_test): Likewise.
8094         (isunordered_test): Likewise.
8095         (j0_test): Likewise.
8096         (j1_test): Likewise.
8097         (jn_test): Likewise.
8098         (ldexp_test): Likewise.
8099         (lgamma_test): Likewise.
8100         (gamma_test): Likewise.
8101         (lrint_test): Likewise.
8102         (lrint_test_tonearest): Likewise.
8103         (lrint_test_towardzero): Likewise.
8104         (lrint_test_downward): Likewise.
8105         (lrint_test_upward): Likewise.
8106         (llrint_test): Likewise.
8107         (llrint_test_tonearest): Likewise.
8108         (llrint_test_towardzero): Likewise.
8109         (llrint_test_downward): Likewise.
8110         (llrint_test_upward): Likewise.
8111         (log_test): Likewise.
8112         (log10_test): Likewise.
8113         (log1p_test): Likewise.
8114         (log2_test): Likewise.
8115         (logb_test): Likewise.
8116         (logb_test_downward): Likewise.
8117         (lround_test): Likewise.
8118         (llround_test): Likewise.
8119         (modf_test): Likewise.
8120         (nearbyint_test): Likewise.
8121         (nextafter_test): Likewise.
8122         (nexttoward_test): Likewise.
8123         (pow_test): Likewise.
8124         (pow_test_tonearest): Likewise.
8125         (pow_test_towardzero): Likewise.
8126         (pow_test_downward): Likewise.
8127         (pow_test_upward): Likewise.
8128         (remainder_test): Likewise.
8129         (drem_test): Likewise.
8130         (remainder_test_tonearest): Likewise.
8131         (drem_test_tonearest): Likewise.
8132         (remainder_test_towardzero): Likewise.
8133         (drem_test_towardzero): Likewise.
8134         (remainder_test_downward): Likewise.
8135         (drem_test_downward): Likewise.
8136         (remainder_test_upward): Likewise.
8137         (drem_test_upward): Likewise.
8138         (remquo_test): Likewise.
8139         (rint_test): Likewise.
8140         (rint_test_tonearest): Likewise.
8141         (rint_test_towardzero): Likewise.
8142         (rint_test_downward): Likewise.
8143         (rint_test_upward): Likewise.
8144         (round_test): Likewise.
8145         (scalb_test): Likewise.
8146         (scalbn_test): Likewise.
8147         (scalbln_test): Likewise.
8148         (signbit_test): Likewise.
8149         (sin_test): Likewise.
8150         (sin_test_tonearest): Likewise.
8151         (sin_test_towardzero): Likewise.
8152         (sin_test_downward): Likewise.
8153         (sin_test_upward): Likewise.
8154         (sincos_test): Likewise.
8155         (sinh_test): Likewise.
8156         (sinh_test_tonearest): Likewise.
8157         (sinh_test_towardzero): Likewise.
8158         (sinh_test_downward): Likewise.
8159         (sinh_test_upward): Likewise.
8160         (sqrt_test): Likewise.
8161         (sqrt_test_tonearest): Likewise.
8162         (sqrt_test_towardzero): Likewise.
8163         (sqrt_test_downward): Likewise.
8164         (sqrt_test_upward): Likewise.
8165         (tan_test): Likewise.
8166         (tan_test_tonearest): Likewise.
8167         (tan_test_towardzero): Likewise.
8168         (tan_test_downward): Likewise.
8169         (tan_test_upward): Likewise.
8170         (tanh_test): Likewise.
8171         (tgamma_test): Likewise.
8172         (trunc_test): Likewise.
8173         (y0_test): Likewise.
8174         (y1_test): Likewise.
8175         (yn_test): Likewise.
8176         (significand_test): Likewise.
8177
8178         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8179         individual tests in comment.
8180         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8181         (prev_max_error): New variable.
8182         (prev_real_max_error): Likewise.
8183         (prev_imag_max_error): Likewise.
8184         (compare_ulp_data): Don't refer to test names in comment.
8185         (find_test_ulps): Remove function.
8186         (find_function_ulps): Likewise.
8187         (find_complex_function_ulps): Likewise.
8188         (init_max_error): Take function name as argument.  Look up ulps
8189         for that function.
8190         (print_ulps): Remove function.
8191         (print_max_error): Use prev_max_error instead of calling
8192         find_function_ulps.
8193         (print_complex_max_error): Use prev_real_max_error and
8194         prev_imag_max_error instead of calling find_complex_function_ulps.
8195         (check_float_internal): Take max_ulp parameter instead of calling
8196         find_test_ulps.  Don't call print_ulps.
8197         (check_float): Update call to check_float_internal.
8198         (check_complex): Update calls to check_float_internal.
8199         (START): Pass argument to init_max_error.
8200         * math/gen-libm-test.pl (%results): Don't include "kind"
8201         information.
8202         (parse_ulps): Don't handle ulps of individual tests.
8203         (print_ulps_file): Likewise.
8204         (output_ulps): Likewise.
8205         * math/README.libm-test: Update.
8206         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8207         individual tests.
8208         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8209         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8210         * sysdeps/arm/libm-test-ulps: Likewise.
8211         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8212         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8213         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8214         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8215         * sysdeps/microblaze/libm-test-ulps: Likewise.
8216         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8217         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8218         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8219         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8220         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8221         * sysdeps/sh/libm-test-ulps: Likewise.
8222         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8223         * sysdeps/tile/libm-test-ulps: Likewise.
8224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8225
8226 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8227
8228         * math/libm-test.inc (print_complex_max_error): Check separately
8229         whether real and imaginary errors are within allowed range and
8230         pass 0 to print_complex_function_ulps instead of value within
8231         allowed range.
8232
8233 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8234
8235         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8236         formatting.
8237         (get_handles_fopen): Likewise.
8238         (do_write_test): Likewise.
8239
8240         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8241
8242         * libio/fileops.c (do_ftell): Use cached offset when
8243         available.
8244         * libio/iofwide.c (do_ftell_wide): Likewise.
8245         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8246         _IO_file_attach.
8247         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8248
8249         [BZ #16532]
8250         * libio/libioP.h (get_file_offset): New function.
8251         * libio/fileops.c (get_file_offset): Likewise.
8252         (do_ftell): Likewise.
8253         (_IO_new_file_seekoff): Split out ftell logic.
8254         * libio/wfileops.c (do_ftell_wide): Likewise.
8255         (_IO_wfile_seekoff): Split out ftell logic.
8256         * libio/tst-ftell-active-handler.c: New test case.
8257         * libio/Makefile (tests): Add it.
8258
8259 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8260
8261         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8262         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8263
8264 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8265
8266         [BZ #16639]
8267         * nscd/connections.c (nscd_init): Call do_exit.
8268         (start_threads): Call do_exit and notify_parent.
8269         (begin_drop_privileges): Call do_exit.
8270         (finish_drop_privileges): Likewise.
8271         * nscd/selinux.c (preserve_capabilities): Likewise.
8272         (install_real_capabilities): Likewise.
8273         (nscd_selinux_enabled): Likewise.
8274         (avc_create_thread): Likewise.
8275         (avc_alloc_lock): Likewise.
8276         (nscd_avc_init): Likewise.
8277         * nscd/nscd.c (parent_fd): New static variable.
8278         (main): Create a pipe between parent and child processes.
8279         Skip closing parent_fd.
8280         (monitor_child): New function.
8281         (do_exit): Likewise.
8282         (notify_parent): Likewise.
8283         * nscd/nscd.h (notify_parent): Likewise.
8284         (do_exit): Likewise.
8285
8286 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8287
8288         * malloc/malloc.c (__libc_calloc): Revert last change.
8289
8290 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8291
8292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8293
8294 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8295
8296         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8298         implementation.
8299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8300         (__libc_ifunc_impl_list): Likewise.
8301         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8302         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8303         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8304         * string/strrchr.c: Define STRRCHR.
8305
8306 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8307
8308         * benchtest/bench-strtok.c (simple_strtok): Delete.
8309         (strtok_string): Use as benchmark.
8310         * string/strtok (STRTOK): New macro.
8311
8312 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8313
8314         * manual/threads.texi: Add header and standard comments to all
8315         functions.
8316
8317         * elf/dl-lookup.c (check_match): New function.
8318         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8319         (do_lookup_x): Remove nested function check_match. Use non-nested
8320         function check_match.
8321
8322 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8323
8324         * csu/Makefile (generated, before-compile): Use += rather than =.
8325         * catgets/Makefile (generated, generated-dirs): Likewise.
8326         * debug/Makefile (generated): Likewise.
8327         * dlfcn/Makefile (generated): Likewise.
8328         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8329         * iconvdata/Makefile (before-compile, generated): Likewise.
8330         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8331         * libio/Makefile (generated): Likewise.
8332         * malloc/Makefile (generated): Likewise.
8333         * manual/Makefile (generated, generated-dirs): Likewise.
8334         * misc/Makefile (generated): Likewise.
8335         * posix/Makefile (generated): Likewise.
8336         * resolv/Makefile (generated): Likewise.
8337         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8338         * timezone/Makefile (generated, generated-dirs): Likewise.
8339
8340         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8341
8342 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8343
8344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8345         power8 implementation.
8346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8347         file: POWER8 llround ifunc implementation.
8348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8349         (__lllround): Add POWER8 implementation.
8350         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8351         POWER8 llround implementation.
8352
8353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8354         power8 implementation.
8355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8356         file: POWER8 llrint ifunc implementation.
8357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8358         Add POWER8 implementation.
8359         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8360         POWER8 llrint implementation.
8361
8362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8363         power8 implementation.
8364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8365         file: POWER8 finite ifunc implementation.
8366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8367         Add POWER8 implementation.
8368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8369         Likewise.
8370         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8371         POWER8 finite implementation.
8372         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8373
8374         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8375         power8 implementation.
8376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8377         file: POWER8 isinf ifunc implementation.
8378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8379         POWER8 implementation.
8380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8381         Likewise.
8382         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8383         isinf implementation.
8384         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8385
8386         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8387         (INIT_ARCH): Add hwcap2 initialization.
8388         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8389         power8 implementation.
8390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8391         file: POWER8 isnan ifunc implementation.
8392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8393         POWER8 implementation.
8394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8395         Likewise.
8396         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8397         isnan implementation.
8398         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8399
8400 2014-02-27  Joey Ye  <joey.ye@arm.com>
8401
8402         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8403         (_FP_NANFRAC_Q): Set to zero.
8404
8405 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8406
8407         [BZ #16623]
8408         * math/auto-libm-test-in: New test inputs.
8409         * math/auto-libm-test-out: Regenerate.
8410         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8411         and DA.
8412         (__cos): Likewise.
8413         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8414
8415 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8416
8417         * scripts/evaluate-test.sh: Take new argument indicating whether
8418         failure is expected.
8419         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8420         indicating whether failure is expected.
8421         * conform/Makefile (test-xfail-run-conformtest): New variable.
8422         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8423         level.
8424         * posix/Makefile (test-xfail-annexc): New variable.
8425         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8426
8427 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8428
8429         * argp/Makefile: Include Makeconfig immediately after defining
8430         subdir.
8431         * assert/Makefile: Likewise.
8432         * benchtests/Makefile: Likewise.
8433         * catgets/Makefile: Likewise.
8434         * conform/Makefile: Likewise.
8435         * crypt/Makefile: Likewise.
8436         * csu/Makefile: Likewise.
8437         (all): Remove target.
8438         * ctype/Makefile: Include Makeconfig immediately after defining
8439         subdir.
8440         * debug/Makefile: Likewise.
8441         * dirent/Makefile: Likewise.
8442         * dlfcn/Makefile: Likewise.
8443         * gmon/Makefile: Likewise.
8444         * gnulib/Makefile: Likewise.
8445         * grp/Makefile: Likewise.
8446         * gshadow/Makefile: Likewise.
8447         * hesiod/Makefile: Likewise.
8448         * hurd/Makefile: Likewise.
8449         (all): Remove target.
8450         * iconvdata/Makefile: Include Makeconfig immediately after
8451         defining subdir.
8452         * inet/Makefile: Likewise.
8453         * intl/Makefile: Likewise.
8454         * io/Makefile: Likewise.
8455         * libio/Makefile: Likewise.
8456         (all): Remove target.
8457         * locale/Makefile: Include Makeconfig immediately after defining
8458         subdir.
8459         * login/Makefile: Likewise.
8460         * mach/Makefile: Likewise.
8461         (all): Remove target.
8462         * malloc/Makefile: Include Makeconfig immediately after defining
8463         subdir.
8464         (all): Remove target.
8465         * manual/Makefile: Include Makeconfig immediately after defining
8466         subdir.
8467         * math/Makefile: Likewise.
8468         * misc/Makefile: Likewise.
8469         * nis/Makefile: Likewise.
8470         * nss/Makefile: Likewise.
8471         * po/Makefile: Likewise.
8472         (all): Remove target.
8473         * posix/Makefile: Include Makeconfig immediately after defining
8474         subdir.
8475         * pwd/Makefile: Likewise.
8476         * resolv/Makefile: Likewise.
8477         * resource/Makefile: Likewise.
8478         * rt/Makefile: Likewise.
8479         * setjmp/Makefile: Likewise.
8480         * shadow/Makefile: Likewise.
8481         * signal/Makefile: Likewise.
8482         * socket/Makefile: Likewise.
8483         * soft-fp/Makefile: Likewise.
8484         * stdio-common/Makefile: Likewise.
8485         * stdlib/Makefile: Likewise.
8486         * streams/Makefile: Likewise.
8487         * string/Makefile: Likewise.
8488         * sunrpc/Makefile: Likewise.
8489         (all): Remove target.
8490         * sysvipc/Makefile: Include Makeconfig immediately after defining
8491         subdir.
8492         * termios/Makefile: Likewise.
8493         * time/Makefile: Likewise.
8494         * timezone/Makefile: Likewise.
8495         (all): Remove target.
8496         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8497         subdir.
8498         * wctype/Makefile: Likewise.
8499
8500 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8501
8502         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8503         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8504         (libc_feholdexcept_setround_mips): Ditto.
8505         (libc_feholdsetround): New.
8506         (libc_feholdsetroundf): New.
8507         (libc_feholdsetroundl): New.
8508         (libc_feupdateenv_test_mips): New.
8509         (libc_feupdateenv_test): New.
8510         (libc_feupdateenv_testf): New.
8511         (libc_feupdateenv_testl): New.
8512         (libc_feresetround): New.
8513         (libc_feresetroundf): New.
8514         (libc_feresetroundl): New.
8515         (libc_fetestexcept_mips): New.
8516         (libc_fetestexcept): New.
8517         (libc_fetestexceptf): New.
8518         (libc_fetestexceptl): New.
8519         (HAVE_RM_CTX): New.
8520         (libc_feholdexcept_setround_mips_ctx): New.
8521         (libc_feholdexcept_setround_ctx): New.
8522         (libc_feholdexcept_setroundf_ctx): New.
8523         (libc_feholdexcept_setroundl_ctx): New.
8524         (libc_fesetenv_mips_ctx): New.
8525         (libc_fesetenv_ctx): New.
8526         (libc_fesetenv_ctxf): New.
8527         (libc_fesetenv_ctxl): New.
8528         (libc_feupdateenv_mips_ctx): New.
8529         (libc_feupdateenv_ctx): New.
8530         (libc_feupdateenvf_ctx): New.
8531         (libc_feupdateenvl_ctx): New.
8532         (libc_feholdsetround_mips_ctx): New.
8533         (libc_feholdsetround_ctx): New.
8534         (libc_feholdsetroundf_ctx): New.
8535         (libc_feholdsetroundl_ctx): New.
8536         (libc_feresetround_mips_ctx): New.
8537         (libc_feresetround_ctx): New.
8538         (libc_feresetroundf_ctx): New.
8539         (libc_feresetroundl_ctx): New.
8540
8541 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8542
8543         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8544
8545         * manual/ipc.texi: New file.
8546         * manual/Makefile (chapters): Add ipc.
8547         * manual/job.texi: Add "Inter-Process Communication" to next.
8548         * manual/process.texi: Add "Inter-Process Communication" to prev.
8549
8550 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8551
8552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8553
8554 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8555
8556         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8557
8558         * manual/arith.texi: Fix spaces after sentences.
8559         * manual/charset.texi: Likewise.
8560         * manual/errno.texi: Likewise.
8561         * manual/install.texi: Likewise.
8562         * manual/llio.texi: Likewise.
8563         * manual/locale.texi: Likewise.
8564         * manual/maint.texi: Likewise.
8565         * manual/math.texi: Likewise.
8566         * manual/memory.texi: Likewise.
8567         * manual/message.texi: Likewise.
8568         * manual/probes.texi: Likewise.
8569         * manual/resource.texi: Likewise.
8570         * manual/signal.texi: Likewise.
8571         * manual/socket.texi: Likewise.
8572         * manual/stdio.texi: Likewise.
8573         * manual/string.texi: Likewise.
8574         * manual/time.texi: Likewise.
8575         * manual/users.texi: Likewise.
8576
8577 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8578
8579         [BZ #16632]
8580         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8581         _DEFAULT_SOURCE is defined.
8582
8583 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8584             Carlos O'Donell  <carlos@redhat.com>
8585
8586         [BZ #16613]
8587         * elf/dl-tls.c (_dl_count_modids): New function.
8588         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8589         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8590         audit library and increment generation counter.
8591         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8592         * elf/tst-audit9.c: New file.
8593         * elf/tst-auditmod9a.c: New file.
8594         * elf/tst-auditmod9b.c: New file.
8595         * elf/Makefile: Add rules to build and run tst-audit9.
8596
8597 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8598
8599         [BZ #15347]
8600         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8601
8602 2014-02-25  Will Newton  <will.newton@linaro.org>
8603
8604         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8605         (__longjmp): Restore sp and lr before restoring callee
8606         saved registers.  Add longjmp and longjmp_target
8607         SystemTap probe point.
8608         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8609         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8610         Define to zero to match jmpbuf layout.
8611         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8612         (__sigsetjmp): Save sp and lr before saving callee
8613         saved registers.  Add setjmp SystemTap probe point.
8614
8615 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8616
8617         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8618
8619 2014-02-24  Andreas Schwab  <schwab@suse.de>
8620
8621         [BZ #15804]
8622         * elf/pldd.c (wait_for_ptrace_stop): New function.
8623         (main): Call it after attaching.
8624
8625 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8626
8627         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8628         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8629         Versions files is now verboten.
8630         * hurd/Versions (libc: GLIBC_2.0):
8631         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8632         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8633         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8634         * mach/Versions: Likewise.
8635
8636         * csu/Versions: Remove unused %include.
8637         * resolv/Versions: Likewise.
8638
8639 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8640
8641         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8642         ($(objpfx)check-local-headers.out): Likewise.
8643         ($(objpfx)begin-end-check.out): Likewise.
8644         * Makerules (check-abi-%.out): Likewise.
8645         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8646         ($(objpfx)test2.cat): Likewise.
8647         ($(objpfx)de/libc.cat): Likewise.
8648         ($(objpfx)test-gencat.out): Likewise.
8649         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8650         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8651         ($(objpfx)noload-mem): Likewise.
8652         ($(objpfx)tst-pathopt.out): Likewise.
8653         ($(objpfx)tst-rtld-load-self.out): Likewise.
8654         ($(objpfx)tst-array1-cmp.out): Likewise.
8655         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8656         ($(objpfx)tst-array2-cmp.out): Likewise.
8657         ($(objpfx)tst-array3-cmp.out): Likewise.
8658         ($(objpfx)tst-array4-cmp.out): Likewise.
8659         ($(objpfx)tst-array5-cmp.out): Likewise.
8660         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8661         ($(objpfx)check-textrel.out): Likewise.
8662         ($(objpfx)check-execstack.out): Likewise.
8663         ($(objpfx)check-localplt.out): Likewise.
8664         ($(objpfx)order2-cmp.out): Likewise.
8665         ($(objpfx)tst-leaks1-mem): Likewise.
8666         ($(objpfx)tst-leaks1-static-mem): Likewise.
8667         ($(objpfx)tst-initorder-cmp.out): Likewise.
8668         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8669         ($(objpfx)tst-unused-dep.out): Likewise.
8670         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8671         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8672         * iconv/Makefile (test-iconvconfig): Likewise.
8673         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8674         ($(objpfx)iconv-test.out): Likewise.
8675         ($(objpfx)tst-tables.out): Likewise.
8676         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8677         ($(objpfx)tst-gettext.out): Likewise.
8678         ($(objpfx)tst-translit.out): Likewise.
8679         ($(objpfx)tst-gettext2.out): Likewise.
8680         ($(objpfx)tst-gettext4.out): Likewise.
8681         ($(objpfx)tst-gettext6.out): Likewise.
8682         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8683         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8684         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8685         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8686         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8687         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8688         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8689         ($(objpfx)wordexp-tst.out): Likewise.
8690         ($(objpfx)annexc.out): Likewise.
8691         ($(objpfx)tst-fnmatch-mem): Likewise.
8692         ($(objpfx)bug-regex2-mem): Likewise.
8693         ($(objpfx)bug-regex14-mem): Likewise.
8694         ($(objpfx)bug-regex21-mem): Likewise.
8695         ($(objpfx)bug-regex31-mem): Likewise.
8696         ($(objpfx)tst-vfork3-mem): Likewise.
8697         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8698         ($(objpfx)tst-pcre-mem): Likewise.
8699         ($(objpfx)tst-boost-mem): Likewise.
8700         ($(objpfx)tst-getconf.out): Likewise.
8701         ($(objpfx)bug-ga2-mem): Likewise.
8702         ($(objpfx)bug-glob2-mem): Likewise.
8703         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8704         ($(objpfx)mtrace-tst-leaks2): Likewise.
8705         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8706         ($(objpfx)tst-printf.out): Likewise.
8707         ($(objpfx)tst-setvbuf1.out): Likewise.
8708         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8709         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8710         ($(objpfx)tst-fmtmsg.out): Likewise.
8711         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8712         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8713
8714         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8715         * bits/sigaction.h [__USE_MISC]: Likewise.
8716         * bits/waitstatus.h: Update #endif comments.
8717         * ctype/ctype.h: Likewise.
8718         * dirent/dirent.h: Likewise.
8719         [__USE_MISC]: Remove redundant conditionals.
8720         * grp/grp.h: Update #endif comments.
8721         [__USE_GNU]: Remove redundant conditionals.
8722         [__USE_MISC]: Likewise.
8723         * inet/netinet/in.h [__USE_GNU]: Likewise.
8724         * io/sys/stat.h [__USE_MISC]: Likewise.
8725         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8726         * libio/bits/stdio.h: Update #endif comments.
8727         [__USE_MISC]: Remove redundant conditionals.
8728         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8729         * libio/stdio.h: Update #endif comments.
8730         [__USE_MISC]: Remove redundant conditionals.
8731         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8732         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8733         * math/math.h: Update #else and #endif comments.
8734         [__USE_MISC]: Remove redundant conditionals.
8735         * misc/sys/uio.h: Update #endif comments.
8736         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8737         * posix/glob.h [__USE_MISC]: Likewise.
8738         * posix/sys/types.h: Update #endif comments.
8739         [__USE_MISC]: Remove redundant conditionals.
8740         * posix/sys/wait.h: Update #endif comments.
8741         [__USE_MISC]: Remove redundant conditionals.
8742         * posix/unistd.h: Update #endif comments.
8743         [__USE_MISC]: Remove redundant conditionals.
8744         * pwd/pwd.h [__USE_GNU]: Likewise.
8745         [__USE_MISC]: Likewise.
8746         * resolv/netdb.h [__USE_GNU]: Likewise.
8747         * signal/signal.h: Update #endif comments.
8748         [__USE_MISC]: Remove redundant conditionals.
8749         * stdlib/stdlib.h: Update #else and #endif comments.
8750         [__USE_MISC]: Remove redundant conditionals.
8751         [__USE_GNU]: Likewise.
8752         * string/bits/string2.h [__USE_MISC]: Likewise.
8753         * string/string.h: Update #endif comments.
8754         [__USE_MISC]: Remove redundant conditionals.
8755         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8756         Likewise.
8757         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8758         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8759         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8760         Likewise.
8761         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8762         Likewise.
8763         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8764         comments.
8765         [__USE_MISC]: Remove redundant conditionals.
8766         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8767         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8768         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8769         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8770         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8771         Likewise.
8772         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8773         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8774         Likewise.
8775         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8776         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8777         Likewise.
8778         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8779         Likewise.
8780         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8781         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8782         Likewise.
8783         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8784         Likewise.
8785         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8786         * sysdeps/x86/bits/string.h: Update #endif comments.
8787         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8788         conditionals.
8789         * time/sys/time.h: Update #endif comments.
8790         * time/time.h: Likewise.
8791         [__USE_MISC]: Remove redundant conditionals.
8792
8793 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8794
8795         [BZ #16600]
8796         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8797
8798 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8799
8800         * Versions.def (librt): Add GLIBC_2.17.
8801
8802 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8803
8804         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8805         synonym for _SYS_AUXV_H to allow direct inclusion.
8806         * sysdeps/sparc/bits/hwcap.h: Likewise.
8807         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8808         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8809         * sysdeps/sparc/sysdep.h: Likewise.
8810
8811 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8812
8813         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8814
8815 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8816
8817         * benchtests/bench-strrchr.c: Print length instead of position.
8818
8819 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8820
8821         [BZ #16611]
8822         * sysdeps/unix/sysv/linux/kernel-features.h
8823         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8824         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8825         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8826         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8827         Likewise.
8828         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8829         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8830         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8831         (__ASSUME_SENDMMSG): Define instead of using previous
8832         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8833         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8834         (__ASSUME_SENDMMSG_SYSCALL): Define.
8835         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8836         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8837         Likewise.
8838         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8839         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8840         Likewise.
8841         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8842         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8843         Likewise.
8844         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8845         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8846         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8847         [__ASSUME_SENDMMSG]: Change conditionals to
8848         [__ASSUME_SENDMMSG_SOCKETCALL].
8849         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8850         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8851         Define.
8852         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8853         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8854         Likewise.
8855         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8856         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8857         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8858         [!__ASSUME_SENDMMSG]: Change conditional to
8859         [!__ASSUME_SENDMMSG_SOCKETCALL].
8860         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8861         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8862         Define.
8863
8864         [BZ #16610]
8865         * sysdeps/unix/sysv/linux/kernel-features.h
8866         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8867         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8868         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8869         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8870         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8871         [__i386__ || __sparc__]
8872         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8873         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8874         (__ASSUME_RECVMMSG): Define instead of using previous
8875         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8876         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8877         (__ASSUME_RECVMMSG_SYSCALL): Define.
8878         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8879         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8880         Likewise.
8881         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8882         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8883         Likewise.
8884         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8885         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8886         Likewise.
8887         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__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/microblaze/kernel-features.h
8893         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8894         Define.
8895         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8896         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8897         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8898         Likewise.
8899         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8900         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8901         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8902         [!__ASSUME_RECVMMSG]: Change condition to
8903         [!__ASSUME_RECVMMSG_SOCKETCALL].
8904         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8905         (__ASSUME_RECVMMSG_SYSCALL): Define.
8906
8907         [BZ #16609]
8908         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8909         __powerpc__ || __s390__ || __sh__ || __sparc__]
8910         (__ASSUME_SOCKETCALL): Define.
8911         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8912         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8913         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8914         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8915         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8916         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8917         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8918         (__ASSUME_ACCEPT4): Define instead of using previous
8919         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8920         __powerpc__ || __sparc__ || __s390__)] condition.
8921         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8922         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8923         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8924         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8925         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8926         [!__ASSUME_ACCEPT4]: Change condition to
8927         [!__ASSUME_ACCEPT4_SOCKETCALL].
8928         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8929         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8930         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8931         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8932         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8933         __ASSUME_ACCEPT4_SYSCALL.
8934         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8935         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8936         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8937         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8938         __ASSUME_ACCEPT4_SYSCALL.
8939         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8940         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8941         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8942         [__ASSUME_ACCEPT4]: Change condition to
8943         [__ASSUME_ACCEPT4_SOCKETCALL].
8944         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8945         (__ASSUME_SOCKETCALL): Define.
8946         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8947         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8948         (__ASSUME_SOCKETCALL): Define.
8949         (__ASSUME_ACCEPT4): Remove.
8950         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8951         Define.
8952         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8953         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8954         Likewise.
8955         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8956         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8957
8958         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8959         macro.
8960         (HWCAP_ARM_LPAE): Likewise.
8961         (HWCAP_ARM_EVTSTRM): Likewise.
8962         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8963         Add vpfd32, lpae and evtstrm.
8964         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8965         Increase to 22.
8966
8967 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8968
8969         * math/auto-libm-test-in: Add tests of clog10.
8970         * math/auto-libm-test-out: Regenerated.
8971         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8972         * sysdeps/i386/fpu/libm-test-ulps: Update.
8973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8974
8975 2014-02-18  Andreas Schwab  <schwab@suse.de>
8976
8977         [BZ #16574]
8978         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8979         Store non-zero if the second buffer was newly allocated.
8980         (send_dg): Likewise.
8981         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8982         to send_vc and send_dg.
8983         (res_nsend): Pass NULL for ansp2_malloced.
8984         * resolv/res_query.c (__libc_res_nquery): Add parameter
8985         answerp2_malloced and pass it down to __libc_res_nsend.
8986         (res_nquery): Pass additional NULL to __libc_res_nquery.
8987         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8988         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8989         second answer buffer if answerp2_malloced was set.
8990         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8991         (__libc_res_nquerydomain): Add parameter
8992         answerp2_malloced and pass it down to __libc_res_nquery.
8993         (res_nquerydomain): Pass additional NULL to
8994         __libc_res_nquerydomain.
8995         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8996         additional NULL to __libc_res_nsend and __libc_res_nquery.
8997         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8998         additional NULL to __libc_res_nsearch.
8999         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9000         parameter of __libc_res_nsearch to check for separately allocated
9001         second buffer.
9002         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9003         __libc_res_nquery.
9004         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9005         additional NULL to __libc_res_nquery.
9006         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9007         __libc_res_nsearch.
9008         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9009         * include/resolv.h: Update prototypes of __libc_res_nquery,
9010         __libc_res_nsearch, __libc_res_nsend.
9011
9012 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9013
9014         * math/auto-libm-test-in: Add tests of fma.
9015         * math/auto-libm-test-out: Regenerated.
9016         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9017         (fma_towardzero_test_data): Likewise.
9018         (fma_downward_test_data): Likewise.
9019         (fma_upward_test_data): Likewise.
9020         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9021         mpc_mode.
9022         (rounding_modes): Add values for new field.
9023         (func_calc_method): Add value mpfr_fff_f.
9024         (func_calc_desc): Add mpfr_fff_f union field.
9025         (test_function): Add field exact_args.
9026         (FUNC): Add macro argument EXACT_ARGS.
9027         (FUNC_mpfr_f_f): Update call to FUNC.
9028         (FUNC_mpfr_f_f): Likewise.
9029         (FUNC_mpfr_ff_f): Likewise.
9030         (FUNC_mpfr_if_f): Likewise.
9031         (FUNC_mpc_c_f): Likewise.
9032         (FUNC_mpc_c_c): Likewise.
9033         (test_functions): Add fma.  Update calls to FUNC.
9034         (handle_input_arg): Add argument exact_args.
9035         (add_test): Update call to handle_input_arg.
9036         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9037         (output_for_one_input_case): Update call to calc_generic_results.
9038         Recalculate exact zero results in each rounding mode.
9039
9040         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9041         non-negative before setting low bit.
9042         * math/auto-libm-test-in: Mark one asin test possibly having
9043         spurious underflow.
9044         * math/auto-libm-test-out: Regenerated.
9045         * sysdeps/i386/fpu/libm-test-ulps: Update.
9046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9047
9048 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9049
9050         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9051         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9052         ports/sysdeps/unix/sysv/linux/microblaze.
9053         * README: Add missing listing for microblaze*-*-linux-gnu.
9054
9055 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9056
9057         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9058         * sysdeps/unix/sysv/linux/ia64: Move directory from
9059         ports/sysdeps/unix/sysv/linux/ia64.
9060         * README: Update listing for ia64-*-linux-gnu.
9061
9062 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9063             Joseph Myers  <joseph@codesourcery.com>
9064
9065         * Makeconfig (test-name): New variable.
9066         (evaluate-test): Likewise.
9067         * Makerules (do-test-clean): Remove .test-result files.
9068         (common-mostlyclean): Likewise.
9069         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9070         * scripts/evaluate-test.sh: New file.
9071
9072 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9073
9074         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9075         separate $(objpfx)tst-fopenloc-cmp.out and
9076         $(objpfx)tst-fopenloc-mem.out targets.
9077         (tests): Update dependencies.
9078         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9079         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9080         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9081         (tst-rxspencer-no-utf8-ARGS): New variable.
9082         (tst-rxspencer-no-utf8-ENV): Likewise.
9083         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9084         instead of $(objpfx)tst-rxspencer-mem.
9085         ($(objpfx)tst-rxspencer-mem): Change target to
9086         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9087         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9088         * posix/tst-rxspencer-no-utf8.c: New file.
9089
9090         * elf/Makefile ($(objpfx)order.out): Remove rule.
9091         [$(run-built-tests) = yes] (tests): Depend on
9092         $(objpfx)order-cmp.out.
9093         ($(objpfx)order-cmp.out): New rule.
9094         [$(run-built-tests) = yes] (tests): Depend on
9095         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9096         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9097         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9098         $(objpfx)tst-array5-static-cmp.out.
9099         ($(objpfx)tst-array1.out): Remove rule.
9100         ($(objpfx)tst-array1-cmp.out): New rule.
9101         ($(objpfx)tst-array1-static.out): Remove rule.
9102         ($(objpfx)tst-array1-static-cmp.out): New rule.
9103         ($(objpfx)tst-array2.out): Remove rule.
9104         ($(objpfx)tst-array2-cmp.out): New rule.
9105         ($(objpfx)tst-array3.out): Remove rule.
9106         ($(objpfx)tst-array3-cmp.out): New rule.
9107         ($(objpfx)tst-array4.out): Remove rule.
9108         ($(objpfx)tst-array4-cmp.out): New rule.
9109         ($(objpfx)tst-array5.out): Remove rule.
9110         ($(objpfx)tst-array5-cmp.out): New rule.
9111         ($(objpfx)tst-array5-static.out): Remove rule.
9112         ($(objpfx)tst-array5-static-cmp.out): New rule.
9113         [$(run-built-tests) = yes] (tests): Depend on
9114         $(objpfx)order2-cmp.out.
9115         ($(objpfx)order2.out): Remove rule.
9116         ($(objpfx)order2-cmp.out): New rule.
9117         ($(objpfx)tst-initorder.out): Remove rule.
9118         [$(run-built-tests) = yes] (tests): Depend on
9119         $(objpfx)tst-initorder-cmp.out.
9120         ($(objpfx)tst-initorder-cmp.out): New rule.
9121         ($(objpfx)tst-initorder2.out): Remove rule.
9122         [$(run-built-tests) = yes] (tests): Depend on
9123         $(objpfx)tst-initorder2-cmp.out.
9124         ($(objpfx)tst-initorder2-cmp.out): New rule.
9125         [$(run-built-tests) = yes] (tests): Depend on
9126         $(objpfx)tst-unused-dep-cmp.out.
9127         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9128         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9129         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9130         on $(objpfx)tst-setvbuf1-cmp.out.
9131         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9132         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9133         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9134         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9135         ($(objpfx)tst-svc.out): Remove rule.
9136         ($(objpfx)tst-svc-cmp.out): New rule.
9137
9138 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9139
9140         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9141         * ctype/ctype.h [__USE_MISC]: Likewise.
9142         * dirent/dirent.h [__USE_MISC]: Likewise.
9143         * grp/grp.h [__USE_MISC]: Likewise.
9144         * io/fcntl.h [__USE_MISC]: Likewise.
9145         * io/sys/stat.h [__USE_MISC]: Likewise.
9146         * libio/stdio.h [__USE_MISC]: Likewise.
9147         * posix/unistd.h [__USE_MISC]: Likewise.
9148         * pwd/pwd.h [__USE_MISC]: Likewise.
9149         * stdlib.h [__USE_MISC]: Likewise.
9150         * string/bits/string2.h [__USE_MISC]: Likewise.
9151         * string/string.h [__USE_MISC]: Likewise.
9152         * time/time.h [__USE_MISC]: Likewise.
9153
9154 2014-02-13  Andreas Schwab  <schwab@suse.de>
9155
9156         [BZ #16574]
9157         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9158         second answer buffer if it was separately allocated.
9159
9160 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9161
9162         * sysdeps/mips/math-tests.h: Include <features.h>.
9163         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9164         (ROUNDING_TESTS_long_double): Do not define.
9165         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9166         (EXCEPTION_TESTS_long_double): Likewise.
9167         * sysdeps/mips/mips64/libm-test-ulps: Update.
9168
9169         * include/features.h (__USE_BSD): Remove macro definitions.
9170         (__USE_SVID): Likewise.
9171         (_BSD_SOURCE): Likewise.
9172         (_SVID_SOURCE): Likewise.
9173         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9174         from definition of _DEFAULT_SOURCE.
9175         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9176         [_DEFAULT_SOURCE].
9177         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9178         * bits/mman.h [__USE_BSD]: Likewise.
9179         * bits/termios.h [__USE_BSD]: Likewise.
9180         * bits/waitstatus.h [__USE_BSD]: Likewise.
9181         * ctype/ctype.h [__USE_SVID]: Likewise.
9182         * dirent/dirent.h [__USE_BSD]: Likewise.
9183         * grp/grp.h [__USE_SVID]: Likewise.
9184         [__USE_BSD]: Likewise.
9185         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9186         * io/fcntl.h [__USE_BSD]: Likewise.
9187         * io/ftw.h [__USE_BSD]: Likewise.
9188         * io/sys/stat.h [__USE_BSD]: Likewise.
9189         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9190         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9191         * libio/stdio.h [__USE_SVID]: Likewise.
9192         [__USE_BSD]: Likewise.
9193         * math/math.h [__USE_SVID]: Likewise.
9194         [__USE_BSD]: Likewise.
9195         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9196         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9197         * misc/search.h [__USE_SVID]: Likewise.
9198         * misc/sys/mman.h [__USE_BSD]: Likewise.
9199         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9200         * misc/sys/uio.h [__USE_BSD]: Likewise.
9201         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9202         * posix/glob.h [__USE_BSD]: Likewise.
9203         * posix/regex.h [__USE_BSD]: Likewise.
9204         * posix/sys/types.h [__USE_BSD]: Likewise.
9205         [__USE_SVID]: Likewise.
9206         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9207         * posix/sys/wait.h [__USE_BSD]: Likewise.
9208         [__USE_SVID]: Likewise.
9209         * posix/unistd.h [__USE_BSD]: Likewise.
9210         [__USE_SVID]: Likewise.
9211         * pwd/pwd.h [__USE_SVID]: Likewise.
9212         * resolv/netdb.h [__USE_BSD]: Likewise.
9213         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9214         * signal/signal.h [__USE_BSD]: Likewise.
9215         [__USE_SVID]: Likewise.
9216         * socket/sys/socket.h [__USE_BSD]: Likewise.
9217         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9218         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9219         [__USE_SVID]: Likewise.
9220         * string/bits/string2.h [__USE_BSD]: Likewise.
9221         [__USE_SVID]: Likewise.
9222         * string/bits/string3.h [__USE_BSD]: Likewise.
9223         * string/endian.h [__USE_BSD]: Likewise.
9224         * string/string.h [__USE_SVID]: Likewise.
9225         [__USE_BSD]: Likewise.
9226         * string/strings.h [__USE_BSD]: Likewise.
9227         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9228         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9229         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9230         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9231         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9232         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9233         Likewise.
9234         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9235         Likewise.
9236         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9237         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9238         Likewise.
9239         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9240         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9241         Likewise.
9242         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9243         Likewise.
9244         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9245         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9246         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9247         Likewise.
9248         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9249         Likewise.
9250         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9251         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9252         * termios/termios.h [__USE_BSD]: Likewise.
9253         * time/sys/time.h [__USE_BSD]: Likewise.
9254         * time/time.h [__USE_BSD]: Likewise.
9255         [__USE_SVID]: Likewise.
9256
9257         * Makefile (subdir_targets): Remove subdir_lint.out.
9258
9259         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9260         (do-tst-printf): Likewise.
9261         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9262         $(objpfx)tst-printf.out.
9263
9264         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9265
9266         * Makerules (check-abi-%): Change target to
9267         $(objpfx)check-abi-%.out.
9268         (check-abi target): Update dependencies.
9269         (check-abi-pattern variable): Redirect output of diff to $@.
9270         (check-abi variable): Likewise.
9271         * elf/Makefile (check-abi): Update dependencies.
9272
9273         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9274         unused.
9275         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9276         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9277         subnormal range.
9278         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9279         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9280         value has largest subnormal exponent.
9281         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9282         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9283         * sysdeps/aarch64/soft-fp/sfp-machine.h
9284         (_FP_TININESS_AFTER_ROUNDING): New macro.
9285         * sysdeps/alpha/soft-fp/sfp-machine.h
9286         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9287         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9288         Likewise.
9289         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9290         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9291         * sysdeps/mips/soft-fp/sfp-machine.h
9292         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9293         * sysdeps/powerpc/soft-fp/sfp-machine.h
9294         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9295         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9296         Likewise.
9297         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9298         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9299         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9300         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9301         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9302         Likewise.
9303
9304 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9305
9306         [BZ #16545]
9307         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9308         model 1.
9309
9310 2014-02-12  Richard Henderson  <rth@redhat.com>
9311
9312         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9313         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9314         * sysdeps/unix/sysv/linux/alpha: Move directory from
9315         ports/sysdeps/unix/sysv/linux/alpha.
9316         * README: Update listing for alpha-*-linux-gnu.
9317
9318 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9319
9320         * include/features.h: Update comment documenting feature test
9321         macros.
9322         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9323         _DEFAULT_SOURCE.
9324         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9325         (_SVID_SOURCE): Likewise.
9326         (_DEFAULT_SOURCE): Update description of default features.
9327         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9328         with _GNU_SOURCE.
9329         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9330         (S_ISVTX): Likewise.
9331         * manual/math.texi (Mathematical Constants): Likewise.
9332         * manual/signal.texi (Interrupted Primitives): Likewise.
9333         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9334         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9335         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9336         Don't refer to _SVID_SOURCE in warning text.
9337
9338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9339
9340         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9341         already defined.
9342         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9343         * sysdeps/mips/dl-lookup.c: Remove.
9344         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9345
9346 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9347
9348         [BZ #16447]
9349         * math/auto-libm-test-in: Add testcase for expl.
9350         * math/auto-libm-test-out: Regenerate.
9351         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9352         calculation of unsafe.
9353         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9354
9355 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9356
9357         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9358         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9359         ports/sysdeps/unix/sysv/linux/aarch64.
9360         * README: Update listing for aarch64*-*-linux-gnu.
9361
9362 2014-02-11  Will Newton  <will.newton@linaro.org>
9363
9364         * manual/probes.texi (Mathematical Function Probes): Use
9365         "triggered" instead of "hit".
9366
9367         * manual/probes.texi (Internal Probes): Add documentation
9368         of setjmp, longjmp and longjmp_target probes.
9369
9370         * include/stap-probe.h: Add comment about probe argument
9371         format.
9372
9373         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9374         definition.  (tr_where, tr_freehook, tr_mallochook,
9375         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9376
9377 2014-02-11  David S. Miller  <davem@davemloft.net>
9378
9379         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9380         processing int_tests.
9381
9382 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9383
9384         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9385         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9386         * sysdeps/unix/sysv/linux/mips: Move directory from
9387         ports/sysdeps/unix/sysv/linux/mips.
9388         * README: Update listing for mips-*-linux-gnu and
9389         mips64-*-linux-gnu.
9390
9391 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9392
9393         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9394         * sysdeps/unix/sysv/linux/m68k: Move directory from
9395         ports/sysdeps/unix/sysv/linux/m68k.
9396         * README: Update listing for m68k-*-linux-gnu.
9397
9398 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9399
9400         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9401         * sysdeps/unix/sysv/linux/generic: Move directory from
9402         ports/sysdeps/unix/sysv/linux/generic.
9403         * sysdeps/unix/sysv/linux/tile: Move directory from
9404         ports/sysdeps/unix/sysv/linux/tile.
9405         * README: Update listing for tile*-*-linux-gnu.
9406
9407 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9408
9409         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9410         __builtin_expect.
9411         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9412         * catgets/open_catalog.c (__open_catalog): Likewise.
9413         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9414         * debug/confstr_chk.c: Likewise.
9415         * debug/fread_chk.c (__fread_chk): Likewise.
9416         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9417         * debug/getgroups_chk.c: Likewise.
9418         * debug/mbsnrtowcs_chk.c: Likewise.
9419         * debug/mbsrtowcs_chk.c: Likewise.
9420         * debug/mbstowcs_chk.c: Likewise.
9421         * debug/memcpy_chk.c: Likewise.
9422         * debug/memmove_chk.c: Likewise.
9423         * debug/mempcpy_chk.c: Likewise.
9424         * debug/memset_chk.c: Likewise.
9425         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9426         * debug/strcat_chk.c (__strcat_chk): Likewise.
9427         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9428         * debug/strncat_chk.c (__strncat_chk): Likewise.
9429         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9430         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9431         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9432         * debug/wcpncpy_chk.c: Likewise.
9433         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9434         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9435         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9436         * debug/wcsncpy_chk.c: Likewise.
9437         * debug/wcsnrtombs_chk.c: Likewise.
9438         * debug/wcsrtombs_chk.c: Likewise.
9439         * debug/wcstombs_chk.c: Likewise.
9440         * debug/wmemcpy_chk.c: Likewise.
9441         * debug/wmemmove_chk.c: Likewise.
9442         * debug/wmempcpy_chk.c: Likewise.
9443         * debug/wmemset_chk.c: Likewise.
9444         * dirent/scandirat.c (SCANDIRAT): Likewise.
9445         * dlfcn/dladdr1.c (dladdr1): Likewise.
9446         * dlfcn/dladdr.c (dladdr): Likewise.
9447         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9448         * dlfcn/dlerror.c (__dlerror): Likewise.
9449         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9450         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9451         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9452         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9453         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9454         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9455         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9456         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9457         Likewise.
9458         * elf/dl-conflict.c: Likewise.
9459         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9460         * elf/dl-dst.h: Likewise.
9461         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9462         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9463         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9464         * elf/dl-init.c (call_init, _dl_init): Likewise.
9465         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9466         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9467         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9468         Likewise.
9469         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9470         Likewise.
9471         * elf/dl-minimal.c (__libc_memalign): Likewise.
9472         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9473         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9474         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9475         * elf/dl-sym.c (do_sym): Likewise.
9476         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9477         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9478         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9479         * elf/dl-writev.h (_dl_writev): Likewise.
9480         * elf/ldconfig.c (search_dir): Likewise.
9481         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9482         (dl_main): Likewise.
9483         * elf/setup-vdso.h (setup_vdso): Likewise.
9484         * grp/compat-initgroups.c (compat_call): Likewise.
9485         * grp/fgetgrent.c (fgetgrent): Likewise.
9486         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9487         * grp/putgrent.c (putgrent): Likewise.
9488         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9489         Likewise.
9490         * hurd/hurdinit.c: Likewise.
9491         * iconvdata/8bit-gap.c (struct): Likewise.
9492         * iconvdata/ansi_x3.110.c : Likewise.
9493         * iconvdata/big5.c : Likewise.
9494         * iconvdata/big5hkscs.c : Likewise.
9495         * iconvdata/cp1255.c: Likewise.
9496         * iconvdata/cp1258.c : Likewise.
9497         * iconvdata/cp932.c : Likewise.
9498         * iconvdata/euc-cn.c: Likewise.
9499         * iconvdata/euc-jisx0213.c : Likewise.
9500         * iconvdata/euc-jp.c: Likewise.
9501         * iconvdata/euc-jp-ms.c : Likewise.
9502         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9503         * iconvdata/gb18030.c : Likewise.
9504         * iconvdata/gbbig5.c (const): Likewise.
9505         * iconvdata/gbgbk.c: Likewise.
9506         * iconvdata/gbk.c : Likewise.
9507         * iconvdata/ibm1364.c : Likewise.
9508         * iconvdata/ibm930.c : Likewise.
9509         * iconvdata/ibm932.c: Likewise.
9510         * iconvdata/ibm933.c : Likewise.
9511         * iconvdata/ibm935.c : Likewise.
9512         * iconvdata/ibm937.c : Likewise.
9513         * iconvdata/ibm939.c : Likewise.
9514         * iconvdata/ibm943.c: Likewise.
9515         * iconvdata/iso_11548-1.c: Likewise.
9516         * iconvdata/iso-2022-cn.c : Likewise.
9517         * iconvdata/iso-2022-cn-ext.c : Likewise.
9518         * iconvdata/iso-2022-jp-3.c: Likewise.
9519         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9520         * iconvdata/iso-2022-kr.c : Likewise.
9521         * iconvdata/iso646.c (gconv_end): Likewise.
9522         * iconvdata/iso_6937-2.c : Likewise.
9523         * iconvdata/iso_6937.c : Likewise.
9524         * iconvdata/iso8859-1.c: Likewise.
9525         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9526         * iconvdata/shift_jisx0213.c : Likewise.
9527         * iconvdata/sjis.c : Likewise.
9528         * iconvdata/t.61.c : Likewise.
9529         * iconvdata/tcvn5712-1.c : Likewise.
9530         * iconvdata/tscii.c: Likewise.
9531         * iconvdata/uhc.c : Likewise.
9532         * iconvdata/unicode.c (gconv_end): Likewise.
9533         * iconvdata/utf-16.c (gconv_end): Likewise.
9534         * iconvdata/utf-32.c (gconv_end): Likewise.
9535         * iconvdata/utf-7.c (base64): Likewise.
9536         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9537         * iconv/gconv_close.c (__gconv_close): Likewise.
9538         * iconv/gconv_open.c (__gconv_open): Likewise.
9539         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9540         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9541         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9542         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9543         (ucs4le_internal_loop_single): Likewise.
9544         * iconv/iconv.c (iconv): Likewise.
9545         * iconv/iconv_close.c: Likewise.
9546         * iconv/loop.c (SINGLE): Likewise.
9547         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9548         * include/atomic.h: Likewise.
9549         * inet/inet6_option.c (option_alloc): Likewise.
9550         * intl/bindtextdom.c (set_binding_values): Likewise.
9551         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9552         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9553         * intl/localealias.c (read_alias_file): Likewise.
9554         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9555         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9556         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9557         * libio/fmemopen.c (fmemopen): Likewise.
9558         * libio/iofgets.c (_IO_fgets): Likewise.
9559         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9560         * libio/iofgetws.c (fgetws): Likewise.
9561         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9562         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9563         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9564         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9565         * locale/findlocale.c (_nl_find_locale): Likewise.
9566         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9567         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9568         Likewise.
9569         * locale/setlocale.c (setlocale): Likewise.
9570         * login/programs/pt_chown.c (main): Likewise.
9571         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9572         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9573         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9574         (mmap, mmap64, mremap, munmap): Likewise.
9575         * math/e_exp2l.c: Likewise.
9576         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9577         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9578         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9579         * math/s_catan.c (__catan): Likewise.
9580         * math/s_catanf.c (__catanf): Likewise.
9581         * math/s_catanh.c (__catanh): Likewise.
9582         * math/s_catanhf.c (__catanhf): Likewise.
9583         * math/s_catanhl.c (__catanhl): Likewise.
9584         * math/s_catanl.c (__catanl): Likewise.
9585         * math/s_ccosh.c (__ccosh): Likewise.
9586         * math/s_ccoshf.c (__ccoshf): Likewise.
9587         * math/s_ccoshl.c (__ccoshl): Likewise.
9588         * math/s_cexp.c (__cexp): Likewise.
9589         * math/s_cexpf.c (__cexpf): Likewise.
9590         * math/s_cexpl.c (__cexpl): Likewise.
9591         * math/s_clog10.c (__clog10): Likewise.
9592         * math/s_clog10f.c (__clog10f): Likewise.
9593         * math/s_clog10l.c (__clog10l): Likewise.
9594         * math/s_clog.c (__clog): Likewise.
9595         * math/s_clogf.c (__clogf): Likewise.
9596         * math/s_clogl.c (__clogl): Likewise.
9597         * math/s_csin.c (__csin): Likewise.
9598         * math/s_csinf.c (__csinf): Likewise.
9599         * math/s_csinh.c (__csinh): Likewise.
9600         * math/s_csinhf.c (__csinhf): Likewise.
9601         * math/s_csinhl.c (__csinhl): Likewise.
9602         * math/s_csinl.c (__csinl): Likewise.
9603         * math/s_csqrt.c (__csqrt): Likewise.
9604         * math/s_csqrtf.c (__csqrtf): Likewise.
9605         * math/s_csqrtl.c (__csqrtl): Likewise.
9606         * math/s_ctan.c (__ctan): Likewise.
9607         * math/s_ctanf.c (__ctanf): Likewise.
9608         * math/s_ctanh.c (__ctanh): Likewise.
9609         * math/s_ctanhf.c (__ctanhf): Likewise.
9610         * math/s_ctanhl.c (__ctanhl): Likewise.
9611         * math/s_ctanl.c (__ctanl): Likewise.
9612         * math/w_pow.c: Likewise.
9613         * math/w_powf.c: Likewise.
9614         * math/w_powl.c: Likewise.
9615         * math/w_scalb.c (sysv_scalb): Likewise.
9616         * math/w_scalbf.c (sysv_scalbf): Likewise.
9617         * math/w_scalbl.c (sysv_scalbl): Likewise.
9618         * misc/error.c (error_tail): Likewise.
9619         * misc/pselect.c (__pselect): Likewise.
9620         * nis/nis_callback.c (__nis_create_callback): Likewise.
9621         * nis/nis_call.c (__nisfind_server): Likewise.
9622         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9623         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9624         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9625         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9626         * nis/nis_lookup.c (nis_lookup): Likewise.
9627         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9628         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9629         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9630         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9631         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9632         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9633         * nis/nss_compat/compat-initgroups.c (add_group)
9634         (internal_getgrent_r): Likewise.
9635         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9636         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9637         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9638         (internal_getspnam_r): Likewise.
9639         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9640         (_nss_nis_getaliasbyname_r): Likewise.
9641         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9642         (_nss_nis_getntohost_r): Likewise.
9643         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9644         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9645         (_nss_nis_getgrgid_r): Likewise.
9646         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9647         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9648         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9649         (_nss_nis_gethostbyname4_r): Likewise.
9650         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9651         (initgroups_netid): Likewise.
9652         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9653         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9654         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9655         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9656         (_nss_nis_getprotobynumber_r): Likewise.
9657         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9658         (_nss_nis_getsecretkey): Likewise.
9659         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9660         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9661         (_nss_nis_getpwuid_r): Likewise.
9662         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9663         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9664         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9665         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9666         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9667         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9668         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9669         Likewise.
9670         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9671         (_nss_nisplus_getntohost_r): Likewise.
9672         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9673         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9674         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9675         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9676         Likewise.
9677         * nis/nss_nisplus/nisplus-initgroups.c
9678         (_nss_nisplus_initgroups_dyn): Likewise.
9679         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9680         (_nss_nisplus_getnetbyaddr_r): Likewise.
9681         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9682         (_nss_nisplus_getprotobynumber_r): Likewise.
9683         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9684         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9685         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9686         Likewise.
9687         * nis/nss_nisplus/nisplus-service.c
9688         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9689         (_nss_nisplus_getservbyport_r): Likewise.
9690         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9691         (_nss_nisplus_getspnam_r): Likewise.
9692         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9693         Likewise.
9694         * nscd/aicache.c (addhstaiX): Likewise.
9695         * nscd/cache.c (cache_search, prune_cache): Likewise.
9696         * nscd/connections.c (register_traced_file, send_ro_fd)
9697         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9698         (main_loop_epoll): Likewise.
9699         * nscd/grpcache.c (addgrbyX): Likewise.
9700         * nscd/hstcache.c (addhstbyX): Likewise.
9701         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9702         * nscd/mem.c (gc, mempool_alloc): Likewise.
9703         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9704         (addinnetgrX): Likewise.
9705         * nscd/nscd-client.h (__nscd_acquire_maplock)
9706         (__nscd_drop_map_ref): Likewise.
9707         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9708         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9709         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9710         Likewise.
9711         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9712         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9713         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9714         (__nscd_get_map_ref): Likewise.
9715         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9716         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9717         Likewise.
9718         * nscd/pwdcache.c (addpwbyX): Likewise.
9719         * nscd/selinux.c (preserve_capabilities): Likewise.
9720         * nscd/servicescache.c (addservbyX): Likewise.
9721         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9722         * posix/fnmatch.c (fnmatch): Likewise.
9723         * posix/getopt.c (_getopt_internal_r): Likewise.
9724         * posix/glob.c (glob, glob_in_dir): Likewise.
9725         * posix/wordexp.c (exec_comm_child): Likewise.
9726         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9727         (getanswer_r, gaih_getanswer_slice): Likewise.
9728         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9729         * resolv/res_init.c: Likewise.
9730         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9731         * resolv/res_query.c (__libc_res_nquery): Likewise.
9732         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9733         Likewise.
9734         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9735         * stdio-common/perror.c (perror): Likewise.
9736         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9737         * stdio-common/tmpnam.c (tmpnam): Likewise.
9738         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9739         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9740         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9741         Likewise.
9742         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9743         * stdlib/putenv.c (putenv): Likewise.
9744         * stdlib/setenv.c (__add_to_environ): Likewise.
9745         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9746         * stdlib/strtol_l.c (INTERNAL): Likewise.
9747         * string/memmem.c (memmem): Likewise.
9748         * string/strerror.c (strerror): Likewise.
9749         * string/strnlen.c (__strnlen): Likewise.
9750         * string/test-memmem.c (simple_memmem): Likewise.
9751         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9752         * sunrpc/pm_getport.c (__get_socket): Likewise.
9753         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9754         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9755         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9756         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9757         Likewise.
9758         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9759         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9760         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9761         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9762         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9763         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9764         Likewise.
9765         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9766         Likewise.
9767         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9768         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9769         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9770         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9771         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9773         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9774         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9775         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9776         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9777         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9778         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9779         Likewise.
9780         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9781         Likewise.
9782         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9783         Likewise.
9784         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9785         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9786         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9787         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9788         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9789         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9790         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9791         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9792         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9793         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9794         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9795         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9796         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9797         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9798         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9799         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9800         Likewise.
9801         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9802         Likewise.
9803         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9804         Likewise.
9805         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9806         Likewise.
9807         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9808         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9809         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9810         Likewise.
9811         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9812         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9813         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9814         * sysdeps/posix/sleep.c: Likewise.
9815         * sysdeps/posix/tempname.c: Likewise.
9816         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9817         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9818         Likewise.
9819         * sysdeps/powerpc/powerpc32/dl-machine.h
9820         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9821         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9822         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9823         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9824         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9825         Likewise.
9826         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9827         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9828         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9829         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9830         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9831         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9832         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9833         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9834         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9835         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9836         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9837         (elf_machine_lazy_rel): Likewise.
9838         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9839         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9840         (elf_machine_lazy_rel): Likewise.
9841         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9842         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9843         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9844         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9845         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9846         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9847         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9848         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9849         Likewise.
9850         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9851         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9852         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9853         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9854         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9855         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9856         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9857         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9858         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9859         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9860         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9861         Likewise.
9862         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9863         (__posix_fallocate64_l64): Likewise.
9864         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9865         (posix_fallocate): Likewise.
9866         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9867         Likewise.
9868         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9869         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9870         (getifaddrs_internal): Likewise.
9871         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9872         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9873         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9874         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9875         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9876         (__posix_fallocate64_l64): Likewise.
9877         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9878         Likewise.
9879         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9880         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9881         (__get_clockfreq): Likewise.
9882         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9883         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9884         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9887         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9888         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9889         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9890         Likewise.
9891         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9892         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9893         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9894         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9895         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9896         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9897         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9898         Likewise.
9899         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9900         (posix_fallocate): Likewise.
9901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9902         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9903         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9904         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9905         (elf_machine_rela, elf_machine_rela_relative)
9906         (elf_machine_lazy_rel): Likewise.
9907         * time/asctime.c (asctime_internal): Likewise.
9908         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9909         * time/tzset.c (__tzset_parse_tz): Likewise.
9910         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9911         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9912         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9913         * wcsmbs/wcsmbsload.h: Likewise.
9914
9915         [BZ #15894]
9916         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9917
9918         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9919         (arena_get2): Remove THREAD_STATS conditionals.
9920         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9921         (__malloc_stats, int): Likewise.
9922
9923 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9924
9925         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9926         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9927
9928         * manual/setjmp.texi: Fix typos/grammar errors.
9929
9930         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9931         Only return early when n is <= 0.  Delete unused return statement.
9932
9933         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9934         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9935         * debug/tst-longjmp_chk3.c: New file.
9936
9937         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9938         (test_main): Replace code with set_fortify_handler call.
9939         * debug/test-strcpy_chk.c: Likewise.
9940         * debug/tst-chk1.c: Likewise.
9941         * debug/tst-longjmp_chk.c: Likewise.
9942         * test-skeleton.c: Include fcntl.h & paths.h
9943         (set_fortify_handler): Define.
9944
9945         * debug/tst-longjmp_chk.c: Add header comment and include
9946         ../test-skeleton.c.
9947         (do_test): Mark static.
9948         (TEST_FUNCTION): Define.
9949
9950         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9951         (IP_PMTUDISC_INTERFACE): Likewise.
9952         (IP_MULTICAST_IF): Likewise.
9953         (IP_MULTICAST_TTL): Likewise.
9954         (IP_MULTICAST_LOOP): Likewise.
9955         (IP_ADD_MEMBERSHIP): Likewise.
9956         (IP_DROP_MEMBERSHIP): Likewise.
9957         (IP_UNBLOCK_SOURCE): Likewise.
9958         (IP_BLOCK_SOURCE): Likewise.
9959         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9960         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9961         (IP_MSFILTER): Likewise.
9962         (MCAST_JOIN_GROUP): Likewise.
9963         (MCAST_BLOCK_SOURCE): Likewise.
9964         (MCAST_UNBLOCK_SOURCE): Likewise.
9965         (MCAST_LEAVE_GROUP): Likewise.
9966         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9967         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9968         (MCAST_MSFILTER): Likewise.
9969         (IP_MULTICAST_ALL): Likewise.
9970         (IP_UNICAST_IF): Likewise.
9971
9972         * timezone/Makefile: Delete $(have-ksh) check.
9973         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9974         * timezone/tzselect.ksh: Add +x mode bits.
9975
9976         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9977         (ANON_INODE_FS_MAGIC): Likewise.
9978         (BDEVFS_MAGIC): Likewise.
9979         (BINFMTFS_MAGIC): Likewise.
9980         (BTRFS_TEST_MAGIC): Likewise.
9981         (CRAMFS_MAGIC_WEND): Likewise.
9982         (DEBUGFS_MAGIC): Likewise.
9983         (ECRYPTFS_SUPER_MAGIC): Likewise.
9984         (EXT3_SUPER_MAGIC): Likewise.
9985         (EXT4_SUPER_MAGIC): Likewise.
9986         (FUTEXFS_SUPER_MAGIC): Likewise.
9987         (HOSTFS_SUPER_MAGIC): Likewise.
9988         (HUGETLBFS_MAGIC): Likewise.
9989         (MINIX3_SUPER_MAGIC): Likewise.
9990         (MTD_INODE_FS_MAGIC): Likewise.
9991         (NILFS_SUPER_MAGIC): Likewise.
9992         (OPENPROM_SUPER_MAGIC): Likewise.
9993         (PIPEFS_MAGIC): Likewise.
9994         (PSTOREFS_MAGIC): Likewise.
9995         (QNX6_SUPER_MAGIC): Likewise.
9996         (RAMFS_MAGIC): Likewise.
9997         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9998         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9999         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10000         (SECURITYFS_MAGIC): Likewise.
10001         (SELINUX_MAGIC): Likewise.
10002         (SMACK_MAGIC): Likewise.
10003         (SOCKFS_MAGIC): Likewise.
10004         (SQUASHFS_MAGIC): Likewise.
10005         (STACK_END_MAGIC): Likewise.
10006         (TMPFS_MAGIC): Likewise.
10007         (USBDEVICE_SUPER_MAGIC): Likewise.
10008         (V9FS_MAGIC): Likewise.
10009         (XENFS_SUPER_MAGIC): Likewise.
10010         (CRAMFS_MAGIC): Fix typo in comment.
10011         (EXT2_SUPER_MAGIC): Update comment.
10012         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10013
10014 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10015
10016         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10017         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10018         * sysdeps/unix/sysv/linux/arm: Move directory from
10019         ports/sysdeps/unix/sysv/linux/arm.
10020         * README: Update listing for arm-*-linux-gnueabi.
10021
10022         * README: Remove mention of am33.
10023
10024 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10025
10026         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10027         than the comma operator, to avoid "rhs of comma has no effect"
10028         compiler warnings.
10029         (__sigfillset, __sigandset, __sigorset): Likewise.
10030         * include/signal.h (__sigemptyset): Likewise.
10031         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10032
10033 2014-02-07  Allan McRae  <allan@archlinux.org>
10034
10035         * version.h (RELEASE): Set to "development".
10036         (VERSION): Set to "2.19.90"
10037         * NEWS: Add 2.20 section.
10038
10039 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10040
10041         [BZ #16529]
10042         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10043
10044 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10045
10046         * manual/contrib.texi: Update entry for Carlos O'Donell,
10047         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10048
10049 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10050
10051         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10052
10053         * sysdeps/unix/sysv/linux/kernel-features.h
10054         [__LINUX_KERNEL_VERSION >= 0x020621]
10055         (__ASSUME_PROC_PID_TASK_COMM): Define.
10056
10057 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10058
10059         [BZ #16398]
10060         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10061         conversion when destination buffer does not have enough space.
10062         * libio/tst-ftell-partial-wide.c: New test case.
10063         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10064
10065         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10066         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10067         Leonard and Allan McRae.
10068
10069 2014-02-04  David S. Miller  <davem@davemloft.net>
10070
10071         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10072         32-bit.
10073
10074 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10075
10076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10077         New file
10078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10079         New file
10080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10081         New file.
10082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10083         New file.
10084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10085         New file.
10086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10087         New file.
10088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10089         New file.
10090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10091         New file.
10092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10093         New file.
10094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10095         New file.
10096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10097         New file.
10098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10099         New file.
10100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10101         New file.
10102
10103 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10104
10105         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10106         * shlib-versions: Likewise.
10107
10108 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10109             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10110
10111         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10112         (abilist-pattern): New variable, set to %-le.abilist.
10113
10114         * Makerules (abilist-pattern): New variable.
10115         (vpath): Use $(abilist-pattern) in place of %.abilist.
10116         (check-abi-% pattern rule): Likewise.
10117         (check-abi, update-abi): Likewise.
10118
10119 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10120
10121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10122
10123 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10124
10125         * manual/startup.texi: Add next, previous, and top entries for
10126         the `Program Arguments' and `Environment Variables' nodes.
10127
10128 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10129
10130         * manual/macros.texi: Add comments before MTASC-safety macros.
10131
10132         * manual/users.texi: Document MTASC-safety properties.
10133
10134         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10135         (pthread_getspecific, pthread_setspecific): Format with
10136         @deftypefun, and add @safety note.
10137         * manual/signal.texi: Move comments that analyze the above
10138         functions to their home place.
10139
10140 2014-02-03  Allan McRae  <allan@archlinux.org>
10141
10142         * po/sl.po: Update Slovenian translation from translation project.
10143
10144 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10145
10146         * manual/time.texi (timegm): Add missing blank after @c.
10147         Reported by Joseph Myers <joseph@codesourcery.com>.
10148
10149 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10150
10151         * manual/check-safety.sh: New.
10152         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10153
10154         * manual/terminal.texi: Document MTASC-safety properties.
10155
10156         * manual/filesys.texi: Document MTASC-safety properties.
10157
10158         * manual/errno.texi: Document MTASC-safety properties.
10159
10160         * manual/intro.texi: Document safety identifiers and
10161         conditionals.
10162
10163         * manual/string.texi (wcstok): Fix prototype.
10164         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10165
10166         * manual/time.texi: Document MTASC-safety properties.
10167
10168         * manual/string.texi: Document MTASC-safety properties.
10169
10170         * manual/threads.texi: Document MTASC-safety properties.
10171
10172         * manual/stdio.texi: Document MTASC-safety properties.
10173
10174         * manual/syslog.texi: Document MTASC-safety properties.
10175
10176         * manual/sysinfo.texi: Document MTASC-safety properties.
10177
10178         * manual/startup.texi: Document MTASC-safety properties.
10179
10180         * manual/socket.texi: Document MTASC-safety properties.
10181
10182         * manual/signal.texi: Document MTASC-safety properties.
10183
10184 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10185
10186         * manual/setjmp.texi: Document MTASC-safety properties.
10187
10188         * manual/search.texi: Document MTASC-safety properties.
10189
10190         * manual/resource.texi: Document MTASC-safety properties.
10191
10192         * manual/process.texi: Document MTASC-safety properties.
10193
10194         * manual/platform.texi: Document MTASC-safety properties.
10195
10196         * manual/pipe.texi: Document MTASC-safety properties.
10197
10198         * manual/pattern.texi: Document MTASC-safety properties.
10199
10200         * manual/message.texi: Document MTASC-safety properties.
10201
10202         [BZ #12751]
10203         * manual/memory.texi: Document MTASC-safety properties.
10204
10205         * manual/math.texi: Document MTASC-safety properties.
10206
10207         * manual/locale.texi: Document MTASC-safety properties.
10208
10209         * manual/llio.texi: Document MTASC-safety properties.
10210
10211         * manual/libdl.texi: New.
10212
10213         * manual/lang.texi: Document MTASC-safety properties.
10214
10215         * manual/job.texi: Document MTASC-safety properties.
10216
10217         * manual/getopt.texi: Document MTASC-safety properties.
10218
10219         * manual/ctype.texi: Document MTASC-safety properties.
10220
10221 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10222
10223         [BZ #16046]
10224         * csu/libc-tls.c (static_map): Remove variable.
10225         (__libc_setup_tls): Use main executable's link map for TLS data.
10226         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10227         casing for LM_ID_BASE and GL(dl_nns).
10228         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10229         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10230         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10231         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10232         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10233         member.
10234         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10235         l_phnum members.
10236
10237 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10238
10239         * manual/debug.texi: Document MTASC-safety properties.
10240
10241 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10242
10243         [BZ #16510]
10244         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10245         of __x86_64__ when disabling x87 inline functions.
10246
10247 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10248
10249         * manual/charset.texi: Document MTASC-safety properties.
10250
10251         * manual/crypt.texi: Document MTASC-safety properties.
10252
10253         * manual/conf.texi: Document MTASC-safety properties.
10254
10255         * manual/arith.texi: Document MTASC-safety properties.
10256
10257         * manual/argp.texi: Document MTASC-safety properties.
10258
10259         * manual/macros.texi: Introduce macros to document multi
10260         thread, asynchronous signal and asynchronous cancellation
10261         safety properties.
10262         * manual/intro.texi: Introduce the properties themselves.
10263
10264 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10265
10266         * sysdeps/sh/sh4/Makefile: New file.
10267
10268 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10269
10270         * math/gen-libm-test.pl ($srcdir): New variable.
10271         ($auto_input): Use it.
10272
10273 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10274
10275         [BZ #16506]
10276         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10277         access beyond array bounds when parsing netgroups file.
10278
10279         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10280         the old buffer before realloc.
10281
10282 2014-01-27  Allan McRae  <allan@archlinux.org>
10283
10284         * po/fr.po: Update French translation from translation project.
10285
10286 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10287
10288         * sysdeps/sh/libm-test-ulps: Regenerate.
10289
10290 2014-01-24  David S. Miller  <davem@davemloft.net>
10291
10292         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10293
10294 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10295
10296         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10297         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10298
10299 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10300
10301         [BZ #16474]
10302         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10303         string pointers after reallocation.
10304
10305 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10306
10307         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10308         __SH4A__ instead of __SH_FPU_ANY__.
10309
10310 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10311
10312         * sysdeps/sh/fpu_control.h: New file.
10313         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10314         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10315         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10316         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10317         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10318         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10319         * sysdeps/sh/sys/ucontext.h: Remove.
10320         * sysdeps/sh/sys: Remove directory.
10321
10322 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10323
10324         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10325         s390/sys/ucontext.h.
10326         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10327         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10328
10329 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10330
10331         [BZ #15605]
10332         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10333
10334 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10335
10336         [BZ#16431]
10337         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10338         Adjust the vDSO correctly for internal calls.
10339         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10340
10341 2014-01-20  Allan McRae  <allan@archlinux.org>
10342
10343         * po/ca.po: Update Catalan translation from translation project.
10344
10345 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10346
10347         * sysdeps/s390/sotruss-lib.c: New file.
10348
10349 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10350
10351         [BZ#16430]
10352         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10353         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10354         local calls issues by not having a PLT stub required for IFUNC calls.
10355         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10356
10357 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10358
10359         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10360         * math/test-fpucw-static.c: Likewise.
10361
10362 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10363
10364         [BZ #16453]
10365         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10366
10367 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10368
10369         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10370         implementation for powerpc.
10371
10372 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10373
10374         [BZ #14782]
10375         * sysdeps/posix/system.c (__libc_system): Do not enable
10376         asynchronous cancellation.
10377
10378 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10379
10380         [BZ #16427]
10381         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10382         handling only for numbers special also in the IEEE case.
10383
10384 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10385
10386         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10387
10388 2014-01-11  Allan McRae  <allan@archlinux.org>
10389
10390         * po/bg.po: Update Bulgarian translation from translation project.
10391
10392         * po/de.po: Update German translation from translation project.
10393
10394 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10395
10396         * sysdeps/generic/gcc-compat.h: New file.
10397
10398 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10399
10400         * benchtests/asin-inputs: Correct slow inputs.
10401         * benchtests/acos-inputs: Likewise.
10402
10403 2014-01-10  Allan McRae  <allan@archlinux.org>
10404
10405         * po:sv.po: Update Swedish translation from translation project.
10406
10407         * po/vi.po: Update Vietnamese translation from translation project.
10408
10409         * po/eo.po: Update Esperanto translation from translation project.
10410
10411         * po/cs.po: Update Czech translation from translation project.
10412
10413         * po/nl.po: Update Dutch translation from translation project.
10414
10415         * po/pl.po: Update Polish translation from translation project.
10416
10417         * po/ru.po: Update Russian translation from translation project.
10418
10419         * po/uk.po: Update Ukrainian translation from translation project.
10420
10421 2014-01-08  Brooks Moses  <bmoses@google.com>
10422
10423         * elf/dl-load.c: Fix comment typo.
10424
10425 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10426
10427         * po/header.pot: Rename to...
10428         * po/pot.header: ... this.
10429         * po/Makefile: Use pot.header.
10430
10431 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10432             Maxim Kuvyrkov  <maxim@kugelworks.com>
10433
10434         [BZ #16394]
10435         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10436         SRC and DEST against LEN.
10437
10438 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10439
10440         [BZ #16414]
10441         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10442         implementation.
10443         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10444
10445 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10446
10447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10448
10449 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10450
10451         [BZ #16408]
10452         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10453         for large positive arguments.
10454
10455 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10456
10457         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10458
10459         * math/auto-libm-test-in: Mark various tests with
10460         xfail-rounding:ldbl-128ibm.
10461         * math/auto-libm-test-out: Regenerated.
10462
10463         [BZ #16407]
10464         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10465         Increase overflow threshold.
10466
10467 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10468
10469         [BZ #14286]
10470         * stdio-common/vfprintf.c: Check for integer overflow.
10471
10472 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10473
10474         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10475         the first argument and return value of __tls_get_addr_internal.
10476
10477 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10478
10479         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10480         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10481
10482 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10483
10484         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10485         * sysdeps/s390/rtld-global-offsets.sym: New file.
10486         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10487         GLIBC_2.19 symbol.
10488         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10489         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10490         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10491         ... this.
10492         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10493         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10494         ... this.
10495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10496         Regenerate.
10497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10498         Regenerate.
10499         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10500         halfs of GPRs for high_gprs contexts.
10501         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10502         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10503         field.
10504         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10505         uc_flags field.
10506         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10507         64 bit versions:
10508         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10509         for high GPRs (uc_high_gprs) and for future extensions
10510         (__reserved).
10511         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10512         for future extensions (__reserved).
10513         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10514         64 bit versions:
10515         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10516         SC_HIGHGPRS offset definition.
10517         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10518         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10519
10520         * Versions.def: Add GLIBC_2.19 for libpthread.
10521         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10522         siglongjmp for libpthread with GLIBC_2.19 symver.
10523         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10524         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10525         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10526         * sysdeps/s390/__longjmp.c: New file.
10527         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10528         * sysdeps/s390/longjmp.c: New file.
10529         * sysdeps/s390/setjmp.S: New file.
10530         * sysdeps/s390/sigjmp.S: New file.
10531         * sysdeps/s390/v1-longjmp.c: New file.
10532         * sysdeps/s390/v1-setjmp.h: New file.
10533         * sysdeps/s390/v1-sigjmp.c: New file.
10534         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10535         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10536         GLIBC_2.19 version.
10537         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10538         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10539         versioned symbols for ____longjmp_chk.
10540         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10541         Likewise.
10542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10543         Regenerate.
10544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10545         Regenerate.
10546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10547         Regenerate.
10548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10549         Regenerate.
10550         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10551         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10552         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10553         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10554         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10555         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10556         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10557         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10558         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10559         * sysdeps/s390/rtld-__longjmp.c: New file.
10560         * sysdeps/s390/rtld-setjmp.S: New file.
10561
10562 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10563
10564         [BZ #16400]
10565         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10566         Return -__logl (x) for small positive arguments without evaluating
10567         a polynomial.
10568
10569 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10570
10571         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10572         Rename to ...
10573         (__ptrace_peeksiginfo_args): ... this.
10574         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10575         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10576         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10577
10578 2014-01-06  Allan McRae  <allan@archlinux.org>
10579
10580         * inet/netinet/in.h: Fix typo in comment.
10581
10582 2014-01-05  Andreas Jaeger  <aj@suse.de>
10583
10584         * sysdeps/i386/fpu/libm-test-ulps: Update.
10585
10586 2014-01-05  Allan McRae  <allan@archlinux.org>
10587
10588         * po/libc.pot: Regenerated.
10589
10590         * malloc/memusagestat.c: Fix gettext call formatting.
10591
10592 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10593
10594         * nscd/nscd.c: Improve usage() output.
10595
10596 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10597
10598         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10599         * sysdeps/unix/sysv/linux/configure: Regenerated.
10600         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10601         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10602
10603 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10604
10605         [BZ #16390]
10606         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10607         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10608
10609 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10610
10611         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10612         extra tokens at end of #undef directive.
10613         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10614         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10615         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10616
10617 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10618
10619         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10620
10621         * math/auto-libm-test-in: Mark various tests with
10622         xfail-rounding:ldbl-128ibm.
10623         * math/auto-libm-test-out: Regenerated.
10624
10625 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10626
10627         [BZ #16386]
10628         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10629         numbers with subnormal high part when calculating exponent.
10630
10631         [BZ #16385]
10632         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10633         fabs.
10634
10635         [BZ #16384]
10636         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10637         M_LN2l.
10638         (__ieee754_acoshl): Use __log1pl not __log1p.
10639
10640 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10641
10642         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10643         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10644         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10645         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10646         (reused_arena, arena_get2): Convert to GNU style.
10647         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10648         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10649         (memalign_check, __malloc_set_state): Likewise.
10650         * malloc/mallocbug.c (main): Likewise.
10651         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10652         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10653         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10654         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10655         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10656         (__posix_memalign, malloc_info): Likewise.
10657         * malloc/malloc.h: Likewise.
10658         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10659         (mallochook, memalignhook, reallochook, mabort): Likewise.
10660         * malloc/mcheck.h: Likewise.
10661         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10662         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10663         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10664         * malloc/morecore.c (__default_morecore): Likewise.
10665         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10666         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10667         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10668         (print_and_abort): Likewise.
10669         * malloc/obstack.h: Likewise.
10670         * malloc/set-freeres.c (__libc_freeres): Likewise.
10671         * malloc/tst-mallocstate.c (main): Likewise.
10672         * malloc/tst-mtrace.c (main): Likewise.
10673         * malloc/tst-realloc.c (do_test): Likewise.
10674
10675 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10676
10677         [BZ #16366]
10678         * nscd/netgroupcache.c (do_notfound): New function.
10679         (addgetnetgrentX): Use it.
10680
10681         [BZ # 16365]
10682         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10683         NSS_STATUS_NOTFOUND.
10684
10685 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10686
10687         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10689
10690 2014-01-01  Allan McRae  <allan@archlinux.org>
10691
10692         * scripts/update-copyrights: Update configure input file suffix.
10693
10694         * NEWS: Update copyright year.
10695         * catgets/gencat.c: Likewise.
10696         * csu/version.c: Likewise.
10697         * debug/catchsegv.sh: Likewise.
10698         * debug/pcprofiledump.c: Likewise.
10699         * debug/xtrace.sh: Likewise.
10700         * elf/ldconfig.c: Likewise.
10701         * elf/ldd.bash.in: Likewise.
10702         * elf/pldd.c: Likewise.
10703         * elf/sotruss.ksh: Likewise.
10704         * elf/sprof.c: Likewise.
10705         * iconv/iconv_prog.c: Likewise.
10706         * iconv/iconvconfig.c: Likewise.
10707         * locale/programs/locale.c: Likewise.
10708         * locale/programs/localedef.c: Likewise.
10709         * login/programs/pt_chown.c: Likewise.
10710         * malloc/memusage.sh: Likewise.
10711         * malloc/memusagestat.c: Likewise.
10712         * malloc/mtrace.pl: Likewise.
10713         * manual/libc.texinfo: Likewise.
10714         * nscd/nscd.c: Likewise.
10715         * nss/getent.c: Likewise.
10716         * nss/makedb.c: Likewise.
10717         * posix/getconf.c: Likewise.
10718         * scripts/test-installation.pl: Likewise.
10719
10720         * All files with FSF copyright notices: Update copyright dates
10721         using scripts/update-copyrights.
10722         * intl/plural.c: Regenerated.
10723         * locale/programs/charmap-kw.h: Likewise.
10724         * locale/programs/locfile-kw.h: Likewise.
10725
10726 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10727
10728         * sysdeps/unix/sysv/linux/configure: Regenerated.
10729         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10730         the linux/fanotify.h header.
10731         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10732         HAVE_LINUX_FANOTIFY_H is defined.
10733
10734 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10735
10736         * benchtests/cos-inputs: New inputs.
10737         * benchtests/sin-inputs: Likewise.
10738
10739         * benchtests/atan-inputs: New inputs. Fix name of multiple
10740         precision fallback inputs.
10741
10742         * benchtests/atanh-inputs: New inputs.
10743         * benchtests/tanh-inputs: Likewise.
10744
10745         * benchtests/acosh-inputs: New inputs.
10746         * benchtests/asinh-inputs: Likewise.
10747
10748         * benchtests/cosh-inputs: New inputs.
10749         * benchtests/sinh-inputs: Likewise.
10750
10751         * benchtests/acos-inputs: Add more inputs.
10752         * benchtests/asin-inputs: Likewise.
10753
10754 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10755
10756         [BZ #16375]
10757         * manual/arith.texi: Fix spelling.
10758         * manual/charset.texi: Likewise.
10759         * manual/errno.texi: Likewise.
10760         * manual/filesys.texi: Likewise.
10761         * manual/lang.texi: Likewise.
10762         * manual/llio.texi: Likewise.
10763         * manual/locale.texi: Likewise.
10764         * manual/message.texi: Likewise.
10765         * manual/resource.texi: Likewise.
10766         * manual/search.texi: Likewise.
10767         * manual/setjmp.texi: Likewise.
10768         * manual/stdio.texi: Likewise.
10769         * manual/string.texi: Likewise.
10770         * manual/sysinfo.texi: Likewise.
10771         * manual/time.texi: Likewise.
10772
10773 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10774
10775         * po/sl.po: New file.
10776
10777 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10778
10779         * .gitignore: Add core/.gdbinit/.gdb_history.
10780
10781 2013-12-27  Allan McRae  <allan@archlinux.org>
10782
10783         [BZ #16369]
10784         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10785         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10786
10787 2013-12-24  Brooks Moses  <bmoses@google.com>
10788
10789         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10790         all compilers that claim C++98 compliance, not just GCC.
10791         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10792         Likewise.
10793
10794 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10795
10796         * NEWS: Restore accidentally deleted bug-fix entries.
10797
10798 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10799             Ondřej Bílka  <neleai@seznam.cz>
10800
10801         [BZ #15073]
10802         * malloc/malloc.c (_int_free): Perform sanity check only if we
10803         have_lock.
10804
10805 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10806
10807         [BZ #12986]
10808         * manual/stdio.texi (String Input Conversions): Clarify that character
10809         classes are not supported.
10810
10811 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10812
10813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10814
10815 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10816
10817         [BZ #16337]
10818         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10819         Calculate results for small negative arguments directly rather
10820         than using reflection formula with special underflow handling.
10821
10822         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10823         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10824         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10825         (fchflags): Likewise.
10826         (revoke): Likewise.
10827         (setlogin): Likewise.
10828         (sigaltstack): Likewise.
10829         (wait4): Likewise.
10830         (sigblock): Remove.
10831         (sigsetmask): Likewise.
10832         (wait3): Likewise.
10833         (waitpid): Likewise.
10834         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10835         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10836         file.
10837         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10838         * sysdeps/unix/bsd/Makefile: ... here.
10839         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10840         * sysdeps/unix/bsd/Versions: ... here.
10841         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10842         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10843         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10844         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10845         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10846         * sysdeps/unix/bsd/sigblock.c: ... here.
10847         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10848         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10849         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10850         * sysdeps/unix/bsd/sigvec.c: ... here.
10851         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10852         * sysdeps/unix/bsd/tcdrain.c: ... here.
10853         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10854         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10855         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10856         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10857         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10858         * sysdeps/unix/bsd/wait.c: ... here.
10859         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10860         * sysdeps/unix/bsd/wait3.c: ... here.
10861         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10862         * sysdeps/unix/bsd/waitpid.c: ... here.
10863
10864 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10865
10866         [BZ #16356]
10867         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10868         round-to-nearest for [!USE_AS_EXPM1L].
10869         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10870         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10871         more tests of exp and exp10.  Expect some exp10 tests to miss
10872         exceptions or fail in directed rounding modes.
10873         * math/auto-libm-test-out: Regenerated.
10874         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10875         (exp10_test_tonearest): New function.
10876         (exp10_towardzero_test_data): New array.
10877         (exp10_test_towardzero): New function.
10878         (exp10_downward_test_data): New array.
10879         (exp10_test_downward): New function.
10880         (exp10_upward_test_data): New array.
10881         (exp10_test_upward): New function.
10882         (main): Call the new functions.
10883         * sysdeps/i386/fpu/libm-test-ulps: Update.
10884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10885
10886 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10887
10888         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10889         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10890         * math/auto-libm-test-out: Regenerated.
10891         * math/libm-test.inc (acosh_test_data): Add more tests.
10892         (atanh_test_data): Likewise.
10893         (ceil_test_data): Likewise.
10894         (copysign_test_data): Likewise.
10895         * sysdeps/i386/fpu/libm-test-ulps: Update.
10896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10897
10898         * timezone/checktab.awk: Update from tzcode 2013i.
10899         * timezone/private.h: Likewise.
10900         * timezone/scheck.c: Likewise.
10901         * timezone/tzfile.h: Likewise.
10902         * timezone/tzselect.ksh: Likewise.
10903         * timezone/zdump.c: Likewise.
10904         * timezone/zic.c: Likewise.
10905
10906         * math/auto-libm-test-in: Add tests of cpow.
10907         * math/auto-libm-test-out: Regenerated.
10908         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10909         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10910         mpc_cc_c.
10911         (func_calc_desc): Add mpc_cc_c union field.
10912         (test_functions): Add cpow.
10913         (special_fill_2pi): New function.
10914         (special_real_inputs): Add 2pi.
10915         (calc_generic_results): Handle mpc_cc_c.
10916         * sysdeps/i386/fpu/libm-test-ulps: Update.
10917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10918
10919         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10920         csqrt, ctan and ctanh.
10921         * math/auto-libm-test-out: Regenerated.
10922         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10923         (TEST_COND_x86): Likewise.
10924         (ccos_test_data): Use AUTO_TESTS_c_c.
10925         (ccosh_test_data): Likewise.
10926         (cexp_test_data): Likewise.
10927         (clog_test_data): Likewise.
10928         (csqrt_test_data): Likewise.
10929         (ctan_test_data): Likewise.
10930         (ctan_tonearest_test_data): Likewise.
10931         (ctan_towardzero_test_data): Likewise.
10932         (ctan_downward_test_data): Likewise.
10933         (ctan_upward_test_data): Likewise.
10934         (ctanh_test_data): Likewise.
10935         (ctanh_tonearest_test_data): Likewise.
10936         (ctanh_towardzero_test_data): Likewise.
10937         (ctanh_downward_test_data): Likewise.
10938         (ctanh_upward_test_data): Likewise.
10939         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10940         mpc_c_c.
10941         (func_calc_desc): Add mpc_c_c union field.
10942         (FUNC_mpc_c_c): New macro.
10943         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10944         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10945         ctanh.
10946         (special_fill_min_subnorm_p120): New function.
10947         (special_real_inputs): Add min_subnorm_p120.
10948         (calc_generic_results): Handle mpc_c_c.
10949         * sysdeps/i386/fpu/libm-test-ulps: Update.
10950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10951
10952 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10953
10954         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10955         (do_sin_slow): New functions.
10956         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10957         (cslow2, csloww1, csloww2): Use the new functions.
10958
10959         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10960         Use M to change sign of result instead of X.  Assume X is
10961         positive.
10962         (csloww1): Likewise.
10963         (__sin): Adjust.
10964         (__cos): Adjust.
10965
10966         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10967         arguments A and DA.
10968         (__sin): Adjust.
10969         (__cos): Likewise.
10970
10971         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10972         (__cos): Likewise.
10973         (sloww1): Don't adjust sign of DX.
10974         (csloww1): Likewise.
10975         (sloww2): Use X directly and don't adjust sign of DX.
10976         (csloww2): Likewise.
10977
10978 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10979
10980         * math/auto-libm-test-in: Add tests of cabs and carg.
10981         * math/auto-libm-test-out: Regenerated.
10982         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10983         (carg_test_data): Likewise.
10984         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10985         mpc_c_f.
10986         (func_calc_desc): Add mpc_c_f union field.
10987         (test_functions): Add cabs and carg.
10988         (calc_generic_results): Handle mpc_c_f.
10989
10990         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10991         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10992         as a macro and a compat symbol.
10993         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10994         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10995         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10996         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10997         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10998         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10999         not use .hidden.
11000         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11001         Likewise.
11002         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11003         Likewise.
11004         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11005         Likewise.
11006         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11007         Likewise.
11008         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11009         Likewise.
11010         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11011         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11012         from GLIBC_2.3.2.
11013
11014 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11015
11016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11017
11018 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11019
11020         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11021         trailing whitespace removed.
11022         * scripts/config.guess: Update to version 2013-11-29.
11023         * scripts/config.sub: Update to version 2013-10-01.
11024
11025         * math/auto-libm-test-in: Add tests of sincos.
11026         * math/auto-libm-test-out: Regenerated.
11027         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11028         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11029         mpfr_f_11.
11030         (func_calc_desc): Add mpfr_f_11 union field.
11031         (test_functions): Add sincos.
11032         (calc_generic_results): Handle mpfr_f_11.
11033         * sysdeps/i386/fpu/libm-test-ulps: Update.
11034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11035
11036 2013-12-19  Andreas Schwab  <schwab@suse.de>
11037
11038         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11039         CALL_MCOUNT.
11040         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11041         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11042         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11043
11044 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11045
11046         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11047         * sysdeps/i386/fpu/libm-test-ulps: Update.
11048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11049
11050         [BZ #16293]
11051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11052         round-to-nearest mode when using frndint.
11053         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11054         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11055         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11056         Likewise.
11057         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11058         sinh test to fail.
11059         * math/auto-libm-test-out: Regenerated.
11060         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11061         (TEST_COND_x86): Likewise.
11062         (expm1_tonearest_test_data): New array.
11063         (expm1_test_tonearest): New function.
11064         (expm1_towardzero_test_data): New array.
11065         (expm1_test_towardzero): New function.
11066         (expm1_downward_test_data): New array.
11067         (expm1_test_downward): New function.
11068         (expm1_upward_test_data): New array.
11069         (expm1_test_upward): New function.
11070         (main): Run the new test functions.
11071         * sysdeps/i386/fpu/libm-test-ulps: Update.
11072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11073
11074         * include/features.h: Update comment documenting feature test
11075         macros.  Mention _DEFAULT_SOURCE in comment.
11076         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11077         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11078         _BSD_SOURCE and _SVID_SOURCE.
11079         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11080         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11081         !_SVID_SOURCE]: Likewise.
11082         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11083         (__USE_POSIX_IMPLICITLY): Define.
11084         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11085         (_POSIX_SOURCE): Undefine and redefine.
11086         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11087         (_POSIX_C_SOURCE): Likewise.
11088         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11089         (Feature Test Macros): Update documentation of default features.
11090
11091 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11092
11093         * benchtests/Makefile: Add bench-strtok.
11094         * benchtests/bench-strtok.c: New file: strtok benchtest.
11095
11096 2013-12-19  Allan McRae  <allan@archlinux.org>
11097
11098         * manual/install.texi: Suppress menu for plain text output.
11099         * INSTALL: Regenerated.
11100
11101 2013-12-18  Brooks Moses  <bmoses@google.com>
11102
11103         [BZ #15846]
11104         * misc/getauxval.c: Include errno.h.
11105         (__getauxval): Set errno to ENOENT if the requested type is not
11106         found.
11107         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11108         don't declare with __attribute_const__.
11109         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11110         * manual/startup.texi: Document that getauxval sets errno.
11111
11112 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11113
11114         * math/auto-libm-test-in: Add tests of jn and yn.
11115         * math/auto-libm-test-out: Regenerated.
11116         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11117         (yn_test_data): Likewise.
11118         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11119         mpfr_if_f.
11120         (func_calc_desc): Add mpfr_if_f union field.
11121         (FUNC_mpfr_if_f): New macro.
11122         (test_functions): Add jn and yn.
11123         (calc_generic_results): Assert type of second input for
11124         mpfr_ff_f.  Handle mpfr_if_f.
11125         (output_for_one_input_case): Disable all checking for arguments
11126         fitting floating-point types in case of an integer argument.
11127         * sysdeps/i386/fpu/libm-test-ulps: Update.
11128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11129
11130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11131         Don't expect fegetround reference in libm.so.
11132
11133 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11134
11135         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11136         $(config-cflags-nofma).
11137
11138 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11139
11140         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11141         * math/auto-libm-test-out: Regenerated.
11142
11143         [BZ #16338]
11144         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11145         to determine exponent and adjust argument to have exponent of -1.
11146         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11147         log2.
11148         * math/auto-libm-test-out: Regenerated.
11149         * sysdeps/i386/fpu/libm-test-ulps: Update.
11150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11151
11152 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11153
11154         * manual/probes.texi: Remove cases when per-thread arenas are
11155         disabled.
11156
11157 2013-12-18  Andreas Schwab  <schwab@suse.de>
11158
11159         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11160         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11161         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11162         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11163         * sysdeps/i386/i686/multiarch/Makefile: Update.
11164         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11165
11166 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11167
11168         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11169         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11170
11171 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11172
11173         [BZ #15968]
11174         Support TZ transition times < 00:00:00.
11175         This is needed for version-3 tz-format files; it supports time
11176         stamps past 2037 for America/Godthab (the only entry in the tz
11177         database for which this change is relevant).
11178         * manual/time.texi (TZ Variable): Document transition times
11179         from -167:59:59 through -00:00:01.
11180         * time/tzset.c (tz_rule): Time of day is now signed.
11181         (__tzset_parse_tz): Parse negative time of day.
11182
11183         Document TZ transition times >= 25:00:00.
11184         * manual/time.texi (TZ Variable): Document transition times from
11185         25:00:00 through 167:59:59.  These are already supported, and this
11186         support will help with version-3 tz-format files.
11187
11188         * manual/time.texi (TZ Variable): Modernize North America example
11189         to reflect current (i.e., 2007-and-later) daylight saving rules.
11190
11191         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11192
11193 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11194
11195         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11196         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11198         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11199         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11200         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11201         * sysdeps/unix/bsd/clock.c: Likewise.
11202         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11203         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11204         * sysdeps/unix/bsd/init-posix.c: Likewise.
11205         * sysdeps/unix/bsd/poll.c: Likewise.
11206         * sysdeps/unix/bsd/ptsname.c: Likewise.
11207         * sysdeps/unix/bsd/seekdir.c: Likewise.
11208         * sysdeps/unix/bsd/setegid.c: Likewise.
11209         * sysdeps/unix/bsd/seteuid.c: Likewise.
11210         * sysdeps/unix/bsd/setgid.c: Likewise.
11211         * sysdeps/unix/bsd/setrgid.c: Likewise.
11212         * sysdeps/unix/bsd/setruid.c: Likewise.
11213         * sysdeps/unix/bsd/setsid.c: Likewise.
11214         * sysdeps/unix/bsd/setuid.c: Likewise.
11215         * sysdeps/unix/bsd/sigaction.c: Likewise.
11216         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11217         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11218         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11219         * sysdeps/unix/bsd/telldir.c: Likewise.
11220         * sysdeps/unix/bsd/times.c: Likewise.
11221         * sysdeps/unix/bsd/usleep.c: Likewise.
11222
11223         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11224         ($(objpfx)libbsd-compat.a): Remove rule.
11225
11226         * include/features.h (__FAVOR_BSD): Do not define.
11227         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11228         features conflicting with POSIX.
11229         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11230         (_BSD_SOURCE): Remove description of not being a subset of other
11231         feature test macros.
11232         * manual/job.texi (getpgrp): Do not document BSD version.
11233         (getpgid): Do not document by reference to BSD getpgrp.
11234         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11235         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11236         * signal/signal.h [__FAVOR_BSD]: Likewise.
11237         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11238         instead of making contents conditional on [__FAVOR_BSD].
11239         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11240
11241 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11242
11243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11244
11245 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11246
11247         [BZ #16314]
11248         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11249         values below 2**-450, not 2**-500.
11250         * math/auto-libm-test-in: Don't allow spurious underflow from
11251         hypot.
11252         * math/auto-libm-test-out: Regenerated.
11253
11254         [BZ #16316]
11255         [BZ #16330]
11256         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11257         values of ha and hb and sort them after adjusting subnormal
11258         arguments.
11259         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11260         Likewise.
11261         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11262         values of ea and eb and sort them after adjusting subnormal
11263         arguments.
11264         * math/auto-libm-test-in: Do not expect some hypot tests of
11265         subnormals to fail.  Add more hypot tests.
11266         * math/auto-libm-test-out: Regenerated.
11267
11268 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11269
11270         [BZ #13304]
11271         * sysdeps/sh/s_fma.c: New file.
11272         * sysdeps/sh/s_fmaf.c: New file.
11273         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11274         version.
11275         * sysdeps/sh/Implies: Add sh/soft-fp.
11276
11277 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11278
11279         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11280         level of indirection to members `objname', `errstring', `malloced'.
11281         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11282         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11283         it as the __longjmp argument (just pass 1 instead).
11284         (_dl_catch_error): Initialize C with argument pointers and address of
11285         volatile local ERRCODE rather than copying values out of C at return.
11286
11287 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11288
11289         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11290         * math/auto-libm-test-out: Regenerated.
11291         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11292         (hypot_test_data): Likewise.
11293         (pow_test_data): Likewise.
11294         (pow_tonearest_test_data): Likewise.
11295         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11296         mpfr_ff_f.
11297         (func_calc_desc): Add mpfr_ff_f union field.
11298         (FUNC_mpfr_ff_f): New macro.
11299         (test_functions): Add atan2, hypot and pow.
11300         (special_fill_min): New function.
11301         (special_fill_minus_min): Likewise.
11302         (special_fill_min_subnorm): Likewise.
11303         (special_fill_minus_min_subnorm): Likewise.
11304         (special_real_inputs): Add min, -min, min_subnorm and
11305         -min_subnorm.
11306         (calc_generic_results): Handle mpfr_ff_f.
11307         * sysdeps/i386/fpu/libm-test-ulps: Update.
11308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11309
11310 2013-12-16  Will Newton  <will.newton@linaro.org>
11311
11312         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11313         (Aligned Memory Blocks): Add documentation for aligned_alloc
11314         and suggest it as an alternative to posix_memalign.
11315         (Hooks for Malloc): Document __memalign_hook is also called
11316         for aligned_alloc.  (Summary of Malloc): Add summary for
11317         aligned alloc.  Document __memalign_hook is also called
11318         for aligned_alloc.
11319
11320 2013-12-16  Will Newton  <will.newton@linaro.org>
11321
11322         * manual/memory.texi (Malloc Examples): Clarify default
11323         alignment documentation.  Suggest posix_memalign rather
11324         than memalign or valloc.
11325         (Aligned Memory Blocks): Remove suggestion to use memalign
11326         or valloc.  Remove obsolete comment about BSD.
11327         Document memalign errno values and mark the function obsolete.
11328         Document posix_memalign returned error codes.  Mark valloc
11329         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11330         called for posix_memalign and valloc.
11331         (Summary of Malloc): Add posix_memalign to function summary.
11332         __memalign_hook is also called for posix_memalign and valloc.
11333
11334 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11335
11336         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11337         TAYLOR_SIN.
11338         (__sin): Adjust.
11339         (__cos): Likewise.
11340         (sloww): Use mynumber union.  Expand ternary operator into
11341         if-else statements.
11342         (cslow): use mynumber union.
11343
11344 2013-12-16  Allan McRae  <allan@archlinux.org>
11345
11346         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11347         * configure: Regenerated.
11348
11349         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11350
11351         [BZ #14120]
11352         * configure.ac: Added --enable-maintainer-mode. Check for
11353         autoconf when enabled.
11354         * configure: Regenerated.
11355
11356         * nscd/nscd.service: New file.
11357         * nscd/nscd.tmpfiles: New file.
11358
11359 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11360
11361         [BZ #12100]
11362         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11363         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11364         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11365         (strstr): Add __strstr_sse2_unaligned ifunc.
11366         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11367         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11368         (strcasestr): Remove __strcasestr_sse42 ifunc.
11369         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11372
11373 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11374
11375         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11376         * sysdeps/sh/bits/fenv.h: ... here.
11377         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11378
11379 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11380
11381         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11382
11383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11384         hypotf multiarch implementations.
11385         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11386         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11387         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11388         multiarch hypot for PPC64.
11389         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11390         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11391         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11392         multiarch hypotf for PPC64.
11393
11394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11395         modff multiarch implementations.
11396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11399         multiarch modf for PPC64.
11400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11403         multiarch modff for PPC64.
11404
11405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11406         and logl multiarch implementations.
11407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11410         multiarch logb for PPC64.
11411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11414         multiarch logb for PPC64.
11415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11418         multiarch logb for PPC64.
11419
11420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11421         isinff multiarch implementation.
11422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11423         file.
11424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11426         multiarch isinf for PPC64.
11427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11428         file.
11429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11430         multiarch isinff for PPC64.
11431
11432         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11433         finitef multiarch implementation.
11434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11435         file.
11436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11438         multiarch finite for PPC64.
11439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11440         file.
11441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11442         multiarch finitef for PPC64.
11443
11444         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11445         lrint multiarch implementation.
11446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11447         file.
11448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11450         multiarch llrint for PPC64.
11451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11452         multiarch lrint for PPC64.
11453
11454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11455         copysignf multiarch implementation.
11456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11457         file.
11458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11459         file.
11460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11461         multiarch copysign for PPC64.
11462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11463         multiarch copysignf for PPC64.
11464
11465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11466         multiarch implementation.
11467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11468         file.
11469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11470         file.
11471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11472         file.
11473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11474         file.
11475         multiarch llround for PPC64.
11476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11477         multiarch trunc for PPC64.
11478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11479         multiarch truncf for PPC64.
11480
11481         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11482         multiarch implementation.
11483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11484         file.
11485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11486         file.
11487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11488         file.
11489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11490         file.
11491         multiarch llround for PPC64.
11492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11493         multiarch round for PPC64.
11494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11495         multiarch roundf for PPC64.
11496
11497         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11498         multiarch implementation.
11499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11500         file.
11501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11502         file.
11503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11504         file.
11505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11506         file.
11507         multiarch llround for PPC64.
11508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11509         multiarch floor for PPC64.
11510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11511         multiarch floorf for PPC64.
11512
11513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11514         multiarch implementation.
11515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11516         file.
11517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11518         file.
11519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11520         file.
11521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11522         file.
11523         multiarch llround for PPC64.
11524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11525         multiarch ceil for PPC64.
11526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11527         multiarch ceilf for PPC64.
11528
11529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11530         multiarch implementation.
11531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11532         file.
11533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11534         file.
11535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11536         file.
11537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11538         multiarch llround for PPC64.
11539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11540         multiarch lround for PPC64.
11541
11542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11543         multiarch implementation.
11544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11547         file.
11548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11551         multiarch isnan for PPC64.
11552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11553         multiarch isnanf for PPC64.
11554
11555         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11556         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11557         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11558         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11559         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11561
11562         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11563         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11564         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11565         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11566
11567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11568         multiarch implementations.
11569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11570         (__libc_ifunc_impl_list): Likewise.
11571         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11572         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11573         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11574         multiarch stpcpy for PPC64.
11575
11576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11577         multiarch implementations.
11578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11579         (__libc_ifunc_impl_list): Likewise.
11580         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11581         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11582         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11583         multiarch strcpy for PPC64.
11584
11585         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11586         redefine function name.
11587         (_wordcopy_fwd_dest_aligned): Likewise.
11588         (_wordcopy_bwd_aligned): Likewise.
11589         (_wordcopy_bwd_dest_aligned): Likewise.
11590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11591         multiarch implementations.
11592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11593         (__libc_ifunc_impl_list): Likewise.
11594         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11595         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11596         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11597         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11598         multiarch wcscpy for PPC64.
11599
11600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11601         multiarch implementations.
11602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11603         (__libc_ifunc_impl_list): Likewise.
11604         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11605         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11606         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11607         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11608         multiarch wcscpy for PPC64.
11609
11610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11611         multiarch implementations.
11612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11613         (__libc_ifunc_impl_list): Likewise.
11614         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11615         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11616         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11617         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11618         multiarch wcsrchr for PPC64.
11619
11620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11621         multiarch implementations.
11622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11623         (__libc_ifunc_impl_list): Likewise.
11624         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11625         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11626         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11627         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11628         multiarch wcschr for PPC64.
11629
11630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11631         multiarch implementations.
11632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11633         (__libc_ifunc_impl_list): Likewise.
11634         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11635         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11636         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11637         multiarch strchrnul for PPC64.
11638
11639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11640         implementations.
11641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11642         (__libc_ifunc_impl_list): Likewise.
11643         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11644         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11645         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11646         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11647         strchr for PPC64.
11648
11649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11650         implementations.
11651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11652         (__libc_ifunc_impl_list): Likewise.
11653         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11654         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11655         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11656         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11657         strncmp for PPC64.
11658
11659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11660         multiarch implementations.
11661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11662         (__libc_ifunc_impl_list): Likewise.
11663         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11664         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11665         strncasecmp for PPC64.
11666         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11667         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11668         multiarch strncasecmp_l for PPC64.
11669
11670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11671         multiarch implementations.
11672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11673         (__libc_ifunc_impl_list): Likewise.
11674         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11675         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11676         multiarch strcasecmp for PPC64.
11677         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11678         file.
11679         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11680         multiarch strcasecmp_l for PPC64.
11681
11682         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11683         implementations.
11684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11685         (__libc_ifunc_impl_list): Likewise.
11686         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11687         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11688         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11689         strnlen for PPC64.
11690
11691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11692         implementations.
11693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11694         (__libc_ifunc_impl_list): Likewise.
11695         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11696         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11697         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11698         strlen for PPC64.
11699
11700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11701         implementations.
11702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11703         (__libc_ifunc_impl_list): Likewise.
11704         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11705         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11706         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11707         rawmemrchr for PPC64.
11708
11709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11710         implementation.
11711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11712         (__libc_ifunc_impl_list): Likewise.
11713         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11714         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11715         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11716         memrchr for PPC64.
11717
11718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11719         implementation.
11720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11721         (__libc_ifunc_impl_list): Likewise.
11722         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11723         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11724         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11725         memchr for PPC64.
11726
11727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11728         implementation.
11729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11730         (__libc_ifunc_impl_list): Likewise.
11731         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11732         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11733         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11734         mempcpy for PPC64.
11735
11736         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11737         avoid cretion of __bzero symbol.
11738         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11739         Likewise.
11740         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11741         Likewise.
11742         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11743         Likewise.
11744         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11745         multiarch implementations.
11746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11747         (__libc_ifunc_impl_list): Likewise.
11748         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11749         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11750         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11751         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11752         bzero for PPC32.
11753         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11754         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11755         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11756         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11757         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11758         memset for PPC64.
11759         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11760
11761         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11763         implementations.
11764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11765         (__libc_ifunc_impl_list): Likewise.
11766         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11767         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11768         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11769         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11770         memcmp for PPC64.
11771
11772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11773         multiarch for POWER/PPC64.
11774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11775         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11776         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11777         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11778         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11779         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11780         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11781         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11782         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11783         memcpy for PPC64.
11784
11785         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11786         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11787         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11788         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11789         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11790         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11791         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11792         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11793         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11794         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11795         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11796         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11797         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11798         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11799         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11807
11808 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11809
11810         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11811
11812 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11813
11814         * benchtests/Makefile (bench): Add exp2 and log2.
11815         (LDLIBS-bench-exp2): Add -lm.
11816         (LDLIBS-bench-log2): Likewise.
11817         * benchtests/exp2-inputs: New inputs file.
11818         * benchtests/log2-inputs: New inputs file.
11819         * benchtests/log-inputs: Add new inputs.
11820         * benchtests/tan-inputs: Likewise.
11821
11822 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11823
11824         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11825         definition...
11826         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11827         (csloww2): ... from here.
11828
11829         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11830         instead of structures.
11831         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11832         (POLYNOMIAL): Likewise.
11833         (TAYLOR_SLOW): Likewise.
11834         (__sin): Likewise.
11835         (__cos): Likewise.
11836         (slow1): Likewise.
11837         (slow2): Likewise.
11838         (sloww): Likewise.
11839         (sloww1); Likewise.
11840         (sloww2): Likewise.
11841         (bsloww1): Likewise.
11842         (bsloww2): Likewise.
11843         (cslow2): Likewise.
11844         (csloww): Likewise.
11845         (csloww1): Likewise.
11846         (csloww2): Likewise.
11847
11848 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11849
11850         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11851         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11852         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11853         * malloc/hooks.c (realloc_check): Likewise.
11854
11855         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11856         * malloc/arena.c: Remove PER_THREAD conditional.
11857         [!PER_THREAD]: Remove code.
11858         (ptmalloc_unlock_all2): Likewise.
11859         (ptmalloc_init): Likewise.
11860         (_int_new_arena): Likewise.
11861         (arena_get2): Likewise.
11862         * malloc/hooks.c (__malloc_get_state): Likewise.
11863         (__malloc_set_state): Likewise.
11864         * malloc/malloc.c: Likewise.
11865         (struct malloc_state): Likewise.
11866         (struct malloc_par): Likewise.
11867         (__libc_realloc): Likewise.
11868         (__libc_mallopt): Likewise.
11869
11870 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11871
11872         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11873
11874 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11875
11876         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11877         macro to a function.  Check for zero perturb_byte.
11878         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11879
11880         * malloc/malloc.c: (force_reg): Remove.
11881         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11882         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11883         force_reg by atomic_forced_read.
11884         * malloc/arena.c (ptmalloc_init): Likewise.
11885         * malloc/hooks.c (top_check): Likewise.
11886
11887 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11888
11889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11890
11891 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11892
11893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11894
11895 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11896
11897         * math/auto-libm-test-in: Add tests of lgamma.
11898         * math/auto-libm-test-out: Regenerated.
11899         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11900         (M_LOG_2_SQRT_PIl): Likewise.
11901         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11902         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11903         mpfr_f_f1.
11904         (func_calc_desc): Add mpfr_f_f1 union field.
11905         (ARGS1): New macro.
11906         (ARGS2): Likewise.
11907         (ARGS3): Likewise.
11908         (ARGS4): Likewise.
11909         (RET1): Likewise.
11910         (RET2): Likewise.
11911         (CALC): Likewise.
11912         (FUNC): Likewise.
11913         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11914         (test_functions): Add lgamma.
11915         (calc_generic_results): Handle mpfr_f_f1.
11916         * sysdeps/i386/fpu/libm-test-ulps: Update.
11917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11918
11919 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11920
11921         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11922         __mpn_add_n for PowerPC64/POWER7.
11923         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11924         __mpn_sub_n for PowerPC64/POWER7.
11925
11926         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11927         __mpn_addmul_1 for PowerPC64.
11928         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11929         __mpn_submul_1 for PowerPC64.
11930         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11931         for PowerPC64.
11932         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11933         for PowerPC64.
11934
11935 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11936
11937         [BZ #15089]
11938         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11939
11940 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11941
11942         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11943
11944         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11945         add multiarch folders.
11946         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11947         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11948         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11949         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11950         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11951         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11952         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11953         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11954         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11955         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11956         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11963
11964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11965         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11967         New file.
11968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11969         New file.
11970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11971         multiarch __ieee754_hypot for PowerPC32.
11972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11973         New file.
11974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11975         New file.
11976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11977         multiarch __ieee754_hypotf for PowerPC32.
11978
11979         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11980         long_double_symbol only if __logbl is defined.
11981         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11982         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11984         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11986         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11987         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11988         path for implementation.
11989         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11990         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11992         logb, and logbl multiarch implementations for PowerPC32.
11993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11994         file.
11995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11996         file.
11997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11998         multiarch logb for PowerPC32.
11999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12000         file.
12001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12002         file.
12003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12004         multiarch logbf for PowerPC32.
12005         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12007         file.
12008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12009         multiarch logbl implementation for PowerPC32.
12010
12011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12012         and modff multiarch implementations.
12013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12014         New file.
12015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12016         New file.
12017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12018         multiarch modf for PowerPC32.
12019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12020         New file.
12021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12022         New file.
12023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12024         multiarch modff for PowerPC32.
12025
12026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12027         and lrintf multiarch implementations.
12028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12029         New file.
12030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12031         New file.
12032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12033         multiarch lrint for PowerPC32.
12034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12035         file: multiarch lrintf for PowerPC32.
12036
12037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12038         and lroundf multiarch implementations.
12039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12040         New file.
12041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12042         New file.
12043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12044         New file.
12045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12046         multiarch lround for PowerPC32.
12047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12048         file: multiarch lroundf for PowerPC32.
12049
12050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12051         copysign and copysignf multiarch implementations.
12052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12053         New file.
12054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12055         New file.
12056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12057         file: multiarch copysign for PowerPC32.
12058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12059         file: multiarch copysignf for PowerPC32.
12060
12061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12062         and truncf multiarch implementations.
12063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12064         New file.
12065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12066         file.
12067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12068         multiarch trunc for PowerPC32.
12069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12070         New file.
12071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12072         New file.
12073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12074         multiarch truncf for PowerPC32.
12075
12076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12077         and roundf multiarch implementations.
12078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12079         New file.
12080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12081         file.
12082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12083         multiarch round for PowerPC32.
12084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12085         New file.
12086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12087         New file.
12088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12089         multiarch roundf for PowerPC32.
12090
12091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12092         and floorf multiarch implementations.
12093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12094         New file.
12095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12096         file.
12097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12098         multiarch floor for PowerPC32.
12099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12100         New file.
12101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12102         New file.
12103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12104         multiarch floorf for PowerPC32.
12105
12106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12107         and ceilf multiarch implementations.
12108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12109         New file.
12110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12111         file.
12112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12113         multiarch ceil for PowerPC32.
12114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12115         New file.
12116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12117         file.
12118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12119         multiarch ceilf for PowerPC32.
12120
12121         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12122         is defined.
12123         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12124         FINITEF is defined.
12125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12126         and finitef multiarch implementations.
12127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12128         New file.
12129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12130         file.
12131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12132         multiarch finite for PowerPC32.
12133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12134         New file.
12135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12136         file: multiarch finitef for PowerPC32.
12137
12138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12139         and isinff multiarch implementations.
12140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12141         file.
12142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12143         file.
12144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12145         multiarch isinf for PowerPC32.
12146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12147         New file.
12148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12149         multiarch isinff for PowerPC32.
12150
12151         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12152         alias when __isnan is defined.
12153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12154         and isnanf multiarch implementations.
12155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12156         file.
12157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12158         file.
12159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12160         file.
12161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12162         file.
12163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12164         multiarch isnan for PowerPC32.
12165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12166         New file.
12167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12168         New file.
12169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12170         multiarch isnanf for PowerPC32.
12171
12172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12173         and sqrtf multiarch implementations.
12174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12175         file.
12176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12177         file.
12178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12179         multiarch sqrt for PowerPC32.
12180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12181         file.
12182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12183         file.
12184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12185         multiarch sqrtf for PowerPC32.
12186
12187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12188         and llroundf multiarch implementations.
12189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12190         New file.
12191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12192         New file.
12193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12194         New file.
12195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12196         file: multiarch llround for PowerPC32.
12197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12198         file: multiarch llroundf for PowerPC32.
12199
12200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12201         multiarch PowerPC32 fpu implementations.
12202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12203         New file.
12204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12205         New file.
12206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12207         multiarch llrint for PowerPC32.
12208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12209         New file.
12210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12211         New file.
12212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12213         file.
12214
12215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12216
12217         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12218         file.
12219         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12220         file.
12221         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12222         file.
12223         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12224         multiarch wordcopy for PPC32.
12225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12226         wordcopy objects.
12227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12228         (__libc_ifunc_impl_list): Likewise.
12229         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12230         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12231         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12232         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12233         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12234         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12235
12236         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12238         file.
12239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12240         file.
12241         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12242         file.
12243         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12244         multiarch wcscpy for PPC32.
12245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12246         multiarch objects.
12247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12248         (__libc_ifunc_impl_list): Likewise.
12249         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12250         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12251         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12252         sysdeps/powerpc/power6/wcscpy.c.
12253
12254         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12255         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12256         file.
12257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12258         file.
12259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12260         file.
12261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12262         multiarch wcsrchr for PPC32.
12263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12264         multiarch objects.
12265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12266         (__libc_ifunc_impl_list): Likewise.
12267         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12268         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12269         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12270         sysdeps/powerpc/power6/wcsrchr.c.
12271
12272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12273         file.
12274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12275         file.
12276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12278         multiarch wcschr for PPc32.
12279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12280         multiarch objects.
12281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12282         (__libc_ifunc_impl_list): Likewise.
12283         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12284         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12285         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12286         sysdeps/powerpc/power6/wcschr.c.
12287
12288         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12289         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12290         file.
12291         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12292         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12293         file: multiarch strchr for PPC32.
12294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12295         multiarch objects.
12296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12297         (__libc_ifunc_impl_list): Likewise.
12298
12299         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12300         name.
12301         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12302         file.
12303         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12304         file.
12305         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12306         multiarch strchrnul for PPC32.
12307         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12308         multiarch objects.
12309         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12310         (__libc_ifunc_impl_list): Likewise.
12311
12312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12313         file.
12314         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12315         multiarch strncasecmp for PPC32.
12316         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12317         file.
12318         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12319         multiarch strncasecmp_l for PPC32.
12320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12321         strncasecmp multiarch objects.
12322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12323         (__libc_ifunc_impl_list): Likewise.
12324
12325         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12326         file.
12327         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12328         multiarch strncasecmp for PPC32.
12329         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12330         New file.
12331         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12332         multiarch strcasecmp_l for PPC32.
12333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12334         multiarch objects.
12335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12336         (__libc_ifunc_impl_list): Likewise.
12337
12338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12339         file.
12340         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12341         file.
12342         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12343         multiarch strncmp for PPC32.
12344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12345         multiarch objects.
12346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12347         (__libc_ifunc_impl_list): Likewise.
12348
12349         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12350         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12351         file.
12352         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12353         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12355         multiarch objects.
12356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12357         (__libc_ifunc_impl_list): Likewise.
12358
12359         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12360         file.
12361         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12362         file.
12363         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12365         multiarch objects.
12366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12367         (__libc_ifunc_impl_list): Likewise.
12368
12369         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12370         file.
12371         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12372         file.
12373         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12374         multiarch rawmemchr for PPC32.
12375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12376         multiarch objects.
12377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12378         (__libc_ifunc_impl_list): Likewise.
12379
12380         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12381         file.
12382         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12383         file.
12384         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12385         file: memrchr multiarch for PPC32.
12386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12387         multiarch objects.
12388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12389         (__libc_ifunc_impl_list): Likewise.
12390
12391         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12392         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12393         file.
12394         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12395         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12396         multiarch memchr for PPC32.
12397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12398         multiarch objects.
12399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12400         (__libc_ifunc_impl_list): Likewise.
12401
12402         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12403         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12404         file.
12405         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12406         file.
12407         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12408         file: multiarch mempcpy for PPC32.
12409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12410         multiarch objects.
12411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12412         (__libc_ifunc_impl_list): Likewise.
12413
12414         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12415         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12416         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12417         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12418         multiarch bzero for PPC32.
12419         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12420         file.
12421         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12422         file.
12423         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12424         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12425         file: multiarch memset for PPC32.
12426         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12428         memset multiarch objects.
12429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12430         (__libc_ifunc_impl_list): Likewise.
12431
12432         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12433         file.
12434         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12435         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12436         memcmp for PPC32.
12437         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12439         multiarch objects.
12440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12441         (__libc_ifunc_impl_list): Likewise.
12442
12443         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12444         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12445         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12446         file.
12447         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12448         file.
12449         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12450         file.
12451         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12452         multiarch memcpy for PPC32.
12453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12454         multiarch objects.
12455         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12456         (__libc_ifunc_impl_list): Likewise.
12457
12458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12459         support multiarch for POWER/PPC32.
12460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12461         Likewise.
12462         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12464         Implies file to make multiarch folder appers before the fpu and
12465         default folder for power4 configuration.
12466
12467 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12468
12469         * scripts/bench.pl: Append volatile keyword to type.
12470
12471 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12472
12473         * sysdeps/sh/sotruss-lib.c: New file.
12474         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12475
12476 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12477
12478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12479
12480 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12481
12482         [BZ #6810]
12483         * math/w_tgamma.c: Include <errno.h>.
12484         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12485         * math/w_tgammaf.c: Include <errno.h>.
12486         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12487         * math/w_tgammal.c: Include <errno.h>.
12488         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12489         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12490         underflow.  Add more tgamma tests.
12491         * math/auto-libm-test-out: Regenerated.
12492         * sysdeps/i386/fpu/libm-test-ulps: Update.
12493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12494
12495         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12496         sin, sinh, tan, tanh, tgamma, y0 and y1.
12497         * math/auto-libm-test-out: Regenerated.
12498         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12499         (TEST_COND_x86): Likewise.
12500         (M_E2l): Remove macro.
12501         (M_E3l): Likewise.
12502         (M_2_SQRT_PIl): Likewise.
12503         (M_SQRT_PIl): Likewise.
12504         (M_1_DIV_El): Likewise.
12505         (log_test_data): Use AUTO_TESTS_f_f.
12506         (log10_test_data): Likewise.
12507         (log1p_test_data): Likewise.
12508         (log2_test_data): Likewise.
12509         (sin_test_data): Likewise.
12510         (sin_tonearest_test_data): Likewise.
12511         (sin_towardzero_test_data): Likewise.
12512         (sin_downward_test_data): Likewise.
12513         (sin_upward_test_data): Likewise.
12514         (sinh_test_data): Likewise.
12515         (sinh_tonearest_test_data): Likewise.
12516         (sinh_towardzero_test_data): Likewise.
12517         (sinh_downward_test_data): Likewise.
12518         (sinh_upward_test_data): Likewise.
12519         (tan_test_data): Likewise.
12520         (tan_tonearest_test_data): Likewise.
12521         (tan_towardzero_test_data): Likewise.
12522         (tan_downward_test_data): Likewise.
12523         (tan_upward_test_data): Likewise.
12524         (tanh_test_data): Likewise.
12525         (tgamma_test_data): Likewise.
12526         (y0_test_data): Likewise.
12527         (y1_test_data): Likewise.
12528         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12529         (special_real_inputs): Add pi/4.
12530         * sysdeps/i386/fpu/libm-test-ulps: Update.
12531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12532
12533 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12534
12535         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12536         "longjmp_target" static probes.
12537         (__longjmp): Rename to __longjmp_symbol.
12538         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12539         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12540         on which longjmp to generate.
12541         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12542         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12543         probe.
12544         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12545         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12546         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12547         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12548         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12549         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12551         __longjmp_symbol based on which __longjmp to generate.
12552         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12553         probe.
12554         (setjmp): Rename to setjmp_symbol.
12555         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12556         (_setjmp): Rename to _setjmp_symbol.
12557         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12558         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12559         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12560         which setjmp to generate.
12561         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12562         "longjmp_target" static probes.
12563
12564 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12565
12566         * benchtests/README: Add note about output arguments.
12567         * benchtests/bench-sincos.c: Remove file.
12568         * benchtests/sincos-inputs: New file.
12569         * scripts/bench.pl: Identify output arguments and define
12570         static variables for them.
12571
12572         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12573
12574         [BZ #15941]
12575         * Makefile (INSTALL): Add install-plain.texi as the primary
12576         dependency.
12577         * manual/install-plain.texi: New file.
12578         * manual/install.texi: Include node directive only for
12579         non-plaintext output.
12580
12581 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12582
12583         * stdlib/longlong.h: Update from GCC.
12584
12585         [BZ #6807]
12586         [BZ #15901]
12587         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12588         * math/w_j0f.c (y0f): Likewise.
12589         * math/w_j0l.c (__y0l): Likewise.
12590         * math/w_j1.c (y1): Likewise.
12591         * math/w_j1f.c (y1f): Likewise.
12592         * math/w_j1l.c (__y1l): Likewise
12593         * math/w_jn.c (yn): Likewise.
12594         * math/w_jnf.c (ynf): Likewise.
12595         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12596         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12597         value for Bessel function domain errors outside _SVID_ mode.
12598         Adjust sign of return value for yn (negative integer, 0).
12599         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12600         by zero in return for negative x and set sign appropriately for
12601         negative n.
12602         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12603         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12604         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12605         expectations in error cases.
12606         (y1_test_data): Likewise.
12607         (yn_test_data): Likewise.
12608         * sysdeps/i386/fpu/libm-test-ulps: Update.
12609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12610
12611 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12612
12613         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12614         "64" to "64-v1".  Add "64-v2".
12615         (abi-64-options): Rename to ...
12616         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12617         (abi-64-condition): Rename to ...
12618         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12619         (abi-64-ld-soname): Rename to ...
12620         (abi-64-v1-ld-soname): ... this.
12621         (abi-64-v2-options): Define.
12622         (abi-64-v2-condition): Likewise.
12623         (abi-64-v2-ld-soname): Likewise.
12624         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12625         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12629
12630 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12631             Alan Modra  <amodra@gmail.com>
12632
12633         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12634         New versions for use with the ELFv2 ABI.
12635         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12636         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12637         declaration.
12638         (struct La_ppc64v2_retval): Likewise.
12639         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12640         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12641         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12642         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12643         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12644         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12645         Do not save or restore CR.
12646         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12647         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12648         return values for ELFv2 ABI.  Fix location of FPR return registers.
12649         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12650         updated values for _CALL_ELF == 2.
12651         (La_regs, La_retval, int_retval): Likewise.
12652
12653 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12654
12655         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12656         (FRAME_MIN_SIZE_PARM): Likewise.
12657         (FRAME_BACKCHAIN): Likewise.
12658         (FRAME_CR_SAVE): Likewise.
12659         (FRAME_LR_SAVE): Likewise.
12660         (FRAME_TOC_SAVE): Likewise.
12661         (FRAME_PARM_SAVE): Likewise.
12662         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12663         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12664         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12665         (call_mcount_parm_offset): New macro.
12666         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12667         (PROF): Use symbolic stack frame offsets.
12668         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12669         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12670         Redefine in terms of FRAME_MIN_SIZE.
12671         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12672         (_dl_profile_resolve): Likewise.  Update comment.
12673         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12674         symbols stack frame offsets.
12675         (__sigsetjmp): Likewise.
12676         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12677         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12678         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12679         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12680
12681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12682         (FRAME_BACKCHAIN): Remove.
12683         (FRAME_CR_SAVE): Likewise.
12684         (FRAME_LR_SAVE): Likewise.
12685         (FRAME_COMPILER_DW): Likewise.
12686         (FRAME_LINKER_DW): Likewise.
12687         (FRAME_TOC_SAVE): Likewise.
12688         (FRAME_PARM_SAVE): Likewise.
12689         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12690         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12691         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12693         (CHECK_SP): Use symbolic stack frame offsets.
12694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12695         zone" instead of caller's parameter save area for temp storage.
12696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12697         Likewise.  Also, use symbolic stack frame offsets.
12698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12699         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12700         our own stack frame instead of the caller's.
12701         (__socket): Use symbolic stack frame offsets.
12702
12703 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12704             Alan Modra  <amodra@gmail.com>
12705
12706         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12707         Define.
12708         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12709         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12710         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12711         New function.
12712         (elf_machine_fixup_plt): Call it.
12713         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12714         reloc arguments.
12715         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12716         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12717         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12718         r2 before calling target.
12719
12720 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12721             Alan Modra  <amodra@gmail.com>
12722
12723         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12724         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12725         versions of macros to support ELFv2 ABI.
12726         (LOCALENTRY): New macro.
12727         (ENTRY, EALIGN): Use it.
12728         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12729         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12730         fall through into ENTRY entry point.
12731         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12732         Only define if _CALL_ELF != 2.
12733
12734         (elf_machine_matches_host): Verify ABI version matches.
12735         (RTLD_START): Use LOCALENTRY.
12736         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12737         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12738         (PLT_ENTRY_WORDS): New macro.
12739         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12740         (elf_machine_runtime_setup): Support ELFv2 ABI.
12741         (elf_machine_fixup_plt): Likewise.
12742         (elf_machine_plt_conflict): Likewise.
12743         (resolve_ifunc): Likewise.
12744         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12745         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12746         Likewise.
12747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12748         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12750         (makecontext): Support ELFv2 ABI.
12751         * elf/elf.h (EF_PPC64_ABI): Define.
12752
12753 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12754
12755         * sysdeps/powerpc/powerpc64/sysdep.h
12756         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12757         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12758         (ENTRY) [ASSEMBLER]: ... but instead here ...
12759         (EALIGN) [ASSEMBLER]: ... and here.
12760         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12761         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12762         (ENTRY_2) [!ASSEMBLER]: Use it.
12763         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12764         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12765         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12766         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12767         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12769         Use PPC64_LOAD_FUNCPTR.
12770
12771         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12772
12773 2013-12-04  Alan Modra  <amodra@gmail.com>
12774
12775         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12776         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12777         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12778         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12779
12780         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12781         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12782         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12783         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12784         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12785         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12786
12787 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12788
12789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12790         (__makecontext): Fix incorrect CFI when backtracing out of
12791         context created via makecontext.
12792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12793         (__setcontext): Fix incorrect CFI during switch to new context.
12794         (__novec_setcontext): Likewise.
12795
12796 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12797
12798         [BZ #4772]
12799         * time/strptime_l.c (__strptime_internal): Allow modifiers
12800         in strptime.
12801         * time/tst-strptime.c (day_tests): Add testcase.
12802
12803 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12804
12805         * scripts/bench.pl: Skip over blank lines.
12806
12807 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12808
12809         [BZ #926]
12810         * manual/time.texi (Calendar Time): Clarify what timezone functions
12811         use.
12812
12813 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12814
12815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12816
12817 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12818
12819         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12820         implementation.
12821         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12822         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12823         * debug/memset_chk.c (__memset_chk): Likewise.
12824         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12825         * debug/strncpy_chk.c: Likewise.
12826
12827 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12828
12829         [BZ #15268]
12830         [BZ #15425]
12831         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12832         (__ieee754_exp): For possibly underflowing results, check size of
12833         result and force underflow exception if required.
12834         * math/auto-libm-test-in: Add more tests of exp.
12835         * math/auto-libm-test-out: Regenerated.
12836         * sysdeps/i386/fpu/libm-test-ulps: Update.
12837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12838
12839         [BZ #16283]
12840         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12841         * math/w_exp2f.c (__exp2f): Likewise.
12842         * math/w_exp2l.c (__exp2l): Likewise.
12843         * math/auto-libm-test-in: Do not allow missing errno on exp2
12844         underflow.
12845         * math/auto-libm-test-out: Regenerated.
12846
12847 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12848
12849         [BZ #16274]
12850         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12851         handle filename validation.
12852         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12853         (do_open): Delete.
12854
12855 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12856
12857         [BZ #6786]
12858         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12859         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12860         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12861         <float.h>.
12862         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12863         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12864         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12865         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12866         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12867         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12868         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12869         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12870         Add more erfc tests.
12871         * math/auto-libm-test-out: Regenerated.
12872         * sysdeps/i386/fpu/libm-test-ulps: Update.
12873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12874
12875         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12876         exp2, expm1, j0 and j1.
12877         * math/auto-libm-test-out: Regenerated.
12878         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12879         (erfc_test_data): Likewise.
12880         (exp_test_data): Likewise.
12881         (exp_tonearest_test_data): Likewise.
12882         (exp_towardzero_test_data): Likewise.
12883         (exp_downward_test_data): Likewise.
12884         (exp_upward_test_data): Likewise.
12885         (exp10_test_data): Likewise.
12886         (exp2_test_data): Likewise.
12887         (expm1_test_data): Likewise.
12888         (j0_test_data): Likewise.
12889         (j1_test_data): Likewise.
12890         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12891         (input_flag_type): Add flag_xfail_rounding.
12892         (input_flags): Add xfail-rounding.
12893         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12894         (output_for_one_input_case): Handle flag_xfail_rounding.
12895         * sysdeps/i386/fpu/libm-test-ulps: Update.
12896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12897
12898 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12899
12900         [BZ #16289]
12901         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12902         division by 0.
12903
12904 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12905
12906         [BZ #16195]
12907         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12908         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12909         (STAP_PROBE0): New macro.
12910         (STAP_PROBE1): Likewise.
12911         (STAP_PROBE2): Likewise.
12912         (STAP_PROBE3): Likewise.
12913         (STAP_PROBE4): Likewise.
12914
12915 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12916
12917         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12918
12919 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12920
12921         * benchtests/Makefile (bench): Add sqrt.
12922         (LDLIBS-bench-sqrt): New.
12923         * benchtests/sqrt-input: New.
12924
12925 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12926
12927         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12928         (GAIH_EAI): Likewise.
12929         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12930         (gaih_inet): Likewise.
12931         (getaddrinfo): Don't use GAIH_EAI.
12932
12933         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12934         (struct gaih): Remove definition.
12935
12936 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12937
12938         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12939         Use HERRNOP directly.
12940
12941 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12942
12943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12944
12945 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12946
12947         * math/gen-auto-libm-tests.c (test_functions): Add more
12948         single-argument functions.
12949         (special_fill_pi_2): New function.
12950         (special_fill_minus_pi_2): Likewise.
12951         (special_fill_pi_6): Likewise.
12952         (special_fill_minus_pi_6): Likewise.
12953         (special_fill_pi_3): Likewise.
12954         (special_fill_2pi_3): Likewise.
12955         (special_fill_e): Likewise.
12956         (special_fill_1_e): Likewise.
12957         (special_fill_e_minus_1): Likewise.
12958         (special_real_inputs): Add more special inputs.
12959         (output_for_one_input_case): Do not require ERANGE on underflow to
12960         zero if round-to-nearest result does not underflow to zero, unless
12961         exact results required.
12962         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12963         atan, atanh, cbrt, cos and cosh.
12964         * math/auto-libm-test-out: Regenerated.
12965         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12966         (acos_tonearest_test_data): Likewise.
12967         (acos_towardzero_test_data): Likewise.
12968         (acos_downward_test_data): Likewise.
12969         (acos_upward_test_data): Likewise.
12970         (acosh_test_data): Likewise.
12971         (asin_test_data): Likewise.
12972         (asin_tonearest_test_data): Likewise.
12973         (asin_towardzero_test_data): Likewise.
12974         (asin_upward_test_data): Likewise.
12975         (asinh_test_data): Likewise.
12976         (atan_test_data): Likewise.
12977         (atanh_test_data): Likewise.
12978         (cbrt_test_data): Likewise.
12979         (cos_test_data): Likewise.
12980         (cos_tonearest_test_data): Likewise.
12981         (cos_towardzero_test_data): Likewise.
12982         (cos_downward_test_data): Likewise.
12983         (cos_upward_test_data): Likewise.
12984         (cosh_test_data): Likewise.
12985         (cosh_tonearest_test_data): Likewise.
12986         (cosh_towardzero_test_data): Likewise.
12987         (cosh_downward_test_data): Likewise.
12988         (cosh_upward_test_data): Likewise.
12989         * sysdeps/i386/fpu/libm-test-ulps: Update.
12990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12991
12992 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12993
12994         [BZ #6787]
12995         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12996         * math/w_exp10f.c (__exp10f): Likewise.
12997         * math/w_exp10l.c (__exp10l): Likewise.
12998         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12999         errno settings in existing tests.
13000
13001         [BZ #14032]
13002         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13003         precision control set to double precision.
13004         * sysdeps/i386/fpu/w_sqrt.c: New file.
13005         * math/auto-libm-test-in: Add more tests.
13006         * math/auto-libm-test-out: Update.
13007
13008         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13009         (sqrt_test_tonearest): New function.
13010         (sqrt_towardzero_test_data): New variable.
13011         (sqrt_test_towardzero): New function.
13012         (sqrt_downward_test_data): New variable.
13013         (sqrt_test_downward): New function.
13014         (sqrt_upward_test_data): New variable.
13015         (sqrt_test_upward): New function.
13016         (main): Call the new functions.
13017
13018         * math/gen-auto-libm-tests.c: New file.
13019         * math/auto-libm-test-in: Likewise.
13020         * math/auto-libm-test-out: New generated file.
13021         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13022         variables.
13023         (%beautify): Add generated representations of zero.
13024         (top level): Set $auto_input and call parse_auto_input.
13025         (beautify): Remove trailing "f" from hex float constants.
13026         (parse_args): Handle XFAIL_TEST.
13027         (convert_condition): New function.
13028         (or_value): Likewise.
13029         (or_cond_value): Likewise.
13030         (generate_testfile): Handle AUTO_TESTS_* lines.
13031         (parse_auto_input): New function.
13032         * math/libm-test.inc (XFAIL_TEST): New macro.
13033         (ERRNO_UNCHANGED): Update value.
13034         (ERRNO_EDOM): Likewise.
13035         (ERRNO_ERANGE): Likewise.
13036         (IGNORE_RESULT): Likewise.
13037         (TEST_COND_flt_32): New macro.
13038         (TEST_COND_dbl_64): Likewise.
13039         (TEST_COND_ldbl_96_intel): Likewise.
13040         (TEST_COND_ldbl_96_m68k): Likewise.
13041         (TEST_COND_ldbl_128): Likewise.
13042         (TEST_COND_ldbl_128ibm): Likewise.
13043         (TEST_COND_long32): Likewise.
13044         (TEST_COND_long64): Likewise.
13045         (TEST_COND_before_rounding): Likewise.
13046         (TEST_COND_after_rounding): Likewise.
13047         (enable_test): Handle XFAIL_TEST flag.
13048         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13049         with finite results.
13050         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13051         auto-libm-test-out.
13052
13053 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13054             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13055
13056         [BZ #16214]
13057         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13058         __tls_get_addr_internal instead of __tls_get_offset in order to
13059         avoid GOT pointer dependency.  Make rtld export
13060         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13061         __tls_get_addr since we are a __tls_get_offset platform.
13062         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13063         GOT pointer being set up before.
13064         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13065
13066 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13067
13068         * manual/math.texi (Errors in Math Functions): Document accuracy
13069         goals.
13070
13071         [BZ #15004]
13072         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13073         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13074         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13075         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13076         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13077         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13078         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13079         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13080         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13081         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13082         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13083         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13084         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13085         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13086         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13087         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13088
13089         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13090         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13091         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13092         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13093         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13094         Likewise.
13095         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13096         Likewise.
13097         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13098         Likewise.
13099         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13100         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13101         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13102         atomic-feupdateenv and flt-rounds.
13103         * sysdeps/powerpc/nofpu/Versions (libc): Add
13104         __atomic_feholdexcept, __atomic_feclearexcept,
13105         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13106         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13107         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13108         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13109         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13110         here.
13111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13112         Update.
13113
13114         * manual/arith.texi (FP Exceptions): Document that exceptions may
13115         not be raised when matherr is used.
13116         (Math Error Reporting): Document overflow in directed rounding
13117         modes.  Document that errno may not be set when finite values are
13118         returned on overflow.  Document intent to set errno on underflow
13119         only for underflow to zero.
13120
13121         [BZ #16271]
13122         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13123         round-to-nearest then adjust result for other rounding modes.
13124         * include/fenv.h (fegetround): Use libm_hidden_proto.
13125         * math/fegetround.c (fegetround): Use libm_hidden_def.
13126         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13127         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13128         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13129         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13130         Likewise.
13131         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13132         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13133         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13134         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13135
13136 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13137
13138         [BZ #16077]
13139         * nss/Versions (libnss_files): Add
13140         _nss_files_gethostbyname3_r.
13141         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13142         New function.
13143         (HOST_DB_LOOKUP): Remove macro.
13144         (_nss_files_gethostbyname_r): Implement function without the
13145         HOST_DB_LOOKUP macro.
13146         (_nss_files_gethostbyname2_r): Likewise.
13147
13148 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13149
13150         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13151
13152 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13153
13154         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13155         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13156         warning.
13157
13158 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13159
13160         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13161         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13162         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13163         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13164         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13165         __fe_nomask_env_priv and attribute_hidden.
13166         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13167         (libc_feupdateenv_test_ppc): Likewise.
13168         (libc_feresetround_ppc): Likewise.
13169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13170         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13171         compat_symbol macro.
13172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13173         (__fe_nomask_env): Likewise.
13174         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13175
13176 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13177
13178         * string/Makefile: Remove ifunc tests.
13179         * string/test-string.h: Define TEST_IFUNC.
13180         * string/test-bcopy-ifunc.c: Remove.
13181         * string/test-bzero-ifunc.c: Likewise.
13182         * string/test-memccpy-ifunc.c: Likewise.
13183         * string/test-memchr-ifunc.c: Likewise.
13184         * string/test-memcmp-ifunc.c: Likewise.
13185         * string/test-memcpy-ifunc.c: Likewise.
13186         * string/test-memmem-ifunc.c: Likewise.
13187         * string/test-memmove-ifunc.c: Likewise.
13188         * string/test-mempcpy-ifunc.c: Likewise.
13189         * string/test-memrchr-ifunc.c: Likewise.
13190         * string/test-memset-ifunc.c: Likewise.
13191         * string/test-rawmemchr-ifunc.c: Likewise.
13192         * string/test-stpcpy-ifunc.c: Likewise.
13193         * string/test-stpncpy-ifunc.c: Likewise.
13194         * string/test-strcasecmp-ifunc.c: Likewise.
13195         * string/test-strcasestr-ifunc.c: Likewise.
13196         * string/test-strcat-ifunc.c: Likewise.
13197         * string/test-strchr-ifunc.c: Likewise.
13198         * string/test-strchrnul-ifunc.c: Likewise.
13199         * string/test-strcmp-ifunc.c: Likewise.
13200         * string/test-strcpy-ifunc.c: Likewise.
13201         * string/test-strcspn-ifunc.c: Likewise.
13202         * string/test-strlen-ifunc.c: Likewise.
13203         * string/test-strncasecmp-ifunc.c: Likewise.
13204         * string/test-strncat-ifunc.c: Likewise.
13205         * string/test-strncmp-ifunc.c: Likewise.
13206         * string/test-strncpy-ifunc.c: Likewise.
13207         * string/test-strnlen-ifunc.c: Likewise.
13208         * string/test-strpbrk-ifunc.c: Likewise.
13209         * string/test-strrchr-ifunc.c: Likewise.
13210         * string/test-strspn-ifunc.c: Likewise.
13211         * string/test-strstr-ifunc.c: Likewise.
13212
13213 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13214
13215         * benchtests/Makefile: Remove ifunc tests.
13216         * benchtests/bench-string.h: Define TEST_IFUNC.
13217         * benchtests/bench-bcopy-ifunc.c: Remove.
13218         * benchtests/bench-bzero-ifunc.c: Likewise.
13219         * benchtests/bench-memccpy-ifunc.c: Likewise.
13220         * benchtests/bench-memchr-ifunc.c: Likewise.
13221         * benchtests/bench-memcmp-ifunc.c: Likewise.
13222         * benchtests/bench-memcpy-ifunc.c: Likewise.
13223         * benchtests/bench-memmem-ifunc.c: Likewise.
13224         * benchtests/bench-memmove-ifunc.c: Likewise.
13225         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13226         * benchtests/bench-memrchr-ifunc.c: Likewise.
13227         * benchtests/bench-memset-ifunc.c: Likewise.
13228         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13229         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13230         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13231         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13232         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13233         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13234         * benchtests/bench-strcat-ifunc.c: Likewise.
13235         * benchtests/bench-strchr-ifunc.c: Likewise.
13236         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13237         * benchtests/bench-strcmp-ifunc.c: Likewise.
13238         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13239         * benchtests/bench-strcpy-ifunc.c: Likewise.
13240         * benchtests/bench-strcspn-ifunc.c: Likewise.
13241         * benchtests/bench-strlen-ifunc.c: Likewise.
13242         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13243         * benchtests/bench-strncat-ifunc.c: Likewise.
13244         * benchtests/bench-strncmp-ifunc.c: Likewise.
13245         * benchtests/bench-strncpy-ifunc.c: Likewise.
13246         * benchtests/bench-strnlen-ifunc.c: Likewise.
13247         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13248         * benchtests/bench-strrchr-ifunc.c: Likewise.
13249         * benchtests/bench-strsep-ifunc.c: Likewise.
13250         * benchtests/bench-strspn-ifunc.c: Likewise.
13251         * benchtests/bench-strstr-ifunc.c: Likewise.
13252
13253 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13254
13255         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13256
13257 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13258
13259         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13260         * rt/aio.h: Likewise.
13261         * sysdeps/gnu/bits/utmp.h: Likewise.
13262         * sysdeps/gnu/bits/utmpx.h: Likewise.
13263         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13264         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13265         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13266         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13267         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13268         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13269         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13270         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13271         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13272         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13273         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13274         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13275         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13277         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13278         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13279         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13280         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13281         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13282         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13283         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13284         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13285         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13286         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13287         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13289         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13290         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13291         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13292         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13293         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13294         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13295         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13296         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13297         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13298         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13299         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13300         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13301         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13302         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13303         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13304         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13305
13306 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13307
13308         [BZ #16245]
13309         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13310         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13311
13312 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13313
13314         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13315         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13316         Likewise.
13317
13318 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13319
13320         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13321         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13322         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13323         (__fesetround): Remove define.
13324         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13325         rounding and exceptions handling.
13326         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13327         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13328         (__fe_nomask_env): Likewise.
13329         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13330         __fegetround instead of fegetround.
13331         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13332         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13333
13334 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13335
13336         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13337         it's there.
13338
13339         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13340
13341 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13342
13343         [BZ #11157]
13344         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13345         (encrypt_r): Likewise.
13346         * malloc/obstack.h (obstack_free): Likewise.
13347         * posix/unistd.h (encrypt): Likewise.
13348
13349 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13350
13351         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13352         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13353         DL_CALL_DT_FINI() that call the functions directly.
13354         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13355         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13356         * elf/dl-fini.c: Likewise.
13357
13358 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13359
13360         * malloc/hooks.c (memalign_check): Add alignment rounding.
13361         * malloc/malloc.c (_mid_memalign): New function.
13362         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13363         Implement by calling _mid_memalign.
13364         * manual/probes.texi (Memory Allocation Probes): Remove
13365         memory_valloc_retry and memory_pvalloc_retry.
13366
13367 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13368
13369         * locale/programs/locarchive.c (open_archive): Add const
13370         qualifier to ARCHIVEFNAME and copy default fname to
13371         DEFAULT_FNAME.
13372
13373         [BZ #15601]
13374         * libio/tst-widetext.input: Rename Oriya to Odia.
13375         * locale/iso-639.def: Likewise.
13376
13377         * manual/probes.texi (Mathematical Function Probes): Add
13378         documentation for sin, cos, asin and acos probes.
13379         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13380         (__sin32): Add slowasin probe.
13381         (__cos32): Add slowacos probe.
13382         (__mpsin): Add slowsin probe.
13383         (__mpcos): Add slowcos probe.
13384
13385 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13386
13387         [BZ #15483]
13388         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13389         thread-local __sim_exceptions_thread and global
13390         __sim_exceptions_global.
13391         (__sim_disabled_exceptions): Change to thread-local
13392         __sim_disabled_exceptions_thread and global
13393         __sim_disabled_exceptions_global.
13394         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13395         and global __sim_round_mode_global.
13396         (__simulate_exceptions): Use thread-local floating-point state and
13397         set global state from it as needed.
13398         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13399         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13400         __sim_round_mode_thread.
13401         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13402         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13403         and global __sim_exceptions_global.
13404         (__sim_disabled_exceptions): Change to thread-local
13405         __sim_disabled_exceptions_thread and global
13406         __sim_disabled_exceptions_global.
13407         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13408         and global __sim_round_mode_global.
13409         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13410         (SIM_SET_GLOBAL): Likewise.
13411         * sysdeps/powerpc/soft-fp/sfp-machine.h
13412         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13413         __sim_round_mode_thread.
13414         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13415         __sim_disabled_exceptions_thread.
13416         (__sim_exceptions): Change to __sim_exceptions_thread.
13417         (__sim_disabled_exceptions): Change to
13418         __sim_disabled_exceptions_thread.
13419         (__sim_round_mode): Change to __sim_round_mode_thread.
13420         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13421         thread-local floating-point state and set global state from it as
13422         needed.
13423         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13424         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13425         (__sim_disabled_exceptions): Remove extern declaration.
13426         (feenableexcept): Use thread-local floating-point state and set
13427         global state from it as needed.
13428         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13429         extern declaration.
13430         (__sim_disabled_exceptions): Likewise.
13431         (__sim_round_mode): Likewise.
13432         (__fegetenv): Use thread-local floating-point state.
13433         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13434         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13435         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13436         floating-point state and set global state from it as needed.
13437         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13438         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13439         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13440         Likewise.
13441         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13442         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13443         Likewise.
13444         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13445         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13446         Use __sim_round_mode_thread.
13447         * math/test-fenv-tls.c: New file.
13448         * math/Makefile (tests): Add test-fenv-tls.
13449         ($(objpfx)test-fenv-tls): Depend on
13450         $(common-objpfx)nptl/libpthread.so.
13451
13452 2013-11-19  Andreas Schwab  <schwab@suse.de>
13453
13454         * locale/programs/locale.c (show_info): Decode wordarray elements.
13455         * locale/categories.def (LC_MONETARY): Add element for
13456         _NL_MONETARY_CRNCYSTR.
13457         * locale/C-monetary.c (conversion_rate): New variable.
13458         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13459         element.
13460
13461 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13462
13463         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13464         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13465
13466 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13467
13468         * elf/Makefile (tst-auxv): New test.
13469         * elf/tst-auxv.c: New
13470         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13471
13472 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13473
13474         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13475         (hidden_proto): Caller changed.
13476         (hidden_tls_proto): New macro.
13477         (libc_hidden_tls_proto): Likewise.
13478         (rtld_hidden_tls_proto): Likewise.
13479         (libm_hidden_tls_proto): Likewise.
13480         (libresolv_hidden_tls_proto): Likewise.
13481         (librt_hidden_tls_proto): Likewise.
13482         (libdl_hidden_tls_proto): Likewise.
13483         (libnss_files_hidden_tls_proto): Likewise.
13484         (libnsl_hidden_tls_proto): Likewise.
13485         (libnss_nisplus_hidden_tls_proto): Likewise.
13486         (libutil_hidden_tls_proto): Likewise.
13487
13488 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13489
13490         [BZ #10253]
13491         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13492         (decompose_rpath): Defer expansion to fillin_rpath.
13493         (_dl_init_paths): Pass linkmap to fillin_rpath.
13494
13495 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13496
13497         * benchtests/Makefile: Add strsep.
13498         * benchtests/bench-strsep.c: New file: strsep benchtest.
13499         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13500
13501 2013-11-18  Andreas Schwab  <schwab@suse.de>
13502
13503         * locale/programs/locale.c (show_info) [case byte]: Check for
13504         '\377' instead of '\177'.
13505         * locale/C-monetary.c (not_available): Always use "\377".
13506         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13507         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13508         detect unavailable sign_posn locale elements.
13509         * locale/localeconv.c (__localeconv): For grouping and
13510         mon_grouping handle "\177" and "\377" like no grouping.
13511         (INT_ELEM): New macro.  Use it to set all numeric members.
13512         * locale/programs/ld-monetary.c (monetary_read)
13513         <tok_mon_grouping>: Normalize single -1 to the empty string.
13514         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13515         Likewise.
13516
13517 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13518
13519         [BZ #16055]
13520         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13521         when we match (nil).
13522         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13523
13524 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13525
13526         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13527         (NO_TEST_INLINE): Update value.
13528         (ERRNO_UNCHANGED): Likewise.
13529         (ERRNO_EDOM): Likewise.
13530         (ERRNO_ERANGE): Likewise.
13531         (IGNORE_RESULT): Likewise.
13532         (check_float_internal): Check signs of NaN results if
13533         TEST_NAN_SIGN used.
13534         (check_complex): Pass TEST_NAN_SIGN flag through to second
13535         check_float_internal call.
13536         (copysign_test_data): Add tests with quiet NaNs as second
13537         argument.  Use TEST_NAN_SIGN.
13538         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13539         TEST_NAN_SIGN.
13540         (signbit_test_data): Add tests of quiet NaN argument.
13541         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13542
13543         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13544         $ignore_result.
13545         (parse_args): Handle function results specified as IGNORE.
13546         * math/libm-test.inc (IGNORE_RESULT): New macro.
13547         (check_float_internal): Do not check numerical result if flag
13548         IGNORE_RESULT set.
13549         (check_complex): Pass through IGNORE_RESULT to second
13550         check_float_internal call.
13551         (check_int): Do not check numerical result if flag IGNORE_RESULT
13552         set.
13553         (check_long): Likewise.
13554         (check_bool): Likewise.
13555         (check_longlong): Likewise.
13556         (lrint_test_data): Add tests of infinite and NaN arguments.
13557         (lrint_tonearest_test_data): Likewise.
13558         (lrint_towardzero_test_data): Likewise.
13559         (lrint_downward_test_data): Likewise.
13560         (lrint_upward_test_data): Likewise.
13561         (llrint_test_data): Likewise.
13562         (llrint_tonearest_test_data): Likewise.
13563         (llrint_towardzero_test_data): Likewise.
13564         (llrint_downward_test_data): Likewise.
13565         (llrint_upward_test_data): Likewise.
13566         (lround_test_data): Likewise.
13567         (llround_test_data): Likewise.
13568
13569         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13570         (ERRNO_UNCHANGED): Update value.
13571         (ERRNO_EDOM): Likewise.
13572         (ERRNO_ERANGE): Likewise.
13573         (NO_TEST_INLINE_FLOAT): New macro.
13574         (NO_TEST_INLINE_DOUBLE): Likewise.
13575         (enable_test): New function.
13576         (RUN_TEST_f_f): Check enable_test before running test.
13577         (RUN_TEST_2_f): Likewise.
13578         (RUN_TEST_fff_f): Likewise.
13579         (RUN_TEST_c_f): Likewise.
13580         (RUN_TEST_f_f1): Likewise.
13581         (RUN_TEST_fF_f1): Likewise.
13582         (RUN_TEST_fI_f1): Likewise.
13583         (RUN_TEST_ffI_f1): Likewise.
13584         (RUN_TEST_c_c): Likewise.
13585         (RUN_TEST_cc_c): Likewise.
13586         (RUN_TEST_f_i): Likewise.
13587         (RUN_TEST_f_i_tg): Likewise.
13588         (RUN_TEST_ff_i_tg): Likewise.
13589         (RUN_TEST_f_b): Likewise.
13590         (RUN_TEST_f_b_tg): Likewise.
13591         (RUN_TEST_f_l): Likewise.
13592         (RUN_TEST_f_L): Likewise.
13593         (RUN_TEST_fFF_11): Likewise.
13594         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13595         conditionals.
13596         (cosh_test_data): Likewise.
13597         (exp_test_data): Likewise.
13598         (expm1_test_data): Likewise.
13599         (hypot_test_data): Likewise.
13600         (pow_test_data): Likewise.
13601         (sinh_test_data): Likewise.
13602         (tanh_test_data): Likewise.
13603         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13604         flags argument.
13605
13606         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13607         tests with quiet NaN input and output.
13608         (acosh_test_data): Likewise.
13609         (asin_test_data): Likewise.
13610         (asinh_test_data): Likewise.
13611         (atan_test_data): Likewise.
13612         (atanh_test_data): Likewise.
13613         (atan2_test_data): Likewise.
13614         (cbrt_test_data): Likewise.
13615         (cos_test_data): Likewise.
13616         (cosh_test_data): Likewise.
13617         (erf_test_data): Likewise.
13618         (erfc_test_data): Likewise.
13619         (exp_test_data): Likewise.
13620         (exp10_test_data): Likewise.
13621         (exp2_test_data): Likewise.
13622         (expm1_test_data): Likewise.
13623         (hypot_test_data): Likewise.
13624         (j0_test_data): Likewise.
13625         (j1_test_data): Likewise.
13626         (jn_test_data): Likewise.
13627         (lgamma_test_data): Likewise.
13628         (log_test_data): Likewise.
13629         (log10_test_data): Likewise.
13630         (log1p_test_data): Likewise.
13631         (log2_test_data): Likewise.
13632         (pow_test_data): Likewise.
13633         (scalb_test_data): Likewise.
13634         (sin_test_data): Likewise.
13635         (sincos_test_data): Likewise.
13636         (sinh_test_data): Likewise.
13637         (tan_test_data): Likewise.
13638         (tanh_test_data): Likewise.
13639         (tgamma_test_data): Likewise.
13640         (y0_test_data): Likewise.
13641         (y1_test_data): Likewise.
13642         (yn_test_data): Likewise.
13643
13644         [BZ #16167]
13645         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13646         argument being NaN and avoid computations with second argument in
13647         that case.
13648         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13649         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13650         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13651
13652 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13653
13654         * locale/iso-639.def: Add Chitwani Tharu (the).
13655
13656 2013-11-14  Andreas Schwab  <schwab@suse.de>
13657
13658         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13659         word instead of empty string.
13660
13661 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13662
13663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13664         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13666         (__fe_nomask_env): Likewise.
13667
13668 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13669
13670         * benchtests/bench-timing.h: Include time.h.
13671
13672 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13673
13674         [BZ #15997]
13675         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13676         to 3.4.0 for x32.
13677         * sysdeps/unix/sysv/linux/configure: Regenerated.
13678
13679 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13680
13681         [BZ #16151]
13682         * stdlib/strtod_l.c (round_and_return): Do not consider
13683         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13684         exponent one less than half the least subnormal exponent.
13685         * stdlib/test-strtod-round-data: Add more tests.
13686         * stdlib/tst-strtod-round.c (tests): Regenerated.
13687
13688 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13689
13690         [BZ #14143]
13691         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13692         (__fe_mask_env): Likewise.
13693         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13694         libm_hidden_proto and add function prototype.
13695         (__fe_mask_env): Add function prototype.
13696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13697         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13699         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13701         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13702
13703 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13704
13705         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13706         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13707
13708 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13709
13710         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13711         of htab_find_slot().
13712
13713 2013-11-11  David S. Miller  <davem@davemloft.net>
13714
13715         [BZ #16150]
13716         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13717         symbol in the non-vis3 case in static builds.
13718         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13719         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13720         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13721         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13722
13723 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13724
13725         [BZ #387]
13726         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13727         it is empty.
13728
13729 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13730
13731         * benchtests/Makefile: Add bench-strtod.
13732         * benchtests/bench-strtod.c: New file: strtod benchtest
13733
13734 2013-11-11  Andreas Schwab  <schwab@suse.de>
13735
13736         [BZ #16153]
13737         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13738         terminating NUL in key length.
13739
13740 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13741
13742         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13743         Add artificial ODP entry for vDSO symbol for PPC64.
13744         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13745         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13746
13747 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13748
13749         [BZ #15374]
13750         * nss/getent.c (services_keys): Recognize services starting with digit.
13751
13752 2013-11-06  David S. Miller  <davem@davemloft.net>
13753
13754         [BZ #15985]
13755         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13756         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13757
13758 2013-11-06  Will Newton  <will.newton@linaro.org>
13759
13760         * manual/memory.texi (Malloc Examples): Remove register
13761         keyword from examples.
13762
13763 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13764
13765         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13766
13767 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13768
13769         [BZ #6981]
13770         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13771         depending on [__GCC_IEC_559 > 0].
13772         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13773         depending on [__GCC_IEC_559_COMPLEX > 0].
13774
13775 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13776
13777         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13778         to iso-639.def.
13779
13780 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13781
13782         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13783
13784 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13785
13786         [BZ #16112]
13787         * malloc/malloc (malloc_info): Do not handle first bin as
13788         special case.
13789
13790 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13791
13792         * locale/iso-639.def: Add Central Nahuatl (nhn).
13793
13794 2013-11-01  Bruno Haible  <bruno@clisp.org>
13795
13796         [BZ #7003]
13797         * manual/math.texi (BSD Random): Specify range upper bound as
13798         in POSIX.
13799
13800 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13801
13802         * locale/iso-639.def: Add Meadow Mari (mhr).
13803
13804 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13805
13806         [BZ #14752], [BZ #15763]
13807         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13808         Validate name.
13809         * rt/tst_shm.c: Add test for escaping directory.
13810
13811 2013-10-31  Andreas Schwab  <schwab@suse.de>
13812
13813         [BZ #15917]
13814         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13815         followed by 'x' as part of digit sequence.
13816         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13817
13818 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13819
13820         [BZ #16037]
13821         * configure.ac: allow GNU Make 4.0 and greater.
13822         * configure: Regenerated.
13823
13824 2013-10-30  Will Newton  <will.newton@linaro.org>
13825
13826         [BZ #16038]
13827         * malloc/hooks.c (memalign_check): Limit alignment to the
13828         maximum representable power of two.
13829         * malloc/malloc.c (__libc_memalign): Likewise.
13830         * malloc/tst-memalign.c (do_test): Add test for very
13831         large alignment values.
13832         * malloc/tst-posix_memalign.c (do_test): Likewise.
13833
13834 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13835
13836         [BZ #11087]
13837         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13838         (munmap_chunk): Likewise.
13839         (mremap_chunk): Likewise.
13840
13841 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13842
13843         [BZ #15799]
13844         * stdlib/div.c (div): Remove obsolete code.
13845         * stdlib/ldiv.c (ldiv): Likewise.
13846         * stdlib/lldiv.c (lldiv): Likewise.
13847
13848 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13849
13850         [BZ #16071]
13851         * nss/nss_files/files-XXX.c (get_contents_ret): New
13852         enumerator.
13853         (get_contents): New function.
13854         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13855
13856 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13857
13858         * configure.in: Moved to ...
13859         * configure.ac: ... here. Change reference to configure.in
13860         to configure.ac.
13861         * sysdeps/arm/preconfigure.ac: ... here.
13862         configure.in to configure.ac.
13863         * sysdeps/gnu/configure.in: Moved to ...
13864         * sysdeps/gnu/configure.ac: ... here.
13865         * sysdeps/i386/configure.in: Moved to ...
13866         * sysdeps/i386/configure.ac: ... here.
13867         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13868         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13869         * sysdeps/mach/configure.in: Moved to ...
13870         * sysdeps/mach/configure.ac: ... here.
13871         * sysdeps/mach/hurd/configure.in: Moved to ...
13872         * sysdeps/mach/hurd/configure.ac: ... here.
13873         * sysdeps/powerpc/configure.in: Moved to ...
13874         * sysdeps/powerpc/configure.ac: ... here.
13875         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13876         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13877         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13878         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13879         * sysdeps/s390/s390-32/configure.in: Moved to ...
13880         * sysdeps/s390/s390-32/configure.ac: ... here.
13881         * sysdeps/s390/s390-64/configure.in: Moved to ...
13882         * sysdeps/s390/s390-64/configure.ac: ... here.
13883         * sysdeps/sh/configure.in: Moved to ...
13884         * sysdeps/sh/configure.ac: ... here.
13885         * sysdeps/sparc/configure.in: Moved to ...
13886         * sysdeps/sparc/configure.ac: ... here.
13887         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13888         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13889         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13890         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13891         * sysdeps/x86_64/configure.in: Moved to ...
13892         * sysdeps/x86_64/configure.ac: ... here.
13893         * sysdeps/x86_64/preconfigure.in: Moved to ...
13894         * sysdeps/x86_64/preconfigure.ac: ... here.
13895         * aclocal.m4: Change reference to configure.in to configure.ac.
13896         * config.h.in: Likewise.
13897         * manual/install.texi: Likewise.
13898         * manual/maint.texi: Likewise.
13899         * Makefile: Likewise.
13900         * malloc/Makefile: Likewise.
13901         * nscd/Makefile: Likewise.
13902         * Makeconfig: Change reference to configure.in and
13903         preconfigure.in to configure.ac and preconfigure.ac
13904         respectively.
13905         * INSTALL: Regenerated.
13906         * configure: Likewise.
13907         * sysdeps/gnu/configure: Likewise.
13908         * sysdeps/i386/configure: Likewise.
13909         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13910         * sysdeps/mach/configure: Likewise.
13911         * sysdeps/mach/hurd/configure: Likewise.
13912         * sysdeps/powerpc/configure: Likewise.
13913         * sysdeps/powerpc/powerpc32/configure: Likewise.
13914         * sysdeps/powerpc/powerpc64/configure: Likewise.
13915         * sysdeps/s390/s390-32/configure: Likewise.
13916         * sysdeps/s390/s390-64/configure: Likewise.
13917         * sysdeps/sh/configure: Likewise.
13918         * sysdeps/sparc/configure: Likewise.
13919         * sysdeps/unix/sysv/linux/configure: Likewise.
13920         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13921         * sysdeps/x86_64/configure: Likewise.
13922         * sysdeps/x86_64/preconfigure: Likewise.
13923
13924 2013-10-29  Andreas Schwab  <schwab@suse.de>
13925
13926         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13927
13928 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13929
13930         * benchtests/pow-inputs: Add new inputs.
13931
13932         * benchtests/exp-inputs: Add new inputs.
13933
13934         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13935         conditional check for return value.
13936         (__cos32): Likewise.
13937
13938 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13939
13940         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13941         to provide a boost for large inputs with word alignment.
13942         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13943         implementation based on optimized PPC64 strcpy.
13944         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13945         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13946         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13947         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13948
13949 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13950
13951         [BZ #2801]
13952         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13953
13954 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13955
13956         [BZ #14876]
13957         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13958         * time/tst-strptime.c (day_tests): Add testcase.
13959
13960 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13961
13962         [BZ #14029]
13963         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13964
13965 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13966
13967         [BZ #16074]
13968         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13969         MAP_FAILED on error.
13970
13971 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13972
13973         [BZ #16072]
13974         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13975         heap for large requests.
13976
13977 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13978
13979         [BZ #9954]
13980         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13981         result if the result has no associated interface.
13982         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13983         interface for all 127.X.Y.Z addresses.
13984
13985 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13986
13987         * locale/iso-639.def: Add Ligurian (lij)
13988
13989 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13990
13991         [BZ #15825]
13992         * sunrpc/rpc_main.c: Document rpcgen -5.
13993
13994 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13995
13996         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13997
13998 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13999
14000         [BZ #10278]
14001         * posix/glob.c: Match only directories when trailing slash is present.
14002         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14003         (main): Add testcase.
14004
14005 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14006
14007         [BZ #15670]
14008         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14009
14010 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14011
14012         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14013         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14014         AUTH_DES and cindex for FIPS 140-2.
14015         (DES Encryption): Add cindex FIPS 46-3.
14016
14017         * locale/locarchive.h (struct locarhandle): Add fname.
14018         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14019         if an optional argument was specified to --list-archive,
14020         otherwise NULL.
14021         * locale/programs/locarchive.c (show_archive_content): Take new
14022         argument fname and pass it via ah.fname to open_archive.
14023         * locale/programs/localedef.h: Update decl.
14024         (open_archive): If AH->fname is non-null, open that file
14025         rather than the default file name, and don't ignore ENOENT.
14026         (create_archive): Set AH.fname to NULL.
14027         (delete_locales_from_archive): Likewise.
14028         (add_locales_to_archive): Likewise.
14029         * locale/programs/locfile.c (write_all_categories): Likewise.
14030
14031 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14032             Aldy Hernandez  <aldyh@redhat.com>
14033
14034         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14035         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14036         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14037         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14038         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14039         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14040         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14041         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14042         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14043         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14044         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14045         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14046         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14047         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14048         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14049         Likewise.
14050         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14051         Likewise.
14052         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14053         Likewise.
14054         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14055         Likewise.
14056         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14057         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14058         Likewise.
14059         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14060         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14061         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14062         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14063         Likewise.
14064         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14065         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14066         * sysdeps/powerpc/preconfigure: Likewise.
14067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14068         Likewise.
14069         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14070         Replace contents of file by #include of <fenv_libc.h>.
14071         * sysdeps/powerpc/soft-fp/sfp-machine.h
14072         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14073         and <sys/prctl.h>.
14074         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14075         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14076         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14077         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14078         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14079         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14081         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14082         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14083         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14084         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14085         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14087         Allow copysignl PLT reference to be missing.
14088
14089 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14090             Joseph Myers  <joseph@codesourcery.com
14091
14092         [BZ #15948]
14093         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14094         single character.
14095         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14096
14097 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14098
14099         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14100         * elf/tst-tls1.c: Likewise.
14101         * elf/tst-tls10.h: Likewise.
14102         * elf/tst-tls14.c: Likewise.
14103         * elf/tst-tls2.c: Likewise.
14104         * elf/tst-tls3.c: Likewise.
14105         * elf/tst-tls4.c: Likewise.
14106         * elf/tst-tls5.c: Likewise.
14107         * elf/tst-tls6.c: Likewise.
14108         * elf/tst-tls7.c: Likewise.
14109         * elf/tst-tls8.c: Likewise.
14110         * elf/tst-tls9.c: Likewise.
14111         * elf/tst-tlsmod1.c: Likewise.
14112         * elf/tst-tlsmod13.c: Likewise.
14113         * elf/tst-tlsmod13a.c: Likewise.
14114         * elf/tst-tlsmod14a.c: Likewise.
14115         * elf/tst-tlsmod16a.c: Likewise.
14116         * elf/tst-tlsmod16b.c: Likewise.
14117         * elf/tst-tlsmod2.c: Likewise.
14118         * elf/tst-tlsmod3.c: Likewise.
14119         * elf/tst-tlsmod4.c: Likewise.
14120         * elf/tst-tlsmod5.c: Likewise.
14121         * elf/tst-tlsmod6.c: Likewise.
14122
14123 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14124
14125         [BZ #12486]
14126         * malloc/malloc.c: remove checks for statistics.
14127
14128 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14129
14130         [BZ #15277]
14131         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14132         * inet/tst-network.c: Add testcase.
14133
14134 2013-10-17  Andreas Schwab  <schwab@suse.de>
14135
14136         [BZ #15218]
14137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14138         to determine canonical name.
14139
14140 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14141
14142         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14143         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14144         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14145         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14146         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14147         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14148         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14149         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14150         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14151         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14152         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14153         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14154         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14155         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14156         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14157         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14158         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14159         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14160         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14161         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14162         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14163         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14164         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14165         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14166         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14167         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14168         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14169         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14170         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14171         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14172         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14173         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14174         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14175         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14176         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14177         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14178         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14179         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14180         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14181         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14182         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14183         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14184         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14185         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14186         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14187         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14188         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14189         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14190         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14191         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14192         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14193         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14194         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14195         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14196         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14197         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14199         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14200
14201 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14202
14203         [BZ #16041]
14204         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14205         make result into a quiet NaN.
14206
14207 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14208
14209         * soft-fp/adddf3.c: Fix horizontal whitespace.
14210         * soft-fp/addsf3.c: Likewise.
14211         * soft-fp/addtf3.c: Likewise.
14212         * soft-fp/divdf3.c: Likewise.
14213         * soft-fp/divsf3.c: Likewise.
14214         * soft-fp/divtf3.c: Likewise.
14215         * soft-fp/double.h: Likewise.
14216         * soft-fp/eqdf2.c: Likewise.
14217         * soft-fp/eqsf2.c: Likewise.
14218         * soft-fp/eqtf2.c: Likewise.
14219         * soft-fp/extenddftf2.c: Likewise.
14220         * soft-fp/extended.h: Likewise.
14221         * soft-fp/extendsfdf2.c: Likewise.
14222         * soft-fp/extendsftf2.c: Likewise.
14223         * soft-fp/extendxftf2.c: Likewise.
14224         * soft-fp/fixdfdi.c: Likewise.
14225         * soft-fp/fixdfsi.c: Likewise.
14226         * soft-fp/fixdfti.c: Likewise.
14227         * soft-fp/fixsfdi.c: Likewise.
14228         * soft-fp/fixsfsi.c: Likewise.
14229         * soft-fp/fixsfti.c: Likewise.
14230         * soft-fp/fixtfdi.c: Likewise.
14231         * soft-fp/fixtfsi.c: Likewise.
14232         * soft-fp/fixtfti.c: Likewise.
14233         * soft-fp/fixunsdfdi.c: Likewise.
14234         * soft-fp/fixunsdfsi.c: Likewise.
14235         * soft-fp/fixunsdfti.c: Likewise.
14236         * soft-fp/fixunssfdi.c: Likewise.
14237         * soft-fp/fixunssfsi.c: Likewise.
14238         * soft-fp/fixunssfti.c: Likewise.
14239         * soft-fp/fixunstfdi.c: Likewise.
14240         * soft-fp/fixunstfsi.c: Likewise.
14241         * soft-fp/fixunstfti.c: Likewise.
14242         * soft-fp/floatdidf.c: Likewise.
14243         * soft-fp/floatdisf.c: Likewise.
14244         * soft-fp/floatditf.c: Likewise.
14245         * soft-fp/floatsidf.c: Likewise.
14246         * soft-fp/floatsisf.c: Likewise.
14247         * soft-fp/floatsitf.c: Likewise.
14248         * soft-fp/floattidf.c: Likewise.
14249         * soft-fp/floattisf.c: Likewise.
14250         * soft-fp/floattitf.c: Likewise.
14251         * soft-fp/floatundidf.c: Likewise.
14252         * soft-fp/floatundisf.c: Likewise.
14253         * soft-fp/floatunditf.c: Likewise.
14254         * soft-fp/floatunsidf.c: Likewise.
14255         * soft-fp/floatunsisf.c: Likewise.
14256         * soft-fp/floatunsitf.c: Likewise.
14257         * soft-fp/floatuntidf.c: Likewise.
14258         * soft-fp/floatuntisf.c: Likewise.
14259         * soft-fp/floatuntitf.c: Likewise.
14260         * soft-fp/fmadf4.c: Likewise.
14261         * soft-fp/fmasf4.c: Likewise.
14262         * soft-fp/fmatf4.c: Likewise.
14263         * soft-fp/gedf2.c: Likewise.
14264         * soft-fp/gesf2.c: Likewise.
14265         * soft-fp/getf2.c: Likewise.
14266         * soft-fp/ledf2.c: Likewise.
14267         * soft-fp/lesf2.c: Likewise.
14268         * soft-fp/letf2.c: Likewise.
14269         * soft-fp/muldf3.c: Likewise.
14270         * soft-fp/mulsf3.c: Likewise.
14271         * soft-fp/multf3.c: Likewise.
14272         * soft-fp/negdf2.c: Likewise.
14273         * soft-fp/negsf2.c: Likewise.
14274         * soft-fp/negtf2.c: Likewise.
14275         * soft-fp/op-1.h: Likewise.
14276         * soft-fp/op-2.h: Likewise.
14277         * soft-fp/op-4.h: Likewise.
14278         * soft-fp/op-8.h: Likewise.
14279         * soft-fp/op-common.h: Likewise.
14280         * soft-fp/quad.h: Likewise.
14281         * soft-fp/single.h: Likewise.
14282         * soft-fp/soft-fp.h: Likewise.
14283         * soft-fp/sqrtdf2.c: Likewise.
14284         * soft-fp/sqrtsf2.c: Likewise.
14285         * soft-fp/sqrttf2.c: Likewise.
14286         * soft-fp/subdf3.c: Likewise.
14287         * soft-fp/subsf3.c: Likewise.
14288         * soft-fp/subtf3.c: Likewise.
14289         * soft-fp/truncdfsf2.c: Likewise.
14290         * soft-fp/trunctfdf2.c: Likewise.
14291         * soft-fp/trunctfsf2.c: Likewise.
14292         * soft-fp/trunctfxf2.c: Likewise.
14293         * soft-fp/unorddf2.c: Likewise.
14294         * soft-fp/unordsf2.c: Likewise.
14295         * soft-fp/unordtf2.c: Likewise.
14296
14297 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14298
14299         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14300         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14301
14302 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14303
14304         * elf/dl-libc.c: Clear initfini list after freeing.
14305
14306 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14307
14308         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14309         * soft-fp/addsf3.c: Likewise.
14310         * soft-fp/addtf3.c: Likewise.
14311         * soft-fp/divdf3.c: Likewise.
14312         * soft-fp/divsf3.c: Likewise.
14313         * soft-fp/divtf3.c: Likewise.
14314         * soft-fp/double.h: Likewise.
14315         * soft-fp/eqdf2.c: Likewise.
14316         * soft-fp/eqsf2.c: Likewise.
14317         * soft-fp/eqtf2.c: Likewise.
14318         * soft-fp/extenddftf2.c: Likewise.
14319         * soft-fp/extended.h: Likewise.
14320         * soft-fp/extendsfdf2.c: Likewise.
14321         * soft-fp/extendsftf2.c: Likewise.
14322         * soft-fp/extendxftf2.c: Likewise.
14323         * soft-fp/fixdfdi.c: Likewise.
14324         * soft-fp/fixdfsi.c: Likewise.
14325         * soft-fp/fixdfti.c: Likewise.
14326         * soft-fp/fixsfdi.c: Likewise.
14327         * soft-fp/fixsfsi.c: Likewise.
14328         * soft-fp/fixsfti.c: Likewise.
14329         * soft-fp/fixtfdi.c: Likewise.
14330         * soft-fp/fixtfsi.c: Likewise.
14331         * soft-fp/fixtfti.c: Likewise.
14332         * soft-fp/fixunsdfdi.c: Likewise.
14333         * soft-fp/fixunsdfsi.c: Likewise.
14334         * soft-fp/fixunsdfti.c: Likewise.
14335         * soft-fp/fixunssfdi.c: Likewise.
14336         * soft-fp/fixunssfsi.c: Likewise.
14337         * soft-fp/fixunssfti.c: Likewise.
14338         * soft-fp/fixunstfdi.c: Likewise.
14339         * soft-fp/fixunstfsi.c: Likewise.
14340         * soft-fp/fixunstfti.c: Likewise.
14341         * soft-fp/floatdidf.c: Likewise.
14342         * soft-fp/floatdisf.c: Likewise.
14343         * soft-fp/floatditf.c: Likewise.
14344         * soft-fp/floatsidf.c: Likewise.
14345         * soft-fp/floatsisf.c: Likewise.
14346         * soft-fp/floatsitf.c: Likewise.
14347         * soft-fp/floattidf.c: Likewise.
14348         * soft-fp/floattisf.c: Likewise.
14349         * soft-fp/floattitf.c: Likewise.
14350         * soft-fp/floatundidf.c: Likewise.
14351         * soft-fp/floatundisf.c: Likewise.
14352         * soft-fp/floatunsidf.c: Likewise.
14353         * soft-fp/floatunsisf.c: Likewise.
14354         * soft-fp/floatuntidf.c: Likewise.
14355         * soft-fp/floatuntisf.c: Likewise.
14356         * soft-fp/floatuntitf.c: Likewise.
14357         * soft-fp/fmadf4.c: Likewise.
14358         * soft-fp/fmasf4.c: Likewise.
14359         * soft-fp/fmatf4.c: Likewise.
14360         * soft-fp/gedf2.c: Likewise.
14361         * soft-fp/gesf2.c: Likewise.
14362         * soft-fp/getf2.c: Likewise.
14363         * soft-fp/ledf2.c: Likewise.
14364         * soft-fp/lesf2.c: Likewise.
14365         * soft-fp/letf2.c: Likewise.
14366         * soft-fp/muldf3.c: Likewise.
14367         * soft-fp/mulsf3.c: Likewise.
14368         * soft-fp/multf3.c: Likewise.
14369         * soft-fp/negdf2.c: Likewise.
14370         * soft-fp/negsf2.c: Likewise.
14371         * soft-fp/negtf2.c: Likewise.
14372         * soft-fp/op-1.h: Likewise.
14373         * soft-fp/op-2.h: Likewise.
14374         * soft-fp/op-4.h: Likewise.
14375         * soft-fp/op-8.h: Likewise.
14376         * soft-fp/op-common.h: Likewise.
14377         * soft-fp/quad.h: Likewise.
14378         * soft-fp/single.h: Likewise.
14379         * soft-fp/soft-fp.h: Likewise.
14380         * soft-fp/sqrtdf2.c: Likewise.
14381         * soft-fp/sqrtsf2.c: Likewise.
14382         * soft-fp/sqrttf2.c: Likewise.
14383         * soft-fp/subdf3.c: Likewise.
14384         * soft-fp/subsf3.c: Likewise.
14385         * soft-fp/subtf3.c: Likewise.
14386         * soft-fp/truncdfsf2.c: Likewise.
14387         * soft-fp/trunctfdf2.c: Likewise.
14388         * soft-fp/trunctfsf2.c: Likewise.
14389         * soft-fp/trunctfxf2.c: Likewise.
14390         * soft-fp/unorddf2.c: Likewise.
14391         * soft-fp/unordsf2.c: Likewise.
14392         * soft-fp/unordtf2.c: Likewise.
14393
14394 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14395
14396         [BZ #15672]
14397         * misc/error.c (error_tail): Fix possible buffer overflow.
14398
14399 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14400
14401         [BZ #13028]
14402         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14403         address.
14404
14405 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14406
14407         [BZ #832]
14408         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14409         testing pipefail option.
14410
14411 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14412
14413         * soft-fp/double.h: Indent preprocessor directives inside #if.
14414         * soft-fp/extended.h: Likewise.
14415         * soft-fp/op-2.h: Likewise.
14416         * soft-fp/op-4.h: Likewise.
14417         * soft-fp/op-common.h: Likewise.
14418         * soft-fp/quad.h: Likewise.
14419         * soft-fp/single.h: Likewise.
14420         * soft-fp/soft-fp.h: Likewise.
14421
14422 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14423
14424         * iconv/iconv_prog.c: Fix typos.
14425         * stdio-common/psiginfo-data.h: Likewise.
14426
14427 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14428
14429         [BZ #15764]
14430         * locale/setlocale.c: Fix typo.
14431
14432 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14433
14434         [BZ #16036]
14435         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14436         signaling NaN arguments.
14437         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14438         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14439
14440         [BZ #14910]
14441         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14442         unordered operands.
14443         * soft-fp/gesf2.c (__gesf2): Likewise.
14444         * soft-fp/getf2.c (__getf2): Likewise.
14445         * soft-fp/ledf2.c (__ledf2): Likewise.
14446         * soft-fp/lesf2.c (__lesf2): Likewise.
14447         * soft-fp/letf2.c (__letf2): Likewise.
14448
14449         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14450         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14451         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14452         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14453         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14454         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14455         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14456         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14457         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14458         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14459         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14460         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14461         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14462         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14463         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14464         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14465         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14466         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14467         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14468         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14469         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14470         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14471         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14472         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14473         * soft-fp/floattidf.c (__floattidf): Likewise.
14474         * soft-fp/floattisf.c (__floattisf): Likewise.
14475         * soft-fp/floattitf.c (__floattitf): Likewise.
14476         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14477         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14478         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14479         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14480         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14481         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14482         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14483         * soft-fp/gesf2.c (__gesf2): Likewise.
14484         * soft-fp/getf2.c (__getf2): Likewise.
14485         * soft-fp/ledf2.c (__ledf2): Likewise.
14486         * soft-fp/lesf2.c (__lesf2): Likewise.
14487         * soft-fp/letf2.c (__letf2): Likewise.
14488
14489         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14490         Undefine and redefine.
14491         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14492         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14493         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14494         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14495         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14496         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14497         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14498         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14499         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14500         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14501         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14502         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14503         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14504         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14505         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14506
14507         [BZ #16032]
14508         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14509         without decrementing exponent if mantissa >= that for the
14510         denominator, not >.
14511         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14512         denominator, not >.  Decrement exponent in < case instead of
14513         incrementing in >= case.
14514         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14515         without decrementing exponent if mantissa >= that for the
14516         denominator, not >.
14517
14518         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14519         computing saturated result for unsigned overflow.
14520
14521 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14522             Jeff Law  <law@redhat.com>
14523
14524         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14525         (atan2Mp): Add systemtap probe marker.
14526         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14527         (__ieee754_log): Add systemtap probe marker.
14528         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14529         (atanMp): Add systemtap probe marker.
14530         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14531         (tanMp): Add systemtap probe marker.
14532         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14533         (__slowexp): Add systemtap probe marker.
14534         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14535         (__slowpow): Add systemtap probe marker.
14536         * manual/probes.texi: Document probes.
14537
14538 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14539
14540         [BZ #15362]
14541         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14542         written.
14543         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14544         written.
14545         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14546         written to buffer but not flushed.
14547         * libio/iofwrite_u.c:  Likewise.
14548         * libio/iopadn.c:  Return bytes returned even if EOF was
14549         encountered.
14550         * libio/iowpadn.c:  Likewise.
14551         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14552         if _IO_padn does not write the whole buffer.
14553         [!COMPILE_WPRINTF] (PAD): Likewise.
14554
14555 2013-10-10  David S. Miller  <davem@davemloft.net>
14556
14557         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14558         directory block.
14559
14560 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14561
14562         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14563         instead of FSF address.
14564         * soft-fp/fixdfti.c: Likewise.
14565         * soft-fp/fixsfti.c: Likewise.
14566         * soft-fp/fixtfti.c: Likewise.
14567         * soft-fp/fixunsdfti.c: Likewise.
14568         * soft-fp/fixunssfti.c: Likewise.
14569         * soft-fp/fixunstfti.c: Likewise.
14570         * soft-fp/floattidf.c: Likewise.
14571         * soft-fp/floattisf.c: Likewise.
14572         * soft-fp/floattitf.c: Likewise.
14573         * soft-fp/floatuntidf.c: Likewise.
14574         * soft-fp/floatuntisf.c: Likewise.
14575         * soft-fp/floatuntitf.c: Likewise.
14576         * soft-fp/trunctfxf2.c: Likewise.
14577
14578         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14579         * soft-fp/fixdfti.c: Likewise.
14580         * soft-fp/fixsfti.c: Likewise.
14581         * soft-fp/fixtfti.c: Likewise.
14582         * soft-fp/fixunsdfti.c: Likewise.
14583         * soft-fp/fixunssfti.c: Likewise.
14584         * soft-fp/fixunstfti.c: Likewise.
14585         * soft-fp/floattidf.c: Likewise.
14586         * soft-fp/floattisf.c: Likewise.
14587         * soft-fp/floattitf.c: Likewise.
14588         * soft-fp/floatuntidf.c: Likewise.
14589         * soft-fp/floatuntisf.c: Likewise.
14590         * soft-fp/floatuntitf.c: Likewise.
14591         * soft-fp/trunctfxf2.c: Likewise.
14592
14593 2013-10-10  David S. Miller  <davem@davemloft.net>
14594
14595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14596
14597 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14598
14599         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14600         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14601         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14602         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14603         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14604         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14605         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14606
14607         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14608         for NaNs before doing comparisons on argument.
14609         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14610         Likewise.
14611
14612 2013-10-10  Will Newton  <will.newton@linaro.org>
14613
14614         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14615         passed to _int_memalign does not overflow.
14616
14617 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14618
14619         * scripts/bench.pl: Add include-sources directive.
14620         * benchtests/README: Update documentation.
14621
14622 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14623
14624         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14625         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14626         instead of FP_INIT_ROUNDMODE.
14627         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14628         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14629
14630         [BZ #16034]
14631         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14632         copy class of input value.
14633         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14634         not handle exceptions.
14635         * soft-fp/negsf2.c (__negsf2): Likewise.
14636         * soft-fp/negtf2.c (__negtf2): Likewise.
14637         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14638
14639 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14640
14641         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14642         semicolon.  From Linux kernel.
14643
14644 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14645
14646         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14647
14648 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14649
14650         [BZ #156]
14651         * manual/socket.texi: Added statement about buffer
14652         for gethostbyname2_r.
14653
14654 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14655
14656         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14657         Use .p2align directive instead, throughout.
14658         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14659         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14660         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14661         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14662         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14663         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14664         * sysdeps/x86_64/strchr.S: Likewise.
14665         * sysdeps/x86_64/strrchr.S: Likewise.
14666
14667 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14668
14669         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14670
14671         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14672
14673         * sysdeps/generic/math_private.h (__mpsin1): Remove
14674         declaration.
14675         (__mpcos1): Likewise.
14676         (__mpsin): New argument __range_reduce.
14677         (__mpcos): Likewise.
14678         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14679         (slow): Use __mpsin and __mpcos.
14680         (slow1): Likewise.
14681         (slow2): Likewise.
14682         (sloww): Likewise.
14683         (sloww1): Likewise.
14684         (sloww2): Likewise.
14685         (bsloww): Likewise.
14686         (bsloww1): Likewise.
14687         (bsloww2): Likewise.
14688         (cslow2): Likewise.
14689         (csloww): Likewise.
14690         (csloww1): Likewise.
14691         (csloww2): Likewise.
14692         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14693         range_reduce.  Merge in __mpsin1.
14694         (__mpcos): Likewise.
14695         (__mpsin1): Remove.
14696         (__mpcos1): Likewise.
14697
14698 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14699
14700         * locale/loadlocale.c (_nl_intern_locale_data): Use
14701         LOCFILE_ALIGNED_P.
14702         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14703         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14704         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14705         obstack data is appropriately aligned.
14706         (obstack_int32_grow_fast): Likewise.
14707         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14708         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14709         (add_locale_uint32_array): Likewise.
14710
14711 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14712
14713         * benchtests/Makefile: Remove ARGLIST and RET variables.
14714         ($(objpfx)bench-%.c): Pass only function name to the script.
14715         * benchtests/README: Update documentation.
14716         * benchtests/acos-inputs: Add new directives.
14717         * benchtests/acosh-inputs: Likewise.
14718         * benchtests/asin-inputs: Likewise.
14719         * benchtests/asinh-inputs: Likewise.
14720         * benchtests/atan-inputs: Likewise.
14721         * benchtests/atanh-inputs: Likewise.
14722         * benchtests/cos-inputs: Likewise.
14723         * benchtests/cosh-inputs: Likewise.
14724         * benchtests/exp-inputs: Likewise.
14725         * benchtests/log-inputs: Likewise.
14726         * benchtests/pow-inputs: Likewise.
14727         * benchtests/rint-inputs: Likewise.
14728         * benchtests/sin-inputs: Likewise.
14729         * benchtests/sinh-inputs: Likewise.
14730         * benchtests/tan-inputs: Likewise.
14731         * benchtests/tanh-inputs: Likewise.
14732         * scripts/bench.pl: Add support for new directives.
14733
14734 2013-10-07  Alan Modra  <amodra@gmail.com>
14735
14736         * README: Fix careless merge.
14737
14738 2013-10-05  Alan Modra  <amodra@gmail.com>
14739
14740         * NEWS: Mention powerpc64le support and bugs fixed.
14741         * README: Both big-endian and little-endian powerpc64 supported.
14742
14743 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14744
14745         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14746         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14747         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14748         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14749
14750 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14751
14752         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14753         match prototype.
14754
14755 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14756
14757         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14758         Move -mhard-float appending from
14759         ports/sysdeps/powerpc/powerpc32/Makefile.
14760         [$(with-fp) = yes] (ASFLAGS): Likewise.
14761         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14762         * sysdeps/powerpc/nofpu: Move directory from
14763         ports/sysdeps/powerpc/nofpu.
14764         * sysdeps/powerpc/soft-fp: Move directory from
14765         ports/sysdeps/powerpc/soft-fp.
14766         * sysdeps/powerpc/powerpc32/405: Move directory from
14767         ports/sysdeps/powerpc/powerpc32/405.
14768         * sysdeps/powerpc/powerpc32/440: Move directory from
14769         ports/sysdeps/powerpc/powerpc32/440.
14770         * sysdeps/powerpc/powerpc32/464: Move directory from
14771         ports/sysdeps/powerpc/powerpc32/464.
14772         * sysdeps/powerpc/powerpc32/476: Move directory from
14773         ports/sysdeps/powerpc/powerpc32/476.
14774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14775         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14777         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14779         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14781         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14783         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14784         * README: Update for powerpc-*-linux-gnu software floating point
14785         support in libc.
14786
14787         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14788         case to powerpc/powerpc32*.
14789         * sysdeps/unix/sysv/linux/configure: Regenerated.
14790
14791         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14792         (_FPU_MASK_OM): Define as 0x04.
14793         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14795         0x00c10080.
14796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14797         0x0000003c.
14798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14799
14800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14801         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14802         getcontext_e500.
14803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14804         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14805         setcontext_e500.
14806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14807         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14808         and setcontext_e500.
14809
14810 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14811
14812         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14813
14814 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14815
14816         * manual/threads.texi (Default Thread Attributes): Fix typo.
14817
14818 2013-10-04  Will Newton  <will.newton@linaro.org>
14819
14820         * malloc/Makefile: Add tst-memalign.
14821         * malloc/tst-memalign.c: New file.
14822
14823         * malloc/tst-posix_memalign.c: Add comments.
14824         (do_test): Add comments and call free on all potentially
14825         allocated pointers. Add space after cast.
14826
14827         * malloc/tst-pvalloc.c: Add comments.
14828         (do_test): Add comments and call free on all potentially
14829         allocated pointers. Remove duplicate check for NULL pointer.
14830         Add space after cast.
14831
14832         * malloc/tst-valloc.c: Add comments.
14833         (do_test): Add comments and call free on all potentially
14834         allocated pointers. Remove duplicate check for NULL pointer.
14835         Add space after cast.
14836
14837 2013-10-04  Alan Modra  <amodra@gmail.com>
14838
14839         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14840         Use stdint types in rather than __attribute__((mode())).
14841         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14842
14843 2013-10-04  Alan Modra  <amodra@gmail.com>
14844
14845         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14846         Correct handling of unaligned relocs for little-endian.
14847         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14848
14849 2013-10-04  Alan Modra  <amodra@gmail.com>
14850
14851         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14852         * configure: Regenerate.
14853         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14854         * shlib-versions: Likewise.
14855
14856 2013-10-04  Alan Modra  <amodra@gmail.com>
14857
14858         * string/tester.c (test_memrchr): Increment reported test cycle.
14859
14860 2013-10-04  Alan Modra  <amodra@gmail.com>
14861
14862         * string/test-memcpy.c (do_one_test): When reporting errors, print
14863         string address and don't overrun end of string.
14864
14865 2013-10-04  Alan Modra  <amodra@gmail.com>
14866
14867         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14868         insrdi.  Make better use of reg selection to speed exit slightly.
14869         Schedule entry path a little better.  Remove useless "are we done"
14870         checks on entry to main loop.  Handle wrapping around zero address.
14871         Correct main loop count.  Handle single left-over word from main
14872         loop inline rather than by using loop_small.  Remove extra word
14873         case in loop_small caused by wrong loop count.  Add little-endian
14874         support.
14875         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14876         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14877         cache hint.
14878         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14879         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14880         support.  Avoid rlwimi.
14881         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14882
14883 2013-10-04  Alan Modra  <amodra@gmail.com>
14884
14885         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14886         insrdi.  Formatting.
14887         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14888         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14889         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14890         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14891         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14892         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14893
14894 2013-10-04  Alan Modra  <amodra@gmail.com>
14895
14896         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14897         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14898         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14899         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14900         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14901         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14902         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14903         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14904         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14905         use of regs.  Use power7 mtocrf.  Tidy function tails.
14906
14907 2013-10-04  Alan Modra  <amodra@gmail.com>
14908
14909         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14910         Formatting.  Consistently use rXXX register defines or rN defines.
14911         Use early exit labels that avoid restoring unused non-volatile regs.
14912         Make cr field use more consistent with rWORDn compares.  Rename
14913         regs used as shift registers for unaligned loop, using rN defines
14914         for short lifetime/multiple use regs.
14915         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14916         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14917         addi 1,1,64 to pop stack frame.  Simplify return value code.
14918         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14919
14920 2013-10-04  Alan Modra  <amodra@gmail.com>
14921
14922         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14923         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14924         rather than rlwimi.
14925         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14926         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14927         little-endian support.  Correct typos.
14928         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14929         rather than rlwimi.
14930         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14931         in loop and entry code to keep "and." results.
14932         (strchr): Add little-endian support.  Comment.  Move cntlzd
14933         earlier in tail.
14934         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14935
14936 2013-10-04  Alan Modra  <amodra@gmail.com>
14937
14938         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14939         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14940         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14941         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14942
14943 2013-10-04  Alan Modra  <amodra@gmail.com>
14944
14945         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14946         (rTMP): Define as r11.
14947         (strcmp): Add little-endian support.  Optimise tail.
14948         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14949         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14950         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14951         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14952         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14953         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14954         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14955
14956 2013-10-04  Alan Modra  <amodra@gmail.com>
14957
14958         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14959         little-endian support.  Remove unnecessary "are we done" tests.
14960         Handle "s" wrapping around zero and extremely large "size".
14961         Correct main loop count.  Handle single left-over word from main
14962         loop inline rather than by using small_loop.  Correct comments.
14963         Delete "zero" tail, use "end_max" instead.
14964         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14965
14966 2013-10-04  Alan Modra  <amodra@gmail.com>
14967
14968         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14969         support.  Don't branch over align.
14970         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14971         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14972         support.  Rearrange tmp reg use to suit.  Comment.
14973         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14974
14975 2013-10-04  Alan Modra  <amodra@gmail.com>
14976
14977         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14978
14979 2013-10-04  Alan Modra  <amodra@gmail.com>
14980
14981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14982         conditional form of branch and link when obtaining pc.
14983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14984
14985 2013-10-04  Alan Modra  <amodra@gmail.com>
14986
14987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14988         HIWORD/LOWORD.
14989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14991
14992 2013-10-04  Alan Modra  <amodra@gmail.com>
14993
14994         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14995         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14996         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14997         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14998         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14999         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15000         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15001         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15002         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15003         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15004
15005 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15006             Alistair Popple <alistair@ozlabs.au.ibm.com>
15007             Alan Modra <amodra@gmail.com>
15008
15009         [BZ #15723]
15010         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15011         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15012         _dl_hwcap access for little-endian.
15013         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15014         destroy vmx regs when saving unaligned.
15015         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15016         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15017         destroy vmx regs when saving unaligned.
15018
15019 2013-10-04  Alan Modra  <amodra@gmail.com>
15020
15021         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15022         Don't use a union to pack hi/low value.
15023
15024 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15025
15026         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15027         for little-endian.
15028         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15029         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15030         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15031         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15032         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15033
15034 2013-10-04  Alan Modra  <amodra@gmail.com>
15035
15036         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15037         constants to usual value for .cst8 section, and remove redundant
15038         high address load.
15039         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15040         constant for 0x1p52.  Load little-endian words of double from
15041         correct stack offsets.
15042
15043 2013-10-04  Alan Modra  <amodra@gmail.com>
15044
15045         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15046         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15047         words of double from correct stack offsets.
15048         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15049         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15050         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15051         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15052         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15053         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15054         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15055         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15056         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15057         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15058         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15059         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15060         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15061         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15062         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15063         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15064         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15065
15066 2013-10-04  Alan Modra  <amodra@gmail.com>
15067
15068         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15069         64-bit int/double union.
15070         (_FPU_SETCW): Likewise.
15071         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15072         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15073
15074 2013-10-04  Alan Modra  <amodra@gmail.com>
15075
15076         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15077         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15078
15079 2013-10-04  Alan Modra  <amodra@gmail.com>
15080
15081         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15082         use vector int constants.
15083         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15084
15085 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15086
15087         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15088         array with long long.
15089         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15090         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15091         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15092         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15093         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15094         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15095         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15096         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15097         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15098         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15099         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15100         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15101         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15102
15103 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15104
15105         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15106         (__signbit): Likewise.  Correct for little-endian.
15107         (__signbitl): Call __signbit.
15108         (lrint): Correct for little-endian.
15109         (lrintf): Call lrint.
15110
15111 2013-10-04  Alan Modra  <amodra@gmail.com>
15112
15113         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15114         union 32-bit int array member with 64-bit int array.
15115         (t515, tm256): Double rather than long double.
15116         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15117
15118 2013-10-04  Alan Modra  <amodra@gmail.com>
15119
15120         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15121         Delete.
15122         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15123         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15124         version of math_ldbl.h.
15125
15126 2013-10-04  Alan Modra  <amodra@gmail.com>
15127
15128         [BZ #15734], [BZ #15735]
15129         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15130         all uses of ieee875 long double macros and unions.  Simplify test
15131         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15132         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15133         normalize after ldbl_extract_mantissa, and don't add hidden bit
15134         already handled.  Don't treat low word of ieee854 mantissa like
15135         low word of IBM long double and mask off bit when testing for
15136         zero.
15137         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15138         all uses of ieee875 long double macros and unions.  Simplify tests
15139         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15140         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15141         two1022, instead use their values.  Recognise that tests for large
15142         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15143         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15144         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15145         test for 0.0L and nan.  Correct negation.
15146         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15147         ieee875 long double macros and unions.  Correct output for large
15148         magnitude x.  Correct absolute value calculation.
15149         (__erfcl): Likewise.
15150         * math/libm-test.inc: Add tests for errors discovered in IBM long
15151         double versions of fmodl, remainderl, erfl and erfcl.
15152
15153 2013-10-04  Alan Modra  <amodra@gmail.com>
15154
15155         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15156         all uses of ieee854 long double macros and unions.  Simplify tests
15157         for long doubles that are fully specified by the high double.
15158         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15159         Likewise.
15160         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15161         Remove dead code too.
15162         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15163         (__ieee754_ynl): Likewise.
15164         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15165         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15166         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15167         Remove dead code too.
15168         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15169         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15170         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15171         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15172         Simplify.
15173         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15174         Simplify.
15175         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15176         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15177         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15178         Comment on variable precision.
15179         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15180         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15181         Likewise.
15182         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15183         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15184         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15185         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15186         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15187
15188 2013-10-04  Alan Modra  <amodra@gmail.com>
15189
15190         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15191         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15192         all uses of ieee854 long double macros and unions.
15193         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15194         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15195         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15196         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15197         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15198         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15199         Likewise.
15200         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15201         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15202         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15203         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15204         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15205         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15206         Simplify sign and nan test too.
15207         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15208         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15209         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15210         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15211         Likewise.
15212         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15213         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15214         Likewise.
15215         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15216         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15217         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15218         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15219         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15220         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15221
15222 2013-10-04  Alan Modra  <amodra@gmail.com>
15223
15224         * stdio-common/printf_size.c (__printf_size): Don't use
15225         union ieee854_long_double in fpnum union.
15226         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15227         signbit macro to retrieve sign from long double.
15228         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15229         retrieve sign from long double.
15230         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15231         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15232         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15233         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15234         * math/test-misc.c (main): Don't use union ieee854_long_double.
15235
15236 2013-10-04  Alan Modra  <amodra@gmail.com>
15237
15238         [BZ #15680]
15239         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15240         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15241         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15242         calculation.  Remove unnecessary test for denormal exponent.
15243         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15244         Correct handling of denormals.  Avoid undefined shift behaviour.
15245         Correct normalisation of low mantissa when low double is denormal.
15246         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15247         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15248         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15249         Correct normalisation of low mantissa.  Test for overflow of high
15250         mantissa and normalise.
15251         (ldbl_nearbyint): Use more readable constant for two52.
15252         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15253         (__mpn_construct_long_double): Fix test for overflow of high
15254         mantissa and correct normalisation.  Avoid undefined shift.
15255
15256 2013-10-04  Alan Modra  <amodra@gmail.com>
15257
15258         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15259         (union ibm_extended_long_double): Define as an array of ieee754_double.
15260         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15261         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15262         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15263         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15264         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15265         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15267         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15268         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15269         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15270         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15271
15272 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15273
15274         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15275         page size instead of calling getpagesize.
15276
15277         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15278         (LOCFILE_ALIGN_MASK): Likewise.
15279         (LOCFILE_ALIGN_UP): Likewise.
15280         (LOCFILE_ALIGNED_P): Likewise.
15281         * locale/programs/ld-collate.c (collate_output): Use the new
15282         macros instead of __alignof__ (int32_t).
15283         * locale/weight.h (findidx): Likewise.
15284
15285 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15286
15287         [BZ #431]
15288         * manual/string.texi: Fix strncat and wcsncat.
15289
15290 2013-10-03  Brooks Moses  <bmoses@google.com>
15291
15292         [BZ #15915]
15293         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15294         * Makerules: ...here, and adjust associated comments.
15295
15296 2013-10-02  Will Newton  <will.newton@linaro.org>
15297
15298         * malloc/Makefile: Add tst-pvalloc.
15299         * malloc/tst-pvalloc.c: New file.
15300
15301 2013-10-02  Will Newton  <will.newton@linaro.org>
15302
15303         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15304         improve test coverage.
15305
15306 2013-10-02  Will Newton  <will.newton@linaro.org>
15307
15308         * malloc/Makefile: Add tst-posix_memalign.
15309         * malloc/tst-posix_memalign.c: New file.
15310
15311 2013-10-01  Eric Blake  <eblake@redhat.com>
15312
15313         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15314         Use __THROWNL rather than __THROW on static functions.
15315
15316 2013-09-30  Petr Machata  <pmachata@redhat.com>
15317
15318         * elf/elf.h (R_AARCH64_ABS16): New macro.
15319         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15320         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15321         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15322         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15323         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15324         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15325         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15326         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15327         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15328         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15329         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15330         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15331         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15332         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15333         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15334         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15335         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15336         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15337         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15338         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15339         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15340         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15341         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15342         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15343         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15344         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15345         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15346         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15347         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15348         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15349         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15350         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15351         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15352         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15353         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15354         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15355         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15356         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15357         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15358         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15359         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15360         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15361         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15362         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15363         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15364         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15365         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15366         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15367         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15368         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15369         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15370         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15371         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15372         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15373         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15374         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15375         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15376         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15377         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15378         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15379         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15380         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15381         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15382         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15383         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15384         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15385         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15386         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15387         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15388         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15389         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15390         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15391         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15392         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15393         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15394         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15395         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15396         (R_AARCH64_TLSDESC_LDR): Likewise.
15397         (R_AARCH64_TLSDESC_ADD): Likewise.
15398         (R_AARCH64_TLSDESC_CALL): Likewise.
15399
15400 2013-09-30  Andreas Schwab  <schwab@suse.de>
15401
15402         [BZ #15048]
15403         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15404         the nss database lookup.
15405         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15406         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15407
15408 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15409
15410         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15411
15412 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15413
15414         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15415         ${Bash-specific parameter/pattern/string} parameter expansion.
15416         * sysdeps/unix/make-syscalls.sh: Likewise.
15417
15418 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15419
15420         * sysdeps/sh/stackguard-macros.h: New file.
15421
15422 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15423
15424         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15425         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15426         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15427         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15428         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15429         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15430
15431 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15432
15433         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15434         Fix thread ID register.
15435
15436 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15437
15438         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15439         [POSIX || UNIX98]: Require rather than permitting all symbols from
15440         <time.h>.
15441         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15442         element of struct sched_param.
15443         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15444         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15445         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15446         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15447         constant.
15448
15449 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15450
15451         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15452         argument calculation.
15453
15454 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15455
15456         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15457         Expect macro.
15458         [POSIX] (pthread_attr_t): Do not require type.
15459         [POSIX] (pthread_cond_t): Likewise.
15460         [POSIX] (pthread_condattr_t): Likewise.
15461         [POSIX] (pthread_key_t): Likewise.
15462         [POSIX] (pthread_mutex_t): Likewise.
15463         [POSIX] (pthread_mutexattr_t): Likewise.
15464         [POSIX] (pthread_once_t): Likewise.
15465         [POSIX] (pthread_t): Likewise.
15466         [POSIX-based standards] (pthread_atfork): Expect function.
15467
15468 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15469             Richard Sandiford  <richard@codesourcery.com>
15470
15471         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15472         (swap_endianness_p): New extern variable.
15473         (set_big_endian): New inline function.
15474         (maybe_swap_uint32): Likewise.
15475         (maybe_swap_uint32_array): Likewise.
15476         (maybe_swap_uint32_obstack): Likewise.
15477         * locale/programs/locfile.c: Include <stdbool.h>.
15478         (swap_endianness_p): New variable.
15479         (add_locale_uint32): Call maybe_swap_uint32.
15480         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15481         (write_locale_data): Call maybe_swap_uint32_array.
15482         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15483         maybe_swap_uint32.
15484         (obstack_int32_grow_fast): Likewise.
15485         (output_weightwc): Call maybe_swap_uint32_obstack.
15486         (collate_output): Likewise.
15487         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15488         (OPT_LITTLE_ENDIAN): Likewise.
15489         (options): Add --little-endian and --big-endian options.
15490         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15491         * locale/programs/locarchive.c: Include "locfile.h".
15492         (GET): New macro.
15493         (SET): Likewise.
15494         (INC): Likewise.
15495         (create_archive): Use the new macros to access fields of
15496         structures directly mapped from or written to locale archives.
15497         (oldlocrecentcmp): Likewise.
15498         (enlarge_archive): Likewise.
15499         (insert_name): Likewise.
15500         (add_alias): Likewise.
15501         (add_locale): Likewise.
15502         (delete_locales_from_archive): Likewise.
15503         (show_archive_content): Likewise.
15504         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15505         locale data.
15506
15507 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15508
15509         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15510         http://www.gnu.org/doc/freemanuals.texi.
15511         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15512
15513 2013-09-24  Will Newton  <will.newton@linaro.org>
15514
15515         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15516         macro.
15517
15518 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15519
15520         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15521         unsigned char.
15522
15523 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15524
15525         * manual/threads.texi (POSIX Threads): Fix a typo.
15526
15527 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15528
15529         [BZ #14547]
15530         * string/tst-strcoll-overflow.c: New test case.
15531         * string/Makefile (xtests): Add tst-strcoll-overflow.
15532         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15533         cache if string sizes may cause integer overflow.
15534
15535         [BZ #14547]
15536         * string/strcoll_l.c (coll_seq): New members rule, idx,
15537         save_idx and back_us.
15538         (get_next_seq_nocache): New function.
15539         (do_compare_nocache): New function.
15540         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15541         when malloc fails.
15542
15543 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15544
15545         [BZ #15754]
15546         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15547         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15548         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15549
15550         [BZ #15754]
15551         * elf/Makefile (tests): Add tst-ptrguard1.
15552         (tests-static): Add tst-ptrguard1-static.
15553         (tst-ptrguard1-ARGS): Define.
15554         (tst-ptrguard1-static-ARGS): Define.
15555         * elf/tst-ptrguard1.c: New file.
15556         * elf/tst-ptrguard1-static.c: New file.
15557         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15558         * sysdeps/i386/stackguard-macros.h: Likewise.
15559         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15560         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15561         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15562         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15563         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15564         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15565
15566 2013-09-23  Hector Marco  <hecmargi@upv.es>
15567             Ismael Ripoll  <iripoll@disca.upv.es>
15568             Carlos O'Donell  <carlos@redhat.com>
15569
15570         [BZ #15754]
15571         * sysdeps/generic/stackguard-macros.h: Define
15572         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15573         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15574         Define __pointer_chk_guard_local.
15575         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15576         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15577
15578 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15579
15580         [BZ #15859]
15581         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15582
15583 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15584
15585         * include/string.h (__ffs): Declare as hidden.
15586         * string/ffs.c (__ffs): Define as hidden.
15587         * sysdeps/i386/ffs.c (__ffs): Likewise.
15588         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15589         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15590         * sysdeps/s390/ffs.c (__ffs): Likewise.
15591         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15592
15593 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15594
15595         * NEWS: Mention malloc probes.
15596
15597         * malloc/arena.c (new_heap): New memory_heap_new probe.
15598         (grow_heap): New memory_heap_more probe.
15599         (shrink_heap): New memory_heap_less probe.
15600         (heap_trim): New memory_heap_free probe.
15601         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15602         (systrim): New memory_sbrk_less probe.
15603         * manual/probes.texi: Document them.
15604
15605         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15606         * manual/probes.texi: Document it.
15607
15608         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15609         (__libc_realloc): Add memory_realloc_retry probe.
15610         (__libc_memalign): Add memory_memalign_retry probe.
15611         (__libc_valloc): Add memory_valloc_retry probe.
15612         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15613         (__libc_calloc): Add memory_calloc_retry probe.
15614         * manual/probes.texi: Document them.
15615
15616         * malloc/arena.c (get_free_list): Add probe
15617         memory_arena_reuse_free_list.
15618         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15619         and memory_arena_reuse.
15620         (arena_get2) [!PER_THREAD]: Likewise.
15621         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15622         memory_arena_reuse_realloc.
15623         * manual/probes.texi: Document them.
15624
15625         * malloc/malloc.c (__libc_free): Add
15626         memory_mallopt_free_dyn_thresholds probe.
15627         (__libc_mallopt): Add multiple memory_mallopt probes.
15628         * manual/probes.texi: Document them.
15629
15630         * malloc/malloc.c: Include stap-probe.h.
15631         (__libc_mallopt): Add memory_mallopt probe.
15632         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15633         * manual/probes.texi: New.
15634         * manual/Makefile (chapters): Add probes.
15635         * manual/threads.texi: Set next node.
15636
15637 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15638
15639         [BZ #15963, #13985]
15640         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15641         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15642         Add `Chinese' to `nan' entry name.
15643
15644 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15645
15646         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15647         (POLYNOMIAL): Likewise.
15648         (TAYLOR_SINCOS): Likewise.
15649         (TAYLOR_SLOW): Likewise.
15650         (__sin): Use TAYLOR_SINCOS.
15651         (__cos): Likewise.
15652         (slow): Use TAYLOR_SLOW.
15653         (sloww): Likewise.
15654         (bsloww): Likewise.
15655         (csloww): Likewise.
15656
15657 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15658
15659         * stdlib/strtod_l.c: Fix buffer overrun.
15660
15661 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15662
15663         * benchtests/Makefile (bench): Add sincos.
15664         * benchtests/bench-sincos.c: New file.
15665
15666         * math/libm-test.inc (cos_test_data): New test inputs.
15667         (sin_test_data): Likewise.
15668
15669         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15670         macro.
15671         (__sin): Use it.
15672         (__cos): Likewise.
15673         (slow1): Likewise.
15674         (slow2): Likewise.
15675         (sloww1): Likewise.
15676         (sloww2): Likewise.
15677         (bsloww1): Likewise.
15678         (bsloww2): Likewise.
15679         (cslow2): Likewise.
15680         (csloww1): Likewise.
15681         (csloww2): Likewise.
15682
15683         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15684         function.
15685         (__sin): Use it.
15686         (__cos): Likewise.
15687
15688         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15689         gotos.
15690         (__cos): Likewise.
15691
15692 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15693
15694         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15695         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15696         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15697         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15698         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15699         * elf/cache.c (print_entry): Handle the new cache flags.
15700
15701 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15702             Aldy Hernandez  <aldyh@redhat.com>
15703
15704         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15705         Change condition to [_SOFT_FLOAT].
15706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15713         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15715         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15717         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15718         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15719         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15720         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15721         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15722         declaration.
15723
15724 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15725
15726         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15727         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15728         (__longjmp): Use LOAD_GP to load saved GPRs.
15729         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15730         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15731         (__sigsetjmp): Use SAVE_GP to save GPRs.
15732
15733         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15734         Do not append -msoft-float.
15735         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15736
15737 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15738
15739         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15740
15741 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15742
15743         [BZ #15966]
15744         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15745         (_FPU_GETCW): Use initial "__" on variable and field names but not
15746         on macro parameter name.
15747         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15748         parentheses around reference to macro parameter.
15749
15750 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15751
15752         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15753         prototype.
15754         (ctype_startup): Use uint32_t in cast and sizeof for
15755         ctype->charnames.
15756
15757 2013-09-11  Jia Liu  <proljc@gmail.com>
15758
15759         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15760         __daddr_t_defined.
15761         [__FreeBSD__]: Likewise.
15762
15763 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15764
15765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15766         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15767         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15768         (strchr): Remove __strchr_sse42 ifunc selection.
15769         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15770         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15771
15772 2013-09-11  Will Newton  <will.newton@linaro.org>
15773
15774         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15775         parameter to RES. Remove hardcoded 1000 value.
15776         * benchtests/bench-skeleton.c (main): Pass RES parameter
15777         to TIMING_INIT and multiply result by 1000.
15778
15779 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15780
15781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15782
15783 2013-09-11  Andreas Schwab  <schwab@suse.de>
15784
15785         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15786         if not defined.
15787         (O_TMPFILE) [__USE_GNU]: Define.
15788         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15789         Define.
15790
15791 2013-09-11  Will Newton  <will.newton@linaro.org>
15792
15793         [BZ #15857]
15794         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15795         does not overflow.
15796
15797 2013-09-11  Will Newton  <will.newton@linaro.org>
15798
15799         [BZ #15856]
15800         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15801         does not overflow.
15802
15803 2013-09-11  Will Newton  <will.newton@linaro.org>
15804
15805         [BZ #15855]
15806         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15807         does not overflow.
15808
15809 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15810
15811         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15812         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15813         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15814         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15815         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15816
15817 2013-09-10  Allan McRae  <allan@archlinux.org>
15818
15819         [BZ #15748]
15820         * manual/arith.texi (Parsing of Floats): Clarify
15821         cross-reference.
15822
15823         [BZ #15849]
15824         * manual/install.texi (Running make install): Mention
15825         --enable-pt-chown.
15826         * INSTALL: Regenerated.
15827
15828 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15829
15830         * csu/init-first.c (_init): Remove the !SHARED condition around
15831         FPU control word initialization.
15832         * elf/dl-support.c (_dl_fpu_control): New variable.
15833         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15834         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15835         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15836         * math/test-fpucw-static.c: New file.
15837         * math/test-fpucw-ieee.c: New file.
15838         * math/test-fpucw-ieee-static.c: New file.
15839         * math/Makefile (tests): Add `test-fpucw-ieee' and
15840         `$(tests-static)'.
15841         (tests-static): New variable.
15842         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15843         dependency to...
15844         [($(build-shared),yes)]
15845         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15846         ... this.
15847         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15848         New dependency.
15849
15850 2013-09-09  Allan McRae  <allan@archlinux.org>
15851
15852         [BZ #15939]
15853         * manual/string.texi (Collation Functions): Fix typo in
15854         strcoll example.
15855         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15856
15857         [BZ #15893]
15858         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15859
15860         [BZ #15892]
15861         * libio/memstream.c (open_memstream): Fix memory leak.
15862         * libio/wmemstream.c (open_wmemstream): Likewise.
15863
15864         [BZ #15895]
15865         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15866
15867 2013-09-09  Will Newton  <will.newton@linaro.org>
15868
15869         * malloc/Makefile: Add tst-realloc to tests.
15870         * malloc/tst-realloc.c: New file.
15871
15872 2013-09-09  Allan McRae  <allan@archlinux.org>
15873
15874         [BZ #15844]
15875         * COPYING: Update from GNU website to fix FSF address.
15876         * COPYING.LIB: Likewise.
15877
15878 2013-09-06  David S. Miller  <davem@davemloft.net>
15879
15880         * po/zh_TW.po: Update Chinese (traditional) translation from
15881         translation project.
15882
15883 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15884             Joseph Myers  <joseph@codesourcery.com>
15885
15886         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15887         "localeinfo.h".
15888         (obstack_chunk_alloc): New macro.
15889         (obstack_chunk_free): Likewise.
15890         (record_offset): New function.
15891         (init_locale_data): Likewise.
15892         (align_locale_data): Likewise.
15893         (add_locale_empty): Likewise.
15894         (add_locale_raw_data): Likewise.
15895         (add_locale_raw_obstack): Likewise.
15896         (add_locale_string): Likewise.
15897         (add_locale_wstring): Likewise.
15898         (add_locale_uint32): Likewise.
15899         (add_locale_uint32_array): Likewise.
15900         (add_locale_char): Likewise.
15901         (start_locale_structure): Likewise.
15902         (end_locale_structure): Likewise.
15903         (start_locale_prelude): Likewise.
15904         (end_locale_prelude): Likewise.
15905         (write_locale_data): Take locale_file structure rather than an
15906         iovec.
15907         * locale/programs/locfile.h: Include "obstack.h".
15908         (struct locale_file): Change to store locale file contents instead
15909         of header.
15910         (init_locale_data): New prototype.
15911         (align_locale_data): Likewise.
15912         (add_locale_empty): Likewise.
15913         (add_locale_raw_data): Likewise.
15914         (add_locale_raw_obstack): Likewise.
15915         (add_locale_string): Likewise.
15916         (add_locale_wstring): Likewise.
15917         (add_locale_uint32): Likewise.
15918         (add_locale_uint32_array): Likewise.
15919         (add_locale_char): Likewise.
15920         (start_locale_structure): Likewise.
15921         (end_locale_structure): Likewise.
15922         (start_locale_prelude): Likewise.
15923         (end_locale_prelude): Likewise.
15924         (write_locale_data): Update prototype.
15925         * locale/programs/3level.h (struct TABLE): Remove result field.
15926         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15927         Use new locale_file interface.
15928         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15929         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15930         * locale/programs/ld-address.c (address_output): Use new
15931         locale_file interface.
15932         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15933         NO_ADD_LOCALE.
15934         (collate_finish): Don't call collseq_table_finalize.
15935         (collate_output): Use new locale_file interface.
15936         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15937         in file.
15938         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15939         (TABLE): Move defines earlier in file.
15940         (ELEMENT): Likewise.
15941         (DEFAULT): Likewise.
15942         (wctrans_table_add): Move macro and inline function earlier in
15943         file.
15944         (struct wctype_table): Move type earlier in file.
15945         (add_locale_wctype_table): New static prototype.
15946         (struct locale_ctype_t): Use logical types instead of struct iovec
15947         pointers for members.
15948         (ctype_output): Use new locale_file interface.
15949         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15950         new locale_file interface.
15951         (allocate_arrays): Update for use of new locale_file interface.
15952         * locale/programs/ld-identification.c (identification_output): Use
15953         new locale_file interface.
15954         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15955         * locale/programs/ld-messages.c (messages_output): Likewise.
15956         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15957         * locale/programs/ld-name.c (name_output): Likewise.
15958         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15959         * locale/programs/ld-paper.c (paper_output): Likewise.
15960         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15961         * locale/programs/ld-time.c (time_output): Likewise.
15962
15963 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15964
15965         * benchtests/Makefile: Add memrchr benchmark.
15966         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15967         benchmark as memrchr.
15968         * benchtests/bench-memrchr-ifunc.c: New file.
15969         * benchtests/bench-memrchr.c: New file.
15970
15971 2013-09-06   Will Newton  <will.newton@linaro.org>
15972
15973         * benchtests/Makefile (string-bench): Add memcpy.
15974
15975 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15976             Cong Wang  <amwang@redhat.com>
15977
15978         [BZ #15850]
15979         * sysdeps/unix/sysv/linux/bits/in.h
15980         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15981         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15982         before __USE_KERNEL_IPV6_DEFS uses.
15983         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15984         IPPROTO_BEETPH.
15985         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15986         sockaddr_in6, or ipv6_mreq.
15987
15988 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15989
15990         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15991         memory access for final bytes in some large inputs.
15992         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15993
15994 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15995
15996         * string/test-memrchr.c: New file.
15997         * string/test-memrchr-ifunc.c: New file.
15998         * string/Makefile: Add new memrchr testcase.
15999
16000 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16001
16002         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16003         fanotify_init returns EPERM.
16004
16005 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16006
16007         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16008         errors.
16009         (top level): Treat second token from macro or constant entries for
16010         allowed headers as allowed.
16011         * include/complex.h: Condition internal declarations on
16012         [!_ISOMAC].
16013         * include/fenv.h: Condition include of <stdbool.h> and internal
16014         declarations on [!_ISOMAC].
16015
16016 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16017
16018         [BZ #15923]
16019         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16020
16021 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16022
16023         * configure.in (--enable-versioning): Remove configure option.
16024         (libc_cv_asm_symver_directive): Remove configure test.
16025         (libc_cv_ld_version_script_option): Likewise.
16026         (VERSIONING): Remove variable and AC_SUBST.
16027         (DO_VERSIONING): Remove AC_DEFINE.
16028         * configure: Regenerated.
16029         * config.h.in (DO_VERSIONING): Remove macro.
16030         * Makerules [$(versioning) = yes]: Change conditionals to
16031         [$(build-shared) = yes].
16032         * config.make.in (versioning): Remove variable.
16033         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16034         [$(build-shared) = yes].
16035         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16036         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16037         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16038         [$(build-shared) = yes].
16039         * extra-lib.mk [$(versioning) = yes]: Likewise.
16040         * hurd/Makefile [$(versioning) = yes]: Likewise.
16041         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16042         [SHARED].
16043         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16044         [SHARED].
16045         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16046         [SHARED && !NO_HIDDEN].
16047         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16048         [SHARED].
16049         [SHARED && DO_VERSIONING]: Likewise..
16050         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16051         [$(build-shared) = yes].
16052         * manual/install.texi (--disable-versioning): Remove
16053         documentation.
16054         * INSTALL: Regenerated.
16055         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16056         to [SHARED].
16057         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16058         [$(build-shared) = yes].
16059         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16060         * sysdeps/i386/i686/multiarch/strstr-c.c
16061         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16062         [SHARED && !NO_HIDDEN].
16063         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16064         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16065         * sysdeps/powerpc/powerpc32/dl-machine.c
16066         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16067         * sysdeps/powerpc/powerpc32/sysdep.h
16068         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16069         to [SHARED && PIC && !NO_HIDDEN].
16070         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16071         conditional to [SHARED].
16072
16073 2013-09-04   Will Newton  <will.newton@linaro.org>
16074
16075         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16076         * benchtests/bench-string.h: Include bench-timing.h instead
16077         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16078         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16079         call to HP_TIMING_DIFF_INIT.
16080         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16081         instead of hp-timing.h macros.
16082         * benchtests/bench-memchr.c: Likewise.
16083         * benchtests/bench-memcmp.c: Likewise.
16084         * benchtests/bench-memcpy.c: Likewise.
16085         * benchtests/bench-memmem.c: Likewise.
16086         * benchtests/bench-memmove.c: Likewise.
16087         * benchtests/bench-memset.c: Likewise.
16088         * benchtests/bench-rawmemchr.c: Likewise.
16089         * benchtests/bench-strcasecmp.c: Likewise.
16090         * benchtests/bench-strcasestr.c: Likewise.
16091         * benchtests/bench-strcat.c: Likewise.
16092         * benchtests/bench-strchr.c: Likewise.
16093         * benchtests/bench-strcmp.c: Likewise.
16094         * benchtests/bench-strcpy.c: Likewise.
16095         * benchtests/bench-strcpy_chk.c: Likewise.
16096         * benchtests/bench-strlen.c: Likewise.
16097         * benchtests/bench-strncasecmp.c: Likewise.
16098         * benchtests/bench-strncat.c: Likewise.
16099         * benchtests/bench-strncmp.c: Likewise.
16100         * benchtests/bench-strncpy.c: Likewise.
16101         * benchtests/bench-strnlen.c: Likewise.
16102         * benchtests/bench-strpbrk.c: Likewise.
16103         * benchtests/bench-strrchr.c: Likewise.
16104         * benchtests/bench-strspn.c: Likewise.
16105         * benchtests/bench-strstr.c: Likewise.
16106
16107 2013-09-04  Will Newton  <will.newton@linaro.org>
16108
16109         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16110
16111 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16112
16113         [BZ #15427]
16114         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16115         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16116         * math/libm-test.inc (lgamma_test_data): Add more tests.
16117         * sysdeps/i386/fpu/libm-test-ulps: Update.
16118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16119
16120 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16121
16122         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16124         Add ifunc.
16125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16126         Add strcmp-sse2-unaligned
16127         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16128
16129 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16130
16131         * Versions.def (libc): Add GLIBC_2.19.
16132
16133 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16134
16135         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16136         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16137
16138 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16139
16140         [BZ #14155]
16141         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16142         intermediate calculations in recurrence.
16143         (__ieee754_ynf): Likewise.
16144         * math/libm-test.inc (jn_test_data): Do not allow spurious
16145         underflow exception.  Add more tests.
16146         (yn_test_data): Add more tests.
16147         * sysdeps/i386/fpu/libm-test-ulps: Update.
16148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16149
16150 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16151
16152         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16153
16154 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16155
16156         * csu/init-first.c: Fix then/than typos.
16157         * locale/programs/ld-collate.c: Likewise.
16158         * locale/programs/linereader.h: Likewise.
16159         * manual/charset.texi: Likewise.
16160         * manual/filesys.texi: Likewise.
16161         * manual/stdio.texi: Likewise.
16162         * manual/string.texi: Likewise.
16163         * stdlib/fmtmsg.c: Likewise.
16164         * sysdeps/i386/stpncpy.S: Likewise.
16165         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16166         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16167         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16168         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16169
16170 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16171
16172         * elf/dl-open.c: Fix typos.
16173         * iconvdata/gbbig5.c: Likewise.
16174         * iconvdata/iso-2022-jp.c: Likewise.
16175         * iconv/gconv_int.h: Likewise.
16176         * iconv/loop.c: Likewise.
16177         * nis/rpcsvc/nis.h: Likewise.
16178         * resolv/ns_name.c: Likewise.
16179         * stdio-common/vfscanf.c: Likewise.
16180         * streams/stropts.h: Likewise.
16181         * sunrpc/rpc_thread.c: Likewise.
16182         * sysdeps/i386/strpbrk.S: Likewise.
16183         * sysdeps/ieee754/k_standard.c: Likewise.
16184         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16185         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16186         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16187         * sysdeps/mach/hurd/profil.c: Likewise.
16188         * sysdeps/s390/dl-procinfo.h: Likewise.
16189         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16190         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16191         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16192         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16193         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16194
16195 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16196
16197         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16199
16200 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16201
16202         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16203         aix specific files.
16204         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16205         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16206         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16207         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16208         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16209         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16210         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16211         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16212
16213 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16214             Roland McGrath  <roland@hack.frob.com>
16215
16216         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16217         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16218
16219 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16220
16221         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16222         __executable_start symbol instead of _start.
16223
16224 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16225
16226         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16227         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16228         Move macros to...
16229         * sysdeps/gnu/ldsodefs.h: ... this new file.
16230
16231         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16232         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16233         instead of ELFOSABI_LINUX.
16234
16235         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16236         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16237         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16238         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16239         Likewise.
16240         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16241         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16242         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16243         Likewise.
16244         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16245         (ibm_extended_long_double): Add ieee_nan member.
16246         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16247         (do_test): New function.
16248
16249         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16250         TEST_TRUNC.
16251         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16252         functions, renamed from truncdfsf_test, trunctfsf_test,
16253         trunctfdf_test.
16254         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16255         functions.
16256         (do_test): Run all these.
16257
16258 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16259
16260         * argp/argp-help.c: Fix typos.
16261         * argp/argp-parse.c: Likewise.
16262         * debug/backtracesyms.c: Likewise.
16263         * elf/elf.h: Likewise.
16264         * malloc/malloc.c: Likewise.
16265         * nis/nis_print.c: Likewise.
16266         * resolv/res_comp.c: Likewise.
16267         * stdlib/stdlib.h: Likewise.
16268         * sunrpc/clnt_tcp.c: Likewise.
16269         * sunrpc/clnt_udp.c: Likewise.
16270         * sunrpc/clnt_unix.c: Likewise.
16271         * sysdeps/unix/bsd/ptsname.c: Likewise.
16272         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16273         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16275         Likewise.
16276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16277         Likewise.
16278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16279         Likewise.
16280         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16281
16282 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16283
16284         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16286
16287 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16288
16289         [BZ #15897]
16290         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16291         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16292         ($(objpfx)bug-dl-leaf): New rule.
16293         ($(objpfx)bug-dl-leaf.so): Likewise.
16294         ($(objpfx)bug-dl-leaf.out): Likewise.
16295         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16296         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16297         * dlfcn/bug-dl-leaf.c: New test.
16298         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16299         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16300         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16301         (dlclose): Likewise.
16302         (dlmopen): Likewise.
16303
16304 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16305
16306         * include/netdb.h [!_ISOMAC]:
16307         Don't include <tls.h>.
16308         (h_errno, __libc_h_errno): Move declaration and macros out of
16309         [_LIBC_REENTRANT].
16310
16311         * include/resolv.h [_RESOLV_H_]:
16312         Don't include <tls.h>.
16313         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16314         * resolv/res_libc.c: Don't include <tls.h>.
16315         (_res): Use __attribute__ ((nocommon)) in place of
16316         __attribute__ ((section (".bss"))).
16317
16318         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16319         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16320
16321         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16322
16323         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16324         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16325
16326         * resolv/res_mkquery.c: Include <sys/time.h>.
16327
16328         * inet/ifreq.c: Moved to ...
16329         * sysdeps/unix/ifreq.c: ... here.
16330         * inet/ifreq.c: New file, true stub version.
16331
16332         * socket/sa_len.c: New file.
16333         * socket/Makefile (aux): Add it.
16334         * sysdeps/unix/sysv/linux/Makefile
16335         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16336         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16337         and #include <socket/sa_len.c>.
16338         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16339         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16340
16341         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16342         * bits/socket.h: ... here.
16343
16344         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16345         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16346         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16347
16348 2013-08-27  Andreas Schwab  <schwab@suse.de>
16349
16350         [BZ #15736]
16351         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16352         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16353         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16354         * string/test-strcasecmp.c (test_main): Run tests in several
16355         locales.
16356         * string/test-strncasecmp.c (test_main): Likewise.
16357
16358         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16359         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16360         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16362         (__strncasecmp_ssse3) [PIC]: Likewise.
16363
16364 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16365
16366         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16367
16368         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16369         instead of explicitly declaring xdecrypt.
16370         * nis/nss_nis/nis-publickey.c: Likewise.
16371
16372 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16373
16374         [BZ #15890]
16375         * nscd/aicache.c: Include res_hconf.h.
16376         (addhstaiX): Initialize res_hconf.
16377
16378 2013-08-26  Andreas Schwab  <schwab@suse.de>
16379
16380         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16381         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16382
16383 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16384
16385         * nscd/aicache.c (addhstaiX): Fix indentation.
16386
16387 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16388
16389         * configure.ac: Quote $build_pt_chown test.
16390         * configure: Regenerated.
16391
16392 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16393
16394         [BZ #15532]
16395         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16396         * math/s_cexpf.c (__cexpf): Likewise.
16397         * math/s_cexpl.c (__cexpl): Likewise.
16398         * math/libm-test.inc (cexp_test_data): Correct expected return
16399         value for NaN + i0.  Add another test.
16400
16401 2013-08-22  David S. Miller  <davem@davemloft.net>
16402
16403         * po/ca.po: Update Catalan translation from translation project.
16404         * po/uk.po: Add Ukrainian translations from translation project.
16405
16406 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16407
16408         [BZ #15797]
16409         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16410         is infinite, not alongside NaN test.
16411         * math/s_fdimf.c (__fdimf): Likewise.
16412         * math/s_fdiml.c (__fdiml): Likewise.
16413         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16414         errno is unchanged.
16415
16416 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16417
16418         * argp/argp-help.c: Fix typos.
16419         * crypt/speeds.c: Likewise.
16420         * csu/check_fds.c: Likewise.
16421         * elf/dl-load.c: Likewise.
16422         * elf/dl-open.c: Likewise.
16423         * elf/reldep3.c: Likewise.
16424         * elf/reldep.c: Likewise.
16425         * elf/sprof.c: Likewise.
16426         * iconv/iconv_charmap.c: Likewise.
16427         * iconv/skeleton.c: Likewise.
16428         * iconv/strtab.c: Likewise.
16429         * io/lockf64.c: Likewise.
16430         * libio/libioP.h: Likewise.
16431         * resolv/gai_notify.c: Likewise.
16432         * resolv/ns_name.c: Likewise.
16433         * resolv/ns_samedomain.c: Likewise.
16434         * resolv/res_send.c: Likewise.
16435         * stdlib/random.c: Likewise.
16436         * sunrpc/rpc/xdr.h: Likewise.
16437         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16438         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16439         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16440         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16441         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16442         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16443         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16444         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16445         * sysdeps/mach/hurd/check_fds.c: Likewise.
16446         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16447         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16448         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16449         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16450         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16451         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16452         * sysdeps/pthread/aio_notify.c: Likewise.
16453         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16454         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16455         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16456         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16457         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16458
16459 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16460
16461         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16462         version if bit_Slow_SSE4_2 is set.
16463         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16464         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16465
16466 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16467
16468         [BZ #15867]
16469         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16470         trampoline stack frame information.
16471         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16472         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16473         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16474         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16475         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16476         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16477         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16478         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16479         sa_flags value.
16480         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16481         interrupting a syscall and set with option SA_SIGINFO.
16482
16483 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16484
16485         [BZ #15531]
16486         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16487         argument is infinite.
16488         * math/s_cprojf.c (__cprojf): Likewise.
16489         * math/s_cprojl.c (__cprojl): Likewise.
16490         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16491         * math/libm-test.inc (cproj_test_data): Add more tests.
16492
16493         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16494
16495         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16496         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16497         size.  Use __ffs to determine corresponding shift.
16498
16499 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16500             Roland McGrath  <roland@hack.frob.com>
16501
16502         * Makefile (INSTALL): Remove trailing blank lines from output of
16503         makeinfo.
16504
16505 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16506
16507         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16508         Align 32 bit compat elf_greg to 8 bytes.
16509
16510 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16511
16512         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16513
16514 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16515
16516         * string/strcoll_l.c (coll_seq): New structure.
16517         (get_next_seq_cached): New function.
16518         (get_next_seq): New function.
16519         (do_compare): New function.
16520         (STRCOLL): Use GNU style definition.  Simplify implementation
16521         by using get_next_seq, get_next_seq_cached and do_compare.
16522
16523 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16524
16525         [BZ #14699]
16526         CVE-2013-4237
16527         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16528         member.
16529         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16530         member.
16531         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16532         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16533         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16534         conditional.
16535         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16536         GETDENTS_64BIT_ALIGNED.
16537         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16538         * manual/filesys.texi (Reading/Closing Directory): Document
16539         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16540         strongly.
16541         * manual/conf.texi (Limits for Files): Add portability note to
16542         NAME_MAX, PATH_MAX.
16543         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16544
16545 2013-08-13  Andreas Schwab  <schwab@suse.de>
16546
16547         [BZ #15749]
16548         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16549         of fabs.
16550         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16551         LDBL_MAX_EXP >= 16384]: Add tests for it.
16552
16553 2013-08-12  David S. Miller  <davem@davemloft.net>
16554
16555         * version.h (RELEASE): Set to "development".
16556         (VERSION): Set to "2.18.90".
16557         * NEWS: Add 2.19 section.
16558
16559 2013-08-03  David S. Miller  <davem@davemloft.net>
16560
16561         * po/ko.po: Update Korean translation from translation project.
16562
16563 2013-08-01  David S. Miller  <davem@davemloft.net>
16564
16565         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16566         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16567         Bilka.
16568
16569 2013-07-30  David S. Miller  <davem@davemloft.net>
16570
16571         * po/fr.po: Update French translation from translation project.
16572
16573 2013-07-28  David S. Miller  <davem@davemloft.net>
16574
16575         * po/cs.po: Update Czech translation from translation project.
16576
16577         * po/sv.po: Update Swedish translation from translation project.
16578
16579 2013-07-27  David S. Miller  <davem@davemloft.net>
16580
16581         * po/eo.po: Update Esperanto translation from translation project.
16582
16583         * po/vi.po: Update Vietnamese translation from translation project.
16584
16585         * po/de.po: Update German translation from translation project.
16586
16587 2013-07-26  David S. Miller  <davem@davemloft.net>
16588
16589         * po/bg.po: Update Bulgarian translation from translation project.
16590
16591         * po/nl.po: Update Dutch translation from translation project.
16592         * po/pl.po: Update Polish translation from translation project.
16593         * po/ru.po: Update Russian translation from translation project.
16594
16595 2013-07-24  David S. Miller  <davem@davemloft.net>
16596
16597         * po/libc.pot: Update.
16598
16599 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16600
16601         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16602         variable page size.
16603         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16604         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16605         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16606
16607 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16608
16609         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16610
16611 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16612             Andreas Schwab  <schwab@suse.de>
16613             Roland McGrath  <roland@hack.frob.com>
16614             Joseph Myers  <joseph@codesourcery.com>
16615             Carlos O'Donell  <carlos@redhat.com>
16616
16617         [BZ #15755]
16618         * config.h.in: Define HAVE_PT_CHOWN.
16619         * config.make.in (build-pt-chown): New variable.
16620         * configure.in (--enable-pt_chown): New configure option.
16621         * configure: Regenerate.
16622         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16623         build-pt-chown is enabled.
16624         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16625         pt_chown to fix pty ownership.
16626         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16627         CLOSE_ALL_FDS.
16628         * manual/install.texi (Configuring and compiling): Mention
16629         --enable-pt_chown. Add @findex for grantpt.
16630         * INSTALL: Regenerate.
16631
16632 2013-07-20  David S. Miller  <davem@davemloft.net>
16633
16634         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16635         difference between 32-bit and 64-bit.
16636
16637 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16638
16639         [BZ #15711]
16640         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16641         Avoid system header dependency with -ffreestanding.
16642         ($(objpfx)bits/syscall%d): Likewise.
16643
16644 2013-07-13  David S. Miller  <davem@davemloft.net>
16645
16646         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16647         underflows from atanl/atan2l due to bug 15319.
16648         (casinh_test_data): Likewise.
16649
16650 2013-07-07  David S. Miller  <davem@davemloft.net>
16651
16652         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16653
16654 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16655
16656         * sysdeps/i386/fpu/libm-test-ulps: Update.
16657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16658
16659 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16660
16661         * configure.in (--enable-lock-elision): Fix message text.
16662         * INSTALL: Regenerate.
16663         * configure: Regenerate.
16664
16665 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16666
16667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16668
16669 2013-07-03  Andreas Jaeger  <aj@suse.de>
16670
16671         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16672         define.
16673         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16674         (ptrace_peeksiginfo_args): Add.
16675         (__ptrace_peeksiginfo_flags): Add.
16676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16678         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16679
16680 2013-07-03  Allan McRae  <allan@archlinux.org>
16681
16682         * sysdeps/i386/fpu/libm-test-ulps: Update.
16683
16684 2013-07-02  David S. Miller  <davem@davemloft.net>
16685
16686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16687
16688 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16689
16690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16691
16692 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16693
16694         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16696
16697 2013-07-02  Andi Kleen <ak@linux.intel.com>
16698
16699         * config.h.in (ENABLE_LOCK_ELISION): Add.
16700         * configure.in (--enable-lock-elision): Add option.
16701         * manual/install.texi: Document --enable lock elision.
16702         * configure: Regenerate
16703         * INSTALL: Regenerate.
16704
16705 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16706
16707         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16708         SSE4.2 strcasecmp for libc.a.
16709         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16710
16711 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16712
16713         [BZ #13304]
16714         * soft-fp/op-common.h (_FP_FMA): New macro.
16715         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16716         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16717         (_FP_MUL_MEAT_1_imm): ... here.
16718         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16719         (_FP_MUL_MEAT_1_wide): ... here.
16720         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16721         (_FP_MUL_MEAT_1_hard): ... here.
16722         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16723         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16724         (_FP_MUL_MEAT_2_wide): ... here.
16725         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16726         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16727         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16728         (_FP_MUL_MEAT_2_gmp): ... here.
16729         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16730         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16731         (_FP_MUL_MEAT_4_wide): ... here.
16732         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16733         (_FP_MUL_MEAT_4_gmp): ... here.
16734         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16735         (_FP_WFRACBITS_DW_S): Likewise.
16736         (_FP_WFRACXBITS_DW_S): Likewise.
16737         (_FP_HIGHBIT_DW_S): Likewise.
16738         (FP_FMA_S): Likewise.
16739         (_FP_FRAC_HIGH_DW_S): Likewise.
16740         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16741         (_FP_WFRACBITS_DW_D): Likewise.
16742         (_FP_WFRACXBITS_DW_D): Likewise.
16743         (_FP_HIGHBIT_DW_D): Likewise.
16744         (FP_FMA_D): Likewise.
16745         (_FP_FRAC_HIGH_DW_D): Likewise.
16746         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16747         (_FP_WFRACBITS_DW_E): Likewise.
16748         (_FP_WFRACXBITS_DW_E): Likewise.
16749         (_FP_HIGHBIT_DW_E): Likewise.
16750         (FP_FMA_E): Likewise.
16751         (_FP_FRAC_HIGH_DW_E): Likewise.
16752         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16753         (_FP_WFRACBITS_DW_Q): Likewise.
16754         (_FP_WFRACXBITS_DW_Q): Likewise.
16755         (_FP_HIGHBIT_DW_Q): Likewise.
16756         (FP_FMA_Q): Likewise.
16757         (_FP_FRAC_HIGH_DW_Q): Likewise.
16758         * soft-fp/fmasf4.c: New file.
16759         * soft-fp/fmadf4.c: Likewise.
16760         * soft-fp/fmatf4.c: Likewise.
16761
16762 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16763
16764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16765         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16766         Silvermont.
16767         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16768         macro.
16769         (index_Slow_SSE4_2): Likewise.
16770         (index_Prefer_PMINUB_for_stringop): Likewise.
16771         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16772         bit_Slow_SSE4_2 is set.
16773         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16774         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16775
16776 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16777
16778         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16779         rtld_global._dl_hwcap2.
16780         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16781         POWER8.
16782         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16783         POWER8 feature descriptions defined in _dl_hwcap2.
16784         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16785         string handling for POWER8 feature bits.
16786         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16787         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16788         _dl_powerpc_cap_flags.
16789         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16790         * sysdeps/powerpc/rtld-global-offsets.sym
16791         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16792         _dl_hwcap2 in the rtld_global_ro structure.
16793
16794 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16795
16796         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16797         hardware capabilities in support of AT_HWCAP2.
16798         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16799         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16800         GLRO(dl_hwcap2).
16801         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16802         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16803         explicitly the unknown a_type display mechanism is used.
16804         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16805         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16806         struct member.
16807         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16808         to macro prototype for AT_HWCAP2 support.
16809         * sysdeps/i386/dl-procinfo.h: Likewise.
16810         * sysdeps/s390/dl-procinfo.h: Likewise.
16811         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16812         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16813         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16814         return -1 for unknown a_type display fallback.
16815         * sysdeps/sparc/dl-procinfo.h: Likewise.
16816         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16817         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16818
16819 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16820
16821         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16822         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16823
16824 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16825
16826         [BZ #12492]
16827         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16828         mprotect making __stack_prot writable.
16829
16830 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16831             Joseph Myers  <joseph@codesourcery.com>
16832
16833         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16834         as being properly aligned.
16835
16836 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16837
16838         * dlfcn/modstatic5.c: New file.
16839         * dlfcn/tststatic5.c: New file.
16840         * dlfcn/Makefile (tests): Add tststatic5.
16841         (tests-static): Likewise.
16842         (modules-names): Add modstatic5.
16843         (tststatic5-ENV): New variable.
16844         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16845
16846         [BZ #15022]
16847         * elf/dl-support.c (_dl_main_map): New variable.
16848         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16849         (_dl_nns, _dl_load_adds): Set to 1.
16850         (_dl_initial_searchlist): Refer to _dl_main_map.
16851         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16852         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16853         call to _dl_get_origin.
16854         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16855         around call_map.
16856         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16857         * dlfcn/modstatic3.c: New file.
16858         * dlfcn/tststatic3.c: New file.
16859         * dlfcn/tststatic4.c: New file.
16860         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16861         (tests-static): Likewise.
16862         (modules-names): Add modstatic3.
16863         (tststatic3-ENV, tststatic4-ENV): New variables.
16864         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16865         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16866
16867 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16868
16869         * configure.in (CC): Require GCC version 4.4 or later.
16870         * configure: Regenerated.
16871         * manual/install.texi (Tools for Compilation): Update GCC version
16872         requirement.
16873         * INSTALL: Regenerated.
16874
16875 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16876
16877         [BZ #15674]
16878         * string/test-memcmp.c (check2): New.
16879         (main): Call check2.
16880
16881         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16882
16883 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16884
16885         [BZ #15022]
16886         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16887         over to...
16888         (dl_open_worker) [!SHARED]: ... here.
16889
16890 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16891
16892         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16893
16894 2013-06-25  Richard Henderson  <rth@redhat.com>
16895
16896         * locale/programs/locarchive.c: Include <libc-internal.h>
16897
16898 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16899
16900         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16901         trailing whitespace removed.
16902
16903 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16904
16905         [BZ #10283]
16906         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16907         * locale/programs/locarchive.c: Include libc-mmap.h.
16908         (prepare_address_space): Take two new outputs (the mmap base and len).
16909         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16910         values.
16911         (create_archive): Declare new mmap base and len values for
16912         prepare_address_space, and store the result in ah.
16913         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16914         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16915         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16916         Declare new mmap base and len values for
16917         prepare_address_space, and store the result in new_ah.
16918         (open_archive): Declare new mmap base and len values for
16919         prepare_address_space, and store the result in ah.
16920         (close_archive): If ah->mmap_base is not NULL, use that and
16921         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16922         * sysdeps/generic/libc-mmap.h: New file.
16923
16924 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16925
16926         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16927         (ALIGN_UP): Likewise.
16928         (PTR_ALIGN_DOWN): Likewise.
16929         (PTR_ALIGN_UP): Likewise.
16930
16931 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16932
16933         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16934         entry mapped to PPC_PLATFORM_POWER8.
16935         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16936         POWER8.
16937         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16938         (_dl_string_platform): Add case for exporting platform position for
16939         POWER8.
16940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16941         search path to sysdeps/powerpc/powerpc32/power8 directory.
16942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16943         search path to sysdeps/powerpc/powerpc64/power8 directory.
16944         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16945         power7 directories.
16946         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16947         power7 directories.
16948
16949 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16950
16951         * INSTALL: Regenerate.
16952
16953         * nscd/connections.c (nscd_init): Fix comment.
16954
16955 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16956
16957         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16958
16959         [BZ #15667]
16960         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16961         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16962
16963 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16964
16965         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16966         DL_DST_REQ_STATIC.
16967         (DL_DST_REQ_STATIC): Remove macro.
16968
16969 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16970
16971         [BZ #7006]
16972         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16973         with a shift of 0 bits.
16974
16975 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16976
16977         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16978         $(tststatic-ENV).
16979
16980 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16981
16982         [BZ #15655]
16983         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16984
16985 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16986
16987         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16988         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16989         accepts -fno-tree-loop-distribute-patterns.
16990         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16991         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16992         recursive call.
16993         * string/memset.c (memset): Likewise.
16994         * string/test-memmove.c (simple_memmove): Disable loop transformation
16995         to library calls.
16996         * string/test-memset.c (simple_memset): Likewise.
16997         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16998         * benchtests/bench-memset.c (simple_memset): Likewise.
16999         * configure: Regenerated.
17000
17001 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17002
17003         * math/test-misc.c (main): Ignore fesetround failure when failures
17004         of subsequent rounding tests would be ignored.
17005
17006         [BZ #15654]
17007         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17008         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17009         * math/fegetenv.c (__fegetenv): Return 0.
17010         * math/fegetexcept.c (fegetexcept): Return 0.
17011         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17012         FE_TONEAREST.
17013         * math/feholdexcpt.c (feholdexcept): Return 0.
17014         * math/fesetenv.c (__fesetenv): Return 0.
17015         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17016         argument FE_TONEAREST.
17017         * math/feupdateenv.c (__feupdateenv): Return 0.
17018         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17019
17020 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17021
17022         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17023         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17024         ($(objpfx)rtld-%.os rules): Use them.
17025
17026 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17027
17028         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17029         fields.
17030
17031 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17032
17033         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17034         length of target pattern, then descending length of dependency pattern.
17035         * configure.in (AWK): Require gawk 3.1.2 or newer.
17036         * manual/install.texi (Tools for Compilation): Say that we do.
17037         * configure: Regenerated.
17038
17039         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17040         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17041         * scripts/sysd-rules.awk: ... this new script.
17042         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17043         than a glob-style pattern.
17044
17045 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17046
17047         * math/test-misc.c (main): Do not treat incorrectly rounded
17048         conversions as failure unless ROUNDING_TESTS passes.
17049
17050 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17051
17052         [BZ #15631]
17053         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17054         restore exception state around main square root computation, then
17055         check for inexactness explicitly.
17056
17057         * math/libm-test.inc (fma_test_data): Add another test.
17058
17059 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17060
17061         * manual/threads.texi (Non-POSIX Extensions): New document
17062         node.  Document pthread_getattr_default_np and
17063         pthread_setattr_default_np.
17064
17065         * Versions.def (libpthread): Add GLIBC_2.18.
17066         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17068         Likewise.
17069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17070         Likewise.
17071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17072         Likewise.
17073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17074         Likewise.
17075         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17076         Likewise.
17077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17078         Likewise.
17079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17080         Likewise.
17081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17082         Likewise.
17083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17084         Likewise.
17085
17086 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17087
17088         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17089         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17090
17091 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17092             H.J. Lu  <hjl.tools@gmail.com>
17093
17094         [BZ #15627]
17095         * sysdeps/x86_64/rtld-memset.c: Remove file.
17096         * sysdeps/x86_64/rtld-memset.S: New file.
17097
17098 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17099
17100         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17101         (test_in_one_mode): Take arguments for whether the rounding mode
17102         is supported for each floating-point type.
17103         (do_test): Pass new arguments to test_in_one_mode using
17104         ROUNDING_TESTS.
17105
17106 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17107
17108         * posix/tst-waitid.c (do_test): Distinguish different instances of
17109         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17110         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17111         before entering the kernel for waitpid.
17112
17113 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17114
17115         * NEWS: Fix note on clock function precision.  Text by Roland
17116         McGrath.
17117
17118 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17119
17120         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17121         it into place only when and if the sanity check passes.
17122
17123 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17124
17125         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17126         output for whether conversion result is exact.  Take argument
17127         indicating whether type is IBM long double.
17128         (round_for_all): Change need_exact field to ibm_ld.
17129         * stdlib/tst-strtod-round.c (struct exactness): New type.
17130         (struct test): Change bool ld_ok field to struct exactness exact.
17131         (TEST): Update all definitions for change to field.
17132         (tests): Regenerate array contents.
17133         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17134         field value.  Check for IBM long double here.
17135         (do_test): Update calls to test_in_one_mode.
17136
17137 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17138
17139         [BZ #12515]
17140         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17141         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17142
17143 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17144
17145         [BZ #15605]
17146         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17147         generated by the compiler on loop optimizations.
17148         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17149         general definitions.
17150
17151 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17152
17153         * math/bug-nextafter.c: Include <math-tests.h>.
17154         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17155         the relevant type.
17156         * math/bug-nexttoward.c: Include <math-tests.h>.
17157         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17158         the relevant type.
17159         * math/test-misc.c: Include <math-tests.h>.
17160         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17161         the relevant type.
17162
17163 2013-06-12  Andreas Jaeger  <aj@suse.de>
17164
17165         * po/ia.po: Update Interlingua translation from translation
17166         project.
17167
17168 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17169
17170         * include/fenv.h: Include stdbool.h.
17171         (struct rm_ctx): New structure.
17172         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17173         Define macro.
17174         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17175         (SET_RESTORE_ROUNDF): Likewise.
17176         (SET_RESTORE_ROUNDL): Likewise.
17177         (SET_RESTORE_ROUND_NOEX): Likewise.
17178         (SET_RESTORE_ROUND_NOEXF): Likewise.
17179         (SET_RESTORE_ROUND_NOEXL): Likewise.
17180         (SET_RESTORE_ROUND_53BIT): Likewise.
17181         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17182         (libc_feresetround_noexf_ctx): Likewise.
17183         (libc_feresetround_noexl_ctx): Likewise.
17184         (libc_feholdsetround_53bit_ctx): Likewise.
17185         (libc_feresetround_53bit_ctx): Likewise.
17186         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17187         (libc_feholdexcept_setround_sse_ctx): New function.
17188         (libc_fesetenv_sse_ctx): Likewise.
17189         (libc_feupdateenv_sse_ctx): Likewise.
17190         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17191         (libc_feholdexcept_setround_387_ctx): Likewise.
17192         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17193         (libc_feholdsetround_387_prec_ctx): Likewise.
17194         (libc_feholdsetround_387_ctx): Likewise.
17195         (libc_feholdsetround_387_53bit_ctx): Likewise.
17196         (libc_feholdsetround_sse_ctx): Likewise.
17197         (libc_feresetround_sse_ctx): Likewise.
17198         (libc_feresetround_387_ctx): Likewise.
17199         (libc_feupdateenv_387_ctx): Likewise.
17200         (libc_feholdexcept_setroundf_ctx): Define macro.
17201         (libc_fesetenvf_ctx): Likewise.
17202         (libc_feupdateenvf_ctx): Likewise.
17203         (libc_feholdsetroundf_ctx): Likewise.
17204         (libc_feresetroundf_ctx): Likewise.
17205         (libc_feholdexcept_setround_ctx): Likewise.
17206         (libc_fesetenv_ctx): Likewise.
17207         (libc_feupdateenv_ctx): Likewise.
17208         (libc_feholdsetround_ctx): Likewise.
17209         (libc_feresetround_ctx): Likewise.
17210         (libc_feholdexcept_setroundl_ctx): Likewise.
17211         (libc_feupdateenvl_ctx): Likewise.
17212         (libc_feholdsetroundl_ctx): Likewise.
17213         (libc_feresetroundl_ctx): Likewise.
17214         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17215         (libc_feresetround_53bit_ctx): Likewise.
17216
17217 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17218
17219         * locale/iso-639.def: Convert to UTF-8.
17220
17221 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17222
17223         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17224         (EXCEPTION_TESTS_double): Likewise.
17225         (EXCEPTION_TESTS_long_double): Likewise.
17226         (EXCEPTION_TESTS): Likewise.
17227         * math/libm-test.inc (test_exceptions): Only test exceptions if
17228         EXCEPTION_TESTS (FLOAT).
17229
17230 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17231
17232         * benchtests/Makefile (string-bench): Add strcpy_chk and
17233         stpcpy_chk.
17234         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17235         * benchtests/bench-stpcpy_chk.c: New file.
17236         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17237         * benchtests/bench-strcpy_chk.c: New file.
17238         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17239         code.
17240         (do_test): Likewise.
17241
17242 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17243
17244         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17245         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17246         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17247         with tabs where appropriate.
17248         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17249         dl-procinfo.h.
17250         [PPC_PLATFORM_PPC440]: Likewise.
17251         [PPC_PLATFORM_PPC464]: Likewise.
17252         [PPC_PLATFORM_PPC476]: Likewise.
17253         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17254         ppc464, and ppc476 platform strings merging from ports/
17255         dl-procinfo.h.
17256
17257 2013-06-11  Andreas Schwab  <schwab@suse.de>
17258
17259         [BZ #14991]
17260         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17261         (from_ucs4_idx): Regenerate.
17262         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17263         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17264         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17265         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17266         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17267         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17268         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17269         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17270         from FROM_LOOP and TO_LOOP specific macros.
17271         (BODY): Handle combining characters.
17272         * iconvdata/BIG5HKSCS.irreversible: Update.
17273         * iconvdata/BIG5HKSCS.precomposed: New file.
17274         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17275         characters.
17276         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17277
17278 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17279
17280         * include/sys/time.h: Fix indentation and add copyright header.
17281
17282         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17283         (do_test): Likewise.
17284         * string/test-memchr.c (do_one_test): Likewise.
17285         (do_test): Likewise.
17286         * string/test-memcmp.c (do_one_test): Likewise.
17287         (do_test): Likewise.
17288         * string/test-memcpy.c (do_one_test): Likewise.
17289         (do_test): Likewise.
17290         * string/test-memmem.c (do_one_test): Likewise.
17291         (do_test): Likewise.
17292         (do_random_tests): Likewise.
17293         * string/test-memmove.c (do_one_test): Likewise.
17294         (do_test): Likewise.
17295         * string/test-memset.c (do_one_test): Likewise.
17296         (do_test): Likewise.
17297         * string/test-rawmemchr.c (do_one_test): Likewise.
17298         (do_test): Likewise.
17299         * string/test-strcasecmp.c (do_one_test): Likewise.
17300         (do_test): Likewise.
17301         * string/test-strcasestr.c (do_one_test): Likewise.
17302         (do_test): Likewise.
17303         * string/test-strcat.c (do_one_test): Likewise.
17304         (do_test): Likewise.
17305         * string/test-strchr.c (do_one_test): Likewise.
17306         (do_test): Likewise.
17307         * string/test-strcmp.c (do_one_test): Likewise.
17308         (do_test): Likewise.
17309         * string/test-strcpy.c (do_one_test): Likewise.
17310         (do_test): Likewise.
17311         * string/test-string.h: Likewise.
17312         (test_init): Likewise.
17313         * string/test-strlen.c (do_one_test): Likewise.
17314         (do_test): Likewise.
17315         * string/test-strncasecmp.c (do_one_test): Likewise.
17316         (do_test): Likewise.
17317         * string/test-strncat.c (do_one_test): Likewise.
17318         (do_test): Likewise.
17319         * string/test-strncmp.c (do_one_test): Likewise.
17320         (do_test_limit): Likewise.
17321         (do_test): Likewise.
17322         * string/test-strncpy.c (do_one_test): Likewise.
17323         (do_test): Likewise.
17324         * string/test-strnlen.c (do_one_test): Likewise.
17325         (do_test): Likewise.
17326         * string/test-strpbrk.c (do_one_test): Likewise.
17327         (do_test): Likewise.
17328         * string/test-strrchr.c (do_one_test): Likewise.
17329         (do_test): Likewise.
17330         * string/test-strspn.c (do_one_test): Likewise.
17331         (do_test): Likewise.
17332         * string/test-strstr.c (do_one_test): Likewise.
17333         (do_test): Likewise.
17334
17335         * benchtests/Makefile (string-bench): Add string benchmarks.
17336         * benchtests/bench-bcopy-ifunc.c: New file.
17337         * benchtests/bench-bcopy.c: New file.
17338         * benchtests/bench-bzero-ifunc.c: New file.
17339         * benchtests/bench-bzero.c: New file.
17340         * benchtests/bench-memccpy-ifunc.c: New file.
17341         * benchtests/bench-memccpy.c: New file.
17342         * benchtests/bench-memchr-ifunc.c: New file.
17343         * benchtests/bench-memchr.c: New file.
17344         * benchtests/bench-memcmp-ifunc.c: New file.
17345         * benchtests/bench-memcmp.c: New file.
17346         * benchtests/bench-memmem-ifunc.c: New file.
17347         * benchtests/bench-memmem.c: New file.
17348         * benchtests/bench-memmove-ifunc.c: New file.
17349         * benchtests/bench-memmove.c: New file.
17350         * benchtests/bench-mempcpy-ifunc.c: New file.
17351         * benchtests/bench-mempcpy.c: New file.
17352         * benchtests/bench-memset-ifunc.c: New file.
17353         * benchtests/bench-memset.c: New file.
17354         * benchtests/bench-rawmemchr-ifunc.c: New file.
17355         * benchtests/bench-rawmemchr.c: New file.
17356         * benchtests/bench-stpcpy-ifunc.c: New file.
17357         * benchtests/bench-stpcpy.c: New file.
17358         * benchtests/bench-stpncpy-ifunc.c: New file.
17359         * benchtests/bench-stpncpy.c: New file.
17360         * benchtests/bench-strcasecmp-ifunc.c: New file.
17361         * benchtests/bench-strcasecmp.c: New file.
17362         * benchtests/bench-strcasestr-ifunc.c: New file.
17363         * benchtests/bench-strcasestr.c: New file.
17364         * benchtests/bench-strcat-ifunc.c: New file.
17365         * benchtests/bench-strcat.c: New file.
17366         * benchtests/bench-strchr-ifunc.c: New file.
17367         * benchtests/bench-strchr.c: New file.
17368         * benchtests/bench-strchrnul-ifunc.c: New file.
17369         * benchtests/bench-strchrnul.c: New file.
17370         * benchtests/bench-strcmp-ifunc.c: New file.
17371         * benchtests/bench-strcmp.c: New file.
17372         * benchtests/bench-strcpy-ifunc.c: New file.
17373         * benchtests/bench-strcpy.c: New file.
17374         * benchtests/bench-strcspn-ifunc.c: New file.
17375         * benchtests/bench-strcspn.c: New file.
17376         * benchtests/bench-strlen-ifunc.c: New file.
17377         * benchtests/bench-strlen.c: New file.
17378         * benchtests/bench-strncasecmp-ifunc.c: New file.
17379         * benchtests/bench-strncasecmp.c: New file.
17380         * benchtests/bench-strncat-ifunc.c: New file.
17381         * benchtests/bench-strncat.c: New file.
17382         * benchtests/bench-strncmp-ifunc.c: New file.
17383         * benchtests/bench-strncmp.c: New file.
17384         * benchtests/bench-strncpy-ifunc.c: New file.
17385         * benchtests/bench-strncpy.c: New file.
17386         * benchtests/bench-strnlen-ifunc.c: New file.
17387         * benchtests/bench-strnlen.c: New file.
17388         * benchtests/bench-strpbrk-ifunc.c: New file.
17389         * benchtests/bench-strpbrk.c: New file.
17390         * benchtests/bench-strrchr-ifunc.c: New file.
17391         * benchtests/bench-strrchr.c: New file.
17392         * benchtests/bench-strspn-ifunc.c: New file.
17393         * benchtests/bench-strspn.c: New file.
17394         * benchtests/bench-strstr-ifunc.c: New file.
17395         * benchtests/bench-strstr.c: New file.
17396
17397         * benchtests/Makefile: Disable parallel execution of targets.
17398         (string-bench): Add memcpy.
17399         (benchset): New variable to store a list of benchmark sets.
17400         (bench-func): Renamed from bench.
17401         (bench-set): New target.
17402         (bench): Depend on bench-func and bench-set.
17403         * benchtests/README: Add section on benchmark sets.
17404         * benchtests/bench-memcpy-ifunc.c: New file.
17405         * benchtests/bench-memcpy.c: New file.
17406         * benchtests/bench-string.h: New file.
17407
17408 2013-06-11  Andreas Schwab  <schwab@suse.de>
17409
17410         [BZ #15577]
17411         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17412         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17413         values in the triple.
17414         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17415         terminator in the group key.
17416
17417 2013-06-11  Andreas Jaeger  <aj@suse.de>
17418
17419         * po/zh_TW.po: Update Chinese (traditional) translation from
17420         translation project.
17421
17422 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17423
17424         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17425         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17426         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17427         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17428         (clock_getcpuclockid): Likewise.
17429         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17430         Add weak_alias and libc_hidden_def.
17431         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17432         * rt/clock_gettime.c (clock_gettime): Rename to
17433         __clock_gettime.  Add weak_alias and libc_hidden_def.
17434         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17435         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17436         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17437         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17438         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17439         Likewise.
17440         * rt/clock_settime.c (clock_settime): Rename to
17441         __clock_settime.  Add weak_alias and libc_hidden_def.
17442         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17443
17444 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17445
17446         * mach/err_boot.sub: Remove trailing whitespace.
17447         * mach/err_ipc.sub: Likewise.
17448         * mach/err_mach.sub: Likewise.
17449
17450         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17451         (ROUNDING_TESTS_double): Likewise.
17452         (ROUNDING_TESTS_long_double): Likewise.
17453         (ROUNDING_TESTS): Likewise.
17454         * math/libm-test.inc: Include <math-tests.h>.
17455         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17456         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17457         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17458         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17459
17460 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17461
17462         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17463         of assigning.
17464
17465 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17466
17467         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17468         otherwise empty TRANS lines.
17469         * sysdeps/gnu/errlist.c: Regenerated.
17470
17471         * catgets/gencat.c (error_print): Use (void) in function
17472         definition.
17473         * crypt/crypt_util.c (__init_des): Likewise.
17474         * crypt/speeds.c (Stop): Likewise.
17475         (main): Likewise.
17476         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17477         * inet/ruserpass.c (token): Likewise.
17478         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17479         * intl/localealias.c (extend_alias_table): Likewise.
17480         * intl/plural-exp.c (init_germanic_plural): Likewise.
17481         * libio/fcloseall.c (__fcloseall): Likewise.
17482         * libio/genops.c (_IO_flush_all): Likewise.
17483         (_IO_flush_all_linebuffered): Likewise.
17484         (_IO_cleanup): Likewise.
17485         (_IO_iter_begin): Likewise.
17486         (_IO_iter_end): Likewise.
17487         (_IO_list_lock): Likewise.
17488         (_IO_list_unlock): Likewise.
17489         (_IO_list_resetlock): Likewise.
17490         * libio/getchar.c (getchar): Likewise.
17491         * libio/getchar_u.c (getchar_unlocked): Likewise.
17492         * libio/getwchar.c (getwchar): Likewise.
17493         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17494         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17495         * login/getpt.c (__getpt): Likewise.
17496         * login/tst-utmp.c (main): Likewise.
17497         * malloc/hooks.c (__malloc_check_init): Likewise.
17498         * malloc/malloc.c (__malloc_stats): Likewise.
17499         * malloc/mtrace.c (tr_break): Likewise.
17500         (mtrace): Likewise.
17501         (muntrace): Likewise.
17502         * misc/fstab.c (endfsent): Likewise.
17503         * misc/getclktck.c (__getclktck): Likewise.
17504         * misc/getdtsz.c (__getdtablesize): Likewise.
17505         * misc/gethostid.c (gethostid): Likewise.
17506         * misc/getpagesize.c (__getpagesize): Likewise.
17507         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17508         (__get_nprocs): Likewise.
17509         (__get_phys_pages): Likewise.
17510         (__get_avphys_pages): Likewise.
17511         * misc/getttyent.c (getttyent): Likewise.
17512         (setttyent): Likewise.
17513         (endttyent): Likewise.
17514         * misc/getusershell.c (getusershell): Likewise.
17515         (endusershell): Likewise.
17516         (setusershell): Likewise.
17517         (initshells): Likewise.
17518         * misc/hsearch.c (__hdestroy): Likewise.
17519         * misc/sync.c (sync): Likewise.
17520         * misc/syslog.c (closelog_internal): Likewise.
17521         (closelog): Likewise.
17522         * misc/ttyslot.c (ttyslot): Likewise.
17523         * misc/vhangup.c (vhangup): Likewise.
17524         * posix/fork.c (__fork): Likewise.
17525         * posix/getegid.c (__getegid): Likewise.
17526         * posix/geteuid.c (__geteuid): Likewise.
17527         * posix/getgid.c (__getgid): Likewise.
17528         * posix/getpid.c (__getpid): Likewise.
17529         * posix/getppid.c (__getppid): Likewise.
17530         * posix/getuid.c (__getuid): Likewise.
17531         * posix/pause.c (pause): Likewise.
17532         * posix/setpgrp.c (setpgrp): Likewise.
17533         * posix/setsid.c (__setsid): Likewise.
17534         * posix/test-vfork.c (noop): Likewise.
17535         * resolv/gethnamaddr.c (_endhtent): Likewise.
17536         (_gethtent): Likewise.
17537         (ht_endhostent): Likewise.
17538         (gethostent): Likewise.
17539         (dns_service): Likewise.
17540         * stdlib/drand48.c (drand48): Likewise.
17541         * stdlib/lrand48.c (lrand48): Likewise.
17542         * stdlib/mrand48.c (mrand48): Likewise.
17543         * stdlib/rand.c (rand): Likewise.
17544         * stdlib/random.c (__random): Likewise.
17545         * stdlib/setenv.c (clearenv): Likewise.
17546         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17547         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17548         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17549         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17550         (__get_nprocs): Likewise.
17551         (__get_phys_pages): Likewise.
17552         (__get_avphys_pages): Likewise.
17553         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17554         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17555         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17556         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17557         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17558         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17559         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17560         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17561         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17562         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17563         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17564         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17565         * sysdeps/posix/clock.c (clock): Likewise.
17566         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17567         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17568         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17569         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17570         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17571         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17572         (__get_nprocs_conf): Likewise.
17573         (__get_phys_pages): Likewise.
17574         (__get_avphys_pages): Likewise.
17575         * time/clock.c (clock): Likewise.
17576         * time/tzset.c (__tzname_max): Likewise.
17577
17578 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17579
17580         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17581         (__bswap_32): Do not use "register".
17582         * crypt/crypt.c (_ufc_doit_r): Likewise.
17583         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17584         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17585         * gmon/gmon.c (__monstartup): Likewise.
17586         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17587         * hurd/hurdmalloc.c (more_memory): Likewise.
17588         (malloc): Likewise.
17589         (free): Likewise.
17590         (realloc): Likewise.
17591         (malloc_fork_prepare): Likewise.
17592         (malloc_fork_parent): Likewise.
17593         (malloc_fork_child): Likewise.
17594         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17595         (_svcauth_des): Likewise.
17596         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17597         * inet/inet_net.c (inet_network): Likewise.
17598         * inet/inet_netof.c (inet_netof): Likewise.
17599         * inet/rcmd.c (__validuser2_sa): Likewise.
17600         * io/fts.c (fts_open): Likewise.
17601         (fts_load): Likewise.
17602         (fts_close): Likewise.
17603         (fts_read): Likewise.
17604         (fts_children): Likewise.
17605         (fts_build): Likewise.
17606         (fts_stat): Likewise.
17607         (fts_sort): Likewise.
17608         (fts_alloc): Likewise.
17609         (fts_lfree): Likewise.
17610         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17611         (_IO_file_xsgetn): Likewise.
17612         (_IO_file_xsgetn_mmap): Likewise.
17613         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17614         (_IO_cookie_write): Likewise.
17615         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17616         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17617         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17618         * malloc/obstack.c (_obstack_begin): Likewise.
17619         (_obstack_begin_1): Likewise.
17620         (_obstack_newchunk): Likewise.
17621         (_obstack_allocated_p): Likewise.
17622         (obstack_free): Likewise.
17623         (_obstack_memory_used): Likewise.
17624         * misc/getttyent.c (getttynam): Likewise.
17625         (getttyent): Likewise.
17626         (skip): Likewise.
17627         (value): Likewise.
17628         * misc/getusershell.c (initshells): Likewise.
17629         * misc/syslog.c (__vsyslog_chk): Likewise.
17630         * misc/ttyslot.c (ttyslot): Likewise.
17631         * nis/nis_hash.c (__nis_hash): Likewise.
17632         * posix/fnmatch_loop.c (FCT): Likewise.
17633         * posix/getconf.c (print_all): Likewise.
17634         (main): Likewise.
17635         * posix/getopt.c (exchange): Likewise.
17636         * posix/glob.c (globfree): Likewise.
17637         (prefix_array): Likewise.
17638         (__glob_pattern_type): Likewise.
17639         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17640         (NS_GET32): Likewise.
17641         (NS_PUT16): Likewise.
17642         (NS_PUT32): Likewise.
17643         * resolv/gethnamaddr.c (getanswer): Likewise.
17644         (gethostbyname2): Likewise.
17645         (gethostbyaddr): Likewise.
17646         (_gethtent): Likewise.
17647         (_gethtbyname2): Likewise.
17648         (_gethtbyaddr): Likewise.
17649         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17650         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17651         * resolv/res_init.c (__res_vinit): Likewise.
17652         (net_mask): Likewise.
17653         * resolv/res_mkquery.c (outchar): Likewise.
17654         (PRINT): Likewise.
17655         * stdio-common/printf_fp.c (outchar): Likewise.
17656         (PRINT): Likewise.
17657         * stdio-common/printf_fphex.c (outchar): Likewise.
17658         (PRINT): Likewise.
17659         * stdio-common/printf_size.c (outchar): Likewise.
17660         (PRINT): Likewise.
17661         * stdio-common/test_rdwr.c (main): Likewise.
17662         * stdio-common/tfformat.c (matches): Likewise.
17663         * stdio-common/vfprintf.c (outchar): Likewise.
17664         (printf_unknown): Likewise.
17665         (buffered_vfprintf): Likewise.
17666         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17667         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17668         (ReadFile): Likewise.
17669         * stdlib/qsort.c (SWAP): Likewise.
17670         (_quicksort): Likewise.
17671         * stdlib/setenv.c (__add_to_environ): Likewise.
17672         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17673         * stdlib/strtol_l.c (__strtol_l): Likewise.
17674         * stdlib/tst-strtod.c (main): Likewise.
17675         * stdlib/tst-strtol.c (main): Likewise.
17676         * stdlib/tst-strtoll.c (main): Likewise.
17677         * string/bits/string2.h (__strcmp_cc): Likewise.
17678         (__strcmp_cg): Likewise.
17679         (__strcspn_c1): Likewise.
17680         (__strcspn_c2): Likewise.
17681         (__strcspn_c3): Likewise.
17682         (__strspn_c1): Likewise.
17683         (__strspn_c2): Likewise.
17684         (__strspn_c3): Likewise.
17685         (__strsep_1c): Likewise.
17686         (__strsep_2c): Likewise.
17687         (__strsep_3c): Likewise.
17688         * string/memccpy.c (__memccpy): Likewise.
17689         * string/stpcpy.c (__stpcpy): Likewise.
17690         * string/strcmp.c (strcmp): Likewise.
17691         * string/strrchr.c (strrchr): Likewise.
17692         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17693         Likewise.
17694         * sysdeps/mach/hurd/getcwd.c
17695         (_hurd_canonicalize_directory_name_internal): Likewise.
17696         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17697         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17698         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17699         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17700         Likewise, in both definitions.
17701         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17702         definitions.
17703         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17704         64] (__bswap_64): Likewise.
17705         * time/test_time.c (main): Likewise.
17706         * time/tzfile.c (__tzfile_read): Likewise.
17707         (__tzfile_compute): Likewise.
17708         * time/tzset.c (__tzset_parse_tz): Likewise.
17709         (tzset_internal): Likewise.
17710         (compute_change): Likewise.
17711         * wcsmbs/wcscat.c (__wcscat): Likewise.
17712         * wcsmbs/wcschr.c (wcschr): Likewise.
17713         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17714         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17715         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17716         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17717         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17718         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17719         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17720         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17721         * wcsmbs/wmemset.c (wmemset): Likewise.
17722
17723 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17724
17725         * scripts/config.guess: Update to version 2013-05-16.
17726         * scripts/config.sub: Update to version 2013-04-24.
17727         * scripts/install-sh: Update to version 2011-11-20.07.
17728         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17729         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17730
17731 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17732
17733         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17734         * elf/sln.c: Likewise.
17735         * hurd/hurd/ioctl.h: Likewise.
17736         * hurd/hurdmalloc.c: Likewise.
17737         * hurd/xattr.c: Likewise.
17738         * include/shlib-compat.h: Likewise.
17739         * inet/ruserpass.c: Likewise.
17740         * libio/iofgets_u.c: Likewise.
17741         * libio/iofgetws_u.c: Likewise.
17742         * locale/programs/ld-identification.c: Likewise.
17743         * locale/programs/ld-time.c: Likewise.
17744         * mach/msg-destroy.c: Likewise.
17745         * nss/nss_files/files-netgrp.c: Likewise.
17746         * resolv/res_data.c: Likewise.
17747         * soft-fp/op-1.h: Likewise.
17748         * soft-fp/op-2.h: Likewise.
17749         * soft-fp/op-4.h: Likewise.
17750         * soft-fp/op-common.h: Likewise.
17751         * stdio-common/printf_fphex.c: Likewise.
17752         * stdlib/strtod_l.c: Likewise.
17753         * sunrpc/rpc/clnt.h: Likewise.
17754         * sysdeps/generic/framestate.c: Likewise.
17755         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17756         * sysdeps/i386/bsd-setjmp.S: Likewise.
17757         * sysdeps/i386/__longjmp.S: Likewise.
17758         * sysdeps/i386/setjmp.S: Likewise.
17759         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17760         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17761         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17762         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17763         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17764         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17765         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17766         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17767         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17768         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17769         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17770         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17771         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17772         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17773         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17774         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17775         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17776         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17777         * sysdeps/ieee754/support.c: Likewise.
17778         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17779         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17780         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17781         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17782         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17783         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17784         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17785         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17786         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17787         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17788         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17789         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17790         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17791         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17792         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17793         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17794         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17796
17797 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17798
17799         * posix/transbug.c: Remove executable mode.
17800
17801 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17802
17803         * crypt/speeds.c: Remove trailing whitespace.
17804         * dlfcn/default.c: Likewise.
17805         * elf/ifuncdep2.c: Likewise.
17806         * elf/ifuncmain1.c: Likewise.
17807         * elf/ifuncmain1vis.c: Likewise.
17808         * elf/testobj.h: Likewise.
17809         * elf/tst-stackguard1.c: Likewise.
17810         * gmon/sys/gmon.h: Likewise.
17811         * hurd/hurdmsg.c: Likewise.
17812         * hurd/new-fd.c: Likewise.
17813         * hurd/ports-get.c: Likewise.
17814         * iconvdata/ibm1008_420.c: Likewise.
17815         * inet/tst-getni1.c: Likewise.
17816         * inet/tst-getni2.c: Likewise.
17817         * libio/ioungetc.c: Likewise.
17818         * libio/wfiledoalloc.c: Likewise.
17819         * manual/libm-err-tab.pl: Likewise.
17820         * math/w_dremf.c: Likewise.
17821         * misc/ftruncate.c: Likewise.
17822         * posix/bug-glob2.c: Likewise.
17823         * posix/tst-pcre.c: Likewise.
17824         * posix/wait4.c: Likewise.
17825         * resolv/README: Likewise.
17826         * resolv/res_debug.h: Likewise.
17827         * resolv/tst-inet_ntop.c: Likewise.
17828         * setjmp/bug269-setjmp.c: Likewise.
17829         * soft-fp/extended.h: Likewise.
17830         * soft-fp/op-1.h: Likewise.
17831         * soft-fp/op-2.h: Likewise.
17832         * soft-fp/op-4.h: Likewise.
17833         * soft-fp/op-8.h: Likewise.
17834         * soft-fp/testit.c: Likewise.
17835         * stdio-common/bug16.c: Likewise.
17836         * stdlib/random.c: Likewise.
17837         * sunrpc/rpcsvc/rquota.x: Likewise.
17838         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17839         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17840         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17841         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17842         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17843         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17844         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17845         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17846         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17847         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17848         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17849         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17850         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17851         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17852         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17853         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17854         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17855         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17856         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17857         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17858         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17859         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17860         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17861         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17862         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17863         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17864         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17865         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17866         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17867         * sysdeps/ieee754/s_lib_version.c: Likewise.
17868         * sysdeps/mach/hurd/check_fds.c: Likewise.
17869         * sysdeps/mach/hurd/getsockname.c: Likewise.
17870         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17871         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17872         * sysdeps/powerpc/bits/link.h: Likewise.
17873         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17874         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17875         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17876         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17877         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17878         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17879         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17880         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17881         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17882         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17883         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17884         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17885         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17886         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17887         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17888         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17889         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17890         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17891         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17892         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17893         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17894         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17895         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17896         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17897         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17898         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17899         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17900         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17901         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17902         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17903         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17904         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17905         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17906         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17907         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17908         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17909         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17910         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17911         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17912         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17913         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17914         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17915         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17916         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17917         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17918         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17919         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17920         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17921         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17922         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17923         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17924         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17925         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17926         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17927         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17928         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17929         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17930         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17931         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17932         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17933         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17934         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17935         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17936         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17937         * sysdeps/powerpc/sysdep.h: Likewise.
17938         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17939         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17940         * sysdeps/sh/dl-trampoline.S: Likewise.
17941         * sysdeps/sh/memset.S: Likewise.
17942         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17943         * sysdeps/sh/strlen.S: Likewise.
17944         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17945         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17946         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17947         * sysdeps/sparc/sparc32/rem.S: Likewise.
17948         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17949         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17950         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17951         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17952         * sysdeps/sparc/sparc32/urem.S: Likewise.
17953         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17954         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17955         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17956         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17957         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17958         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17959         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17960         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17961         * sysdeps/unix/bsd/times.c: Likewise.
17962         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17963         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17967         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17968         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17969         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17970         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17971         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17972         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17973         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17974         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17975         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17976         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17977         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17978         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17979         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17980         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17981         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17982         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17983         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17984         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17985         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17986         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17987         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17988         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17989         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17990         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17991         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17992         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17993         * sysdeps/x86_64/strcspn.S: Likewise.
17994
17995 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17996
17997         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17998         generated file.  Regenerate properly from gen-translit.pl.
17999         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18000         locale/C-translit.h.
18001
18002 2013-06-05  Andreas Schwab  <schwab@suse.de>
18003
18004         [BZ #15100]
18005         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18006         week as 6 instead of -1.
18007         * time/tst-strptime.c (day_tests): Add test case.
18008
18009 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18010
18011         * sysdeps/generic/math_private.h
18012         (libc_feholdexcept_setround_53bit): Replace with
18013         libc_feholdsetround_53bit.
18014         (libc_feupdateenv_53bit): Replace with
18015         libc_feresetround_53bit.
18016         (SET_RESTORE_ROUND_53BIT): Adjust.
18017
18018 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18019
18020         * string/test-strchrnul.c: Add copyright header.
18021
18022         * posix/tst-getaddrinfo4.c: Increase test timeout.
18023
18024 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18025
18026         [BZ #15536]
18027         * math/libm-test.inc (MAX_EXP): Remove
18028         (MIN_EXP): Define.
18029         (ulp): Use MIN_EXP - MANT_DIG.
18030         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18031
18032 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18033
18034         * po/be.po: Revert last change.
18035         * po/zh_CN.po: Likewise.
18036         * po/header.pot: Likewise.
18037
18038 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18039
18040         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18041         link-libc-deps to empty as target-specific variable.
18042         * Makerules (link-libc-args): New variable.
18043         (libc-for-link): Likewise.
18044         (link-libc-deps): Likewise.
18045         (lib%.so): Depend on $(link-libc-deps).  Link with
18046         $(link-libc-args).
18047         (build-module): Link with $(link-libc-args).
18048         (build-module-asneeded): Likewise.
18049         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18050         list of objects.
18051         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18052         target-specific variable.
18053         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18054         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18055         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18056         libc.
18057         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18058         libc and ld.so.
18059         ($(objpfx)libpcprofile.so): Likewise.
18060         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18061         libc_nonshared.a.
18062         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18063         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18064         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18065         $(link-libc-deps).
18066         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18067         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18068         * login/Makefile ($(objpfx)libutil.so): Likewise.
18069         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18070         * math/Makefile ($(objpfx)libm.so): Likewise.
18071         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18072         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18073         variable instead of depending directly on libc.
18074         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18075         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18076         $(link-libc-deps).
18077         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18078         libc.
18079         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18080         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18081         ($(objpfx)libanl.so): Likewise.
18082         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18083         ld.so.
18084         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18085         $(link-libc-deps).
18086         * sysdeps/i386/fpu/Makefile: Remove file.
18087         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18088         ($(objpfx)libm.so): Remove dependency on ld.so.
18089
18090 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18091
18092         [BZ # 15553]
18093         * nis/yp_xdr.c (XDRMAXNAME): Define.
18094         (XDRMAXRECORD): Define.
18095         (xdr_domainname): Use XDRMAXNAME.
18096         (xdr_mapname): Likewise.
18097         (xdr_peername): Likewise.
18098         (xdr_keydat): Use XDRMAXRECORD.
18099         (xdr_valdat): Likewise.
18100
18101 2013-05-30  Jeff Law  <law@redhat.com>
18102
18103         [BZ #14256]
18104         * manual/errno.texi (ESTALE): Update to account for more than
18105         just NFS file systems.
18106         * sysdeps/gnu/errlist.c: Regenerated.
18107
18108 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18109
18110         [BZ #15465]
18111         * elf/Makefile (tests): Add tst-null-argv.
18112         (modules-names):  Add tst-null-argv-lib.
18113         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18114         (tst-null-argv-ENV): Set environment for tst-null-argv.
18115         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18116         (RTLD_PROGNAME): New macro.
18117         * elf/tst-null-argv.c: New test case.
18118         * elf/tst-null-argv-lib.c: Library for test case.
18119         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18120         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18121         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18122         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18123         * elf/dl-init.c (call_init): Likewise.
18124         (_dl_init): Likewise.
18125         * elf/dl-load.c (print_search_path): Likewise.
18126         (_dl_map_object): Likewise.
18127         * elf/dl-lookup.c (do_lookup_x): Likewise.
18128         (add_dependency): Likewise.
18129         (_dl_lookup_symbol_x): Likewise.
18130         (_dl_debug_bindings): Likewise.
18131         * elf/dl-open.c (_dl_show_scope): Likewise.
18132         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18133         * elf/dl-version.c (match_symbol): Likewise.
18134         (_dl_check_map_versions): Likewise.
18135         * elf/rtld.c (dl_main): Likewise.
18136         (print_unresolved): Use RTLD_PROGNAME.
18137         (print_missing_version): Likewise.
18138         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18139         (elf_machine_rela): Likewise.
18140         * sysdeps/powerpc/powerpc32/dl-machine.c
18141         (__process_machine_rela): Likewise.
18142         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18143         Likewise.
18144         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18145         Likewise.
18146         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18147         Likewise.
18148         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18149         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18150         Likewise.
18151         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18152         Likewise.
18153         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18154
18155 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18156
18157         * po/be.po: Add descriptive title.
18158         * po/zh_CN.po: Likewise.
18159         * po/header.pot: Likewise.
18160
18161 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18162
18163         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18164         error message.
18165         (enlarge_archive): Likewise.
18166
18167 2013-05-28  Ben North  <ben@redfrontdoor.org>
18168
18169         * manual/arith.texi (frexp): It is the magnitude of the return
18170         value which lies in [0.5, 1), not the return value itself.
18171
18172 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18173
18174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18175
18176 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18177
18178         * stdio-common/bug26.c (main): Correct fscanf template.
18179
18180         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18181         declare _dl_skip_args.
18182
18183         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18184         Don't declare.
18185
18186         * manual/platform.texi: Add missing @end deftypefun.
18187
18188 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18189
18190         [BZ #15529]
18191         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18192         bit of mantissa of 2^16382.
18193         * math/libm-test.inc (hypot_test_data): Add more tests.
18194
18195         * math/libm-test.inc: Add drem and pow10 to list of tested
18196         functions.
18197         (pow10_test): New function.
18198         (drem_test): Likewise.
18199         (drem_test_tonearest): Likewise.
18200         (drem_test_towardzero): Likewise.
18201         (drem_test_downward): Likewise.
18202         (drem_test_upward): Likewise.
18203         (main): Call the new functions.
18204
18205         * math/libm-test.inc (finite_test_data): Remove.
18206         (finite_test): Run tests from isfinite_test_data.
18207         (gamma_test_data): Remove.
18208         (gamma_test): Run tests from lgamma_test_data.
18209         * sysdeps/i386/fpu/libm-test-ulps: Update.
18210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18211
18212 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18213
18214         * manual/platform.texi: Add PowerPC PPR function set documentation.
18215         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18216         implementation.
18217
18218 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18219
18220         * math/libm-test.inc (MAX_EXP): Define.
18221         (ULPDIFF): Define.
18222         (ulp): New function.
18223         (check_float_internal): Use ULPDIFF.
18224         (cpow_test): Disable failing test.
18225         (check_ulp): Test ulp() implemetnation.
18226         (main): Call check_ulp before starting tests.
18227
18228 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18229
18230         * math/gen-libm-test.pl (generate_testfile): Do not handle
18231         START_DATA and END_DATA.
18232         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18233         END_DATA.
18234         (acos_tonearest_test_data): Likewise.
18235         (acos_towardzero_test_data): Likewise.
18236         (acos_downward_test_data): Likewise.
18237         (acos_upward_test_data): Likewise.
18238         (acosh_test_data): Likewise.
18239         (asin_test_data): Likewise.
18240         (asin_tonearest_test_data): Likewise.
18241         (asin_towardzero_test_data): Likewise.
18242         (asin_downward_test_data): Likewise.
18243         (asin_upward_test_data): Likewise.
18244         (asinh_test_data): Likewise.
18245         (atan_test_data): Likewise.
18246         (atanh_test_data): Likewise.
18247         (atan2_test_data): Likewise.
18248         (cabs_test_data): Likewise.
18249         (cacos_test_data): Likewise.
18250         (cacosh_test_data): Likewise.
18251         (carg_test_data): Likewise.
18252         (casin_test_data): Likewise.
18253         (casinh_test_data): Likewise.
18254         (catan_test_data): Likewise.
18255         (catanh_test_data): Likewise.
18256         (cbrt_test_data): Likewise.
18257         (ccos_test_data): Likewise.
18258         (ccosh_test_data): Likewise.
18259         (ceil_test_data): Likewise.
18260         (cexp_test_data): Likewise.
18261         (cimag_test_data): Likewise.
18262         (clog_test_data): Likewise.
18263         (clog10_test_data): Likewise.
18264         (conj_test_data): Likewise.
18265         (copysign_test_data): Likewise.
18266         (cos_test_data): Likewise.
18267         (cos_tonearest_test_data): Likewise.
18268         (cos_towardzero_test_data): Likewise.
18269         (cos_downward_test_data): Likewise.
18270         (cos_upward_test_data): Likewise.
18271         (cosh_test_data): Likewise.
18272         (cosh_tonearest_test_data): Likewise.
18273         (cosh_towardzero_test_data): Likewise.
18274         (cosh_downward_test_data): Likewise.
18275         (cosh_upward_test_data): Likewise.
18276         (cpow_test_data): Likewise.
18277         (cproj_test_data): Likewise.
18278         (creal_test_data): Likewise.
18279         (csin_test_data): Likewise.
18280         (csinh_test_data): Likewise.
18281         (csqrt_test_data): Likewise.
18282         (ctan_test_data): Likewise.
18283         (ctan_tonearest_test_data): Likewise.
18284         (ctan_towardzero_test_data): Likewise.
18285         (ctan_downward_test_data): Likewise.
18286         (ctan_upward_test_data): Likewise.
18287         (ctanh_test_data): Likewise.
18288         (ctanh_tonearest_test_data): Likewise.
18289         (ctanh_towardzero_test_data): Likewise.
18290         (ctanh_downward_test_data): Likewise.
18291         (ctanh_upward_test_data): Likewise.
18292         (erf_test_data): Likewise.
18293         (erfc_test_data): Likewise.
18294         (exp_test_data): Likewise.
18295         (exp_tonearest_test_data): Likewise.
18296         (exp_towardzero_test_data): Likewise.
18297         (exp_downward_test_data): Likewise.
18298         (exp_upward_test_data): Likewise.
18299         (exp10_test_data): Likewise.
18300         (exp2_test_data): Likewise.
18301         (expm1_test_data): Likewise.
18302         (fabs_test_data): Likewise.
18303         (fdim_test_data): Likewise.
18304         (finite_test_data): Likewise.
18305         (floor_test_data): Likewise.
18306         (fma_test_data): Likewise.
18307         (fma_towardzero_test_data): Likewise.
18308         (fma_downward_test_data): Likewise.
18309         (fma_upward_test_data): Likewise.
18310         (fmax_test_data): Likewise.
18311         (fmin_test_data): Likewise.
18312         (fmod_test_data): Likewise.
18313         (fpclassify_test_data): Likewise.
18314         (frexp_test_data): Likewise.
18315         (gamma_test_data): Likewise.
18316         (hypot_test_data): Likewise.
18317         (ilogb_test_data): Likewise.
18318         (isfinite_test_data): Likewise.
18319         (isgreater_test_data): Likewise.
18320         (isgreaterequal_test_data): Likewise.
18321         (isinf_test_data): Likewise.
18322         (isless_test_data): Likewise.
18323         (islessequal_test_data): Likewise.
18324         (islessgreater_test_data): Likewise.
18325         (isnan_test_data): Likewise.
18326         (isnormal_test_data): Likewise.
18327         (issignaling_test_data): Likewise.
18328         (isunordered_test_data): Likewise.
18329         (j0_test_data): Likewise.
18330         (j1_test_data): Likewise.
18331         (jn_test_data): Likewise.
18332         (ldexp_test_data): Likewise.
18333         (lgamma_test_data): Likewise.
18334         (lrint_test_data): Likewise.
18335         (lrint_tonearest_test_data): Likewise.
18336         (lrint_towardzero_test_data): Likewise.
18337         (lrint_downward_test_data): Likewise.
18338         (lrint_upward_test_data): Likewise.
18339         (llrint_test_data): Likewise.
18340         (llrint_tonearest_test_data): Likewise.
18341         (llrint_towardzero_test_data): Likewise.
18342         (llrint_downward_test_data): Likewise.
18343         (llrint_upward_test_data): Likewise.
18344         (log_test_data): Likewise.
18345         (log10_test_data): Likewise.
18346         (log1p_test_data): Likewise.
18347         (log2_test_data): Likewise.
18348         (logb_test_data): Likewise.
18349         (logb_downward_test_data): Likewise.
18350         (lround_test_data): Likewise.
18351         (llround_test_data): Likewise.
18352         (modf_test_data): Likewise.
18353         (nearbyint_test_data): Likewise.
18354         (nextafter_test_data): Likewise.
18355         (nexttoward_test_data): Likewise.
18356         (pow_test_data): Likewise.
18357         (pow_tonearest_test_data): Likewise.
18358         (pow_towardzero_test_data): Likewise.
18359         (pow_downward_test_data): Likewise.
18360         (pow_upward_test_data): Likewise.
18361         (remainder_test_data): Likewise.
18362         (remainder_tonearest_test_data): Likewise.
18363         (remainder_towardzero_test_data): Likewise.
18364         (remainder_downward_test_data): Likewise.
18365         (remainder_upward_test_data): Likewise.
18366         (remquo_test_data): Likewise.
18367         (rint_test_data): Likewise.
18368         (rint_tonearest_test_data): Likewise.
18369         (rint_towardzero_test_data): Likewise.
18370         (rint_downward_test_data): Likewise.
18371         (rint_upward_test_data): Likewise.
18372         (round_test_data): Likewise.
18373         (scalb_test_data): Likewise.
18374         (scalbn_test_data): Likewise.
18375         (scalbln_test_data): Likewise.
18376         (signbit_test_data): Likewise.
18377         (sin_test_data): Likewise.
18378         (sin_tonearest_test_data): Likewise.
18379         (sin_towardzero_test_data): Likewise.
18380         (sin_downward_test_data): Likewise.
18381         (sin_upward_test_data): Likewise.
18382         (sincos_test_data): Likewise.
18383         (sinh_test_data): Likewise.
18384         (sinh_tonearest_test_data): Likewise.
18385         (sinh_towardzero_test_data): Likewise.
18386         (sinh_downward_test_data): Likewise.
18387         (sinh_upward_test_data): Likewise.
18388         (sqrt_test_data): Likewise.
18389         (tan_test_data): Likewise.
18390         (tan_tonearest_test_data): Likewise.
18391         (tan_towardzero_test_data): Likewise.
18392         (tan_downward_test_data): Likewise.
18393         (tan_upward_test_data): Likewise.
18394         (tanh_test_data): Likewise.
18395         (tgamma_test_data): Likewise.
18396         (trunc_test_data): Likewise.
18397         (y0_test_data): Likewise.
18398         (y1_test_data): Likewise.
18399         (yn_test_data): Likewise.
18400         (significand_test_data): Likewise.
18401
18402         * math/gen-libm-test.pl (@functions): Remove variable.
18403         (generate_testfile): Don't handle START and END lines.
18404         * math/libm-test.inc (START): New macro.
18405         (END): Likewise.
18406         (END_COMPLEX): Likewise.
18407         (acos_test): Use END macro without arguments.
18408         (acos_test_tonearest): Likewise.
18409         (acos_test_towardzero): Likewise.
18410         (acos_test_downward): Likewise.
18411         (acos_test_upward): Likewise.
18412         (acosh_test): Likewise.
18413         (asin_test): Likewise.
18414         (asin_test_tonearest): Likewise.
18415         (asin_test_towardzero): Likewise.
18416         (asin_test_downward): Likewise.
18417         (asin_test_upward): Likewise.
18418         (asinh_test): Likewise.
18419         (atan_test): Likewise.
18420         (atanh_test): Likewise.
18421         (atan2_test): Likewise.
18422         (cabs_test): Likewise.
18423         (cacos_test): Use END_COMPLEX macro without arguments.
18424         (cacosh_test): Likewise.
18425         (carg_test): Use END macro without arguments.
18426         (casin_test): Use END_COMPLEX macro without arguments.
18427         (casinh_test): Likewise.
18428         (catan_test): Likewise.
18429         (catanh_test): Likewise.
18430         (cbrt_test): Use END macro without arguments.
18431         (ccos_test): Use END_COMPLEX macro without arguments.
18432         (ccosh_test): Likewise.
18433         (ceil_test): Use END macro without arguments.
18434         (cexp_test): Use END_COMPLEX macro without arguments.
18435         (cimag_test): Use END macro without arguments.
18436         (clog_test): Use END_COMPLEX macro without arguments.
18437         (clog10_test): Likewise.
18438         (conj_test): Likewise.
18439         (copysign_test): Use END macro without arguments.
18440         (cos_test): Likewise.
18441         (cos_test_tonearest): Likewise.
18442         (cos_test_towardzero): Likewise.
18443         (cos_test_downward): Likewise.
18444         (cos_test_upward): Likewise.
18445         (cosh_test): Likewise.
18446         (cosh_test_tonearest): Likewise.
18447         (cosh_test_towardzero): Likewise.
18448         (cosh_test_downward): Likewise.
18449         (cosh_test_upward): Likewise.
18450         (cpow_test): Use END_COMPLEX macro without arguments.
18451         (cproj_test): Likewise.
18452         (creal_test): Use END macro without arguments.
18453         (csin_test): Use END_COMPLEX macro without arguments.
18454         (csinh_test): Likewise.
18455         (csqrt_test): Likewise.
18456         (ctan_test): Likewise.
18457         (ctan_test_tonearest): Likewise.
18458         (ctan_test_towardzero): Likewise.
18459         (ctan_test_downward): Likewise.
18460         (ctan_test_upward): Likewise.
18461         (ctanh_test): Likewise.
18462         (ctanh_test_tonearest): Likewise.
18463         (ctanh_test_towardzero): Likewise.
18464         (ctanh_test_downward): Likewise.
18465         (ctanh_test_upward): Likewise.
18466         (erf_test): Use END macro without arguments.
18467         (erfc_test): Likewise.
18468         (exp_test): Likewise.
18469         (exp_test_tonearest): Likewise.
18470         (exp_test_towardzero): Likewise.
18471         (exp_test_downward): Likewise.
18472         (exp_test_upward): Likewise.
18473         (exp10_test): Likewise.
18474         (exp2_test): Likewise.
18475         (expm1_test): Likewise.
18476         (fabs_test): Likewise.
18477         (fdim_test): Likewise.
18478         (finite_test): Likewise.
18479         (floor_test): Likewise.
18480         (fma_test): Likewise.
18481         (fma_test_towardzero): Likewise.
18482         (fma_test_downward): Likewise.
18483         (fma_test_upward): Likewise.
18484         (fmax_test): Likewise.
18485         (fmin_test): Likewise.
18486         (fmod_test): Likewise.
18487         (fpclassify_test): Likewise.
18488         (frexp_test): Likewise.
18489         (gamma_test): Likewise.
18490         (hypot_test): Likewise.
18491         (ilogb_test): Likewise.
18492         (isfinite_test): Likewise.
18493         (isgreater_test): Likewise.
18494         (isgreaterequal_test): Likewise.
18495         (isinf_test): Likewise.
18496         (isless_test): Likewise.
18497         (islessequal_test): Likewise.
18498         (islessgreater_test): Likewise.
18499         (isnan_test): Likewise.
18500         (isnormal_test): Likewise.
18501         (issignaling_test): Likewise.
18502         (isunordered_test): Likewise.
18503         (j0_test): Likewise.
18504         (j1_test): Likewise.
18505         (jn_test): Likewise.
18506         (ldexp_test): Likewise.
18507         (lgamma_test): Likewise.
18508         (lrint_test): Likewise.
18509         (lrint_test_tonearest): Likewise.
18510         (lrint_test_towardzero): Likewise.
18511         (lrint_test_downward): Likewise.
18512         (lrint_test_upward): Likewise.
18513         (llrint_test): Likewise.
18514         (llrint_test_tonearest): Likewise.
18515         (llrint_test_towardzero): Likewise.
18516         (llrint_test_downward): Likewise.
18517         (llrint_test_upward): Likewise.
18518         (log_test): Likewise.
18519         (log10_test): Likewise.
18520         (log1p_test): Likewise.
18521         (log2_test): Likewise.
18522         (logb_test): Likewise.
18523         (logb_test_downward): Likewise.
18524         (lround_test): Likewise.
18525         (llround_test): Likewise.
18526         (modf_test): Likewise.
18527         (nearbyint_test): Likewise.
18528         (nextafter_test): Likewise.
18529         (nexttoward_test): Likewise.
18530         (pow_test): Likewise.
18531         (pow_test_tonearest): Likewise.
18532         (pow_test_towardzero): Likewise.
18533         (pow_test_downward): Likewise.
18534         (pow_test_upward): Likewise.
18535         (remainder_test): Likewise.
18536         (remainder_test_tonearest): Likewise.
18537         (remainder_test_towardzero): Likewise.
18538         (remainder_test_downward): Likewise.
18539         (remainder_test_upward): Likewise.
18540         (remquo_test): Likewise.
18541         (rint_test): Likewise.
18542         (rint_test_tonearest): Likewise.
18543         (rint_test_towardzero): Likewise.
18544         (rint_test_downward): Likewise.
18545         (rint_test_upward): Likewise.
18546         (round_test): Likewise.
18547         (scalb_test): Likewise.
18548         (scalbn_test): Likewise.
18549         (scalbln_test): Likewise.
18550         (signbit_test): Likewise.
18551         (sin_test): Likewise.
18552         (sin_test_tonearest): Likewise.
18553         (sin_test_towardzero): Likewise.
18554         (sin_test_downward): Likewise.
18555         (sin_test_upward): Likewise.
18556         (sincos_test): Likewise.
18557         (sinh_test): Likewise.
18558         (sinh_test_tonearest): Likewise.
18559         (sinh_test_towardzero): Likewise.
18560         (sinh_test_downward): Likewise.
18561         (sinh_test_upward): Likewise.
18562         (sqrt_test): Likewise.
18563         (tan_test): Likewise.
18564         (tan_test_tonearest): Likewise.
18565         (tan_test_towardzero): Likewise.
18566         (tan_test_downward): Likewise.
18567         (tan_test_upward): Likewise.
18568         (tanh_test): Likewise.
18569         (tgamma_test): Likewise.
18570         (trunc_test): Likewise.
18571         (y0_test): Likewise.
18572         (y1_test): Likewise.
18573         (yn_test): Likewise.
18574         (significand_test): Likewise.
18575
18576 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18577
18578         [BZ #15381]
18579         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18580
18581 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18582
18583         [BZ #14894]
18584         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18585         __ppc_mdoio and __ppc_mdoom.
18586         * manual/platform.texi: Document new functions __ppc_yield,
18587         __ppc_mdoio and __ppc_mdoom.
18588
18589 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18590
18591         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18592         (main): Mention "tls" pseudo-hwcap is legacy.
18593         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18594
18595 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18596
18597         * math/gen-libm-test.pl (parse_args): Output only string of
18598         arguments as text for test name, not full call or descriptions of
18599         tests for extra outputs.
18600         (generate_testfile): Do not pass function name to parse_args.
18601         Generate this_func variable from START.
18602         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18603         field to arg_str.
18604         (struct test_ff_f_data): Likewise.
18605         (test_ff_f_data_nexttoward): Likewise.
18606         (struct test_fi_f_data): Likewise.
18607         (struct test_fl_f_data): Likewise.
18608         (struct test_if_f_data): Likewise.
18609         (struct test_fff_f_data): Likewise.
18610         (struct test_c_f_data): Likewise.
18611         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18612         (struct test_fF_f1_data): Likewise.
18613         (struct test_ffI_f1_data): Likewise.
18614         (struct test_c_c_data): Rename test_name field to arg_str.
18615         (struct test_cc_c_data): Likewise.
18616         (struct test_f_i_data): Likewise.
18617         (struct test_ff_i_data): Likewise.
18618         (struct test_f_l_data): Likewise.
18619         (struct test_f_L_data): Likewise.
18620         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18621         and extra2_name.
18622         (COMMON_TEST_SETUP): New macro.
18623         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18624         (COMMON_TEST_CLEANUP): Likewise.
18625         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18626         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18627         macros.
18628         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18629         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18630         macros.
18631         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18632         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18633         cleanup macros.
18634         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18635         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18636         macros.
18637         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18638         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18639         macros.
18640         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18641         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18642         cleanup macros.
18643         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18644         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18645         cleanup macros.
18646         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18647         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18648         cleanup macros.
18649         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18650         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18651         macros.
18652         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18653         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18654         macros.
18655         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18656         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18657         macros.
18658         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18659         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18660         cleanup macros.
18661         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18662         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18663         cleanup macros.
18664         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18665         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18666         macros.
18667         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18668         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18669         cleanup macros.
18670         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18671         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18672         macros.
18673         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18674         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18675         macros.
18676         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18677         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18678         cleanup macros.
18679         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18680
18681 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18682
18683         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18684         to _sifields.sigfault.
18685         (si_addr_lsb): Define new macro.
18686         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18687         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18688         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18689
18690 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18691
18692         [BZ #15441]
18693         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18694         returns -1.
18695         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18696         null return -1.
18697         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18698         loading the domain.
18699
18700 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18701
18702         * math/gen-libm-test.pl (parse_args): Do not include expected
18703         result in test name.
18704         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18705         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18706         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18707         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18708         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18710
18711 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18712
18713         * benchtests/Makefile: Sort function entries.
18714
18715         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18716         tanh, asinh, acosh, atanh.
18717         * benchtests/acos-inputs: New file.
18718         * benchtests/acosh-inputs: New file.
18719         * benchtests/asin-inputs: New file.
18720         * benchtests/asinh-inputs: New file.
18721         * benchtests/atanh-inputs: New file.
18722         * benchtests/cosh-inputs: New file.
18723         * benchtests/log-inputs: New file.
18724         * benchtests/sinh-inputs: New file.
18725         * benchtests/tanh-inputs: New file.
18726
18727 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18728
18729         [BZ #15339]
18730         * posix/tst-getaddrinfo4.c: New test.
18731         * posix/Makefile (tests): Add it.
18732
18733 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18734
18735         [BZ #15339]
18736         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18737         when no services were used.
18738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18739         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18740
18741 2013-05-21  Andreas Schwab  <schwab@suse.de>
18742
18743         [BZ #15014]
18744         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18745         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18746         successful.
18747         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18748         redundant variable declarations and reallocation of buffer when
18749         parsing as IPv6 address.  Always set NSS status when called from
18750         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18751         buffer too small.  Correct computation of needed size.
18752         * nss/Makefile (tests): Add test-digits-dots.
18753         * nss/test-digits-dots.c: New test.
18754
18755 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18756
18757         * benchtests/Makefile: Remove instructions for adding
18758         benchmark tests.
18759         * benchtests/README: New file to explain how to execute and
18760         enhance the benchmark tests.
18761
18762 2013-05-21  Andreas Schwab  <schwab@suse.de>
18763
18764         [BZ #15493]
18765         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18766         * setjmp/tst-sigsetjmp.c: New test.
18767
18768 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18769
18770         * sysdeps/x86_64/memset.S (memset): New implementation.
18771         (__bzero): Likewise.
18772         (__memset_tail): New function.
18773
18774 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18775
18776         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18777         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18778         __memcpy_sse2_unaligned ifunc selection.
18779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18780         Add memcpy-sse2-unaligned.S.
18781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18782         Add: __memcpy_sse2_unaligned.
18783
18784 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18785
18786         [BZ #15490]
18787         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18788         math_force_eval before restoring floating-point envrionment.
18789         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18790         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18791         Likewise.
18792         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18793         <math_private.h>.
18794         (__nearbyintl): Use math_force_eval before restoring
18795         floating-point environment.
18796         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18797
18798         * math/gen-libm-test.pl (special_functions): Remove.
18799         (parse_args): Don't handle TEST_extra.  Handle functions with no
18800         return value.
18801         * math/libm-test.inc (struct test_sincos_data): Replace with
18802         struct test_fFF_11_data.
18803         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18804         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18805         (sincos_test_data): Change element type to struct
18806         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18807         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18808         RUN_TEST_LOOP_sincos.
18809         * math/README.libm-test: Don't mention special handling of
18810         individual functions.
18811         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18812         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18813         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18814         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18815         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18817
18818         * math/gen-libm-test.pl (get_variable): Remove function.
18819         (parse_args): Don't show pointer parameters to call in test
18820         names.  Use "extra output N" in test names for extra outputs
18821         rather than naming variables.
18822
18823 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18824
18825         [BZ #15488]
18826         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18827         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18828         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18829         double tests.
18830         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18831         disable.
18832         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18833         check_long_double.
18834
18835         * math/gen-libm-test.pl (@tests): Remove variable.
18836         ($count): Likewise.
18837         (new_test): Remove function.
18838         (show_exceptions): New function.
18839         (special_functions): Use show_exceptions instead of new_test.
18840         (parse_args): Likewise.
18841         (generate_testfile): Pass only function name in generated call to
18842         print_max_error or print_complex_max_error.
18843         (get_ulps): Do not handle complex tests specially.
18844         (output_test): Rename to ...
18845         (get_all_ulps_for_test): ... this.  Return a string rather than
18846         printing to a file.  Require ulps to be present.
18847         (output_ulps): Generate arrays rather than #defines.
18848         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18849         (struct ulp_data): New type.
18850         (BUILD_COMPLEX_ULP): Remove macro.
18851         (compare_ulp_data): New function.
18852         (find_ulps): Likewise.
18853         (find_test_ulps): Likewise.
18854         (find_function_ulps): Likewise.
18855         (find_complex_function_ulps): Likewise.
18856         (print_max_error): Determine allowed ulps using
18857         find_function_ulps.
18858         (print_complex_max_error): Determine allowed ulps using
18859         find_complex_function_ulps.
18860         (check_float_internal): Determine max ulps using find_test_ulps.
18861         (check_float): Do not take max_ulp parameter.  Update call to
18862         check_float_internal.
18863         (check_complex): Likewise.
18864         (check_int): Do not take max_ulp parameter.
18865         (check_long): Likewise.
18866         (check_bool): Likewise.
18867         (check_longlong): Likewise.
18868         (struct test_f_f_data): Remove max_ulp field.
18869         (struct test_ff_f_data): Likewise.
18870         (struct test_ff_f_data_nexttoward): Likewise.
18871         (struct test_fi_f_data): Likewise.
18872         (struct test_fl_f_data): Likewise.
18873         (struct test_if_f_data): Likewise.
18874         (struct test_fff_f_data): Likewise.
18875         (struct test_c_f_data): Likewise.
18876         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18877         (struct test_fF_f1_data): Likewise.
18878         (struct test_ffI_f1_data): Likewise.
18879         (struct test_c_c_data): Remove max_ulp field.
18880         (struct test_cc_c_data): Likewise.
18881         (struct test_f_i_data): Likewise.
18882         (struct test_ff_i_data): Likewise.
18883         (struct test_f_l_data): Likewise.
18884         (struct test_f_L_data): Likewise.
18885         (struct test_sincos_data): Likewise.
18886         (RUN_TEST_f_f): Do not handle ulps.
18887         (RUN_TEST_LOOP_f_f): Likewise.
18888         (RUN_TEST_2_f): Likewise.
18889         (RUN_TEST_LOOP_2_f): Likewise.
18890         (RUN_TEST_fff_f): Likewise.
18891         (RUN_TEST_LOOP_fff_f): Likewise.
18892         (RUN_TEST_c_f): Likewise.
18893         (RUN_TEST_LOOP_c_f): Likewise.
18894         (RUN_TEST_f_f1): Likewise.
18895         (RUN_TEST_LOOP_f_f1): Likewise.
18896         (RUN_TEST_fF_f1): Likewise.
18897         (RUN_TEST_LOOP_fF_f1): Likewise.
18898         (RUN_TEST_fI_f1): Likewise.
18899         (RUN_TEST_LOOP_fI_f1): Likewise.
18900         (RUN_TEST_ffI_f1): Likewise.
18901         (RUN_TEST_LOOP_ffI_f1): Likewise.
18902         (RUN_TEST_c_c): Likewise.
18903         (RUN_TEST_LOOP_c_c): Likewise.
18904         (RUN_TEST_cc_c): Likewise.
18905         (RUN_TEST_LOOP_cc_c): Likewise.
18906         (RUN_TEST_f_i): Likewise.
18907         (RUN_TEST_LOOP_f_i): Likewise.
18908         (RUN_TEST_f_i_tg): Likewise.
18909         (RUN_TEST_LOOP_f_i_tg): Likewise.
18910         (RUN_TEST_ff_i_tg): Likewise.
18911         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18912         (RUN_TEST_f_b): Likewise.
18913         (RUN_TEST_LOOP_f_b): Likewise.
18914         (RUN_TEST_f_b_tg): Likewise.
18915         (RUN_TEST_LOOP_f_b_tg): Likewise.
18916         (RUN_TEST_f_l): Likewise.
18917         (RUN_TEST_LOOP_f_l): Likewise.
18918         (RUN_TEST_f_L): Likewise.
18919         (RUN_TEST_LOOP_f_L): Likewise.
18920         (RUN_TEST_sincos): Likewise.
18921         (RUN_TEST_LOOP_sincos): Likewise.
18922
18923 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18924
18925         [BZ #15480]
18926         [BZ #15485]
18927         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18928         main case of finite arguments, set rounding mode to FE_TONEAREST
18929         and discard exceptions.
18930         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18931         exceptions.
18932         (remainder_tonearest_test_data): New variable.
18933         (remainder_test_tonearest): New function.
18934         (remainder_towardzero_test_data): New variable.
18935         (remainder_test_towardzero): New function.
18936         (remainder_downward_test_data): New variable.
18937         (remainder_test_downward): New function.
18938         (remainder_upward_test_data): New variable.
18939         (remainder_test_upward): New function.
18940         (main): Call the new test functions.
18941
18942         * math/libm-test.inc (struct test_f_f1_data): Remove field
18943         extra_init.
18944         (struct test_fF_f1_data): Likewise.
18945         (struct test_ffI_f1_data): Likewise.
18946         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18947         based on value of EXTRA_EXPECTED.
18948         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18949         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18950         EXTRA_VAR based on value of EXTRA_EXPECTED.
18951         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18952         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18953         EXTRA_VAR based on value of EXTRA_EXPECTED.
18954         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18955         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18956         EXTRA_VAR based on value of EXTRA_EXPECTED.
18957         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18958         * math/gen-libm-test.pl (parse_args): Don't output initializers
18959         for extra output values.
18960
18961         * math/libm-test.inc (check_int): Expect result to be exactly
18962         equal to expected value and do not handle ulps.
18963         (check_long): Likewise.
18964         (check_longlong): Likewise.
18965
18966         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18967         exceptions.
18968         (cimag_test_data): Likewise.
18969         (conj_test_data): Likewise.
18970         (copysign_test_data): Likewise.
18971         (cproj_test_data): Likewise.
18972         (creal_test_data): Likewise.
18973         (fabs_test_data): Likewise.
18974         (fdim_test_data): Likewise.
18975         (finite_test_data): Likewise.
18976         (floor_test_data): Likewise.
18977         (fmax_test_data): Likewise.
18978         (fmin_test_data): Likewise.
18979         (fmod_test_data): Likewise.
18980         (fpclassify_test_data): Likewise.
18981         (frexp_test_data): Likewise.
18982         (ilogb_test_data): Likewise.
18983         (isfinite_test_data): Likewise.
18984         (isgreater_test_data): Likewise.
18985         (isgreaterequal_test_data): Likewise.
18986         (isinf_test_data): Likewise.
18987         (isless_test_data): Likewise.
18988         (islessequal_test_data): Likewise.
18989         (islessgreater_test_data): Likewise.
18990         (isnan_test_data): Likewise.
18991         (isnormal_test_data): Likewise.
18992         (issignaling_test_data): Likewise.
18993         (isunordered_test_data): Likewise.
18994         (ldexp_test_data): Likewise.
18995         (lrint_test_data): Likewise.
18996         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18997         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18998         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18999         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19000         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19001         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19002         test input.
19003         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19004         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19005         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19006         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19007         that test input.
19008         (lrint_downward_test_data): Test for "inexact" exceptions.
19009         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19010         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19011         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19012         test input.
19013         (lrint_upward_test_data): Test for "inexact" exceptions.
19014         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19015         test input.
19016         (llrint_test_data): Test for "inexact" exceptions.
19017         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19018         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19019         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19020         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19021         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19022         (llrint_downward_test_data): Test for "inexact" exceptions.
19023         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19024         (llrint_upward_test_data): Test for "inexact" exceptions.
19025         (logb_test_data): Likewise.
19026         (logb_downward_test_data): Likewise.
19027         (nextafter_test_data): Likewise.
19028         (nexttoward_test_data): Likewise.
19029         (remainder_test_data): Likewise.
19030         (remquo_test_data): Likewise.
19031         (scalbn_test_data): Likewise.
19032         (scalbln_test_data): Likewise.
19033         (signbit_test_data): Likewise.
19034         (sqrt_test_data): Likewise.
19035         (significand_test_data): Likewise.
19036
19037 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19038
19039         [BZ #15424]
19040         * benchtests/bench-modf.c (struct args): Mark arg0 as
19041         volatile.
19042         * scripts/bench.pl: Mark members of struct args as volatile.
19043
19044 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19045
19046         [BZ # 15497]
19047         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19048         negative infinity on POWER6 or lower.
19049         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19050
19051 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19052
19053         [BZ #15442]
19054         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19055         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19056         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19057         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19058         (_FP_SETQNAN): New macro.
19059         (_FP_SETQNAN_SEMIRAW): Likewise.
19060         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19061         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19062         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19063         (FP_EXTEND): Use _FP_FRAC_SNANP.
19064         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19065         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19066         into account.
19067         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19068         New macro.
19069         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19070         Likewise.
19071
19072 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19073
19074         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19075         with DIVIDE_BY_ZERO_EXCEPTION.
19076         (gamma_test_data): Likewise.
19077         (lgamma_test_data): Likewise.
19078         (log_test_data): Likewise.
19079         (log10_test_data): Likewise.
19080         (log2_test_data): Likewise.
19081         (tgamma_test_data): Likewise.
19082
19083         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19084         (acos_test_tonearest): Likewise.
19085         (acos_test_towardzero): Likewise.
19086         (acos_test_downward): Likewise.
19087         (acos_test_upward): Likewise.
19088         (acosh_test): Likewise.
19089         (asin_test): Likewise.
19090         (asin_test_tonearest): Likewise.
19091         (asin_test_towardzero): Likewise.
19092         (asin_test_downward): Likewise.
19093         (asin_test_upward): Likewise.
19094         (asinh_test): Likewise.
19095         (atan_test): Likewise.
19096         (atanh_test): Likewise.
19097         (atan2_test): Likewise.
19098         (cabs_test): Likewise.
19099         (cacos_test): Likewise.
19100         (cacosh_test): Likewise.
19101         (casin_test): Likewise.
19102         (casinh_test): Likewise.
19103         (catan_test): Likewise.
19104         (catanh_test): Likewise.
19105         (cbrt_test): Likewise.
19106         (ccos_test): Likewise.
19107         (ccosh_test): Likewise.
19108         (cexp_test): Likewise.
19109         (clog_test): Likewise.
19110         (clog10_test): Likewise.
19111         (cos_test): Likewise.
19112         (cos_test_tonearest): Likewise.
19113         (cos_test_towardzero): Likewise.
19114         (cos_test_downward): Likewise.
19115         (cos_test_upward): Likewise.
19116         (cosh_test): Likewise.
19117         (cosh_test_tonearest): Likewise.
19118         (cosh_test_towardzero): Likewise.
19119         (cosh_test_downward): Likewise.
19120         (cosh_test_upward): Likewise.
19121         (cpow_test): Likewise.
19122         (csin_test): Likewise.
19123         (csinh_test): Likewise.
19124         (csqrt_test): Likewise.
19125         (ctan_test): Likewise.
19126         (ctan_test_tonearest): Likewise.
19127         (ctan_test_towardzero): Likewise.
19128         (ctan_test_downward): Likewise.
19129         (ctan_test_upward): Likewise.
19130         (ctanh_test): Likewise.
19131         (ctanh_test_tonearest): Likewise.
19132         (ctanh_test_towardzero): Likewise.
19133         (ctanh_test_downward): Likewise.
19134         (ctanh_test_upward): Likewise.
19135         (erf_test): Likewise.
19136         (erfc_test): Likewise.
19137         (exp_test): Likewise.
19138         (exp_test_tonearest): Likewise.
19139         (exp_test_towardzero): Likewise.
19140         (exp_test_downward): Likewise.
19141         (exp_test_upward): Likewise.
19142         (exp10_test): Likewise.
19143         (exp2_test): Likewise.
19144         (expm1_test): Likewise.
19145         (fmod_test): Likewise.
19146         (gamma_test): Likewise.
19147         (hypot_test): Likewise.
19148         (j0_test): Likewise.
19149         (j1_test): Likewise.
19150         (jn_test): Likewise.
19151         (lgamma_test): Likewise.
19152         (log_test): Likewise.
19153         (log10_test): Likewise.
19154         (log1p_test): Likewise.
19155         (log2_test): Likewise.
19156         (logb_test_downward): Likewise.
19157         (pow_test): Likewise.
19158         (pow_test_tonearest): Likewise.
19159         (pow_test_towardzero): Likewise.
19160         (pow_test_downward): Likewise.
19161         (pow_test_upward): Likewise.
19162         (remainder_test): Likewise.
19163         (remquo_test): Likewise.
19164         (sin_test): Likewise.
19165         (sin_test_tonearest): Likewise.
19166         (sin_test_towardzero): Likewise.
19167         (sin_test_downward): Likewise.
19168         (sin_test_upward): Likewise.
19169         (sincos_test): Likewise.
19170         (sinh_test): Likewise.
19171         (sinh_test_tonearest): Likewise.
19172         (sinh_test_towardzero): Likewise.
19173         (sinh_test_downward): Likewise.
19174         (sinh_test_upward): Likewise.
19175         (sqrt_test): Likewise.
19176         (tan_test): Likewise.
19177         (tan_test_tonearest): Likewise.
19178         (tan_test_towardzero): Likewise.
19179         (tan_test_downward): Likewise.
19180         (tan_test_upward): Likewise.
19181         (tanh_test): Likewise.
19182         (tgamma_test): Likewise.
19183         (y0_test): Likewise.
19184         (y1_test): Likewise.
19185         (yn_test): Likewise.
19186
19187         * math/gen-libm-test.pl (adjust_arg): Remove function.
19188         (special_function): Remove argument $in_func.  Only handle
19189         generating output for tables of tests, not inside functions.
19190         (parse_args): Likewise.
19191         (generate_testfile): Remove variable $in_func.  Update call to
19192         parse_args.
19193         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19194         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19195         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19196         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19197         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19198         (MAX_VALUE_INIT): Rename macro to max_value.
19199         (MIN_VALUE_INIT): Rename macro to min_value.
19200         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19201         (plus_zero): Remove variable.
19202         (minus_zero): Likewise.
19203         (plus_infty): Likewise.
19204         (minus_infty): Likewise.
19205         (qnan_value): Likewise.
19206         (max_value): Likewise.
19207         (min_value): Likewise.
19208         (min_subnorm_value): Likewise.
19209
19210 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19211
19212         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19213         uint64_t or uint32_t usage.
19214         * crypt/sha256-block.c: Likewise.
19215         * crypt/sha256-crypt.c: Likewise.
19216         * crypt/sha256.c: Likewise.
19217         * crypt/sha512-block.c: Likewise.
19218         * crypt/sha512-crypt.c: Likewise.
19219         * crypt/sha512.c: Likewise.
19220         * debug/backtrace-tst.c: Likewise.
19221         * debug/pcprofiledump.c: Likewise.
19222         * elf/cache.c: Likewise.
19223         * elf/dl-cache.c: Likewise.
19224         * elf/dl-misc.c: Likewise.
19225         * elf/dl-profile.c: Likewise.
19226         * elf/dl-support.c: Likewise.
19227         * elf/ldconfig.c: Likewise.
19228         * elf/sprof.c: Likewise.
19229         * iconv/dummy-repertoire.c: Likewise.
19230         * iconv/iconv_charmap.c: Likewise.
19231         * iconv/skeleton.c: Likewise.
19232         * iconvdata/8bit-generic.c: Likewise.
19233         * iconvdata/cp737.h: Likewise.
19234         * iconvdata/cp775.h: Likewise.
19235         * iconvdata/ibm1008.h: Likewise.
19236         * iconvdata/ibm1025.h: Likewise.
19237         * iconvdata/ibm1046.h: Likewise.
19238         * iconvdata/ibm1097.h: Likewise.
19239         * iconvdata/ibm1112.h: Likewise.
19240         * iconvdata/ibm1122.h: Likewise.
19241         * iconvdata/ibm1123.h: Likewise.
19242         * iconvdata/ibm1124.h: Likewise.
19243         * iconvdata/ibm1129.h: Likewise.
19244         * iconvdata/ibm1130.h: Likewise.
19245         * iconvdata/ibm1132.h: Likewise.
19246         * iconvdata/ibm1133.h: Likewise.
19247         * iconvdata/ibm1137.h: Likewise.
19248         * iconvdata/ibm1140.h: Likewise.
19249         * iconvdata/ibm1141.h: Likewise.
19250         * iconvdata/ibm1142.h: Likewise.
19251         * iconvdata/ibm1143.h: Likewise.
19252         * iconvdata/ibm1144.h: Likewise.
19253         * iconvdata/ibm1145.h: Likewise.
19254         * iconvdata/ibm1146.h: Likewise.
19255         * iconvdata/ibm1147.h: Likewise.
19256         * iconvdata/ibm1148.h: Likewise.
19257         * iconvdata/ibm1149.h: Likewise.
19258         * iconvdata/ibm1153.h: Likewise.
19259         * iconvdata/ibm1154.h: Likewise.
19260         * iconvdata/ibm1155.h: Likewise.
19261         * iconvdata/ibm1156.h: Likewise.
19262         * iconvdata/ibm1157.h: Likewise.
19263         * iconvdata/ibm1158.h: Likewise.
19264         * iconvdata/ibm1160.h: Likewise.
19265         * iconvdata/ibm1161.h: Likewise.
19266         * iconvdata/ibm1162.h: Likewise.
19267         * iconvdata/ibm1163.h: Likewise.
19268         * iconvdata/ibm1164.h: Likewise.
19269         * iconvdata/ibm1166.h: Likewise.
19270         * iconvdata/ibm1167.h: Likewise.
19271         * iconvdata/ibm12712.h: Likewise.
19272         * iconvdata/ibm1390.h: Likewise.
19273         * iconvdata/ibm1399.h: Likewise.
19274         * iconvdata/ibm16804.h: Likewise.
19275         * iconvdata/ibm4517.h: Likewise.
19276         * iconvdata/ibm4899.h: Likewise.
19277         * iconvdata/ibm4909.h: Likewise.
19278         * iconvdata/ibm4971.h: Likewise.
19279         * iconvdata/ibm5347.h: Likewise.
19280         * iconvdata/ibm803.h: Likewise.
19281         * iconvdata/ibm856.h: Likewise.
19282         * iconvdata/ibm901.h: Likewise.
19283         * iconvdata/ibm902.h: Likewise.
19284         * iconvdata/ibm9030.h: Likewise.
19285         * iconvdata/ibm9066.h: Likewise.
19286         * iconvdata/ibm921.h: Likewise.
19287         * iconvdata/ibm922.h: Likewise.
19288         * iconvdata/ibm9448.h: Likewise.
19289         * iconvdata/isiri-3342.h: Likewise.
19290         * iconvdata/jis0201.h: Likewise.
19291         * include/link.h: Likewise.
19292         * include/netdb.h: Likewise.
19293         * inet/check_native.c: Likewise.
19294         * inet/check_pf.c: Likewise.
19295         * inet/getipv4sourcefilter.c: Likewise.
19296         * inet/getnameinfo.c: Likewise.
19297         * inet/getsourcefilter.c: Likewise.
19298         * inet/htonl.c: Likewise.
19299         * inet/setipv4sourcefilter.c: Likewise.
19300         * inet/setsourcefilter.c: Likewise.
19301         * inet/test-inet6_opt.c: Likewise.
19302         * inet/tst-network.c: Likewise.
19303         * locale/C-collate.c: Likewise.
19304         * locale/C-ctype.c: Likewise.
19305         * locale/C-time.c: Likewise.
19306         * locale/C-translit.h: Likewise.
19307         * locale/loadarchive.c: Likewise.
19308         * locale/programs/3level.h: Likewise.
19309         * locale/programs/charmap.c: Likewise.
19310         * locale/programs/charmap.h: Likewise.
19311         * locale/programs/ld-address.c: Likewise.
19312         * locale/programs/ld-collate.c: Likewise.
19313         * locale/programs/ld-ctype.c: Likewise.
19314         * locale/programs/ld-identification.c: Likewise.
19315         * locale/programs/ld-measurement.c: Likewise.
19316         * locale/programs/ld-messages.c: Likewise.
19317         * locale/programs/ld-monetary.c: Likewise.
19318         * locale/programs/ld-name.c: Likewise.
19319         * locale/programs/ld-numeric.c: Likewise.
19320         * locale/programs/ld-paper.c: Likewise.
19321         * locale/programs/ld-telephone.c: Likewise.
19322         * locale/programs/ld-time.c: Likewise.
19323         * locale/programs/linereader.c: Likewise.
19324         * locale/programs/locale.c: Likewise.
19325         * locale/programs/locarchive.c: Likewise.
19326         * locale/programs/locfile.h: Likewise.
19327         * locale/programs/repertoire.c: Likewise.
19328         * locale/programs/simple-hash.c: Likewise.
19329         * locale/programs/simple-hash.h: Likewise.
19330         * malloc/memusage.c: Likewise.
19331         * malloc/memusagestat.c: Likewise.
19332         * nis/nis_defaults.c: Likewise.
19333         * nis/nis_hash.c: Likewise.
19334         * nis/nis_print.c: Likewise.
19335         * nis/nis_xdr.c: Likewise.
19336         * nscd/connections.c: Likewise.
19337         * nscd/hstcache.c: Likewise.
19338         * nscd/nscd_gethst_r.c: Likewise.
19339         * nscd/nscd_getserv_r.c: Likewise.
19340         * nscd/nscd_helper.c: Likewise.
19341         * nscd/servicescache.c: Likewise.
19342         * nss/makedb.c: Likewise.
19343         * nss/nss_db/db-XXX.c: Likewise.
19344         * nss/nss_db/db-initgroups.c: Likewise.
19345         * nss/nss_db/db-netgrp.c: Likewise.
19346         * nss/nss_files/files-network.c: Likewise.
19347         * nss/nss_files/files-parse.c: Likewise.
19348         * posix/bug-regex5.c: Likewise.
19349         * posix/fnmatch_loop.c: Likewise.
19350         * posix/regcomp.c: Likewise.
19351         * posix/regexec.c: Likewise.
19352         * posix/tst-rfc3484-2.c: Likewise.
19353         * posix/tst-rfc3484-3.c: Likewise.
19354         * posix/tst-rfc3484.c: Likewise.
19355         * resolv/nss_dns/dns-canon.c: Likewise.
19356         * resolv/nss_dns/dns-network.c: Likewise.
19357         * resolv/res_init.c: Likewise.
19358         * resolv/res_mkquery.c: Likewise.
19359         * resolv/tst-aton.c: Likewise.
19360         * stdlib/cxa_atexit.c: Likewise.
19361         * stdlib/cxa_finalize.c: Likewise.
19362         * stdlib/gen-fpioconst.c: Likewise.
19363         * stdlib/strtol_l.c: Likewise.
19364         * string/tst-endian.c: Likewise.
19365         * sunrpc/auth_des.c: Likewise.
19366         * sunrpc/clnt_udp.c: Likewise.
19367         * sunrpc/rtime.c: Likewise.
19368         * sunrpc/svcauth_des.c: Likewise.
19369         * sunrpc/xdr.c: Likewise.
19370         * sunrpc/xdr_intXX_t.c: Likewise.
19371         * sunrpc/xdr_rec.c: Likewise.
19372         * sysdeps/generic/ldconfig.h: Likewise.
19373         * sysdeps/generic/ldsodefs.h: Likewise.
19374         * sysdeps/generic/memusage.h: Likewise.
19375         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19376         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19377         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19378         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19379         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19380         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19381         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19382         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19383         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19384         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19385         * sysdeps/posix/getaddrinfo.c: Likewise.
19386         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19387         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19388         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19389         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19390         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19391         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19392         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19393         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19394         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19395         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19396         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19397         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19398         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19399         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19400         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19401         * sysdeps/x86_64/dl-tls.h: Likewise.
19402         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19403         * time/alt_digit.c: Likewise.
19404         * time/era.c: Likewise.
19405         * wcsmbs/tst-c16c32-1.c: Likewise.
19406
19407 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19408
19409         * math/libm-test.inc (struct test_sincos_data): New type.
19410         (RUN_TEST_LOOP_sincos): New macro.
19411         (sincos_test_data): New variable.
19412         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19413
19414 2013-05-16  Richard Henderson  <rth@redhat.com>
19415
19416         * math/atest-exp2.c (LIMB64): New macro.
19417         (CONSTSZ): New macro.
19418         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19419         (hexdig): Move ...
19420         (print_mpn_fp): ... to function scope.
19421         (read_mpn_hex): Remove.
19422         (get_log2): Remove.
19423         (exp2_mpn): Use mp_log2.
19424         (main): Use mp_exp1.
19425
19426 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19427
19428         * math/libm-test.inc: Remove comment about not testing "inexact"
19429         exceptions.
19430         (INEXACT_EXCEPTION): New macro.
19431         (NO_INEXACT_EXCEPTION): Likewise.
19432         (INVALID_EXCEPTION_OK): Update value.
19433         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19434         (OVERFLOW_EXCEPTION_OK): Likewise.
19435         (UNDERFLOW_EXCEPTION_OK): Likewise.
19436         (IGNORE_ZERO_INF_SIGN): Likewise.
19437         (ERRNO_UNCHANGED): Likewise.
19438         (ERRNO_EDOM): Likewise.
19439         (ERRNO_ERANGE): Likewise.
19440         (test_exceptions): Handle testing "inexact" exceptions.
19441         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19442         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19443         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19444         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19445         INEXACT_EXCEPTION.
19446         (rint_towardzero_test_data): Likewise.
19447         (rint_downward_test_data): Likewise.
19448         (rint_upward_test_data): Likewise.
19449
19450         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19451         with OVERFLOW_EXCEPTION.
19452         (exp10_test_data): Likewise.
19453         (exp2_test_data): Likewise.
19454         (expm1_test_data): Likewise.
19455         (lgamma_test_data): Likewise.
19456         (pow_test_data): Likewise.
19457         (tgamma_test_data): Likewise.
19458         (yn_test_data): Remove duplicate test of overflow.
19459
19460         * math/libm-test.inc (struct test_cc_c_data): New type.
19461         (RUN_TEST_LOOP_cc_c): New macro.
19462         (cpow_test_data): New variable.
19463         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19464
19465         * math/libm-test.inc (struct test_f_L_data): New type.
19466         (RUN_TEST_LOOP_f_L): New macro.
19467         (llrint_test_data): New variable.
19468         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19469         (llrint_tonearest_test_data): New variable.
19470         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19471         (llrint_towardzero_test_data): New variable.
19472         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19473         (llrint_downward_test_data): New variable.
19474         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19475         (llrint_upward_test_data): New variable.
19476         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19477         (llround_test_data): New variable.
19478         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19479
19480 2013-05-13  Peter Collingbourne  <pcc@google.com>
19481
19482         * math/atest-exp2.c (get_log2): Remove const attribute.
19483
19484 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19485
19486         * math/libm-test.inc (struct test_f_l_data): New type.
19487         (RUN_TEST_LOOP_f_l): New macro.
19488         (lrint_test_data): New variable.
19489         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19490         (lrint_tonearest_test_data): New variable.
19491         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19492         (lrint_towardzero_test_data): New variable.
19493         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19494         (lrint_downward_test_data): New variable.
19495         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19496         (lrint_upward_test_data): New variable.
19497         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19498         (lround_test_data): New variable.
19499         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19500
19501 2013-05-15  Peter Collingbourne  <pcc@google.com>
19502
19503         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19504         (EXTRACT_WORDS64) Use where appropriate.
19505         (INSERT_WORDS64) Likewise.
19506
19507         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19508         constraints with x constraints.
19509         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19510
19511         * malloc/obstack.c (_obstack_compat): Add initializer.
19512
19513 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19514
19515         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19516         si_trapno and add si_addr_lsb to _sifields.sigfault.
19517         (si_trapno): Remove macro.
19518         (si_addr_lsb): Define new macro.
19519         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19520
19521 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19522
19523         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19524         instead of TEST_f_l.
19525         (llrint_test_tonearest): Likewise.
19526         (llrint_test_towardzero): Likewise.
19527         (llrint_test_downward): Likewise.
19528         (llrint_test_upward): Likewise.
19529         (llround_test): Likewise.
19530
19531         * math/libm-test.inc (struct test_f_i_data): Add comment.
19532         (RUN_TEST_LOOP_f_b): New macro.
19533         (RUN_TEST_LOOP_f_b_tg): Likewise.
19534         (finite_test_data): New variable.
19535         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19536         (isfinite_test_data): New variable.
19537         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19538         (isinf_test_data): New variable.
19539         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19540         (isnan_test_data): New variable.
19541         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19542         (isnormal_test_data): New variable.
19543         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19544         (issignaling_test_data): New variable.
19545         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19546         (signbit_test_data): New variable.
19547         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19548
19549         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19550         with INVALID_EXCEPTION.
19551         (acosh_test_data): Likewise.
19552         (asin_test_data): Likewise.
19553         (atanh_test_data): Likewise.
19554         (fmod_test_data): Likewise.
19555         (log_test_data): Likewise.
19556         (log10_test_data): Likewise.
19557         (log2_test_data): Likewise.
19558         (pow_test_data): Likewise.
19559         (sqrt_test_data): Likewise.
19560         (y0_test_data): Likewise.
19561         (y1_test_data): Likewise.
19562         (yn_test_data): Likewise.
19563
19564         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19565         function contents.
19566
19567         * math/libm-test.inc (struct test_ff_i_data): New type.
19568         (RUN_TEST_LOOP_ff_i_tg): New macro.
19569         (isgreater_test_data): New variable.
19570         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19571         (isgreaterequal_test_data): New variable.
19572         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19573         (isless_test_data): New variable.
19574         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19575         (islessequal_test_data): New variable.
19576         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19577         (islessgreater_test_data): New variable.
19578         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19579         (isunordered_test_data): New variable.
19580         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19581
19582 2013-05-14  David S. Miller  <davem@davemloft.net>
19583
19584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19585
19586 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19587
19588         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19589
19590         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19591         extra_test to int.
19592         (struct test_f_i_data): Change type of max_ulp to int.
19593
19594         * math/libm-test.inc (test_ffI_f1_data): New type.
19595         (RUN_TEST_LOOP_ffI_f1): New macro.
19596         (remquo_test_data): New variable.
19597         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19598
19599         * setjmp/tst-setjmp-fp.c: New file.
19600         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19601         (link-libm): New variable.
19602         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19603
19604         * math/libm-test.inc (struct test_f_i_data): New type.
19605         (RUN_TEST_LOOP_f_i): New macro.
19606         (RUN_TEST_LOOP_f_i_tg): Likewise.
19607         (fpclassify_test_data): New variable.
19608         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19609         (ilogb_test_data): New variable.
19610         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19611
19612         * math/libm-test.inc (scalbln_test): Correct function name in END
19613         call.
19614
19615         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19616         (RUN_TEST_LOOP_fI_f1): New macro.
19617         (frexp_test_data): New variable.
19618         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19619
19620         * math/libm-test.inc (struct test_fF_f1_data): New type.
19621         (RUN_TEST_LOOP_fF_f1): New macro.
19622         (modf_test_data): New variable.
19623         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19624
19625         * math/libm-test.inc (struct test_f_f1_data): New type.
19626         (RUN_TEST_LOOP_f_f1): New macro.
19627         (gamma_test_data): New variable.
19628         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19629         (lgamma_test_data): New variable.
19630         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19631
19632 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19633
19634         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19635         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19636         (main): Comment "tls" pseudo-hwcap.
19637
19638 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19639
19640         * math/libm-test.inc (struct test_fl_f_data): New type.
19641         (RUN_TEST_LOOP_fl_f): New variable.
19642         (scalbln_test_data): New variable.
19643         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19644
19645         * math/libm-test.inc (struct test_fi_f_data): New type.
19646         (RUN_TEST_LOOP_fi_f): New macro.
19647         (ldexp_test_data): New variable.
19648         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19649         (scalbn_test_data): New variable.
19650         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19651
19652         * math/libm-test.inc (struct test_c_f_data): New type.
19653         (RUN_TEST_LOOP_c_f): New macro.
19654         (cabs_test_data): New variable.
19655         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19656         (carg_test_data): New variable.
19657         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19658         (cimag_test_data): New variable.
19659         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19660         (creal_test_data): New variable.
19661         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19662
19663         * math/libm-test.inc (struct test_if_f_data): New type.
19664         (RUN_TEST_LOOP_if_f): New macro.
19665         (jn_test_data): New variable.
19666         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19667         (yn_test_data): New variable.
19668         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19669
19670         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19671
19672 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19673
19674         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19675         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19676
19677 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19678
19679         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19680         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19681         (bench-deps): Add bench-timing.h.
19682         * benchtests-bench-skeleton.c: Include bench-timing.h.
19683         (main): Use TIMING_* macros instead of clock_gettime.
19684         * benchtests/bench-timing.h: New file.
19685
19686         [BZ #14582]
19687         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19688         Renamed from _LIB_VERSION.
19689         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19690
19691 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19692
19693         * math/libm-test.inc (struct test_fff_f_data): New type.
19694         (RUN_TEST_LOOP_fff_f): New macro.
19695         (fma_test_data): New variable.
19696         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19697         (fma_towardzero_test_data): New variable.
19698         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19699         (fma_downward_test_data): New variable.
19700         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19701         (fma_upward_test_data): New variable.
19702         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19703
19704         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19705         (struct test_c_c_data): New type.
19706         (RUN_TEST_LOOP_c_c): New macro.
19707         (cacos_test_data): New variable.
19708         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19709         (cacosh_test_data): New variable.
19710         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19711         (casin_test_data): New variable.
19712         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19713         (casinh_test_data): New variable.
19714         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19715         (catan_test_data): New variable.
19716         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19717         (catanh_test_data): New variable.
19718         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19719         (ccos_test_data): New variable.
19720         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19721         (ccosh_test_data): New variable.
19722         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19723         (cexp_test_data): New variable.
19724         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19725         (clog_test_data): New variable.
19726         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19727         (clog10_test_data): New variable.
19728         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19729         (conj_test_data): New variable.
19730         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19731         (cproj_test_data): New variable.
19732         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19733         (csin_test_data): New variable.
19734         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19735         (csinh_test_data): New variable.
19736         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19737         (csqrt_test_data): New variable.
19738         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19739         (ctan_test_data): New variable.
19740         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19741         (ctan_tonearest_test_data): New variable.
19742         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19743         (ctan_towardzero_test_data): New variable.
19744         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19745         (ctan_downward_test_data): New variable.
19746         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19747         (ctan_upward_test_data): New variable.
19748         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19749         (ctanh_test_data): New variable.
19750         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19751         (ctanh_tonearest_test_data): New variable.
19752         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19753         (ctanh_towardzero_test_data): New variable.
19754         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19755         (ctanh_downward_test_data): New variable.
19756         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19757         (ctanh_upward_test_data): New variable.
19758         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19759         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19760         of BUILD_COMPLEX.
19761
19762         * math/libm-test.inc (struct test_ff_f_data): New type.
19763         (struct test_ff_f_data_nexttoward): Likewise.
19764         (RUN_TEST_LOOP_2_f): New macro.
19765         (RUN_TEST_LOOP_ff_f): Likewise.
19766         (atan2_test_data): New variable.
19767         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19768         (copysign_test_data): New variable.
19769         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19770         (fdim_test_data): New variable.
19771         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19772         (fmax_test_data): New variable.
19773         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19774         (fmin_test_data): New variable.
19775         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19776         (fmod_test_data): New variable.
19777         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19778         (hypot_test_data): New variable.
19779         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19780         (nextafter_test_data): New variable.
19781         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19782         (nexttoward_test_data): New variable.
19783         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19784         (pow_test_data): New variable.
19785         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19786         (pow_tonearest_test_data): New variable.
19787         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19788         (pow_towardzero_test_data): New variable.
19789         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19790         (pow_downward_test_data): New variable.
19791         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19792         (pow_upward_test_data): New variable.
19793         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19794         (remainder_test_data): New variable.
19795         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19796         (scalb_test_data): New variable.
19797         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19798         * sysdeps/i386/fpu/libm-test-ulps: Update.
19799
19800 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19801
19802         * math/libm-test.inc (fma_test): Use max_value instead of local
19803         variable fltmax.
19804         (nextafter_test): Likewise.
19805
19806         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19807         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19808         (acos_downward_test_data): New variable.
19809         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19810         (acos_upward_test_data): New variable.
19811         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19812         (acosh_test_data): New variable.
19813         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19814         (asin_test_data): New variable.
19815         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19816         (asin_tonearest_test_data): New variable.
19817         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19818         (asin_towardzero_test_data): New variable.
19819         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19820         (asin_downward_test_data): New variable.
19821         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19822         (asin_upward_test_data): New variable.
19823         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19824         (asinh_test_data): New variable.
19825         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19826         (atan_test_data): New variable.
19827         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19828         (atanh_test_data): New variable.
19829         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19830         (cbrt_test_data): New variable.
19831         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19832         (ceil_test_data): New variable.
19833         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19834         (cos_test_data): New variable.
19835         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19836         (cos_tonearest_test_data): New variable.
19837         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19838         (cos_towardzero_test_data): New variable.
19839         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19840         (cos_downward_test_data): New variable.
19841         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19842         (cos_upward_test_data): New variable.
19843         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19844         (cosh_test_data): New variable.
19845         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19846         (cosh_tonearest_test_data): New variable.
19847         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19848         (cosh_towardzero_test_data): New variable.
19849         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19850         (cosh_downward_test_data): New variable.
19851         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19852         (cosh_upward_test_data): New variable.
19853         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19854         (erf_test_data): New variable.
19855         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19856         (erfc_test_data): New variable.
19857         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19858         (exp_test_data): New variable.
19859         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19860         (exp_tonearest_test_data): New variable.
19861         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19862         (exp_towardzero_test_data): New variable.
19863         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19864         (exp_downward_test_data): New variable.
19865         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19866         (exp_upward_test_data): New variable.
19867         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19868         (exp10_test_data): New variable.
19869         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19870         (exp2_test_data): New variable.
19871         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19872         (expm1_test_data): New variable.
19873         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19874         (fabs_test_data): New variable.
19875         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19876         (floor_test_data): New variable.
19877         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19878         (j0_test_data): New variable.
19879         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19880         (j1_test_data): New variable.
19881         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19882         (log_test_data): New variable.
19883         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19884         (log10_test_data): New variable.
19885         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19886         (log1p_test_data): New variable.
19887         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19888         (log2_test_data): New variable.
19889         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19890         (logb_test_data): New variable.
19891         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19892         (logb_downward_test_data): New variable.
19893         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19894         (nearbyint_test_data): New variable.
19895         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19896         (rint_test_data): New variable.
19897         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19898         (rint_tonearest_test_data): New variable.
19899         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19900         (rint_towardzero_test_data): New variable.
19901         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19902         (rint_downward_test_data): New variable.
19903         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19904         (rint_upward_test_data): New variable.
19905         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19906         (round_test_data): New variable.
19907         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19908         (sin_test_data): New variable.
19909         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19910         (sin_tonearest_test_data): New variable.
19911         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19912         (sin_towardzero_test_data): New variable.
19913         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19914         (sin_downward_test_data): New variable.
19915         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19916         (sin_upward_test_data): New variable.
19917         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19918         (sinh_test_data): New variable.
19919         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19920         (sinh_tonearest_test_data): New variable.
19921         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19922         (sinh_towardzero_test_data): New variable.
19923         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19924         (sinh_downward_test_data): New variable.
19925         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19926         (sinh_upward_test_data): New variable.
19927         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19928         (sqrt_test_data): New variable.
19929         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19930         (tan_test_data): New variable.
19931         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19932         (tan_tonearest_test_data): New variable.
19933         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19934         (tan_towardzero_test_data): New variable.
19935         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19936         (tan_downward_test_data): New variable.
19937         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19938         (tan_upward_test_data): New variable.
19939         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19940         (tanh_test_data): New variable.
19941         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19942         (tgamma_test_data): New variable.
19943         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19944         (trunc_test_data): New variable.
19945         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19946         (y0_test_data): New variable.
19947         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19948         (y1_test_data): New variable.
19949         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19950         (significand_test_data): New variable.
19951         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19952
19953 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19954
19955         [BZ #12387]
19956         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19957
19958 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19959
19960         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19961
19962 2013-05-10  Andreas Jaeger  <aj@suse.de>
19963
19964         [BZ #15448]
19965         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19966         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19967
19968 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19969
19970         * math/gen-libm-test.pl (adjust_arg): New function.
19971         (special_functions): Handle generating output in both functions
19972         and arrays.
19973         (parse_args): Likewise.
19974         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19975         $in_func argument to parse_args.
19976         * math/libm-test.inc (struct test_f_f_data): New type.
19977         (IF_ROUND_INIT_): New macro.
19978         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19979         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19980         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19981         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19982         (ROUND_RESTORE_): Likewise.
19983         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19984         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19985         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19986         (ROUND_RESTORE_FE_UPWARD): Likewise.
19987         (RUN_TEST_LOOP_f_f): New macro.
19988         (acos_test_data): New variable.
19989         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19990         (acos_tonearest_test_data): New variable.
19991         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19992
19993 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19994
19995         * benchtests/bench-skeleton.c (startup): Fix coding style.
19996
19997 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19998
19999         [BZ #6809]
20000         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20001         negative infinity argument.
20002         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20003         negative infinity argument.
20004         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20005         negative infinity argument.
20006         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20007         domain errors.
20008
20009 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20010
20011         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20012         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20013         * iconv/iconv_prog.c (main): Likewise.
20014         * locale/programs/charmap-dir.c (charmap_readdir)
20015         (fopen_uncompressed): Likewise.
20016         * locale/programs/locfile.c (siblings_uncached)
20017         (write_locale_data): Use lstat64 instead of lstat.
20018         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20019         stat.
20020
20021 2013-05-10  Andreas Jaeger  <aj@suse.de>
20022
20023         [BZ #15395]
20024         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20025         localization.
20026         Include <locale.h>.
20027
20028 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20029
20030         * elf/dl-close.c (_dl_close_worker): Add comments.
20031
20032 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20033
20034         [BZ #15359]
20035         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20036         high part of pi/2.
20037         (__ieee754_rem_pio2l): Update comments.
20038
20039         [BZ #15429]
20040         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20041         high part of pi/2.
20042         (__ieee754_rem_pio2l): Update comments.
20043
20044         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20045         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20046
20047         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20048         M_PI_4l.
20049
20050         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20051         (M_PI_34_LOG10El): Likewise.
20052         (M_PI2_LOG10El): Likewise.
20053         (M_PI4_LOG10El): Likewise.
20054         (M_PI_LOG10El): Likewise.
20055
20056 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20057
20058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20059
20060 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20061
20062         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20063         (MINUS_ZERO_INIT): Likewise.
20064         (PLUS_INFTY_INIT): Likewise.
20065         (MINUS_INFTY_INIT): Likewise.
20066         (QNAN_VALUE_INIT): Likewise.
20067         (MAX_VALUE_INIT): Likewise.
20068         (MIN_VALUE_INIT): Likewise.
20069         (MIN_SUBNORM_VALUE_INIT): Likewise.
20070         (plus_zero): Initialize with PLUS_ZERO_INIT.
20071         (minus_zero): Initialize with MINUS_ZERO_INIT.
20072         (plus_infty): Initialize with PLUS_INFTY_INIT.
20073         (minus_infty): Initialize with MINUS_INFTY_INIT.
20074         (qnan_value): Initialize with QNAN_VALUE_INIT.
20075         (max_value): Initialize with MAX_VALUE_INIT.
20076         (min_value): Initialize with MIN_VALUE_INIT.
20077         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20078
20079         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20080         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20081         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20082         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20083
20084         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20085         (RUN_TEST_2_f): Likewise.
20086         (RUN_TEST_ff_f): Likewise.
20087         (RUN_TEST_fi_f): Likewise.
20088         (RUN_TEST_fl_f): Likewise.
20089         (RUN_TEST_fff_f): Likewise.
20090         (RUN_TEST_c_f): Likewise.
20091         (RUN_TEST_f_f1): Likewise.
20092         (RUN_TEST_fF_f1): Likewise.
20093         (RUN_TEST_fI_f1): Likewise.
20094         (RUN_TEST_ffI_f1): Likewise.
20095         (RUN_TEST_c_c): Likewise.
20096         (RUN_TEST_cc_c): Likewise.
20097         (RUN_TEST_f_i): Likewise.
20098         (RUN_TEST_f_i_tg): Likewise.
20099         (RUN_TEST_ff_i_tg): Likewise.
20100         (RUN_TEST_f_b): Likewise.
20101         (RUN_TEST_f_b_tg): Likewise.
20102         (RUN_TEST_f_l): Likewise.
20103         (RUN_TEST_f_L): Likewise.
20104         (RUN_TEST_sincos): Likewise.
20105         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20106         whether to show exceptions.  Do not include ");\n" in return
20107         value.
20108         (special_functions): Output call to RUN_TEST_sincos instead of
20109         check_float calls.  Update calls to new_test.
20110         (parse_args): Output call to single RUN_TEST_* macro instead of
20111         check_* calls and other assignments.  Update calls to new_test.
20112
20113         [BZ #2546]
20114         [BZ #2560]
20115         [BZ #5159]
20116         [BZ #15426]
20117         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20118         input to result for tgamma overflow.
20119         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20120         (gamma_coeff): New variable.
20121         (NCOEFF): New macro.
20122         (gamma_positive): New function.
20123         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20124         underflow here.  Use gamma_positive instead of exp (lgamma) for
20125         other arguments.
20126         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20127         (gamma_coeff): New variable.
20128         (NCOEFF): New macro.
20129         (gammaf_positive): New function.
20130         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20131         underflow here.  Use gamma_positive instead of exp (lgamma) for
20132         other arguments.
20133         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20134         (gamma_coeff): New variable.
20135         (NCOEFF): New macro.
20136         (gammal_positive): New function.
20137         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20138         underflow here.  Use gamma_positive instead of exp (lgamma) for
20139         other arguments.
20140         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20141         (gamma_coeff): New variable.
20142         (NCOEFF): New macro.
20143         (gammal_positive): New function.
20144         (__ieee754_gammal_r): Handle positive infinity, overflow and
20145         underflow here.  Handle NaN the same as positive infinity.  Remove
20146         check x < 0xffffffff for negative integers.  Use gamma_positive
20147         instead of exp (lgamma) for other arguments.
20148         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20149         (gamma_coeff): New variable.
20150         (NCOEFF): New macro.
20151         (gammal_positive): New function.
20152         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20153         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20154         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20155         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20156         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20157         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20158         * sysdeps/generic/math_private.h (__gamma_productf): New
20159         prototype.
20160         (__gamma_product): Likewise.
20161         (__gamma_productl): Likewise.
20162         * math/Makefile (libm-calls): Add gamma_product.
20163         * math/libm-test.inc (tgamma_test): Add more tests.
20164         * sysdeps/i386/fpu/libm-test-ulps: Update.
20165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20166
20167 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20168
20169         * benchtests/bench-skeleton.c (main): Preheat CPU.
20170
20171 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20172
20173         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20174
20175 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20176
20177         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20178         and _dl_skip_args_internal.
20179
20180 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20181
20182         * manual/message.texi (Message Translation): Talk about users.
20183         Message to key mapping impacts design.
20184
20185 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20186
20187         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20188
20189         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20190
20191         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20192         * sysdeps/wordsize-64/glob64.c: ... here.
20193
20194         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20195         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20196         New macros.
20197
20198         * debug/getlogin_r_chk.c: Moved to ...
20199         * login/getlogin_r_chk.c: ... here.
20200         * debug/Makefile (routines): Move getlogin_r_chk to ...
20201         * login/Makefile (routines): ... here.
20202         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20203         * login/Versions (libc: GLIBC_2.4): ... here.
20204
20205         * io/poll.c (__poll): Renamed from poll.
20206         Add libc_hidden_def.
20207         (poll): Define as weak alias.
20208
20209         * debug/ptsname_r_chk.c: Moved to ...
20210         * login/ptsname_r_chk.c: ... here.
20211         * debug/Makefile (routines): Move ptsname_r_chk to ...
20212         * login/Makefile (routines): ... here.
20213         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20214         * login/Versions (libc: GLIBC_2.4): ... here.
20215
20216         * posix/getlogin.c: Moved to ...
20217         * login/getlogin.c: ... here.
20218         * posix/getlogin_r.c: Moved to ...
20219         * login/getlogin_r.c: ... here.
20220         * posix/getlogin_r.c: Moved to ...
20221         * login/getlogin_r.c: ... here.
20222         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20223         * login/Makefile (routines): ... here.
20224         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20225         * login/Versions (libc: GLIBC_2.0): ... here.
20226
20227         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20228         (setrlimit): Define as weak alias.
20229
20230         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20231         Call __ names for open, ftruncate, and close.
20232         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20233         (truncate): Define as weak alias.
20234
20235 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20236
20237         * math/gen-libm-test.pl (parse_args): Initialize x before each
20238         test of frexp, modf and remquo.
20239
20240         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20241         test signgam value.
20242
20243 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20244
20245         [BZ #15418]
20246         [BZ #15419]
20247         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20248         internal tests.
20249         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20250
20251 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20252
20253         * elf/dl-writev.h: New file.
20254         * elf/dl-misc.c: Include it.
20255         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20256         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20257
20258 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20259
20260         * math/libm-test.inc (noXFails): Remove variable.
20261         (noXPasses): Likewise.
20262         (BUILD_COMPLEX_INT): Remove macro.
20263         (print_screen): Remove xfail argument.
20264         (print_screen_max_error): Likewise.
20265         (update_stats): Likewise.
20266         (print_max_error): Likewise.  Update calls to other affected
20267         functions.
20268         (print_complex_max_error): Likewise.
20269         (test_single_exception): Update calls to print_screen.
20270         (test_single_errno): Likewise.
20271         (check_float_internal): Remove xfail argument.  Update calls to
20272         other affected functions.
20273         (check_float): Likewise.
20274         (check_complex): Likewise.
20275         (check_int): Likewise.
20276         (check_long): Likewise.
20277         (check_bool): Likewise.
20278         (check_longlong): Likewise.
20279         (main): Don't print noXFails and noXPasses.
20280         * math/gen-libm-test.pl (top level): Don't mention expected
20281         failure handling in comment.
20282         (new_test): Don't handle expected failures.
20283         (parse_args): Don't mention expected failure handling in comment.
20284         (generate_testfile): Don't handle expected failures.
20285         (parse_ulps): Likewise.
20286         (print_ulps_file): Likewise.
20287         (get_failure): Remove function.
20288         (output_test): Don't handle expected failures.
20289         * make/README.libm-test: Don't mention expected failure handling.
20290
20291         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20292         (minus_zero): Likewise.
20293         (plus_infty): Likewise.
20294         (minus_infty): Likewise.
20295         (qnan_value): Likewise.
20296         (max_value): Likewise.
20297         (min_value): Likewise.
20298         (min_subnorm_value): Likewise.
20299         (initialize): Do not initialize those variables dynamically.
20300
20301 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20302
20303         * io/open.c (__open_2): Moved to ...
20304         * io/open_2.c: ... this new file.
20305         * io/open64.c (__open64_2): Moved to ...
20306         * io/open64_2.c: ... this new file.
20307         * io/openat.c (__openat_2): Moved to ...
20308         * io/openat_2.c: ... this new file.
20309         * io/openat64.c (__openat64_2): Moved to ...
20310         * io/openat64_2.c: ... this new file.
20311         * io/Makefile (routines): Add them.
20312         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20313         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20314         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20315         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20316         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20317         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20318         (__openat64): Add hidden_ver.
20319         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20320         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20321
20322         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20323         Separately conditionalize setting of GLRO(dl_sysinfo) so
20324         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20325         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20326
20327 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20328
20329         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20330         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20331         definition.
20332         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20333         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20334         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20335         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20336         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20337
20338 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20339
20340         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20341         test signgam value.
20342
20343         * math/libm-test.inc (hypot_test): Do not use
20344         IGNORE_ZERO_INF_SIGN.
20345
20346 2013-05-03  Andreas Jaeger  <aj@suse.de>
20347
20348         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20349         Linux 3.9.
20350         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20351         (PF_MAX): Adjust for VSOCK change.
20352
20353 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20354
20355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20356
20357 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20358
20359         [BZ #15264]
20360         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20361         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20362         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20363
20364 2013-05-02  David S. Miller  <davem@davemloft.net>
20365
20366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20367
20368 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20369
20370         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20371
20372 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20373
20374         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20375
20376 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20377
20378         [BZ #14952]
20379         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20380         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20381         Use __attribute__ ((__gnu_inline__)).
20382         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20383         Don't use __attribute__ ((__gnu_inline__)).
20384
20385 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20386
20387         [BZ #15423]
20388         * math/s_catan.c (__catan): Handle small real or imaginary part of
20389         input specially to avoid spurious underflow.
20390         * math/s_catanf.c (__catanf): Likewise.
20391         * math/s_catanh.c (__catanh): Likewise.
20392         * math/s_catanhf.c (__catanhf): Likewise.
20393         * math/s_catanhl.c (__catanhl): Likewise.
20394         * math/s_catanl.c (__catanl): Likewise.
20395         * math/libm-test.inc (catan_test): Add more tests.
20396         (catanh_test): Likewise.
20397         * sysdeps/i386/fpu/libm-test-ulps: Update.
20398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20399
20400 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20401
20402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20403
20404 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20405
20406         [BZ #15416]
20407         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20408         accurately for denominator in atan2.
20409         * math/s_catanf.c (__catanf): Likewise.
20410         * math/s_catanh.c (__catanh): Likewise.
20411         * math/s_catanhf.c (__catanhf): Likewise.
20412         * math/s_catanhl.c (__catanhl): Likewise.
20413         * math/s_catanl.c (__catanl): Likewise.
20414         * math/libm-test.inc (catan_test): Add more tests.
20415         (catanh_test): Likewise.
20416         * sysdeps/i386/fpu/libm-test-ulps: Update.
20417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20418
20419 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20420
20421         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20422
20423         * benchtests/Makefile (bench): Remove slow benchmarks.
20424         * benchtests/atan-inputs: Add slow benchmark inputs.
20425         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20426         (BENCH_FUNC): Accept variant offset.
20427         (VARIANT): Define.
20428         * benchtests/bench-skeleton.c (main): Run benchmark for each
20429         variant.
20430         * benchtests/cos-inputs: Add slow benchmark inputs.
20431         * benchtests/exp-inputs: Likewise.
20432         * benchtests/pow-inputs: Likewise.
20433         * benchtests/sin-inputs: Likewise.
20434         * benchtests/slowatan-inputs: Remove.
20435         * benchtests/slowatan.c: Remove.
20436         * benchtests/slowcos-inputs: Remove.
20437         * benchtests/slowcos.c: Remove.
20438         * benchtests/slowexp-inputs: Remove.
20439         * benchtests/slowexp.c: Remove.
20440         * benchtests/slowpow-inputs: Remove.
20441         * benchtests/slowpow.c: Remove.
20442         * benchtests/slowsin-inputs: Remove.
20443         * benchtests/slowsin.c: Remove.
20444         * benchtests/slowtan-inputs: Remove.
20445         * benchtests/slowtan.c: Remove.
20446         * benchtests/tan-inputs: Add slow benchmark inputs.
20447         * scripts/bench.pl: Parse comments and directives.
20448
20449         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20450         in CPPFLAGS.
20451         ($(objpfx)bench-%.c): Remove *-ITER.
20452         * benchtests/bench-modf.c: Remove definition of ITER.
20453         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20454         (main): Loop for DURATION seconds instead of fixed number of
20455         iterations.
20456         * scripts/bench.pl: Don't expect iterations in parameters.
20457
20458 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20459
20460         * io/fchdir.c (__fchdir): Renamed from fchdir.
20461         (fchdir): Define as weak alias.
20462
20463 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20464
20465         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20466         (ERRNO_EDOM): Likewise.
20467         (ERRNO_ERANGE): Likewise.
20468         (noErrnoTests): New variable.
20469         (init_max_error): Set errno to 0.
20470         (test_single_errno): New function.
20471         (test_errno): Likewise.
20472         (check_float_internal): Call test_errno.  Set errno to 0.
20473         (check_complex): Refer to errno tests in comment.
20474         (check_int): Call test_errno.  Set errno to 0.
20475         (check_long): Likewise.
20476         (check_bool): Likewise.
20477         (check_longlong): Likewise.
20478         (cos_test): Use ERRNO_* flags for errno tests instead of
20479         check_int.
20480         (expm1_test): Likewise.
20481         (fmod_test): Likewise.
20482         (ilogb_test): Likewise.
20483         (lgamma_test): Likewise.
20484         (pow_test): Likewise.
20485         (remainder_test): Likewise.
20486         (sin_test): Likewise.
20487         (tan_test): Likewise.
20488         (yn_test): Likewise.
20489         (initialize): Set errno to 0.
20490         (main): Print number of errno tests.
20491         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20492
20493 2013-04-29  Andreas Jaeger  <aj@suse.de>
20494
20495         [BZ #15084]
20496         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20497         and RES_USEVC.
20498
20499         [BZ #15085]
20500         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20501         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20502         unimplemented.
20503
20504         [BZ #15380]
20505         * stdlib/random.c (__initstate): Return NULL if
20506         __initstate fails.
20507
20508         [BZ #15086]
20509         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20510         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20511         RES_SNGLKUPREOP.
20512
20513 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20514
20515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20516
20517 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20518
20519         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20520         of individual tests.
20521         (casin_test): Likewise.
20522         (casinh_test): Likewise.
20523
20524 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20525
20526         [BZ #15409]
20527         * math/s_catan.c (__catan): Handle arguments with large real or
20528         imaginary part separately without squaring.
20529         * math/s_catanf.c (__catanf): Likewise.
20530         * math/s_catanh.c (__catanh): Likewise.
20531         * math/s_catanhf.c (__catanhf): Likewise.
20532         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20533         and redefine.
20534         (__catanhl): Handle arguments with large real or imaginary part
20535         separately without squaring.
20536         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20537         and redefine.
20538         (__catanl): Handle arguments with large real or imaginary part
20539         separately without squaring.
20540         * math/libm-test.inc (catan_test): Add more tests.
20541         (catanh_test): Likewise.
20542         * sysdeps/i386/fpu/libm-test-ulps: Update.
20543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20544
20545 2013-04-27  Andreas Jaeger  <aj@suse.de>
20546
20547         [BZ #15007]
20548         * stdlib/stdlib.h: Update guards for qecvt.
20549         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20550         <stdlib.h>.
20551
20552 2013-04-27  Allan McRae  <allan@archlinux.org>
20553
20554         * sysdeps/i386/fpu/libm-test-ulps: Update.
20555
20556 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20557
20558         [BZ #15406]
20559         * math/s_catan.c: Include <float.h>.
20560         (__catan): Ensure underflow exception occurs for underflowed
20561         result.
20562         * math/s_catanf.c: Include <float.h>.
20563         (__catanf): Ensure underflow exception occurs for underflowed
20564         result.
20565         * math/s_catanh.c: Include <float.h>.
20566         (__catanh): Ensure underflow exception occurs for underflowed
20567         result.
20568         * math/s_catanhf.c: Include <float.h>.
20569         (__catanhf): Ensure underflow exception occurs for underflowed
20570         result.
20571         * math/s_catanhl.c: Include <float.h>.
20572         (__catanhl): Ensure underflow exception occurs for underflowed
20573         result.
20574         * math/s_catanl.c: Include <float.h>.
20575         (__catanl): Ensure underflow exception occurs for underflowed
20576         result.
20577         * math/libm-test.inc (catan_test): Add more tests.
20578         (catanh_test): Likewise.
20579
20580         [BZ #15405]
20581         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20582         underflowed result.
20583         * math/s_ccoshf.c (__ccoshf): Likewise.
20584         * math/s_ccoshl.c (__ccoshl): Likewise.
20585         * math/s_csin.c (__csin): Likewise.
20586         * math/s_csinf.c (__csinf): Likewise.
20587         * math/s_csinh.c (__csinh): Likewise.
20588         * math/s_csinhf.c (__csinhf): Likewise.
20589         * math/s_csinhl.c (__csinhl): Likewise.
20590         * math/s_csinl.c (__csinl): Likewise.
20591         * math/libm-test.inc (ccos_test): Add more tests.
20592         (ccosh_test): Likewise.
20593         (csin_test): Likewise.
20594         (csinh_test): Likewise.
20595
20596 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20597
20598         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20599         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20600         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20601         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20602         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20603         powerpc/power5+/fpu folders.
20604         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20605
20606
20607 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20608
20609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20610
20611 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20612
20613         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20614         additions to variable.
20615         [$(config-machine) = x86_64] (modules-names): Likewise.
20616         ($(objpfx)tst-audit3): Remove dependency.
20617         ($(objpfx)tst-audit3.out): Likewise.
20618         ($(objpfx)tst-audit4): Likewise.
20619         ($(objpfx)tst-audit4.out): Likewise.
20620         ($(objpfx)tst-audit5): Likewise.
20621         ($(objpfx)tst-audit5.out): Likewise.
20622         ($(objpfx)tst-audit6): Likewise.
20623         ($(objpfx)tst-audit6.out): Likewise.
20624         ($(objpfx)tst-audit7): Likewise.
20625         ($(objpfx)tst-audit7.out): Likewise.
20626         (tst-audit3-ENV): Remove variable.
20627         (tst-audit4-ENV): Likewise.
20628         (tst-audit5-ENV): Likewise.
20629         (tst-audit6-ENV): Likewise.
20630         (tst-audit7-ENV): Likewise.
20631         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20632         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20633         addition to variable.
20634         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20635         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20636         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20637         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20638         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20639         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20640         tst-audit3, tst-audit4 and tst-audit5.
20641         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20642         tst-audit6 and tst-audit7.
20643         [$(subdir) = elf] (modules-names): Add audit modules for those
20644         tests.
20645         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20646         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20647         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20648         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20649         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20650         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20651         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20652         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20653         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20654         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20655         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20656         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20657         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20658         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20659         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20660         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20661         Likewise.
20662         [$(subdir) = elf && $(config-cflags-avx) = yes]
20663         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20664         [$(subdir) = elf && $(config-cflags-avx) = yes]
20665         (CFLAGS-tst-auditmod4a.c): Likewise.
20666         [$(subdir) = elf && $(config-cflags-avx) = yes]
20667         (CFLAGS-tst-auditmod4b.c): Likewise.
20668         [$(subdir) = elf && $(config-cflags-avx) = yes]
20669         (CFLAGS-tst-auditmod6b.c): Likewise.
20670         [$(subdir) = elf && $(config-cflags-avx) = yes]
20671         (CFLAGS-tst-auditmod6c.c): Likewise.
20672         [$(subdir) = elf && $(config-cflags-avx) = yes]
20673         (CFLAGS-tst-auditmod7b.c): Likewise.
20674         * elf/tst-audit3.c: Move to ...
20675         * sysdeps/x86_64/tst-audit3.c: ... here.
20676         * elf/tst-audit4.c: Move to ...
20677         * sysdeps/x86_64/tst-audit4.c: ... here.
20678         * elf/tst-audit5.c: Move to ...
20679         * sysdeps/x86_64/tst-audit5.c: ... here.
20680         * elf/tst-audit6.c: Move to ...
20681         * sysdeps/x86_64/tst-audit6.c: ... here.
20682         * elf/tst-audit7.c: Move to ...
20683         * sysdeps/x86_64/tst-audit7.c: ... here.
20684         * elf/tst-auditmod3a.c: Move to ...
20685         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20686         * elf/tst-auditmod3b.c: Move to ...
20687         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20688         * elf/tst-auditmod4a.c: Move to ...
20689         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20690         * elf/tst-auditmod4b.c: Move to ...
20691         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20692         * elf/tst-auditmod5a.c: Move to ...
20693         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20694         * elf/tst-auditmod5b.c: Move to ...
20695         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20696         * elf/tst-auditmod6a.c: Move to ...
20697         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20698         * elf/tst-auditmod6b.c: Move to ...
20699         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20700         * elf/tst-auditmod6c.c: Move to ...
20701         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20702         * elf/tst-auditmod7a.c: Move to ...
20703         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20704         * elf/tst-auditmod7b.c: Move to ...
20705         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20706
20707 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20708
20709         [BZ #15366]
20710         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20711         define unconditionally.
20712         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20713         define unconditionally.
20714         (INT8_C, INT16_C, etc.): Likewise.
20715
20716 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20717
20718         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20719         __ehdr_start with hidden visibility.
20720
20721         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20722
20723 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20724
20725         * math/libm-test.inc (cos_test): Use accurate hex constants.
20726         (sincost_test): Likewise.
20727
20728 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20729
20730         * math/libm-test.inc (catan_test): Add more tests.
20731         (catanh_test): Likewise.
20732
20733         * math/s_catanf.c (__catanf): Use suffixed floating-point
20734         constants.
20735         * math/s_catanhf.c (__catanhf): Likewise.
20736         * math/s_catanhl.c (__catanhl): Likewise.
20737         * math/s_catanl.c (__catanl): Likewise.
20738
20739         [BZ #15394]
20740         * math/s_catan.c (__catan): Calculate imaginary part of result
20741         with log1p not log unless computing log of number close to 0.
20742         * math/s_catanf.c (__catanf): Likewise.
20743         * math/s_catanl.c (__catanl): Likewise.
20744         * math/s_catanh.c (__catanh): Calculate real part of result with
20745         log1p not log unless computing log of number close to 0.
20746         * math/s_catanhf.c (__catanhf): Likewise.
20747         * math/s_catanhl.c (__catanhl): Likewise.
20748         * math/libm-test.inc (catan_test): Add more tests.
20749         (catanh_test): Likewise.
20750         * sysdeps/i386/fpu/libm-test-ulps: Update.
20751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20752
20753 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20754
20755         * benchtests/Makefile: Mention files in which fast and slow
20756         paths of math functions are implemented.
20757
20758 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20759
20760         * sysdeps/posix/timespec_get.c: New file.
20761
20762 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20763
20764         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20765         POWER.
20766         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20767         for POWER.
20768         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20769         powerpc/power5/fpu folders.
20770         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20771         * benchtests/Makefile: Add modf testcase.
20772         * benchtests/bench-modf.c: New file: Benchmark test for mo
20773
20774 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20775
20776         [BZ #14888]
20777         * time/Makefile (tests): Add tst-strptime-whitespace.
20778         * time/strptime_l.c (get_number): Use ISSPACE.
20779         (__strptime_internal): Likewise.
20780         * time/tst-strptime-whitespace.c: New test case.
20781
20782 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20783
20784         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20785         member.
20786         (_nss_files_init): Set it here.
20787
20788 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20789
20790         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20791         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20792         unsigned.
20793
20794 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20795
20796         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20797
20798 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20799
20800         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20801         size just once.
20802
20803 2013-04-21  David S. Miller  <davem@davemloft.net>
20804
20805         * po/ru.po: Update Russion translation from translation project.
20806
20807 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20808
20809         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20810         and setfsgid.
20811
20812 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20813
20814         * configure.in: Remove i386 configure warning. Remove i386 case.
20815         * configure: Regenerate.
20816         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20817         Add example to error message.
20818         * sysdeps/i386/configure: Regenerate.
20819
20820 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20821
20822         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20823         slowtan.
20824         * benchtests/cos-inputs: New file.
20825         * benchtests/slowcos-inputs: New file.
20826         * benchtests/slowcos.c: New file.
20827         * benchtests/slowtan-inputs: New file.
20828         * benchtests/slowtan.c: New file.
20829         * benchtests/tan-inputs: New file.
20830
20831 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20832
20833         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20834         considered kosher.
20835
20836 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20837
20838         * benchtests/Makefile: Include cppflags-iterator.mk to add
20839         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20840
20841         * Makefile.in (bench-clean): New target.
20842         * benchtests/Makefile (bench-clean): Likewise.
20843
20844 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20845
20846         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20847
20848 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20849
20850         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20851
20852 2013-04-15  Andreas Schwab  <schwab@suse.de>
20853
20854         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20855         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20856         * nscd/pwdcache.c (cache_addpw): Likewise.
20857         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20858         more than recsize.
20859
20860 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20861
20862         * benchtests/Makefile (bench): Write all output to
20863         bench-out.tmp together.
20864
20865 2013-04-15  Andreas Schwab  <schwab@suse.de>
20866
20867         * nscd/nscd.c (main): Don't fork again after closing files.
20868
20869 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20870
20871         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20872
20873         * benchtests/Rules (bench-deps): Collect dependencies into a
20874         single variable.  Add Makefile to dependencies.
20875         ($(objpfx)bench-%.c): Depend on bench-deps.
20876
20877 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20878             Xavier Roche  <roche+kml2@exalead.com>
20879
20880         [BZ #15361]
20881         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20882         just that it's a file descriptor.
20883         * manual/llio.texi (Synchronizing AIO Operations): Update description
20884         for EBADF error from aio_fsync.
20885
20886 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20887
20888         * Rules (bench): Move target definition...
20889         * benchtests/Makefile: ... here.
20890
20891 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20892
20893         * math/libm-test.inc (cos_test): Fix PI/2 test.
20894         (sincos_test): Likewise.
20895         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20896         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20897
20898 2013-04-11  Andreas Schwab  <schwab@suse.de>
20899
20900         [BZ #13988]
20901         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20902         accept exponent character only when digits were seen.
20903         * stdio-common/Makefile (tests): Add bug26.
20904         * stdio-common/bug26.c: New file.
20905
20906         [BZ #14293]
20907         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20908         non-freeable.
20909
20910 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20911
20912         * Makeconfig (rtld-prefix): Define built linker prefix.
20913         * Rules (run-bench): Use it.
20914         * math/Makefile (run-regen-ulps): Likewise.
20915
20916         * Rules (bench): Remove eval.
20917
20918 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20919             Roland McGrath  <roland@hack.frob.com>
20920             Ondrej Bilka  <neleai@seznam.cz>
20921
20922         [BZ #15346]
20923         * time/getdate.c: Include ctype.h and alloca.h.
20924         (__getdate_r): Trim leading and trailing spaces of input.
20925         * time/tst-getdate.c (tests): Add tests with leading and
20926         trailing spaces.
20927
20928 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20929
20930         [BZ #14280]
20931         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20932         when computing value.
20933
20934 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20935
20936         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20937         Use testrun.sh to run libm tests.
20938
20939         [BZ #15309]
20940         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20941
20942 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20943
20944         [BZ #15264]
20945         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20946
20947 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20948
20949         * Makefile.in (regen-ulps): New target.
20950         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20951         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20952         [ifneq (no,$(PERL)] (regen-ulps): New target.
20953         [ifeq (no,$(PERL)] (regen-ulps): New target.
20954         * math/libm-test.inc (ulps_file_name): Define.
20955         (output_dir): New variable.
20956         (options): Add "output-dir" option.
20957         (parse_opt): Handle 'o' case.
20958         (main): If output_dir is non-NULL use it as a prefix
20959         otherwise use "".
20960         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20961
20962 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20963
20964         [BZ #10060, #10062]
20965         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20966         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20967         fail configure if __sync_val_compare_and_swap is not inlined.
20968         * sysdeps/i386/configure: Regenerate.
20969         * configure.in: Build for i686 when configured for i386.
20970         * configure: Regenerate.
20971         * README: Remove i386 reference.
20972
20973 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20974
20975         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20976         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20977
20978 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20979
20980         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20981         (lmsnanval): New variables.
20982         (F): Add conversion tests.
20983         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20984         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20985
20986         * stdio-common/tstdiomisc.c (F): Properly collect individual
20987         tests' results.
20988
20989         [BZ #14686, #15336]
20990         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20991         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20992         Instead, use input NaN values or generate a qNaN by arithmetic
20993         operation.  Also fix bugs to comply with the standard.
20994         * math/libm-test.inc (remainder_test): Add more tests.
20995
20996         [BZ #15335, #15342]
20997         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20999         input NaN values or generate a qNaN by arithmetic operation.
21000
21001         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21002         unreachable code.
21003
21004         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21005         definitions.
21006
21007 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21008
21009         [BZ #14478]
21010         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21011         underflowed result.
21012         * math/s_cexpf.c (__cexpf): Likewise.
21013         * math/s_cexpl.c (__cexpl): Likewise.
21014         * math/libm-test.inc (cexp_test): Add more tests.
21015
21016 2013-04-03  Andreas Schwab  <schwab@suse.de>
21017
21018         [BZ #15330]
21019         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21020         order arrays from heap if bigger than alloca cutoff.
21021
21022 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21023
21024         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21025         (SNAN_TESTS_double): Refer to GCC PR56831.
21026         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21027         GCC PR56828.
21028
21029 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21030
21031         * Rules (bench): Move bench.out after the run is complete.
21032
21033         * Rules (bench): Echo currently running benchmark.
21034
21035         * benchtests/Makefile (bench): Add atan and slowatan.
21036         * benchtests/atan-inputs: New file.
21037         * benchtests/slowatan-inputs: New file.
21038         * benchtests/slowatan.c: New file.
21039
21040         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21042         its value.
21043
21044         [BZ #15305]
21045         * sysdeps/unix/sysv/linux/kernel-features.h
21046         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21047         __ASSUME_XFS_RESTRICTED_CHOWN.
21048         * sysdeps/unix/sysv/linux/pathconf.c
21049         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21050         Save and restore errno.
21051
21052 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21053
21054         [BZ #15327]
21055         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21056         arguments using __kernel_casinh.
21057         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21058         arguments using __kernel_casinhf.
21059         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21060         arguments using __kernel_casinhl.
21061         * math/libm-test.inc (cacosh_test): Add more tests.
21062         * sysdeps/i386/fpu/libm-test-ulps: Update.
21063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21064
21065 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21066
21067         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21069
21070         * bench/Makefile (bench): Add sin and slowsin.
21071         * benchtests/sin-inputs: New file.
21072         * benchtests/slowsin-inputs: New file.
21073         * benchtests/slowsin.c: New file.
21074
21075         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21076         (bench): Add slowexp and slowpow.
21077         (exp-ITER): Increase iterations.
21078         (pow-ITER): Likewise.
21079         * benchtests/exp-inputs: Change input.
21080         * benchtests/pow-inputs: Likewise.
21081         * benchtests/slowexp-inputs: New file.
21082         * benchtests/slowexp.c: New file.
21083         * benchtests/slowpow-inputs: New file.
21084         * benchtests/slowpow.c: New file.
21085
21086 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21087
21088         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21089         instructions.
21090         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21091         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21092         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21093         * benchtests/Makefile: Add rint benchtest.
21094         * benchtests/rint-inputs: Input for rint benchtest.
21095
21096 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21097
21098         * Versions.def (libm): Add GLIBC_2.18.
21099         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21100         hidden libm prototypes.
21101         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21102         * math/Makefile (libm-calls): Add s_issignaling.
21103         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21104         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21105         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21106         declaration.
21107         * math/math.h [__USE_GNU] (issignaling): New macro.
21108         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21109         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21110         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21111         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21112         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21113         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21114         * manual/arith.texi (issignaling): New section.
21115         * manual/libm-err-tab.pl (@all_functions): Update comment.
21116         * math/gen-libm-test.pl (parse_args): Apply special handling for
21117         issignaling.
21118         * math/libm-test.inc (print_float, issignaling_test): New
21119         functions.
21120         (check_float_internal): Add issignaling checks.
21121         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21122         default definition.
21123         * sysdeps/powerpc/math-tests.h: New file.
21124         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21125         tests.
21126         * math/test-snan.c (TEST_FUNC): Likewise.
21127
21128 2013-03-30  David S. Miller  <davem@davemloft.net>
21129
21130         * po/de.po: Update from translation team.
21131
21132 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21133
21134         [BZ #10357]
21135         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21136         imaginary part less than 1.0 and real part less than 0.5
21137         specially.
21138         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21139         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21140         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21141         (cacos_test): Add more tests.
21142         (casin_test): Likewise.
21143         (casinh_test): Likewise.
21144         * sysdeps/i386/fpu/libm-test-ulps: Update.
21145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21146
21147 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21148
21149         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21150         ONE with its value.
21151
21152         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21153         (__pow_mp): Replace ONE and MONE with their values.
21154         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21155         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21156         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21157         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21158         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21159         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21160
21161         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21162
21163         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21164         (__pow_mp): Replace ZERO and MZERO with their values.
21165         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21166         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21167         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21169         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21170         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21171         (__sqr): Likewise.
21172
21173         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21174
21175         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21176
21177 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21178
21179         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21180         Declare with __attribute__ ((weak)).
21181         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21182         Call __call_tls_dtors only if it's not NULL.
21183
21184 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21185
21186         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21187         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21188         magic __ehdr_start linker symbol if it's defined.
21189         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21190         them up here if it was already done.
21191
21192         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21193         (_dl_aux_init): Use const in cast when setting it.
21194         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21195         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21196         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21197
21198         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21199         Declare them here.
21200         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21201         * csu/libc-tls.c: Nor here.
21202         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21203
21204         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21205         (__libc_message): Never call vsyslog.
21206
21207 2013-03-28  Alan Modra  <amodra@gmail.com>
21208
21209         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21210         Define as empty.
21211         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21212         Likewise.
21213
21214 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21215
21216         [BZ #15214]
21217         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21218         underflow.
21219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21220
21221 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21222
21223         [BZ #15304]
21224         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21225         Don't add gid passed as argument.
21226
21227         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21228
21229 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21230
21231         [BZ #15307]
21232         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21233         imaginary part between 1.0 and 1.5 and real part less than 0.5
21234         specially.
21235         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21236         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21237         * math/libm-test.inc (cacos_test): Add more tests.
21238         (casin_test): Likewise.
21239         (casinh_test): Likewise.
21240         * sysdeps/i386/fpu/libm-test-ulps: Update.
21241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21242
21243 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21244
21245         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21246         constants.
21247         (norm): Likewise.
21248         (denorm): Likewise.
21249         (__dbl_mp): Likewise.
21250         (add_magnitudes): Likewise.
21251         (sub_magnitudes): Likewise.
21252         (__add): Likewise.
21253         (__sub): Likewise.
21254         (__mul): Likewise.
21255         (__sqr): Likewise.
21256         (__inv): Likewise.
21257         (__dvd): Likewise.
21258
21259         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21260         commented code.
21261         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21262         (__dubcos): Likewise.
21263         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21264         (__ieee754_acos): Likewise.
21265         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21266         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21267         (__exp1): Likewise.
21268         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21269         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21270         (log1): Likewise.
21271         (my_log2): Likewise.
21272         (checkint): Likewise.
21273         * sysdeps/ieee754/dbl-64/e_remainder.c
21274         (__ieee754_remainder): Likewise.
21275         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21276         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21277         (bsloww): Likewise.
21278         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21279
21280         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21281         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21282         MANTISSA_STORE_T to store computations on mantissa.  Use
21283         macros for rounding and division.
21284         (denorm): Likewise.
21285         (__dbl_mp): Likewise.
21286         (add_magnitudes): Likewise.
21287         (sub_magnitudes): Likewise.
21288         (__mul): Likewise.
21289         (__sqr): Likewise.
21290         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21291         powers of two in terms of TWOPOW macro.
21292         (mp_no): Make type of mantissa as MANTISSA_T.
21293         [!RADIXI]: Define RADIXI.
21294         [!TWO52]: Define TWO52.
21295         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21296
21297 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21298
21299         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21300         llroundl symbol when building for PPC32.
21301
21302 2013-03-24  Mark H Weaver  <mhw@netris.org>
21303
21304         * manual/arith.texi (Normalization Functions): Fix prototypes for
21305         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21306
21307 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21308
21309         [BZ #13889]
21310         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21311         high value to check if expl overflow.
21312         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21313         to check for underflow and overflow.
21314         * math/libm-test.inc: Add exp test.
21315
21316 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21317
21318         [BZ #11120]
21319         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21320         with NOT_IN_libc.
21321
21322 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21323
21324         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21325         symbol.
21326
21327 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21328
21329         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21330         wrap blocks consisting of several statements.
21331
21332         * sysdeps/generic/math-tests.h: New file.
21333         * sysdeps/i386/fpu/math-tests.h: Likewise.
21334         * math/test-snan.c: Include it.
21335         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21336
21337 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21338
21339         [BZ #15285]
21340         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21341         (__ieee754_j0l): Do not improve calculations using cos of twice
21342         input for inputs above LDBL_MAX / 2.0L.
21343         (__ieee754_y0l): Likewise.
21344         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21345         (__ieee754_j1l): Do not improve calculations using cos of twice
21346         input for inputs above LDBL_MAX / 2.0L.
21347         (__ieee754_y1l): Likewise.
21348         * math/libm-test.inc (j0_test): Add another test.
21349         (j1_test): Likewise.
21350         (y0_test): Likewise.
21351         (y1_test): Likewise.
21352         * sysdeps/i386/fpu/libm-test-ulps: Update.
21353
21354 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21355
21356         * Rules ($(objpfx)bench-%.c): Include code from a C source
21357         file.
21358
21359 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21360
21361         [BZ #15287]
21362         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21363         imaginary part 1.0 and real part less than 0.5 specially.
21364         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21365         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21366         * math/libm-test.inc (cacos_test): Add more tests.
21367         (casin_test): Likewise.
21368         (casinh_test): Likewise.
21369         * sysdeps/i386/fpu/libm-test-ulps: Update.
21370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21371
21372 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21373
21374         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21375         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21376
21377 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21378
21379         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21380         * config.make.in (config-cflags-sse4): Remove variable.
21381         (config-cflags-avx): Likewise.
21382         (config-cflags-sse2avx): Likewise.
21383         (config-cflags-novzeroupper): Likewise.
21384         (config-asflags-i686): Likewise.
21385         (have-mfma4): Likewise.
21386         (have-as-vis3): Likewise.
21387         (MIG): Likewise.
21388         * configure.in (MIG): Do not AC_SUBST.
21389         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21390         (libc_cv_cc_sse4): Do not AC_SUBST.
21391         (libc_cv_cc_avx): Likewise.
21392         (libc_cv_cc_sse2avx): Likewise.
21393         (libc_cv_cc_novzeroupper): Likewise.
21394         (libc_cv_cc_fma4): Likewise.
21395         (libc_cv_as_i686): Likewise.
21396         (libc_cv_sparc_as_vis3): Likewise.
21397         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21398         LIBC_CONFIG_VAR.
21399         (config-asflags-i686): Likewise.
21400         (config-cflags-avx): Likewise.
21401         (config-cflags-sse2avx): Likewise.
21402         (have-mfma4): Likewise.
21403         (config-cflags-novzeroupper): Likewise.
21404         * sysdeps/mach/configure.in (MIG): Likewise.
21405         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21406         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21407         LIBC_CONFIG_VAR.
21408         (config-cflags-avx): Likewise.
21409         (config-cflags-sse2avx): Likewise.
21410         (have-mfma4): Likewise.
21411         (config-cflags-novzeroupper): Likewise.
21412         * configure: Regenerated.
21413         * sysdeps/i386/configure: Likewise.
21414         * sysdeps/mach/configure: Likewise.
21415         * sysdeps/sparc/configure: Likewise.
21416         * sysdeps/x86_64/configure: Likewise.
21417
21418 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21419
21420         [BZ #14812]
21421         * locale/programs/localedef.c (options): Put N_ translation marker
21422         on argument names, not just descriptions.
21423
21424 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21425
21426         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21427
21428 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21429
21430         [BZ #14176]
21431         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21432
21433 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21434
21435         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21436         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21437         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21438         [!BEFORE_ABORT] (before_abort): New function.
21439         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21440         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21441         (writev_for_fatal): New function.
21442         (WRITEV_FOR_FATAL): New macro; call that.
21443         (backtrace_and_maps): New function.
21444         (BEFORE_ABORT): New macro; call that.
21445         (struct str_list): Type removed.
21446         (__libc_message, __libc_fatal): Functions removed.
21447         Include <sysdeps/posix/libc_fatal.c> instead.
21448
21449 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21450
21451         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21452         constants.
21453         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21454         double constants.
21455
21456 2013-03-19  Andreas Schwab  <schwab@suse.de>
21457
21458         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21459         * sysdeps/gnu/configure: Regenerate.
21460
21461         * configure.in: Substitute libc_cv_rtlddir.
21462         * configure: Regenerate.
21463         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21464         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21465         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21466         * elf/Makefile (install-others, CFLAGS-interp.c)
21467         (ldso_install, common-ldd-rewrite): Likewise.
21468         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21469         $(inst_slibdir)/$(rtld-installed-name).
21470         * scripts/rellns-sh: Add -p option.
21471         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21472         for source.
21473
21474 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21475
21476         * manual/nptl.texi: Renamed to ...
21477         * manual/threads.texi: ... this.
21478         * manual/Makefile (chapters): Update.
21479
21480 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21481
21482         [BZ #14812]
21483         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21484         on argument names, not just descriptions.
21485         * malloc/memusagestat.c (options): Likewise.
21486         * nss/getent.c (options): Likewise.
21487
21488 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21489
21490         [BZ #14812]
21491         * iconv/iconv_prog.c (options): Put N_ translation marker
21492         on argument names, not just descriptions.
21493         * iconv/iconvconfig.c (options): Likewise.
21494
21495 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21496
21497         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21498         implementation which is faster on all x86_64 architectures.
21499         Tested on AMD, Intel Nehalem, SNB, IVB.
21500         * sysdeps/x86_64/strnlen.S: Likewise.
21501
21502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21503         Remove all multiarch strlen and strnlen versions.
21504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21505         Remove strlen and strnlen related parts.
21506
21507         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21508         Inline strlen part.
21509         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21510
21511         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21512         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21513         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21514         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21515         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21516         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21517
21518 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21519
21520         * manual/memory.texi (Malloc Tunable Parameters):
21521         Sort parameters alphabetically. Add comments for missing entries.
21522
21523 2013-03-17  David S. Miller  <davem@davemloft.net>
21524
21525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21526
21527 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21528
21529         [BZ #15283]
21530         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21531         for arguments at most half maximum finite value.
21532         * math/libm-test.inc (j0_test): Add more tests.
21533         (j1_test): Likewise.
21534         (y0_test): Likewise.
21535         (y1_test): Likewise.
21536         * sysdeps/i386/fpu/libm-test-ulps: Update.
21537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21538
21539         [BZ #14155]
21540         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21541         1 / x and functions P and Q for arguments above 0x1p256L.
21542         (__ieee754_y0l): Likewise.
21543         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21544         (__ieee754_y1l): Likewise.
21545         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21546         (j1_test): Likewise.
21547         (y0_test): Likewise.
21548         (y1_test): Likewise.
21549
21550 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21551
21552         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21553         variable.
21554
21555 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21556
21557         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21558         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21559         zero since it's initialized to EXEC_PAGESIZE.
21560
21561         * sysdeps/unix/sysv/linux/ldsodefs.h
21562         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21563         * sysdeps/generic/ldsodefs.h: ... here.
21564
21565 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21566
21567         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21568
21569         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21570         math/test-snan.c.
21571         * math/test-snan.c: Renamed from
21572         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21573         * math/Makefile (tests): Add test-snan.
21574         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21575         test-powerpc-snan.
21576
21577         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21578         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21579         functions.
21580         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21581         __builtin_nan family of functions.
21582         * math/libm-test.inc (initialize): Initialize qnan_value with
21583         __builtin_nan family of functions.
21584         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21585         Remove variables.
21586         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21587         Remove functions.
21588         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21589         storage class.  Initialize qNaN_var and sNaN_var with
21590         __builtin_nan and __builtin_nans families of functions,
21591         respectively.
21592
21593         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21594         (sqrt_test): Remove duplicate test with qNaN input.
21595         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21596         (round_test, signbit_test, significand_test): Note missing +/-Inf
21597         as well as qNaN tests.
21598
21599         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21600         qNaN_var.  Fix a few strings, too.
21601         * math/libm-test.inc (nan_value): Rename to qnan_value.
21602         * math/gen-libm-test.pl (%beautify): Adjust to that.
21603         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21604         * math/test-misc.c (main): Likewise.
21605         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21606         to __qnan_bytes, and __qnan_union, respectively.
21607         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21608         Likewise.
21609         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21610         and lqnanval, respectively.
21611         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21612         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21613         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21614         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21615
21616         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21617         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21618         doubles.
21619
21620         * math/test-misc.c (main): Fix copy'n'pastos.
21621         * misc/tst-efgcvt.c (special): Likewise.
21622
21623         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21624         Remove declarations.
21625
21626 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21627
21628         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21629         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21630         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21631         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21632
21633 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21634
21635         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21636         macro to return vdso values correctly in IFUNC implementations.
21637         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21638         Optimization by using IFUNC.
21639
21640 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21641             Richard Henderson  <rth@redhat.com>
21642             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21643
21644         * Makefile.in (bench): New target.
21645         * NEWS: Mention the benchmark framework.
21646         * Rules (bench): Likewise.
21647         (binaries-bench): Generate binaries for functions to
21648         benchmark.
21649         * benchtests/Makefile: New makefile for benchmark tests.
21650         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21651         programs.
21652         * benchtests/exp-inputs: New input file for EXP function.
21653         * benchtests/pow-inputs: New input file for POW function.
21654         * scripts/bench.pl: New script to generate source files for
21655         benchmark programs.
21656
21657 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21658
21659         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21660         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21661         computations on mantissa.  Use macros for rounding and
21662         division.
21663         (denorm): Likewise.
21664         (__dbl_mp): Likewise.
21665         (add_magnitudes): Likewise.
21666         (sub_magnitudes): Likewise.
21667         (__mul): Likewise.
21668         (__sqr): Likewise.
21669         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21670         powers of two in terms of TWOPOW macro.
21671         (mp_no): Make type of mantissa as MANTISSA_T.
21672         [!RADIXI]: Define RADIXI.
21673         [!TWO52]: Define TWO52.
21674         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21675
21676         * manual/nptl.texi (cindex): Modify threads to pthreads.
21677
21678 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21679
21680         * sysdeps/x86_64/preconfigure: Regenerated.
21681
21682 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21683
21684         [BZ #14155]
21685         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21686         0x1p28 and above.
21687         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21688         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21689         0x1p28 and above.
21690         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21691         * math/libm-test.inc (j0_test): Do not allow one spurious
21692         underflow exception.
21693         (y1_test): Likewise.
21694
21695 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21696
21697         * manual/Makefile (chapters): Add nptl.
21698         * manual/debug.texi (Debugging Support): Add link to Threads
21699         chapter.
21700         * manual/nptl.texi: New file.
21701
21702         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21703
21704 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21705
21706         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21707         for non-NULL pointer before the memory validity test. Pointed
21708         out by Holger Brunck <holger.brunck@keymile.com>.
21709
21710 2013-03-13  Andreas Schwab  <schwab@suse.de>
21711
21712         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21713         instead of .os.
21714
21715 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21716
21717         * timezone/zic.c: Update from tzcode 2013b.
21718
21719 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21720
21721         * manual/install.texi (Configuring and compiling):
21722         Mention i686 and i586.
21723         * INSTALL: Regenerate.
21724
21725 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21726
21727         * sysdeps/init_array/elf-init.c: New file.
21728         * csu/elf-init.c
21729         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21730         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21731
21732         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21733         __gmon_start__ as global, but as static with a .preinit_array pointer.
21734         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21735         * sysdeps/init_array/crti.S: New file, empty except for comments.
21736         * sysdeps/init_array/crtn.S: Likewise.
21737
21738 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21739
21740         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21741         definining bcopy.
21742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21743         Remove Prefer_SSE_for_memop.
21744         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21745         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21746         HAS_PREFER_SSE_FOR_MEMOP.
21747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21748         memset-x86-64.
21749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21750         Remove bzero, memset ifunc support.
21751         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21752         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21753         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21754         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21755
21756 2013-03-11  Andreas Schwab  <schwab@suse.de>
21757
21758         [BZ #15234]
21759         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21760         by SHLIB_COMPAT.
21761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21762         (GLIBC_2.16): Remove pthread_atfork.
21763
21764 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21765
21766         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21767         (ptestcases.h): Likewise.
21768
21769 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21770
21771         * Makeconfig ($(common-objpfx)config.status): Depend on
21772         sysdeps/*/preconfigure{,.in} too.
21773
21774 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21775
21776         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21777         (__free_hook): Use void * instead of __malloc_ptr_t.
21778         (__malloc_hook): Likewise.
21779         (__realloc_hook): Likewise.
21780         (__memalign_hook): Likewise.
21781         (__after_morecore_hook): Likewise.
21782         * malloc/arena.c (save_malloc_hook): Likewise.
21783         (save_free_hook): Likewise.
21784         * malloc/hooks.c (malloc_hook_ini): Likewise.
21785         (realloc_hook_ini): Likewise.
21786         (memalign_hook_ini): Likewise.
21787         * malloc/malloc.c (malloc_hook_ini): Likewise.
21788         (realloc_hook_ini): Likewise.
21789         (memalign_hook_ini): Likewise.
21790         (__free_hook): Likewise.
21791         (__malloc_hook): Likewise.
21792         (__realloc_hook): Likewise.
21793         (__memalign_hook): Likewise.
21794         (__libc_malloc): Likewise.
21795         (__libc_free): Likewise.
21796         (__libc_realloc): Likewise.
21797         (__libc_memalign): Likewise.
21798         (__libc_valloc): Likewise.
21799         (__libc_pvalloc): Likewise.
21800         (__libc_calloc): Likewise.
21801         (__posix_memalign): Likewise.
21802         * malloc/morecore.c (__sbrk): Likewise.
21803         (__default_morecore): Likewise.
21804
21805         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21806
21807         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21808         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21809         __malloc_ptrdiff_t.
21810
21811         * malloc/malloc.h (__malloc_size_t): Remove macro.
21812         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21813         __malloc_size_t.
21814         (old_memalign_hook): Likewise.
21815         (old_realloc_hook): Likewise.
21816         (struct hdr): Likewise.
21817         (flood): Likewise.
21818         (mallochook): Likewise.
21819         (memalignhook): Likewise.
21820         (reallochook): Likewise.
21821         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21822         (tr_old_realloc_hook): Likewise.
21823         (tr_old_memalign_hook): Likewise.
21824         (tr_mallochook): Likewise.
21825         (tr_reallochook): Likewise.
21826         (tr_memalignhook): Likewise.
21827
21828 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21829
21830         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21831         default_ldbl_pack and using as default implementation.
21832         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21833         implementation.
21834         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21835         redundant definition.
21836         (ldbl_insert_mantissa): Likewise.
21837         (ldbl_canonicalize): Likewise.
21838         (ldbl_nearbyint): Likewise.
21839         (ldbl_pack): Rename to ldbl_pack_ppc.
21840         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21841         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21842         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21843
21844 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21845
21846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21847         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21848         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21849         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21851         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21852         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21853         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21854
21855 2013-03-07  Andreas Jaeger  <aj@suse.de>
21856
21857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21858         bits/mman-linux.h.
21859
21860 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21861
21862         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21863         Include mpa.h and declare __MPEXP.
21864         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21865         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21866         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21867         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21868         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21869         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21870         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21871
21872         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21873         (__slowpow): Use long double EXPL and LOGL functions to
21874         compute POW.
21875         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21876         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21877         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21878         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21879         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21880         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21881
21882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21883         intermediate variable to calculate exponent.
21884         (__sqr): Likewise.
21885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21886         Likewise.
21887         (__sqr): Likewise.
21888
21889         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21890         [!NO__SQR]: Define __sqr.
21891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21892         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21893         sysdeps/ieee754/dbl-64/mpa.c.
21894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21895
21896         [BZ #12723]
21897         * posix/Makefile (tests): Add tst-pathconf.
21898         * posix/tst-pathconf.c: New test case.
21899         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21900         _PC_PIPE_BUF.
21901         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21902
21903 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21904
21905         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21906
21907 2013-03-06  Andreas Jaeger  <aj@suse.de>
21908
21909         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21910         definition via __MAP_ANONYMOUS.
21911
21912         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21913         it's not part of Linux headers.
21914
21915         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21916         (MAP_HUGE_MASK): Define.
21917
21918         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21919         Define.
21920         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21921         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21922         Define.
21923         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21924         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21925         Define.
21926         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21927         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21928         Define.
21929         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21930
21931         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21932         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21933         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21934         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21935         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21936         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21937
21938         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21939         Handle f2fs.
21940
21941         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21942         Handle f2fs and efivarfs.
21943
21944         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21945         f2fs.
21946
21947         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21948         (EFIVARFS_MAGIC): Add.
21949         (F2FS_LINK_MAX): Add.
21950
21951 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21952
21953         * stdio-common/vfprintf.c: Replace __builtin_expect with
21954         __glibc_unlikely.
21955
21956 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21957
21958         [BZ #13550]
21959         * sysdeps/generic/bp-sym.h: Remove file.
21960         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21961         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21962         <bp-sym.h> and <bp-asm.h>.
21963         (__longjmp): Don't use BP_SYM.
21964         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21965         and <bp-asm.h>.
21966         (memcpy): Don't use BP_SYM.
21967         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21968         <bp-sym.h> and <bp-asm.h>.
21969         (memcpy): Don't use BP_SYM.
21970         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21971         <bp-asm.h>.
21972         (memcpy): Don't use BP_SYM.
21973         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21974         <bp-asm.h>.
21975         (memset): Don't use BP_SYM.
21976         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21977         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21978         (__bzero): Don't use BP_SYM.
21979         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21980         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21981         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21982         <bp-sym.h> and <bp-asm.h>.
21983         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21984         pointers.
21985         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21986         <bp-sym.h> and <bp-asm.h>.
21987         (memcpy): Don't use BP_SYM.
21988         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21989         <bp-sym.h> and <bp-asm.h>.
21990         (memset): Don't use BP_SYM.
21991         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21992         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21993         (__bzero): Don't use BP_SYM.
21994         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21995         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21996         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21997         <bp-sym.h> and <bp-asm.h>.
21998         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21999         pointers.
22000         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22001         <bp-sym.h> and <bp-asm.h>.
22002         (memcpy): Don't use BP_SYM.
22003         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22004         <bp-sym.h> and <bp-asm.h>.
22005         (memset): Don't use BP_SYM.
22006         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22007         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22008         (__bzero): Don't use BP_SYM.
22009         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22010         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22011         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22012         <bp-sym.h> and <bp-asm.h>.
22013         (__memchr): Don't use BP_SYM.
22014         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22015         <bp-sym.h> and <bp-asm.h>.
22016         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22017         pointers.
22018         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22019         <bp-sym.h> and <bp-asm.h>.
22020         (memcpy): Don't use BP_SYM.
22021         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22022         <bp-sym.h> and <bp-asm.h>.
22023         (__mempcpy): Don't use BP_SYM.
22024         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22025         <bp-sym.h> and <bp-asm.h>.
22026         (__memrchr): Don't use BP_SYM.
22027         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22028         <bp-sym.h> and <bp-asm.h>.
22029         (memset): Don't use BP_SYM.
22030         (__bzero): Likewise.
22031         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22032         <bp-sym.h> and <bp-asm.h>.
22033         (__rawmemchr): Don't use BP_SYM.
22034         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22035         <bp-sym.h> and <bp-asm.h>.
22036         (__STRCMP): Don't use BP_SYM.
22037         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22038         <bp-sym.h> and <bp-asm.h>.
22039         (strchr): Don't use BP_SYM.
22040         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22041         <bp-sym.h> and <bp-asm.h>.
22042         (__strchrnul): Don't use BP_SYM.
22043         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22044         <bp-sym.h> and <bp-asm.h>.
22045         (strlen): Don't use BP_SYM.
22046         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22047         <bp-sym.h> and <bp-asm.h>.
22048         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22049         pointers.
22050         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22051         <bp-sym.h> and <bp-asm.h>.
22052         (__strnlen): Don't use BP_SYM.
22053         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22054         <bp-sym.h> and <bp-asm.h>.
22055         (__GI__setjmp): Don't use BP_SYM.
22056         (_setjmp): Likewise.
22057         (__sigsetjmp): Likewise.
22058         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22059         (L(start_addresses)): Don't use BP_SYM.
22060         (_start): Likewise.
22061         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22062         <bp-asm.h>.
22063         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22064         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22065         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22066         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22067         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22068         <bp-asm.h>.
22069         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22070         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22071         about bounded pointers.
22072         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22073         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22074         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22075         <bp-asm.h>.
22076         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22077         about bounded pointers.  Remove GKM FIXME comments.
22078         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22079         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22080         <bp-asm.h>.
22081         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22082         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22083         Remove GKM FIXME comments.
22084         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22085         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22086         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22087         <bp-asm.h>.
22088         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22089         about bounded pointers.  Remove GKM FIXME comment.
22090         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22091         and <bp-asm.h>.
22092         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22093         pointers.
22094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22095         <bp-sym.h> and <bp-asm.h>.
22096         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22098         <bp-sym.h> and <bp-asm.h>.
22099         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22100         comment.
22101
22102 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22103
22104         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22105         call free(NULL).
22106
22107 2013-03-05  David S. Miller  <davem@davemloft.net>
22108
22109         * po/es.po: Update from translation team.
22110
22111 2013-03-05  Andreas Jaeger  <aj@suse.de>
22112
22113         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22114         <bits/mman-linux.h>.
22115         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22116         is fine.
22117         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22118         <bits/mman-linux.h> to end of file.
22119         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22120         is fine.
22121         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22122         <bits/mman-linux.h> to end of file.
22123         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22124         is fine.
22125         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22126         <bits/mman-linux.h> to end of file.
22127
22128         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22129         (MCL_CURRENT, MCL_FUTURE): Define here.
22130
22131 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22132
22133         [BZ #15232]
22134         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22135         attribute_hidden.
22136         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22137
22138 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22139
22140         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22141         fourth parameter needed for rt_sigprocmask syscall.
22142         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22143         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22144         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22145         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22146         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22147         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22148
22149 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22150
22151         [BZ #13550]
22152         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22153         comment about bounded pointers.
22154         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22155         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22156
22157 2013-03-04  Andreas Jaeger  <aj@suse.de>
22158
22159         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22160         common definitions.
22161
22162         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22163         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22164         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22165         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22166         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22167         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22168
22169 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22170
22171         [BZ #15055]
22172         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22173         __ieee754_sqrl instead of __sqrl.
22174
22175 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22176
22177         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22178         * sysdeps/powerpc/fpu_control.h: ... here.
22179         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22180         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22181         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22182         * sysdeps/powerpc/bits/mathinline.h: ... here.
22183
22184 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22185
22186         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22187         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22188         to just [NEED_DL_SYSINFO_DSO].
22189         * elf/dl-support.c: Likewise.
22190         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22191         * elf/rtld.c (dl_main): Likewise.
22192         * elf/setup-vdso.h (setup_vdso): Likewise.
22193         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22194         * sysdeps/unix/sysv/linux/dl-sysdep.c
22195         (_dl_discover_osversion): Likewise.
22196
22197 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22198
22199         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22200         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22201
22202 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22203
22204         * NEWS: Mention libm performance improvements and non-x86 PI
22205         futex support.
22206
22207         * csu/libc-start.c (__pthread_initialize_minimal): Change
22208         function arguments.
22209         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22210
22211 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22212
22213         [BZ #13550]
22214         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22215         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22216         <bp-sym.h> and <bp-asm.h>.
22217         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22218         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22219         and <bp-asm.h>.
22220         (memcpy): Don't use BP_SYM.
22221         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22222         <bp-asm.h>.
22223         (__mpn_add_n): Don't use BP_SYM.
22224         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22225         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22226         and <bp-asm.h>.
22227         (__mpn_addmul_1): Don't use BP_SYM.
22228         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22229         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22230         <bp-sym.h>.
22231         (_setjmp): Don't use BP_SYM.
22232         (__novmx_setjmp): Likewise.
22233         (__GI__setjmp): Likewise.
22234         (__vmx_setjmp): Likewise.
22235         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22236         <bp-sym.h>.
22237         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22238         (__bzero): Don't use BP_SYM.
22239         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22240         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22241         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22242         <bp-sym.h> and <bp-asm.h>.
22243         (memcpy): Don't use BP_SYM.
22244         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22245         <bp-sym.h> and <bp-asm.h>.
22246         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22247         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22248         <bp-sym.h> and <bp-asm.h>.
22249         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22250         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22251         <bp-asm.h>.
22252         (__mpn_lshift): Don't use BP_SYM.
22253         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22254         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22255         <bp-asm.h>.
22256         (memset): Don't use BP_SYM.
22257         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22258         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22259         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22260         <bp-asm.h>.
22261         (__mpn_mul_1): Don't use BP_SYM.
22262         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22263         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22264         <bp-sym.h> and <bp-asm.h>.
22265         (memcmp): Don't use BP_SYM.
22266         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22267         <bp-sym.h> and <bp-asm.h>.
22268         (memcpy): Don't use BP_SYM.
22269         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22270         <bp-sym.h> and <bp-asm.h>.
22271         (memset): Don't use BP_SYM.
22272         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22273         <bp-sym.h> and <bp-asm.h>.
22274         (strncmp): Don't use BP_SYM.
22275         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22276         <bp-sym.h> and <bp-asm.h>.
22277         (memcpy): Don't use BP_SYM.
22278         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22279         <bp-sym.h> and <bp-asm.h>.
22280         (memset): Don't use BP_SYM.
22281         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22282         <bp-sym.h> and <bp-asm.h>.
22283         (__memchr): Don't use BP_SYM.
22284         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22285         <bp-sym.h> and <bp-asm.h>.
22286         (memcmp): Don't use BP_SYM.
22287         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22288         <bp-sym.h> and <bp-asm.h>.
22289         (memcpy): Don't use BP_SYM.
22290         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22291         <bp-sym.h> and <bp-asm.h>.
22292         (__mempcpy): Don't use BP_SYM.
22293         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22294         <bp-sym.h> and <bp-asm.h>.
22295         (__memrchr): Don't use BP_SYM.
22296         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22297         <bp-sym.h> and <bp-asm.h>.
22298         (memset): Don't use BP_SYM.
22299         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22300         <bp-sym.h> and <bp-asm.h>.
22301         (__rawmemchr): Don't use BP_SYM.
22302         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22303         <bp-sym.h> and <bp-asm.h>.
22304         (__STRCMP): Don't use BP_SYM.
22305         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22306         <bp-sym.h> and <bp-asm.h>.
22307         (strchr): Don't use BP_SYM.
22308         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22309         <bp-sym.h> and <bp-asm.h>.
22310         (__strchrnul): Don't use BP_SYM.
22311         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22312         <bp-sym.h> and <bp-asm.h>.
22313         (strlen): Don't use BP_SYM.
22314         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22315         <bp-sym.h> and <bp-asm.h>.
22316         (strncmp): Don't use BP_SYM.
22317         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22318         <bp-sym.h> and <bp-asm.h>.
22319         (__strnlen): Don't use BP_SYM.
22320         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22321         <bp-asm.h>.
22322         (__mpn_rshift): Don't use BP_SYM.
22323         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22324         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22325         <bp-sym.h> and <bp-asm.h>.
22326         (__sigsetjmp): Don't use BP_SYM.
22327         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22328         (L(start_addresses)): Don't use BP_SYM.
22329         (_start): Likewise.
22330         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22331         <bp-asm.h>.
22332         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22333         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22334         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22335         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22336         <bp-asm.h>.
22337         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22338         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22339         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22340         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22341         <bp-asm.h>.
22342         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22343         comments.
22344         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22345         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22346         <bp-asm.h>.
22347         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22348         FIXME comments.
22349         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22350         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22351         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22352         <bp-asm.h>.
22353         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22354         comment.
22355         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22356         and <bp-asm.h>.
22357         (strncmp): Don't use BP_SYM,
22358         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22359         <bp-asm.h>.
22360         (__mpn_sub_n): Don't use BP_SYM.
22361         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22362         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22363         and <bp-asm.h>.
22364         (__mpn_submul_1): Don't use BP_SYM.
22365         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22367         <bp-sym.h> and <bp-asm.h>.
22368         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22370         <bp-sym.h> and <bp-asm.h>.
22371         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22372         comment.
22373
22374 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22375
22376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22377         Use ZK to minimize writes to Z.
22378         (sub_magnitudes): Simplify code a bit.
22379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22380         Use ZK to minimize writes to Z.
22381         (sub_magnitudes): Simplify code a bit.
22382
22383 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22384
22385         * csu/gmon-start.c: Add special exception to license text.
22386
22387 2013-02-27  Richard Henderson  <rth@redhat.com>
22388
22389         * scripts/config.guess: Update from config.git.
22390         * scripts/config.sub: Likewise.
22391
22392 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22393
22394         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22395
22396         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22397
22398         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22399
22400         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22401
22402         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22403
22404 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22405
22406         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22407         [$(build-shared = yes].
22408
22409 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22410
22411         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22412         (__mul): Reduce iterations for calculating mantissa.
22413
22414         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22415         MPTWO.
22416         (__mpranred): Likewise.
22417
22418         [BZ #15160]
22419         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22420         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22421
22422 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22423
22424         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22425         Define __attribute__.
22426
22427 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22428
22429         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22430         unused.
22431         * posix/regex_internal.h (__attribute): Remove.
22432         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22433         (re_string_context_at): Likewise.
22434         (bitset_not): Use __attribute__ and mark function as possibly
22435         unused.
22436         (bitset_merge): Likewise.
22437         (bitset_mask): Likewise.
22438         (re_string_char_size_at): Likewise.
22439         (re_string_wchar_at): Likewise.
22440         (re_string_elem_size_at): Likewise.
22441
22442 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22443
22444         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22445         code.
22446         (cc32): Likewise.
22447
22448         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22449         (__acr): Likewise.
22450         (__cpy): Likewise.
22451         (norm): Likewise.
22452         (denorm): Likewise.
22453         (__dbl_mp): Likewise.
22454         (add_magnitudes): Likewise.
22455         (sub_magnitudes): Likewise.
22456         (__mul): Likewise.
22457         (__inv): Likewise.
22458
22459         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22460         style.
22461
22462         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22463         style.
22464
22465         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22466         code.
22467
22468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22469         up changes with default code.
22470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22471         Likewise.
22472
22473 2013-02-24  Allan McRae  <allan@archlinux.org>
22474
22475         * manual/socket.texi (The Internet Namespace): Order menu items
22476         to match that in the file.
22477
22478         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22479         node listing of the info page menu.
22480
22481 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22482
22483         [BZ #13550]
22484         * sysdeps/i386/bp-asm.h: Remove file.
22485         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22486         (PARMS): Do not use macros from bp-asm.h.
22487         (S1): Likewise.
22488         (S2): Likewise.
22489         (SIZE): Likewise.
22490         (__mpn_add_n): Do not use BP_SYM
22491         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22492         "bp-asm.h".
22493         (PARMS): Do not use macros from bp-asm.h.
22494         (S1): Likewise.
22495         (SIZE): Likewise.
22496         (__mpn_addmul_1): Do not use BP_SYM
22497         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22498         "bp-asm.h".
22499         (PARMS): Do not use macros from bp-asm.h.
22500         (SIGMSK): Likewise.
22501         (_setjmp): Likewise.  Do not use BP_SYM.
22502         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22503         "bp-asm.h".
22504         (PARMS): Do not use macros from bp-asm.h.
22505         (SIGMSK): Likewise.
22506         (setjmp): Likewise.  Do not use BP_SYM.
22507         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22508         "bp-asm.h".
22509         (PARMS): Do not use macros from bp-asm.h.
22510         (__frexp): Do not use BP_SYM.
22511         (frexp): Likewise.
22512         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22513         "bp-asm.h".
22514         (PARMS): Do not use macros from bp-asm.h.
22515         (__frexpf): Do not use BP_SYM.
22516         (frexpf): Likewise.
22517         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22518         "bp-asm.h".
22519         (PARMS): Do not use macros from bp-asm.h.
22520         (__frexpl): Do not use BP_SYM.
22521         (frexpl): Likewise.
22522         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22523         "bp-asm.h".
22524         (PARMS): Do not use macros from bp-asm.h.
22525         (__remquo): Do not use BP_SYM.
22526         (remquo): Likewise.
22527         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22528         "bp-asm.h".
22529         (PARMS): Do not use macros from bp-asm.h.
22530         (__remquof): Do not use BP_SYM.
22531         (remquof): Likewise.
22532         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22533         "bp-asm.h".
22534         (PARMS): Do not use macros from bp-asm.h.
22535         (__remquol): Do not use BP_SYM.
22536         (remquol): Likewise.
22537         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22538         "bp-asm.h".
22539         (PARMS): Do not use macros from bp-asm.h.
22540         (DEST): Likewise.
22541         (SRC): Likewise.
22542         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22543         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22544         "bp-asm.h".
22545         (PARMS): Do not use macros from bp-asm.h.
22546         (strlen): Do not use BP_SYM.
22547         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22548         "bp-asm.h".
22549         (PARMS): Do not use macros from bp-asm.h.
22550         (S1): Likewise.
22551         (S2): Likewise.
22552         (SIZE): Likewise.
22553         (__mpn_add_n): Do not use BP_SYM.
22554         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22555         "bp-asm.h".
22556         (PARMS): Do not use macros from bp-asm.h.
22557         (S1): Likewise.
22558         (SIZE): Likewise.
22559         (__mpn_addmul_1): Do not use BP_SYM.
22560         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22561         weak_alias.
22562         (bzero): Likewise.
22563         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22564         "bp-asm.h".
22565         (PARMS): Do not use macros from bp-asm.h.
22566         (S): Likewise.
22567         (SIZE): Likewise.
22568         (__mpn_lshift): Do not use BP_SYM.
22569         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22570         "bp-asm.h".
22571         (PARMS): Do not use macros from bp-asm.h.
22572         (DEST): Likewise.
22573         (SRC): Likewise.
22574         (LEN): Likewise.
22575         (memcpy): Likewise.  Do not use BP_SYM.
22576         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22577         libc_hidden_def and weak_alias.
22578         (mempcpy): Do not use BP_SYM in weak_alias.
22579         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22580         "bp-asm.h".
22581         (PARMS): Do not use macros from bp-asm.h.
22582         (DEST): Likewise.
22583         (LEN): Likewise.
22584         [!BZERO_P] (CHR): Likewise.
22585         (memset): Likewise.  Do not use BP_SYM.
22586         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22587         "bp-asm.h".
22588         (PARMS): Do not use macros from bp-asm.h.
22589         (S1): Likewise.
22590         (SIZE): Likewise.
22591         (__mpn_mul_1): Do not use BP_SYM.
22592         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22593         "bp-asm.h".
22594         (PARMS): Do not use macros from bp-asm.h.
22595         (S): Likewise.
22596         (SIZE): Likewise.
22597         (__mpn_rshift): Do not use BP_SYM.
22598         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22599         "bp-asm.h".
22600         (PARMS): Do not use macros from bp-asm.h.
22601         (STR): Likewise.
22602         (CHR): Likewise.
22603         (strchr): Likewise.  Do not use BP_SYM.
22604         (index): Do not use BP_SYM in weak_alias.
22605         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22606         "bp-asm.h".
22607         (PARMS): Do not use macros from bp-asm.h.
22608         (DEST): Likewise.
22609         (SRC): Likewise.
22610         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22611         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22612         "bp-asm.h".
22613         (PARMS): Do not use macros from bp-asm.h.
22614         (strlen): Do not use BP_SYM.
22615         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22616         "bp-asm.h".
22617         (PARMS): Do not use macros from bp-asm.h.
22618         (S1): Likewise.
22619         (S2): Likewise.
22620         (SIZE): Likewise.
22621         (__mpn_sub_n): Do not use BP_SYM.
22622         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22623         "bp-asm.h".
22624         (PARMS): Do not use macros from bp-asm.h.
22625         (S1): Likewise.
22626         (SIZE): Likewise.
22627         (__mpn_submul_1): Do not use BP_SYM.
22628         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22629         "bp-asm.h".
22630         (PARMS): Do not use macros from bp-asm.h.
22631         (S1): Likewise.
22632         (S2): Likewise.
22633         (SIZE): Likewise.
22634         (__mpn_add_n): Do not use BP_SYM.
22635         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22636         weak_alias.
22637         (bzero): Likewise.
22638         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22639         "bp-asm.h".
22640         (PARMS): Do not use macros from bp-asm.h.
22641         (BLK2): Likewise.
22642         (LEN): Likewise.
22643         (memcmp): Do not use BP_SYM.
22644         (bcmp): Do not use BP_SYM in weak_alias.
22645         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22646         "bp-asm.h".
22647         (PARMS): Do not use macros from bp-asm.h.
22648         (DEST): Likewise.
22649         (SRC): Likewise.
22650         (LEN): Likewise.
22651         (memcpy): Likewise.  Do not use BP_SYM.
22652         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22653         "bp-asm.h".
22654         (PARMS): Do not use macros from bp-asm.h.
22655         (DEST): Likewise.
22656         (SRC): Likewise.
22657         (LEN): Likewise.
22658         (memmove): Likewise.  Do not use BP_SYM.
22659         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22660         "bp-asm.h".
22661         (PARMS): Do not use macros from bp-asm.h.
22662         (DEST): Likewise.
22663         (SRC): Likewise.
22664         (LEN): Likewise.
22665         (__mempcpy): Likewise.  Do not use BP_SYM.
22666         (mempcpy): Do not use BP_SYM in weak_alias.
22667         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22668         "bp-asm.h".
22669         (PARMS): Do not use macros from bp-asm.h.
22670         (DEST): Likewise.
22671         (LEN): Likewise.
22672         [!BZERO_P] (CHR): Likewise.
22673         (memset): Likewise.  Do not use BP_SYM.
22674         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22675         "bp-asm.h".
22676         (PARMS): Do not use macros from bp-asm.h.
22677         (STR2): Likewise.
22678         (strcmp): Do not use BP_SYM.
22679         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22680         "bp-asm.h".
22681         (PARMS): Do not use macros from bp-asm.h.
22682         (STR): Likewise.
22683         (DELIM): Likewise.
22684         [USE_AS_STRTOK_R] (SAVE): Likewise.
22685         (FUNCTION): Likewise.  Do not use BP_SYM.
22686         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22687         aliases.
22688         (strtok_r): Likewise.
22689         (__GI___strtok_r): Likewise.
22690         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22691         (PARMS): Do not use macros from bp-asm.h.
22692         (S): Likewise.
22693         (SIZE): Likewise.
22694         (__mpn_lshift): Do not use BP_SYM.
22695         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22696         (PARMS): Do not use macros from bp-asm.h.
22697         (STR): Likewise.
22698         (CHR): Likewise.
22699         (__memchr): Do not use BP_SYM.
22700         (memchr): Do not use BP_SYM in weak_alias.
22701         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22702         (PARMS): Do not use macros from bp-asm.h.
22703         (BLK2): Likewise.
22704         (LEN): Likewise.
22705         (memcmp): Do not use BP_SYM.
22706         (bcmp): Do not use BP_SYM in weak_alias.
22707         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22708         (PARMS): Do not use macros from bp-asm.h.
22709         (S1): Likewise.
22710         (SIZE): Likewise.
22711         (__mpn_mul_1): Do not use BP_SYM.
22712         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22713         "bp-asm.h".
22714         (PARMS): Do not use macros from bp-asm.h.
22715         (STR): Likewise.
22716         (CHR): Likewise.
22717         (__rawmemchr): Do not use BP_SYM.
22718         (rawmemchr): Do not use BP_SYM in weak_alias.
22719         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22720         (PARMS): Do not use macros from bp-asm.h.
22721         (S): Likewise.
22722         (SIZE): Likewise.
22723         (__mpn_rshift): Do not use BP_SYM.
22724         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22725         (PARMS): Do not use macros from bp-asm.h.
22726         (SIGMSK): Likewise.
22727         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22728         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22729         (_start): Do not use BP_SYM.
22730         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22731         (PARMS): Do not use macros from bp-asm.h.
22732         (DEST): Likewise.
22733         (SRC): Likewise.
22734         (__stpcpy): Likewise.  Do not use BP_SYM.
22735         (stpcpy): Do not use BP_SYM in weak_alias.
22736         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22737         "bp-asm.h".
22738         (PARMS): Do not use macros from bp-asm.h.
22739         (DEST): Likewise.
22740         (SRC): Likewise.
22741         (LEN): Likewise.
22742         (__stpncpy): Likewise.  Do not use BP_SYM.
22743         (stpncpy): Do not use BP_SYM in weak_alias.
22744         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22745         (PARMS): Do not use macros from bp-asm.h.
22746         (STR): Likewise.
22747         (CHR): Likewise.
22748         (strchr): Likewise.  Do not use BP_SYM.
22749         * sysdeps/i386/strchrnul.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         (CHR): Likewise.
22754         (__strchrnul): Likewise.  Do not use BP_SYM.
22755         (strchrnul): Do not use BP_SYM in weak_alias.
22756         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22757         "bp-asm.h".
22758         (PARMS): Do not use macros from bp-asm.h.
22759         (STOP): Likewise.
22760         (strcspn): Do not use BP_SYM.
22761         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22762         "bp-asm.h".
22763         (PARMS): Do not use macros from bp-asm.h.
22764         (STR): Likewise.
22765         (STOP): Likewise.
22766         (strpbrk): Likewise.  Do not use BP_SYM.
22767         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22768         "bp-asm.h".
22769         (PARMS): Do not use macros from bp-asm.h.
22770         (STR): Likewise.
22771         (CHR): Likewise.
22772         (strrchr): Likewise.  Do not use BP_SYM.
22773         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22774         (PARMS): Do not use macros from bp-asm.h.
22775         (SKIP): Likewise.
22776         (strspn): Do not use BP_SYM.
22777         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22778         (PARMS): Do not use macros from bp-asm.h.
22779         (STR): Likewise.
22780         (DELIM): Likewise.
22781         (SAVE): Likewise.
22782         (FUNCTION): Likewise.  Do not use BP_SYM.
22783         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22784         aliases.
22785         (strtok_r): Likewise.
22786         (__GI___strtok_r): Likewise.
22787         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22788         (PARMS): Do not use macros from bp-asm.h.
22789         (S1): Likewise.
22790         (S2): Likewise.
22791         (SIZE): Likewise.
22792         (__mpn_sub_n): Do not use BP_SYM.
22793         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22794         "bp-asm.h".
22795         (PARMS): Do not use macros from bp-asm.h.
22796         (S1): Likewise.
22797         (SIZE): Likewise.
22798         (__mpn_submul_1): Do not use BP_SYM.
22799         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22800         <bp-sym.h>.
22801         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22802         and <bp-asm.h>.
22803         (PARMS): Do not use macros from bp-asm.h.
22804         (FLAGS): Likewise.
22805         (PTID): Likewise.
22806         (TLS): Likewise.
22807         (CTID): Likewise.
22808         (__clone): Do not use BP_SYM.
22809         (clone): Do not use BP_SYM in weak_alias.
22810         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22811         and <bp-asm.h>.
22812         (PARMS): Do not use macros from bp-asm.h.
22813         (LEN): Likewise.
22814         (__mmap64): Do not use BP_SYM.
22815         (mmap64): Do not use BP_SYM in weak_alias.
22816         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22817         <bp-sym.h> and <bp-asm.h>.
22818         (PARMS): Do not use macros from bp-asm.h.
22819         (__posix_fadvise64_l64): Do not use BP_SYM.
22820         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22821         (PARMS): Do not use macros from bp-asm.h.
22822         (NSOPS): Likewise.
22823         (semtimedop): Do not use BP_SYM.
22824         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22825         and <bp-asm.h>.
22826
22827 2013-02-21  Allan McRae  <allan@archlinux.org>
22828
22829         * manual/message.texi (Charset conversion in gettext):
22830         Move @end statement to beginning of line.
22831
22832 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22833
22834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22835         static.
22836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22837         Likewise.
22838
22839         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22840         (denorm): Likewise.
22841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22843
22844 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22845
22846         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22847         tail-call to the resolved function if pltexit isn't needed.
22848
22849 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22850
22851         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22852         or Y being zero as being unlikely.
22853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22854         Likewise.
22855
22856 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22857
22858         * manual/nss.texi (System Databases and Name Service Switch):
22859         Remove frobnicate @pxref.
22860
22861 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22862
22863         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22864         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22865
22866 2013-02-20  Petr Machata  <pmachata@redhat.com>
22867
22868         * elf/elf.h (R_ARM_TARGET1): New macro.
22869         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22870         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22871         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22872         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22873         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22874         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22875         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22876         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22877         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22878         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22879         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22880         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22881         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22882         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22883         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22884         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22885         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22886         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22887         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22888         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22889         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22890         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22891         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22892         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22893         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22894         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22895         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22896         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22897         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22898         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22899         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22900         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22901         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22902         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22903         (R_ARM_THM_GOT_BREL12): Likewise.
22904         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22905         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22906         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22907         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22908         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22909         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22910         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22911         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22912         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22913
22914 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22915
22916         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22917         __attribute_used__ to __attribute__ ((unused)).
22918
22919 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22920
22921         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22922         powerpc mpa.c.
22923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22924         comment formatting.
22925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22926
22927 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22928
22929         [BZ #13550]
22930         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22931         Remove macro.
22932         (ENTER): Remove both macro definitions.
22933         (LEAVE): Likewise.
22934         (CHECK_BOUNDS_LOW): Likewise.
22935         (CHECK_BOUNDS_HIGH): Likewise.
22936         (CHECK_BOUNDS_BOTH): Likewise.
22937         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22938         (RETURN_BOUNDED_POINTER): Likewise.
22939         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22940         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22941         (POP_ERRNO_LOCATION_RETURN): Likewise.
22942         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22943         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22944         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22945         macros.
22946         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22947         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22948         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22949         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22950         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22951         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22952         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22953         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22954         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22955         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22956         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22957         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22958         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22959         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22960         removed macros.
22961         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22962         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22963         macros.
22964         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22965         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22966         * sysdeps/i386/i586/memset.S (memset): Likewise.
22967         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22968         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22969         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22970         macros.
22971         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22972         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22973         Change uses of L(2) to L(out).
22974         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22975         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22976         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22977         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22978         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22979         removed macros.
22980         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22981         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22982         macros.
22983         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22984         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22985         (RETURN): Do not use macro LEAVE.
22986         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22987         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22988         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22989         * sysdeps/i386/i686/memset.S (memset): Likewise.
22990         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22991         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22992         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22993         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22994         Likewise.
22995         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22996         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22997         L(1_2) and L(1_3) into L(1).
22998         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22999         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23000         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23001         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23002         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23003         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23004         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23005         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23006         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23007         macros.
23008         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23009         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23010         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23011         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23012         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23013         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23014         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23015         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23016         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23017         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23018         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23019         * sysdeps/i386/strspn.S (strspn): Likewise.
23020         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23021         conditional code.
23022         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23023         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23024         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23025         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23026         L(1_3) into L(1_1).
23027         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23028         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23029         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23030         macros.
23031         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23032
23033 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23034
23035         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23036         macro.
23037
23038 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23039
23040         * math/atest-exp.c (exp_mpn): Remove ROUND.
23041         * math/atest-exp2.c (exp_mpn): Likewise.
23042         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23043
23044         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23045         * stdlib/tst-tls-atexit-lib.c: Likewise.
23046         * stdlib/tst-tls-atexit.c: Likewise.
23047
23048 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23049
23050         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23051         and __attribute_alloc_size__.
23052
23053 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23054
23055         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23056         __attribute_alloc_size__.
23057         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23058         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23059
23060 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23061
23062         * include/programs/xmalloc.h: New file.
23063         * catgets/gencat.c: Include it.
23064         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23065         * elf/pldd.c: Likewise.
23066         * iconv/iconv_charmap.c: Likewise.
23067         * iconv/iconvconfig.c: Likewise.
23068         * iconv/strtab.c: Likewise.
23069         * locale/programs/locale.c: Likewise.
23070         * locale/programs/localedef.h: Likewise.
23071         * locale/programs/simple-hash.c: Likewise.
23072         * nscd/nscd.h: Likewise.
23073         * nss/makedb.c: Likewise.
23074         * sysdeps/generic/ldconfig.h: Likewise.
23075
23076 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23077
23078         * Versions.def: Add GLIBC_2.18.
23079         * include/link.h (struct link_map): New member l_tls_dtor_count.
23080         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23081         (__call_tls_dtors): Likewise.
23082         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23083         __cxa_thread_atexit_impl.
23084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23085         Likewise.
23086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23087         Likewise.
23088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23089         Likewise.
23090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23091         Likewise.
23092         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23094         Likewise.
23095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23096         Likewise.
23097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23099         Likewise.
23100         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23101         (tests): Add test case tst-tls-atexit.
23102         (modules-names): Add shared library for tst-tls-atexit.
23103         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23104         (GLIBC_PRIVATE): Add __call_tls_dtors.
23105         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23106         for libstdc++.
23107         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23108         * stdlib/tst-tls-atexit.c: New test case.
23109         * stdlib/tst-tls-atexit-lib.c: New test case.
23110
23111         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23112
23113         * elf/Versions (ld): Add _dl_find_dso_for_object.
23114         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23115         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23116         (dl_open_worker): Use _dl_find_dso_for_object.
23117         * elf/dl-sym.c (do_sym): Likewise.
23118         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23119
23120 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23121
23122         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23123         Syntactic changes only.
23124         (_dl_runtime_profile): Do a tail-call to the resolved function.
23125
23126 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23127
23128         [BZ #13550]
23129         * sysdeps/x86_64/bp-asm.h: Remove file.
23130         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23131         <bp-sym.h> and <bp-asm.h>.
23132         (__clone): Do not use BP_SYM.
23133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23134         <bp-sym.h> and <bp-asm.h>.
23135         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23136         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23137         "bp-asm.h".
23138         (_setjmp): Do not use BP_SYM.
23139         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23140         "bp-asm.h".
23141         (setjmp): Do not use BP_SYM.
23142         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23143         libc_hidden_def.
23144         (mempcpy): Do not use BP_SYM in weak_alias.
23145         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23146         "bp-asm.h".
23147         (strchr): Do not use BP_SYM.
23148         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23149         "bp-asm.h".
23150         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23151         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23152         (_start): Do not use BP_SYM.
23153         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23154         "bp-asm.h".
23155         (strcat): Do not use BP_SYM.
23156         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23157         "bp-asm.h".
23158         (STRCMP): Do not use BP_SYM.
23159         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23160         "bp-asm.h".
23161         (STRCPY): Do not use BP_SYM.
23162         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23163         "bp-asm.h".
23164         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23165         "bp-asm.h".
23166         (FUNCTION): Do not use BP_SYM.
23167         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23168         weak_alias.
23169         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23170
23171 2013-02-17  Andreas Jaeger  <aj@suse.de>
23172
23173         * time/Versions: Sort entries.
23174         * string/Versions: Likewise.
23175         * resolv/Versions: Likewise.
23176         * posix/Versions: Likewise.
23177         * iconv/Versions: Likewise.
23178         * elf/Versions: Likewise.
23179         * wcsmbs/Versions: Likewise.
23180
23181 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23182
23183         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23184         loop termination condition.
23185
23186         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23187         variable to calculate EZ.
23188         (__sqr): Likewise.
23189
23190         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23191         the lower precision input.
23192
23193 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23194
23195         [BZ #13550]
23196         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23197         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23198         (run-via-rtld-prefix): Do not handle %-bp tests.
23199         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23200         (all-object-suffixes): Remove .ob.
23201         (bppfx): Remove variable.
23202         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23203         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23204         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23205         [$(build-bounded) = yes] (libtype.ob): Likewise.
23206         * Makerules (elide-routines.ob): Remove variable.
23207         (do-tests-clean): Do not handle *-bp.out.
23208         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23209         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23210         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23211         (tests): Do not include $(tests-bp.out).
23212         (xtests): Do not include $(xtests-bp.out).
23213         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23214         [$(build-bounded) = yes] ($(addprefix
23215         $(objpfx),$(binaries-bounded))): Remove rule.
23216         ($(objpfx)%-bp.out): Remove rule.
23217         * config.make.in (build-bounded): Remove variable.
23218         * crypt/Makefile [$(build-bounded) = yes]
23219         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23220         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23221         append to variable.
23222         [$(build-bounded) = yes] (install-lib): Likewise.
23223         [$(build-bounded) = yes] (generated): Likewise.
23224         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23225         Remove rule.
23226         * intl/Makefile [$(build-bounded) = yes]
23227         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23228         * math/Makefile [$(build-bounded) = yes]
23229         ($(tests:%=$(objpfx)%-bp): Likewise.
23230         * misc/Makefile [$(build-bounded) = yes]
23231         ($(objpfx)tst-tsearch-bp): Likewise.
23232         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23233         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23234         Remove dependency.
23235         * string/Makefile (o-objects.ob): Remove variable.
23236         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23237         (CFLAGS-.ob): Remove variable.
23238         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23239         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23240         both definitions of variable.
23241         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23242         (ASFLAGS-.ob): Remove variable.
23243
23244 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23245
23246         [BZ #13550]
23247         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23248         Remove __BOUNDED_POINTERS__ from condition.
23249         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23250         * string/bits/string2.h [!__NO_STRING_INLINES &&
23251         !__BOUNDED_POINTERS__]: Likewise.
23252         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23253         Likewise.
23254         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23255         Remove conditional code.
23256         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23257         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23258         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23259         condition.
23260
23261         [BZ #13550]
23262         * csu/libc-start.c: Do not include <bp-sym.h>.
23263         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23264         * elf/dl-open.c: Do not include <bp-sym.h>.
23265         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23266         * math/fegetenv.c: Do not include <bp-sym.h>.
23267         (fegetenv): Do not use BP_SYM in versioned symbols.
23268         * nptl/sysdeps/pthread/bits/libc-lockP.h
23269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23270         <bp-sym.h>.
23271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23272         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23274         (__pthread_mutex_destroy): Likewise.
23275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23276         (__pthread_mutex_lock): Likewise.
23277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23278         (__pthread_mutex_trylock): Likewise.
23279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23280         (__pthread_mutex_unlock): Likewise.
23281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23282         (__pthread_mutexattr_init): Likewise.
23283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23284         (__pthread_mutexattr_destroy): Likewise.
23285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23286         (__pthread_mutexattr_settype): Likewise.
23287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23288         (__pthread_rwlock_init): Likewise.
23289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23290         (__pthread_rwlock_destroy): Likewise.
23291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23292         (__pthread_rwlock_rdlock): Likewise.
23293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23294         (__pthread_rwlock_tryrdlock): Likewise.
23295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23296         (__pthread_rwlock_wrlock): Likewise.
23297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23298         (__pthread_rwlock_trywrlock): Likewise.
23299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23300         (__pthread_rwlock_unlock): Likewise.
23301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23302         (__pthread_key_create): Likewise.
23303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23304         (__pthread_setspecific): Likewise.
23305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23306         (__pthread_getspecific): Likewise.
23307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23308         Likewise.
23309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23310         (_pthread_cleanup_push_defer): Likewise.
23311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23312         (_pthread_cleanup_pop_restore): Likewise.
23313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23314         (pthread_setcancelstate): Likewise.
23315         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23316         <bp-sym.h>.
23317         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23318         (memchr): Do not use BP_SYM in weak_alias.
23319         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23320         (fegetenv): Do not use BP_SYM in versioned symbols.
23321         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23322         (fesetenv): Do not use BP_SYM in versioned symbols.
23323         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23324         (feupdateenv): Do not use BP_SYM in versioned symbols.
23325         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23326         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23327         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23328         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23329         (open64): Do not use BP_SYM in weak_alias.
23330         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23331         (fegetenv): Do not use BP_SYM in versioned symbols.
23332         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23333         (fesetenv): Do not use BP_SYM in versioned symbols.
23334         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23335         (feupdateenv): Do not use BP_SYM in versioned symbols.
23336         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23337         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23338         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23339         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23340         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23341         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23343         <bp-sym.h>.
23344         (__libc_start_main): Do not use BP_SYM.
23345
23346 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23347
23348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23349         redundant return line.
23350         (norm): Likewise.
23351         (denorm): Likewise.
23352         (dbl_mp): Likewise.
23353         (sub_magnitudes): Likewise.
23354         (__add): Likewise.
23355         (__sub): Likewise.
23356         (__mul): Likewise.
23357         (__inv): Likewise.
23358         (__dvd): Likewise.
23359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23360         (norm): Likewise.
23361         (denorm): Likewise.
23362         (dbl_mp): Likewise.
23363         (sub_magnitudes): Likewise.
23364         (__add): Likewise.
23365         (__sub): Likewise.
23366         (__mul): Likewise.
23367         (__inv): Likewise.
23368         (__dvd): Likewise.
23369
23370         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23371         instead of __mul.
23372         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23373         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23374         (cc32): Likewise.
23375
23376         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23377         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23378         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23379         of __mul for squares.
23380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23381         function
23382         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23383         Likewise.
23384         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23385         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23386
23387 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23388
23389         [BZ #13550]
23390         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23391         code.
23392         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23393         prototype or function definition.  Rename ubp_* variables and
23394         parameters.  Remove argv definitions conditional on
23395         [__BOUNDED_POINTERS__].
23396         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23397         * elf/dl-runtime.c (_dl_fixup): Likewise.
23398         * include/set-hooks.h (RUN_HOOK): Likewise.
23399         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23400         definition.
23401         * string/strcpy.c (strcpy): Do not use __unbounded.
23402         * sysdeps/generic/frame.h (struct layout): Likewise.
23403         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23404         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23405         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23406         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23407         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23408         (__backtrace): Likewise.
23409         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23410         use __ptrvalue.
23411         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23412         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23413         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23414         Likewise.
23415         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23416         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23417         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23418         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23419         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23420         Do not use __unbounded.
23421         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23422         Rename __unboundedrlimits parameter to rlimits in prototype.
23423         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23424         Do not use __unbounded.
23425         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23426         not use __ptrvalue.
23427         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23428         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23429         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23430         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23431         __ptrvalue or __unbounded.
23432         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23433         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23434         use __unbounded.
23435         (__new_msgctl): Do not use __ptrvalue.
23436         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23437         __unbounded.
23438         (__libc_msgrcv): Do not use __ptrvalue.
23439         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23440         startup_info): Do not use __unbounded.
23441         (__libc_start_main): Likewise.  Rename ubp_* variables and
23442         parameters.  Remove argv definitions conditional on
23443         [__BOUNDED_POINTERS__].
23444         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23445         __ptrvalue.
23446         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23447         use __unbounded.
23448         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23449         or __ptrvalue.
23450         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23451         use __unbounded.
23452         (__new_shmctl): Do not use __ptrvalue.
23453         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23454         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23455         Likewise.
23456         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23457         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23458         (__libc_sigaction): Likewise.
23459         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23460         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23461         Likewise.
23462         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23463
23464 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23465
23466         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23467
23468         * string/mempcpy.c: Implement by calling memcpy.
23469
23470 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23471
23472         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23473
23474         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23475         evaluation.
23476
23477         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23478         values in the mantissa.
23479
23480         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23481         minimize writes to Z.
23482         (sub_magnitudes): Simplify code a bit.
23483
23484 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23485
23486         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23487         from the message.  The linker prefixes all warnings with that already.
23488
23489 2013-02-12  Andreas Schwab  <schwab@suse.de>
23490
23491         [BZ #15078]
23492         * posix/regexec.c (extend_buffers): Add parameter min_len.
23493         (check_matching): Pass minimum needed length.
23494         (clean_state_log_if_needed): Likewise.
23495         (get_subexp): Likewise.
23496         * posix/Makefile (tests): Add bug-regex34.
23497         (bug-regex34-ENV): Define.
23498         * posix/bug-regex34.c: New file.
23499
23500         [BZ #11561]
23501         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23502         elements compare against the byte sequence of it, not its name.
23503         * posix/Makefile (tests): Add bug-regex35.
23504         (bug-regex35-ENV): Define.
23505         * posix/bug-regex35.c: New file.
23506
23507 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23508
23509         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23510         comment.
23511         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23512         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23513         (CHECK_EOL): Add undef.
23514
23515 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23516
23517         * bits/stdlib-bsearch.h: New file.
23518         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23519         * stdlib/stdlib.h: Likewise.
23520
23521 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23522
23523         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23524         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23525         declaration.
23526         * manual/search.texi (Array Search Function): Add missing const in
23527         lfind prototype.
23528         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23529         declaration to use rlim_t.
23530         (Basic Scheduling Functions): Remove erroneous const from
23531         sched_getparam prototype.  Remove erroneous * from
23532         sched_get_priority_max and sched_get_priority_min prototypes.
23533         (Resource Usage): Fix summary @comment on vtimes to refer to
23534         sys/vtimes.h rather than vtimes.h.
23535         Add missing *s in vtimes prototype.
23536         (Limits on Resources): Fix ulimit prototype to return long int.
23537         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23538         prototypes to use long int rather than double.
23539         (BSD Random): Fix initstate and setstate to use char *, not void *.
23540         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23541         prototype to make second argument 'struct aiocb64 *const[]'.
23542         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23543         (Status of AIO Operations): Remove erroneous const in aio_return and
23544         aio_return64 prototypes.
23545         (Synchronizing I/O): Fix sync prototype to return void.
23546         * manual/startup.texi (Suboptions): Remove an erroneous const in
23547         getsubopt prototype.
23548         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23549         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23550         use size_t rather than int.
23551         (Scanning All Users): Likewise for getpwent_r.
23552         (Setting Groups): Add missing const to setgroups prototype.
23553         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23554         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23555         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23556         'const void *' rather than 'const char *'.
23557         (Host Address Functions): Likewise for inet_ntop.
23558         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23559         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23560         ssize_t for return value.
23561         (Sending Data): Likewise for send, sendto, sendmsg.
23562         (Socket Option Functions): Add a missing const in setsockopt prototype.
23563         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23564         use wchar_t for the argument.
23565         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23566         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23567         take no arguments.
23568         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23569         double/float/long double for second argument.
23570         Fix return types of significand, significandf, significandl.
23571         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23572         argument in fchmod prototype.
23573         (File Owner): Use uid_t and gid_t in fchown prototype.
23574         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23575         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23576         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23577         use 'const struct dirent **' as argument types to CMP function pointer
23578         argument.
23579         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23580         (File Times): Fix summary magic @comment for struct utimbuf and utime
23581         to refer to utime.h, not time.h.
23582         * manual/string.texi (Argz Functions): Add missing const in
23583         argz_extract and argz_next prototypes.
23584         (Finding Tokens in a String): Likewise for basename.
23585         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23586         (Copying and Concatenation): Fix typo in wmemmove prototype.
23587         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23588         (Signal Stack): Remove erroneous const in sigstack prototype.
23589         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23590         prototype.
23591         (Simple Calendar Time): Likewise for stime.
23592         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23593         prototype.
23594         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23595         say sys/sysctl.h instead.
23596         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23597         and vsyslog prototypes.
23598
23599 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23600
23601         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23602         Remove.
23603
23604 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23605
23606         * misc/sys/mman.h: Fix typo in mremap comment.
23607
23608 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23609
23610         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23611         the '\0' terminator.
23612
23613 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23614
23615         [BZ #13550]
23616         * debug/segfault.c: Don't include <bp-checks.h>.
23617         * sysdeps/generic/bp-checks.h: Remove file.
23618         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23619         (__GETDENTS): Don't use CHECK_N.
23620         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23621         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23622         (__getgroups): Don't use CHECK_N.
23623         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23624         (setgroups): Don't use CHECK_N.
23625         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23626         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23627         (__libc_msgrcv): Don't use CHECK_N.
23628         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23629         (__libc_msgsnd): Don't use CHECK_N.
23630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23631         <bp-checks.h>.
23632         (__libc_pread): Don't use CHECK_N.
23633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23634         include <bp-checks.h>.
23635         (__libc_pread64): Don't use CHECK_N.
23636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23637         include <bp-checks.h>.
23638         (__libc_pwrite): Don't use CHECK_N.
23639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23640         include <bp-checks.h>.
23641         (__libc_pwrite64): Don't use CHECK_N.
23642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23643         <bp-checks.h>.
23644         (__libc_pread): Don't use CHECK_N.
23645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23646         include <bp-checks.h>.
23647         (__libc_pread64): Don't use CHECK_N.
23648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23649         include <bp-checks.h>.
23650         (__libc_pwrite): Don't use CHECK_N.
23651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23652         include <bp-checks.h>.
23653         (__libc_pwrite64): Don't use CHECK_N.
23654         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23655         (do_pread): Don't use CHECK_N.
23656         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23657         (do_pread64): Don't use CHECK_N.
23658         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23659         (do_pwrite): Don't use CHECK_N.
23660         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23661         (do_pwrite64): Don't use CHECK_N.
23662         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23663         (__libc_readv): Don't use CHECK_N.
23664         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23665         (semop): Don't use CHECK_N.
23666         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23667         <bp-checks.h>.
23668         (semtimedop): Don't use CHECK_N.
23669         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23670         (__libc_pread): Don't use CHECK_N.
23671         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23672         <bp-checks.h>.
23673         (__libc_pread64): Don't use CHECK_N.
23674         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23675         <bp-checks.h>.
23676         (__libc_pwrite): Don't use CHECK_N.
23677         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23678         <bp-checks.h>.
23679         (__libc_pwrite64): Don't use CHECK_N.
23680         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23681         <bp-checks.h>.
23682         (__libc_msgrcv): Don't use CHECK_N.
23683         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23684         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23685         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23686         (__libc_writev): Don't use CHECK_N.
23687
23688 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23689
23690         * string/strcpy.c: Removed unused variable.
23691
23692         * Makeconfig (+sysdep-includes): Define with := rather than =.
23693         Use an existing include/ subdir of each sysdeps dir before it.
23694
23695 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23696
23697         * nscd/connection.c (register_traced_file): Comment function.
23698         [HAVE_INOTIFY] (union __inev): Define.
23699         [HAVE_INOTIFY] (inotify_check_files): New function.
23700         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23701         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23702         clear_db_cache.
23703         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23704
23705 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23706
23707         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23708         loaded if not already and that a failure is permanent.
23709
23710 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23711
23712         [BZ #15006]
23713         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23714         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23715
23716 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23717
23718         [BZ #13550]
23719         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23720         (CHECK_1_NULL_OK): Likewise.
23721         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23722         (__fxstat): Do not use CHECK_1.
23723         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23724         <bp-checks.h>.
23725         (___fxstat64): Do not use CHECK_1.
23726         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23727         <bp-checks.h>.
23728         (__fxstatat): Do not use CHECK_1.
23729         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23730         <bp-checks.h>.
23731         (__fxstatat64): Do not use CHECK_1.
23732         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23733         <bp-checks.h>.
23734         (__fxstat): Do not use CHECK_1.
23735         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23736         <bp-checks.h>.
23737         (__fxstatat): Do not use CHECK_1.
23738         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23739         <bp-checks.h>.
23740         (__getresgid): Do not use CHECK_1.
23741         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23742         <bp-checks.h>.
23743         (__getresuid): Do not use CHECK_1.
23744         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23745         <bp-checks.h>.
23746         (__lxstat): Do not use CHECK_1.
23747         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23748         <bp-checks.h>.
23749         (__old_msgctl): Do not use CHECK_1.
23750         (__new_msgctl): Likewise.
23751         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23752         <bp-checks.h>.
23753         (__new_setrlimit): Do not use CHECK_1.
23754         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23755         <bp-checks.h>.
23756         (__old_shmctl): Do not use CHECK_1.
23757         (__new_shmctl): Likewise.
23758         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23759         <bp-checks.h>.
23760         (__xstat): Do not use CHECK_1.
23761         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23762         (__lxstat): Do not use CHECK_1.
23763         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23764         <bp-checks.h>.
23765         (___lxstat64): Do not use CHECK_1.
23766         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23767         (__old_msgctl): Do not use CHECK_1.
23768         (__new_msgctl): Likewise.
23769         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23770         <bp-checks.h>.
23771         (__gettimeofday): Do not use CHECK_1.
23772         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23773         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23774         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23775         <bp-checks.h>.
23776         (__gettimeofday): Do not use CHECK_1.
23777         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23778         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23779         (__new_shmctl): Do not use CHECK_1.
23780         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23781         <bp-checks.h>.
23782         (do_sigtimedwait): Do not use CHECK_1.
23783         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23784         <bp-checks.h>.
23785         (do_sigwaitinfo): Do not use CHECK_1.
23786         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23787         <bp-checks.h>.
23788         (msgctl): Do not use CHECK_1.
23789         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23790         <bp-checks.h>.
23791         (shmctl): Do not use CHECK_1.
23792         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23793         (ustat): Do not use CHECK_1.
23794         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23795         <bp-checks.h>.
23796         (__fxstat): Do not use CHECK_1.
23797         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23798         <bp-checks.h>.
23799         (__fxstatat): Do not use CHECK_1.
23800         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23801         <bp-checks.h>.
23802         (__lxstat): Do not use CHECK_1.
23803         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23804         <bp-checks.h>.
23805         (__xstat): Do not use CHECK_1.
23806         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23807         (__xstat): Do not use CHECK_1.
23808         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23809         (___xstat64): Do not use CHECK_1.
23810
23811         [BZ #13550]
23812         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23813         definitions.
23814         (CHECK_BOUNDS_HIGH): Likewise.
23815         * string/strcpy.c: Do not include <bp-checks.h>.
23816         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23817
23818 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23819
23820         * nscd/nscd-client.h (__nscd_drop_map_ref):
23821         Add __attribute__ ((unused)).
23822         * nis/nss-nisplus.h (niserr2nss): Likewise.
23823
23824         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23825         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23826
23827         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23828         Remove inline keyword.
23829         * include/rounding-mode.h (round_away): Likewise.
23830         * libio/wfileops.c (adjust_wide_data): Likewise.
23831         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23832         (__m128i_strloadu_tolower): Likewise.
23833         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23834         (__m128i_strloadu_tolower): Likewise.
23835         * time/mktime.c (ydhms_diff): Likewise.
23836         * locale/elem-hash.h (elem_hash): Likewise.
23837         * locale/setlocale.c (setdata): Likewise.
23838         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23839         (re_string_wchar_at): Likewise.
23840         (bitset_not, bitset_merge, bitset_mask): Likewise.
23841         [!(__GNUC__ > 3)] (inline): Remove macro.
23842         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23843         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23844         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23845         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23846         * string/memcmp.c (memcmp_bytes): Likewise.
23847         * locale/programs/locarchive.c (compute_hashval): Likewise.
23848         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23849         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23850         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23851         * nss/getent.c (print_rpc, print_protocols): Likewise.
23852         (print_passwd, print_group, print_aliases): Likewise.
23853         * nis/nss-nisplus.h (niserr2nss): Likewise.
23854         * nscd/connections.c (restart_p): Likewise.
23855         Change return type to bool.
23856
23857 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23858
23859         * Makeconfig (all-Depend-files): Add existing
23860         $(sorted-subdirs:=/Depend) files.
23861         (all-subdirs): Remove nss.
23862         * sysdeps/unix/inet/Subdirs: Add it here instead.
23863         * hesiod/Depend: New file.
23864
23865         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23866         instead of calling alloca.
23867
23868         * io/lseek.c (__lseek): Rename to __libc_lseek.
23869         Define __lseek as an alias.
23870
23871         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23872
23873 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23874
23875         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23876         else clause and remove check for non-standard endianness.
23877
23878 2013-02-04  David S. Miller  <davem@davemloft.net>
23879
23880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23881
23882 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23883
23884         [BZ #13550]
23885         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23886         (__ubp_memchr): Remove prototype.
23887         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23888         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23889         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23890         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23891         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23892         Remove alias.
23893         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23894         (__ubp_memchr): Likewise.
23895         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23896         (__ubp_memchr): Likewise.
23897         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23898         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23899         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23900         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23901         CHECK_STRING.
23902         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23903         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23904         (__getcwd): Do not use CHECK_STRING.
23905         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23906         <bp-checks.h>.
23907         (__real_chown): Do not use CHECK_STRING.
23908         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23909         <bp-checks.h>.
23910         (fchownat): Do not use CHECK_STRING.
23911         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23912         CHECK_STRING.
23913         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23914         <bp-checks.h>.
23915         (__lchown): Do not use CHECK_STRING.
23916         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23917         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23918         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23919         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23921         include <bp-checks.h>.
23922         (truncate64): Do not use CHECK_STRING.
23923         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23924         <bp-checks.h>.
23925         (__real_chown): Do not use CHECK_STRING.
23926         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23927         <bp-checks.h>.
23928         (__lchown): Do not use CHECK_STRING.
23929         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23930         <bp-checks.h>.
23931         (__chown): Do not use CHECK_STRING.
23932         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23933         <bp-checks.h>.
23934         (truncate64): Do not use CHECK_STRING.
23935         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23936         Likewise.
23937         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23938         (__xmknod): Do not use CHECK_STRING.
23939         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23940         <bp-checks.h>.
23941         (__xmknodat): Do not use CHECK_STRING.
23942         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23943         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23944
23945 2013-02-04  Andreas Schwab  <schwab@suse.de>
23946
23947         [BZ #14142]
23948         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23949         * include/netdb.h: Likewise for h_errno.
23950         * elf/tst-stackguard1.c: Include <tls.h>.
23951
23952 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23953
23954         * elf/link.h (struct link_map): Extend the l_addr comment.
23955         * include/link.h (struct link_map): Likewise.
23956
23957 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23958
23959         [BZ #13550]
23960         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23961         (BOUNDED_1): Remove macro.
23962         * debug/backtrace.c: Don't include <bp-checks.h>.
23963         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23964         (__backtrace): Likewise.
23965         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23966         <bp-checks.h>.
23967         (__backtrace): Don't use BOUNDED_1.
23968         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23969         <bp-checks.h>.
23970         (__backtrace): Don't use BOUNDED_1.
23971         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23972         (__backtrace): Don't use BOUNDED_1.
23973         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23974         (shmat): Don't use BOUNDED_N.
23975
23976 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23977
23978         [BZ #13550]
23979         * sysdeps/generic/bp-start.h: Remove file.
23980         * csu/libc-start.c: Don't include <bp-start.h>.
23981         (LIBC_START_MAIN): Set up __environ directly instead of using
23982         INIT_ARGV_and_ENVIRON.
23983         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23984         <bp-start.h>.
23985
23986         [BZ #13550]
23987         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23988         definitions.
23989         (CHECK_FCNTL): Likewise.
23990         (CHECK_N_PAGES): Likewise.
23991
23992         [BZ #13550]
23993         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23994         definitions.
23995         (CHECK_SIGSET_NULL_OK): Likewise.
23996         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23997         <bp-checks.h>.
23998         (sigpending): Don't use CHECK_SIGSET.
23999         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24000         <bp-checks.h>.
24001         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24002         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24003         <bp-checks.h>.
24004         (do_sigsuspend): Don't use CHECK_SIGSET.
24005         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24006         use CHECK_SIGSET.
24007         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24008         (do_sigwait): Don't use CHECK_SIGSET.
24009         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24010         use CHECK_SIGSET.
24011         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24012         include <bp-checks.h>.
24013         (sigpending): Don't use CHECK_SIGSET.
24014         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24015         include <bp-checks.h>.
24016         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24017         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24018         <bp-checks.h>.
24019         (sigpending): Don't use CHECK_SIGSET.
24020         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24021         <bp-checks.h>.
24022         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24023
24024         [BZ #13550]
24025         * sysdeps/generic/bp-semctl.h: Remove file.
24026         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24027         <bp-checks.h> and <bp-semctl.h>.
24028         (__old_semctl): Don't use CHECK_SEMCTL.
24029         (__new_semctl): Likewise.
24030         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24031         and <bp-semctl.h>.
24032         (__old_semctl): Don't use CHECK_SEMCTL.
24033         (__new_semctl): Likewise.
24034         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24035         <bp-checks.h> and <bp-semctl.h>.
24036         (__old_semctl): Don't use CHECK_SEMCTL.
24037         (__new_semctl): Likewise.
24038         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24039         <bp-checks.h> and <bp-semctl.h>.
24040         (semctl): Don't use CHECK_SEMCTL.
24041
24042         [BZ #13550]
24043         * Makerules (elide-bp-thunks): Remove variable.
24044         (elide-routines.oS): Don't use $(elide-bp-thunks).
24045         (elide-routines.os): Likewise.
24046         (elide-routines.o): Likewise.
24047         (elide-routines.op): Likewise.
24048         (elide-routines.og): Likewise.
24049         (objects): Don't use $(bp-thunks).
24050         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24051         include.
24052         (common-generated): Do not add s-proto-bp.d.
24053         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24054         (int): Likewise.
24055         (typ): Likewise.
24056         Do not generate makefile rules for bounded-pointer thunks.
24057         * sysdeps/generic/bp-thunks.h: Remove file.
24058         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24059         * sysdeps/unix/s-proto-bp.S: Likewise.
24060
24061         [BZ #15062]
24062         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24063         parts of result separately when argument is not close to line from
24064         -i to i and one part of argument is small.
24065         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24066         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24067         * math/libm-test.inc (cacos_test): Add more tests.
24068         (casin_test): Likewise.
24069         (casinh_test): Likewise.
24070         * sysdeps/i386/fpu/libm-test-ulps: Update.
24071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24072
24073 2013-01-31  David S. Miller  <davem@davemloft.net>
24074
24075         * po/de.po: Update from translation team.
24076
24077 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24078
24079         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24080
24081 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24082
24083         * configure.in (_AC_PROG_CC_C89): New definition.
24084         * configure: Regenerate.
24085
24086         * configure.in (AC_PROG_CPP): New definition.
24087         * configure: Regenerate.
24088
24089 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24090
24091         * debug/tst-backtrace.h: New file.
24092         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24093         (ret): Remove variable.
24094         (x): Likewise.
24095         (FAIL): Remove macro.
24096         (NO_INLINE): Likewise.
24097         (fn1): Use match function instead of strstr.
24098         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24099         (ret): Remove variable.
24100         (x): Likewise.
24101         (FAIL): Remove macro.
24102         (NO_INLINE): Likewise.
24103         (fn): Use match function instead of strstr.
24104         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24105         (ret): Remove variable.
24106         (x): Likewise.
24107         (FAIL): Remove macro.
24108         (NO_INLINE): Likewise.
24109         (handle_signal): Use match function instead of strstr.
24110         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24111         (ret): Remove variable.
24112         (x): Likewise.
24113         (FAIL): Remove macro.
24114         (NO_INLINE): Likewise.
24115         (handle_signal): Use match function instead of strstr.
24116
24117 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24118
24119         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24120
24121 2013-01-23  David S. Miller  <davem@davemloft.net>
24122
24123         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24124         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24125         argument of CAS if possible.
24126         * sysdeps/sparc/sparc64/bits/atomic.h
24127         (__arch_compare_and_exchange_val_32_acq): Likewise.
24128         (__arch_compare_and_exchange_val_64_acq): Likewise.
24129
24130 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24131
24132         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24133         * sysdeps/posix/ulimit.c: ... this.
24134         Include <limits.h>.
24135         * sysdeps/unix/bsd/ulimit.c: Remove file.
24136
24137 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24138
24139         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24140         (LDFLAGS-tst-array5): Likewise.
24141
24142 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24143
24144         [BZ #15036]
24145         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24146         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24147         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24148         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24149
24150 2013-01-21  David S. Miller  <davem@davemloft.net>
24151
24152         * sysdeps/sparc/backtrace.c: New file.
24153         * sysdeps/sparc/sparc32/backtrace.h: New file.
24154         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24155         * sysdeps/sparc/sparc64/backtrace.h: New file.
24156         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24157         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24158         -funwind-tables.
24159
24160 2013-01-21  Andreas Schwab  <schwab@suse.de>
24161
24162         [BZ #15020]
24163         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24164         closed its stdout.
24165
24166 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24167
24168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24169         "mpa2.h".
24170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24171
24172 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24173             Mark Mitchell  <mark@codesourcery.com>
24174             Tom de Vries  <tom@codesourcery.com>
24175             Paul Pluzhnikov  <ppluzhnikov@google.com>
24176
24177         * debug/tst-backtrace2.c: New file.
24178         * debug/tst-backtrace3.c: Likewise.
24179         * debug/tst-backtrace4.c: Likewise.
24180         * debug/tst-backtrace5.c: Likewise.
24181         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24182         (CFLAGS-tst-backtrace3.c): Likewise.
24183         (CFLAGS-tst-backtrace4.c): Likewise.
24184         (CFLAGS-tst-backtrace5.c): Likewise.
24185         (LDFLAGS-tst-backtrace2): Likewise.
24186         (LDFLAGS-tst-backtrace3): Likewise.
24187         (LDFLAGS-tst-backtrace4): Likewise.
24188         (LDFLAGS-tst-backtrace5): Likewise.
24189         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24190         tst-backtrace4 and tst-backtrace5.
24191
24192 2013-01-18  Anton Blanchard  <anton@samba.org>
24193             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24194
24195         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24196         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24197         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24198         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24200         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24201         "+r" and remove output regs list as redundant.  Add explicit inline
24202         asm to specify register of return val to work around compiler codegen
24203         bug.  Remove (int) cast on return value.  Add return type parameter to
24204         use in macro so that this macro does not truncate return value for
24205         64-bit values.
24206         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24207         pass to INTERNAL_VSYSCALL_NCS.
24208         (INLINE_VSYSCALL): Add 'long int' as return type to
24209         INTERNAL_VSYSCALL_NCS macro invocation.
24210         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24211         INTERNAL_VSYSCALL_NCS macro invocation.
24212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24213
24214 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24215
24216         [BZ #14496]
24217         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24218         Fix application of SIMD FP exception mask.
24219
24220         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24221         mp_no from a power of two.
24222         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24223         __mpexp_twomm1.  Use __pow_mp.
24224
24225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24226         multiplication.
24227
24228 2013-01-17  David S. Miller  <davem@davemloft.net>
24229
24230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24231
24232 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24233
24234         [BZ #15023]
24235         * include/complex.h: Condition contents on [!_COMPLEX_H].
24236         (__kernel_casinhf): New prototype.
24237         (__kernel_casinh): Likewise.
24238         (__kernel_casinhl): Likewise.
24239         * math/Makefile (libm_calls): Add k_casinh.
24240         * math/k_casinh.c: New file.
24241         * math/k_casinhf.c: Likewise.
24242         * math/k_casinhl.c: Likewise.
24243         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24244         finite nonzero arguments.
24245         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24246         finite nonzero arguments.
24247         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24248         finite nonzero arguments.
24249         * math/s_casinh.c: Do not include <float.h>.
24250         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24251         * math/s_casinhf.c: Do not include <float.h>.
24252         (__casinhf): Move code for finite nonzero arguments to
24253         k_casinhf.c.
24254         * math/s_casinhl.c: Do not include <float.h>.
24255         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24256         redefine.
24257         (__casinhl): Move code for finite nonzero arguments to
24258         k_casinhl.c.
24259         * math/libm-test.inc (cacos_test): Add more tests.
24260         * sysdeps/i386/fpu/libm-test-ulps: Update.
24261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24262
24263 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24264
24265         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24266         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24267         [!HAVE_MREMAP]: Remove [defined linux] case.
24268         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24269
24270 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24271
24272         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24273
24274 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24275
24276         * elf/elf.h (R_386_SIZE32): New relocation.
24277         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24278         R_386_SIZE32.
24279         (elf_machine_rela): Likewise.
24280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24281         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24282
24283 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24284
24285         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24286         (FP_FAST_FMA): Do not define.
24287         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24288         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24289         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24290         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24291         !_SOFT_FLOAT]: Likewise.
24292         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24293         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24294         value.
24295         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24296         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24297         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24298         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24299         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24300         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24301         file.
24302
24303 2013-01-16  Andreas Schwab  <schwab@suse.de>
24304
24305         [BZ #14327]
24306         * include/stdlib.h (__mktemp): Add declaration.
24307         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24308         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24309
24310 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24311
24312         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24313         definitions.
24314         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24315         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24316         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24317         definitions here.
24318         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24319         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24320         definitions.
24321         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24322         and ONE.
24323         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24324         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24325         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24326         definitions.
24327         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24328         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24329         definitions.
24330         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24331
24332         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24333
24334 2013-01-15  David S. Miller  <davem@davemloft.net>
24335
24336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24337         trunc{,f} to libm-sysdep_routes.
24338         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24340         file.
24341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24343         file.
24344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24345         file.
24346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24348         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24349         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24350         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24351         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24352         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24353         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24354
24355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24356         nearbyint{,f} to libm-sysdep_routes.
24357         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24359         New file.
24360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24361         file.
24362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24363         New file.
24364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24365         file.
24366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24368         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24369         file.
24370         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24371         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24372         file.
24373         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24374         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24375         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24376
24377         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24378         libc_feholdexcept and libc_fesetenv.
24379
24380 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24381
24382         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24383
24384 2013-01-14  David S. Miller  <davem@davemloft.net>
24385
24386         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24387         (SPARC_ASM_VIS2_IFUNC): Likewise.
24388         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24390         use of 'siam' instruction.
24391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24392         Likewise.
24393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24394         Likewise.
24395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24396         Likewise.
24397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24399         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24400         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24402         file.
24403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24404         file.
24405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24406         file.
24407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24408         file.
24409         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24410         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24411         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24412         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24414         new VIS2 routines.
24415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24418         Likewise.
24419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24424         routines to libm-sysdep_routines.
24425         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24426
24427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24428         fdim/fdimf to libm-sysdep_routines.
24429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24430         file.
24431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24433         file.
24434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24437         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24438         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24439         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24440         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24441
24442 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24443
24444         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24445         to optimize copies.
24446
24447         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24450
24451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24452         local variable MPTWO.
24453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24454         Likewise.
24455
24456 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24457
24458         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24459         GLOB_NOESCAPE.
24460
24461 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24462
24463         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24464
24465 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24466
24467         * manual/pattern.texi (glob_t): Document gl_flags.
24468         (glob64_t): Likewise.
24469
24470 2013-01-11  David S. Miller  <davem@davemloft.net>
24471
24472         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24473         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24474         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24475         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24476         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24477         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24478         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24479         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24480         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24481         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24482         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24483         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24484         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24485
24486         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24487         sparc V9 rather than using V8 code.
24488         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24489         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24490
24491         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24492         Move to...
24493         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24494         Here.
24495
24496 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24497
24498         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24499         not in the main loop.
24500         * configure: Regenerated.
24501
24502 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24503
24504         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24505         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24506         to just #else.
24507         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24508         [!__GLIBC_HAVE_LONG_LONG] case.
24509         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24510         condition to just #else.
24511         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24512         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24513         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24514         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24515         unconditional.
24516         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24517         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24518         #elif condition to just #else.
24519         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24520         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24521         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24522         #elif condition to just #else.
24523
24524 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24525
24526         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24527         (EF_MIPS_ARCH_64): Fix value.
24528         (EF_MIPS_ARCH_32R2): New.
24529         (EF_MIPS_ARCH_64R2): New.
24530
24531 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24532
24533         * Makeconfig (+link-pie-before-libc): New.
24534         (+link-pie-after-libc): Likewise.
24535         (+link-pie-tests): Likewise.
24536         (+link-pie): Rewritten.
24537         (link-before-libc): Remove $(config-LDFLAGS).
24538         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24539         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24540         (config-LDFLAGS): Renamed to ...
24541         (rtld-LDFLAGS): This.
24542         (rtld-tests-LDFLAGS): New macro.
24543         (link-libc-rpath-link): Likewise.
24544         (link-libc-tests-rpath-link): Likewise.
24545         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24546         (link-libc): Prepand $(link-libc-rpath-link).
24547         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24548         (test-program-prefix): New macro.
24549         (test-via-rtld-prefix): Likewise.
24550         (test-program-cmd): Likewise.
24551         (host-test-program-cmd): Likewise.
24552         * Makefile ($(common-objpfx)testrun.sh): Replace
24553         $(run-program-prefix) with $(test-program-prefix).
24554         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24555         $(rtld-LDFLAGS).
24556         ($(common-objpfx)shlib.lds): Likewise.
24557         (build-module-helper): Likewise.
24558         ($(common-objpfx)format.lds): Likewise.
24559         * Rules (binaries-pie-tests): New.
24560         (binaries-pie-notests): Likewise.
24561         (binaries-pie): Rewritten.
24562         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24563         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24564         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24565         (make-test-out): Replace $(host-built-program-cmd) with
24566         $(host-test-program-cmd).
24567         * config.make.in (build-hardcoded-path-in-tests): New variable.
24568         * configure.in (--enable-hardcoded-path-in-tests): New configure
24569         option.
24570         (hardcoded_path_in_tests): New AC_SUBST.
24571         * configure: Regenerated.
24572         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24573         $(built-program-cmd) with $(test-program-cmd).
24574         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24575         (test_program_cmd): This.
24576         * elf/Makefile ($(objpfx)order.out): Run test with
24577         $(test-program-prefix).
24578         ($(objpfx)order2.out): Likewise.
24579         ($(objpfx)tst-initorder.out): Likewise.
24580         ($(objpfx)tst-initorder2.out): Likewise.
24581         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24582         $(test-program-cmd).
24583         ($(objpfx)tst-array1-static.out): Likewise.
24584         ($(objpfx)tst-array2.out): Likewise.
24585         ($(objpfx)tst-array3.out): Likewise.
24586         ($(objpfx)tst-array4.out): Likewise.
24587         ($(objpfx)tst-array5.out): Likewise.
24588         ($(objpfx)tst-array5-static.out): Likewise.
24589         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24590         $(test-program-cmd).
24591         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24592         $(run-program-prefix) with $(test-program-prefix).
24593         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24594         (test_program_prefix): This.
24595         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24596         $(run-program-prefix) with $(test-program-prefix).
24597         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24598         (test_program_prefix): This.
24599         * iconvdata/tst-tables.sh: Likewise.
24600         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24601         $(run-program-prefix) with $(test-program-prefix).
24602         ($(objpfx)tst-translit.out): Likewise.
24603         ($(objpfx)tst-gettext2.out): Likewise.
24604         ($(objpfx)tst-gettext4.out): Likewise.
24605         ($(objpfx)tst-gettext6.out): Likewise.
24606         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24607         (test_program_prefix): This.
24608         * intl/tst-gettext2.sh: Likewise.
24609         * intl/tst-gettext4.sh  Likewise.
24610         * intl/tst-gettext6.sh: Likewise.
24611         * intl/tst-translit.sh: Likewise.
24612         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24613         with $(test-program-cmd).
24614         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24615         $(run-program-prefix) with $(test-program-prefix).
24616         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24617         (test_program_prefix): This.
24618         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24619         $(run-program-prefix) with $(test-program-prefix).
24620         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24621         (test_program_prefix): This.
24622         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24623         * posix/Makefile ($(objpfx)globtest.out): Replace
24624         $(run-via-rtld-prefix) and $(test-wrapper) with
24625         $(test-program-prefix) and $(test-via-rtld-prefix).
24626         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24627         $(test-program-prefix).
24628         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24629         $(host-test-program-cmd).
24630         (tst-spawn-ARGS): Likewise.
24631         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24632         $(test-program-prefix).
24633         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24634         (test_via_rtld_prefix): This.
24635         (test_wrapper): Renamed to ...
24636         (test_program_prefix): This.
24637         (run_program_prefix): Replaced by test_program_prefix.
24638         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24639         (test_program_prefix): This.
24640         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24641         with $(host-test-program-cmd).
24642         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24643         $(run-program-prefix) with $(test-program-prefix).
24644         ($(objpfx)tst-printf.out): Likewise.
24645         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24646         $(test-program-cmd).
24647         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24648         (test_program_prefix): This.
24649         * stdio-common/tst-unbputc.sh: Likewise.
24650         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24651         $(run-program-prefix) with $(test-program-prefix).
24652         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24653         (test_program_prefix): This.
24654         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24655         $(built-program-cmd) with $(test-program-cmd).
24656
24657 2013-01-11  Andreas Jaeger  <aj@suse.de>
24658
24659         [BZ #15003]
24660         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24661         value. Sync with Linux 3.7.
24662
24663 2013-01-10  David S. Miller  <davem@davemloft.net>
24664
24665         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24666         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24667         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24668
24669 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24670
24671         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24672         never set.
24673         * configure: Regenerated.
24674
24675 2013-01-10  David S. Miller  <davem@davemloft.net>
24676
24677         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24678         sparc V9 rather than using V8 code.
24679         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24680         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24681
24682 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24683
24684         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24685         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24686         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24687         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24688         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24689         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24690         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24691         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24692         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24693         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24694         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24695         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24696         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24697         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24698         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24699         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24700         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24701         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24702         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24703         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24704         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24705         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24706         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24707         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24708         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24709         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24710         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24711
24712 2013-01-10  David S. Miller  <davem@davemloft.net>
24713
24714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24715
24716 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24717
24718         * posix/Makefile (tests-static): New variable.
24719         (tests): Add $(tests-static).
24720         (tst-exec-static-ARGS): New variable.
24721         (tst-spawn-static-ARGS): Likewise.
24722         * posix/tst-exec-static.c: New file.
24723         * posix/tst-spawn-static.c: Likewise.
24724         * posix/tst-exec.c: Support run directly.
24725         * posix/tst-spawn.c: Likewise.
24726
24727 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24728
24729         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24730         long.
24731         * math/bits/mathcalls.h (llrint): Likewise.
24732         (llround): Likewise.
24733         * stdlib/stdlib.h (struct drand48_data): Likewise.
24734         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24735         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24736         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24737         Likewise.
24738         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24739         Likewise.
24740         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24741         (elf_greg_t): Likewise.
24742         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24743         (__jmp_buf): Likewise.
24744         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24745         definitions.
24746         (llrint): Likewise, for all definitions.
24747         (llrintl): Likewise.
24748
24749         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24750         Remove [__GNUC__] condition.
24751         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24752         condition to just [__USE_ISOC99].
24753         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24754
24755 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24756
24757         [BZ #14200]
24758         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24759         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24760         defined.
24761         (_POSIX_V6_ILP32_OFF32): Likewise.
24762         (_XBS5_ILP32_OFF32): Likewise.
24763         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24764         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24765
24766 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24767
24768         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24769
24770         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24771         doubles __mpexp_twomm1.  Adjust usage.
24772         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24773         Remove.
24774
24775 2013-01-10  Andreas Schwab  <schwab@suse.de>
24776
24777         [BZ #14964]
24778         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24779         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24780
24781 2013-01-09  David S. Miller  <davem@davemloft.net>
24782
24783         [BZ #15003]
24784         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24785         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24786         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24787         (TCP_FASTOPEN): Define.
24788         (tcp_repair_opt): New structure.
24789         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24790         enum values.
24791         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24792         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24793         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24794         (tcp_cookie_transactions): New structure.
24795
24796 2013-01-09  Anton Blanchard  <anton@samba.org>
24797
24798         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24799         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24800         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24801         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24802
24803 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24804
24805         * include/features.h (__USE_ANSI): Remove.
24806
24807 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24808
24809         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24810
24811         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24812
24813 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24814
24815         * sysdeps/s390/fpu/libm-test-ulps: Update.
24816
24817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24818
24819         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24820         (__acr): Likewise.
24821         (__cpy): Likewise.
24822         (norm): Likewise.
24823         (denorm): Likewise.
24824         (__mp_dbl): Likewise.
24825         (__dbl_mp): Likewise.
24826         (add_magnitudes): Likewise.
24827         (sub_magnitudes): Likewise.
24828         (__add): Likewise.
24829         (__sub): Likewise.
24830         (__mul): Likewise.
24831         (__inv): Likewise.
24832         (__dvd): Likewise.
24833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24834         (__acr): Likewise.
24835         (__cpy): Likewise.
24836         (norm): Likewise.
24837         (denorm): Likewise.
24838         (__mp_dbl): Likewise.
24839         (__dbl_mp): Likewise.
24840         (add_magnitudes): Likewise.
24841         (sub_magnitudes): Likewise.
24842         (__add): Likewise.
24843         (__sub): Likewise.
24844         (__mul): Likewise.
24845         (__inv): Likewise.
24846         (__dvd): Likewise.
24847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24848         (__acr): Likewise.
24849         (__cpy): Likewise.
24850         (norm): Likewise.
24851         (denorm): Likewise.
24852         (__mp_dbl): Likewise.
24853         (__dbl_mp): Likewise.
24854         (add_magnitudes): Likewise.
24855         (sub_magnitudes): Likewise.
24856         (__add): Likewise.
24857         (__sub): Likewise.
24858         (__mul): Likewise.
24859         (__inv): Likewise.
24860         (__dvd): Likewise.
24861
24862 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24863
24864         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24865         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24866         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24867         2 && __USE_EXTERN_INLINES]: Likewise.
24868
24869 2013-01-08  Andreas Jaeger  <aj@suse.de>
24870
24871         [BZ# 14985]
24872         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24873         Remove.
24874         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24875         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24876
24877 2013-01-07  Anton Blanchard  <anton@samba.org>
24878
24879         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24880         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24881         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24882         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24883         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24884         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24885         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24886         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24888         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24889         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24890         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24891         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24892         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24893         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24894         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24895         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24896         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24897         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24898         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24899         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24900         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24901         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24902         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24903         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24904         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24905         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24906         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24907         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24908         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24909         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24911         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24912         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24913         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24914         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24915         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24916         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24917         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24918         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24919         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24920         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24921         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24922
24923 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24924
24925         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24926         (__MALLOC_PMT): Likewise.
24927         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24928         [__GNUC__], only on [_LIBC].
24929         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24930         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24931         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24932         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24933         forward declaration.
24934         (realloc_hook_ini): Likewise.
24935         (memalign_hook_ini): Likewise.
24936         (__libc_memalign): Do not use __MALLOC_PMT in variable
24937         declaration.
24938         (__libc_valloc): Likewise.
24939         (__libc_pvalloc): Likewise.
24940         (__libc_calloc): Likewise.
24941         (__posix_memalign): Likewise.
24942
24943         [BZ #14996]
24944         * math/s_casinh.c: Include <float.h>.
24945         (__casinh): Do not do computation with squaring and square root
24946         for large arguments.
24947         * math/s_casinhf.c: Include <float.h>.
24948         (__casinhf): Do not do computation with squaring and square root
24949         for large arguments.
24950         * math/s_casinhl.c: Include <float.h>.
24951         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24952         (__casinhl): Do not do computation with squaring and square root
24953         for large arguments.
24954         * math/libm-test.inc (casin_test): Add more tests.
24955         (casinh_test): Likewise.
24956         * sysdeps/i386/fpu/libm-test-ulps: Update.
24957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24958
24959 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24960
24961         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24962         (__x86_64_raw_data_cache_size): Likewise.
24963         (__x86_64_data_cache_size_half): Likewise.
24964         (__x86_64_raw_data_cache_size_half): Likewise.
24965         (__x86_64_shared_cache_size): Likewise.
24966         (__x86_64_raw_shared_cache_size): Likewise.
24967         (__x86_64_shared_cache_size_half): Likewise.
24968         (__x86_64_raw_shared_cache_size_half): Likewise.
24969         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24970         to ...
24971         (__x86_data_cache_size): This.
24972         (__x86_64_raw_data_cache_size): Renamed to ...
24973         (__x86_raw_data_cache_size): This.
24974         (__x86_64_data_cache_size_half): Renamed to ...
24975         (__x86_data_cache_size_half): This.
24976         (__x86_64_raw_data_cache_size_half): Renamed to ...
24977         (__x86_raw_data_cache_size_half): This.
24978         (__x86_64_shared_cache_size): Renamed to ...
24979         (__x86_shared_cache_size): This.
24980         (__x86_64_raw_shared_cache_size): Renamed to ...
24981         (__x86_raw_shared_cache_size): This.
24982         (__x86_64_shared_cache_size_half): Renamed to ...
24983         (__x86_shared_cache_size_half): This.
24984         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24985         (__x86_raw_shared_cache_size_half): This.
24986         * sysdeps/x86_64/memcpy.S: Updated.
24987         * sysdeps/x86_64/memset.S: Likewise.
24988         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24989         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24990         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24991
24992 2013-01-04  David S. Miller  <davem@davemloft.net>
24993
24994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24995
24996 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24997
24998         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24999         1 to avoid redefinition warning.
25000         (__USE_GNU): Don't define.
25001         (init_signaling_nan): Protoize.
25002
25003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25004
25005 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25006
25007         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25009         (__cpymn): Likewise.
25010         (norm): Remove commented code.
25011         (denorm): Likewise.
25012         (__mp_dbl): Likewise.
25013         (__inv): Likewise.
25014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25015         (__cpymn): Likewise.
25016         (norm): Remove commented code.
25017         (denorm): Likewise.
25018         (__mp_dbl): Likewise.
25019         (__inv): Likewise.
25020
25021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25022         mp_no value for 1.0 and 2.0.
25023         (norm): Use RADIXI instead of radixi.d.
25024         (denorm): Likewise.
25025         (__mul): Use 0.0 instead of zero.d.
25026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25027         mp_no value for 1.0 and 2.0.
25028         (norm): Use RADIXI instead of radixi.d.
25029         (denorm): Likewise.
25030         (__mul): Use 0.0 instead of zero.d.
25031
25032 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25033
25034         [BZ #14994]
25035         * math/s_casinh.c (__casinh): Reduce finite argument to first
25036         quadrant then set signs of results at the end.
25037         * math/s_casinhf.c (__casinhf): Likewise.
25038         * math/s_casinhl.c (__casinhl): Likewise.
25039         * math/libm-test.inc (casin_test): Add more tests.
25040         (casinh_test): Likewise.
25041         * sysdeps/i386/fpu/libm-test-ulps: Update.
25042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25043
25044 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25045
25046         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25047
25048         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25049
25050         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25051         declarations.
25052         (denorm): Likewise.
25053         (__mp_dbl): Likewise.
25054         (__inv): Likewise.
25055
25056         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25057         and adjust the header comment.
25058
25059         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25060         variable name from declaration.
25061
25062 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25063
25064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25065         Initialize COMMON_CPUID_INDEX_7 element.
25066         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25067         (CPUID_RTM): Likewise.
25068         (HAS_RTM): Likewise.
25069         (COMMON_CPUID_INDEX_7): New enum.
25070
25071 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25072
25073         [BZ #14981]
25074         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25075         size is zero, record memory as freed.
25076
25077 2013-01-03  Andreas Jaeger  <aj@suse.de>
25078
25079         * po/ia.po: Add new Interlingua translation.
25080
25081 2012-01-03  Allan McRae  <allan@archlinux.org>
25082
25083         * locale/programs/localedef.c: Fix description of '--posix' flag.
25084
25085 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25086
25087         * NEWS: Update dates in second copyright notice.
25088         * README: Update copyright dates in example.
25089         * manual/libc.texinfo: Update copyright dates.
25090         * scripts/test-installation.pl: Update copyright date in --version
25091         output.
25092
25093         * hurd/ctty-input.c: Fix copyright notice formatting.
25094         * hurd/ctty-output.c: Likewise.
25095         * hurd/dtable.c: Likewise.
25096         * hurd/hurd-raise.c: Likewise.
25097         * hurd/hurdprio.c: Likewise.
25098         * hurd/msgportdemux.c: Likewise.
25099         * misc/sys/file.h: Likewise.
25100         * misc/sys/ioctl.h: Likewise.
25101         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25102         * sysdeps/mach/hurd/chdir.c: Likewise.
25103         * sysdeps/mach/hurd/fchdir.c: Likewise.
25104         * sysdeps/mach/hurd/rename.c: Likewise.
25105         * sysdeps/mach/hurd/rmdir.c: Likewise.
25106         * sysdeps/mach/hurd/seekdir.c: Likewise.
25107         * sysdeps/mach/hurd/setsid.c: Likewise.
25108         * sysdeps/posix/wait3.c: Likewise.
25109
25110         * All files with FSF copyright notices: Update copyright dates
25111         using scripts/update-copyrights.
25112         * intl/plural.c: Regenerated.
25113         * locale/programs/charmap-kw.h: Likewise.
25114         * locale/programs/locfile-kw.h: Likewise.
25115
25116 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25117
25118         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25119         four values.
25120
25121         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25122         calculation loop and add branch prediction.
25123
25124         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25125         check access beyond bounds of m1np.
25126
25127         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25128         MPTWO.
25129         (__inv): Remove local variable MPTWO to use the global
25130         constant.
25131         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25132         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25133         variable MPTWO.
25134         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25135         MP3HALFS static const.
25136
25137 2013-01-01  David S. Miller  <davem@davemloft.net>
25138
25139         * po/ca.po: Update from translation team.
25140
25141 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25142
25143         * scripts/update-copyrights: New file.
25144         * Makeconfig: Reformat copyright notice.
25145         * ctype/ctype.h: Likewise.
25146         * debug/swprintf_chk.c: Likewise.
25147         * elf/dl-cache.c: Likewise.
25148         * elf/dl-debug.c: Likewise.
25149         * elf/dl-object.c: Likewise.
25150         * grp/initgroups.c: Likewise.
25151         * hurd/Makefile: Likewise.
25152         * hurd/hurd/signal.h: Likewise.
25153         * hurd/hurdfault.c: Likewise.
25154         * hurd/hurdioctl.c: Likewise.
25155         * hurd/hurdlookup.c: Likewise.
25156         * hurd/intr-msg.c: Likewise.
25157         * iconv/gconv_open.c: Likewise.
25158         * libio/swprintf.c: Likewise.
25159         * locale/lc-ctype.c: Likewise.
25160         * locale/nl_langinfo.c: Likewise.
25161         * mach/Machrules: Likewise.
25162         * mach/Makefile: Likewise.
25163         * malloc/obstack.h: Likewise.
25164         * manual/Makefile: Likewise.
25165         * manual/tsort.awk: Likewise.
25166         * misc/bits/stab.def: Likewise.
25167         * nis/nis_print_group_entry.c: Likewise.
25168         * nis/nis_table.c: Likewise.
25169         * nis/nss_compat/compat-pwd.c: Likewise.
25170         * nis/nss_compat/compat-spwd.c: Likewise.
25171         * po/Makefile: Likewise.
25172         * posix/fnmatch.c: Likewise.
25173         * posix/regex.h: Likewise.
25174         * resolv/Makefile: Likewise.
25175         * resolv/nss_dns/dns-network.c: Likewise.
25176         * resolv/res_hconf.c: Likewise.
25177         * scripts/gen-sorted.awk: Likewise.
25178         * soft-fp/soft-fp.h: Likewise.
25179         * stdio-common/printf.h: Likewise.
25180         * stdlib/monetary.h: Likewise.
25181         * stdlib/random.c: Likewise.
25182         * stdlib/random_r.c: Likewise.
25183         * sysdeps/generic/Makefile: Likewise.
25184         * sysdeps/gnu/Makefile: Likewise.
25185         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25187         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25188         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25189         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25190         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25191         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25192         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25193         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25194         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25195         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25196         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25197         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25198         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25199         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25200         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25201         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25202         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25203         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25204         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25205         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25206         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25207         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25208         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25209         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25210         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25211         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25212         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25213         * sysdeps/mach/hurd/errnos.awk: Likewise.
25214         * sysdeps/mach/hurd/fork.c: Likewise.
25215         * sysdeps/mach/hurd/getcwd.c: Likewise.
25216         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25217         * sysdeps/mach/hurd/mmap.c: Likewise.
25218         * sysdeps/mach/hurd/utimes.c: Likewise.
25219         * sysdeps/mach/hurd/xmknod.c: Likewise.
25220         * sysdeps/posix/profil.c: Likewise.
25221         * sysdeps/posix/readdir_r.c: Likewise.
25222         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25223         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25224         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25225         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25227         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25228         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25229         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25231         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25232         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25233         * sysdeps/pthread/lio_listio.c: Likewise.
25234         * sysdeps/sparc/dl-procinfo.h: Likewise.
25235         * sysdeps/unix/i386/sysdep.S: Likewise.
25236         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25237         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25238         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25239         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25241         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25242         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25243         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25244         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25245         * sysdeps/wordsize-32/divdi3.c: Likewise.
25246         * time/sys/time.h: Likewise.
25247         * wcsmbs/Makefile: Likewise.
25248
25249 2013-01-01  David S. Miller  <davem@davemloft.net>
25250
25251         * po/fr.po: Update from translation team.
25252
25253         * catgets/gencat.c: Update copyright year.
25254         * csu/version.c: Likewise.
25255         * debug/catchsegv.sh: Likewise.
25256         * debug/pcprofiledump.c: Likewise.
25257         * debug/xtrace.sh: Likewise.
25258         * elf/ldconfig.c: Likewise.
25259         * elf/ldd.bash.in: Likewise.
25260         * elf/pldd.c: Likewise.
25261         * elf/sotruss.ksh: Likewise.
25262         * elf/sprof.c: Likewise.
25263         * iconv/iconv_prog.c: Likewise.
25264         * iconv/iconvconfig.c: Likewise.
25265         * locale/programs/locale.c: Likewise.
25266         * locale/programs/localedef.c: Likewise.
25267         * login/programs/pt_chown.c: Likewise.
25268         * malloc/memusage.sh: Likewise.
25269         * malloc/memusagestat.c: Likewise.
25270         * malloc/mtrace.pl: Likewise.
25271         * nscd/nscd.c: Likewise.
25272         * nss/getent.c: Likewise.
25273         * nss/makedb.c: Likewise.
25274         * posix/getconf.c: Likewise.
25275
25276 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25277
25278         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25279         numbers.
25280
25281 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25282
25283         * math/bits/mathcalls.h (modf): Use __nonnull.
25284
25285 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25286
25287         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25288         (split): Use macro CN instead of the bare value.
25289         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25290         could be used.
25291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25292         instead of the bare value.
25293         (power1): Likewise.
25294
25295 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25296
25297         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25298         __ATAN_TWOM.
25299         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25300
25301         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25302         their values.
25303         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25304         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25305         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25306         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25307
25308 2012-12-28  Andreas Jaeger  <aj@suse.de>
25309
25310         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25311         values are from Linux 3.7.
25312
25313         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25314         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25315
25316 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25317
25318         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25319         TRUE case.
25320
25321         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25322         (norm): Likewise.
25323         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25324         variables with preprocessor constants.
25325         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25326         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25327         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25328
25329 2012-12-27  Bruno Haible  <bruno@clisp.org>
25330
25331         [BZ #14317]
25332         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25333         only if needed.
25334
25335 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25336
25337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25338         and use variable directly.
25339         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25340
25341         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25342         MPONE.
25343         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25344         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25345         variable MPONE.
25346         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25347         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25348         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25349         include directive.  Remove local variable MPONE.
25350         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25351         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25352         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25353
25354 2012-12-25  David S. Miller  <davem@davemloft.net>
25355
25356         * version.h (RELEASE): Set to "development".
25357         (VERSION): Set to "2.17.90".
25358         * NEWS: Add 2.18 section.
25359
25360 2012-12-21  David S. Miller  <davem@davemloft.net>
25361
25362         * po/hr.po: Update from translation team.
25363
25364 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25365
25366         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25367
25368 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25369
25370         * NEWS:  Mention new memcpy for MIPS.
25371
25372 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25373
25374         * manual/contrib.texi (Contributors): Spelling correction.
25375
25376 2012-12-15  David S. Miller  <davem@davemloft.net>
25377
25378         * po/ru.po: Update from translation team.
25379
25380 2012-12-13  David S. Miller  <davem@davemloft.net>
25381
25382         * NEWS: Mention IFUNC testsuite enhancements.
25383
25384         * po/pl.po: Update from translation team.
25385         * po/bg.po: Likewise.
25386
25387         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25388         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25389
25390 2012-12-11  David S. Miller  <davem@davemloft.net>
25391
25392         * po/sv.po: Update from translation team.
25393
25394         * po/vi.po: Update from translation team.
25395
25396         * po/cs.po: Update from translation team.
25397
25398         * po/de.po: Update from translation team.
25399         * po/eo.po: Likewise.
25400         * po/nl.po: Likewise.
25401
25402 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25403
25404         [BZ #14246]
25405         * manual/argp.texi (Argp Helper Functions): Move node to follow
25406         Argp Parsing State.
25407
25408         [BZ #14872]
25409         * manual/conf.texi (Limits on File System Capacity): Mention if
25410         terminating null is included in the max size.
25411
25412 2012-12-10  Andreas Jaeger  <aj@suse.de>
25413
25414         * po/cs.po: Update from translation team.
25415
25416 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25417
25418         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25419         void pointer and cast to uintptr_t.
25420         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25421         path.
25422         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25423         * sysdeps/s390/s390-64/memset.S: Likewise.
25424
25425 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25426
25427         [BZ #14833]
25428         * menual/message.texi (Message Translation): Fix typos.
25429         (Helper programs for gettext): Likewise.
25430
25431 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25432
25433         [BZ #14898]
25434         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25435         Change to -1.
25436
25437 2012-12-07  David S. Miller  <davem@davemloft.net>
25438
25439         * po/libc.pot: Update.
25440
25441 2012-12-07  Richard Henderson  <rth@redhat.com>
25442
25443         [BZ #10114]
25444         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25445         normal/normal case to before the switch.
25446         (_FP_DIV): Likewise.
25447
25448 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25449             Mike Frysinger  <vapier@gentoo.org>
25450
25451         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25452         check for __NR_fadvise64_64.
25453
25454 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25455
25456         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25457         0, not just to plain "0" as a statement.
25458         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25459         with cw.
25460
25461 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25462
25463         * NEWS: Use sourceware.org in Bugzilla URL.
25464
25465 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25466
25467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25468         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25469
25470         * stdio-common/tst-put-error.c (do_test): Add newline to the
25471         padded test to ensure flush.
25472
25473 2012-12-05  Jeff Law  <law@redhat.com>
25474
25475         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25476
25477 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25478
25479         * README: Don't refer to ports add-on as distributed separately.
25480         Mention AArch64 in list of systems supported in the ports add-on.
25481
25482         * LICENSES: Add more non-FSF copyright and license notices.
25483
25484         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25485         ((unused)).
25486
25487         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25488
25489         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25490         10000 as width of padded output.
25491
25492 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25493
25494         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25495
25496         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25497         variable LX with __attribute__ ((unused)).
25498         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25499         Likewise.
25500         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25501         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25502         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25503         with __attribute__ ((unused)).
25504
25505 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25506
25507         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25508
25509 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25510
25511         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25512         (CFLAGS-nldbl-acos.c): New variable.
25513         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25514         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25515         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25516         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25517         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25518         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25519         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25520         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25521         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25522         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25523         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25524         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25525         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25526         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25527         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25528         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25529         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25530         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25531         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25532         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25533         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25534         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25535         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25536         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25537         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25538         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25539         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25540         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25541         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25542         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25543         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25544         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25545         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25546         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25547         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25548         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25549         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25550         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25551         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25552         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25553         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25554         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25555         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25556         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25557         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25558         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25559         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25560         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25561         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25562         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25563         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25564         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25565         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25566         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25567         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25568         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25569         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25570         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25571         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25572         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25573         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25574         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25575         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25576         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25577         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25578         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25579         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25580         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25581         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25582         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25583         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25584         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25585         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25586         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25587         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25588         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25589         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25590         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25591         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25592         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25593         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25594         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25595         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25596         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25597         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25598         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25599         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25600         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25601         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25602         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25603         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25604         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25605         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25606         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25607         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25608         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25609         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25610
25611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25612         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25613
25614         [BZ #14914]
25615         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25616         whole low double instead of just low 47 bits when splitting values
25617         into two parts.
25618
25619 2012-12-03  Allan McRae  <allan@archlinux.org>
25620
25621         * manual/stdio.texi (Predefined Printf Handlers): Remove
25622         @hsep and @vsep usage.
25623
25624 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25625
25626         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25627         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25628
25629 2012-12-03  Jeff Law  <law@redhat.com>
25630
25631         * time/sys/time.h (settimeofday): Do not mark TV argument
25632         as __nonnull.
25633
25634 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25635
25636         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25637         when currently writing and seek to current position when not.
25638         * libio/Makefile (tests): Remove bug-fclose1.
25639         * libio/bug-fclose1.c: Delete.
25640
25641 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25642
25643         * manual/arith.texi (feenableexcept): Fix typo.
25644         (fedisableexcept): Likewise.
25645
25646 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25647
25648         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25649         second, differently-typed declaration, rather than a cast.
25650
25651 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25652
25653         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25654         * include/rpc/svc.h: ... here.
25655
25656 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25657
25658         [BZ #13013]
25659         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25660         depending n and resplen2 to catch cases where answer
25661         equals answerp2.
25662
25663 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25664
25665         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25666         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25667
25668 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25669
25670         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25671
25672 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25673
25674         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25675
25676 2012-11-28  Jeff Law  <law@redhat.com>
25677
25678         [BZ #13761]
25679         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25680         dataset_temporary.  Track alloca usage into alloca_used.
25681         If dataset is large allocate and release it via malloc/free.
25682
25683 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25684
25685         [BZ #14197]
25686         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25687
25688 2012-11-28  David S. Miller  <davem@davemloft.net>
25689
25690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25691
25692 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25693
25694         [BZ #14803]
25695         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25696         of pi/2 rounded to nearest to 64 bits.
25697         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25698         nearest to 64 bits.
25699         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25700         bits.
25701
25702 2012-11-28  Jeff Law <law@redhat.com>
25703             Martin Osvald <mosvald@redhat.com>
25704
25705         [BZ #14889]
25706         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25707         * sunrpc/svc.c: Include time.h.
25708         (__svc_accept_failed): New function.
25709         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25710         any reason other than EINTR, call __svc_accept_failed.
25711         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25712         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25713
25714 2012-11-28  Andreas Schwab  <schwab@suse.de>
25715
25716         * scripts/abilist.awk: Also handle indirect functions in .opd
25717         section.
25718
25719 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25720
25721         [BZ #13881]
25722         * sysdeps/x86/fpu/powl_helper.c: New file.
25723         * sysdeps/x86/fpu/Makefile: Likewise.
25724         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25725         (p3): New object.
25726         (__ieee754_powl): Use __powl_helper for finite arguments except
25727         integer exponents below 8.
25728         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25729         (p3): New object.
25730         (__ieee754_powl): Use __powl_helper for finite arguments except
25731         integer exponents below 8.
25732         * math/libm-test.inc (pow_test): Add more tests and enable some
25733         previously disabled tests.
25734         * sysdeps/i386/fpu/libm-test-ulps: Update.
25735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25736
25737 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25738             Carlos O'Donell  <carlos_odonell@mentor.com>
25739
25740         * nss/makedb.c (is_prime): Assert that input is odd and greater
25741         than 4.  Note that fact in a comment too.
25742         (next_prime): Add 4 to input.
25743
25744 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25745
25746         [BZ #11741]
25747         * libio/Makefile (tests): Add test case tst-fwrite-error.
25748         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25749         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25750         * libio/tst-fwrite-error.c: New test case.
25751
25752 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25753
25754         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25755         before casting to void *.
25756         * include/libc-internal.h (__pointer_type): New macro.
25757         (__integer_if_pointer_type_sub): Likewise.
25758         (__integer_if_pointer_type): Likewise.
25759         (cast_to_integer): Likewise.
25760         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25761         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25762         before casting to atomic64_t.
25763         (atomic_exchange_acq): Likewise.
25764         (__arch_exchange_and_add_body): Likewise.
25765         (__arch_add_body): Likewise.
25766         (atomic_add_negative): Likewise.
25767         (atomic_add_zero): Likewise.
25768
25769 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25770
25771         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25772         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25773         (add_fdes): Likewise.
25774         (linear_search_fdes): Likewise.
25775         (binary_search_unencoded_fdes): Likewise.
25776
25777 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25778
25779         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25780
25781 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25782
25783         * configure.in: Autodetect C++ header directories.
25784         * configure: Regenerated.
25785
25786 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25787
25788         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25789
25790 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25791
25792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25793
25794 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25795
25796         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25797         LDBL_MANT_DIG == 106]: Disable some tests.
25798         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25799         Likewise.
25800         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25801         Likewise.
25802
25803         [BZ #14871]
25804         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25805         input for small inputs.  Return +/- pi/2 for large inputs.
25806         * math/libm-test.inc (atan_test): Add more tests.
25807
25808         * sysdeps/generic/unwind-dw2-fde-glibc.c
25809         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25810         __attribute__ ((unused)).
25811
25812         [BZ #14645]
25813         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25814         x * y if x and y are nonzero and z is zero.
25815
25816         [BZ #14811]
25817         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25818         nonzero exponents with absolute value below 0x1p-117 to +/-
25819         0x1p-117.
25820
25821         [BZ #14869]
25822         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25823         up arguments below 2**-450, not just those below 2**-500.
25824         * math/libm-test.inc (hypot_test): Add another test.
25825
25826         [BZ #14868]
25827         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25828         Return a+b for ratio over 2**120, not 2**60.
25829         * math/libm-test.inc (hypot_test): Add another test.
25830
25831         * math/libm-test.inc (clog_test): Use
25832         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25833         (clog10_test): Likewise.
25834
25835         [BZ #6778]
25836         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25837
25838 2012-11-22  Andreas Schwab  <schwab@suse.de>
25839
25840         * sysdeps/i386/fpu/libm-test-ulps: Update.
25841
25842 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25843
25844         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25845         printf output with newline.
25846
25847 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25848
25849         [BZ #14865]
25850         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25851         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25852         -z nodlopen, -z initfirst and -z execstack support.
25853         * configure: Regenerated.
25854
25855         * elf/elf.h (DF_1_NODIRECT): New macro.
25856         (DF_1_IGNMULDEF): Likewise.
25857         (DF_1_NOKSYMS): Likewise.
25858         (DF_1_NOHDR): Likewise.
25859         (DF_1_EDITED): Likewise.
25860         (DF_1_NORELOC): Likewise.
25861         (DF_1_SYMINTPOSE): Likewise.
25862         (DF_1_GLOBAUDIT): Likewise.
25863         (DF_1_SINGLETON): Likewise.
25864         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25865         DT_1_SUPPORTED_MASK bits.
25866         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25867
25868 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25869
25870         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25871
25872 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25873
25874         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25875         macro.
25876
25877         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25878         (sendmmsg): Move declarations...
25879         * socket/sys/socket.h: ... here.
25880         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25881         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25882         include it from...
25883         * socket/recvmmsg.c: ... this new file.
25884         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25885         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25886         definition of __sendmmsg hidden.
25887         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25888         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25889         Move ENOSYS stub into and include it from...
25890         * socket/sendmmsg.c: ... this new file.
25891         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25892         (sysdep_routines): Move recvmmsg and sendmmsg...
25893         * socket/Makefile (routines): ... here.
25894         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25895         (GLIBC_PRIVATE): Add __sendmmsg.
25896         * include/sys/socket.h (__sendmmsg): Add declarations.
25897         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25898         sendmmsg.
25899
25900 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25901
25902         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25903         variable I1 with __attribute__ ((unused)).
25904         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25905
25906 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25907
25908         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25909         DUMMY variables with __attribute__ ((unused)).
25910
25911         * bits/byteswap.h: Include <bits/types.h>.
25912         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25913
25914 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25915
25916         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25917         string_t.  Do not manually set errno.
25918         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25919         length with __strnlen.  Make sure to both set errno and return it on
25920         failure.
25921
25922 2012-11-19  David S. Miller  <davem@davemloft.net>
25923
25924         With help from Joseph Myers.
25925         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25926         very large arguments properly.
25927         * math/libm-test.inc (atan_test): New tests.
25928         (atan2_test): New tests.
25929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25931
25932 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25933
25934         [BZ #14856]
25935         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25936         Define to 3.
25937
25938         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25939         [POSIX] (EADDRNOTAVAIL): Likewise.
25940         [POSIX] (EAFNOSUPPORT): Likewise.
25941         [POSIX] (EALREADY): Likewise.
25942         [POSIX] (ECONNABORTED): Likewise.
25943         [POSIX] (ECONNREFUSED): Likewise.
25944         [POSIX] (ECONNRESET): Likewise.
25945         [POSIX] (EDESTADDRREQ): Likewise.
25946         [POSIX] (EDQUOT): Likewise.
25947         [POSIX] (EHOSTUNREACH): Likewise.
25948         [POSIX] (EIDRM): Likewise.
25949         [POSIX] (EISCONN): Likewise.
25950         [POSIX] (ELOOP): Likewise.
25951         [POSIX] (EMULTIHOP): Likewise.
25952         [POSIX] (ENETDOWN): Likewise.
25953         [POSIX] (ENETUNREACH): Likewise.
25954         [POSIX] (ENOBUFS): Likewise.
25955         [POSIX] (ENODATA): Likewise.
25956         [POSIX] (ENOLINK): Likewise.
25957         [POSIX] (ENOMSG): Likewise.
25958         [POSIX] (ENOPROTOOPT): Likewise.
25959         [POSIX] (ENOSR): Likewise.
25960         [POSIX] (ENOSTR): Likewise.
25961         [POSIX] (ENOTCONN): Likewise.
25962         [POSIX] (ENOTSOCK): Likewise.
25963         [POSIX] (EOPNOTSUPP): Likewise.
25964         [POSIX] (EOVERFLOW): Likewise.
25965         [POSIX] (EPROTO): Likewise.
25966         [POSIX] (EPROTONOSUPPORT): Likewise.
25967         [POSIX] (EPROTOTYPE): Likewise.
25968         [POSIX] (ESTALE): Likewise.
25969         [POSIX] (ETIME): Likewise.
25970         [POSIX] (ETXTBSY): Likewise.
25971         [POSIX] (EWOULDBLOCK): Likewise.
25972         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25973         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25974         [POSIX] (SEEK_CUR): Likewise.
25975         [POSIX] (SEEK_END): Likewise.
25976         [POSIX || UNIX98] (mode_t): Do not require.
25977         [POSIX] (off_t): Likewise.
25978         [POSIX] (pid_t): Likewise.
25979         [POSIX] (sys/stat.h): Do not allow header.
25980         [POSIX] (unistd.h): Likewise.
25981         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25982         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25983         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25984         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25985         require.
25986         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25987         sigevent): Specify elements.
25988         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25989         entry.
25990         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25991         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25992
25993         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25994         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25995         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25996         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25997         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25998         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25999         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26000         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26001         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26002         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26003         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26004         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26005         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26006         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26007         Likewise.
26008         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26009         Likewise.
26010         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26011         Likewise.
26012         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26013         Likewise.
26014         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26015         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26016         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26017         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26018         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26019         Specify lower bound on value.
26020         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26021         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26022         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26023         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26024         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26025         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26026         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26027         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26028         value.
26029         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26030         as optional.
26031         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26032         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26033         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26034         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26035         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26036         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26037         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26038         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26039         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26040         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26041         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26042         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26043         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26044         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26045         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26046         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26047         entry.
26048         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26049         optional.
26050         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26051         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26052         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26053         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26054         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26055         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26056         Likewise.
26057         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26058         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26059         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26060         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26061         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26062         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26063         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26064         as optional.
26065         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26066         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26067         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26068         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26069         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26070         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26071         specify as optional.
26072         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26073         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26074         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26075         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26076         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26077         [XPG3] (NL_LANGMAX): Likewise.
26078         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26079         [POSIX || XPG3] (NL_NMAX): Likewise.
26080         [POSIX || XPG3] (NL_SETMAX): Likewise.
26081         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26082         [XPG3] (NZERO): Likewise.
26083         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26084         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26085         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26086         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26087         (REG_ERANGE): Expect.
26088         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26089         optional-constant.
26090         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26091         Use (void) in prototype.
26092         [POSIX] (*_t): Allow.
26093         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26094         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26095         (WRDE_BADVAL): Expect.
26096
26097         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26098         expect.
26099         [XPG3 || XPG4] (O_RSYNC): Likewise.
26100         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26101         Likewise.
26102         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26103         [XPG3 || XPG4] (sigqueue): Likewise.
26104         [XPG3 || XPG4] (sigtimedwait): Likewise.
26105         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26106         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26107         [XPG3 || XPG4] (vsnprintf): Likewise.
26108         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26109         Likewise.
26110         [XPG3 || XPG4] (blksize_t): Likewise.
26111         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26112         Likewise.
26113         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26114         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26115         [XPG3 || XPG4] (struct itimerspec): Likewise.
26116         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26117         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26118         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26119         [XPG3 || XPG4] (clockid_t): Likewise.
26120         [XPG3 || XPG4] (timer_t): Likewise.
26121         [XPG3 || XPG4] (clock_getres): Likewise.
26122         [XPG3 || XPG4] (clock_gettime): Likewise.
26123         [XPG3 || XPG4] (clock_settime): Likewise.
26124         [XPG3 || XPG4] (nanosleep): Likewise.
26125         [XPG3 || XPG4] (timer_create): Likewise.
26126         [XPG3 || XPG4] (timer_delete): Likewise.
26127         [XPG3 || XPG4] (timer_gettime): Likewise.
26128         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26129         [XPG3 || XPG4] (timer_settime): Likewise.
26130         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26131         [XPG3 || XPG4] (getlogin_r): Likewise.
26132         [XPG3 || XPG4] (pread): Likewise.
26133         [XPG3 || XPG4] (pthread_atfork): Likewise.
26134         [XPG3 || XPG4] (pwrite): Likewise.
26135
26136         [BZ #14835]
26137         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26138         <bits/siginfo.h>.
26139
26140 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26141
26142         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26143         finalizing MALLSTREAM.
26144
26145         * sysdeps/mach/hurd/syncfs.c: New file.
26146
26147 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26148
26149         [BZ #14719]
26150         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26151         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26152         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26153         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26154         (_nss_dns_gethostbyname4_r): Likewise.
26155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26156         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26157
26158 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26159
26160         [BZ #13763]
26161         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26162
26163 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26164
26165         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26166         * elf/cache.c (print_entry): Print ",AArch64" for
26167         FLAG_AARCH64_LIB64
26168
26169         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26170         * elf/cache.c (print_entry): Print ",hard-float" for
26171         FLAG_ARM_LIBHF.
26172
26173 2012-11-18  David S. Miller  <davem@davemloft.net>
26174
26175         With help from Joseph Myers.
26176         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26177         cutoff to 2**-13.
26178         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26179         cutoff to 2**-25.
26180         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26181         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26182         small.
26183         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26184         * math/libm-test.inc (y0_test): New tests.
26185         (y1_test): New tests.
26186         * sysdeps/i386/fpu/libm-test-ulps: Update.
26187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26189
26190 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26191
26192         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26193         64-bit targets.
26194         * configure: Regenerated.
26195
26196 2012-11-17  David S. Miller  <davem@davemloft.net>
26197
26198         [BZ #14811]
26199         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26200         nonzero exponents with absolute value below 0x1p-128 to +/-
26201         0x1p-128.
26202
26203 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26204
26205         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26206
26207         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26208
26209         * posix/getconf-speclist.c: New file.
26210         * posix/posix-envs.def: Likewise.
26211         * posix/confstr.c (START_ENV_GROUP): New macro.
26212         (END_ENV_GROUP): Likewise.
26213         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26214         (KNOWN_PRESENT_ENV_STRING): Likewise.
26215         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26216         (UNKNOWN_ENVIRONMENT): Likewise.
26217         (confstr): Include posix-envs.def instead of handling
26218         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26219         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26220         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26221         (END_ENV_GROUP): Likewise.
26222         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26223         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26224         (UNKNOWN_ENVIRONMENT): Likewise.
26225         (__sysconf): Include posix-envs.def instead of handling associated
26226         cases directly here.
26227         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26228         preprocessing getconf-speclist.c rather than running getconf or
26229         generating empty file.
26230
26231 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26232
26233         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26234
26235 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26236
26237         [BZ #14672]
26238         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26239
26240 2012-11-16  David S. Miller  <davem@davemloft.net>
26241
26242         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26243         smaller than LDBL_EPSILON/2.0L, just return xm1.
26244
26245 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26246
26247         * elf/tst-array1.c (init): Set constructor priority to 1000.
26248         (fini): Set destructor priority to 1000.
26249         * elf/tst-array2dep.c: Likewise.
26250
26251 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26252
26253         [BZ #11741]
26254         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26255         (_IO_new_file_xsputn): Also return EOF if none of the input
26256         data was written when overflow failed.
26257         * libio/iopadn.c (_IO_padn): Likewise.
26258         * libio/iowpadn.c (_IO_wpadn): Likewise.
26259         * stdio-common/tst-put-error.c: Add copyright notice.
26260         (do_test): Add case for printing padded string.
26261         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26262         _IO_padn returned error.
26263         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26264         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26265         return EOF.
26266
26267 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26268
26269         * libio/libioP.h: Add comment note that the references to C++
26270         bits are now obsolete.
26271
26272 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26273
26274         * math/libm-test.inc (check_complex): Use asprintf.
26275
26276 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26277
26278         * debug/pcprofiledump.c (print_version): Update copyright year.
26279         * malloc/memusagestat.c (print_version): Likewise.
26280
26281 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26282
26283         [BZ #14831]
26284         * elf/Makefile (tests): Add tst-audit8.
26285         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26286         ($(objpfx)tst-audit8.out): New target.
26287         (tst-audit8-ENV): New variable.
26288         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26289         audit if l_reloc_result is NULL.
26290         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26291         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26292         * elf/tst-audit8.c: New file.
26293
26294 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26295
26296         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26297         * misc/Makefile (CFLAGS-select.c): Define.
26298         * posix/Makefile (CFLAGS-pause.c): Define.
26299
26300 2012-11-13  David S. Miller  <davem@davemloft.net>
26301
26302         * crypt/Makefile: Move test targets after toplevel Rules
26303         inclusion.  Grab any necessary sysdep routines when linking.
26304         * crypt/md5.c (md5_process_block): Remove define, we will always
26305         name it __md5_process_block.
26306         (md5_finish_ctx): Update md5_process_block call.
26307         (md5_stream): Likewise.
26308         (md5_process_bytes): Likewise.
26309         (md5_process_block): Rename to __md5_process_block and move to ...
26310         * crypt/md5-block.c: ... here.
26311         * crypt/sha256.c (sha256_process_block): Move to ...
26312         * crypt/sha256-block.c: ... here.
26313         * crypt/sha512.c (sha512_process_block): Move to ...
26314         * crypt/sha512-block.c: ... here.
26315         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26316         path.
26317         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26318         * sysdeps/sparc/sparc64/multiarch/Makefile
26319         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26320         crypt subdir.
26321         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26322         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26323         multiarch changes.
26324         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26325         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26326         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26327         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26328         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26329         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26330         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26331         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26332         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26333         file.
26334         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26335         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26336         file.
26337         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26338
26339 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26340
26341         * timezone/tzselect.ksh: Update from tzcode git revision
26342         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26343         * timezone/zdump.c: Likewise.
26344         * timezone/zic.c: Likewise.
26345         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26346         in TZVERSION setting, not $(PKGVERSION).
26347         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26348         REPORT_BUGS_TO settings.
26349
26350         [BZ #14838]
26351         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26352         macro.
26353
26354 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26355
26356         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26357         detection to immediately after _FP_ROUND().
26358         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26359         bits are 0.
26360
26361 2012-11-11  David S. Miller  <davem@davemloft.net>
26362
26363         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26364         inttypes.h
26365         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26366         __close rather than their public counterparts.
26367
26368 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26369
26370         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26371         file.
26372         [UNIX98] (sem_timedwait): Do not expect.
26373         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26374         [XPG4 || UNIX98] (sockatmark): Do not expect.
26375         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26376         (clock_getcpuclockid): Do not expect.
26377         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26378         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26379         Do not expect.
26380         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26381         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26382         [UNIX98] (vwscanf): Likewise.
26383         [UNIX98] (vswscanf): Likewise.
26384
26385 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26386
26387         * timezone/version.h: Remove file.
26388         * timezone/README: Do not refer to version.h.
26389         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26390         $(objpfx)version.h.
26391         ($(objpfx)zdump.o): Likewise.
26392         ($(objpfx)version.h): New target.
26393
26394         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26395         2012i.
26396         * timezone/README: Don't mention modification to tzselect.ksh.
26397         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26398         work on unmodified tzselect.ksh.  Substitute version numbers in
26399         tzselect.ksh.
26400
26401         * Makefile (format-me): Remove.
26402         (INSTALL): Adjust indentation.  Use commands directly instead of
26403         using $(format-me).
26404
26405         * aclocal.m4 (ACX_PKGVERSION): New macro.
26406         (ACX_BUGURL): Likewise.
26407         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26408         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26409         (REPORT_BUGS_TO): Likewise.
26410         * configure: Regenerated.
26411         * config.h.in (PKGVERSION): New macro.
26412         (REPORT_BUGS_TO): Likewise.
26413         * config.make.in (PKGVERSION): New variable.
26414         (PKGVERSION_TEXI): Likewise.
26415         (REPORT_BUGS_TO): Likewise.
26416         (REPORT_BUGS_TEXI): Likewise.
26417         * Makefile (format-me): Use -I$(common-objpfx)manual.
26418         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26419         ($(common-objpfx)manual/%): New target.
26420         (manual/%): Remove target.
26421         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26422         (print_version): Use PKGVERSION.
26423         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26424         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26425         and REPORT_BUGS_TO.
26426         ($(objpfx)xtrace): Likewise.
26427         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26428         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26429         (print_version): Use PKGVERSION.
26430         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26431         (do_version): Use PKGVERSION.
26432         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26433         REPORT_BUGS_TO.
26434         (common-ldd-rewrite): Likewise.
26435         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26436         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26437         (print_version): Use PKGVERSION.
26438         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26439         * elf/pldd.c (argp_program_bug_address): Remove variable.
26440         (more_help): New function.
26441         (argp): Use more_help.
26442         (print_version): Use PKGVERSION.
26443         * elf/sln.c (main): Use PKGVERSION.
26444         (usage): Use REPORT_BUGS_TO.
26445         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26446         (top level): Use PKGVERSION.
26447         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26448         (print_version): Use PKGVERSION.
26449         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26450         (print_version): Use PKGVERSION.
26451         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26452         (print_version): Use PKGVERSION.
26453         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26454         (print_version): Use PKGVERSION.
26455         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26456         (print_version): Use PKGVERSION.
26457         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26458         (print_version): Use PKGVERSION.
26459         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26460         and BUGURL.
26461         ($(objpfx)memusage): Likewise.
26462         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26463         (do_version): Use PKGVERSION.
26464         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26465         (print_version): Use PKGVERSION.
26466         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26467         ($PKGVERSION): New variable.
26468         ($REPORT_BUGS_TO): Likewise.
26469         (usage): Use $REPORT_BUGS_TO.
26470         (top level): Use $PKGVERSION.
26471         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26472         ($(objpfx)pkgvers.texi): New rule.
26473         ($(objpfx)stamp-pkgvers): Likewise.
26474         * manual/install.texi: Include pkgvers.texi.
26475         (--with-pkgversion): Document new configure option.
26476         (--with-bugurl): Likewise.
26477         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26478         than necessarily for this particular distribution.  Use
26479         REPORT_BUGS_TO for where to report bugs.
26480         * INSTALL: Regenerated.
26481         * manual/libc.texinfo: Include pkgvers.texi.
26482         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26483         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26484         (print_version): Use PKGVERSION.
26485         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26486         (print_version): Use PKGVERSION.
26487         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26488         (print_version): Use PKGVERSION.
26489         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26490         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26491         macro.
26492         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26493         (print_version): Use PKGVERSION.
26494         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26495         (print_version): Use PKGVERSION.
26496         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26497         and PKGVERSION.
26498
26499         * timezone/checktab.awk: Update from tzcode 2012i.
26500         * timezone/ialloc.c: Likewise.
26501         * timezone/private.h: Likewise.
26502         * timezone/scheck.c: Likewise.
26503         * timezone/tzfile.h: Likewise.
26504         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26505         (TZVERSION): Hardcode tzcode version number.
26506         * timezone/zdump.c: Update from tzcode 2012i.
26507         * timezone/zic.c: Likewise.
26508         * timezone/version.h: New file.
26509         * timezone/README: Describe version.h.  Update upstream location.
26510
26511         [BZ #14824]
26512         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26513         (mktemp): Enable declaration.
26514         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26515         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26516         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26517         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26518         Likewise.
26519         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26520         Likewise.
26521         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26522         Likewise.
26523         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26524         Likewise.
26525         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26526         Likewise.
26527         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26528         Likewise.
26529
26530         [BZ #14821]
26531         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26532         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26533         for copies of such integer values.
26534         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26535         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26536
26537 2012-11-09  Andreas Jaeger  <aj@suse.de>
26538
26539         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26540         definitions and declarations that are provided by
26541         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26542
26543 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26544
26545         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26546         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26547         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26548         definition.
26549
26550 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26551
26552         * elf/elf.h: Update comment before AArch64 relocations.
26553
26554 2012-11-07  David S. Miller  <davem@davemloft.net>
26555
26556         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26557         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26558         (__start_context): Declare.
26559         (__makecontext_ret): Delete.
26560         (__makecontext): Hook up __start_context instead of
26561         __makecontext_ret.
26562         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26563         (sysdep_routines): Add __start_context when in stdlib.
26564
26565 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26566
26567         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26568         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26569         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26570         hardcoded "nm".
26571         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26572         (READELF): New variable.  Use it instead of hardcoded "readelf".
26573
26574 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26575
26576         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26577         * sysdeps/x86/Makefile: Here.
26578         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26579         * sysdeps/x86/tst-xmmymm.sh: This.
26580
26581 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26582
26583         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26584         expectations.
26585         [UNIX98] (pthread_barrier_t): Do not expect.
26586         [UNIX98] (pthread_barrierattr_t): Likewise.
26587         [UNIX98] (pthread_spinlock_t): Likewise.
26588         [UNIX98] (pthread_barrier_destroy): Likewise.
26589         [UNIX98] (pthread_barrier_init): Likewise.
26590         [UNIX98] (pthread_barrier_wait): Likewise.
26591         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26592         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26593         [UNIX98] (pthread_barrierattr_init): Likewise.
26594         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26595         [UNIX98] (pthread_getcpuclockid): Likewise.
26596         [UNIX98] (pthread_mutex_timedlock): Likewise.
26597         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26598         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26599         [UNIX98] (pthread_sigmask): Likewise.
26600         [UNIX98] (pthread_spin_destroy): Likewise.
26601         [UNIX98] (pthread_spin_init): Likewise.
26602         [UNIX98] (pthread_spin_lock): Likewise.
26603         [UNIX98] (pthread_spin_trylock): Likewise.
26604         [UNIX98] (pthread_spin_unlock): Likewise.
26605         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26606         Do not expect.
26607         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26608         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26609         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26610         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26611         [XPG3 || XPG4] (pthread_key_t): Likewise.
26612         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26613         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26614         [XPG3 || XPG4] (pthread_once_t): Likewise.
26615         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26616         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26617         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26618         [XPG3 || XPG4] (pthread_t): Likewise.
26619
26620         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26621         not expect.
26622         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26623
26624         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26625         Change function return type to int.
26626
26627         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26628         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26629         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26630         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26631         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26632         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26633         [!POSIX] (posix_madvise): Likewise.
26634         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26635         && !UNIX98].
26636         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26637         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26638         (mode_t): Likewise.
26639         (posix_mem_offset): Likewise.
26640         (posix_typed_mem_get_info): Likewise.
26641         (posix_typed_mem_open): Likewise.
26642
26643         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26644         Change condition to [XOPEN2K8].
26645
26646         * conform/conformtest.pl: Preprocess allow-header data with -x c
26647         instead of from stdin.
26648         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26649         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26650         [C99-based standards] (cerfc): Likewise.
26651         [C99-based standards] (cexp2): Likewise.
26652         [C99-based standards] (cexpm1): Likewise.
26653         [C99-based standards] (clog10): Likewise.
26654         [C99-based standards] (clog1p): Likewise.
26655         [C99-based standards] (clog2): Likewise.
26656         [C99-based standards] (clgamma): Likewise.
26657         [C99-based standards] (ctgamma): Likewise.
26658         [C99-based standards] (cerff): Likewise.
26659         [C99-based standards] (cerfcf): Likewise.
26660         [C99-based standards] (cexp2f): Likewise.
26661         [C99-based standards] (cexpm1f): Likewise.
26662         [C99-based standards] (clog10f): Likewise.
26663         [C99-based standards] (clog1pf): Likewise.
26664         [C99-based standards] (clog2f): Likewise.
26665         [C99-based standards] (clgammaf): Likewise.
26666         [C99-based standards] (ctgammaf): Likewise.
26667         [C99-based standards] (cerfl): Likewise.
26668         [C99-based standards] (cerfcl): Likewise.
26669         [C99-based standards] (cexp2l): Likewise.
26670         [C99-based standards] (cexpm1l): Likewise.
26671         [C99-based standards] (clog10l): Likewise.
26672         [C99-based standards] (clog1pl): Likewise.
26673         [C99-based standards] (clog2l): Likewise.
26674         [C99-based standards] (clgammal): Likewise.
26675         [C99-based standards] (ctgammal): Likewise.
26676         * conform/data/inttypes.h-data [C99-based standards]: Include
26677         stdint.h-data.  Remove all expectations for stdint.h contents.
26678         [C99-based standards] (PRI*): Do not allow.
26679         [C99-based standards] (SCN*): Likewise.
26680         [C99-based standards] (*_t): Likewise.
26681         [C99-based-standards] (PRId8): Expect macro.
26682         [C99-based-standards] (PRIi8): Likewise.
26683         [C99-based-standards] (PRIo8): Likewise.
26684         [C99-based-standards] (PRIu8): Likewise.
26685         [C99-based-standards] (PRIx8): Likewise.
26686         [C99-based-standards] (PRIX8): Likewise.
26687         [C99-based-standards] (SCNd8): Likewise.
26688         [C99-based-standards] (SCNi8): Likewise.
26689         [C99-based-standards] (SCNo8): Likewise.
26690         [C99-based-standards] (SCNu8): Likewise.
26691         [C99-based-standards] (SCNx8): Likewise.
26692         [C99-based-standards] (PRIdLEAST8): Likewise.
26693         [C99-based-standards] (PRIiLEAST8): Likewise.
26694         [C99-based-standards] (PRIoLEAST8): Likewise.
26695         [C99-based-standards] (PRIuLEAST8): Likewise.
26696         [C99-based-standards] (PRIxLEAST8): Likewise.
26697         [C99-based-standards] (PRIXLEAST8): Likewise.
26698         [C99-based-standards] (SCNdLEAST8): Likewise.
26699         [C99-based-standards] (SCNiLEAST8): Likewise.
26700         [C99-based-standards] (SCNoLEAST8): Likewise.
26701         [C99-based-standards] (SCNuLEAST8): Likewise.
26702         [C99-based-standards] (SCNxLEAST8): Likewise.
26703         [C99-based-standards] (PRIdFAST8): Likewise.
26704         [C99-based-standards] (PRIiFAST8): Likewise.
26705         [C99-based-standards] (PRIoFAST8): Likewise.
26706         [C99-based-standards] (PRIuFAST8): Likewise.
26707         [C99-based-standards] (PRIxFAST8): Likewise.
26708         [C99-based-standards] (PRIXFAST8): Likewise.
26709         [C99-based-standards] (SCNdFAST8): Likewise.
26710         [C99-based-standards] (SCNiFAST8): Likewise.
26711         [C99-based-standards] (SCNoFAST8): Likewise.
26712         [C99-based-standards] (SCNuFAST8): Likewise.
26713         [C99-based-standards] (SCNxFAST8): Likewise.
26714         [C99-based-standards] (PRId16): Likewise.
26715         [C99-based-standards] (PRIi16): Likewise.
26716         [C99-based-standards] (PRIo16): Likewise.
26717         [C99-based-standards] (PRIu16): Likewise.
26718         [C99-based-standards] (PRIx16): Likewise.
26719         [C99-based-standards] (PRIX16): Likewise.
26720         [C99-based-standards] (SCNd16): Likewise.
26721         [C99-based-standards] (SCNi16): Likewise.
26722         [C99-based-standards] (SCNo16): Likewise.
26723         [C99-based-standards] (SCNu16): Likewise.
26724         [C99-based-standards] (SCNx16): Likewise.
26725         [C99-based-standards] (PRIdLEAST16): Likewise.
26726         [C99-based-standards] (PRIiLEAST16): Likewise.
26727         [C99-based-standards] (PRIoLEAST16): Likewise.
26728         [C99-based-standards] (PRIuLEAST16): Likewise.
26729         [C99-based-standards] (PRIxLEAST16): Likewise.
26730         [C99-based-standards] (PRIXLEAST16): Likewise.
26731         [C99-based-standards] (SCNdLEAST16): Likewise.
26732         [C99-based-standards] (SCNiLEAST16): Likewise.
26733         [C99-based-standards] (SCNoLEAST16): Likewise.
26734         [C99-based-standards] (SCNuLEAST16): Likewise.
26735         [C99-based-standards] (SCNxLEAST16): Likewise.
26736         [C99-based-standards] (PRIdFAST16): Likewise.
26737         [C99-based-standards] (PRIiFAST16): Likewise.
26738         [C99-based-standards] (PRIoFAST16): Likewise.
26739         [C99-based-standards] (PRIuFAST16): Likewise.
26740         [C99-based-standards] (PRIxFAST16): Likewise.
26741         [C99-based-standards] (PRIXFAST16): Likewise.
26742         [C99-based-standards] (SCNdFAST16): Likewise.
26743         [C99-based-standards] (SCNiFAST16): Likewise.
26744         [C99-based-standards] (SCNoFAST16): Likewise.
26745         [C99-based-standards] (SCNuFAST16): Likewise.
26746         [C99-based-standards] (SCNxFAST16): Likewise.
26747         [C99-based-standards] (PRId32): Likewise.
26748         [C99-based-standards] (PRIi32): Likewise.
26749         [C99-based-standards] (PRIo32): Likewise.
26750         [C99-based-standards] (PRIu32): Likewise.
26751         [C99-based-standards] (PRIx32): Likewise.
26752         [C99-based-standards] (PRIX32): Likewise.
26753         [C99-based-standards] (SCNd32): Likewise.
26754         [C99-based-standards] (SCNi32): Likewise.
26755         [C99-based-standards] (SCNo32): Likewise.
26756         [C99-based-standards] (SCNu32): Likewise.
26757         [C99-based-standards] (SCNx32): Likewise.
26758         [C99-based-standards] (PRIdLEAST32): Likewise.
26759         [C99-based-standards] (PRIiLEAST32): Likewise.
26760         [C99-based-standards] (PRIoLEAST32): Likewise.
26761         [C99-based-standards] (PRIuLEAST32): Likewise.
26762         [C99-based-standards] (PRIxLEAST32): Likewise.
26763         [C99-based-standards] (PRIXLEAST32): Likewise.
26764         [C99-based-standards] (SCNdLEAST32): Likewise.
26765         [C99-based-standards] (SCNiLEAST32): Likewise.
26766         [C99-based-standards] (SCNoLEAST32): Likewise.
26767         [C99-based-standards] (SCNuLEAST32): Likewise.
26768         [C99-based-standards] (SCNxLEAST32): Likewise.
26769         [C99-based-standards] (PRIdFAST32): Likewise.
26770         [C99-based-standards] (PRIiFAST32): Likewise.
26771         [C99-based-standards] (PRIoFAST32): Likewise.
26772         [C99-based-standards] (PRIuFAST32): Likewise.
26773         [C99-based-standards] (PRIxFAST32): Likewise.
26774         [C99-based-standards] (PRIXFAST32): Likewise.
26775         [C99-based-standards] (SCNdFAST32): Likewise.
26776         [C99-based-standards] (SCNiFAST32): Likewise.
26777         [C99-based-standards] (SCNoFAST32): Likewise.
26778         [C99-based-standards] (SCNuFAST32): Likewise.
26779         [C99-based-standards] (SCNxFAST32): Likewise.
26780         [C99-based-standards] (PRId64): Likewise.
26781         [C99-based-standards] (PRIi64): Likewise.
26782         [C99-based-standards] (PRIo64): Likewise.
26783         [C99-based-standards] (PRIu64): Likewise.
26784         [C99-based-standards] (PRIx64): Likewise.
26785         [C99-based-standards] (PRIX64): Likewise.
26786         [C99-based-standards] (SCNd64): Likewise.
26787         [C99-based-standards] (SCNi64): Likewise.
26788         [C99-based-standards] (SCNo64): Likewise.
26789         [C99-based-standards] (SCNu64): Likewise.
26790         [C99-based-standards] (SCNx64): Likewise.
26791         [C99-based-standards] (PRIdLEAST64): Likewise.
26792         [C99-based-standards] (PRIiLEAST64): Likewise.
26793         [C99-based-standards] (PRIoLEAST64): Likewise.
26794         [C99-based-standards] (PRIuLEAST64): Likewise.
26795         [C99-based-standards] (PRIxLEAST64): Likewise.
26796         [C99-based-standards] (PRIXLEAST64): Likewise.
26797         [C99-based-standards] (SCNdLEAST64): Likewise.
26798         [C99-based-standards] (SCNiLEAST64): Likewise.
26799         [C99-based-standards] (SCNoLEAST64): Likewise.
26800         [C99-based-standards] (SCNuLEAST64): Likewise.
26801         [C99-based-standards] (SCNxLEAST64): Likewise.
26802         [C99-based-standards] (PRIdFAST64): Likewise.
26803         [C99-based-standards] (PRIiFAST64): Likewise.
26804         [C99-based-standards] (PRIoFAST64): Likewise.
26805         [C99-based-standards] (PRIuFAST64): Likewise.
26806         [C99-based-standards] (PRIxFAST64): Likewise.
26807         [C99-based-standards] (PRIXFAST64): Likewise.
26808         [C99-based-standards] (SCNdFAST64): Likewise.
26809         [C99-based-standards] (SCNiFAST64): Likewise.
26810         [C99-based-standards] (SCNoFAST64): Likewise.
26811         [C99-based-standards] (SCNuFAST64): Likewise.
26812         [C99-based-standards] (SCNxFAST64): Likewise.
26813         [C99-based-standards] (PRIdMAX): Likewise.
26814         [C99-based-standards] (PRIiMAX): Likewise.
26815         [C99-based-standards] (PRIoMAX): Likewise.
26816         [C99-based-standards] (PRIuMAX): Likewise.
26817         [C99-based-standards] (PRIxMAX): Likewise.
26818         [C99-based-standards] (PRIXMAX): Likewise.
26819         [C99-based-standards] (SCNdMAX): Likewise.
26820         [C99-based-standards] (SCNiMAX): Likewise.
26821         [C99-based-standards] (SCNoMAX): Likewise.
26822         [C99-based-standards] (SCNuMAX): Likewise.
26823         [C99-based-standards] (SCNxMAX): Likewise.
26824         [C99-based-standards] (PRIdPTR): Likewise.
26825         [C99-based-standards] (PRIiPTR): Likewise.
26826         [C99-based-standards] (PRIoPTR): Likewise.
26827         [C99-based-standards] (PRIuPTR): Likewise.
26828         [C99-based-standards] (PRIxPTR): Likewise.
26829         [C99-based-standards] (PRIXPTR): Likewise.
26830         [C99-based-standards] (SCNdPTR): Likewise.
26831         [C99-based-standards] (SCNiPTR): Likewise.
26832         [C99-based-standards] (SCNoPTR): Likewise.
26833         [C99-based-standards] (SCNuPTR): Likewise.
26834         [C99-based-standards] (SCNxPTR): Likewise.
26835         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26836         allow.
26837         * conform/data/stdint.h-data: Update comments to clarify
26838         requirements.
26839         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26840         type.
26841         [C99-based standards] (INT8_MAX): Likewise.
26842         [C99-based standards] (INT16_MIN): Likewise.
26843         [C99-based standards] (INT16_MAX): Likewise.
26844         [C99-based standards] (INT32_MIN): Likewise.
26845         [C99-based standards] (INT32_MAX): Likewise.
26846         [C99-based standards] (INT64_MIN): Likewise.
26847         [C99-based standards] (INT64_MAX): Likewise.
26848         [C99-based standards] (UINT8_MAX): Likewise.
26849         [C99-based standards] (UINT16_MAX): Likewise.
26850         [C99-based standards] (UINT32_MAX): Likewise.
26851         [C99-based standards] (UINT64_MAX): Likewise.
26852         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26853         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26854         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26855         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26856         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26857         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26858         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26859         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26860         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26861         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26862         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26863         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26864         [C99-based standards] (INT_FAST8_MIN): Likewise.
26865         [C99-based standards] (INT_FAST8_MAX): Likewise.
26866         [C99-based standards] (INT_FAST16_MIN): Likewise.
26867         [C99-based standards] (INT_FAST16_MAX): Likewise.
26868         [C99-based standards] (INT_FAST32_MIN): Likewise.
26869         [C99-based standards] (INT_FAST32_MAX): Likewise.
26870         [C99-based standards] (INT_FAST64_MIN): Likewise.
26871         [C99-based standards] (INT_FAST64_MAX): Likewise.
26872         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26873         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26874         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26875         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26876         [C99-based standards] (INTPTR_MIN): Likewise.
26877         [C99-based standards] (INTPTR_MAX): Likewise.
26878         [C99-based standards] (UINTPTR_MAX): Likewise.
26879         [C99-based standards] (INTMAX_MIN): Likewise.
26880         [C99-based standards] (INTMAX_MAX): Likewise.
26881         [C99-based standards] (UINTMAX_MAX): Likewise.
26882         [C99-based standards] (PTRDIFF_MIN): Likewise.
26883         [C99-based standards] (PTRDIFF_MAX): Likewise.
26884         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26885         [C99-based standards] (SIZE_MAX): Likewise.
26886         [C99-based standards] (WCHAR_MAX): Likewise.
26887         [C99-based standards] (WINT_MAX): Likewise.
26888         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26889         constraint on value.
26890         [C99-based standards] (WCHAR_MIN): Likewise.
26891         [C99-based standards] (WINT_MIN): Likewise.
26892         [C99-based standards] (*_t): Allow.
26893         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26894         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26895         Include math.h-data and complex.h-data.  Remove all expectations
26896         of math.h and complex.h contents.
26897         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26898         at end of line.
26899         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26900         (struct tm): Expect tag.
26901         [C99-based-standards] (wcstof): Expect function.
26902         [C99-based-standards] (wcstold): Likewise.
26903         [C99-based-standards] (wcstoll): Likewise.
26904         [C99-based-standards] (wcstoull): Likewise.
26905         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26906         macro-int-constant.  Specify type.
26907         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26908         constraint on value.
26909         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26910         Specify type.
26911         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26912         Specify value.
26913         [ISO C standards]: Do not allow headers.
26914         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26915         wcs[abcdefghijklmnopqrstuvwxyz]*.
26916         [ISO C standards] (*_t): Do not allow.
26917         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26918         Expect function.
26919         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26920         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26921         Specify type.
26922         [ISO C standards]: Do not allow headers.
26923         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26924         is[abcdefghijklmnopqrstuvwxyz]*.
26925         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26926         to[abcdefghijklmnopqrstuvwxyz]*.
26927         [ISO C standards] (*_t): Do not allow.
26928         * conform/data/stdalign.h-data: New file.
26929         * conform/data/stdbool.h-data: Likewise.
26930         * conform/data/stdnoreturn.h-data: Likewise.
26931
26932 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26933
26934         [BZ #14815]
26935         * manual/filesys.texi (Directory Entries): Typo fix.
26936         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26937
26938 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26939
26940         * elf/elf.h (EM_AARCH64): New macro.
26941         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26942         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26943         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26944         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26945         (R_AARCH64_TLSDESC): Likewise.
26946         (NT_ARM_TLS): Likewise.
26947         (NT_ARM_HW_BREAK): Likewise.
26948         (NT_ARM_HW_WATCH): Likewise.
26949
26950 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26951
26952         [BZ #14811]
26953         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26954         (__ieee754_powl): Saturate nonzero exponents with absolute value
26955         below 0x1p-79 to +/- 0x1p-79.
26956         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26957         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26958         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26959         nonzero exponents with absolute value below 0x1p-32 to +/-
26960         0x1p-32.
26961         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26962         (__ieee754_powl): Saturate nonzero exponents with absolute value
26963         below 0x1p-79 to +/- 0x1p-79.
26964         * math/libm-test.inc (pow_test): Add more tests.
26965
26966 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26967
26968         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26969         _dl_s390_cap_flags with kernel. Increase string length.
26970         (_dl_s390_platforms): Add z196 and zEC12.
26971
26972 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26973
26974         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26975         Change XOPEN21K to XOPEN2K.
26976
26977 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26978
26979         * string/memmove.c: Use memcpy when possible.
26980
26981 2012-11-06  Andreas Jaeger  <aj@suse.de>
26982
26983         * po/eo.po: Update from translation team.
26984
26985 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26986
26987         [BZ #14793]
26988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26989         exponent and small x and y exponents, scale x or y up.  Increase
26990         by 2 the exponent used in scaling up.
26991         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26992         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26993         * math/libm-test.inc (fma_test): Add more tests.
26994         (fma_test_towardzero): Likewise.
26995         (fma_test_downward): Likewise.
26996         (fma_test_upward): Likewise.
26997
26998 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26999
27000         [BZ #14805]
27001         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27002         fenv_t *.
27003
27004         [BZ #14801]
27005         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27006         namespace for names of struct fields.
27007         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27008         fenv_t fields.
27009         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27010         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27011
27012 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27013
27014         [BZ #3665]
27015         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27016
27017 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27018
27019         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27020         PTR_DEMANGLE.
27021
27022         [BZ #5246]
27023         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27024         PTR_DEMANGLE.
27025
27026 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27027
27028         [BZ #14797]
27029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27030         definitely overflow as x * y not x * y + z.
27031         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27033         * math/libm-test.inc (fma_test): Add more tests.
27034         (fma_test_towardzero): Likewise.
27035         (fma_test_downward): Likewise.
27036         (fma_test_upward): Likewise.
27037
27038 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27039
27040         [BZ #157]
27041
27042         * include/stub-tag.h: Remove file.
27043         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27044         '#include' of it.
27045         * manual/maint.texi (Porting): Don't reference it.
27046         * Makerules ($(objpfx)stubs): Likewise.
27047         * dirent/closedir.c: Don't include <stub-tag.h>.
27048         * dirent/dirfd.c: Likewise.
27049         * dirent/fdopendir.c: Likewise.
27050         * dirent/getdents.c: Likewise.
27051         * dirent/getdents64.c: Likewise.
27052         * dirent/opendir.c: Likewise.
27053         * dirent/readdir.c: Likewise.
27054         * dirent/readdir64.c: Likewise.
27055         * dirent/readdir64_r.c: Likewise.
27056         * dirent/readdir_r.c: Likewise.
27057         * dirent/rewinddir.c: Likewise.
27058         * dirent/seekdir.c: Likewise.
27059         * dirent/telldir.c: Likewise.
27060         * gmon/profil.c: Likewise.
27061         * grp/setgroups.c: Likewise.
27062         * inet/if_index.c: Likewise.
27063         * io/access.c: Likewise.
27064         * io/chdir.c: Likewise.
27065         * io/chmod.c: Likewise.
27066         * io/chown.c: Likewise.
27067         * io/close.c: Likewise.
27068         * io/dup.c: Likewise.
27069         * io/dup2.c: Likewise.
27070         * io/dup3.c: Likewise.
27071         * io/euidaccess.c: Likewise.
27072         * io/faccessat.c: Likewise.
27073         * io/fchdir.c: Likewise.
27074         * io/fchmod.c: Likewise.
27075         * io/fchmodat.c: Likewise.
27076         * io/fchown.c: Likewise.
27077         * io/fchownat.c: Likewise.
27078         * io/fcntl.c: Likewise.
27079         * io/flock.c: Likewise.
27080         * io/fstatfs.c: Likewise.
27081         * io/fstatfs64.c: Likewise.
27082         * io/fstatvfs.c: Likewise.
27083         * io/fstatvfs64.c: Likewise.
27084         * io/futimens.c: Likewise.
27085         * io/fxstat.c: Likewise.
27086         * io/fxstat64.c: Likewise.
27087         * io/fxstatat.c: Likewise.
27088         * io/fxstatat64.c: Likewise.
27089         * io/getcwd.c: Likewise.
27090         * io/isatty.c: Likewise.
27091         * io/lchmod.c: Likewise.
27092         * io/lchown.c: Likewise.
27093         * io/link.c: Likewise.
27094         * io/linkat.c: Likewise.
27095         * io/lseek.c: Likewise.
27096         * io/lseek64.c: Likewise.
27097         * io/lxstat64.c: Likewise.
27098         * io/mkdir.c: Likewise.
27099         * io/mkdirat.c: Likewise.
27100         * io/mkfifo.c: Likewise.
27101         * io/mkfifoat.c: Likewise.
27102         * io/open.c: Likewise.
27103         * io/open64.c: Likewise.
27104         * io/openat.c: Likewise.
27105         * io/openat64.c: Likewise.
27106         * io/pipe.c: Likewise.
27107         * io/pipe2.c: Likewise.
27108         * io/poll.c: Likewise.
27109         * io/posix_fadvise.c: Likewise.
27110         * io/posix_fadvise64.c: Likewise.
27111         * io/posix_fallocate.c: Likewise.
27112         * io/posix_fallocate64.c: Likewise.
27113         * io/read.c: Likewise.
27114         * io/readlink.c: Likewise.
27115         * io/readlinkat.c: Likewise.
27116         * io/rmdir.c: Likewise.
27117         * io/sendfile.c: Likewise.
27118         * io/sendfile64.c: Likewise.
27119         * io/statfs.c: Likewise.
27120         * io/statfs64.c: Likewise.
27121         * io/statvfs.c: Likewise.
27122         * io/statvfs64.c: Likewise.
27123         * io/symlink.c: Likewise.
27124         * io/symlinkat.c: Likewise.
27125         * io/ttyname.c: Likewise.
27126         * io/ttyname_r.c: Likewise.
27127         * io/umask.c: Likewise.
27128         * io/unlink.c: Likewise.
27129         * io/unlinkat.c: Likewise.
27130         * io/utime.c: Likewise.
27131         * io/utimensat.c: Likewise.
27132         * io/write.c: Likewise.
27133         * io/xmknod.c: Likewise.
27134         * io/xmknodat.c: Likewise.
27135         * io/xstat.c: Likewise.
27136         * io/xstat64.c: Likewise.
27137         * login/getpt.c: Likewise.
27138         * login/grantpt.c: Likewise.
27139         * login/unlockpt.c: Likewise.
27140         * math/e_acoshl.c: Likewise.
27141         * math/e_acosl.c: Likewise.
27142         * math/e_asinl.c: Likewise.
27143         * math/e_atan2l.c: Likewise.
27144         * math/e_atanhl.c: Likewise.
27145         * math/e_coshl.c: Likewise.
27146         * math/e_expl.c: Likewise.
27147         * math/e_fmodl.c: Likewise.
27148         * math/e_gammal_r.c: Likewise.
27149         * math/e_hypotl.c: Likewise.
27150         * math/e_j0l.c: Likewise.
27151         * math/e_j1l.c: Likewise.
27152         * math/e_jnl.c: Likewise.
27153         * math/e_lgammal_r.c: Likewise.
27154         * math/e_log10l.c: Likewise.
27155         * math/e_log2l.c: Likewise.
27156         * math/e_logl.c: Likewise.
27157         * math/e_powl.c: Likewise.
27158         * math/e_rem_pio2l.c: Likewise.
27159         * math/e_sinhl.c: Likewise.
27160         * math/e_sqrtl.c: Likewise.
27161         * math/fclrexcpt.c: Likewise.
27162         * math/fedisblxcpt.c: Likewise.
27163         * math/feenablxcpt.c: Likewise.
27164         * math/fegetenv.c: Likewise.
27165         * math/fegetexcept.c: Likewise.
27166         * math/fegetround.c: Likewise.
27167         * math/feholdexcpt.c: Likewise.
27168         * math/fesetenv.c: Likewise.
27169         * math/fesetround.c: Likewise.
27170         * math/feupdateenv.c: Likewise.
27171         * math/fgetexcptflg.c: Likewise.
27172         * math/fraiseexcpt.c: Likewise.
27173         * math/fsetexcptflg.c: Likewise.
27174         * math/ftestexcept.c: Likewise.
27175         * math/k_cosl.c: Likewise.
27176         * math/k_rem_pio2l.c: Likewise.
27177         * math/k_sinl.c: Likewise.
27178         * math/k_tanl.c: Likewise.
27179         * math/s_asinhl.c: Likewise.
27180         * math/s_atanl.c: Likewise.
27181         * math/s_cbrtl.c: Likewise.
27182         * math/s_erfl.c: Likewise.
27183         * math/s_expm1l.c: Likewise.
27184         * math/s_log1pl.c: Likewise.
27185         * math/s_tanhl.c: Likewise.
27186         * misc/acct.c: Likewise.
27187         * misc/brk.c: Likewise.
27188         * misc/chflags.c: Likewise.
27189         * misc/chroot.c: Likewise.
27190         * misc/fchflags.c: Likewise.
27191         * misc/fgetxattr.c: Likewise.
27192         * misc/flistxattr.c: Likewise.
27193         * misc/fremovexattr.c: Likewise.
27194         * misc/fsetxattr.c: Likewise.
27195         * misc/fsync.c: Likewise.
27196         * misc/ftruncate.c: Likewise.
27197         * misc/futimes.c: Likewise.
27198         * misc/futimesat.c: Likewise.
27199         * misc/getdomain.c: Likewise.
27200         * misc/getdtsz.c: Likewise.
27201         * misc/gethostid.c: Likewise.
27202         * misc/gethostname.c: Likewise.
27203         * misc/getloadavg.c: Likewise.
27204         * misc/getpagesize.c: Likewise.
27205         * misc/getsysstats.c: Likewise.
27206         * misc/getxattr.c: Likewise.
27207         * misc/gtty.c: Likewise.
27208         * misc/ioctl.c: Likewise.
27209         * misc/lgetxattr.c: Likewise.
27210         * misc/listxattr.c: Likewise.
27211         * misc/llistxattr.c: Likewise.
27212         * misc/lremovexattr.c: Likewise.
27213         * misc/lsetxattr.c: Likewise.
27214         * misc/lutimes.c: Likewise.
27215         * misc/madvise.c: Likewise.
27216         * misc/mincore.c: Likewise.
27217         * misc/mlock.c: Likewise.
27218         * misc/mlockall.c: Likewise.
27219         * misc/mmap.c: Likewise.
27220         * misc/mprotect.c: Likewise.
27221         * misc/msync.c: Likewise.
27222         * misc/munlock.c: Likewise.
27223         * misc/munlockall.c: Likewise.
27224         * misc/munmap.c: Likewise.
27225         * misc/preadv.c: Likewise.
27226         * misc/preadv64.c: Likewise.
27227         * misc/ptrace.c: Likewise.
27228         * misc/pwritev.c: Likewise.
27229         * misc/pwritev64.c: Likewise.
27230         * misc/readv.c: Likewise.
27231         * misc/reboot.c: Likewise.
27232         * misc/remap_file_pages.c: Likewise.
27233         * misc/removexattr.c: Likewise.
27234         * misc/revoke.c: Likewise.
27235         * misc/select.c: Likewise.
27236         * misc/setdomain.c: Likewise.
27237         * misc/setegid.c: Likewise.
27238         * misc/seteuid.c: Likewise.
27239         * misc/sethostid.c: Likewise.
27240         * misc/sethostname.c: Likewise.
27241         * misc/setregid.c: Likewise.
27242         * misc/setreuid.c: Likewise.
27243         * misc/setxattr.c: Likewise.
27244         * misc/sstk.c: Likewise.
27245         * misc/stty.c: Likewise.
27246         * misc/swapoff.c: Likewise.
27247         * misc/swapon.c: Likewise.
27248         * misc/sync.c: Likewise.
27249         * misc/syncfs.c: Likewise.
27250         * misc/syscall.c: Likewise.
27251         * misc/truncate.c: Likewise.
27252         * misc/ualarm.c: Likewise.
27253         * misc/usleep.c: Likewise.
27254         * misc/ustat.c: Likewise.
27255         * misc/utimes.c: Likewise.
27256         * misc/vhangup.c: Likewise.
27257         * misc/writev.c: Likewise.
27258         * posix/_exit.c: Likewise.
27259         * posix/alarm.c: Likewise.
27260         * posix/execve.c: Likewise.
27261         * posix/fexecve.c: Likewise.
27262         * posix/fork.c: Likewise.
27263         * posix/fpathconf.c: Likewise.
27264         * posix/getaddrinfo.c: Likewise.
27265         * posix/getegid.c: Likewise.
27266         * posix/geteuid.c: Likewise.
27267         * posix/getgid.c: Likewise.
27268         * posix/getgroups.c: Likewise.
27269         * posix/getlogin.c: Likewise.
27270         * posix/getlogin_r.c: Likewise.
27271         * posix/getpgid.c: Likewise.
27272         * posix/getpid.c: Likewise.
27273         * posix/getppid.c: Likewise.
27274         * posix/getresgid.c: Likewise.
27275         * posix/getresuid.c: Likewise.
27276         * posix/getsid.c: Likewise.
27277         * posix/getuid.c: Likewise.
27278         * posix/glob64.c: Likewise.
27279         * posix/nanosleep.c: Likewise.
27280         * posix/pathconf.c: Likewise.
27281         * posix/pause.c: Likewise.
27282         * posix/posix_madvise.c: Likewise.
27283         * posix/pread.c: Likewise.
27284         * posix/pread64.c: Likewise.
27285         * posix/pwrite.c: Likewise.
27286         * posix/pwrite64.c: Likewise.
27287         * posix/sched_getaffinity.c: Likewise.
27288         * posix/sched_getp.c: Likewise.
27289         * posix/sched_gets.c: Likewise.
27290         * posix/sched_primax.c: Likewise.
27291         * posix/sched_primin.c: Likewise.
27292         * posix/sched_rr_gi.c: Likewise.
27293         * posix/sched_setaffinity.c: Likewise.
27294         * posix/sched_setp.c: Likewise.
27295         * posix/sched_sets.c: Likewise.
27296         * posix/sched_yield.c: Likewise.
27297         * posix/setgid.c: Likewise.
27298         * posix/setlogin.c: Likewise.
27299         * posix/setpgid.c: Likewise.
27300         * posix/setresgid.c: Likewise.
27301         * posix/setresuid.c: Likewise.
27302         * posix/setsid.c: Likewise.
27303         * posix/setuid.c: Likewise.
27304         * posix/sleep.c: Likewise.
27305         * posix/spawni.c: Likewise.
27306         * posix/sysconf.c: Likewise.
27307         * posix/times.c: Likewise.
27308         * posix/wait.c: Likewise.
27309         * posix/wait3.c: Likewise.
27310         * posix/wait4.c: Likewise.
27311         * posix/waitpid.c: Likewise.
27312         * resolv/gai_sigqueue.c: Likewise.
27313         * resource/getpriority.c: Likewise.
27314         * resource/getrlimit.c: Likewise.
27315         * resource/getrusage.c: Likewise.
27316         * resource/nice.c: Likewise.
27317         * resource/setpriority.c: Likewise.
27318         * resource/setrlimit.c: Likewise.
27319         * resource/ulimit.c: Likewise.
27320         * rt/aio_cancel.c: Likewise.
27321         * rt/aio_fsync.c: Likewise.
27322         * rt/aio_read.c: Likewise.
27323         * rt/aio_sigqueue.c: Likewise.
27324         * rt/aio_suspend.c: Likewise.
27325         * rt/aio_write.c: Likewise.
27326         * rt/clock_getres.c: Likewise.
27327         * rt/clock_gettime.c: Likewise.
27328         * rt/clock_nanosleep.c: Likewise.
27329         * rt/clock_settime.c: Likewise.
27330         * rt/lio_listio.c: Likewise.
27331         * rt/mq_close.c: Likewise.
27332         * rt/mq_getattr.c: Likewise.
27333         * rt/mq_notify.c: Likewise.
27334         * rt/mq_open.c: Likewise.
27335         * rt/mq_receive.c: Likewise.
27336         * rt/mq_send.c: Likewise.
27337         * rt/mq_setattr.c: Likewise.
27338         * rt/mq_timedreceive.c: Likewise.
27339         * rt/mq_timedsend.c: Likewise.
27340         * rt/mq_unlink.c: Likewise.
27341         * rt/shm_open.c: Likewise.
27342         * rt/shm_unlink.c: Likewise.
27343         * rt/timer_create.c: Likewise.
27344         * rt/timer_delete.c: Likewise.
27345         * rt/timer_getoverr.c: Likewise.
27346         * rt/timer_gettime.c: Likewise.
27347         * rt/timer_settime.c: Likewise.
27348         * setjmp/__longjmp.c: Likewise.
27349         * setjmp/setjmp.c: Likewise.
27350         * signal/kill.c: Likewise.
27351         * signal/killpg.c: Likewise.
27352         * signal/raise.c: Likewise.
27353         * signal/sigaction.c: Likewise.
27354         * signal/sigaltstack.c: Likewise.
27355         * signal/sigblock.c: Likewise.
27356         * signal/sigignore.c: Likewise.
27357         * signal/sigintr.c: Likewise.
27358         * signal/signal.c: Likewise.
27359         * signal/sigpause.c: Likewise.
27360         * signal/sigpending.c: Likewise.
27361         * signal/sigqueue.c: Likewise.
27362         * signal/sigreturn.c: Likewise.
27363         * signal/sigset.c: Likewise.
27364         * signal/sigsetmask.c: Likewise.
27365         * signal/sigstack.c: Likewise.
27366         * signal/sigsuspend.c: Likewise.
27367         * signal/sigtimedwait.c: Likewise.
27368         * signal/sigvec.c: Likewise.
27369         * signal/sigwait.c: Likewise.
27370         * signal/sigwaitinfo.c: Likewise.
27371         * signal/sysv_signal.c: Likewise.
27372         * socket/accept.c: Likewise.
27373         * socket/accept4.c: Likewise.
27374         * socket/bind.c: Likewise.
27375         * socket/connect.c: Likewise.
27376         * socket/getpeername.c: Likewise.
27377         * socket/getsockname.c: Likewise.
27378         * socket/getsockopt.c: Likewise.
27379         * socket/isfdtype.c: Likewise.
27380         * socket/listen.c: Likewise.
27381         * socket/recv.c: Likewise.
27382         * socket/recvfrom.c: Likewise.
27383         * socket/recvmsg.c: Likewise.
27384         * socket/send.c: Likewise.
27385         * socket/sendmsg.c: Likewise.
27386         * socket/sendto.c: Likewise.
27387         * socket/setsockopt.c: Likewise.
27388         * socket/shutdown.c: Likewise.
27389         * socket/sockatmark.c: Likewise.
27390         * socket/socket.c: Likewise.
27391         * socket/socketpair.c: Likewise.
27392         * stdio-common/ctermid.c: Likewise.
27393         * stdio-common/cuserid.c: Likewise.
27394         * stdio-common/remove.c: Likewise.
27395         * stdio-common/rename.c: Likewise.
27396         * stdio-common/renameat.c: Likewise.
27397         * stdio-common/tempname.c: Likewise.
27398         * stdlib/getcontext.c: Likewise.
27399         * stdlib/makecontext.c: Likewise.
27400         * stdlib/setcontext.c: Likewise.
27401         * stdlib/swapcontext.c: Likewise.
27402         * stdlib/system.c: Likewise.
27403         * streams/fattach.c: Likewise.
27404         * streams/fdetach.c: Likewise.
27405         * streams/getmsg.c: Likewise.
27406         * streams/getpmsg.c: Likewise.
27407         * streams/putmsg.c: Likewise.
27408         * streams/putpmsg.c: Likewise.
27409         * sysdeps/unix/bsd/getpt.c: Likewise.
27410         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27411         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27412         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27414         Likewise.
27415         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27416         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27417         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27418         * sysvipc/msgctl.c: Likewise.
27419         * sysvipc/msgget.c: Likewise.
27420         * sysvipc/msgrcv.c: Likewise.
27421         * sysvipc/msgsnd.c: Likewise.
27422         * sysvipc/semctl.c: Likewise.
27423         * sysvipc/semget.c: Likewise.
27424         * sysvipc/semop.c: Likewise.
27425         * sysvipc/semtimedop.c: Likewise.
27426         * sysvipc/shmat.c: Likewise.
27427         * sysvipc/shmctl.c: Likewise.
27428         * sysvipc/shmdt.c: Likewise.
27429         * sysvipc/shmget.c: Likewise.
27430         * termios/tcdrain.c: Likewise.
27431         * termios/tcflow.c: Likewise.
27432         * termios/tcflush.c: Likewise.
27433         * termios/tcgetattr.c: Likewise.
27434         * termios/tcgetpgrp.c: Likewise.
27435         * termios/tcsendbrk.c: Likewise.
27436         * termios/tcsetattr.c: Likewise.
27437         * termios/tcsetpgrp.c: Likewise.
27438         * time/adjtime.c: Likewise.
27439         * time/clock.c: Likewise.
27440         * time/getitimer.c: Likewise.
27441         * time/gettimeofday.c: Likewise.
27442         * time/setitimer.c: Likewise.
27443         * time/settimeofday.c: Likewise.
27444         * time/stime.c: Likewise.
27445         * time/time.c: Likewise.
27446
27447 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27448
27449         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27450         /usr/old/bin.
27451
27452         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27453         instead of spaces.
27454         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27455
27456 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27457
27458         [BZ #14796]
27459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27460         FE_TONEAREST before applying Dekker multiplication and Knuth
27461         addition.  Clear inexact exceptions and check for exact zero
27462         results afterwards.
27463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27464         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27466         * math/libm-test.inc (fma_test): Add more tests.
27467         (fma_test_towardzero): Likewise.
27468         (fma_test_downward): Likewise.
27469         (fma_test_upward): Likewise.
27470         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27471         function.
27472         (libc_fesetround): New macro.
27473         (libc_fesetroundf): Likewise.
27474         (libc_fesetroundl): Likewise.
27475         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27476         function.
27477         (libc_fesetround_387): Likewise.
27478         (libc_fesetroundf): New macro.
27479         (libc_fesetround): Likewise.
27480         (libc_fesetroundl): Likewise.
27481         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27482         function.
27483         (libc_fesetroundf): New macro.
27484         (libc_fesetround): Likewise.
27485         (libc_fesetroundl): Likewise.
27486         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27487         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27488         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27489         libm_hidden_ver.
27490         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27491         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27492         libm_hidden_def.
27493         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27494         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27495         libm_hidden_ver.
27496         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27497         libm_hidden_def.
27498
27499         [BZ #3439]
27500         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27501         integer constant usable in #if and use that to give value to enum
27502         constant.
27503         (FE_DIVBYZERO): Likewise.
27504         (FE_UNDERFLOW): Likewise.
27505         (FE_OVERFLOW): Likewise.
27506         (FE_INVALID): Likewise.
27507         (FE_INVALID_SNAN): Likewise.
27508         (FE_INVALID_ISI): Likewise.
27509         (FE_INVALID_IDI): Likewise.
27510         (FE_INVALID_ZDZ): Likewise.
27511         (FE_INVALID_IMZ): Likewise.
27512         (FE_INVALID_COMPARE): Likewise.
27513         (FE_INVALID_SOFTWARE): Likewise.
27514         (FE_INVALID_SQRT): Likewise.
27515         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27516         (FE_TONEAREST): Likewise.
27517         (FE_TOWARDZERO): Likewise.
27518         (FE_UPWARD): Likewise.
27519         (FE_DOWNWARD): Likewise.
27520         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27521         (FE_DIVBYZERO): Likewise.
27522         (FE_OVERFLOW): Likewise.
27523         (FE_UNDERFLOW): Likewise.
27524         (FE_INEXACT): Likewise.
27525         (FE_TONEAREST): Likewise.
27526         (FE_DOWNWARD): Likewise.
27527         (FE_UPWARD): Likewise.
27528         (FE_TOWARDZERO): Likewise.
27529         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27530         (FE_UNDERFLOW): Likewise.
27531         (FE_OVERFLOW): Likewise.
27532         (FE_DIVBYZERO): Likewise.
27533         (FE_INVALID): Likewise.
27534         (FE_TONEAREST): Likewise.
27535         (FE_TOWARDZERO): Likewise.
27536         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27537         (FE_OVERFLOW): Likewise.
27538         (FE_UNDERFLOW): Likewise.
27539         (FE_DIVBYZERO): Likewise.
27540         (FE_INEXACT): Likewise.
27541         (FE_TONEAREST): Likewise.
27542         (FE_TOWARDZERO): Likewise.
27543         (FE_UPWARD): Likewise.
27544         (FE_DOWNWARD): Likewise.
27545         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27546         (FE_DIVBYZERO): Likewise.
27547         (FE_OVERFLOW): Likewise.
27548         (FE_UNDERFLOW): Likewise.
27549         (FE_INEXACT): Likewise.
27550         (FE_TONEAREST): Likewise.
27551         (FE_DOWNWARD): Likewise.
27552         (FE_UPWARD): Likewise.
27553         (FE_TOWARDZERO): Likewise.
27554
27555 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27556
27557         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27558
27559 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27560
27561         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27562         commands.  Quote $PWD.
27563         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27564         -x" by "export".
27565         (remove_newlines): Remove.
27566
27567 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27568
27569         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27570         * stdlib/stdlib.h (atof): Moved to ...
27571         * include/bits/stdlib-float.h: Here.  New file.
27572         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27573         * stdlib/bits/stdlib-float.h: New file.
27574         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27575         -mno-sse -mno-mmx.
27576         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27577         <xmmintrin.h>.
27578
27579 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27580
27581         * conform/conformtest.pl (@headers): Add fenv.h.
27582         * conform/data/fenv.h-data: New file.
27583         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27584         include of <math/fenv.h>.
27585
27586         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27587         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27588         && !UNIX98].  Enables tests for XOPEN2K8.
27589         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27590         POSIX2008]: Likewise.
27591
27592         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27593         (struct rusage): Do not expect type or its members.
27594
27595         [BZ #3439]
27596         * math/math.h (FP_NAN): Define macro to integer constant usable in
27597         #if and use that to give value to enum constant.
27598         (FP_INFINITE): Likewise.
27599         (FP_ZERO): Likewise.
27600         (FP_SUBNORMAL): Likewise.
27601         (FP_NORMAL): Likewise.
27602
27603 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27604
27605         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27606         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27607         arguments.
27608
27609 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27610
27611         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27612         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27613         autoconf-time if not.
27614         * configure.in: Remove AC_PREREQ.
27615
27616 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27617
27618         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27619         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27620         of the internal implementation.
27621
27622 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27623
27624         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27625         except include of <misc/sys/syslog.h>.
27626
27627 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27628
27629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27630         function returns with a NULL context exit with zero.
27631
27632 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27633
27634         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27635
27636 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27637
27638         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27639         (run_program_cmd): This.
27640         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27641         (tst_langinfo): New variable.  Use it.
27642
27643 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27644
27645         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27646         floating point opcodes.
27647
27648 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27649
27650         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27651         variable.
27652
27653         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27654
27655         * sysdeps/mach/hurd/powerpc: Remove directory.
27656         * sysdeps/mach/powerpc: Likewise.
27657
27658 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27659
27660         * scripts/check-local-headers.sh: Ignore c++ headers.
27661
27662 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27663
27664         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27665         __libc_cleanup_region_start argument.
27666
27667 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27668
27669         [BZ #14784]
27670         [BZ #14785]
27671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27672         x * y using scaling, not as x * y + z.
27673         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27674         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27675         * math/libm-test.inc (fma_test): Add more tests.
27676         (fma_test_towardzero): Likewise.
27677         (fma_test_downward): Likewise.
27678         (fma_test_upward): Likewise.
27679
27680 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27681
27682         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27683
27684 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27685
27686         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27687         New variable.
27688
27689 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27690
27691         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27692
27693 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27694
27695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27696         Fix sort order.
27697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27698         Likewise.
27699
27700 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27701
27702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27703         Fix the order of the list for glibc 2.17.
27704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27705         Likewise.
27706
27707 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27708
27709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27710
27711 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27712
27713         [BZ #14610]
27714         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27715         for low part of x being zero before using __atanl (y).
27716         * math/libm-test.inc (atan2_test): Add another test.
27717
27718         * manual/install.texi (Configuring and compiling): Document
27719         general use of test-wrapper and test-wrapper-env.
27720         * INSTALL: Regenerated.
27721
27722         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27723         (__fma): Do not extract and scale down low bits on after-rounding
27724         systems when result rounded to normal precision would have normal
27725         exponent.
27726         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27727         (__fmal): Do not extract and scale down low bits on after-rounding
27728         systems when result rounded to normal precision would have normal
27729         exponent.
27730         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27731         (__fmal): Do not extract and scale down low bits on after-rounding
27732         systems when result rounded to normal precision would have normal
27733         exponent.
27734         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27735         macro.
27736         (fma_test): Add more tests.
27737         (fma_test_towardzero): Likewise.
27738         (fma_test_downward): Likewise.
27739         (fma_test_upward): Likewise.
27740
27741 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27742
27743         * sysdeps/i386/tininess.h: Renamed to ...
27744         * sysdeps/x86/tininess.h: This.
27745         * sysdeps/x86_64/tininess.h: Removed.
27746
27747 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27748
27749         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27750         input.  Use $(build-program-cmd).
27751         ($(objpfx)tst-array1-static.out): Likewise.
27752         ($(objpfx)tst-array2.out): Likewise.
27753         ($(objpfx)tst-array3.out): Likewise.
27754         ($(objpfx)tst-array4.out): Likewise.
27755         ($(objpfx)tst-array5.out): Likewise.
27756         ($(objpfx)tst-array5-static.out): Likewise.
27757
27758 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27759
27760         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27761         if defined.
27762
27763         * nss/nsswitch.h (nss_interface_function): Provide new
27764         macro for use with NSS functions.
27765         * grp/initgroups.c: Use new macro.
27766         * nss/getXXbyYY.c: Likewise.
27767         * nss/getXXbyYY_r.c: Likewise.
27768         * nss/getXXent.c: Likewise.
27769         * nss/getXXent_r.c: Likewise.
27770         * sysdeps/posix/getaddrinfo.c: Likewise.
27771
27772 2012-10-30  Andreas Jaeger  <aj@suse.de>
27773
27774         * po/ru.po: Update Russion translation from translation project.
27775
27776 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27777
27778         [BZ #14152]
27779         [BZ #14783]
27780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27781         result and shift together with sticky bit instead of replicating
27782         round-to-nearest rounding.
27783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27785         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27786         missing underflow exceptions.
27787         (fma_test_towardzero): Add more tests.
27788         (fma_test_downward): Likewise.
27789         (fma_test_upward): Likewise.
27790
27791         [BZ #14047]
27792         * sysdeps/generic/tininess.h: New file.
27793         * sysdeps/i386/tininess.h: Likewise.
27794         * sysdeps/sh/tininess.h: Likewise.
27795         * sysdeps/x86_64/tininess.h: Likewise.
27796         * stdlib/tst-strtod-underflow.c: Likewise.
27797         * stdlib/tst-tininess.c: Likewise.
27798         * stdlib/strtod_l.c: Include <tininess.h>.
27799         (round_and_return): Do not set errno for exact underflow cases.
27800         Force an underflow exception when setting errno for underflow.
27801         Determine underflow based on rounding to normal precision if
27802         TININESS_AFTER_ROUNDING.
27803         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27804         ERANGE for exact underflow cases.
27805         * stdlib/Makefile (tests): Add tst-tininess and
27806         tst-strtod-underflow.
27807         ($(objpfx)tst-tininess): Use $(link-libm).
27808         ($(objpfx)tst-strtod-underflow): Likewise.
27809
27810 2012-10-30  Andreas Jaeger  <aj@suse.de>
27811
27812         [BZ#14767]
27813         * elf/Makefile (tests): Remove conditional for have-initfini-array
27814         since this is now always required and the variable does not exist
27815         anymore.
27816         (tests-static): Likewise.
27817         (modules-names): Likewise.
27818
27819         * po/eo.po: Add Esperanto translation from translation project.
27820
27821         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27822         merged with constructor/destructor.
27823         (init_array): Likewise.
27824         * elf/tst-array2dep.c (fini_array): Likewise.
27825         (init_array): Likewise.
27826
27827 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27828
27829         * manual/message.texi: Delete @cartouche tags.
27830
27831 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27832
27833         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27834         EOPNOTSUPP.
27835         * sysdeps/mach/hurd/fsync.c: Likewise.
27836
27837         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27838         [_POSIX_REALTIME_SIGNALS]: Change condition to
27839         [_POSIX_REALTIME_SIGNALS > 0].
27840
27841 2012-10-27  Andreas Jaeger  <aj@suse.de>
27842
27843         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27844         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27845         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27846         [__WORDSIZE != 64]: Likewise.
27847
27848 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27849
27850         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27851         *  iconvdata/tst-tables.sh: Likewise.
27852
27853 2012-10-25  David S. Miller  <davem@davemloft.net>
27854
27855         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27856         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27857         of strtoull.
27858
27859         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27860         ifunc-impl-list.c
27861         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27862         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27863         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27864         file.
27865
27866 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27867
27868         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27869         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27870         __getdirentries.
27871
27872 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27873             Jim Blandy  <jimb@codesourcery.com>
27874
27875         * scripts/cross-test-ssh.sh: New file.
27876         * manual/install.texi (Configuring and compiling): Document use of
27877         cross-test-ssh.sh.
27878         * INSTALL: Regenerated.
27879
27880 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27881
27882         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27883         EOPNOTSUPP.
27884
27885 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27886
27887         * Makeconfig (run-program-prefix): Fix comment.
27888
27889 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27890             Jim Blandy  <jimb@codesourcery.com>
27891
27892         * Makeconfig (test-wrapper): New variable,
27893         (test-wrapper-env): Likewise.
27894         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27895         (run-built-tests): Define to yes.
27896         (run-program-prefix): Use $(test-wrapper).
27897         (built-program-cmd): Likewise.
27898         * Rules (make-test-out): Use $(test-wrapper-env) and
27899         $(host-built-program-cmd).
27900         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27901         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27902         tst-pathopt.sh.
27903         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27904         $(test-wrapper-env) to tst-rtld-load-self.sh.
27905         ($(objpfx)order2.out): Use $(test-wrapper).
27906         ($(objpfx)tst-initorder.out): Likewise.
27907         ($(objpfx)tst-initorder2.out): Likewise.
27908         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27909         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27910         (test_wrapper_env): New variable.  Use it to run ld.so.
27911         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27912         Use it to run ld.so.
27913         (test_wrapper_env): Likewise.
27914         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27915         $(test-wrapper) to run-iconv-test.sh.
27916         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27917         (ICONV): Use $test_wrapper.
27918         * posix/Makefile ($(objpfx)globtest.out): Pass
27919         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27920         globtest.sh, not $(run-program-prefix).
27921         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27922         (test_wrapper): Likewise.
27923         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27924         set together with run_via_rtld_prefix.
27925         (run_program_prefix): Define in terms of test_wrapper and
27926         run_via_rtld_prefix.
27927
27928 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27929
27930         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27931         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27932         Targets removed.
27933
27934         [BZ #14743]
27935         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27936         Declare __clock_getres, __clock_gettime, __clock_settime,
27937         __clock_nanosleep, and __clock_getcpuclockid.
27938         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27939         Remove librt_hidden_def (clock_gettime).
27940         * sysdeps/unix/clock_gettime.c: Likewise.
27941         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27942         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27943         * rt/clock_getres.c: Define __clock_getres as an alias.
27944         * sysdeps/posix/clock_getres.c: Likewise.
27945         * rt/clock_settime.c: Define __clock_settime as an alias.
27946         * sysdeps/unix/clock_settime.c: Likewise.
27947         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27948         * sysdeps/unix/clock_nanosleep.c: Likewise.
27949         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27950         * rt/clock-compat.c: New file.
27951         * rt/Makefile (librt-routines): Add clock-compat and move
27952         $(clock-routines) to ...
27953         (routines): ... here, new variable.
27954         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27955         Don't add get_clockfreq here.
27956         * rt/Versions (libc: GLIBC_2.17): New version set.
27957         Add clock_* symbols here.
27958         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27959         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27960         (GLIBC_2.17): Add clock_* symbols.
27961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27963         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27965         Likewise.
27966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27967         Likewise.
27968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27972         * NEWS: Mention the move.
27973
27974         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27975         Use __open, __read, __close rather than their public counterparts.
27976         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27977         (__get_clockfreq_via_cpuinfo): Likewise.
27978         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27979         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27980
27981         * config.h.in (HAVE_IFUNC): New #undef.
27982         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27983         was successful.
27984         * configure: Regenerated.
27985
27986 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27987
27988         * configure.in: Move READELF check to start of file.
27989         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27990         libc_cv_asm_gnu_indirect_function in the process.
27991         * configure: Regenerated.
27992
27993 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27994
27995         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27996         send the output to /dev/null.
27997         (libc_cv_cc_with_libunwind): Likewise.
27998         (libc_cv_as_noexecstack): Likewise.
27999         * configure: Regenerate.
28000
28001 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28002
28003         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28004
28005         * posix/globtest.sh (TMPDIR): Do not set.
28006         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28007         (testout): Likewise.
28008
28009 2012-10-24  Andreas Jaeger  <aj@suse.de>
28010
28011         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28012         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28013         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28014         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28015         posix_fadvise64, posix_fallocate64.
28016
28017         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28018         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28019         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28020         Likewise.
28021         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28022         Likewise.
28023         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28024
28025         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28026         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28027         <bits/fcntl-linux.h>.
28028         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28029
28030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28031         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28032         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28033         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28034         [__WORDSIZE != 64]: Likewise.
28035
28036 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28037
28038         * Makeconfig (run-built-tests): New variable.
28039         * Rules [$(cross-compiling) = yes]: Change condition to
28040         [$(run-built-tests) = no].
28041         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28042         to [$(run-built-tests) = yes].
28043         * elf/Makefile [$(cross-compiling) = no]: Likewise
28044         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28045         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28046         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28047         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28048         * io/Makefile [$(cross-compiling) = no]: Likewise.
28049         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28050         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28051         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28052         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28053         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28054         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28055         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28056         * string/Makefile [$(cross-compiling) = no]: Likewise.
28057
28058         * posix/Makefile ($(objpfx)globtest.out): Pass
28059         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28060         $(rtld-installed-name).
28061         * posix/globtest.sh (elf_objpfx): Remove variable.
28062         (rtld_installed_name): Likewise.
28063         (library_path): Likewise.
28064         (run_program_prefix): New variable.  Use for running globtest
28065         binary.
28066
28067 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28068             Joseph Myers  <joseph@codesourcery.com>
28069
28070         * Makeconfig (host-built-program-cmd): New variable.
28071         * elf/Makefile (tst-stackguard1-ARGS): Use
28072         $(host-built-program-cmd).
28073         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28074         (tst-spawn-ARGS): Likewise.
28075         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28076
28077 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28078             Jim Blandy  <jimb@codesourcery.com>
28079
28080         * Makeconfig (run-via-rtld-prefix): New variable.
28081         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28082         (built-program-cmd): Likewise.
28083
28084 2012-10-22  Andreas Jaeger  <aj@suse.de>
28085
28086         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28087         __O_RSYNC if it exists, otherwise to O_SYNC.
28088
28089 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28090             Joseph Myers  <joseph@codesourcery.com>
28091
28092         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28093         /dev/null.
28094         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28095         from /dev/null
28096         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28097         /dev/null.
28098
28099 2012-10-22  Andreas Jaeger  <aj@suse.de>
28100
28101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28102         Define always.
28103         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28104
28105         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28106         bits/fcntl-linux.h.
28107
28108         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28109         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28110
28111         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28112         to __O_LARGEFILE.
28113         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28114         to __O_LARGEFILE.
28115
28116 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28117             Joseph Myers  <joseph@codesourcery.com>
28118
28119         * config.make.in (NM): New variable.
28120
28121 2012-10-21  Andreas Jaeger  <aj@suse.de>
28122
28123         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28124         definitions and declarations that are provided by
28125         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28126
28127 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28128
28129         [BZ #14683]
28130         * elf/Makefile (tests-static): Add tst-leaks1-static.
28131         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28132         ($(objpfx)tst-leaks1-static): New rule.
28133         ($(objpfx)tst-leaks1-static-mem): Likewise.
28134         (tst-leaks1-static-ENV): New macro.
28135         * elf/dl-open.c (dl_open_worker): Check the main application
28136         only if SHARED is defined.
28137         * elf/tst-leaks1-static.c: New file.
28138
28139 2012-10-20  Andreas Jaeger  <aj@suse.de>
28140
28141         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28142         generic values for Linux.
28143         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28144         and declarations that are provided by <bits/fcntl-linux.h> and
28145         include <bits/fcntl-linux.h>.
28146         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28147         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28148
28149 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28150
28151         * io/fcntl.h: Move include of <bits/types.h> to the top and
28152         include it unconditionally.
28153
28154 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28155
28156         * wcsmbs/Makefile (tests-ifunc): New variable.
28157         (tests): Add $(tests-ifunc).
28158         * wcsmbs/test-wcschr-ifunc.c: New file.
28159         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28160         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28161         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28162         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28163         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28164
28165         * string/Makefile (tests-ifunc): New variable.
28166         (tests): Add $(tests-ifunc).
28167         * string/test-memccpy.c (TEST_NAME): New macro.
28168         * string/test-memchr.c (TEST_NAME): Likewise.
28169         * string/test-memcmp.c (TEST_NAME): Likewise.
28170         * string/test-memcpy.c (TEST_NAME): Likewise.
28171         * string/test-memmem.c (TEST_NAME): Likewise.
28172         * string/test-memmove.c (TEST_NAME): Likewise.
28173         * string/test-memset.c (TEST_NAME): Likewise.
28174         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28175         * string/test-stpcpy.c (TEST_NAME): Likewise.
28176         * string/test-stpncpy.c (TEST_NAME): Likewise.
28177         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28178         * string/test-strcasestr.c (TEST_NAME): Likewise.
28179         * string/test-strcat.c (TEST_NAME): Likewise.
28180         * string/test-strchr.c (TEST_NAME): Likewise.
28181         * string/test-strcmp.c(TEST_NAME): Likewise.
28182         * string/test-strcpy.c (TEST_NAME): Likewise.
28183         * string/test-strcspn.c (TEST_NAME): Likewise.
28184         * string/test-strlen.c (TEST_NAME): Likewise.
28185         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28186         * string/test-strncmp.c (TEST_NAME): Likewise.
28187         * string/test-strncpy.c (TEST_NAME): Likewise.
28188         * string/test-strnlen.c (TEST_NAME): Likewise.
28189         * string/test-strpbrk.c (TEST_NAME): Likewise.
28190         * string/test-strrchr.c (TEST_NAME): Likewise.
28191         * string/test-strspn.c (TEST_NAME): Likewise.
28192         * string/test-strstr.c (TEST_NAME): Likewise.
28193         * string/test-bcopy-ifunc.c: New file.
28194         * string/test-bzero-ifunc.c: Likewise.
28195         * string/test-memccpy-ifunc.c: Likewise.
28196         * string/test-memchr-ifunc.c: Likewise.
28197         * string/test-memcmp-ifunc.c: Likewise.
28198         * string/test-memcpy-ifunc.c: Likewise.
28199         * string/test-memmem-ifunc.c: Likewise.
28200         * string/test-memmove-ifunc.c: Likewise.
28201         * string/test-mempcpy-ifunc.c: Likewise.
28202         * string/test-memset-ifunc.c: Likewise.
28203         * string/test-rawmemchr-ifunc.c: Likewise.
28204         * string/test-stpcpy-ifunc.c: Likewise.
28205         * string/test-stpncpy-ifunc.c: Likewise.
28206         * string/test-strcasecmp-ifunc.c: Likewise.
28207         * string/test-strcasestr-ifunc.c: Likewise.
28208         * string/test-strcat-ifunc.c: Likewise.
28209         * string/test-strchr-ifunc.c: Likewise.
28210         * string/test-strchrnul-ifunc.c: Likewise.
28211         * string/test-strcmp-ifunc.c: Likewise.
28212         * string/test-strcpy-ifunc.c: Likewise.
28213         * string/test-strcspn-ifunc.c: Likewise.
28214         * string/test-strlen-ifunc.c: Likewise.
28215         * string/test-strncasecmp-ifunc.c: Likewise.
28216         * string/test-strncat-ifunc.c: Likewise.
28217         * string/test-strncmp-ifunc.c: Likewise.
28218         * string/test-strncpy-ifunc.c: Likewise.
28219         * string/test-strnlen-ifunc.c: Likewise.
28220         * string/test-strpbrk-ifunc.c: Likewise.
28221         * string/test-strrchr-ifunc.c: Likewise.
28222         * string/test-strspn-ifunc.c: Likewise.
28223         * string/test-strstr-ifunc.c: Likewise.
28224
28225         * debug/Makefile (tests-ifunc): New variable.
28226         (tests): Add $(tests-ifunc).
28227         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28228         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28229         * debug/test-stpcpy_chk-ifunc.c: New file.
28230         * debug/test-strcpy_chk-ifunc.c: Likewise.
28231
28232 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28233
28234         [BZ #13601]
28235         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28236         header is not read in.
28237
28238 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28239
28240         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28241         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28242         directly.  Pass built executable to script as
28243         $(built-program-cmd).
28244         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28245         $testprogram without using LD_LIBRARY_PATH and $ldso.
28246
28247         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28248         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28249         $(rtld-installed-name).
28250         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28251         (rtld_installed_name): Likewise.
28252         (library_path): Likewise.
28253         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28254         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28255         $(run-program-prefix) to tst-tables.sh.
28256         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28257         it to run tst-table-from and tst-table-to.
28258         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28259         Pass it to tst-table.sh.
28260         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28261         $(run-program-prefix) to tst-gettext.sh.
28262         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28263         tst-translit.sh.
28264         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28265         tst-gettext2.sh.
28266         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28267         to run tst-gettext.
28268         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28269         to run tst-gettext2.
28270         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28271         to run tst-translit.
28272         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28273         $(run-program-prefix) to tst-mtrace.sh.
28274         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28275         to run tst-mtrace.
28276         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28277         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28278         $(rtld-installed-name).
28279         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28280         (rtld_installed_name): Likewise.
28281         (run_program_prefix): New variable.  Use it to run wordexp-test.
28282
28283         * Makeconfig (ARCH): Remove all definitions.
28284         (machine): Likewise.
28285         [ARCH]: Remove conditional code.
28286         [!objdir]: Give error.
28287         [!objdir] (objpfx): Remove.
28288         [!objdir] (common-objpfx): Likewise.
28289         [!objdir] (common-objdir): Likewise.
28290         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28291         AC_CONFIG_FILES call.
28292         * configure: Regenerated.
28293
28294         [BZ #13888]
28295         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28296         or TMPDIR.
28297         (testout): Likewise.
28298
28299         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28300         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28301         $(rtld-installed-name).
28302         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28303         (rtld_installed_name): Likwise.
28304         (runit): Remove function.
28305         (run_getconf): New variable,  Use it for running getconf binary.
28306
28307 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28308
28309         [BZ #14716]
28310         * string/test-memmem.c (check_result): New function.
28311         (do_one_test): Use it.
28312         (check1): New function.
28313         (test_main): Use it.
28314
28315 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28316
28317         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28318
28319 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28320
28321         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28322         (_G_LSEEK64): Likewise.
28323         (_G_MMAP64): Likewise.
28324         (_G_FSTAT64): Likewise.
28325         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28326         (_G_LSEEK64): Likewise.
28327         (_G_MMAP64): Likewise.
28328         (_G_FSTAT64): Likewise.
28329         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28330         unconditional.  Call __mmap64 directly.
28331         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28332         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28333         __lseek64 directly.
28334         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28335         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28336         __mmap64 directly.
28337         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28338         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28339         __lseek64 directly.
28340         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28341         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28342         __lseek64 directly.
28343         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28344         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28345         __lseek64 directly.
28346         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28347         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28348         __fxstat64 directly.
28349         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28350         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28351         unconditional.
28352         (freopen64) [!_G_OPEN64]: Remove conditional code.
28353         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28354         unconditional.
28355         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28356         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28357         unconditional.
28358         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28359         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28360         unconditional.
28361         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28362         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28363         unconditional.
28364         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28365         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28366         unconditional.
28367         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28368         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28369         unconditional.
28370         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28371         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28372         unconditional.
28373         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28374
28375 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28376
28377         [BZ #12140]
28378         * manual/memory.texi (Malloc Tunable Parameters): Add note
28379         about free list pointers overwriting some perturb bytes.
28380         Wording suggested by Roland McGrath.
28381
28382 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28383
28384         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28385         (lgamma_test): Likewise.
28386         (tgamma_test): Likewise.
28387
28388 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28389
28390         [BZ #14700]
28391         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28392         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28393
28394 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28395
28396         * NEWS: Mention BZ #14716.
28397         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28398         when removing AVAILABLE1_USES_J macro.
28399
28400 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28401
28402         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28403         (__bswap_64): __uint64_t for unsigned 64-bit int.
28404
28405 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28406
28407         * include/string.h (memmem): Declare libc hidden alias.
28408         * string/memmem.c (memmem): Define libc hidden alias.
28409         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28410         __read, __close instead of open, read, close.
28411
28412 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28413
28414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28415         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28416         global and hidden.
28417         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28418         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28419         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28420         Likewise.
28421         (__rawmemchr_sse2): Likewise.
28422         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28423         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28424         (__strchr_sse2): Likewise.
28425         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28426         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28427         (__strcasecmp_sse2): Likewise.
28428         (__strncasecmp_sse2): Likewise.
28429         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28430         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28431         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28432         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28433         (__strrchr_sse2): Likewise.
28434         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28435         ifunc-impl-list.c.
28436         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28437         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28438         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28439         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28440         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28441         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28442         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28443         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28444         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28445         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28446         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28447         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28448         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28449         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28450         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28451         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28452         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28453         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28454         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28455         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28456         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28457         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28458         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28459         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28460         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28461         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28462         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28463         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28464         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28465         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28466
28467         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28468         global and hidden.
28469         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28470         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28471         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28472         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28473         Likewise.
28474         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28475         Likewise.
28476         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28477         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28478         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28479         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28480         ifunc-impl-list.c.
28481         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28482         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28483         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28484         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28485         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28486         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28487         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28488         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28489         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28490         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28491         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28492         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28493         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28494         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28495         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28496         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28497         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28498         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28499         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28500         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28501         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28502         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28503         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28504         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28505         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28506         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28507         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28508         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28509         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28510         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28511         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28512         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28513         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28514         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28515         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28516         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28517         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28518         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28519         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28520         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28521         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28522
28523         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28524         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28525         * include/ifunc-impl-list.h: New file.
28526         * misc/ifunc-impl-list.c: Likewise.
28527         * misc/Makefile (routines): Add ifunc-impl-list.
28528         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28529         * string/test-string.h: Include <ifunc-impl-list.h>.
28530         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28531         TEST_NAME]: New variables.
28532         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28533         are defined.
28534         (test_init): Call __libc_ifunc_impl_list to initialize
28535         func_list if TEST_IFUNC and TEST_NAME are defined.
28536
28537         * string/Makefile (strop-tests): Add bcopy and bzero.
28538         * string/test-bcopy.c: New file.
28539         * string/test-bzero.c: Likewise.
28540         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28541         defined.
28542         * string/test-memset.c: Support bzero test if TEST_BZERO is
28543         defined.
28544         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28545         __libc_memmove.
28546         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28547         __libc_memset.
28548         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28549         of memset.
28550
28551 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28552
28553         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28554         * configure: Regenerated.
28555
28556         * Makeconfig (+link-static-before-libc): Don't include
28557         $(link-static-libc).
28558
28559         * libio/libio.h (_IO_pos_t): Remove.
28560
28561 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28562
28563         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28564         McGrath.
28565
28566 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28567
28568         * crypt/crypt-entry.c: Include fips-private.h.
28569         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28570         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28571         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28572         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28573
28574 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28575
28576         * crypt/crypt-private.h: Include stdbool.h.
28577         (_ufc_setup_salt_r): Return bool.
28578         * crypt/crypt-entry.c: Include errno.h.
28579         (__crypt_r): Return NULL with EINVAL for bad salt.
28580         * crypt/crypt_util.c (bad_for_salt): New.
28581         (_ufc_setup_salt_r): Check that salt is long enough and within
28582         the specified alphabet.
28583         * crypt/badsalttest.c: New file.
28584         * crypt/Makefile (tests): Add it.
28585         ($(objpfx)badsalttest): New.
28586
28587 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28588
28589         * NEWS: Add entry for BZ #14602.
28590
28591 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28592
28593         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28594         type-generic.
28595         * math/libm-test.inc: Update comment listing what functions and
28596         macros are tested.
28597         (isgreater_test): New function.
28598         (isgreaterequal_test): Likewise.
28599         (isless_test): Likewise.
28600         (islessequal_test): Likewise.
28601         (islessgreater_test): Likewise.
28602         (isunordered_test): Likewise.
28603         (main): Call the new functions.
28604
28605 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28606
28607         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28608         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28609         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28610         * sysdeps/i386/configure: Regenerated.
28611         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28612         * sysdeps/mach/configure: Regenerated.
28613         * sysdeps/mach/hurd/configure: Regenerated.
28614         * sysdeps/powerpc/configure: Regenerated.
28615         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28616         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28617         * sysdeps/s390/s390-32/configure: Regenerated.
28618         * sysdeps/s390/s390-64/configure: Regenerated.
28619         * sysdeps/sh/configure: Regenerated.
28620         * sysdeps/sparc/configure: Regenerated.
28621         * sysdeps/unix/sysv/linux/configure: Regenerated.
28622         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28623         * sysdeps/x86_64/configure: Regenerated.
28624
28625         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28626         defined.  Don't check if MAP is NULL.
28627
28628 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28629
28630         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28631         (_G_stat64): Likewise.
28632         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28633         (_G_stat64): Likewise.
28634         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28635         instead of struct _G_stat64.
28636         * libio/fileops.c (mmap_remap_check): Likewise.
28637         (decide_maybe_mmap): Likewise.
28638         (_IO_new_file_seekoff): Likewise.
28639         (_IO_file_stat): Likewise.
28640         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28641         _G_off64_t.
28642         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28643         instead of struct _G_stat64.
28644         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28645
28646 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28647
28648         [BZ #14602]
28649         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28650         Replace with ...
28651         (CHECK_EOL): New macro.
28652         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28653         CHECK_EOL.
28654         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28655         Replace with CHECK_EOL.
28656         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28657         Replace with CHECK_EOL.
28658
28659 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28660
28661         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28662         type-generic.
28663         * math/libm-test.inc: Update comment listing what functions and
28664         macros are tested.
28665         (finite_test): New function.
28666         (isinf_test): Likewise.
28667         (isnan_test): Likewise.
28668         (fpclassify_test): Test subnormal input.
28669         (isfinite_test): Likewise.
28670         (isnormal_test): Likewise.
28671         (main): Call the new functions.
28672
28673 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28674
28675         [BZ #14660]
28676         * Makerules (%.dynsym): Force C locale when running
28677         $(OBJDUMP) --dynamic-syms.
28678
28679 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28680
28681         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28682         <stdint.h>.
28683
28684 2012-10-06  David S. Miller  <davem@davemloft.net>
28685
28686         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28687         upper 32-bits of the length value in %o2 since we use branch-on-register
28688         tests which consider the entire 64-bit register.
28689
28690 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28691
28692         * string/test-strstr.c (check2): Add a test for page boundary.
28693
28694 2012-10-05  David S. Miller  <davem@davemloft.net>
28695
28696         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28697         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28698         file.
28699         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28700         sysdep_routines.
28701         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28702         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28703         and bzero when HWCAP_SPARC_CRYPTO is present.
28704
28705 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28706
28707         [BZ #14602]
28708         * string/test-strstr.c (check2): New function.
28709         (test_main): Call check2.
28710
28711         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28712         and bug-strchr1.
28713         * string/bug-strcasestr1.c (do_test): Moved to ...
28714         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
28720         * string/test-strchr.c (check1): Here.  New function.
28721         (do_one_test): Break out result checking code into ...
28722         (check_result): This.  New function.
28723         (do_one_test): Call check_result.
28724         (test_main): Call check1.
28725         * string/bug-strstr1.c (main): Moved to ...
28726         * string/test-strstr.c (check1): Here.  New function.
28727         (do_one_test): Break out result checking code into ...
28728         (check_result): This.  New function.
28729         (do_one_test): Call check_result.
28730         (test_main): Call check1.
28731         * string/bug-strcasestr1.c: Removed.
28732         * string/bug-strchr1.c: Likewise.
28733         * string/bug-strstr1.c: Likewise.
28734
28735         * elf/Makefile (dl-routines): Add hwcaps.
28736         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28737         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28738         (_dl_important_hwcaps): Moved to ...
28739         * elf/dl-hwcaps.c: Here.  New file.
28740         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28741
28742         [BZ #14557]
28743         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28744         if IS_IN_rtld isn't defined.
28745
28746         * elf/dl-support.c (_dl_sysinfo_map): New.
28747         Include "get-dynamic-info.h" and "setup-vdso.h".
28748         (_dl_non_dynamic_init): Call setup_vdso.
28749         * elf/dynamic-link.h: Don't include <assert.h>.
28750         (elf_get_dynamic_info): Moved to ...
28751         * elf/get-dynamic-info.h: Here.  New file.
28752         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28753         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28754         * elf/setup-vdso.h: Here.  New file.
28755         * elf/rtld.c: Include "setup-vdso.h".
28756         (dl_main): Call setup_vdso.
28757
28758 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28759
28760         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28761         creal in comment listing functions tested.  List finite, isinf,
28762         isnan, isless, islessequal, isgreater, isgreaterequal,
28763         islessgreater, isunordered, lgamma_r and pow10 as functions and
28764         macros not tested.  Mention which functions not tested are aliases
28765         for other functions.  Fix typo.  Note that signs of NaNs are not
28766         tested.
28767
28768         * scripts/config.guess: Update from config.git.
28769         * scripts/config.sub: Likewise.
28770
28771 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28772
28773         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28774         * misc/madvise.c (madvise): Renamed to __madvise.
28775         Make madvise a weak alias.
28776         * include/sys/mman.h: Declare __madvise.
28777         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28778         * sysdeps/unix/syscalls.list
28779         (madvise): Make __madvise the strong name, and madvise a weak alias.
28780         * sysdeps/unix/sysv/linux/syscalls.list
28781         (madvise, mmap): Remove redundant entries.
28782         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28783         * malloc/malloc.c (mtrim): Likewise.
28784         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28785
28786 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28787
28788         * sysdeps/mach/hurd/dl-cache.c: File removed.
28789         * config.h.in (USE_LDCONFIG): New #undef.
28790         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28791         * configure: Regenerated.
28792         * elf/Makefile (dl-routines): Add dl-cache only under
28793         [$(use-ldconfig) = yes].
28794         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28795         cache on [USE_LDCONFIG].
28796         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28797         [USE_LDCONFIG].
28798         * elf/rtld.c (dl_main): Likewise.
28799
28800 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28801
28802         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28803         _SC_LEVEL4_CACHE_LINESIZE.
28804
28805 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28806
28807         * sysdeps/unix/bsd/confstr.h: File removed.
28808
28809 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28810
28811         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28812         sys/sdt-config.h.
28813
28814 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28815
28816         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28817         Make 'mapoff' field ElfW(Off) rather than off_t.
28818
28819 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28820
28821         * nscd/Makefile: Remove nscd-cflags and all its users.
28822         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28823         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28824
28825         [BZ #10631]
28826         * malloc.c (malloc_printerr): Clarify error message.
28827
28828 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28829
28830         [BZ #14648]
28831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28832         Set bit_FMA_Usable if FMA is supported.
28833         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28834         macro.
28835         (bit_FMA4_Usable): Updated.
28836         (index_FMA_Usable): New macro.
28837         (CPUID_FMA): Likewise
28838         (HAS_FMA): Defined with bit_FMA_Usable.
28839
28840 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28841
28842         * bits/types.h (__swblk_t): Type removed.
28843         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28844         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28846         (__SWBLK_T_TYPE): Likewise.
28847         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28848         (__SWBLK_T_TYPE): Likewise.
28849         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28850         (__SWBLK_T_TYPE): Likewise.
28851         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28852         (__SWBLK_T_TYPE): Likewise.
28853
28854 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28855             Honza Horak <hhorak@redhat.com>
28856
28857         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28858         (xdr_mapname): Use YPMAXMAP as maxsize.
28859         (xdr_peername): Use YPMAXPEER as maxsize.
28860         (xdr_keydat): Use YPAXRECORD as maxsize.
28861         (xdr_valdat): Use YPMAXRECORD as maxsize.
28862
28863 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28864
28865         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28866
28867         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28868         * csu/init-first.c: ... here.
28869         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28870         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28871         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28872         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28873         * sysdeps/i386/init-first.c: File removed.
28874         * sysdeps/sh/init-first.c: File removed.
28875
28876 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28877
28878         [BZ #14645]
28879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28880         if x * y might underflow to zero and z is zero.
28881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28882         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28883         * math/libm-test.inc (min_subnorm_value): New variable.
28884         (fma_test): Add more tests.
28885         (fma_test_towardzero): Likewise.
28886         (fma_test_downward): Likewise
28887         (fma_test_upward): Likewise.
28888         (initialize): Set min_subnorm_value.
28889
28890 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28891
28892         [BZ #14638]
28893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28894         0 + 0.
28895         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28896         mode for addition resulting in exact zero.
28897         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28899         exact 0 + 0.
28900         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28902         * math/libm-test.inc (fma_test): Add more tests.
28903         (fma_test_towardzero): New function.
28904         (fma_test_downward): Likewise.
28905         (fma_test_upward): Likewise.
28906         (main): Call the new functions.
28907
28908 2012-09-28  David S. Miller  <davem@davemloft.net>
28909
28910         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28911
28912 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28913
28914         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28915         instead of SIGALRM.
28916
28917         * sysdeps/gnu/_G_config.h: Moved to ...
28918         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28919         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28920         * sysdeps/generic/_G_config.h: ... here.
28921
28922         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28923
28924         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28925
28926         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28927         Conditionalize target on [libnss_test1.so-version].
28928
28929         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28930
28931         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28932         (elfobjdir): Move out of conditionals.
28933
28934         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28935         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28936         (__nss_lookup_function): Conditionalize label remove_from_tree on
28937         [!DO_STATIC_NSS || SHARED], matching its only use.
28938
28939 2012-09-28  David S. Miller  <davem@davemloft.net>
28940
28941         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28942         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28943         file.
28944         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28945         sysdep_routines.
28946         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28947         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28948         when HWCAP_SPARC_CRYPTO is present.
28949
28950 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28951
28952         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28953
28954 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28955
28956         [BZ #6530]
28957         * stdio-common/vfprintf.c (process_string_arg): Revert
28958         2000-07-22 change.
28959
28960 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28961
28962         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28963         for testcase.
28964         * stdio-common/tst-sprintf.c: Include <locale.h>
28965         (main): Test sprintf's handling of incomplete multibyte
28966         characters.
28967
28968 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28969
28970         * elf/dl-runtime.c (VERSYMIDX): Removed.
28971         * elf/dl-version.c (VERSYMIDX): Likewise.
28972         * elf/do-rel.h (VERSYMIDX): Likewise.
28973         (VALIDX): Likewise.
28974         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28975         * elf/rtld.c (VALIDX): Likewise.
28976         (ADDRIDX): Likewise.
28977         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28978         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28979         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28980         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28981         (VALIDX): Likewise.
28982         (ADDRIDX): Likewise.
28983
28984 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28985
28986         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28987
28988 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28989
28990         [BZ #11438]
28991         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28992         to global scope.
28993         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28994         addresses are in the same scope as 192.0.2/24.
28995         * posix/gai.conf: Document new scope table defaults.
28996
28997 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28998
28999         [BZ #5298]
29000         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29001         for ftell.  Compute offsets from write pointers instead.
29002         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29003
29004 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29005
29006         [BZ #14543]
29007         * libio/Makefile (tests): New test case tst-fseek.
29008         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29009         combination works in wide mode.
29010         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29011         state when the external buffer state changes.
29012
29013 2012-09-27  David S. Miller  <davem@davemloft.net>
29014
29015         [BZ #14376]
29016         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29017         pass reloc->r_addend in as the 'high' argument to
29018         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29019
29020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29021
29022 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29023
29024         * rt/tst-aio2.c: Include <pthread.h>.
29025         * rt/tst-aio3.c: Likewise.
29026
29027 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29028
29029         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29030
29031 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29032
29033         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29034         contents on [SHARED].
29035
29036 2012-09-26  Marek Polacek  <polacek@redhat.com>
29037
29038         [BZ #14530]
29039         [BZ #13741]
29040         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29041         for C++ and GCC <4.3 as well as for non GCC compilers.
29042
29043 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29044
29045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29046
29047 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29048
29049         * Makefile.in (all, install): Declare with .PHONY.
29050         Reported by Michael Hope <michael.hope@linaro.org>.
29051
29052 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29053
29054         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29055         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29056         system header.
29057         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29058         Likewise.
29059         (sydep_routines): Add the new and the internal functions.
29060         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29061         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29063         (GLIBC_2.17): Add the new function.
29064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29065         (GLIBC_2.17): Likewise.
29066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29067         (GLIBC_2.17): Likewise.
29068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29069         (GLIBC_2.17): Likewise.
29070         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29071
29072 2012-09-25  Alan Modra  <amodra@gmail.com>
29073
29074         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29075         Add release barrier before setting once_control to say
29076         initialisation is done.  Add hints on lwarx.  Use macro in
29077         place of isync.
29078         (clear_once_control): Add release barrier.
29079
29080 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29081
29082         [BZ #13629]
29083         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29084         specially.
29085         * math/s_clog10.c (__clog10): Likewise.
29086         * math/s_clog10f.c (__clog10f): Likewise.
29087         * math/s_clog10l.c (__clog10l): Likewise.
29088         * math/s_clogf.c (__clogf): Likewise.
29089         * math/s_clogl.c (__clogl): Likewise.
29090         * math/Makefile (libm-calls): Add x2y2m1.
29091         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29092         (__x2y2m1): Likewise.
29093         (__x2y2m1l): Likewise.
29094         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29095         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29096         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29097         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29098         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29099         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29100         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29101         * sysdeps/i386/fpu/libm-test-ulps: Update.
29102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29103
29104         [BZ #14621]
29105         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29106         int as type of variable DEPTH.
29107         (glob): Use size_t instead of int as type of variables NEWCOUNT
29108         and OLD_PATHC.
29109
29110 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29111
29112         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29113         Add s_sincosf-sse2.
29114         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29115         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29116         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29117         macros for using routine as __sincosf_ia32.
29118         Use macro for function declaration and weak_alias.
29119         * sysdeps/i386/fpu/libm-test-ulps: Update.
29120
29121         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29123
29124         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29125         subnormal argument.
29126         * math/s_cexpf.c (__cexpf): Likewise.
29127         * math/s_csinf.c (__csinf): Likewise.
29128         * math/s_csinhf.c (__csinhf): Likewise.
29129         * math/s_ctanf.c (__ctanf): Likewise.
29130         * math/s_ctanhf.c (__ctanhf): Likewise.
29131         * math/s_ccosh.c (__ccoshf): Likewise.
29132         * math/s_cexp.c (__cexpl): Likewise.
29133         * math/s_csin.c (__csin): Likewise.
29134         * math/s_csinh.c (__csinh): Likewise.
29135         * math/s_ctan.c (__ctan): Likewise.
29136         * math/s_ctanh.c (ctanh): Likewise.
29137         * math/s_ccoshl.c (__ccoshl): Likewise.
29138         * math/s_cexpl.c (__cexpl): Likewise.
29139         * math/s_csinl.c (__csinl): Likewise.
29140         * math/s_csinhl.c (__csinhl): Likewise.
29141         * math/s_ctanl.c (__ctanl): Likewise.
29142         * math/s_ctanhl.c (__ctanhl): Likewise.
29143
29144 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29145
29146         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29147         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29148         (_IO_off_t): Define to __off_t, not _G_off_t.
29149         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29150         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29151         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29152         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29153         type of __dummy and __dummy2 fields.
29154         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29155         (_G_ssize_t): Likewise.
29156         (_G_off_t): Likewise.
29157         (_G_pid_t): Likewise.
29158         (_G_uid_t): Likewise.
29159         (_G_wchar_t): Likewise.
29160         (_G_wint_t): Likewise.
29161         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29162         (_G_ssize_t): Likewise.
29163         (_G_off_t): Likewise.
29164         (_G_pid_t): Likewise.
29165         (_G_uid_t): Likewise.
29166         (_G_wchar_t): Likewise.
29167         (_G_wint_t): Likewise.
29168         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29169         (_G_ssize_t): Likewise.
29170         (_G_off_t): Likewise.
29171         (_G_pid_t): Likewise.
29172         (_G_uid_t): Likewise.
29173         (_G_wchar_t): Likewise.
29174         (_G_wint_t): Likewise.
29175
29176 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29177
29178         * malloc/arena.c: Include malloc-sysdep.h.
29179         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29180         is sufficient to shrink the heap or an unmap is needed.
29181         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29182         new function check_may_shrink_heap.
29183         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29184         new function check_may_shrink_heap.
29185
29186 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29187
29188         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29189         comments.
29190
29191 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29192
29193         * catgets/test-gencat.sh: Add "set -e".
29194         * elf/tst-pathopt.sh: Likewise.
29195         * grp/tst_fgetgrent.sh: Likewise.
29196         * iconvdata/run-iconv-test.sh: Likewise.
29197         * intl/tst-gettext.sh: Likewise.
29198         * intl/tst-gettext2.sh: Likewise.
29199         * intl/tst-gettext4.sh: Likewise.
29200         * intl/tst-gettext6.sh: Likewise.
29201         * intl/tst-translit.sh: Likewise.
29202         * io/ftwtest-sh: Likewise.
29203         * libio/test-freopen.sh: Likewise.
29204         * malloc/tst-mtrace.sh: Likewise.
29205         * posix/globtest.sh: Likewise.
29206         * posix/tst-getconf.sh: Likewise.
29207         * posix/wordexp-tst.sh: Likewise.
29208         * stdio-common/tst-printf.sh: Likewise.
29209         * stdio-common/tst-unbputc.sh: Likewise.
29210         * stdlib/tst-fmtmsg.sh: Likewise.
29211         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29212         * catgets/Makefile: Do not specify -e option when running
29213         testsuite shell scripts.
29214         * elf/Makefile: Likewise.
29215         * grp/Makefile: Likewise.
29216         * iconvdata/Makefile: Likewise.
29217         * intl/Makefile: Likewise.
29218         * io/Makefile: Likewise.
29219         * libio/Makefile: Likewise.
29220         * malloc/Makefile: Likewise.
29221         * posix/Makefile: Likewise.
29222         * stdio-common/Makefile: Likewise.
29223         * stdlib/Makefile: Likewise.
29224         * sysdeps/x86_64/Makefile: Likewise.
29225
29226         * io/ftwtest-sh: Add copyright header.
29227         * posix/globtest.sh: Likewise.
29228         * posix/tst-getconf.sh: Likewise.
29229         * posix/wordexp-tst.sh: Likewise.
29230         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29231
29232 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29233
29234         [BZ #13679]
29235         * Makeconfig (+link): Defined as $(+link-static) if
29236         $(build-shared) isn't yes.
29237         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29238         isn't yes.
29239         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29240
29241         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29242
29243         [BZ #14562]
29244         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29245         new chunk size with MALLOC_ALIGN_MASK.
29246
29247 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29248
29249         [BZ #5044]
29250         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29251         <rounding-mode.h>.
29252         (__printf_fphex): Determine rounding using get_rounding_mode and
29253         round_away.
29254         * stdio-common/tst-printf-round.c (struct hex_test): New
29255         structure.
29256         (hex_tests): New variable.
29257         (test_hex_in_one_mode): New function.
29258         (do_test): Also run tests for hex float output.
29259
29260 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29261
29262         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29263         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29264         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29265         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29266         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29267         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29268         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29269         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29270
29271 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29272
29273         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29274         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29275         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29276         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29277
29278 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29279
29280         [BZ #14579]
29281         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29282         mode only.
29283         * elf/tst-rtld-load-self.sh: New test.
29284         * elf/Makefile: Run it.
29285
29286 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29287
29288         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29289         (tst-writev-ENV): Remove.
29290         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29291
29292 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29293
29294         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29295
29296 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29297
29298         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29299         unconditional.
29300         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29301         Likewise.
29302         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29303         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29304         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29305         Likewise.
29306
29307 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29308
29309         [BZ #14587]
29310         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29311         * config.make.in (have-cpp-asm-debuginfo): Removed.
29312         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29313         * configure: Regenerated.
29314
29315 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29316
29317         [BZ #5044]
29318         * stdio-common/printf_fp.c: Include <stdbool.h> and
29319         <rounding-mode.h>.
29320         (___printf_fp): Determine rounding using get_rounding_mode and
29321         round_away.
29322         * stdio-common/tst-printf-round.c: New file.
29323         * stdio-common/Makefile (tests): Add tst-printf-round.
29324         (link-libm): New variable.
29325         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29326
29327 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29328
29329         [BZ #14576]
29330         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29331         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29332         Likewise.
29333         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29334         Likewise.
29335
29336 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29337
29338         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29339         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29340         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29341         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29342
29343 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29344
29345         [BZ #14518]
29346         * include/rounding-mode.h: New file.
29347         * sysdeps/generic/get-rounding-mode.h: Likewise.
29348         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29349         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29350         (MAX_VALUE): New macro.
29351         (MIN_VALUE): Likewise.
29352         (overflow_value): New function.
29353         (underflow_value): Likewise.
29354         (round_and_return): Use overflow_value and underflow_value to
29355         determine return values in overflow and underflow cases.  Use
29356         round_away to determine rounding depending on rounding mode.
29357         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29358         determine return values in overflow and underflow cases.
29359         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29360         (struct test_results): New structure.
29361         (struct test): Use struct test_results to store expected results
29362         for all rounding modes.
29363         (TEST): Include expected results for all rounding modes.
29364         (test_in_one_mode): New function.
29365         (do_test): Use test_in_one_mode to compute and check results.
29366         Check results for all rounding modes.
29367         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29368         $(link-libm).
29369
29370 2012-12-09  Allan McRae  <allan@archlinux.org>
29371
29372         * sysdeps/i386/fpu/libm-test-ulps: Update
29373
29374 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29375
29376         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29377         (_G_int32_t): Likewise.
29378         (_G_uint16_t): Likewise.
29379         (_G_uint32_t): Likewise.
29380         (_G_HAVE_BOOL): Likewise.
29381         (_G_HAVE_ATEXIT): Likewise.
29382         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29383         (_G_HAVE_IO_FILE_OPEN): Likewise.
29384         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29385         (_G_int32_t): Likewise.
29386         (_G_uint16_t): Likewise.
29387         (_G_uint32_t): Likewise.
29388         (_G_HAVE_BOOL): Likewise.
29389         (_G_HAVE_ATEXIT): Likewise.
29390         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29391         (_G_HAVE_IO_FILE_OPEN): Likewise.
29392         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29393         (_G_int32_t): Likewise.
29394         (_G_uint16_t): Likewise.
29395         (_G_uint32_t): Likewise.
29396         (_G_HAVE_BOOL): Likewise.
29397         (_G_HAVE_ATEXIT): Likewise.
29398         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29399         (_G_HAVE_IO_FILE_OPEN): Likewise.
29400
29401 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29402
29403         * csu/libc-tls.c: Update copyright years.
29404
29405 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29406
29407         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29408         [!_G_USING_THUNKS]: Remove conditional code.
29409         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29410         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29411
29412         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29413         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29414         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29415         (_G_VTABLE_LABEL_PREFIX): Likewise.
29416         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29417         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29418         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29419         (_G_VTABLE_LABEL_PREFIX): Likewise.
29420         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29421         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29422         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29423         (_G_VTABLE_LABEL_PREFIX): Likewise.
29424         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29425
29426 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29427
29428         * libio/Makefile: Include ../Makeconfig before tests.
29429         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29430         only if $(build-shared) is yes.
29431
29432         * iconv/gconv_db.c: Update copyright years.
29433
29434 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29435
29436         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29437         unwind info if defined PIC. Fix special cases description.
29438         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29439
29440         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29441         DP_HI_MASK entry.
29442         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29443
29444 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29445
29446         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29447
29448         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29449         is NULL.
29450
29451         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29452         (LDLIBS-tst-chk4): This.
29453         (LDFLAGS-tst-chk5): Renamed to ...
29454         (LDLIBS-tst-chk5): This.
29455         (LDFLAGS-tst-chk6): Renamed to ...
29456         (LDLIBS-tst-chk6): This.
29457         (LDFLAGS-tst-lfschk4): Renamed to ...
29458         (LDLIBS-tst-lfschk4): This.
29459         (LDFLAGS-tst-lfschk5): Renamed to ...
29460         (LDLIBS-tst-lfschk5): This.
29461         (LDFLAGS-tst-lfschk6): Renamed to ...
29462         (LDLIBS-tst-lfschk6): This.
29463
29464         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29465         on $(common-objpfx)soversions.mk.
29466
29467 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29468
29469         [BZ #10014]
29470         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29471         example host name.
29472
29473 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29474
29475         * malloc/arena.c (arena_get_retry): New function that gets
29476         another arena for the caller to try its request on.
29477         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29478         current arena cannot fulfill the request.
29479         (__libc_memalign): Likewise.
29480         (__libc_memalign): Likewise.
29481         (__libc_pvalloc): Likewise.
29482         (__libc_calloc): Likewise.
29483
29484 2012-09-05  John Tobey  <john.tobey@gmail.com>
29485
29486         [BZ #13542]
29487         * manual/arith.texi (Operations on Complex): Fix description
29488         of carg branch cut.
29489
29490 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29491
29492         [BZ #10014]
29493         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29494         host name.
29495
29496         [BZ #10038]
29497         * manual/memory.texi (Memory): Make order of menu items match
29498         order of sections.
29499
29500 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29501
29502         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29503         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29504         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29505
29506 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29507
29508         * csu/libc-tls.c (static_dtv): Renamed to ...
29509         (_dl_static_dtv): This.  Make it global.
29510         (_dl_initial_dtv): Removed.
29511         (__libc_setup_tls): Updated.
29512         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29513         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29514         DL_INITIAL_DTV.
29515
29516 2012-09-06  Petr Machata  <pmachata@redhat.com>
29517
29518         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29519         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29520         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29521         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29522
29523 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29524
29525         [BZ #14545]
29526         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29527         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29528         freeing dtv[-1].
29529
29530 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29531
29532         [BZ #14544]
29533         * Makeconfig (link-static-before-libc): Replace $(+prector)
29534         with $(+prectorT).
29535         (link-static-after-libc): Replace $(+postctor) with
29536         $(+postctorT).
29537         (link-bounded): Replace $(+prector)/$(+postctor) with
29538         $(+prectorT)/$(+postctorT).
29539         (+prectorT): New macro.
29540         (+postctorT): Likewise.
29541
29542 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29543
29544         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29545         (round_str): Handle values above the maximum for IBM long double
29546         as inexact.
29547         * stdlib/tst-strtod-round.c (tests): Regenerated.
29548
29549 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29550
29551         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29552         assembler flag.
29553         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29554         zarch_nohighgprs around the zarch optimized routines.
29555         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29556         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29557         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29558         for zarch.
29559
29560 2012-09-05  David S. Miller  <davem@davemloft.net>
29561
29562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29563
29564         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29565         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29566         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29567         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29568         entries.
29569
29570 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29571
29572         * malloc/arena.c: Fold copyright years.
29573         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29574
29575 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29576
29577         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29578
29579 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29580
29581         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29582
29583 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29584
29585         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29586         change internal state upon failure.
29587
29588 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29589
29590         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29591         * malloc/memusage.c (mmap): Likewise.
29592         (mmap64, mremap): Likewise.  Adjust name in comment.
29593
29594 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29595
29596         * libio/fileops.c: Fix typos in comments.
29597         * libio/oldfileops.c: Likewise.
29598         * libio/wfileops.c: Likewise.
29599
29600 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29601
29602         [BZ #1349]
29603         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29604         (tst-malloc-usable-ENV): Set environment for test case.
29605         * malloc/hooks.c (malloc_check_get_size): New function to get
29606         requested size.
29607         * malloc/malloc.c (musable): Use malloc_check_get_size.
29608         * malloc/tst-malloc-usable.c: New test case.
29609
29610 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29611
29612         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29613
29614 2012-09-05  Allan McRae  <allan@archlinux.org>
29615
29616         [BZ #13966]
29617         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29618         determine header location.
29619         * configure: Regenerated.
29620
29621 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29622
29623         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29624         float format.
29625         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29626         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29627         format.
29628         (test): Regenerate.
29629
29630 2012-09-04  David S. Miller  <davem@davemloft.net>
29631
29632         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29633         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29634         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29635
29636 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29637
29638         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29639         failures.
29640
29641         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29642
29643 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29644
29645         [BZ #9914]
29646         * libio/iogetdelim.c: Include <limits.h>.
29647         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29648         + len + 1 would overflow.
29649
29650 2012-09-03  Andreas Jaeger  <aj@suse.de>
29651
29652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29653         * sysdeps/i386/fpu/libm-test-ulps: Update.
29654
29655 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29656
29657         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29658         Add s_sinf-sse2, s_conf-sse2.
29659
29660         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29661         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29662         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29663         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29664
29665         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29666         for using routine as __sinf_ia32.
29667         Use macro for function declaration and weak_alias.
29668         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29669         for using routine as __cosf_ia32.
29670         Use macro for function declaration and weak_alias.
29671
29672         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29673         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29674
29675         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29676         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29678
29679         * math/libm-test.inc (cos_test): Add more test cases.
29680         (sin_test): Likewise.
29681         (sincos_test): Likewise.
29682
29683 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29684
29685         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29686         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29687         hidden.
29688         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29689
29690 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29691
29692         [BZ #14538]
29693         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29694         first element of the GOT.
29695         (elf_machine_load_address): Return the difference between
29696         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29697
29698 2012-09-01  Allan McRae  <allan@archlinux.org>
29699
29700         [BZ #13412]
29701         * configure.in (AWK): Require gawk version 3.0 or later.
29702         * configure: Regenerated.
29703
29704 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29705
29706         * sysdeps/unix/sysv/linux/kernel-features.h
29707         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29708         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29709         [__NR_clock_getres]: Make code unconditional.
29710         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29711         (clock_getcpuclockid): Remove code left unreachable by removal of
29712         conditionals.
29713         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29714         code unconditional.
29715         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29716         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29717         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29718         Make code unconditional.
29719         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29720         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29721         * sysdeps/unix/sysv/linux/clock_settime.c
29722         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29723         conditional code.
29724         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29725         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29726
29727 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29728
29729         [BZ #14476]
29730         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29731         scripts/test-installation.pl.
29732
29733         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29734         and $ld_so_version if it is set.
29735
29736 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29737
29738         [BZ #14516]
29739         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29740         failure if reading from procfs failed.
29741         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29742
29743 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29744
29745         * sysdeps/unix/sysv/linux/kernel-features.h
29746         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29747         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29748         Remove conditional code.
29749         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29750         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29751         Remove conditional code.
29752         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29753         * sysdeps/unix/sysv/linux/i386/fxstat.c
29754         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29755         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29756         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29757         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29758         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29759         * sysdeps/unix/sysv/linux/i386/lxstat.c
29760         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29761         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29762         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29763         Remove conditional code.
29764         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29765         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29766         Remove conditional code.
29767         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29768         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29769         <kernel-features.h>.
29770         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29771         Remove.
29772         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29773         Remove conditional code.
29774         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29775         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29776         Remove conditional.
29777
29778 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29779
29780         [BZ #5400]
29781         * NEWS: Add fixed bug number.
29782
29783 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29784
29785         [BZ #14519]
29786         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29787         underflowing exponent in case of negative sign.
29788         * stdlib/tst-strtod-round-data: Add more tests.
29789         * stdlib/tst-strtod-round.c (tests): Regenerated.
29790
29791         [BZ #3479]
29792         * stdlib/strtod_l.c (NDIG): Remove.
29793         (HEXNDIG): Likewise.
29794         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29795         smallest representable value.
29796         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29797         lie within an exact representation of 1/2 ulp of the result.
29798         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29799         unconditionally.
29800         (TENS_P9_IDX): Define unconditionally.
29801         (TENS_P9_SIZE): Likewise.
29802         (TENS_P10_IDX): Likewise.
29803         (TENS_P10_SIZE): Likewise.
29804         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29805         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29806         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29807         entries for 10^2^13 and 10^2^14.
29808         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29809         (TENS_P13_IDX): Define.
29810         (TENS_P13_SIZE): Likewise.
29811         (TENS_P14_IDX): Likewise.
29812         (TENS_P14_SIZE): Likewise.
29813         (_fpioconst_pow10): Change array size to
29814         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29815         unconditional.
29816         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29817         1024]: Add entries for 10^2^13 and 10^2^14.
29818         [LAST_POW10 > _LAST_POW10]: Remove #error.
29819         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29820         (_fpioconst_pow10): Change array size to
29821         FPIOCONST_POW10_ARRAY_SIZE.
29822         * stdlib/gen-fpioconst.c: New file.
29823         * stdlib/gen-tst-strtod-round.c: Likewise.
29824         * stdlib/tst-strtod-round-data: Likewise.
29825         * stdlib/tst-strtod-round.c: Likewise.
29826         * stdlib/Makefile (tests): Add tst-strtod-round.
29827
29828         [BZ #14459]
29829         * stdlib/strtod_l.c: Include <stdint.h>.
29830         (NDEBUG): Do not define.
29831         (round_and_return): Change EXPONENT parameter to type intmax_t.
29832         Rearrange calculations to avoid internal overflow possibilities.
29833         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29834         Rearrange calculations to avoid internal overflow possibilities.
29835         Assert that number fits inside MPNSIZE limbs.
29836         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29837         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29838         calculations and add assertions to avoid internal overflow
29839         possibilities.  Add casts to avoid signed/unsigned operations.
29840         * stdlib/tst-strtod-overflow.c: New file.
29841         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29842
29843 2012-08-25  Marek Polacek  <polacek@redhat.com>
29844
29845         * time/time.h: Fix some typos in comments.
29846
29847 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29848
29849         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29850         * posix/tst-rfc3484-2.c: Likewise.
29851         * posix/tst-rfc3484-3.c: Likewise.
29852
29853 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29854
29855         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29856         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29857
29858 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29859
29860         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29861         #include of fxstatat64.c.
29862
29863 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29864
29865         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29866         * shadow/getspent_r.c: Likewise.
29867         * shadow/getspnam.c: Likewise.
29868         * shadow/getspnam_r.c: Likewise.
29869         * gshadow/getsgent.c: Likewise.
29870         * gshadow/getsgent_r.c: Likewise.
29871         * gshadow/getsgnam.c: Likewise.
29872         * gshadow/getsgnam_r.c: Likewise.
29873         * inet/getnetbyad.c: Likewise.
29874         * inet/getnetbyad_r.c: Likewise.
29875         * inet/getnetbynm.c: Likewise.
29876         * inet/getnetbynm_r.c: Likewise.
29877         * inet/getnetent.c: Likewise.
29878         * inet/getnetent_r.c: Likewise.
29879         * inet/getproto.c: Likewise.
29880         * inet/getproto_r.c: Likewise.
29881         * inet/getprtent.c: Likewise.
29882         * inet/getprtent_r.c: Likewise.
29883         * inet/getprtname.c: Likewise.
29884         * inet/getprtname_r.c: Likewise.
29885         * inet/getrpcbyname.c: Likewise.
29886         * inet/getrpcbyname_r.c: Likewise.
29887         * inet/getrpcbynumber.c: Likewise.
29888         * inet/getrpcbynumber_r.c: Likewise.
29889         * inet/getrpcent.c: Likewise.
29890         * inet/getrpcent_r.c: Likewise.
29891         * inet/getaliasent.c: Likewise.
29892         * inet/getaliasent_r.c: Likewise.
29893         * inet/getaliasname.c: Likewise.
29894         * inet/getaliasname_r.c: Likewise.
29895         * nscd/getgrgid_r.c: Likewise.
29896         * nscd/getgrnam_r.c: Likewise.
29897         * nscd/gethstbyad_r.c: Likewise.
29898         * nscd/gethstbynm3_r.c: Likewise.
29899         * nscd/getpwnam_r.c: Likewise.
29900         * nscd/getpwuid_r.c: Likewise.
29901         * nscd/getsrvbynm_r.c: Likewise.
29902         * nscd/getsrvbypt_r.c: Likewise.
29903         * nscd/gai.c: Likewise.
29904
29905         * configure.in (build_nscd): New substituted variable, set
29906         by --disable-build-nscd and defaults to $use_nscd.
29907         * configure: Regenerated.
29908         * config.make.in (build-nscd): New substituted variable.
29909         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29910         Change conditional to require [$(build-nscd) = yes] as well.
29911         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29912
29913         [BZ# 13696]
29914         * configure.in (use_nscd): New substituted variable, set by
29915         --disable-nscd.  If enabled, define USE_NSCD.
29916         * configure: Regenerated.
29917         * config.h.in: Add USE_NSCD.
29918         * config.make.in (use-nscd): New substituted variable.
29919         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29920         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29921         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29922         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29923         (CFLAGS-getgrnam_r.c): Likewise.
29924         (CFLAGS-initgroups.c): Likewise.
29925         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29926         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29927         Variables removed.
29928         * inet/getnetgrent_r.c
29929         (nscd_setnetgrent): New function, broken out of ...
29930         (setnetgrent): ... here.  Call it.
29931         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29932         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29933         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29934         * nscd/Makefile (routines, aux): Move definitions after include of
29935         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29936         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29937         Conditionalize on [USE_NSCD].
29938         (is_nscd, nscd_init_cb): Likewise.
29939         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29940         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29941         * nss/nss_db/db-init.c: Likewise.
29942         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29943         [USE_NSCD].
29944         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29945         (make_request): Use it.
29946         (cache_valid_p): New function.
29947         (__check_pf): Use it.
29948         * NEWS: Add item for --disable-nscd.
29949
29950 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29951
29952         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29953         to support sed >= 4.2.1-20-ga9bf076.
29954         * configure: Regenerated.
29955
29956 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29957
29958         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29959         Conditionalize whole body on [IREL].
29960
29961 2012-08-22  Jeff Law <law@redhat.com>
29962
29963         [BZ #14505]
29964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29965         if the family is PF_UNSPEC.
29966
29967 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29968
29969         * Makerules (lib-version): Rename from V.
29970         (install-lib-nosubdir): Change V to lib-version.
29971
29972 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29973
29974         [BZ #14252]
29975         * powerpc32/power6/wcschr.c: New file.
29976         * powerpc32/power6/wcscpy.c: New file.
29977         * powerpc32/power6/wcsrchr.c: New file.
29978         * powerpc64/power6/wcschr.c: New file.
29979         * powerpc64/power6/wcscpy.c: New file.
29980         * powerpc64/power6/wcsrchr.c: New file.
29981
29982 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29983
29984         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29985         (two_way_short_needle): Use it.
29986         * string/strstr.c (AVAILABLE1_USES_J): Define.
29987         * string/strcasestr.c: Likewise.
29988
29989         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29990         array references.
29991         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29992
29993         [BZ #11607]
29994         * NEWS: Add an entry.
29995         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29996         define their defaults.
29997         (two_way_short_needle): Detect end-of-string on-the-fly.
29998         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29999         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30000         * string/bug-strcasestr1.c: New test.
30001         * string/Makefile: Run it.
30002
30003 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30004
30005         [BZ #11607]
30006         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30007         the first character.
30008
30009 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30010
30011         * csu/elf-init.c (__libc_csu_irel): Function removed.
30012         * csu/libc-start.c (apply_irel): New function.
30013         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30014
30015 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30016
30017         * sysdeps/unix/sysv/linux/kernel-features.h
30018         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30019         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30020         <kernel-features.h>.
30021         [__NR_fadvise64_64]: Make code unconditional.
30022         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30023         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30024         !__NR_fadvise64_64)]: Likewise.
30025         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30026         !__NR_fadvise64_64))]: Likewise.
30027         [__NR_fadvise64]: Make code unconditional.
30028         [!__NR_fadvise64]: Remove conditional code.
30029         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30030         <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         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30036         not include <kernel-features.h>.
30037         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30038         unconditional.
30039         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30040         conditional code.
30041         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30042         include <kernel-features.h>.
30043         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30044         unconditional.
30045         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30046         conditional code.
30047
30048 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30049
30050         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30051         slight instruction rearrangements per scrollpipe analysis.
30052         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30053
30054 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30055
30056         * manual/syslog.texi (syslog; vsyslog, closelog):
30057         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30058         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30059
30060         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30061         DSOCAPS to match condition on defining it.
30062
30063 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30064
30065         * sysdeps/unix/sysv/linux/kernel-features.h
30066         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30068         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30069         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30071         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30072         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30074         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30075         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30076
30077         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30078         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30079
30080         * sysdeps/unix/sysv/linux/kernel-features.h
30081         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30082         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30083         unconditional.
30084         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30085         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30086         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30087         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30088         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30089         Make code unconditional.
30090         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30091         (__mmap64) [!__NR_mmap2]: Likewise.
30092         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30093         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30094         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30095         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30096         [__NR_mmap2]: Make code unconditional.
30097         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30098         (__mmap64) [!__NR_mmap2]: Likewise.
30099
30100 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30101
30102         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30103
30104 2012-08-18  Andreas Jaeger  <aj@suse.de>
30105
30106         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30107
30108 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30109
30110         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30111         * include/unistd.h (__have_sock_cloexec): Likewise.
30112         (__have_pipe2): Likewise.
30113         (__have_dup3): Likewise.
30114
30115 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30116
30117         [BZ #9685]
30118         * include/unistd.h (__have_pipe2): Change define into an extern int.
30119         (__have_dup3): Likewise.
30120         * socket/have_sock_cloexec.c: Include fcntl.h.
30121         (__have_pipe2): New variable.
30122         (__have_dup3): Likewise.
30123
30124 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30125
30126         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30127
30128 2012-08-17  Marek Polacek  <polacek@redhat.com>
30129
30130         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30131         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30132
30133 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30134
30135         * configure.in: Add AC_SUBST for sysheaders.
30136         * configure: Regenerated.
30137         * config.make.in (sysheaders): New substituted variable.
30138
30139         * sysdeps/unix/mkfifo.c: Moved ...
30140         * sysdeps/posix/mkfifo.c: ... here.
30141         * sysdeps/unix/mkfifoat.c: Moved ...
30142         * sysdeps/posix/mkfifoat.c: ... here.
30143
30144         * sysdeps/unix/utime.c: Moved ...
30145         * sysdeps/posix/utime.c: ... here.
30146
30147         * sysdeps/unix/time.c: Moved ...
30148         * sysdeps/posix/time.c: ... here.
30149         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30150         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30151
30152         * sysdeps/unix/nice.c: Moved ...
30153         * sysdeps/posix/nice.c: ... here.
30154
30155         * sysdeps/unix/alarm.c: Moved ...
30156         * sysdeps/posix/alarm.c: ... here.
30157
30158         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30159
30160 2012-08-17  Jeff Law <law@redhat.com>
30161
30162         * intl/Makefile (codeset_mo): New variable.
30163         ($(codeset_mo)): New target.
30164         (tst-codeset.out): Depend on that.  Remove explicit rule.
30165         (tst-gettext3.out, tst-gettext5.out): Likewise.
30166         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30167         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30168         * intl/tst-codeset.sh: Remove.
30169         * intl/tst-gettext3.sh: Likewise.
30170         * intl/tst-gettext5.sh: Likewise.
30171
30172 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30173
30174         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30175         * sysdeps/unix/syscalls.list: ... here.
30176
30177         * sysdeps/posix/getaddrinfo.c
30178         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30179         (gaiconf_init, gaiconf_reload): Use them.
30180         [!_STATBUF_ST_NSEC]
30181         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30182         Define using time_t rather than struct timespec.
30183
30184         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30185         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30186         Macros removed.
30187         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30188         [!NO_THREADS].
30189         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30190         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30191         Likewise.
30192
30193         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30194         __libc_cleanup_push argument.
30195
30196         * bits/param.h: New file.
30197         * misc/sys/param.h: New file.
30198         * include/sys/param.h: New file.
30199         * misc/Makefile (headers): Add bits/param.h.
30200         * sysdeps/generic/sys/param.h: File removed.
30201         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30202         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30203         * sysdeps/mach/hurd/bits/param.h: New file.
30204         * sysdeps/mach/hurd/sys/param.h: File removed.
30205
30206         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30207         last change.
30208
30209         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30210         [_IO_MTSAFE_IO].
30211         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30212         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30213         New macros.
30214
30215         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30216         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30217         rather than -D_IO_MTSAFE_IO conditionally.
30218         * stdio-common/Makefile (CPPFLAGS): Likewise.
30219         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30220         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30221         Use $(libio-mtsafe).
30222         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30223         of -D_IO_MTSAFE_IO.
30224         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30225         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30226         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30227         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30228         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30229         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30230         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30231         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30232         (CFLAGS-fread_u_chk.c): Likewise.
30233         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30234         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30235         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30236         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30237         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30238         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30239         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30240         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30241         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30242
30243         * libio/Makefile: Test [$(libc-reentrant) = yes]
30244         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30245
30246         * Makeconfig
30247         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30248         * sysdeps/pthread/configure: File removed.
30249         * sysdeps/pthread/Makeconfig: New file.
30250         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30251         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30252
30253 2012-08-16  Gary Benson  <gbenson@redhat.com>
30254
30255         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30256         unmapping the first object in a namespace.
30257
30258 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30259
30260         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30261         (__internal_setnetgrent): ... this.  Add internal_function to
30262         definition.  Add libc_hidden_def.
30263         (setnetgrent): Update caller.
30264         (internal_endnetgrent): Renamed to ...
30265         (__internal_endnetgrent): ... this.  Add internal_function to
30266         definition.  Add libc_hidden_def.
30267         (endnetgrent): Update caller.
30268         (internal_getnetgrent_r): Renamed to ...
30269         (__internal_getnetgrent_r): ... this.  Add internal_function to
30270         definition.  Add libc_hidden_def.
30271         (__getnetgrent_r): Update caller.
30272         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30273
30274 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30275
30276         * stdlib/longlong.h: Update from GCC.
30277
30278 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30279
30280         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30281         on _QL, which is set by umul_ppmm but never used.
30282         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30283         variables, which are set by GMP macros but never used.
30284         * stdio-common/_itowa.c (_itowa): Likewise.
30285         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30286         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30287
30288 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30289
30290         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30291         struct La_sh_regs is not constant.
30292         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30293         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30294         and struct La_sparc64_regs are not constant.
30295
30296 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30297
30298         * sysdeps/unix/sysv/linux/kernel-features.h
30299         (__ASSUME_POSIX_TIMERS): Remove.
30300         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30301         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30302         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30303         Make code unconditional.
30304         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30305         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30306         Make code unconditional.
30307         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30308         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30309         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30310         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30311         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30312         Make code unconditional.
30313         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30314         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30315         (__libc_missing_posix_timers): Remove.
30316
30317 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30318
30319         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30320         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30321
30322         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30323
30324         * elf/dl-sym.c: Include <stdlib.h>.
30325
30326         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30327         constants, which avoids warnings in 32-bit builds.
30328
30329         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30330         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30331
30332         * misc/lseek.c: File moved to ...
30333         * io/lseek.c: ... here.
30334
30335         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30336
30337         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30338         shifting LEN more than 31 bits at once.
30339
30340 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30341
30342         [BZ #14195]
30343         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30344         segmentation fault for a case of two empty input strings.
30345         * string/test-strncasecmp.c (check1): Renamed to...
30346         (bz12205): ...this.
30347         (bz14195): Add new testcase for two empty input strings and N > 0.
30348         (test_main): Call new testcase, adapt for renamed function.
30349
30350 2012-08-15  Andreas Jaeger  <aj@suse.de>
30351
30352         [BZ #14090]
30353         * crypt/md5test2.c: New test, based on test supplied by Serge
30354         Belyshev <belyshev@depni.sinp.msu.ru>.
30355         * crypt/Makefile (xtests): Add md5test-giant..
30356         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30357
30358 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30359
30360         [BZ #14090]
30361         * crypt/md5.c (md5_process_block): Don't assume the buffer
30362         length is less than 2**32.
30363         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30364         length is less than 2**64.
30365
30366 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30367
30368         * string/str-two-way.h: Include <sys/param.h>.
30369         (MAX): Macro removed.
30370
30371         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30372         Move #define and #undef of memmove to just before and after
30373         including <string.h>.
30374
30375         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30376         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30377         and after including <string.h>.  Move declarations of
30378         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30379         to before #include "string/memmove.c".
30380
30381         * include/dirent.h: Declare __getdirentries.
30382
30383         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30384         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30385
30386 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30387
30388         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30389         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30390         * sysdeps/i386/configure: Regenerated.
30391         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30392         STABS_CURRENT_FILE, and STABS_FUN.
30393         (END): Remove call to STABS_FUN_END.
30394         (STABS_CURRENT_FILE1): Delete.
30395         (STABS_CURRENT_FILE): Likewise.
30396         (STABS_FUN): Likewise.
30397         (STABS_FUN_END): Likewise.
30398         (STABS_FUN2): Likewise.
30399         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30400         * sysdeps/x86_64/configure: Regenerated.
30401
30402 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30403
30404         * elf/dl-open.c: Include <atomic.h>.
30405         * elf/dl-lookup.c: Likewise.
30406
30407 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30408
30409         * sysdeps/unix/sysv/linux/kernel-features.h
30410         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30411         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30412         unconditionally.
30413         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30414         unconditionally.
30415         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30416         condition on __ASSUME_CLONE_THREAD_FLAGS.
30417
30418 2012-08-14  Andreas Jaeger  <aj@suse.de>
30419
30420         * sysdeps/i386/fpu/libm-test-ulps: Update.
30421
30422 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30423
30424         * include/atomic.h (atomic_exchange_and_add): Split into ...
30425         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30426         New atomic macros.
30427
30428 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30429
30430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30431
30432 2012-08-13  Jeff Law <law@redhat.com>
30433
30434         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30435         null byte in the output string.
30436
30437 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30438
30439         * sysdeps/unix/sysv/linux/kernel-features.h
30440         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30441         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30442         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30443         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30444         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30445         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30446         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30447
30448 2012-08-09  Jeff Law <law@redhat.com>
30449
30450         [BZ #13939]
30451         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30452         When avoid_arena is set, don't retry in the that arena.  Pick the
30453         next one, whatever it might be.
30454         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30455         (arena_lock): Pass in new parameter to arena_get2.
30456         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30457         arena_get2.
30458         (__libc_malloc): Unify retrying after main arena failure with
30459         __libc_memalign version.
30460         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30461
30462 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30463
30464         [BZ #14166]
30465         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30466         to __redirect_strstr.
30467         (__strstr_sse42): Use typeof __redirect_strstr.
30468         (__strstr_ia32): Likewise.
30469         (__libc_strstr): New prototype.
30470         (strstr): Renamed to ...
30471         (__libc_strstr): This.
30472         (strstr): New strong alias of __libc_strstr.
30473         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30474         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30475         __redirect_time.
30476         Include <time.h>.
30477         (__libc_time): New prototype.
30478         (time_ifunc): Replace time with __libc_time.
30479         (time): New strong alias and hidden definition of __libc_time.
30480         (__GI_time): Remove strong alias.
30481         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30482         Include <stddef.h>.
30483         (memmove): Redefined to __redirect_memmove.
30484         (__memmove_sse2): Use typeof __redirect_memmove.
30485         (__memmove_ssse3): Likewise.
30486         (__memmove_ssse3_back): Likewise.
30487         (__libc_memmove): New prototype.
30488         (memmove): Renamed to ...
30489         (__libc_memmove): This.
30490         (memmove): New strong alias of __libc_memmove.
30491
30492 2012-08-08  Mark Salter  <msalter@redhat.com>
30493
30494         * elf/elf.h
30495         (R_MN10300_TLS_GD): Define.
30496         (R_MN10300_TLS_LD): Likewise.
30497         (R_MN10300_TLS_LDO): Likewise.
30498         (R_MN10300_TLS_GOTIE): Likewise.
30499         (R_MN10300_TLS_IE): Likewise.
30500         (R_MN10300_TLS_LE): Likewise.
30501         (R_MN10300_TLS_DTPMOD): Likewise.
30502         (R_MN10300_TLS_DTPOFF): Likewise.
30503         (R_MN10300_TLS_TPOFF): Likewise.
30504         (R_MN10300_SYM_DIFF): Likewise.
30505         (R_MN10300_ALIGN): Likewise.
30506         (R_MN10300_NUM): Update.
30507
30508 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30509
30510         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30511         Remove.
30512
30513 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30514
30515         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30516
30517         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30518         sysdeps/unix -> sysdeps/posix move.
30519         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30520
30521 2012-08-07      Allan McRae     <allan@archlinux.org>
30522
30523         [BZ #14303]
30524         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30525         (SUNOS_CPP): Likewise.
30526         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30527         not found.
30528         (open_input): Call CPP using execvp.
30529
30530 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30531
30532         * sysdeps/unix/sysv/linux/kernel-features.h
30533         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30534         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30535         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30536         (__ASSUME_WAITID_SYSCALL): Likewise.
30537         * sysdeps/unix/sysv/linux/dl-execstack.c
30538         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30539         code unconditional.
30540         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30541         conditional code.
30542         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30543         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30544         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30545         code.
30546         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30547         unconditional.
30548         [__ASSUME_WAITID_SYSCALL]: Likewise.
30549         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30550
30551 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30552
30553         * sysdeps/unix/closedir.c: Renamed to ...
30554         * sysdeps/posix/closedir.c: ... here.
30555         * sysdeps/unix/dirfd.c: Renamed to ...
30556         * sysdeps/posix/dirfd.c: ... here.
30557         * sysdeps/unix/dirstream.h: Renamed to ...
30558         * sysdeps/posix/dirstream.h: ... here.
30559         * sysdeps/unix/fdopendir.c: Renamed to ...
30560         * sysdeps/posix/fdopendir.c: ... here.
30561         * sysdeps/unix/opendir.c: Renamed to ...
30562         * sysdeps/posix/opendir.c: ... here.
30563         * sysdeps/unix/readdir.c: Renamed to ...
30564         * sysdeps/posix/readdir.c: ... here.
30565         * sysdeps/unix/readdir_r.c: Renamed to ...
30566         * sysdeps/posix/readdir_r.c: ... here.
30567         * sysdeps/unix/rewinddir.c: Renamed to ...
30568         * sysdeps/posix/rewinddir.c: ... here.
30569         * sysdeps/unix/seekdir.c: Renamed to ...
30570         * sysdeps/posix/seekdir.c: ... here.
30571         * sysdeps/unix/telldir.c: Renamed to ...
30572         * sysdeps/posix/telldir.c: ... here.
30573         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30574         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30575         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30576         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30577
30578         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30579         * bits/fcntl.h: ... here.
30580
30581         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30582         not 0.
30583         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30584         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30585         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30586         (struct flock): Move l_start, l_len to the beginning.
30587         Use __pid_t for l_pid.
30588         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30589         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30590         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30591         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30592         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30593         [__USE_LARGEFILE64] (struct flock64): New type.
30594         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30595
30596         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30597         * bits/dirent.h: ... here.
30598
30599         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30600         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30601
30602 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30603
30604         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30605         Change from 2.6.0 to 2.6.16.
30606         * sysdeps/unix/sysv/linux/configure: Regenerated.
30607         * sysdeps/unix/sysv/linux/kernel-features.h
30608         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30609         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30610         version.
30611         (__ASSUME_UTIMES): Likewise.
30612         (__ASSUME_CLONE_STOPPED): Remove.
30613         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30614         architectures, not kernel version.
30615         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30616         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30617         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30618         (__ASSUME_WAITID_SYSCALL): Likewise.
30619         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30620         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30621         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30622         refer to older versions.
30623
30624 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30625
30626         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30627         Define alphasort64 as an alias.
30628         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30629         Define versionsort64 as an alias.
30630         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30631         Define scandir64 as an alias.
30632         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30633         Define scandirat64 as an alias.
30634         * dirent/alphasort64.c (alphasort64):
30635         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30636         * dirent/versionsort64.c: Likewise.
30637         * dirent/scandir64.c: Likewise.
30638         * dirent/scandirat64.c: Likewise.
30639         * sysdeps/wordsize-64/alphasort.c: File removed.
30640         * sysdeps/wordsize-64/alphasort64.c: File removed.
30641         * sysdeps/wordsize-64/scandir.c: File removed.
30642         * sysdeps/wordsize-64/scandir64.c: File removed.
30643         * sysdeps/wordsize-64/scandirat.c: File removed.
30644         * sysdeps/wordsize-64/scandirat64.c: File removed.
30645         * sysdeps/wordsize-64/versionsort.c: File removed.
30646         * sysdeps/wordsize-64/versionsort64.c: File removed.
30647         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30648         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30649         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30650         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30651         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30652         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30653         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30654         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30655
30656         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30658         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30659         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30660         [defined __arch64__ || defined __sparcv9]
30661         (__INO_T_MATCHES_INO64_T): New macro.
30662         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30663         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30664         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30665         * sysdeps/unix/sysv/linux/bits/dirent.h
30666         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30667         (_DIRENT_MATCHES_DIRENT64): New macro.
30668
30669         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30670         Define lockf64 as an alias.
30671         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30672         Define fseeko64 as an alias.
30673         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30674         Define ftello64 as an alias.
30675         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30676         Define _IO_fgetpos64 and fgetpos64 as aliases.
30677         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30678         Define _IO_fsetpos64 and fsetpos64 as aliases.
30679         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30680         Conditionalize body on this.
30681         * libio/fseeko64.c: Likewise.
30682         * libio/ftello64.c: Likewise.
30683         * libio/iofgetpos64.c: Likewise.
30684         * libio/iofsetpos64.c: Likewise.
30685         * sysdeps/wordsize-64/lockf.c: File removed.
30686         * sysdeps/wordsize-64/lockf64.c: File removed.
30687         * sysdeps/wordsize-64/fseeko.c: File removed.
30688         * sysdeps/wordsize-64/fseeko64.c: File removed.
30689         * sysdeps/wordsize-64/ftello.c: File removed.
30690         * sysdeps/wordsize-64/ftello64.c: File removed.
30691         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30692         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30693         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30694         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30695         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30696         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30697         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30698         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30699         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30700         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30701         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30702         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30703         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30704         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30705
30706         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30707         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30708         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30709         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30710         [defined __arch64__ || defined __sparcv9]
30711         (__OFF_T_MATCHES_OFF64_T): New macro.
30712         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30713         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30715         (__OFF_T_MATCHES_OFF64_T): New macro.
30716
30717 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30718
30719         * stdlib/secure-getenv.c (__secure_getenv): Replace
30720         GLIBC_2_16 with GLIBC_2_17.
30721
30722 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30723
30724         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30725         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30726
30727 2012-08-03  David S. Miller  <davem@davemloft.net>
30728
30729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30730
30731 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30732
30733         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30734         Remove.
30735         (__ASSUME_CORRECT_SI_PID): Likewise.
30736         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30737         (__ASSUME_TMPFS_NAME): Likewise.
30738         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30739         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30740         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30741         (HAVE_AUX_SECURE): Make definition unconditional.
30742         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30743         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30744
30745 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30746
30747         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30748         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30749         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30750         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30751         __eloop_threshold instead of SYMLOOP_MAX.
30752
30753         * sysdeps/generic/eloop-threshold.h: New file.
30754         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30755         of MAXSYMLINKS.
30756         * elf/chroot_canon.c (chroot_canon): Likewise.
30757
30758 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30759
30760         [BZ #13717]
30761         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30762         Change to 2.6.0 everywhere.
30763         * sysdeps/unix/sysv/linux/configure: Regenerated.
30764         * sysdeps/unix/sysv/linux/kernel-features.h
30765         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30766         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30767         kernel versions.
30768         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30769         (__ASSUME_FUTEX_REQUEUE): Remove.
30770         (__ASSUME_STATFS64): Define unconditionally.
30771         (__ASSUME_AT_SECURE): Likewise.
30772         (__ASSUME_CORRECT_SI_PID): Likewise.
30773         (__ASSUME_TGKILL): Define without depending on kernel version for
30774         i386.
30775         (__ASSUME_UTIMES): Likewise.
30776         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30777         kernel version.
30778         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30779         (__ASSUME_TMPFS_NAME): Likewise.
30780         * README: Update reference to Linux kernel versions.
30781
30782 2012-08-02  Marek Polacek  <polacek@redhat.com>
30783
30784         [BZ# 14150]
30785         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30786         libc_cv_asm_type_prefix with %.
30787         * configure: Regenerated.
30788         * include/libc-symbols.h: Remove comment about
30789         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30790         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30791         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30792         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30793         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30794         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30795         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30796         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30797         * elf/tst-unique2mod1.c: Likewise.
30798         * elf/tst-unique1mod2.c: Likewise.
30799         * elf/tst-unique1mod1.c: Likewise.
30800         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30801         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30802         Replace ASM_TYPE_DIRECTIVE with .type.
30803         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30804         * sysdeps/i386/sysdep.h: Likewise.
30805         * sysdeps/x86_64/sysdep.h: Likewise.
30806         * sysdeps/sh/sysdep.h: Likewise.
30807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30808         Do not define ASM_TYPE_DIRECTIVE.
30809         * sysdeps/powerpc/sysdep.h: Likewise.
30810         * sysdeps/powerpc/powerpc32/sysdep.h:
30811         Replace ASM_TYPE_DIRECTIVE with .type.
30812         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30813         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30814         * sysdeps/i386/fpu/e_powf.S: Likewise.
30815         * sysdeps/i386/fpu/e_expl.S: Likewise.
30816         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30817         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30818         * sysdeps/i386/fpu/e_pow.S: Likewise.
30819         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30820         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30821         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30822         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30823         * sysdeps/i386/fpu/e_log2.S: Likewise.
30824         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30825         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30826         * sysdeps/i386/fpu/e_powl.S: Likewise.
30827         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30828         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30829         * sysdeps/i386/fpu/e_logl.S: Likewise.
30830         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30831         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30832         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30833         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30834         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30835         * sysdeps/i386/fpu/e_log.S: Likewise.
30836         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30837         * sysdeps/i386/fpu/e_logf.S: Likewise.
30838         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30839         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30840         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30841         * sysdeps/i386/fpu/e_log10.S: Likewise.
30842         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30843         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30844         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30845         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30846         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30847         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30848         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30849         * sysdeps/i386/i686/strtok.S: Likewise.
30850         * sysdeps/i386/i386-mcount.S: Likewise.
30851         * sysdeps/i386/strtok.S: Likewise.
30852         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30853         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30854         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30855         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30856         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30857         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30858         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30859         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30860         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30861         * sysdeps/x86_64/_mcount.S: Likewise.
30862         * sysdeps/x86_64/strtok.S: Likewise.
30863         * sysdeps/sh/_mcount.S: Likewise.
30864
30865 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30866
30867         * libio/iofopen.c: Include <fcntl.h>.
30868         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30869         (_IO_fopen64, fopen64): Define as aliases.
30870         * libio/iofopen64.c: Include <fcntl.h>.
30871         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30872         Conditionalize body on this.
30873         * sysdeps/wordsize-64/iofopen.c: File removed.
30874         * sysdeps/wordsize-64/iofopen64.c: File removed.
30875
30876 2012-08-01  Marek Polacek  <polacek@redhat.com>
30877
30878         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30879         Use dlfcn directly instead of a variable.
30880         (binfmt-subdir): Do not define.
30881         (dlfcn): Likewise.
30882
30883 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30884
30885         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30886         Remove all definitions.
30887         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30888         <kernel-features.h>.
30889         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30890         (miss_F_GETOWN_EX): Remove all definitions.
30891         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30892         macro definition.
30893         [!__ASSUME_FCNTL64]: Remove conditional code.
30894         [__ASSUME_FCNTL64]: Make code unconditional.
30895         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30896         <kernel-features.h>.
30897         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30898         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30899         (lockf64) [__NR_fcntl64]: Make code unconditional.
30900         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30901
30902         * sysdeps/unix/sysv/linux/kernel-features.h
30903         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30904         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30905         Make code unconditional.
30906         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30907         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30909         [__NR_vfork]: Make code unconditional.
30910         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30911         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30913         [__NR_vfork]: Make code unconditional.
30914         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30915         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30916
30917 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30918
30919         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30920         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30921
30922         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30923         Define mkstemp64 as an alias.
30924         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30925         Define mkstemps64 as an alias.
30926         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30927         Define mkostemp64 as an alias.
30928         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30929         Define mkostemps64 as an alias.
30930         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30931         Conditionalize body on this.
30932         * misc/mkostemp64.c: Likewise.
30933         * misc/mkostemps64.c: Likewise.
30934         * misc/mkstemps64.c: Likewise.
30935         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30936         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30937         * sysdeps/wordsize-64/mkostemp.c: File removed.
30938         * sysdeps/wordsize-64/mkstemp.c: File removed.
30939         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30940         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30941         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30942         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30943
30944         [BZ #14138]
30945         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30946         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30947         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30948         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30949
30950         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30951         compat_symbol macros from <shlib-compat.h> rather than the underlying
30952         default_symbol_version and symbol_version macros, so that DEFAULT
30953         lines in shlib-versions are respected.
30954         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30955
30956 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30957
30958         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30959         Declare with warn_unused_result.
30960         (setgid, setregid, setegid, setresgid): Likewise.
30961         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30962         Likewise.
30963         * WUR-REPORT: Remove set*id functions.
30964
30965 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30966
30967         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30968
30969 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30970
30971         [BZ #10191]
30972         * include/sys/socket.h (__libc_accept, __libc_accept4):
30973         Add attribute_hidden.
30974         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30975
30976         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30977         use of PTR_MANGLE.
30978         * inet/getnetgrent_r.c (setup): Likewise.
30979
30980         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30981
30982 2012-07-31  David S. Miller  <davem@davemloft.net>
30983
30984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30985
30986 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30987
30988         [BZ #13629]
30989         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30990         value between 1.0 and 2.0 and smaller part has absolute value less
30991         than 1.0.
30992         * math/s_clog10.c (__clog10): Likewise.
30993         * math/s_clog10f.c (__clog10f): Likewise.
30994         * math/s_clog10l.c (__clog10l): Likewise.
30995         * math/s_clogf.c (__clogf): Likewise.
30996         * math/s_clogl.c (__clogl): Likewise.
30997         * math/libm-test.inc (clog_test): Add more tests.
30998         (clog10_test): Likewise.
30999         * sysdeps/i386/fpu/libm-test-ulps: Update.
31000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31001
31002 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31003
31004         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31005         Exit with zero in case no suitable GID is found, and write a
31006         message to standard error.
31007
31008 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31009
31010         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31011         rather than to 1.
31012         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31013         (MAXPATHLEN): Removed.
31014         (NOGROUP, NODEV): New macros.
31015         (setbit, clrbit, isset, isclr): New macros.
31016         (howmany, roundup, powerof2): New macros.
31017         (DEV_BSIZE): New macro.
31018
31019         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31020         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31021
31022         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31023         definition on [!__NO_LONG_DOUBLE_MATH].
31024
31025         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31026         PTR_MANGLE and PTR_DEMANGLE.
31027
31028         * socket/accept4.c (accept4): Rename to __libc_accept4.
31029         Define accept4 as a weak alias.
31030
31031         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31032         on [_DIRENT_HAVE_D_TYPE].
31033         * io/ftw.c (ftw_dir): Likewise.
31034
31035         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31036
31037         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31038
31039         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31040         Use the BSD numbers rather than the arbitrary ones we had.
31041         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31042         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31043         (SIGXCPU, SIGXFSZ): New macros.
31044         (_NSIG): Now 32.
31045
31046         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31047         initializer on [_LIBC_REENTRANT].
31048
31049         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31050         definitions inside [_POSIX_MAPPED_FILES].
31051
31052         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31053
31054         * dirent/opendir.c: Include <fcntl.h>.
31055
31056         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31057         (__libc_getspecific): Likewise.
31058         (__libc_key_create): Likewise.
31059
31060         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31061         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31062         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31063         (tmpfile64): Define as alias.
31064         * sysdeps/wordsize-64/tmpfile.c: File removed.
31065         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31066         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31067         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31068
31069         * stdio-common/vfscanf.c: Include <stdbool.h>.
31070         * nss/makedb.c: Likewise.
31071         * stdio-common/_i18n_number.h: Likewise.
31072         * argp/argp-help.c: Likewise.
31073         * posix/wordexp.c: Likewise.
31074         * sysdeps/posix/spawni.c: Likewise.
31075         * nss/nss_files/files-initgroups.c: Likewise.
31076         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31077         * nss/nss_files/files-initgroups.c: Likewise.
31078         * nss/nss_db/db-netgrp.c: Likewise.
31079         * nss/nss_db/db-initgroups.c: Likewise.
31080         * io/fchmodat.c: Include <sys/stat.h>.
31081
31082         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31083         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31084
31085         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31086         [HAVE_MMAP].
31087
31088         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31089         Add multiple inclusion protection.
31090
31091 2012-07-27  David S. Miller  <davem@davemloft.net>
31092
31093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31094
31095 2012-07-27  Gary Benson  <gbenson@redhat.com>
31096
31097         [BZ #14298]
31098         * elf/rtld.c: Include <stap-probe.h>.
31099         (dl_main): Added static probes "init_start" and "init_complete".
31100         * elf/dl-load.c: Include <stap-probe.h>.
31101         (lose): Take new parameter "nsid".
31102         Added static probe "map_failed".
31103         (_dl_map_object_from_fd): Pass namespace id to lose.
31104         Added static probe "map_start".
31105         (open_verify): Pass namespace id to lose.
31106         * elf/dl-open.c: Include <stap-probe.h>.
31107         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31108         and "reloc_complete".
31109         * elf/dl-close.c: Include <stap-probe.h>.
31110         (_dl_close_worker): Added static probes "unmap_start" and
31111         "unmap_complete".
31112         * elf/rtld-debugger-interface.txt: New file documenting the above.
31113
31114 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31115
31116         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31117         rather than a string variable.
31118         * sunrpc/rpc_main.c (h_output): Likewise.
31119         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31120
31121 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31122
31123         * inet/check_native.c: New file.
31124
31125 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31126
31127         [BZ #13629]
31128         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31129         if larger part has absolute value 1.0.
31130         * math/s_clog10.c (__clog10): Likewise.
31131         * math/s_clog10f.c (__clog10f): Likewise.
31132         * math/s_clog10l.c (__clog10l): Likewise.
31133         * math/s_clogf.c (__clogf): Likewise.
31134         * math/s_clogl.c (__clogl): Likewise.
31135         * math/libm-test.inc (clog_test): Add more tests.
31136         (clog10_test): Likewise.
31137         * sysdeps/i386/fpu/libm-test-ulps: Update.
31138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31139
31140         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31141         (pltexit): Likewise.
31142         (La_regs): Likewise.
31143         (La_retval): Likewise.
31144         (int_retval): Likewise.
31145         Update #error for removed macros to refer only to definitions in
31146         tst-audit.h.
31147         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.c (pltenter): Remove all definitions of
31166         macro.
31167         (pltexit): Likewise.
31168         (La_regs): Likewise.
31169         (La_retval): Likewise.
31170         (int_retval): Likewise.
31171         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31172         macro.
31173         (pltexit): Likewise.
31174         (La_regs): Likewise.
31175         (La_retval): Likewise.
31176         (int_retval): Likewise.
31177         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31178         macro.
31179         (pltexit): Likewise.
31180         (La_regs): Likewise.
31181         (La_retval): Likewise.
31182         (int_retval): Likewise.
31183         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31184         macro definitions in tst-audit.h.
31185         * sysdeps/i386/tst-audit.h: New file.
31186         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31187         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31188         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31189         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31190         * sysdeps/sh/tst-audit.h: Likewise.
31191         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31192         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31193         * sysdeps/x86_64/tst-audit.h: Likewise.
31194
31195 2012-07-26  Andreas Jaeger  <aj@suse.de>
31196
31197         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31198         ptrace.
31199
31200         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31201         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31202         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31203         PTRACE_O_MASK.
31204         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31205         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31206         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31207
31208         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31209         value.
31210
31211         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31212         _sigsys.
31213         (si_call_addr, si_syscall, si_arch): Define new macro.
31214         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31215         _sigsys.
31216         (si_call_addr, si_syscall, si_arch): Define new marcro.
31217         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31218         _sigsys.
31219         (si_call_addr, si_syscall, si_arch): Define new macro.
31220         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31221         _sigsys.
31222         (si_call_addr, si_syscall, si_arch): Define new macro.
31223
31224 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31225
31226         [BZ #13717]
31227         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31228         Change to 2.4.21 where previously 2.4.1.
31229         * sysdeps/unix/sysv/linux/configure: Regenerated.
31230         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31231         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31232         Linux kernel version.
31233         (__ASSUME_STD_AUXV): Remove.
31234         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31235         kernel version.
31236         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31237         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31238         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31239         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31240         (__ASSUME_NETLINK_SUPPORT): Likewise.
31241         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31242         (__no_netlink_support): Remove conditional definition.
31243         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31244         Remove.
31245         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31246         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31247         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31248         (if_nameindex_ioctl): Remove.
31249         (if_nameindex_netlink): Do not handle __no_netlink_support.
31250         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31251         code.
31252         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31253         Remove conditional code.
31254         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31255         code.
31256         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31257         unconditional.
31258         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31259         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31260         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31261         Remove.
31262         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31263         [!__ASSUME_STD_AUXV]: Remove conditional code.
31264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31265         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31266         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31268         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31269         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31270         code.
31271         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31273         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31274         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31275         conditional code.
31276         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31278         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31279         code.
31280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31281         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31282         conditional code.
31283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31284         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31285         code unconditional.
31286         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31287         conditional code.
31288         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31289         unconditional.
31290         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31291         conditional code.
31292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31293         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31294         unconditional.
31295         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31296         conditional code.
31297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31298         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31299         code unconditional.
31300         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31301         conditional code.
31302         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31303         unconditional.
31304         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31305         conditional code.
31306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31307         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31308         code unconditional.
31309         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31310         conditional code.
31311         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31312         unconditional.
31313         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31314         conditional code.
31315
31316 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31317
31318         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31319         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31320         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31321         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31322         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31323         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31324         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31325         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31326         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31327         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31328         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31329         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31330         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31331         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31332         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31333         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31334         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31335         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31336         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31338         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31339         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31340         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31341
31342 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31343
31344         * Versions.def: Add GLIBC_2.17.
31345         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31346         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31347         Introduce __libc_secure_getenv.
31348         * stdlib/Versions (2.17): Add secure_getenv
31349         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31350         * stdlib/secure-getenv.c: Rename __secure_getenv to
31351         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31352         symbol __secure_getenv for GLIBC_2.0.
31353         * stdlib/tst-secure-getenv.c: New.
31354         * stdlib/Makefile (tests): Add testcase.
31355         * manual/startup.texi (Environment Access): Document
31356         secure_getenv.
31357         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31358         __libc_secure_getenv.
31359         * inet/ruserpass.c (ruserpass): Likewise.
31360         * malloc/mtrace.c (mtrace): Likewise.
31361         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31362         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31363         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31364         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31365         HAVE_SECURE_GETENV.
31366         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31367         __secure_getenv to __libc_secure_getenv.
31368         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31370         Likewise.
31371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31372         Likewise.
31373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31375         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31380
31381 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31382
31383         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31384         (struct La_i86_retval): Likewise.
31385         (struct La_x86_64_regs): Likewise.
31386         (struct La_x86_64_retval): Likewise.
31387         (struct La_x32_regs): Likewise.
31388         (struct La_x32_retval): Likewise.
31389         (struct La_ppc32_regs): Likewise.
31390         (struct La_ppc32_retval): Likewise.
31391         (struct La_ppc64_regs): Likewise.
31392         (struct La_ppc64_retval): Likewise.
31393         (struct La_sh_regs): Likewise.
31394         (struct La_sh_retval): Likewise.
31395         (struct La_s390_32_regs): Likewise.
31396         (struct La_s390_32_retval): Likewise.
31397         (struct La_s390_64_regs): Likewise.
31398         (struct La_s390_64_retval): Likewise.
31399         (struct La_sparc32_regs): Likewise.
31400         (struct La_sparc32_retval): Likewise.
31401         (struct La_sparc64_regs): Likewise.
31402         (struct La_sparc64_retval): Likewise.
31403         (struct audit_ifaces): Remove architecture-specific pltenter and
31404         pltexit members.
31405         * sysdeps/i386/ldsodefs.h: New file.
31406         * sysdeps/powerpc/ldsodefs.h: Likewise.
31407         * sysdeps/s390/ldsodefs.h: Likewise.
31408         * sysdeps/sh/ldsodefs.h: Likewise.
31409         * sysdeps/sparc/ldsodefs.h: Likewise.
31410         * sysdeps/x86_64/ldsodefs.h: Likewise.
31411
31412 2012-07-25  Marek Polacek  <polacek@redhat.com>
31413
31414         [BZ #6808]
31415         * math/libm-test.inc (yn_test): Add another test.
31416         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31417         to ERANGE when the result is +-Inf.
31418         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31419         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31420         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31421         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31422
31423 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31424
31425         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31426         equal to 0.
31427         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31428         clock_t.
31429         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31430
31431 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31432
31433         * configure.in <sysdeps resolving>: Correct printing
31434         Implies_before.
31435         * configure: Regenerate.
31436
31437 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31438
31439         * math/w_ilogb.c: Include <limits.h>.
31440         * math/w_ilogbl.c: Likewise.
31441
31442 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31443
31444         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31445         va_copy.  Document allowing for unavailable va_copy only as
31446         pre-C99 compatibility.
31447         * manual/string.texi (Copying and Concatenation): Use va_copy
31448         instead of __va_copy in concat example.
31449
31450 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31451
31452         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31453         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31454         it if not null.
31455
31456         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31457         with O_NOLINK passed to __file_name_lookup.
31458
31459         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31460         with O_NOLINK passed to __file_name_lookup.
31461
31462         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31463         negative N or less than NGIDS.
31464
31465         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31466         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31467         enough.  Use memcpy instead of strncpy.
31468
31469 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31470
31471         * elf/Makefile (check-data): Remove.
31472         (localplt.data): New vpath directive.
31473         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31474         instead of $(check-data).
31475         * scripts/data/localplt-generic.data: Move to ...
31476         * sysdeps/generic/localplt.data: ... here.
31477         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31478         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31479         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31481         ... here.
31482         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31484         ... here.
31485         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31487         ... here.
31488         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31490         ... here.
31491         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31493         ... here.
31494         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31496         ... here.
31497
31498 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31499
31500         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31501         PPC32 and PPC64 files.
31502         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31503         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31504
31505 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31506
31507         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31508         __makecontext_ret to ...
31509         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31510         ... here and call exit if uc_link is NULL.  New file.
31511         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31512         __makecontext_ret.S.
31513         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31514         __makecontext_ret to ...
31515         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31516         ... here and call exit if uc_link is NULL.  New file.
31517         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31518         __makecontext_ret.S.
31519
31520 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31521
31522         * elf/elf.h (R_390_IRELATIVE): New definition.
31523         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31524         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31525         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31526         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31527         (elf_machine_lazy_rel): Likewise.
31528         * sysdeps/s390/dl-irel.h: New file.
31529         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31530         * sysdeps/s390/s390-64/memset.S: New asm code.
31531         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31532         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31533         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31534         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31535         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31536         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31537         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31538         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31539         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31540         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31541         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31542         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31543         * sysdeps/s390/s390-32/memset.S: New asm code.
31544         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31545
31546 2012-07-17  Marek Polacek  <polacek@redhat.com>
31547
31548         [BZ #14349]
31549         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31550         * sysdeps/s390/s390-64/configure.in: Likewise.
31551         * sysdeps/sparc/configure.in: Likewise.
31552         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31553         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31554         * sysdeps/i386/configure.in: Likewise.
31555         * sysdeps/x86_64/configure.in: Likewise.
31556         * sysdeps/sh/configure.in: Likewise.
31557         * sysdeps/s390/s390-32/configure: Regenerated.
31558         * sysdeps/s390/s390-64/configure: Likewise.
31559         * sysdeps/x86_64/configure: Likewise.
31560         * sysdeps/sh/configure: Likewise.
31561         * sysdeps/powerpc/powerpc64/configure: Likewise.
31562         * sysdeps/powerpc/powerpc32/configure: Likewise.
31563         * sysdeps/sparc/configure: Likwise.
31564         * sysdeps/i386/configure: Likewise.
31565
31566         * elf/dl-open.c: Comment fixes.
31567
31568 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31569
31570         * Makefile [CXX] (check-data): Remove.
31571         [CXX] (c++-types.data): New vpath directive.
31572         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31573         vpath.  Do not allow for C++ type data being missing.
31574         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31575         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31576         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31577         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31578         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31579         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31580         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31582         ... here.
31583         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31585         ... here.
31586         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31588         ... here.
31589         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31591         ... here.
31592         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31594         ... here.
31595         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31597         ... here.
31598         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31600         ... here.
31601         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31603
31604         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31605         definitions to architecture-specific files.
31606         (TLS_IE): Likewise.
31607         (TLS_LD): Likewise.
31608         (TLS_GD): Likewise.
31609         * sysdeps/i386/tls-macros.h: New file.
31610         * sysdeps/powerpc/tls-macros.h: Likewise.
31611         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31612         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31613         * sysdeps/sh/tls-macros.h: Likewise.
31614         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31615         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31616         * sysdeps/x86_64/tls-macros.h: Likewise.
31617
31618 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31619
31620         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31621         zero value for regular exit case.
31622
31623         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31624         (__start_context): Preserve zero value for regular exit case.
31625
31626 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31627             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31628
31629         * manual/setjmp.texi (setcontext): Clarify normal process
31630         termination when uc_link is the null pointer.
31631         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31632         exit call.
31633
31634 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31635
31636         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31637         preprocessor.  Test for each exception mask separately.
31638
31639 2012-07-16  Andreas Jaeger  <aj@suse.de>
31640
31641         * po/ru.po: Update from translation team.
31642
31643 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31644
31645         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31646         equal to 0.
31647         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31648         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31649         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31650         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31651         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31652
31653 2012-07-13  Andreas Jaeger  <aj@suse.de>
31654
31655         * po/fr.po: Update from translation team.
31656
31657 2012-07-12  Marek Polacek  <polacek@redhat.com>
31658
31659         [BZ #14173]
31660         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31661         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31662         loop condition.
31663
31664 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31665
31666         [BZ #13717]
31667         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31668         Change to 2.4.1 where previously 2.4.0.
31669         * sysdeps/unix/sysv/linux/configure: Regenerated.
31670         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31671         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31672         version.
31673         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31674         (__ASSUME_AT_CLKTCK): Remove.
31675         (__ASSUME_AT_PAGESIZE): Likewise.
31676         (__ASSUME_AT_XID): Likewise.
31677         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31678         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31679         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31680         unconditionally.
31681         (HAVE_AUX_PAGESIZE): Likewise.
31682         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31683         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31684         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31685
31686 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31687
31688         [BZ #14307]
31689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31690         the temporary buffer used to invoke __gethostbyname2_r,
31691         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31692         host_data / struct gaih_addrtuple.
31693         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31694         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31695         header file nss/nsswitch.h.
31696         * nss/nsswitch.h (global scope): Add definition of implementation
31697         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31698         resolv/nss_dns/dns-host.c).
31699
31700 2012-07-11  Andreas Jaeger  <aj@suse.de>
31701
31702         * po/fr.po: Update from translation team.
31703
31704         * po/sv.po: Update from translation team
31705         * po/fr.po: Another update from translation team.
31706
31707 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31708
31709         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31710         for subnormals or multiply small sinh result by itself.
31711         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31713
31714 2012-07-11  David S. Miller  <davem@davemloft.net>
31715
31716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31717
31718 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31719
31720         [BZ #14347]
31721         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31722         (INTERNAL_MARK): Shift it here.
31723
31724 2012-07-10  Marek Polacek  <polacek@redhat.com>
31725
31726         [BZ #14151]
31727         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31728         libc_cv_asm_global_directive with .globl.
31729         * configure: Regenerated.
31730         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31731         with .globl.
31732         * sysdeps/i386/configure: Regenerated.
31733         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31734         with .globl.
31735         * sysdeps/x86_64/configure: Regenerated.
31736         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31737         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31738         * elf/tst-unique2mod2.c: Likewise.
31739         * elf/tst-unique2mod1.c: Likewise.
31740         * elf/tst-unique1mod2.c: Likewise.
31741         * elf/tst-unique1mod1.c: Likewise.
31742         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31743         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31744         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31745         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31746         * sysdeps/mach/sysdep.h: Likewise.
31747         * sysdeps/i386/sysdep.h: Likewise.
31748         * sysdeps/i386/i386-mcount.S: Likewise.
31749         * sysdeps/x86_64/_mcount.S: Likewise.
31750         * sysdeps/x86_64/sysdep.h: Likewise.
31751         * sysdeps/sh/_mcount.S: Likewise.
31752         * sysdeps/sh/sysdep.h: Likewise.
31753         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31754         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31755         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31756         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31757         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31758         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31759         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31760         * locale/localeinfo.h: Likewise.
31761         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31762         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31763
31764 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31765
31766         [BZ #14336]
31767         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31768         system".
31769         * manual/message.texi (The Uniforum approach): Likewise.
31770         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31771         (glibc iconv Implementation): Likewise.
31772
31773 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31774
31775         [BZ #14337]
31776         * math/s_clog.c (__clog): Avoid scaling a value down where that
31777         could result in underflow.
31778         * math/s_clog10.c (__clog10): Likewise.
31779         * math/s_clog10f.c (__clog10f): Likewise.
31780         * math/s_clog10l.c (__clog10l): Likewise.
31781         * math/s_clogf.c (__clogf): Likewise.
31782         * math/s_clogl.c (__clogl): Likewise.
31783         * math/libm-test.inc (clog_test): Add more tests.
31784         (clog10_test): Likewise.
31785         * sysdeps/i386/fpu/libm-test-ulps: Update.
31786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31787
31788 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31789
31790         [BZ #14283]
31791         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31792         by 7 not 8 to examine high bit of fractional part.
31793
31794         [BZ #14042]
31795         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31796         for call to __mcount_internal.
31797         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31798         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31799         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31800
31801 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31802
31803         [BZ #14154]
31804         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31805         approximation for values within 0x1p-13f of an odd multiple of
31806         pi/4.
31807         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31808         exception.  Add more tests.
31809         * sysdeps/i386/fpu/libm-test-ulps: Update.
31810
31811         [BZ #6778]
31812         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31813         inputs and return -1 for them.  Do not check for +Inf in case not
31814         reachable for +Inf.
31815         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31816         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31817         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31818         and return -1 for them.  Do not check for +Inf in case not
31819         reachable for +Inf.
31820         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31821         define.
31822         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31823         and return -1 for them.  Do not check for +Inf in case not
31824         reachable for +Inf.
31825         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31826         spurious underflow.
31827         * sysdeps/i386/fpu/libm-test-ulps: Update.
31828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31829
31830 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31831
31832         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31833
31834 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31835
31836         [BZ #14157]
31837         [BZ #14331]
31838         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31839         could result in spurious underflow.  Scale down values above
31840         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31841         * math/s_csqrtf.c (__csqrtf): Likewise.
31842         * math/s_csqrtl.c (__csqrtl): Likewise.
31843         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31844         spurious underflow.
31845         * sysdeps/i386/fpu/libm-test-ulps: Update.
31846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31847
31848 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31849
31850         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31851         xopen-msg.sed.
31852         * catgets/xopen-msg.awk: New file.
31853         * catgets/xopen-msg.sed: Removed.
31854
31855         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31856         po2text.sed.
31857         * intl/po2test.awk: New file.
31858         * intl/po2test.sed: Removed.
31859
31860 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31861
31862         [BZ #14328]
31863         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31864         or multiply small sinh result by itself.
31865         * math/s_ctanf.c (__ctanf): Likewise.
31866         * math/s_ctanh.c (__ctanh): Likewise.
31867         * math/s_ctanhf.c (__ctanhf): Likewise.
31868         * math/s_ctanhl.c (__ctanhl): Likewise.
31869         * math/s_ctanl.c (__ctanl): Likewise.
31870         * math/libm-test.inc (ctan_test_tonearest): New function.
31871         (ctan_test_towardzero): Likewise.
31872         (ctan_test_downward): Likewise.
31873         (ctan_test_upward): Likewise.
31874         (ctanh_test_tonearest): Likewise.
31875         (ctanh_test_towardzero): Likewise.
31876         (ctanh_test_downward): Likewise.
31877         (ctanh_test_upward): Likewise.
31878         (main): Call these new functions.
31879         * sysdeps/i386/fpu/libm-test-ulps: Update.
31880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31881
31882 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31883
31884         * .gitignore: Delete /ports entry.
31885
31886 2012-07-03  Andreas Jaeger  <aj@suse.de>
31887
31888         * po/bg.po: Update from translation team.
31889         * po/cs.po: Likewise.
31890         * po/de.po: Likewise.
31891         * po/hr.po: Likewise.
31892         * po/nl.pl: Likewise.
31893         * po/pl.po: Likewise.
31894         * po/vi.po: Likewise.
31895
31896 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31897
31898         * Makeconfig [!+link] (+link-before-libc): New variable.
31899         [!+link] (+link-after-libc): Likewise.
31900         [!+link] (+link-tests): Likewise.
31901         [!+link] (+link): Define in terms of $(+link-before-libc) and
31902         $(+link-after-libc).
31903         [!+link-static] (+link-static-before-libc): New variable.
31904         [!+link-static] (+link-static-after-libc): Likewise.
31905         [!+link-static] (+link-static-tests): Likewise.
31906         [!+link-static] (+link-static): Define in terms of
31907         $(+link-static-before-libc) and $(+link-static-after-libc).
31908         [build-shared] (link-libc-before-gnulib): New variable.
31909         [build-shared] (link-libc-tests): Likewise.
31910         [build-shared] (link-libc): Define in terms of
31911         $(link-libc-before-gnulib).
31912         [!build-shared] (link-libc-tests): New variable.
31913         (link-libc-static-tests): New variable.
31914         [!gnulib] (gnulib-arch): New variable.
31915         [!gnulib] (gnulib-tests): Likewise.
31916         [!gnulib] (static-gnulib-arch): Likewise.
31917         [!gnulib] (static-gnulib-tests): Likewise.
31918         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31919         Define with "=" instead of ":=".
31920         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31921         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31922         * Rules (binaries-all-notests): New variable.
31923         (binaries-all-tests): Likewise.
31924         (binaries-static-notests): Likewise.
31925         (binaries-static-tests): Likewise.
31926         (binaries-all): Define using $(binaries-all-notests) and
31927         $(binaries-all-tests).
31928         (binaries-static): Define using $(binaries-static-notests) and
31929         $(binaries-static-tests).
31930         (binaries-shared-tests): New variable.
31931         (binaries-shared-notests): Likewise.
31932         (binaries-shared): Remove variable.
31933         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31934         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31935         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31936         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31937         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31938         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31939         * elf/Makefile (sln-modules): New variable.
31940         (extra-objs): Add $(sln-modules:=.o).
31941         (ldconfig-modules): Add static-stubs.
31942         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31943         * elf/static-stubs.c: New file.
31944
31945         [BZ #14283]
31946         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31947         by 7 not 8 to examine high bit of fractional part.  Use volatile
31948         variables when splitting into final array of floats if
31949         __FLT_EVAL_METHOD__ != 0.
31950         * math/libm-test.inc (cos_test): Add another test.
31951         (sin_test): Likewise.
31952         * sysdeps/i386/fpu/libm-test-ulps: Update.
31953
31954         [BZ #14273]
31955         * math/libm-test.inc (cosh_test): Add more tests.
31956
31957         * version.h (RELEASE): Set to "development".
31958         (VERSION): Set to "2.16.90".
31959
31960 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31961
31962         * NEWS: Update copyright. Remove last-updated date.
31963         Mention math library bug fixes and timezone data changes.
31964         * README: Mention GNU/Hurd, x32, and HPPA support status.
31965
31966 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31967
31968         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31969
31970 2012-06-27  Andreas Jaeger  <aj@suse.de>
31971
31972         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31973
31974 2012-06-25  Andreas Jaeger  <aj@suse.de>
31975
31976         * sysdeps/s390/fpu/libm-test-ulps: Update.
31977
31978 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31979             Thomas Schwinge  <thomas@codesourcery.com>
31980
31981         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31982         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31983         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31984         fanotify_mark.
31985
31986 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31987
31988         * sysdeps/mach/start.c: Remove file.
31989         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31990         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31991         * sysdeps/sh/init-first.c: Likewise.
31992
31993         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31994         registers for frame unwinding purposes, add CFI directives.
31995         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31996         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31997         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31998         Likewise.
31999
32000         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32001         __fortify_fail returning.
32002         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32003
32004         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32005         sysdeps/sh/____longjmp_chk.S.
32006         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32007         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32008         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32009         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32010
32011         * sysdeps/sh/abort-instr.h: New file.
32012         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32013         process in case exit returns.
32014
32015         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32016         initialize the GOT register before use.
32017
32018         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32019         calculation of ARGC > 4.
32020
32021         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32022         meaningful names to some local labels.
32023
32024 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32025             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32026
32027         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32028         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32029         (__arch_compare_and_exchange_val_16_acq): Likewise.
32030         (__arch_compare_and_exchange_val_32_acq): Likewise.
32031         (atomic_exchange_and_add): Fix gUSA sequence.
32032         (atomic_add): Likewise.
32033         (atomic_add_negative): Likewise.
32034         (atomic_add_zero): Likewise.
32035         (atomic_bit_test_set): Likewise.
32036
32037 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32038
32039         [BZ #13579]
32040         * include/link.h (struct link_map): Add l_free_initfini.
32041         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32042         l_initfini.
32043         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32044         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32045         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32046         set.
32047
32048 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32049
32050         * configure.in: Use AC_LANG_SOURCE.
32051         * configure: Regenerate.
32052
32053 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32054
32055         * configure.in (libc_cv_localstatedir): New substituted variable.
32056         * configure: Regenerated.
32057         * config.make.in (localstatedir): New variable, substituted from
32058         libc_cv_localstatedir.
32059         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32060         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32061         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32062         * sysdeps/gnu/configure: Regenerated.
32063
32064 2012-06-21  Jeff Law  <law@redhat.com>
32065
32066         [BZ #14277]
32067         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32068         free.  Simplify list management for _LIBC case.
32069
32070 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32071
32072         [BZ #14273]
32073         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32074         Clear sign bit of 64-bit integer value before comparing against
32075         overflow value.
32076
32077         * sysdeps/mach/configure: Regenerated.
32078
32079 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32080
32081         [BZ #14278]
32082         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32083
32084 2012-06-21  Jeff Law  <law@redhat.com>
32085
32086         [BZ #13882]
32087         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32088         uint16_t for elements in the "seen" array to avoid char overflows.
32089         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32090         * elf/dl-open.c (dl_open_worker): Likewise.
32091
32092 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32093
32094         * scripts/list-sources.sh: Scan PORTS for translations.
32095         * po/libc.pot: Regenerated.
32096
32097 2012-06-21  Andreas Jaeger  <aj@suse.de>
32098
32099         [BZ #12194]
32100         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32101         warning.
32102         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32103         * bits/byteswap-16.h (__bswap_16): Likewise.
32104         * bits/byteswap.h (__bswap_constant_16): Likewise.
32105
32106 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32107
32108         [BZ #14117]
32109         * sysdeps/i386/fpu_control.h: Removed.
32110         * sysdeps/x86_64/fpu_control.h: Moved to ...
32111         * sysdeps/x86/fpu_control.h: Here.
32112
32113         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32114         (_FPU_SETCW): Likewise.
32115
32116 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32117
32118         [BZ #14117]
32119         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32120         * sysdeps/x86/fpu/bits/mathinline.h: This.
32121         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32122
32123         [BZ #14050]
32124         [BZ #14117]
32125         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32126         functions if __x86_64__ is defined.
32127
32128 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32129
32130         * string/endian.h: Add !__ASSEMBLER__ condition for including
32131         conversion interfaces.
32132
32133 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32134
32135         [BZ #14241]
32136         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32137         of ABS(x) in calculating zero to negative powers other than odd
32138         integers.
32139         * math/libm-test.inc (pow_test): Add more tests.
32140
32141 2012-06-15  Andreas Jaeger  <aj@suse.de>
32142
32143         * manual/contrib.texi (Contributors): Update entry of Liubov
32144         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32145         Machado Filho.
32146
32147 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32148
32149         * string/string.h: Add __wur to GNU version of strerror_r.
32150
32151 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32152
32153         [BZ #14229]
32154         * string/Makefile (tests): Add tst-strtok_r.
32155         * string/tst-strtok_r.c: New file.
32156         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32157         RAX_LP/RDX_LP on SAVE_PTR.
32158
32159 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32160
32161         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32162
32163 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32164
32165         * libm_test.inc (csqrt_test): Allow more spurious underflow
32166         exceptions.
32167         (j0_test): Likewise.
32168         (j1_test): Likewise.
32169         (y0_test): Likewise.
32170         (y1_test): Likewise.
32171
32172 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32173
32174         * po/Makefile (libc.pot): Use UTF-8 charset.
32175
32176 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32177
32178         [BZ #14210]
32179         Suppress sign-conversion warning from FD_SET.
32180         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32181         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32182         not unsigned long int.
32183         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32184
32185 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32186
32187         [BZ #14050]
32188         [BZ #14117]
32189         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32190         __extern_always_inline instead of __extern_inline.
32191         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32192         (__signbit): Likewise.
32193         (__signbitl): Support C++ namespace.
32194         (lrintf): New inline function.
32195         (lrint): Likewise.
32196         (llrintf): Likewise.
32197         (llrint): Likewise.
32198         (fmaxf): Likewise.
32199         (fmax): Likewise.
32200         (fminf): Likewise.
32201         (fmin): Likewise.
32202         (rint): Likewise.
32203         (rintf): Likewise.
32204         (ceil): Likewise.
32205         (ceilf): Likewise.
32206         (floor): Likewise.
32207         (floorf): Likewise.
32208         (nearbyint): Likewise.
32209         (nearbyintf): Likewise.
32210
32211 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32212
32213         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32214         non-default versions.
32215
32216 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32217
32218         [BZ #14218]
32219         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32220
32221 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32222
32223         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32224         (FE_UPWARD, FE_DOWNWARD): Don't define.
32225         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32226         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32227
32228         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32229         reading it.
32230         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32231         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32232
32233 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32234
32235         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32236         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32237         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32238         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32239
32240 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32241
32242         [BZ #14117]
32243         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32244         * sysdeps/i386/fpu/Implies: New file.
32245         * sysdeps/x86_64/fpu/Implies: Likewise.
32246         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32247         * sysdeps/x86/fpu/bits/fenv.h: This.
32248
32249         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32250         __SSE_MATH__.
32251
32252 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32253
32254         [BZ #14134]
32255         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32256         character 0xffff that matches the last element of the
32257         conversion table.
32258
32259 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32260
32261         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32262         fmodl commit.
32263
32264 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32265
32266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32267         values higher than 25.6283.
32268
32269 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32270
32271         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32272         subnormal exponent extraction and add some __builtin_expect.
32273         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32274         Fix for subnormal mantissa calculation.
32275
32276 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32277
32278         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32279         cpu2 is -1 and errno is not ENOSYS.
32280
32281 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32282
32283         [BZ #14117]
32284         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32285         * sysdeps/x86/bits/string.h: This.
32286         * sysdeps/x86_64/bits/string.h: Removed.
32287
32288         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32289         if not compiling for x86-64, but compiling for >= i486.
32290
32291         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32292         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32293
32294         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32295         New macro from Linux kernel 3.4.0.
32296         (FP_XSTATE_MAGIC2): Likewise.
32297         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32298         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32299         (struct _fpx_sw_bytes): New struct.
32300         (struct _xsave_hdr): Likewise.
32301         (struct _ymmh_state): Likewise.
32302         (struct _xstate): Likewise.
32303
32304         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32305         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32306         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32307         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32308         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32309         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32310
32311         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32312         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32313         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32314         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32315         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32316         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32317
32318 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32319
32320         [BZ #13743]
32321         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32322         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32323         (sysdep_headers): Include sys/platform/ppc.h.
32324         * sysdeps/powerpc/test-gettimebase.c: Test for
32325         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32326         * manual/Makefile (appendices): Include platform.texi.
32327         * manual/contrib.texi (Contributors): Update @node pointers.
32328         * manual/maint.texi (Maintenance): Likewise.
32329         (Platform): New node.
32330         * manual/platform.texi: New file.  Document the new features.
32331
32332 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32333             Jakub Jelinek  <jakub@redhat.com>
32334
32335         [BZ #14188]
32336         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32337         where __builtin_expect is unavailable.
32338
32339 2012-06-03  David S. Miller  <davem@davemloft.net>
32340
32341         * stdlib/longlong.h: Updated from GCC.
32342
32343 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32344
32345         [BZ #14042]
32346         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32347         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32348         __mcount_internal.
32349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32350         (GLIBC_2.16): Likewise.
32351
32352 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32353
32354         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32355
32356 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32357
32358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32359         (default-abi): New variable.
32360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32361         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32362         variable.
32363         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32364         Likewise.
32365         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32366         Likewise.
32367         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32368         Likewise.
32369
32370         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32371         definition.  Document in comment.
32372
32373 2012-06-01  David S. Miller  <davem@davemloft.net>
32374
32375         * stdlib/longlong.h: Updated from GCC.
32376
32377 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32378
32379         [BZ #14117]
32380         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32381         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32382         sys/debugreg.h sys/io.h here.
32383         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32384         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32385         sys/io.h.
32386         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32387         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32388         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32389         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32390         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32391         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32392
32393         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32394         Define only if __x86_64__ is defined.
32395
32396 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32397
32398         [BZ #14048]
32399         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32400         Use int64_t for variable i.
32401         * math/libm-test.inc (fmod_test): Add more tests.
32402
32403         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32404         z computation is not scheduled after fetestexcept.
32405         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32406         Use math_force_eval instead of asm to ensure calculation scheduled
32407         before exception test.
32408         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32409         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32410
32411 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32412
32413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32414         computation is not scheduled after fetestexcept.
32415
32416 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32417
32418         [BZ #14117]
32419         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32420         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32421
32422 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32423
32424         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32425         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32426
32427 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32428
32429         [BZ #14117]
32430         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32431         <bits/wordsize.h>.
32432         (__WCHAR_MIN): Support __WORDSIZE == 64.
32433         (__WCHAR_MAX): Likewise.
32434
32435         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32436         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32437
32438         [BZ #14183]
32439         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32440         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32441
32442         [BZ #14117]
32443         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32444         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32445
32446         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32447         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32448
32449         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32450         Defined to 1 if __x86_64__ isn't defined.
32451         (_STAT_VER_LINUX_OLD): New.
32452         (st_atime): Remove duplicate.
32453         (st_mtime): Likewise.
32454         (st_ctime): Likewise.
32455
32456 2012-05-31  David S. Miller  <davem@davemloft.net>
32457
32458         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32459         entries.
32460
32461 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32462
32463         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32464         gen-libm-test.pl.
32465
32466         [BZ #14132]
32467         * elf/dl-reloc.c: Include <_itoa.h>.
32468         (_dl_reloc_bad_type): Remove use of INTUSE.
32469         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32470         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32471         * stdio-common/psiginfo.c (psiginfo): Likewise.
32472         * stdio-common/psignal.c (psignal): Likewise.
32473         * string/strsignal.c (strsignal): Likewise.
32474         * include/signal.h (_sys_siglist): Declare hidden proto.
32475         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32476         INTVARDEF with libc_hidden_data_def.
32477         * stdio-common/itoa-udigits.c: Likewise.
32478         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32479         (_itoa_lower_digits_internal): Remove declaration.
32480         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32481         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32482         (_sys_sigabbrev_internal): Remove aliases.
32483         (_sys_siglist): Define hidden alias.
32484
32485 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32486
32487         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32488         bits/sysctl.h.
32489
32490 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32491
32492         [BZ #14117]
32493         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32494         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32495
32496         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32497         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32498         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32499         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32500         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32501         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32502
32503         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32504         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32505         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32506
32507         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32508         with __addr.
32509         (insw): Likewise.
32510         (insl): Likewise.
32511         (outsb): Likewise.
32512         (outsw): Likewise.
32513         (outsl): Likewise.
32514
32515         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32516         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32517         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32518
32519         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32520         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32521         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32522         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32523         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32524         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32525
32526         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32527         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32528
32529         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32530         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32531
32532         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32533         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32534         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32535
32536         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32537         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32538         to ...
32539         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32540
32541         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32542         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32543         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32544
32545         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32546         for x86-64.
32547         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32548
32549 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32550
32551         * math/math.h (M_El): Use two more decimal places.
32552         (M_LOG2El): Likewise.
32553         (M_LOG10El): Likewise.
32554         (M_LN2l): Likewise.
32555         (M_LN10l): Likewise.
32556         (M_PIl): Likewise.
32557         (M_PI_2l): Likewise.
32558         (M_PI_4l): Likewise.
32559         (M_1_PIl): Likewise.
32560         (M_2_PIl): Likewise.
32561         (M_2_SQRTPIl): Likewise.
32562         (M_SQRT2l): Likewise.
32563         (M_SQRT1_2l): Likewise.
32564
32565 2012-05-31  David S. Miller  <davem@davemloft.net>
32566
32567         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32568         values between float registers.
32569         * sysdeps/sparc/sparc64/memset.S: Likewise.
32570         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32571
32572 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32573
32574         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32575         -D_FORTIFY_SOURCE=1.
32576         (CPPFLAGS-tst-longjmp_chk.c): Define.
32577         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32578         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32579         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32580         CFLAGS-tst-wchar-h.c.
32581
32582 2012-05-31  Marek Polacek  <polacek@redhat.com>
32583
32584         [BZ #14132]
32585         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32586         __endmntent_internal): Remove declaration.
32587         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32588         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32589         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32590
32591 2012-05-30  David S. Miller  <davem@davemloft.net>
32592
32593         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32594         (___Q_simulate_exceptions): Use real FP ops rather than writing
32595         into the %fsr.
32596         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32597         Likewise.
32598
32599 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32600
32601         [BZ #14117]
32602         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32603         * sysdeps/x86/bits/xtitypes.h: This.
32604
32605         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32606         * sysdeps/x86/bits/wordsize.h: This.
32607
32608         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32609         * sysdeps/x86/bits/huge_vall.h: This.
32610
32611         * sysdeps/i386/bits/select.h: Removed.
32612         * sysdeps/x86_64/bits/select.h: Renamed to ...
32613         * sysdeps/x86/bits/select.h: This.
32614
32615         * sysdeps/i386/bits/setjmp.h: Removed.
32616         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32617         * sysdeps/x86/bits/setjmp.h: This.
32618
32619         * sysdeps/i386/bits/mathdef.h: Removed.
32620         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32621         * sysdeps/x86/bits/mathdef.h: This.
32622
32623 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32624
32625         [BZ #14132]
32626         * include/sys/socket.h (__connect_internal)
32627         (__libc_sa_len_internal): Remove declaration.
32628         (__connect, __libc_sa_len): Declare hidden_proto.
32629         (SA_LEN): Remove use of INTUSE.
32630         * socket/connect.c: Add libc_hidden_def.
32631         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32632         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32633         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32634         alias.
32635         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32636         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32637         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32638         of adding _internal alias.
32639
32640 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32641
32642         [BZ #14117]
32643         * sysdeps/i386/bits/link.h: Removed.
32644         * sysdeps/i386/bits/linkmap.h: Likewise.
32645         * sysdeps/x86_64/bits/link.h: Renamed to ...
32646         * sysdeps/x86/bits/link.h: This.
32647         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32648         * sysdeps/x86/bits/linkmap.h: This.
32649
32650         * sysdeps/i386/bits/endian.h: Removed.
32651         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32652         * sysdeps/x86/bits/endian.h: This.
32653
32654         * sysdeps/i386/bits/byteswap.h: Removed.
32655         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32656         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32657         * sysdeps/x86/bits/byteswap.h: This.
32658         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32659         * sysdeps/x86/bits/byteswap-16.h: This.
32660         * sysdeps/i386/Implies: Add x86.
32661         * sysdeps/x86_64/Implies: Likewise.
32662
32663 2012-05-30  David S. Miller  <davem@davemloft.net>
32664
32665         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32666         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32667         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32668         (FP_TRAPPING_EXCEPTIONS): Define.
32669         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32670         (FP_TRAPPING_EXCEPTIONS): Define.
32671         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32672         subnormals only when inexact has been signalled or underflow
32673         exceptions are enabled.
32674         (_FP_PACK_CANONICAL): Likewise.
32675
32676 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32677
32678         [BZ #14183]
32679         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32680         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32681
32682 2012-05-30  Richard Henderson  <rth@twiddle.net>
32683
32684         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32685         with #ifndef NOT_IN_libc.
32686
32687         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32688         marked to avoid plt entry.
32689
32690 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32691
32692         [BZ #14112]
32693         * Makeconfig (default-abi): New macro.
32694         (abi-includes): Likewise.
32695         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32696         $(abi-$(default-abi)-lib-soname) for soname if defined.
32697         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32698         abi-variants.
32699         * Makefile (installed-stubs): Likewise.
32700         * include/stubs-biarch.h: Removed.
32701         * scripts/lib-names.awk: Only handle one library at a time.
32702         * scripts/soversions.awk: Remove WORDSIZE support.
32703         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32704         entries.
32705         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32706         Removed.
32707         (syscall-list-default-condition): Likewise.
32708         (syscall-list-default-condition): Likewise.
32709         (syscall-list-includes): Likewise.
32710         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32711         syscall-list-* with abi-*.  Handle undefined abi-variants.
32712         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32713         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32714         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32715         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32716         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32717         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32718         Removed.
32719         (syscall-list-32-options): Likewise.
32720         (syscall-list-32-condition): Likewise.
32721         (syscall-list-64-options): Likewise.
32722         (syscall-list-64-condition): Likewise.
32723         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32724         macro.
32725         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32726         Renamed to ...
32727         (abi-*): This.
32728         (abi-64-ld-soname): New macro.
32729         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32730         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32731         Renamed to ...
32732         (abi-*): This.
32733         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32734         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32735
32736 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32737
32738         * sysdeps/unix/sysv/linux/kernel-features.h
32739         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32740         * sysdeps/unix/sysv/linux/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/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         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32753         include <kernel-features.h>.
32754         [!__NR_ftruncate64]: Remove conditional code.
32755         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32756         [__NR_ftruncate64]: Make code unconditional.
32757         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32759         include <kernel-features.h>.
32760         [!__NR_ftruncate64]: Remove conditional code.
32761         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32762         [__NR_ftruncate64]: Make code unconditional.
32763         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32764
32765         * configure.in (libc_cv_fpie): Weaken to a compile test using
32766         LIBC_TRY_CC_OPTION.
32767         * configure: Regenerated.
32768
32769 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32770
32771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32775         Refreshed.
32776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32782         Refreshed.
32783
32784 2012-05-27  David S. Miller  <davem@davemloft.net>
32785
32786         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32787         (___Q_zero): New.
32788         (__Q_simulate_exceptions): Return void.  Change to simulate
32789         exceptions by writing into the %fsr.
32790         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32791         (__Qp_handle_exceptions): Likewise.
32792         (numbers): Delete.
32793         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32794         __Qp_handle_exceptions.
32795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32796         __Qp_handle_exceptions.
32797         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32798         as unused and give dummy FP_RND_NEAREST initializer.
32799         (FP_INHIBIT_RESULTS): Define.
32800         (___Q_simulate_exceptions): Update declaration.
32801         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32802         formatting.
32803         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32804         as unused and give dummy FP_RND_NEAREST initializer.
32805         (__Qp_handle_exceptions): Update declaration.
32806         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32807         formatting.
32808
32809 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32810
32811         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32812         the temporary FPU control word.
32813         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32814         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32815         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32816         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32817         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32818         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32819         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32820         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32821         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32822         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32823         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32824
32825 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32826
32827         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32828         fields.
32829
32830 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32831
32832         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32833         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32834         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32835         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32836         Likewise.
32837         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32838         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32839         Likewise.
32840
32841 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32842
32843         * po/h.po: Update from translation team.
32844
32845 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32846
32847         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32848
32849         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32850         handling of denormals.
32851         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32852         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32853         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32854         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32855         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32856         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32857         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32858         Likewise.
32859
32860 2012-05-26  Marek Polacek  <polacek@redhat.com>
32861
32862         [BZ #14152]
32863         * math/libm-test.inc (fma_test): Don't always expect underflow
32864         exception.
32865
32866 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32867
32868         [BZ #12416]
32869         * elf/tst-execstack.c: Include stackinfo.h.
32870         (do_test): Adjust test case to ensure that pthread_getattr_np
32871         behaviour remains the same after marking stack executable.
32872
32873 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32874
32875         * sysdeps/unix/sysv/linux/kernel-features.h
32876         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32877         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32878         kernel-features.h.
32879         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32880         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32881         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32882         kernel-features.h.
32883         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32884         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32885
32886 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32887
32888         * configure.in: Define the default includes to being none.
32889         * configure: Regenerated.
32890
32891 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32892
32893         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32894         * sysdeps/x86_64/setjmp.S: Likewise.
32895         * sysdeps/i386/bsd-setjmp.S: Likewise.
32896         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32897         * sysdeps/i386/setjmp.S: Likewise.
32898         * sysdeps/i386/__longjmp.S: Likewise.
32899         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32900         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32901
32902         * include/stap-probe.h: New file.
32903         * configure.in: Handle --enable-systemtap.
32904         * configure: Regenerated.
32905         * config.h.in (USE_STAP_PROBE): New #undef.
32906         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32907         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32908         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32909
32910 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32911
32912         [BZ #13717]
32913         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32914         to 2.4.0 where earlier.
32915         * sysdeps/unix/sysv/linux/configure: Regenerated.
32916         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32917         <kernel-features.h>.
32918         [__ASSUME_32BITUIDS]: Make code unconditional.
32919         [!__ASSUME_32BITUIDS]: Remove conditional code.
32920         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32921         <kernel-features.h>.
32922         [__ASSUME_32BITUIDS]: Make code unconditional.
32923         [!__ASSUME_32BITUIDS]: Remove conditional code.
32924         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32925         [__ASSUME_32BITUIDS]: Make code unconditional.
32926         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32927         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
32956         <kernel-features.h>.
32957         [__ASSUME_32BITUIDS]: Make code unconditional.
32958         [!__ASSUME_32BITUIDS]: Remove conditional code.
32959         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32960         <kernel-features.h>.
32961         [__ASSUME_32BITUIDS]: Make code unconditional.
32962         [!__ASSUME_32BITUIDS]: Remove conditional code.
32963         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32964         <kernel-features.h>.
32965         [__ASSUME_32BITUIDS]: Make code unconditional.
32966         [!__ASSUME_32BITUIDS]: Remove conditional code.
32967         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32968         <kernel-features.h>.
32969         [__NR_setresgid] (__setresgid): Do not declare.
32970         [__ASSUME_32BITUIDS]: Make code unconditional.
32971         [!__ASSUME_32BITUIDS]: Remove conditional code.
32972         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32973         <kernel-features.h>.
32974         [__NR_setresuid] (__setresuid): Do not declare.
32975         [__ASSUME_32BITUIDS]: Make code unconditional.
32976         [!__ASSUME_32BITUIDS]: Remove conditional code.
32977         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
33006         <kernel-features.h>.
33007         [__ASSUME_32BITUIDS]: Make code unconditional.
33008         [!__ASSUME_32BITUIDS]: Remove conditional code.
33009         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33010         <kernel-features.h>.
33011         [__ASSUME_32BITUIDS]: Make code unconditional.
33012         [!__ASSUME_32BITUIDS]: Remove conditional code.
33013         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33014         <kernel-features.h>.
33015         [__ASSUME_32BITUIDS]: Make code unconditional.
33016         [!__ASSUME_32BITUIDS]: Remove conditional code.
33017         * sysdeps/unix/sysv/linux/kernel-features.h
33018         (__ASSUME_SETRESUID_SYSCALL): Remove.
33019         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33020         (__ASSUME_32BITUIDS): Likewise.
33021         (__ASSUME_LDT_WORKS): Likewise.
33022         (__ASSUME_O_DIRECTORY): Likewise.
33023         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33024         architecture but not kernel version.
33025         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33026         (__ASSUME_MMAP2_SYSCALL): Likewise.
33027         (__ASSUME_STAT64_SYSCALL): Likewise.
33028         (__ASSUME_IPC64): Likewise.
33029         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33030         <kernel-features.h>.
33031         [__ASSUME_32BITUIDS]: Make code unconditional.
33032         [!__ASSUME_32BITUIDS]: Remove conditional code.
33033         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33034         <kernel-features.h>.
33035         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33036         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33037         132096]: Remove conditional code.
33038         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33039         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33040         <kernel-features.h>.
33041         [__ASSUME_32BITUIDS]: Make code unconditional.
33042         [!__ASSUME_32BITUIDS]: Remove conditional code.
33043         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33044         <kernel-features.h>.
33045         [__ASSUME_32BITUIDS]: Make code unconditional.
33046         [!__ASSUME_32BITUIDS]: Remove conditional code.
33047         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33048         <kernel-features.h>.
33049         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33050         unconditional.
33051         (__setresgid): Do not declare.
33052         [__ASSUME_32BITUIDS]: Make code unconditional.
33053         [!__ASSUME_32BITUIDS]: Remove conditional code.
33054         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33055         <kernel-features.h>.
33056         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33057         unconditional.
33058         (__setresuid): Do not declare.
33059         [__ASSUME_32BITUIDS]: Make code unconditional.
33060         [!__ASSUME_32BITUIDS]: Remove conditional code.
33061         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33062         <kernel-features.h>.
33063         [__ASSUME_32BITUIDS]: Make code unconditional.
33064         [!__ASSUME_32BITUIDS]: Remove conditional code.
33065         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33066         <kernel-features.h>.
33067         [__ASSUME_32BITUIDS]: Make code unconditional.
33068         [!__ASSUME_32BITUIDS]: Remove conditional code.
33069
33070 2012-05-25  Richard Henderson  <rth@twiddle.net>
33071
33072         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33073         dl_hwcap to ifunc resolver.
33074         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33075         elf_ifunc_invoke.
33076         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33077         dl_hwcap to ifunc resolver.
33078         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33079
33080 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33081
33082         [BZ #14153]
33083         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33084         for |x| <= 2**-26, not 2**-57.
33085         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33086         exception.
33087
33088 2012-05-24  Jeff Law  <law@redhat.com>
33089
33090         * stdio-common/Makefile (tests): Add bug25.
33091         * stdio-common/bug25.c: New test.
33092
33093 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33094
33095         [BZ #13576]
33096         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33097         multiple of MALLOC_ALIGNMENT in size.
33098         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33099
33100 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33101
33102         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33103         Require >= 256.
33104         (FILENAME_MAX): Use macro-int-constant.
33105         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33106         (_IOFBF): Use macro-int-constant.
33107         (_IOLBF): Likewise.
33108         (_IONBF): Likewise.
33109         (SEEK_CUR): Likewise.
33110         (SEEK_END): Likewise.
33111         (SEEK_SET): Likewise.
33112         (TMP_MAX): Likewise.
33113         (EOF): Use macro-int-constant.  Require < 0.
33114         (NULL): Use macro-constant.  Require == 0.
33115         (stdin): Require type to be FILE *.
33116         (stdout): Likewise.
33117         (stderr): Likewise.
33118         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33119         macro-int-constant.
33120         (EXIT_SUCCESS): Likewise.
33121         (NULL): Use macro-constant.  Require == 0.
33122         (RAND_MAX): Use macro-int-constant.
33123         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33124         [C99-based standards] (strtof): Require function.
33125         [C99-based standards] (strtold): Likewise.
33126         [C99-based standards] (strtoll): Likewise.
33127         [C99-based standards] (strtoull): Likewise.
33128         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33129         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33130         [ISO || ISO99 || ISO11] (math.h): Likewise.
33131         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33132         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33133         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33134
33135 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33136
33137         [BZ #14132]
33138         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33139         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33140         * intl/dgettext.c (DCGETTEXT): Likewise.
33141         * intl/gettext.c (DCGETTEXT): Likewise.
33142         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33143         * posix/regex_internal.h (gettext): Likewise.
33144         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33145         Remove declaration.
33146         * include/argz.h (__argz_count_internal)
33147         (__argz_stringify_internal): Remove declaration.
33148         (__argz_count, __argz_stringify): Declare hidden proto.
33149         * intl/dcgettext.c: Remove use of INTDEF.
33150         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33151         * string/argz-stringify.c: Likewise.
33152         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33153         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33154         Declare hidden proto.
33155         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33156         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33157         Declare hidden proto.
33158         * include/stdio.h (__asprintf_internal): Don't declare.
33159         (__asprintf): Don't define as macro.  Declare hidden proto.
33160         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33161         (__fsetlocking): Declare hidden proto.
33162         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33163         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33164         hidden proto.
33165         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33166         (_IO_setlinebuf): Remove use of INTUSE.
33167         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33168         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33169         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33170         Remove declaration.
33171         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33172         (_IO_do_flush): Remove use of INTUSE.
33173         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33174         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33175         (_IO_adjust_column, _IO_least_wmarker)
33176         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33177         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33178         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33179         (_IO_default_doallocate, _IO_wdefault_doallocate)
33180         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33181         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33182         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33183         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33184         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33185         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33186         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33187         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33188         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33189         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33190         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33191         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33192         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33193         proto.
33194         (_IO_flush_all_internal, _IO_adjust_column_internal)
33195         (_IO_default_uflow_internal, _IO_default_finish_internal)
33196         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33197         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33198         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33199         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33200         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33201         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33202         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33203         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33204         (_IO_file_close_internal, _IO_file_close_it_internal)
33205         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33206         (_IO_file_init_internal, _IO_file_attach_internal)
33207         (_IO_file_fopen_internal, _IO_file_read_internal)
33208         (_IO_file_sync_internal, _IO_file_seek_internal)
33209         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33210         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33211         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33212         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33213         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33214         (_IO_list_all_internal, _IO_link_in_internal)
33215         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33216         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33217         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33218         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33219         (_IO_do_write_internal, _IO_padn_internal)
33220         (_IO_getline_info_internal, _IO_getline_internal)
33221         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33222         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33223         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33224         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33225         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33226         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33227         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33228         with libc_hidden_ver, remove use of INTUSE.
33229         * libio/genops.c: Likewise.
33230         * libio/freopen.c: Likewise.
33231         * libio/freopen64.c: Likewise.
33232         * libio/iofclose.c: Likewise.
33233         * libio/iofdopen.c: Likewise.
33234         * libio/iofflush.c: Likewise.
33235         * libio/iofflush_u.c: Likewise.
33236         * libio/iofgets.c: Likewise.
33237         * libio/iofgets_u.c: Likewise.
33238         * libio/iofopen.c: Likewise.
33239         * libio/iofopncook.c: Likewise.
33240         * libio/iofread.c: Likewise.
33241         * libio/iofread_u.c: Likewise.
33242         * libio/ioftell.c: Likewise.
33243         * libio/iofwrite.c: Likewise.
33244         * libio/iogetline.c: Likewise.
33245         * libio/iogets.c: Likewise.
33246         * libio/iogetwline.c: Likewise.
33247         * libio/iopadn.c: Likewise.
33248         * libio/iopopen.c: Likewise.
33249         * libio/ioseekoff.c: Likewise.
33250         * libio/ioseekpos.c: Likewise.
33251         * libio/iosetbuffer.c: Likewise.
33252         * libio/iosetvbuf.c: Likewise.
33253         * libio/ioungetc.c: Likewise.
33254         * libio/ioungetwc.c: Likewise.
33255         * libio/iovdprintf.c: Likewise.
33256         * libio/iovsprintf.c: Likewise.
33257         * libio/iovsscanf.c: Likewise.
33258         * libio/memstream.c: Likewise.
33259         * libio/obprintf.c: Likewise.
33260         * libio/oldfileops.c: Likewise.
33261         * libio/oldiofclose.c: Likewise.
33262         * libio/oldiofdopen.c: Likewise.
33263         * libio/oldiofopen.c: Likewise.
33264         * libio/oldiopopen.c: Likewise.
33265         * libio/oldstdfiles.c: Likewise.
33266         * libio/putc.c: Likewise.
33267         * libio/setbuf.c: Likewise.
33268         * libio/setlinebuf.c: Likewise.
33269         * libio/stdfiles.c: Likewise.
33270         * libio/strops.c: Likewise.
33271         * libio/vasprintf.c: Likewise.
33272         * libio/vscanf.c: Likewise.
33273         * libio/vsnprintf.c: Likewise.
33274         * libio/vswprintf.c: Likewise.
33275         * libio/wfiledoalloc.c: Likewise.
33276         * libio/wfileops.c: Likewise.
33277         * libio/wgenops.c: Likewise.
33278         * libio/wmemstream.c: Likewise.
33279         * libio/wstrops.c: Likewise.
33280         * libio/__fpurge.c: Likewise.
33281         * libio/__fsetlocking.c: Likewise.
33282         * assert/assert.c: Likewise.
33283         * debug/fgets_chk.c: Likewise.
33284         * debug/fgets_u_chk.c: Likewise.
33285         * debug/fread_chk.c: Likewise.
33286         * debug/fread_u_chk.c: Likewise.
33287         * debug/gets_chk.c: Likewise.
33288         * debug/obprintf_chk.c: Likewise.
33289         * debug/vasprintf_chk.c: Likewise.
33290         * debug/vdprintf_chk.c: Likewise.
33291         * debug/vsnprintf_chk.c: Likewise.
33292         * debug/vsprintf_chk.c: Likewise.
33293         * malloc/mtrace.c: Likewise.
33294         * misc/error.c: Likewise.
33295         * misc/syslog.c: Likewise.
33296         * stdio-common/asprintf.c: Likewise.
33297         * stdio-common/fxprintf.c: Likewise.
33298         * stdio-common/getw.c: Likewise.
33299         * stdio-common/isoc99_fscanf.c: Likewise.
33300         * stdio-common/isoc99_scanf.c: Likewise.
33301         * stdio-common/isoc99_vfscanf.c: Likewise.
33302         * stdio-common/isoc99_vscanf.c: Likewise.
33303         * stdio-common/isoc99_vsscanf.c: Likewise.
33304         * stdio-common/printf-prs.c: Likewise.
33305         * stdio-common/printf_fp.c: Likewise.
33306         * stdio-common/printf_fphex.c: Likewise.
33307         * stdio-common/printf_size.c: Likewise.
33308         * stdio-common/putw.c: Likewise.
33309         * stdio-common/scanf.c: Likewise.
33310         * stdio-common/sprintf.c: Likewise.
33311         * stdio-common/tmpfile.c: Likewise.
33312         * stdio-common/vfprintf.c: Likewise.
33313         * stdio-common/vfscanf.c: Likewise.
33314         * stdlib/strfmon_l.c: Likewise.
33315         * sunrpc/openchild.c: Likewise.
33316         * sunrpc/xdr_stdio.c: Likewise.
33317         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33318         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33319
33320 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33321
33322         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33323
33324         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33325         in the third column, to generate for the shared library an IFUNC
33326         that uses _dl_vdso_vsym.
33327         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33328         * Makeconfig (object-suffixes-noshared): New variable.
33329
33330         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33331         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33332         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33333         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33334
33335         [BZ #14132]
33336         * include/sys/time.h (__gettimeofday): Remove macro.
33337         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33338         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33339         Remove INTDEF.
33340         (__gettimeofday): Add libc_hidden_def.
33341         (gettimeofday): Add libc_hidden_weak.
33342         * sysdeps/mach/gettimeofday.c: Likewise.
33343         * sysdeps/posix/gettimeofday.c: Likewise.
33344         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33345         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33346         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33347         (__gettimeofday_internal): Remove strong_alias.
33348         (__gettimeofday): Add libc_hidden_def.
33349         (gettimeofday): Add libc_hidden_weak.
33350         * sysdeps/unix/syscalls.list (gettimeofday):
33351         Remove __gettimeofday_internal alias.
33352
33353 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33354             H.J. Lu  <hongjiu.lu@intel.com>
33355
33356         [BZ #12495]
33357         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33358         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33359         (largebin_index_32_big): New.
33360         (largebin_index): Use it for 16-byte alignment.
33361         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33362         correction with front_misalign.
33363
33364 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33365
33366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33368         Likewise.
33369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33370         Likewise.
33371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33372         Likewise.
33373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33374         Likewise.
33375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33376         Likewise.
33377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33378         Likewise.
33379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33380         Likewise.
33381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33382         Likewise.
33383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33384         Likewise.
33385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33386         Likewise.
33387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33388         Likewise.
33389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33390         Likewise.
33391
33392         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33393         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33394
33395 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33396
33397         [BZ #10846]
33398         [BZ #14036]
33399         * math/libm-test.inc (exp_test): Add test from bug 14036.
33400         (pow_test): Add test from bug 10846.
33401
33402         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33403         and other flags.
33404         (special_function): Do not include flags in test name.
33405         (parse_args): Likewise.
33406         * sysdeps/i386/fpu/libm-test-ulps: Update.
33407         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33408         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33409         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33411
33412         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33413         exceptions.
33414         * math/libm-test.inc ("Philosophy"): Update comment about
33415         exception testing.
33416         (UNDERFLOW_EXCEPTION): New macro.
33417         (UNDERFLOW_EXCEPTION_OK): Likewise.
33418         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33419         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33420         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33421         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33422         (INVALID_EXCEPTION_OK): Update value.
33423         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33424         (OVERFLOW_EXCEPTION_OK): Likewise.
33425         (IGNORE_ZERO_INF_SIGN): Likewise.
33426         (test_exceptions): Handle underflow exceptions.
33427         (acos_test): Update for underflow exception expectations.
33428         (cexp_test): Likewise.
33429         (clog_test): Likewise.
33430         (clog10_test): Likewise.
33431         (csqrt_test): Likewise.
33432         (ctan_test): Likewise.
33433         (ctanh_test): Likewise.
33434         (exp_test): Likewise.
33435         (exp10_test): Likewise.
33436         (exp2_test): Likewise.
33437         (expm1_test): Likewise.
33438         (fma_test): Likewise.
33439         (j0_test): Likewise.
33440         (jn_test): Likewise.
33441         (nexttoward_test): Likewise.
33442         (pow_test): Likewise.
33443         (scalbn_test): Likewise.
33444         (scalbln_test): Likewise.
33445         (tan_test): Likewise.
33446         (y1_test): Likewise.
33447         * sysdeps/i386/fpu/libm-test-ulps: Update.
33448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33449
33450 2012-05-23  David S. Miller  <davem@davemloft.net>
33451
33452         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33453         (__libc_sigaction): Remove unused local variables.
33454
33455 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33456
33457         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33458
33459 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33460
33461         mktime: avoid signed integer overflow
33462         * time/mktime.c (__mktime_internal): Do not mishandle the case
33463         where diff == INT_MIN.
33464
33465         mktime: simplify computation of average
33466         * time/mktime.c (ranged_convert): Use new time_t_avg function
33467         instead of rolling our own (probably-slower) code.
33468
33469         mktime: do not assume signed right shift propagates sign bit
33470         * time/mktime.c (isdst_differ): New static function.
33471         (__mktime_internal): No need to normalize tm_isdst now.
33472         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33473         tm_isdst values.
33474
33475         mktime: merge another wrapv change from gnulib
33476         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33477         from some compilers.
33478
33479         mktime: remove incorrect attempt at unusual arithmetics
33480         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33481         The code didn't really work on such machines anyway.
33482         (TYPE_MINIMUM): Assume two's complement.
33483         (twos_complement_arithmetic): Verify that long_int and time_t
33484         are two's complement (or unsigned, in the latter case).
33485
33486         mktime: check signed shifts on long_int and time_t, too
33487         * time/mktime.c (SHR): Check that shifts work as desired
33488         on the types long_int and time_t too, as SHR is used on
33489         such types.
33490
33491         mktime: do not assume 'long' is wide enough
33492         * time/mktime.c (verify): Move decl up.
33493         (long_int): New type.
33494         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33495         to remove assumption in the code that 'long' is wide enough to
33496         store year values.  This assumption is not true on x32 and on
33497         some non-glibc platforms.
33498
33499         mktime: merge wrapv change from gnulib
33500         * time/mktime.c (WRAPV): New macro.
33501         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33502         (guess_time_tm, __mktime_internal): Do not assume that signed
33503         integer overflow wraps around; modern compilers generate code
33504         where this assumption is no longer valid.
33505
33506 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33507
33508         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33509         Replace "jmp L(pseudo_end)" with "ret".
33510         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33511         Likewise.
33512
33513 2012-05-23  Andreas Jaeger  <aj@suse.de>
33514
33515         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33516         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33517
33518 2012-05-23  Andreas Jaeger  <aj@suse.de>
33519             Maximilian Attems  <max@stro.at>
33520
33521         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33522         New macros.
33523
33524 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33525
33526         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33527         code so that pseudo_end is just ret and the stack pointer is
33528         correct also for static library in error case.
33529
33530 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33531
33532         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33533         move to syscalls.list.
33534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33538
33539         * manual/install.texi (Running make install): Do not mention Linux
33540         kernel version for which pt_chown is not needed.
33541         (Linux): Do not mention problems with nscd with 2.0 kernels.
33542         * INSTALL: Regenerated.
33543
33544 2012-05-23  Andreas Jaeger  <aj@suse.de>
33545
33546         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33547         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33548         macro.
33549         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33550         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33551         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33552         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33553         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33554         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33555         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33556         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33557         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33558         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33559         * sysdeps/unix/sysv/linux/bits/in.h
33560         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33561
33562 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33563
33564         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33565         (PREPARE_VERSION): Just use assert instead, it will be elided
33566         under [NDEBUG] anyway.
33567
33568 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33569
33570         * sysdeps/unix/sysv/linux/Makefile: Include
33571         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33572         (sysdep_routines): Remove sysctl.
33573         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33574         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33575         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33576         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33577         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33578
33579 2012-05-22  Andreas Jaeger  <aj@suse.de>
33580
33581         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33582         that pseudo_end is just ret and the stack pointer is correct also
33583         for static library in error case.
33584
33585 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33586
33587         [BZ #14122]
33588         * nss/nsswitch.c (defconfig_entries): New variable.
33589         (__nss_database_lookup): Don't leak defconfig entries.
33590         (nss_parse_service_list): Don't leak on error paths.
33591         (free_database_entries): New function.
33592         (free_defconfig): New function.
33593         (free_mem): Move common code to free_database_entries.
33594
33595 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33596
33597         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33598         Add arch_prctl.
33599         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33600
33601         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33602         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33603         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33604         New macro.
33605         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33606         (INTERNAL_SYSCALL_TYPES): Likewise.
33607         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33608         (LOAD_REGS_TYPES_[1-6]): Likewise.
33609         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33610         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33611
33612 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33613
33614         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33615         copysignl for GLIBC_2_0.
33616         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33617         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33618         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33619         logbl for GLIBC_2_0.
33620         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33621         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33622
33623 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33624
33625         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33626         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33627
33628         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33629         Use "neg %eax".
33630
33631         * time/mktime.c: Update copyright years.
33632
33633 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33634
33635         mktime: merge comment-quoting-style change from gnulib
33636         * time/mktime.c: Quote 'like this' in comments.
33637         The GNU coding standards suggest that we no longer quote `like this',
33638         as "`" and "'" are typically rendered asymmetrically nowadays.
33639         The typical gnulib style is to quote 'like this' when quoting
33640         code, and "like this" when quoting English.
33641
33642         * time/mktime.c (compile-command): Add "-I.".
33643
33644         mktime: merge mktime-internal.h change from gnulib
33645         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33646
33647         mktime: merge time_r change from gnulib
33648         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33649
33650         mktime: merge DEBUG change from gnulib
33651         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33652         case system <time.h> has a #define.
33653
33654         mktime: merge <sys/types.h> change from gnulib
33655         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33656         since <time.t> is now guaranteed to define time_t.
33657
33658         mktime: merge HAVE_CONFIG_H change from gnulib
33659         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33660
33661 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33662
33663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33664         Use "neg %eax".
33665
33666         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33667         __rlim_t cast.
33668         (struct rusage): Use anonymous union to pad each field to
33669         __syscall_slong_t.
33670
33671 2012-05-21  David S. Miller  <davem@davemloft.net>
33672
33673         * Makefules (o-iterator): Remove .s cases.
33674         (compile-command.s): Delete.
33675         (COMPILE.s): Delete.
33676         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33677
33678 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33679
33680         * configure.in (libc_cv_predef_stack_protector): Only consider
33681         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33682         * configure: Regenerated.
33683
33684 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33685
33686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33687         New macro.  Use R*LP on int and pointer.
33688         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33689         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33690         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33691         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33692
33693         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33694         [__WORDSIZE_TIME64_COMPAT32] instead of
33695         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33696         (struct utmp): Likewise.
33697         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33698         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33699         Renamed to ...
33700         (__WORDSIZE_TIME64_COMPAT32): This.
33701         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33702         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33703         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33704         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33705         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33706         (__WORDSIZE_TIME64_COMPAT32): New macro.
33707
33708 2012-05-21  Andreas Jaeger  <aj@suse.de>
33709
33710         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33711         only if [SHARED]. Add prototype for __wcschr_ia32.
33712
33713 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33714
33715         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33716         of %rbp unmolested in the jmp_buf while mangling the low bits.
33717         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33718         unmolested high bits of %rbp while demangling the low bits.
33719         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33720
33721 2012-05-21  Andreas Jaeger  <aj@suse.de>
33722
33723         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33724         * sunrpc/svc_simple.c: Use it for registerrpc.
33725         * sunrpc/xcrypt.c: Use it for passwd2des.
33726
33727         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33728
33729 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33730
33731         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33732         Don't define if [__SYSCALL_WORDSIZE != 32].
33733         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33734         New macro.
33735
33736 2012-05-21  Bruno Haible  <bruno@clisp.org>
33737             Andreas Jaeger  <aj@suse.de>
33738
33739         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33740         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33741         inptr and inend for must_buffer_ch.
33742         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33743         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33744         * stdio-common/Makefile (tests): Remove bug15.
33745         (bug15-ENV): Remove macro.
33746         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33747         anymore.
33748
33749 2012-05-19  Andreas Jaeger  <aj@suse.de>
33750             Roland McGrath  <roland@hack.frob.com>
33751
33752         * manual/contrib.texi: Completely rewritten. It contains now an
33753         alphabetical list of contributors and their contributions.
33754
33755 2012-05-21  Richard Henderson  <rth@twiddle.net>
33756
33757         * misc/getauxval.c (__getauxval): Use unsigned long int.
33758         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33759         (getauxval): Use unsigned long int.
33760
33761 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33762
33763         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33764
33765 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33766
33767         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33768         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33769         __alignof__ (long double).
33770
33771 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33772
33773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33774
33775 2012-05-20  Richard Henderson  <rth@twiddle.net>
33776
33777         * misc/getauxval.c: New file.
33778         * misc/sys/auxv.h: New file.
33779         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33780         (routines): Add getauxval.
33781         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33782         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33783         * elf/dl-sysdep.c (_dl_auxv): Remove.
33784         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33785         * elf/dl-support.c (_dl_auxv): New variable.
33786         (_dl_aux_init): Initialize it.
33787         * manual/startup.texi (Auxiliary Vector): New node.
33788         * sysdeps/generic/bits/hwcap.h: New file.
33789         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33790         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33791         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33792         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33793         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33794         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33796         Update.
33797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33800         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33805
33806 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33807
33808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33809
33810 2012-05-19  David S. Miller  <davem@davemloft.net>
33811
33812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33813
33814 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33815
33816         [BZ #14123]
33817         * math/s_ccosh.c: Include <float.h>
33818         (__ccosh): Avoid internal overflow calculating sinh and cosh
33819         values before multiplying by sin and cos values.
33820         * math/s_ccoshf.c: Likewise.
33821         * math/s_ccoshl.c: Likewise.
33822         * math/s_csin.c: Likewise.
33823         * math/s_csinf.c: Likewise.
33824         * math/s_csinl.c: Likewise.
33825         * math/s_csinh.c: Likewise.
33826         * math/s_csinhf.c: Likewise.
33827         * math/s_csinhl.c: Likewise.
33828         * math/libm-test.inc (ccos_test): Add more tests.
33829         (ccosh_test): Likewise.
33830         (csin_test): Likewise.
33831         (csinh_test): Likewise.
33832         * sysdeps/i386/fpu/libm-test-ulps: Update.
33833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33834
33835 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33836
33837         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33838         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33839
33840         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33841
33842 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33843
33844         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33845         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33846         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33847         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33848         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33849         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33850         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33851         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33852         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33853         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33854         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33855         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33856         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33857         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33858         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33859         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33860         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33861         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33862         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33863         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33864         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33865         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33866         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33867         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33868         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33869         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33870         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33871         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33872         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33873         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33874         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33875
33876 2012-05-18  Andreas Jaeger  <aj@suse.de>
33877
33878         * csu/.gitignore: Delete.
33879
33880 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33881
33882         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33883         (timex): Use __syscall_slong_t.
33884
33885 2012-05-18  Andreas Jaeger  <aj@suse.de>
33886             Carlos O'Donell  <carlos_odonell@mentor.com>
33887
33888         * manual/install.texi (Configuring and compiling): Update
33889         description about files modified in the source directory.
33890         * INSTALL: Regenerated.
33891
33892 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33893
33894         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33895         value.  Use "or" to set return value to -1.
33896         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33897         negate return value.
33898
33899 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33900
33901         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33902         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33903         failure if the compiler has Graphite support disabled.
33904         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33905         Likewise.
33906         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33907         (CFLAGS-memmove.c): Likewise.
33908         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33909         Likewise.
33910
33911 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33912
33913         * sysdeps/x86_64/x32/_itoa.h: New file.
33914
33915         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33916         getdents system call only if kernel and user dirents have the
33917         same d_ino and d_off.
33918
33919         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33920         LLONG_MAX != LONG_MAX.
33921         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33922         (_fitoa_word): Likewise.
33923
33924         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33925         years.
33926         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33927         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33928         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33929
33930         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33931         include <bits/wordsize.h>.  Check __x86_64__ instead of
33932         __WORDSIZE.
33933         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33934         if __x86_64__ is defined.  Use anonymous union on fpstate.
33935
33936         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33937         anonymous union.
33938
33939 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33940
33941         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33942         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33943         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33944         Refer to _rtld_local_ro instead of _rtld_global_ro.
33945         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33946         Likewise.
33947         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33948         Likewise.
33949         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33950         Likewise.
33951         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33952         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33953         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33954
33955         * sysdeps/powerpc/powerpc32/dl-machine.c
33956         (__elf_machine_runtime_setup) [PROF]: Don't reference
33957         _dl_prof_resolve.
33958
33959 2012-05-18  Andreas Jaeger  <aj@suse.de>
33960
33961         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33962         function only available for GCCs before 3.4 since GCC 3.4
33963         introduced a builtin.
33964         (lrint): Likewise.
33965         (llrintf): Likewise.
33966         (llrint): Likewise.
33967         (fmaxf): Likewise.
33968         (fmax): Likewise.
33969         (fminf): Likewise.
33970         (fmin): Likewise.
33971         (rint): Likewise.
33972         (rintf): Likewise.
33973         (nearbyint): Likewise.
33974         (nearbyintf): Likewise.
33975         (ceil): Likewise.
33976         (ceilf): Likewise.
33977         (floor): Likewise.
33978         (floorf): Likewise.
33979
33980 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33981
33982         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33983         on both fields and cast pointer to __syscall_ulong_t.
33984
33985         * bits/types.h (__fsword_t): New type.
33986         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33987         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33988         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33989         (__FSWORD_T_TYPE): Likewise.
33990         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33991         (__FSWORD_T_TYPE): Likewise.
33992         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33993         (__FSWORD_T_TYPE): Likewise.
33994         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33995         (__FSWORD_T_TYPE): Likewise.
33996         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33997         __SWORD_TYPE with __fsword_t.
33998         (statfs64): Likewise.
33999
34000 2012-05-17  David S. Miller  <davem@davemloft.net>
34001
34002         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34003
34004 2012-05-17  Andreas Jaeger  <aj@suse.de>
34005
34006         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34007         warning.
34008
34009 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34010
34011         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34012
34013 2012-05-17  Andreas Jaeger  <aj@suse.de>
34014
34015         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34016         when it is used.
34017
34018 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34019
34020         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34021
34022 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34023
34024         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34025         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34026
34027 2012-05-17  Andreas Jaeger  <aj@suse.de>
34028             Carlos O'Donell  <carlos_odonell@mentor.com>
34029
34030         [BZ #14059]
34031         * sysdeps/x86_64/multiarch/init-arch.h
34032         (bit_YMM_Usable): Rename to...
34033         (bit_AVX_Usable): ... this.
34034         (bit_FMA4_Usable): New macro.
34035         (bit_XMM_state): New macro.
34036         (bit_YMM_state): New macro.
34037         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34038         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34039         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34040         (CPUID_OSXSAVE): New macro.
34041         (CPUID_AVX): New macro.
34042         (CPUID_FMA4): New macro.
34043         (index_YMM_Usable): Rename to...
34044         (index_AVX_Usable): ... this.
34045         (HAS_AVX): Use HAS_ARCH_FEATURE.
34046         (HAS_FMA4): Likewise.
34047         (HAS_YMM_USABLE): Remove.
34048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34049         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34050         are present.
34051         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34052         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34053         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34054         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34055         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34056
34057 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34058
34059         * math/libm-test.c: Support platforms without multiple rounding modes.
34060         * math/bug-nextafter.c: Support platforms without FP exceptions.
34061         * math/bug-nexttoward.c: Likewise.
34062         * math/test-fenv.c: Likewise.
34063         * math/test-misc.c: Likewise.
34064         * stdlib/bug-getcontext.c: Likewise.
34065
34066 2012-05-17  Andreas Jaeger  <aj@suse.de>
34067
34068         * manual/examples/search.c (critter_cmp): Change signature to
34069         avoid warnings.
34070         * manual/string.texi (Collation Functions): Likewise.
34071
34072 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34073
34074         * bits/types.h: Fold copyright years.
34075         * bits/typesizes.h: Likewise.
34076         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34077         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34078         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34079         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34080         * time/time.h: Likewise.
34081
34082 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34083
34084         [BZ #208]
34085         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34086         in instead of returning them.  Return void.
34087         (__libc_mallinfo): Accumulate over all arenas.
34088         (__malloc_stats): Adjust for change in int_mallinfo interface.
34089
34090 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34091
34092         [BZ #10375]
34093         * configure.in (NM): Add AC_CHECK_TOOL for it.
34094         (libc_extra_cflags): New substituted variable.
34095         Check for -fstack-protector being used implicitly.
34096         * configure: Regenerated.
34097         * config.make.in (config-extra-cflags): New variable,
34098         gets @libc_extra_cflags@.
34099         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34100
34101         [BZ #10375]
34102         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34103         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34104         * configure: Regenerated.
34105         * config.make.in (CPPUNDEFS): New substituted variable.
34106         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34107         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34108         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34109
34110 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34111
34112         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34113         (mq_attr): Use __syscall_slong_t.
34114
34115 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34116
34117         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34118         Check __x86_64__ instead of __WORDSIZE.
34119         (_STAT_VER_LINUX): Likewise.
34120         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34121         __syscall_ulong_t and __syscall_slong_t.
34122         (stat64): Likewise.
34123
34124 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34125
34126         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34127
34128 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34129
34130         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34131
34132 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34133
34134         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34135         __syscall_ulong_t.
34136
34137         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34138         include <bits/wordsize.h>.  Check __x86_64__ instead of
34139         __WORDSIZE.
34140         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34141         defined.
34142         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34143
34144         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34145         include <bits/wordsize.h>.  Check __x86_64__ instead of
34146         __WORDSIZE.
34147         (user_regs_struct): Use "__extension__ unsigned long long"
34148         instead of "unsigned long" if __x86_64__ is defined.
34149         (user): Likewise.  Pad after pointer field if __ILP32__ is
34150         defined.
34151
34152 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34153
34154         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34155         versions 5 to 9.
34156         * configure: Regenerated.
34157         * manual/install.texi (texinfo): Increase version requirement to
34158         4.5 or later.
34159         * INSTALL: Regenerated.
34160
34161         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34162
34163 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34164
34165         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34166
34167         * sysdeps/x86_64/x32/ffs.c: New file.
34168
34169         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34170         __syscall_ulong_t.
34171         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34172         defined.  Use __syscall_ulong_t.
34173         (shminfo): Use __syscall_ulong_t.
34174         (shm_info): Likewise.
34175
34176         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34177         __syscall_ulong_t.
34178
34179         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34180         <bits/wordsize.h>.
34181         (msgqnum_t): Use __syscall_ulong_t.
34182         (msglen_t): Likewise.
34183         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34184         __syscall_ulong_t.
34185
34186         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34187         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34188
34189         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34190
34191         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34192         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34193
34194         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34195         __syscall_slong_t.
34196
34197         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34198         include <bits/wordsize.h>.  Check __x86_64__ instead of
34199         __WORDSIZE.
34200
34201         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34202         "unsigned long long int" if __x86_64__ is defined.
34203         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34204
34205         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34206         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34207         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34208
34209         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34210         <stdint.h>.
34211         (GET_PC): Cast to uintptr_t first.
34212         (GET_FRAME): Likewise.
34213         (GET_STACK): Likewise.
34214
34215         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34216         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34217         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34218         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34219         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34220         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34221         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34222         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34223         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34224         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34225         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34226         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34227         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34228         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34229         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34230         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34231         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34232         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34233         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34234         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34235         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34236         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34237         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34238         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34239         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34240         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34241         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34242         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34243         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34244
34245 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34246
34247         * Makerules (+depfiles): Also collect depfiles from .oS in
34248         $(extra-objs).
34249         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34250         .oS, $(libnldbl-routines)).
34251
34252         * Makerules (native-compile-mkdep-flags): Define.
34253         * sunrpc/Makefile (extra-objs): Add $(addprefix
34254         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34255         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34256         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34257         calling $(make-target-directory).
34258
34259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34260
34261         * bits/types.h (__snseconds_t): Removed.
34262         * time/time.h (struct timespec): Replace __snseconds_t with
34263         __syscall_slong_t.
34264         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34265         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34266         Likewise.
34267         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34268         (__SNSECONDS_T_TYPE): Likewise.
34269         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34270         (__SNSECONDS_T_TYPE): Likewise.
34271         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34272         (__SNSECONDS_T_TYPE): Likewise.
34273
34274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34275
34276         * sysdeps/mach/hurd/bits/typesizes.h
34277         (__SYSCALL_SLONG_TYPE): New macro.
34278         (__SYSCALL_ULONG_TYPE): Likewise.
34279
34280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34281
34282         * bits/types.h (__syscall_slong_t): New type.
34283         (__syscall_ulong_t): Likewise.
34284
34285         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34286         (__SYSCALL_ULONG_TYPE): Likewise.
34287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34288         (__SYSCALL_SLONG_TYPE): Likewise.
34289         (__SYSCALL_ULONG_TYPE): Likewise.
34290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34291         (__SYSCALL_SLONG_TYPE): Likewise.
34292         (__SYSCALL_ULONG_TYPE): Likewise.
34293         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34294         (__SYSCALL_SLONG_TYPE): Likewise.
34295         (__SYSCALL_ULONG_TYPE): Likewise.
34296
34297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34298
34299         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34300         Add sigaltstack-offsets.sym.
34301         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34302         <sigaltstack-offsets.h>.
34303         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34304         longjmp_msg pointer.
34305         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34306         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34307         signal stack.
34308         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34309
34310 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34311
34312         * elf/stackguard-macros.h: Remove file.
34313         * sysdeps/generic/stackguard-macros.h: New file.
34314         * sysdeps/i386/stackguard-macros.h: Likewise.
34315         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34316         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34317         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34318         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34319         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34320         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34321         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34322         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34323         <elf/stackguard-macros.h>.
34324
34325         [BZ #14109]
34326         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34327         __aligned__ in attribute.
34328         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34329         (gregset_t): Likewise.
34330
34331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34332
34333         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34334         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34335         * sysdeps/x86_64/x32/Implies-after: New file.
34336
34337 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34338
34339         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34340         and access return value for _dl_profile_fixup.  Use R10_LP to
34341         load frame size.
34342
34343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34344
34345         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34346
34347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34348
34349         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34350         * sysdeps/x86_64/x32/sysdep.h: New file.
34351
34352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34353
34354         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34355         * sysdeps/x86_64/setjmp.S: Likewise.
34356
34357 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34358
34359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34360         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34361         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34362         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34363         remove unused global constant.
34364
34365 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34366
34367         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34368         include of <not-cancel.h>.
34369
34370 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34371
34372         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34373
34374 2012-05-15  Jeff Law  <law@redhat.com>
34375             Andreas Jaeger  <aj@suse.de>
34376
34377         [BZ #13594]
34378         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34379         out from...
34380         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34381         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34382         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34383         code changing __hst_map_handle.map.
34384
34385 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34386
34387         * configure.in (sysnames): Look for Implies-before and Implies-after
34388         files.
34389         * configure: Regenerated.
34390
34391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34392
34393         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34394         8-byte data alignment with LP_SIZE alignment.
34395
34396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34397
34398         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34399         into R10_LP.
34400
34401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34402
34403         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34404
34405 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34406
34407         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34408         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34409         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34410         Likewise.
34411         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34412
34413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34414
34415         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34416         (stackinfo_sub_sp): Likewise.
34417
34418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34419
34420         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34421         RAX_LP.
34422
34423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34424
34425         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34426         into R*_LP.
34427
34428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34429
34430         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34431         sizes into R*_LP.
34432
34433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34434
34435         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34436
34437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34438
34439         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34440         into R11_LP and load __x86_64_shared_cache_size_half into
34441         R8_LP.
34442
34443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34444
34445         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34446         R8_LP.
34447
34448 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34449
34450         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34451         logb for POWER7.
34452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34453         logbf for POWER7.
34454         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34455         logbl for POWER7.
34456         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34457         powerpc32/power7/fpu/s_logb.c via #include.
34458         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34459         powerpc32/power7/fpu/s_logbf.c via #include.
34460         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34461         powerpc32/power7/fpu/s_logbl.c via #include.
34462
34463 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34464
34465         * README.libm: Remove file.
34466
34467 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34468
34469         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34470         count for x32.  Use R*_LP and omit operand-size suffix.
34471
34472 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34473
34474         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34475         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34476         * sysdeps/x86_64/x32/shlib-versions: New file.
34477
34478 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34479
34480         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34481         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34482         Use _dl_fatal_printf instead.
34483
34484 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34485
34486         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34487         set if not set by the user.  Do not allow for being unset.
34488         * sysdeps/unix/sysv/linux/configure: Regenerated.
34489
34490 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34491
34492         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34493         the `q' suffix from lea and replace .quad with ASM_ADDR.
34494
34495 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34496
34497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34498         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34499         instead of $17.
34500         (PTR_DEMANGLE): Likewise.
34501
34502 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34503
34504         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34505         (LP_OP): Likewise.
34506         (ASM_ADDR): Likewise.
34507         (RAX_LP): Likewise.
34508         (RBP_LP): Likewise.
34509         (RBX_LP): Likewise.
34510         (RCX_LP): Likewise.
34511         (RDI_LP): Likewise.
34512         (RSI_LP): Likewise.
34513         (RSP_LP): Likewise.
34514         (R8_LP): Likewise.
34515         (R9_LP): Likewise.
34516         (R10_LP): Likewise.
34517         (R10_LP): Likewise.
34518         (R11_LP): Likewise.
34519         (R12_LP): Likewise.
34520         (R13_LP): Likewise.
34521         (R14_LP): Likewise.
34522         (R15_LP): Likewise.
34523
34524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34525
34526         * sysdeps/x86_64/x32/dl-machine.h: New file.
34527
34528 2012-05-14  Andreas Jaeger  <aj@suse.de>
34529
34530         * manual/Makefile (subdir): Remove export of subdir.
34531         (all): Remove target.
34532         (.PHONY): Remove all from list.
34533         (mkinstalldirs): Remove.
34534         (.PHONY): Remove installdirs from list.
34535         ($(inst_infodir)/libc.info): Use make-target-directory.
34536         (installdirs): Remove.
34537         (subdir_%): Remove.
34538         (glibc-targets): Remove.
34539         (lib): Remove.
34540         (stubs): Remove.
34541         ($(objpfx)stubs ../po/manual.pot): Remove.
34542         ($(objpfx)stamp%): Remove.
34543         (make-target-directory): Remove.
34544         (subdir_install): Remove.
34545         (routines): Remove.
34546         (aux): Remove.
34547         (sources): Remove.
34548         (objects): Remove.
34549         (headers): Remove.
34550
34551         [BZ #13750]
34552         * manual/.gitignore: Remove, it's not needed anymore.
34553         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34554         all files in it.
34555         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34556         directory.
34557         (texis): Renamed to $(objpfx)texis.
34558         (texis-path): New, contains path to generated files.
34559         (chapters.%): Use texis-path for complete path, add extra argument
34560         libc-texinfo.sh.
34561         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34562         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34563         (summary,texi, stamp-summary): Use complete path of
34564         files. Generate files in build dir.
34565         (dir-add.texi): Build in build dir.
34566         (libm-err.texi,stamp-libm-err): Likewise.
34567         (version.texi, stamp-version): Likewise.
34568         (.%c.texi): Likewise.
34569         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34570         (mostlyclean): Remove target.
34571         (realclean): Remove target.
34572         (generated): Add new variable with contents from mostlyclean and
34573         realclean, remove entries duplicated in common-mostlyclean, add
34574         stamp-libm-err and stamp-version.
34575         (generated-dirs): Add libc directory.
34576         ($(inst_infodir)/libc.info): Install files from build dir.
34577
34578         * manual/install.texi (Configuring and compiling): Adjust since
34579         the info files are not part of the tar ball anymore.
34580
34581 2012-05-14  Andreas Jaeger  <aj@suse.de>
34582
34583         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34584         variable.
34585
34586 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34587
34588         [BZ #13717]
34589         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34590         to 2.2.0 where earlier.
34591         * sysdeps/unix/sysv/linux/configure: Regenerated.
34592         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34593         Remove conditional code.
34594         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34595         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34596         Remove conditional code.
34597         [!__NR_lchown]: Likewise.
34598         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34599         [__NR_lchown]: Likewise.
34600         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34601         comment referencing __ASSUME_LCHOWN_SYSCALL.
34602         * sysdeps/unix/sysv/linux/i386/sigaction.c
34603         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34604         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34605         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34606         Remove conditional code.
34607         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34608         (__protocol_available): Remove #if 0 code.
34609         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34610         conditional code.
34611         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34612         * sysdeps/unix/sysv/linux/kernel-features.h
34613         (__ASSUME_GETCWD_SYSCALL): Don't define.
34614         (__ASSUME_REALTIME_SIGNALS): Likewise.
34615         (__ASSUME_PREAD_SYSCALL): Likewise.
34616         (__ASSUME_PWRITE_SYSCALL): Likewise.
34617         (__ASSUME_POLL_SYSCALL): Likewise.
34618         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34619         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34620         non-SPARC.
34621         (__ASSUME_SIOCGIFNAME): Don't define.
34622         (__ASSUME_MSG_NOSIGNAL): Likewise.
34623         (__ASSUME_SENDFILE): Define unconditionally.
34624         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34625         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34626         conditional code.
34627         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34628         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34629         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34630         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34631         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34632         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34633         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34635         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34636         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34638         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34639         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34641         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34642         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34644         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34645         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34647         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34648         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34650         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34651         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34653         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34654         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34656         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34657         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34658         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34659         Remove conditional code.
34660         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34661         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34662         Remove conditional code.
34663         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34664         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34665         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34666         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34667         Remove conditional code.
34668         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34669         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34670         Remove conditional code.
34671         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34672         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34673         Remove conditional code.
34674         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34675         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34676         Remove conditional code.
34677         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34678         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34679         Remove conditional code.
34680         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34681         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34682         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34683         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34684         * sysdeps/unix/sysv/linux/sigaction.c
34685         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34686         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34687         * sysdeps/unix/sysv/linux/sigpending.c
34688         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34689         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34690         * sysdeps/unix/sysv/linux/sigprocmask.c
34691         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34692         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34693         * sysdeps/unix/sysv/linux/sigsuspend.c
34694         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34695         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34696         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34697         (__libc_missing_rt_sigs): Remove.
34698         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34699         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34700         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34701         Remove conditional code.
34702         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34703         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34704         return 1.
34705         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34706         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34707         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34708         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34709
34710 2012-05-14  Andreas Jaeger  <aj@suse.de>
34711
34712         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34713         it's not used in glibc.
34714         (__coshm1): Likewise.
34715         (__acosh1p): Likewise.
34716         (__sgn): Likewise.
34717
34718         * manual/string.texi (Copying and Concatenation): Add missing
34719         variable in concat example.
34720         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34721
34722 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34723
34724         [BZ #14103]
34725         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34726         __builtin_clzl with __builtin_clzll.
34727
34728 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34729
34730         [BZ #14104]
34731         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34732         libc_freeres_ptr.
34733
34734 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34735
34736         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34737         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34738         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34739         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34740
34741 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34742
34743         * NEWS: Update ia64 info.
34744
34745 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34746
34747         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34748         used as bcopy.
34749
34750 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34751
34752         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34753         * sysdeps/unix/syscalls.list (dup3): Likewise.
34754         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34755         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34756
34757 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34758
34759         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34760         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34761
34762 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34763
34764         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34765         thread pointer.
34766         (TLS_IE): Use mov/add instead of movq/addq to load thread
34767         pointer.
34768         (TLS_GD_PREFIX): New.
34769         (TLS_GD): Use it.
34770
34771 2012-05-11  David S. Miller  <davem@davemloft.net>
34772
34773         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34774         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34775         (_FPU_SETCW): Likewise.
34776
34777 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34778
34779         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34780         is 32-byte aligned.
34781
34782 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34783
34784         [BZ #11837]
34785         * iconvdata/gb18030.c: Update tables.
34786         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34787         characters specially.
34788         (BODY for TO_LOOP): Add encoding of missing ranges.
34789
34790 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34791
34792         [BZ #13673]
34793         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34794         * sysdeps/mach/hurd/dup3.c: Likewise.
34795         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34796         * sysdeps/powerpc/memmove.c:: Likewise.
34797
34798 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34799
34800         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34801         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34802
34803 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34804
34805         * elf/elf.h (R_X86_64_RELATIVE64): New.
34806         (R_X86_64_NUM): Updated.
34807         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34808         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34809         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34810         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34811         tst-quad1pie tst-quad2pie
34812         (modules-names): Add tst-quadmod1 tst-quadmod2.
34813         ($(objpfx)tst-quad1): New dependency.
34814         ($(objpfx)tst-quad2): Likewise.
34815         ($(objpfx)tst-quad1pie): Likewise.
34816         ($(objpfx)tst-quad2pie): Likewise.
34817         * sysdeps/x86_64/tst-quad1.c: New file.
34818         * sysdeps/x86_64/tst-quad1pie.c: New file.
34819         * sysdeps/x86_64/tst-quad2.c: Likewise.
34820         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34821         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34822         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34823         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34824         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34825
34826 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34827
34828         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34829         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34830         * streams/stropts.h (t_scalar_t): Define type.
34831
34832         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34833         (_PATH_PRESERVE): Set to "/var/lib".
34834         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34835
34836         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34837         instead of int.
34838
34839         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34840         if __dir_mkfile succeeded.
34841
34842         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34843         checking for _hurd_dtablesize.  Unlock it right after having
34844         finished _hurd_dtable allocation.
34845
34846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34847
34848         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34849         * sysdeps/mach/hurd/configure: Regenerated.
34850         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34851         special-casing to...
34852         * sysdeps/gnu/configure.in: ... this new file.
34853         * sysdeps/unix/sysv/linux/configure: Regenerated.
34854         * sysdeps/gnu/configure: New generated file.
34855
34856         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34857         for Linux: use nsec instead of usec, as well as:
34858         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34859         members of type struct timespec.
34860         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34861         New macros.
34862         (struct stat64): Likewise.
34863         (_STATBUF_ST_NSEC): New macro.
34864         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34865
34866         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34867         __strtoul_internal rather than strtoul.
34868
34869 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34870
34871         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34872         and reject them.
34873
34874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34875
34876         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34877         which preserves existing values.
34878         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34879
34880 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34881
34882         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34883         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34884         greater than FD_SETSIZE.
34885
34886 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34887
34888         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34889         allocated, call __vm_protect to finish enabling the existing space, and
34890         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34891         allocate the remainder.
34892
34893 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34894
34895         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34896         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34897
34898 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34899
34900         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34901         sysdeps/mach/hurd/readlink.c.
34902
34903         * posix/tst-sysconf.c (posix_options): Only use
34904         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34905         _POSIX_SYNCHRONIZED_IO when they are defined
34906         * sysdeps/mach/hurd/bits/posix_opt.h:
34907         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34908         (_XOPEN_REALTIME): Undefine macro.
34909         (_XOPEN_REALTIME_THREADS): Undefine macro.
34910         (_XOPEN_SHM): Undefine macro.
34911         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34912         macro to -1.
34913         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34914         macro to -1.
34915         (_POSIX_ASYNC_IO): Undefine macro.
34916         (_POSIX_PRIORITIZED_IO): Undefine macro.
34917         (_POSIX_SPIN_LOCKS): Define macro to -1.
34918
34919         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34920         SA_NODEFER, SA_RESETHAND.
34921         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34922         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34923         F_DUPFD_CLOEXEC.
34924
34925 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34926
34927         * elf/Makefile (pldd-modules): Define unconditionally.
34928
34929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34930
34931         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34932
34933 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34934
34935         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34936         Return ENOENT when name is empty.
34937         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34938
34939 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34940
34941         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34942
34943         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34944
34945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34946
34947         Fix mlock in all cases except non-readable pages.
34948         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34949         instead of VM_PROT_ALL as parameter to __vm_wire function.
34950
34951         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34952         (__mkdir): When path is `/', just fail with EEXIST.
34953         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34954
34955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34956
34957         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34958         <sys/uio.h> (for writev).
34959         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34960         and <sys/param.h> (for MIN).
34961
34962 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34963
34964         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34965         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34966         if interrupted.
34967
34968 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34969
34970         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34971         Depend on against $(link-rpcuserlibs).
34972
34973 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34974
34975         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34976         (__libc_stack_end): Do not use attribute_relro.
34977         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34978         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34979         to libthread-provided value.
34980         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34981         attribute_relro.
34982
34983 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34984
34985         [BZ #3748]
34986         * bits/libc-lock.h (__libc_once_get): New macro.
34987         * sysdeps/mach/bits/libc-lock.h: Likewise.
34988         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34989         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34990         instead of using implementation details.
34991
34992         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34993         * libio/freopen.c: Likewise.
34994         * libio/freopen64.c: Likewise.
34995         * misc/syslog.c: Likewise.
34996         * nscd/connections.c: Likewise.
34997         * nscd/netgroupcache.c: Likewise.
34998         * sysdeps/posix/getcwd.c: Likewise.
34999
35000 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35001
35002         * math/w_ilogbf.c: Add #include <limits.h>.
35003
35004 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35005
35006         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35007         path instead of returning without unlocking.
35008
35009         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35010         immediate-write ioctls.
35011         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35012
35013 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35014
35015         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35016         __builtin_frame_address instead of making assumptions about the
35017         location of the return address relative to DATA.  Force early load of
35018         the return address.
35019         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35020         __builtin_frame_address.
35021
35022         dup3 for GNU Hurd.
35023         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35024         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35025         implement dup3 and do some further code clean-ups.
35026         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35027         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35028
35029 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35030
35031         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35032
35033         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35034         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35035         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35036         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35037         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35038         d->port.lock.
35039
35040         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35041         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35042         when handler == SIG_ERR, not when handler != SIG_ERR.
35043
35044 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35045
35046         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35047         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35048         definitions.
35049
35050         accept4 for GNU Hurd.
35051         * include/sys/socket.h (__libc_accept4): New prototype.
35052         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35053         to implement __libc_accept4.
35054         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35055         __libc_accept4.
35056         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35057
35058         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35059         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35060         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35061         signal-defines.sym.
35062
35063 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35064
35065         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35066
35067 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35068
35069         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35070         assertion on O_CLOEXEC flag.
35071         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35072         * hurd/intern-fd.c: Likewise.
35073         * hurd/port2fd.c: Likewise.
35074
35075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35076
35077         [BZ #3906]
35078         * bits/in.h (IPV6_PKTINFO): Define new macro.
35079         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35080
35081 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35082
35083         [BZ #13954]
35084         [BZ #13955]
35085         [BZ #13956]
35086         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35087         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35088         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35089         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35090         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35091         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35092         * math/libm-test.inc (logb_test) : Additional logb tests.
35093
35094 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35095             Andreas Jaeger  <aj@suse.de>
35096
35097         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35098         * configure: Regenerated.
35099         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35100         * config.make.in (link-obsolete-rpc): New substituted variable.
35101         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35102         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35103         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35104         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35105         so that libc.a contains the symbols.
35106         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35107         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35108         * sunrpc/auth_none.c: Likewise.
35109         * sunrpc/auth_unix.c: Likewise.
35110         * sunrpc/authdes_prot.c: Likewise.
35111         * sunrpc/authuxprot.c: Likewise.
35112         * sunrpc/clnt_gen.c: Likewise.
35113         * sunrpc/clnt_perr.c: Likewise.
35114         * sunrpc/clnt_raw.c: Likewise.
35115         * sunrpc/clnt_simp.c: Likewise.
35116         * sunrpc/clnt_tcp.c: Likewise.
35117         * sunrpc/clnt_udp.c: Likewise.
35118         * sunrpc/clnt_unix.c: Likewise.
35119         * sunrpc/des_crypt.c: Likewise.
35120         * sunrpc/des_soft.c: Likewise.
35121         * sunrpc/get_myaddr.c: Likewise.
35122         * sunrpc/key_call.c: Likewise.
35123         * sunrpc/key_prot.c: Likewise.
35124         * sunrpc/netname.c: Likewise.
35125         * sunrpc/pm_getmaps.c: Likewise.
35126         * sunrpc/pm_getport.c: Likewise.
35127         * sunrpc/pmap_clnt.c: Likewise.
35128         * sunrpc/pmap_prot.c: Likewise.
35129         * sunrpc/pmap_prot2.c: Likewise.
35130         * sunrpc/pmap_rmt.c: Likewise.
35131         * sunrpc/publickey.c: Likewise.
35132         * sunrpc/rpc_cmsg.c: Likewise.
35133         * sunrpc/rpc_common.c: Likewise.
35134         * sunrpc/rpc_dtable.c: Likewise.
35135         * sunrpc/rpc_prot.c: Likewise.
35136         * sunrpc/rpc_thread.c: Likewise.
35137         * sunrpc/rtime.c: Likewise.
35138         * sunrpc/svc.c: Likewise.
35139         * sunrpc/svc_auth.c: Likewise.
35140         * sunrpc/svc_raw.c: Likewise.
35141         * sunrpc/svc_run.c: Likewise.
35142         * sunrpc/svc_tcp.c: Likewise.
35143         * sunrpc/svc_udp.c: Likewise.
35144         * sunrpc/svc_unix.c: Likewise.
35145         * sunrpc/svcauth_des.c: Likewise.
35146         * sunrpc/xcrypt.c: Likewise.
35147         * sunrpc/xdr.c: Likewise.
35148         * sunrpc/xdr_array.c: Likewise.
35149         * sunrpc/xdr_float.c: Likewise.
35150         * sunrpc/xdr_intXX_t.c: Likewise.
35151         * sunrpc/xdr_mem.c: Likewise.
35152         * sunrpc/xdr_rec.c: Likewise.
35153         * sunrpc/xdr_ref.c: Likewise.
35154         * sunrpc/xdr_sizeof.c: Likewise.
35155         * sunrpc/xdr_stdio.c: Likewise.
35156
35157 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35158
35159         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35160         change.  Update copyright years.
35161
35162 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35163
35164         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35165
35166 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35167             Joseph Myers  <joseph@codesourcery.com>
35168             Paul Pluzhnikov  <ppluzhnikov@google.com>
35169
35170         [BZ #14012]
35171         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35172         requiring rpcgen.
35173         [cross-compiling] (extra-libs): Likewise.
35174         [cross-compiling] (extra-libs-others): Likewise.
35175         [cross-compiling] (librpcsvc-routines): Likewise.
35176         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35177         [cross-compiling] (omit-deps): Likewise.
35178         (sunrpc-CPPFLAGS): New variable.
35179         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35180         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35181         (cross-rpcgen-objs): New variable.
35182         (extra-objs): Append $(cross-rpcgen-objs).
35183         ($(cross-rpcgen-objs)): New rule.
35184         ($(objpfx)cross-rpcgen): Likewise.
35185         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35186         comment.
35187         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35188         ($(objpfx)x%.stmp): Likewise.
35189         * sunrpc/proto.h [IS_IN_build] (_): Define.
35190         [IS_IN_build] (_libc_intl_domainname): Likewise.
35191
35192 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35193
35194         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35195         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35196         and R_X86_64_TPOFF64.
35197
35198 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35199
35200         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35201         sysdeps/unix/sysv/syscalls.list.
35202         (stime): Likewise.
35203         (utime): Likewise.
35204         * sysdeps/unix/sysv/syscalls.list: Remove file.
35205
35206 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35207
35208         [BZ #3440]
35209         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35210         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35211         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35212         (__LC_IDENTIFICATION): Make these macros useful in #if
35213         expressions, as required by C99.
35214
35215 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35216
35217         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35218         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35219         after this.
35220
35221 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35222
35223         * stdlib/longlong.h: Updated from GCC.
35224
35225 2012-05-09  Andreas Jaeger  <aj@suse.de>
35226
35227         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35228         default is first entry.
35229         (run_mode): Set type.
35230         (main): Remove informal message about syslog.
35231         (options): Fix typo.
35232
35233         [BZ #14053]
35234         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35235         to asm.
35236         (lrint): Likewise.
35237         (llrintf): Likewise.
35238         (llrint): Likewise.
35239         (rint): Likewise.
35240         (rintf): Likewise.
35241         (nearbyint): Likewise.
35242         (nearbyintf): Likewise.
35243
35244 2012-05-09  Andreas Jaeger  <aj@suse.de>
35245             Pedro Alves  <palves@redhat.com>
35246
35247         * nscd/nscd.c (run_mode): Use enum.
35248         (main): Cleanup coding style issue.
35249
35250 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35251             Andreas Jaeger  <aj@suse.de>
35252
35253         * nscd/nscd.c (go_background): Replaced with...
35254         (run_mode): ... this.
35255         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35256         (options): Add -F --foreground.
35257         (main): Implement it.
35258         (parse_opt): Parse it.
35259
35260 2012-05-09  Andreas Jaeger  <aj@suse.de>
35261
35262         [BZ #14083]
35263         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35264         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35265         -Wconversion warning.
35266         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35267         Likewise.
35268
35269 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35270
35271         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35272         == 0.
35273         (LC_ALL): Use macro-int-constant.
35274         (LC_COLLATE): Likewise.
35275         (LC_CTYPE): Likewise.
35276         (LC_MESSAGES): Likewise.
35277         (LC_MONETARY): Likewise.
35278         (LC_NUMERIC): Likewise.
35279         (LC_TIME): Likewise.
35280         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35281         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35282         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35283         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35284         Specify type.
35285         [C99-based standards] (float_t): Expect type.
35286         [C99-based standards] (double_t): Expect type.
35287         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35288         type.
35289         [C99-based standards] (HUGE_VALL): Likewise.
35290         [C99-based standards] (INFINITY): Likewise.
35291         [C99-based standards] (NAN): Likewise.
35292         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35293         [C99-based standards] (FP_NAN): Likewise.
35294         [C99-based standards] (FP_NORMAL): Likewise.
35295         [C99-based standards] (FP_SUBNORMAL): Likewise.
35296         [C99-based standards] (FP_ZERO): Likewise.
35297         [C99-based standards] (FP_FAST_FMA): Use
35298         optional-macro-int-constant.  Specify type.  Require == 1.
35299         [C99-based standards] (FP_FAST_FMAF): Likewise.
35300         [C99-based standards] (FP_FAST_FMAL): Likewise.
35301         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35302         [C99-based standards] (FP_ILOGBNAN): Likewise.
35303         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35304         Specify type.
35305         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35306         [C99-based standards] (math_errhandling): Specify type.
35307         [ISO99 || ISO11] (signgam): Do not allow.
35308         [non-C99-based standards] (copysignf): Do not allow.
35309         [non-C99-based standards] (exp2f): Likewise.
35310         [non-C99-based standards] (log2f): Likewise.
35311         [non-C99-based standards] (modff): Allow.
35312         [non-C99-based standards] (erff): Do not allow.
35313         [non-C99-based standards] (erfcf): Likewise.
35314         [non-C99-based standards] (gammaf): Likewise.
35315         [non-C99-based standards] (hypotf): Likewise.
35316         [non-C99-based standards] (j0f): Likewise.
35317         [non-C99-based standards] (j1f): Likewise.
35318         [non-C99-based standards] (jnf): Likewise.
35319         [non-C99-based standards] (lgammaf): Likewise.
35320         [non-C99-based standards] (tgammaf): Likewise.
35321         [non-C99-based standards] (y0f): Likewise.
35322         [non-C99-based standards] (y1f): Likewise.
35323         [non-C99-based standards] (ynf): Likewise.
35324         [non-C99-based standards] (isnanf): Likewise.
35325         [non-C99-based standards] (acoshf): Likewise.
35326         [non-C99-based standards] (asinhf): Likewise.
35327         [non-C99-based standards] (atanhf): Likewise.
35328         [non-C99-based standards] (cbrtf): Likewise.
35329         [non-C99-based standards] (expm1f): Likewise.
35330         [non-C99-based standards] (ilogbf): Likewise.
35331         [non-C99-based standards] (log1pf): Likewise.
35332         [non-C99-based standards] (logbf): Likewise.
35333         [non-C99-based standards] (nextafterf): Likewise.
35334         [non-C99-based standards] (remainderf): Likewise.
35335         [non-C99-based standards] (rintf): Likewise.
35336         [non-C99-based standards] (scalbf): Likewise.
35337         [non-C99-based standards] (copysignl): Likewise.
35338         [non-C99-based standards] (exp2l): Likewise.
35339         [non-C99-based standards] (log2l): Likewise.
35340         [non-C99-based standards] (modfl): Allow.
35341         [non-C99-based standards] (erfl): Do not allow.
35342         [non-C99-based standards] (erfcl): Likewise.
35343         [non-C99-based standards] (gammal): Likewise.
35344         [non-C99-based standards] (hypotl): Likewise.
35345         [non-C99-based standards] (j0l): Likewise.
35346         [non-C99-based standards] (j1l): Likewise.
35347         [non-C99-based standards] (jnl): Likewise.
35348         [non-C99-based standards] (lgammal): Likewise.
35349         [non-C99-based standards] (tgammal): Likewise.
35350         [non-C99-based standards] (y0l): Likewise.
35351         [non-C99-based standards] (y1l): Likewise.
35352         [non-C99-based standards] (ynl): Likewise.
35353         [non-C99-based standards] (isnanl): Likewise.
35354         [non-C99-based standards] (acoshl): Likewise.
35355         [non-C99-based standards] (asinhl): Likewise.
35356         [non-C99-based standards] (atanhl): Likewise.
35357         [non-C99-based standards] (cbrtl): Likewise.
35358         [non-C99-based standards] (expm1l): Likewise.
35359         [non-C99-based standards] (ilogbl): Likewise.
35360         [non-C99-based standards] (log1pl): Likewise.
35361         [non-C99-based standards] (logbl): Likewise.
35362         [non-C99-based standards] (nextafterl): Likewise.
35363         [non-C99-based standards] (remainderl): Likewise.
35364         [non-C99-based standards] (rintl): Likewise.
35365         [non-C99-based standards] (scalbl): Likewise.
35366         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35367         [non-C99-based standards] (FP_*): Do not allow.
35368         [C99-based standards] (FP_*): Change to
35369         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35370         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35371         allow.
35372         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35373         (SIG_ERR): Likewise.
35374         [X/Open-based standards] (SIG_HOLD): Likewise.
35375         (SIG_IGN): Likewise.
35376         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35377         positive value.
35378         (SIGFPE): Likewise.
35379         (SIGILL): Likewise.
35380         (SIGINT): Likewise.
35381         (SIGSEGV): Likewise.
35382         (SIGTER): Likewise.
35383         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35384         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35385         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35386         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35387         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35388         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35389         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35390         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35391         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35392         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35393         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35394         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35395         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35396         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35397         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35398         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35399         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35400         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35401         [X/Open-based standards] (SIGTRAP): Likewise.
35402         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35403         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35404         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35405         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35406         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35407         allow.
35408
35409 2012-05-08  Ian Wienand  <ianw@vmware.com>
35410
35411         [BZ #14080]
35412         * time/tzset.c (__tzset_parse_tz): Update default rules for
35413         daylight time changes in the Energy Policy Act of 2005.
35414
35415 2012-05-09  Andreas Jaeger  <aj@suse.de>
35416
35417         [BZ #13983]
35418         * elf/ldconfig.c (parse_conf): Change string to make clear that
35419         ldconfig only issued a warning if ld.so.conf does not exist.
35420
35421 2012-05-08  David S. Miller  <davem@davemloft.net>
35422
35423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35424         movxtod instead of popping the value on the stack.
35425
35426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35427
35428 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35429
35430         * config.h.in: Add HAVE_ARM_PCS_VFP.
35431
35432 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35433
35434         [BZ #13979]
35435         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35436         checking but the checks are disabled for any reason.
35437
35438 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35439
35440         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35441         and ELF64_R_TYPE with ELFW(R_TYPE).
35442
35443 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35444
35445         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35446         (ulimit): Likewise.
35447
35448         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35449         (settimeofday): Likewise.
35450
35451 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35452
35453         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35454         a struct th_u2 inside the union, and move tu_block/tu_code into
35455         a new th_u3 union of tu_block/tu_code inside of that.  Move
35456         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35457         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35458         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35459         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35460         (th_stuff): Change to th_u1.tu_stuff.
35461         (th_data): Define.
35462         (th_msg): Change to th_u1.th_u2.tu_data.
35463
35464 2012-05-07  David S. Miller  <davem@davemloft.net>
35465
35466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35467
35468         [BZ #14074]
35469         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35470         (SETUP_PIC_REG): Use it.
35471         (SETUP_PIC_REG_LEAF): Use it.
35472
35473 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35474
35475         [BZ #13885]
35476         [BZ #13923]
35477         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35478         USE_AS_EXPM1L.
35479         (EXPL_FINITE): Likewise.
35480         (FLDLOG): Likewise.
35481         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35482         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35483         e_expl.S.
35484         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35485         USE_AS_EXPM1L.
35486         (EXPL_FINITE): Likewise.
35487         (FLDLOG): Likewise.
35488         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35489         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35490         e_expl.S.
35491         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35492         test of -max_value argument for long double.
35493         * sysdeps/i386/fpu/libm-test-ulps: Update.
35494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35495
35496 2012-05-06  David S. Miller  <davem@davemloft.net>
35497
35498         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35499         quad soft-float symbols whose references which are compiler
35500         generated.
35501         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35502
35503 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35504
35505         [BZ #13884]
35506         [BZ #13914]
35507         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35508         USE_AS_EXP10L.
35509         (EXPL_FINITE): Likewise.
35510         (FLDLOG): Likewise.
35511         (c0): Likewise.
35512         (c1): Likewise.
35513         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35514         Adjust comments for base varying.
35515         (__expl_finite): Change alias to EXPL_FINITE.
35516         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35517         e_expl.S.
35518         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35519         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35520         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35521         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35522         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35523         USE_AS_EXP10L.
35524         (EXPL_FINITE): Likewise.
35525         (FLDLOG): Likewise.
35526         (c0): Likewise.
35527         (c1): Likewise.
35528         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35529         Adjust comments for base varying.
35530         (__expl_finite): Change alias to EXPL_FINITE.
35531         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35532         tests for bugs.
35533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35534
35535         [BZ #14064]
35536         * math/libm-test.inc (check_float_internal): Correct ulp
35537         calculation for subnormal expected results.
35538
35539 2012-05-06  Andreas Jaeger  <aj@suse.de>
35540
35541         * Makeconfig (+math-flags): New, set to -frounding-math.
35542         (+cflags): Add +math-flags so that all of glibc gets compiled with
35543         it.
35544
35545         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35546
35547 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35548
35549         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35550         Disable one test.
35551
35552         [BZ #13787]
35553         [BZ #13922]
35554         [BZ #14036]
35555         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35556         (__ieee754_expl): Allow for and saturate large arguments.
35557         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35558         (u_threshold): Likewise.
35559         (__exp): Call __ieee754_exp before checking for overflow and
35560         underflow.
35561         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35562         (u_threshold): Likewise.
35563         (__expf): Call __ieee754_expf before checking for overflow and
35564         underflow.
35565         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35566         (u_threshold): Likewise.
35567         (__expl): Call __ieee754_expl before checking for overflow and
35568         underflow.
35569         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35570         (__ieee754_expl): Allow for and saturate large arguments.
35571         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35572         missing overflow exception on overflow.
35573         (expm1_test): Do not allow missing overflow exception on overflow.
35574
35575         * sysdeps/i386/fpu/e_expl.c: Move to ...
35576         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35577         rather than using inline asm.
35578         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35579         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35580         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35581
35582         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35583         (nice): Likewise.
35584         (poll): Likewise.
35585         (signal): Likewise.
35586         (time): Likewise.
35587         (times): Likewise.
35588
35589 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35590
35591         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35592         sysdeps/unix/common/syscalls.list.
35593         (fchmod): Likewise.
35594         (fchown): Likewise.
35595         (ftruncate): Likewise.
35596         (getrusage): Likewise.
35597         (gettimeofday): Likewise.
35598         (setpgid): Likewise.
35599         (setregid): Likewise.
35600         (setreuid): Likewise.
35601         (sigaction): Likewise.
35602         (truncate): Likewise.
35603         (vhangup): Likewise.
35604         * sysdeps/unix/common/syscalls.list: Remove file.
35605         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35606         * sysdeps/unix/sysv/linux/Implies: Likewise.
35607
35608 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35609
35610         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35612         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35613         Moved to ...
35614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35615         Here.
35616         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35617         to ...
35618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35619         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35620         to ...
35621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35622         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35623         to ...
35624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35625         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35626         to ...
35627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35628         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35629         to ...
35630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35631         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35632         to ...
35633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35634         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35635         to ...
35636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35637         Here.
35638         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35639         to ...
35640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35641         Here.
35642         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35643         to ...
35644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35645         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35646         Moved to ...
35647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35648         Here.
35649         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35650         to ...
35651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35652
35653 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35654
35655         * sysdeps/unix/common/bits/dirent.h: Remove file.
35656         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35657
35658         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35659         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35660         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35661         * sysdeps/unix/bsd/isatty.c: Likewise.
35662         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35663         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35664         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35665
35666 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35667
35668         [BZ #13563]
35669         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35670         long double comparison inaccuracies.
35671         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35673
35674 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35675
35676         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35677         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35678
35679 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35680
35681         [BZ #14049]
35682         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35683         nonzero digits before rounding a hex value.
35684         * stdlib/tst-strtod.c (tests): Add another test.
35685
35686 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35687
35688         * sysdeps/s390/fpu/libm-test-ulps: Update.
35689
35690 2012-05-03  Andreas Jaeger  <aj@suse.de>
35691
35692         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35693         does not get optimized out.
35694         (malloc_opt_barrier): New.
35695
35696 2012-05-03  Andreas Jaeger  <aj@suse.de>
35697             Roland McGrath  <roland@hack.frob.com>
35698
35699         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35700         intermediate file deletion.
35701         (generated): Add .symlist files.
35702
35703 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35704
35705         [BZ #13775]
35706         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35707         Redirect under this condition.
35708         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35709         [__USE_GNU] (__dprintf_chk): Not under this condition.
35710         [__USE_GNU] (__vdprintf_chk): Likewise.
35711         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35712         under this condition.
35713         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35714         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35715         [__USE_XOPEN2K8] (vdprintf): Likewise.
35716         [__USE_GNU] (__dprintf_chk): Not under this condition.
35717         [__USE_GNU] (__vdprintf_chk): Likewise.
35718         [__USE_GNU] (dprintf): Likewise.
35719         [__USE_GNU] (vdprintf): Likewise.
35720
35721 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35722
35723         * elf/Makefile (common-generated): Set this instead of generated for
35724         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35725         $(all-built-dso)-derived lists.
35726
35727 2012-05-03  Andreas Jaeger  <aj@suse.de>
35728
35729         * sysdeps/i386/fpu/libm-test-ulps: Update.
35730
35731         * FAQ: Removed.
35732         * FAQ.in: Likewise.
35733         * scripts/gen-FAQ.pl: Likewise.
35734         * manual/install.texi (Installation): Point to online location of
35735         FAQ.
35736         * Makefile (files-for-dist): Remove FAQ.
35737         (FAQ): Remove.
35738
35739 2012-05-02  Allan McRae  <allan@archlinux.org>
35740
35741         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35742         (LDFLAGS-reldepmod5.so): Likewise.
35743         (LDFLAGS-reldep6mod1.so): Likewise.
35744         (LDFLAGS-reldep6mod4.so): Likewise.
35745         (LDFLAGS-reldep8mod3.so): Likewise.
35746         (LDFLAGS-unload4mod1.so): Likewise.
35747         (LDFLAGS-unload4mod2.so): Likewise.
35748         (LDFLAGS-tst-initorder): Likewise.
35749         (LDFLAGS-tst-initordera2.so): Likewise.
35750         (LDFLAGS-tst-initordera3.so): Likewise.
35751         (LDFLAGS-tst-initordera4.so): Likewise.
35752         (LDFLAGS-tst-initorderb2.so): Likewise.
35753         (LDFLAGS-noload): Likewise.
35754         (LDFLAGS-next): Likewise.
35755         (LDFLAGS-order2mod1.so): Likewise.
35756         (LDFLAGS-order2mod2.so): Likewise.
35757         (LDFLAGS-tst-initorder2): Likewise.
35758         (LDFLAGS-tst-initorder2a.so): Likewise.
35759         (LDFLAGS-tst-initorder2b.so): Likewise.
35760         (LDFLAGS-tst-initorder2c.so): Likewise.
35761         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35762
35763 2012-05-02  David S. Miller  <davem@davemloft.net>
35764
35765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35766
35767 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35768
35769         [BZ #14055]
35770         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35771
35772 2012-05-02  Andreas Jaeger  <aj@suse.de>
35773
35774         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35775         since we manipulate rounding mode.
35776         (CPPFLAGS-test-idouble.c): Likewise.
35777         (CPPFLAGS-test-ifloat.c): Likewise.
35778         (CFLAGS-test-ldouble.c): Likewise.
35779         (CFLAGS-test-double.c): Likewise.
35780         (CFLAGS-test-float.c): Likewise.
35781         (CFLAGS-test-misc.c): Likewise.
35782         (CFLAGS-test-test-fenv.c): Likewise.
35783
35784 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35785
35786         [BZ #2550]
35787         [BZ #2570]
35788         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35789         comparisons to determine direction to adjust input.
35790
35791 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35792
35793         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35794         output to the target.
35795
35796         * scripts/localplt.awk: New file.
35797         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35798         (check-localplt-CFLAGS): Variable removed.
35799         ($(all-built-dso:=.jmprel)): New static pattern rule.
35800         (generated): Add those targets.
35801         (localplt-built-dso): New variable.
35802         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35803
35804         * elf/check-localplt.c: File removed.
35805
35806         * scripts/check-execstack.awk: New file.
35807         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35808         (check-execstack-CFLAGS): Variable removed.
35809         ($(objpfx)check-execstack.h): Target removed.
35810         ($(objpfx)execstack-default): New target.
35811         (generated): Add that instead of check-execstack.h.
35812         ($(all-built-dso:=.phdr)): New static pattern rule.
35813         (generated): Add those targets.
35814         * elf/check-execstack.c: File removed.
35815
35816         * scripts/check-textrel.awk: New file.
35817         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35818         (check-textrel-CFLAGS): Variable removed.
35819         (all-built-dso): Use := to define.o
35820         ($(all-built-dso:=.dyn)): New static pattern rule.
35821         (generated): Add those targets.
35822         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35823         * config.make.in (READELF): New substituted variable.
35824         * elf/check-textrel.c: File removed.
35825
35826 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35827
35828         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35829         allow.
35830         * conform/data/ctype.h-data [C99-based standards] (isblank):
35831         Expect function.
35832         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35833         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35834         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35835         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35836         Specify type.  Require positive value.
35837         (EILSEQ): Likewise.
35838         (ERANGE): Likewise.
35839         [ISO || POSIX] (EILSEQ): Do not expect.
35840         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35841         Specify type.  Require positive value.
35842         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35843         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35844         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35845         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35846         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35847         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35848         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35849         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35850         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35851         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35852         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35853         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35854         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35855         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35856         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35857         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35858         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35859         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35860         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35861         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35862         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35863         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35864         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35865         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35866         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35867         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35868         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35869         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35870         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35871         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35872         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35873         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35874         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35875         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35876         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35877         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35878         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35879         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35880         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35881         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35882         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35883         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35884         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35885         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35886         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35887         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35888         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35889         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35890         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35891         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35892         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35893         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35894         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35895         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35896         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35897         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35898         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35899         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35900         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35901         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35902         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35903         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35904         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35905         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35906         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35907         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35908         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35909         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35910         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35911         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35912         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35913         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35914         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35915         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35916         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35917         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35918         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35919         Require >= 2.
35920         (FLT_ROUNDS): Expect as macro, not constant.
35921         (FLT_MANT_DIG): Use macro-int-constant.
35922         (DBL_MANT_DIG): Likewise.
35923         (LDBL_MANT_DIG): Likewise.
35924         (FLT_DIG): Likewise.
35925         (DBL_DIG): Likewise.
35926         (LDBL_DIG): Likewise.
35927         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35928         (DBL_MIN_EXP): Likewise.
35929         (LDBL_MIN_EXP): Likewise.
35930         (FLT_MAX_EXP): Use macro-int-constant.
35931         (DBL_MAX_EXP): Likewise.
35932         (LDBL_MAX_EXP): Likewise.
35933         (FLT_MAX_10_EXP): Likewise.
35934         (DBL_MAX_10_EXP): Likewise.
35935         (LDBL_MAX_10_EXP): Likewise.
35936         (FLT_MAX): Use macro-constant.
35937         (DBL_MAX): Likewise.
35938         (LDBL_MAX): Likewise.
35939         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35940         (DBL_EPSILON): Likewise.
35941         (LDBL_EPSILON): Likewise.
35942         (FLT_MIN): Likewise.
35943         (DBL_MIN): Likewise.
35944         (LDBL_MIN): Likewise.
35945         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35946         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35947         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35948         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35949         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35950         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35951         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35952         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35953         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35954         [ISO11] (FLT_TRUE_MIN): Likewise.
35955         [ISO11] (LDBL_TRUE_MIN): Likewise.
35956         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35957         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35958         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35959         (SCHAR_MAX): Likewise.
35960         (UCHAR_MAX): Likewise.
35961         (CHAR_MIN): Likewise.
35962         (CHAR_MAX): Likewise.
35963         (MB_LEN_MAX): Use macro-int-constant.
35964         (SHRT_MIN): Use macro-int-constant.  Specify type.
35965         (SHRT_MAX): Likewise.
35966         (USHRT_MAX): Likewise.
35967         (INT_MAX): Likewise.
35968         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35969         bound negative.
35970         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35971         bound with "U".
35972         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35973         bound with "L".
35974         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35975         bound negative.  Suffix upper bound with "L".
35976         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35977         bound with "UL".
35978         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35979         Specify type.
35980         [C99-based standards] (LLONG_MAX): Likewise.
35981         [C99-based standards] (ULLONG_MAX): Likewise.
35982         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35983         == 0.
35984         [ISO11] (max_align_t): Require type.
35985         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35986
35987         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35988         from $CFLAGS, without defining away __attribute__ calls.
35989         (checknamespace): Use $CFLAGS_namespace.
35990
35991         * conform/conformtest.pl (@keywords): Only include C99 keywords
35992         for standards based on C99 or C11.
35993
35994         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35995         Disable tests.
35996         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35997         UNIX98]: Likewise.
35998
35999         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36000         usability of symbols in #if.
36001
36002         * conform/conformtest.pl: If macro or constant types start
36003         "promoted:", expect the symbol to be of the following type
36004         promoted by the integer promotions.
36005
36006         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36007         in one place.  Also handle "macro-constant".
36008
36009         * conform/conformtest.pl: Only accept expected macro values with
36010         "==".  Parse all "macro" lines in one place.
36011         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36012
36013         * conform/conformtest.pl: Handle braced types on "constant" lines
36014         instead of handling "typed-constant".
36015         * conform/data/signal.h-data: Use "constant" instead of
36016         "typed-constant".
36017
36018         * conform/conformtest.pl: Handle "optional-" at start of lines in
36019         one place rather than duplicating several cases.  Handle each
36020         format of "macro" line with initial "optional-".
36021
36022         * conform/conformtest.pl: Only accept expected constant or
36023         optional-constant values with "==".  Parse all "constant" lines in
36024         one place.  Parse all "optional-constant" lines in one place.
36025         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36026         * conform/data/fmtmsg.h-data: Likewise.
36027         * conform/data/netinet/in.h-data: Likewise.
36028         * conform/data/tar.h-data: Likewise.
36029         * conform/data/limits.h-data: Use "==" form on "constant" and
36030         "optional-constant" lines.
36031
36032         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36033         Use -std=c99 for XOPEN2K.
36034         (@knownproblems): Remove.
36035         (newtoken): Don't check %isknown.
36036
36037         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36038         Do not expect macro.
36039         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36040         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36041         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36042         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36043         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36044         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36045         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36046         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36047         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36048         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36049         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36050         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36051         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36052         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36053         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36054         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36055         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36056         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36057         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36058         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36059         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36060         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36061         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36062         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36063         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36064         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36065         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36066         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36067         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36068         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36069         [XPG3] (acosh): Likewise.
36070         [XPG3] (asinh): Likewise.
36071         [XPG3] (atanh): Likewise.
36072         [XPG3] (cbrt): Likewise.
36073         [XPG3] (expm1): Likewise.
36074         [XPG3] (ilogb): Likewise.
36075         [XPG3] (log1p): Likewise.
36076         [XPG3] (logb): Likewise.
36077         [XPG3] (nextafter): Likewise.
36078         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36079         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36080         [XPG3] (remainder): Likewise.
36081         [XPG3] (rint): Likewise.
36082         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36083         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36084         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36085         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36086         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36087         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36088         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36089         [UNIX98 || XOPEN2K] (scalb): Expect.
36090         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36091         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36092         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36093         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36094         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36095         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36096         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36097         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36098         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36099         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36100         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36101         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36102         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36103         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36104         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36105         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36106         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36107         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36108         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36109         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36110         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36111         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36112         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36113         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36114         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36115         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36116         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36117         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36118         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36119         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36120         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36121         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36122         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36123         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36124         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36125         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36126         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36127         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36128         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36129         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36130         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36131         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36132         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36133         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36134         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36135         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36136         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36137         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36138         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36139         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36140         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36141         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36142         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36143         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36144         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36145         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36146         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36147         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36148         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36149         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36150         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36151         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36152         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36153         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36154         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36155         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36156         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36157         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36158         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36159         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36160         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36161         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36162         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36163         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36164         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36165         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36166         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36167         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36168         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36169         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36170         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36171         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36172         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36173         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36174         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36175         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36176         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36177         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36178         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36179         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36180         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36181         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36182         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36183         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36184         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36185         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36186         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36187         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36188         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36189         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36190         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36191         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36192         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36193         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36194         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36195         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36196         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36197         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36198         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36199         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36200         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36201         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36202         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36203         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36204         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36205         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36206         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36207         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36208         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36209         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36210         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36211         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36212         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36213         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36214         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36215         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36216         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36217         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36218         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36219         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36220         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36221         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36222         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36223         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36224         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36225         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36226         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36227
36228         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36229         _XOPEN_SOURCE_EXTENDED for XPG4.
36230
36231         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36232
36233         * Makeconfig (localtime): Remove variable.
36234         (inst_localtime-file): Likewise.
36235
36236 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36237
36238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36239         Update.
36240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36241         Update.
36242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36243         Update.
36244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36245         Update.
36246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36247         Update.
36248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36249         Update.
36250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36251         Update.
36252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36253         Update.
36254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36255         Update.
36256
36257 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36258
36259         [BZ #2550]
36260         [BZ #2570]
36261         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36262         comparisons to determine direction to adjust input.
36263         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36264         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36265         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36266         Likewise.
36267         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36268         Likewise.
36269         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36270         Likewise.
36271         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36272         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36273         Likewise.
36274         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36275         Likewise.
36276         * math/libm-test.inc (nexttoward_test): Add more tests.
36277
36278 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36279
36280         [BZ #14040]
36281         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36282         in version GLIBC_2.1, not GLIBC_2.0.
36283         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36284         Likewise.
36285
36286 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36287
36288         [BZ #13942]
36289         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36290         (1 - x) * (1 + x).
36291         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36292         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36293         * math/libm-test.inc (acos_test): Add more tests.
36294         (asin_test): Likewise.
36295         * sysdeps/i386/fpu/libm-test-ulps: Update.
36296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36297
36298         [BZ #14034]
36299         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36300         of square root.
36301         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36302         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36303         * math/libm-test.inc (acos_test_tonearest): New function.
36304         (acos_test_towardzero): Likewise.
36305         (acos_test_downward): Likewise.
36306         (acos_test_upward): Likewise.
36307         (asin_test_tonearest): Likewise.
36308         (asin_test_towardzero): Likewise.
36309         (asin_test_downward): Likewise.
36310         (asin_test_upward): Likewise.
36311         (main): Call the new functions.
36312         * sysdeps/i386/fpu/libm-test-ulps: Update.
36313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36314
36315         [BZ #13884]
36316         [BZ #13924]
36317         * math/e_exp10.c: Include <float.h>.
36318         (__ieee754_exp10): Handle underflow here rather than multiplying
36319         large negative argument by M_LN10.
36320         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36321         of __ieee754_expf.
36322         * math/e_exp10l.c: Include <float.h>.
36323         (__ieee754_exp10l): Handle underflow here rather than multiplying
36324         large negative argument by M_LN10l.
36325         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36326         spurious overflow exception on underflow.
36327
36328 2012-04-29  Marek Polacek  <polacek@redhat.com>
36329
36330         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36331         (__fortify_function): New macro.
36332         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36333         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36334         __extern_always_inline.
36335         * libio/bits/stdio2.h: Likewise.
36336         * libio/bits/stdio.h: Likewise.
36337         * string/string.h: Likewise.
36338         * string/bits/string3.h: Likewise.
36339         * include/stdio.h: Likewise.
36340         * stdlib/bits/stdlib.h: Likewise.
36341         * stdlib/stdlib.h: Likewise.
36342         * rt/bits/mqueue2.h: Likewise.
36343         * rt/mqueue.h: Likewise.
36344         * posix/bits/unistd.h: Likewise.
36345         * posix/unistd.h: Likewise.
36346         * io/bits/poll2.h: Likewise.
36347         * io/bits/fcntl2.h: Likewise.
36348         * io/fcntl.h: Likewise.
36349         * io/sys/poll.h: Likewise.
36350         * misc/bits/syslog.h: Likewise.
36351         * misc/bits/syslog-ldbl.h: Likewise.
36352         * misc/sys/syslog.h: Likewise.
36353         * socket/bits/socket2.h: Likewise.
36354         * socket/sys/socket.h: Likewise.
36355         * debug/tst-chk1.c: Likewise.
36356         * wcsmbs/bits/wchar2.h: Likewise.
36357         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36358         * wcsmbs/wchar.h: Likewise.
36359
36360 2012-04-29  Andreas Jaeger  <aj@suse.de>
36361
36362         * Makerules (tests): Remove enable-check-abi protection.
36363         (check-abi-warn): Remove.
36364         (check-abi-%): Remove check-abi-warn usage.
36365
36366         * configure.in: Remove check-abi configure option.
36367         * configure: Regenerated.
36368         * config.make.in (enable-check-abi): Remove.
36369
36370 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36371
36372         [BZ #14033]
36373         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36374         double functions to double *_finite functions.
36375
36376         [BZ #13941]
36377         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36378         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36379         LDBL_MIN_EXP.
36380         * stdio-common/Makefile (tests): Add tst-sprintf3.
36381         * stdio-common/tst-sprintf3.c: New file.
36382
36383         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36384         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36385
36386 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36387
36388         * conform/conformtest.pl: Remove duplicate typed-constant
36389         handling.
36390
36391 2012-04-28  David S. Miller  <davem@davemloft.net>
36392
36393         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36394         (check-abi-%): Remove AWK script prerequisite and explicit
36395         abilist directory.
36396         (check-abi): Rewrite to just diff the symlist with the abilist.
36397         (config-tls, config-abi-config): Delete, no longer used.
36398         (update-abi-%): Remove AWK script and explicit abilist directory.
36399         (update-abi): Rewrite to simply compare and conditionally copy the
36400         symlist and the sysdep abilist file.  Remove update-abi-config
36401         checks.
36402         * abilist/ld.abilist: Remove.
36403         * abilist/libBrokenLocale.abilist: Remove.
36404         * abilist/libanl.abilist: Remove.
36405         * abilist/libcrypt.abilist: Remove.
36406         * abilist/libdl.abilist: Remove.
36407         * abilist/librt.abilist: Remove.
36408         * abilist/libthread_db.abilist: Remove.
36409         * abilist/libutil.abilist: Remove.
36410         * scripts/extract-abilist.awk: Remove.
36411         * scripts/merge-abilist.awk: Remove.
36412         * sysdeps/generic/libcidn.abilist: New file.
36413         * sysdeps/generic/libnss_compat.abilist: New file.
36414         * sysdeps/generic/libnss_db.abilist: New file.
36415         * sysdeps/generic/libnss_dns.abilist: New file.
36416         * sysdeps/generic/libnss_files.abilist: New file.
36417         * sysdeps/generic/libnss_hesiod.abilist: New file.
36418         * sysdeps/generic/libnss_nis.abilist: New file.
36419         * sysdeps/generic/libnss_nisplus.abilist: New file.
36420         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36421         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36422         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36423         file.
36424         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36425         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36426         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36427         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36428         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36429         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36430         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36431         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36432         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36433         file.
36434         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36435         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36436         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36437         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36438         file.
36439         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36440         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36441         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36442         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36443         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36444         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36445         file.
36446         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36447         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36448         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36449         file.
36450         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36451         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36452         New file.
36453         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36454         New file.
36455         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36456         New file.
36457         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36458         New file.
36459         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36460         New file.
36461         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36462         New file.
36463         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36464         New file.
36465         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36466         New file.
36467         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36468         New file.
36469         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36470         New file.
36471         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36472         New file.
36473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36474         New file.
36475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36476         New file.
36477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36478         file.
36479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36480         New file.
36481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36482         New file.
36483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36484         file.
36485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36486         New file.
36487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36488         New file.
36489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36490         file.
36491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36492         New file.
36493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36494         New file.
36495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36496         New file.
36497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36498         New file.
36499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36500         New file.
36501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36502         New file.
36503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36505         file.
36506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36507         New file.
36508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36509         file.
36510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36511         file.
36512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36513         file.
36514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36515         file.
36516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36517         file.
36518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36519         New file.
36520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36521         file.
36522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36523         file.
36524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36525         New file.
36526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36527         file.
36528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36530         file.
36531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36532         New file.
36533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36534         file.
36535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36536         file.
36537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36538         file.
36539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36540         file.
36541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36542         file.
36543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36544         New file.
36545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36546         file.
36547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36548         file.
36549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36550         New file.
36551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36552         file.
36553         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36554         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36555         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36556         file.
36557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36558         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36559         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36560         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36561         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36562         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36563         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36564         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36565         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36566         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36569         file.
36570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36571         New file.
36572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36573         file.
36574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36575         file.
36576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36577         file.
36578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36579         file.
36580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36581         file.
36582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36583         New file.
36584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36585         New file.
36586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36587         file.
36588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36589         New file.
36590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36591         file.
36592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36594         file.
36595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36596         New file.
36597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36598         file.
36599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36600         file.
36601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36602         file.
36603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36604         file.
36605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36606         file.
36607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36608         New file.
36609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36610         New file.
36611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36612         file.
36613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36614         New file.
36615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36616         file.
36617
36618 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36619
36620         * conform/conformtest.pl: Fix typo in handling typed-constant from
36621         allow-header.
36622
36623 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36624
36625         * README: Cut down references to pre-2.6 Linux kernels and
36626         Linuxthreads.  Update lists of configurations in libc and ports
36627         and sort alphabetically.  Say "or newer" with Linux kernel version
36628         requirements.
36629
36630         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36631
36632 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36633
36634         [BZ #887]
36635         * math/libm-test.inc (logb_test_downward): New test to expose
36636         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36637         rounding mode.
36638
36639 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36640
36641         [BZ #14027]
36642         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36643         to be done.
36644         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36645         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36646
36647 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36648
36649         * sysdeps/unix/i386/brk.S: Remove file.
36650         * sysdeps/unix/i386/dl-brk.S: Likewise.
36651         * sysdeps/unix/i386/pipe.S: Likewise.
36652         * sysdeps/unix/i386/sigreturn.S: Likewise.
36653         * sysdeps/unix/i386/syscall.S: Likewise.
36654         * sysdeps/unix/i386/vfork.S: Likewise.
36655         * sysdeps/unix/i386/wait.S: Likewise.
36656
36657         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36658         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36659
36660         * configure.in (arm*-none*): Do not allow without
36661         --enable-hacker-mode.
36662         (netbsd*): Remove case setting base_os.
36663         (386bsd*): Likewise.
36664         (freebsd*): Likewise.
36665         (bsdi*): Likewise.
36666         (osf*): Likewise.
36667         (sunos*): Likewise.
36668         (ultrix*): Likewise.
36669         (newsos*): Likewise.
36670         (dynix*): Likewise.
36671         (*bsd*): Likewise.
36672         (sysv*): Likewise.
36673         (isc*): Likewise.
36674         (esix*): Likewise.
36675         (sco*): Likewise.
36676         (minix*): Likewise.
36677         (irix4*): Likewise.
36678         (irix6*): Likewise.
36679         (solaris[2-9]*): Likewise.
36680         (none): Likewise.
36681         * configure: Regenerated.
36682
36683 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36684
36685         [BZ #11521]
36686         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36687         overflow or cancellation in calculating denominator.
36688         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36689         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36690         down expression to avoid unexpected rounding in newer GCCs.
36691         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36692
36693 2012-04-26  David S. Miller  <davem@davemloft.net>
36694
36695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36696         long-double compat symbols.
36697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36710
36711 2012-04-25  David S. Miller  <davem@davemloft.net>
36712
36713         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36714         HWCAP_* values only after the memory barriers have been defined.
36715         (atomic_full_barrier): Define.
36716         (atomic_read_barrier): Define.
36717         (atomic_write_barrier): Define.
36718
36719 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36720
36721         * shlib-versions: Add libgcc_s version information.
36722         * sysdeps/generic/libgcc_s.h: Remove.
36723         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36724         libgcc_s.h.
36725         * sysdeps/gnu/unwind-resume.c: Likewise.
36726         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36727
36728 2012-04-25  David S. Miller  <davem@davemloft.net>
36729
36730         * sysdeps/unix/sparc/brk.S: Delete.
36731         * sysdeps/unix/sparc/dl-brk.S: Delete.
36732         * sysdeps/unix/sparc/pipe.S: Delete.
36733         * sysdeps/unix/sparc/sysdep.S: Delete.
36734         * sysdeps/unix/sparc/sysdep.h: Delete.
36735         * sysdeps/unix/sparc/vfork.S: Delete.
36736         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36737         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36738         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36739         (ret_ERRVAL, r0, r1, MOVE): Define.
36740         (JUMPTARGET): Remove.
36741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36742         sysdeps/unix/sparc/sysdep.h
36743         (ENTRY, END): Remove.
36744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36745
36746 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36747
36748         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36749         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36750         -DIS_IN_build.
36751
36752         * timezone/README: Update upstream location and email address for
36753         tzcode and tzdata.
36754         * timezone/zdump.c: Update from tzcode 2012b.
36755         * timezone/zic.c: Likewise.
36756
36757         * configure.in (libc_cv_as_needed): Remove test.
36758         * configure: Regenerated.
36759         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36760         conditional definition.
36761         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36762         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36763         * config.make.in (have-as-needed): Remove variable.
36764
36765 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36766             Paul Pluzhnikov  <ppluzhnikov@google.com>
36767
36768         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36769         strings correctly.
36770
36771 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36772
36773         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36774         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36775         * sysdeps/sh/strlen.S: Likewise.
36776
36777 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36778
36779         * sysdeps/unix/fork.S: Remove file.
36780         * sysdeps/unix/i386/fork.S: Likewise.
36781         * sysdeps/unix/sparc/fork.S: Likewise.
36782
36783         * sysdeps/unix/system.c: Remove file.
36784         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36785
36786         * sysdeps/unix/getegid.S: Remove file.
36787         * sysdeps/unix/geteuid.S: Likewise.
36788
36789 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36790
36791         * scripts/check-localplt.awk: New file.
36792         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36793         of diff.
36794         * scripts/data/localplt-generic.data: Add a comment.
36795
36796         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36797         NODE when __dir_mkfile failed.
36798         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36799         Reported by Ludovic Courtès <ludo@gnu.org>.
36800
36801 2012-04-24  Andreas Jaeger  <aj@suse.de>
36802
36803         * Makerules (common-clean): Also remove gen-as-const-headers
36804         files.
36805
36806 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36807
36808         * Makerules (native-compile): Do not change working directory for
36809         build.  Use $(OUTPUT_OPTION) in command.
36810         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36811
36812 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36813
36814         [BZ #13886]
36815         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36816         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36817         * math/libm-test.inc (floor_test): Add more tests.
36818         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36819
36820 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36821
36822         * sysdeps/unix/getdents.c: Remove file.
36823         * sysdeps/unix/sysv/getdents.c: Likewise.
36824         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36825
36826         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36827         sysdeps/unix/mman/syscalls.list.
36828         (mmap): Likewise.
36829         (mprotect): Likewise.
36830         (msync): Likewise.
36831         (munmap): Likewise.
36832         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36833         * sysdeps/unix/mman/syscalls.list: Remove.
36834         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36835
36836         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36837         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36838         * configure: Regenerated.
36839         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36840         $(libgcc_s_suffix).
36841         * config.make.in (libgcc_s_suffix): Remove variable.
36842
36843 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36844
36845         * sysdeps/unix/sysv/gethostname.c: Move to ...
36846         * sysdeps/posix/gethostname.c: ... here.
36847
36848         * sysdeps/unix/execve.S: Remove file.
36849
36850         * sysdeps/unix/_exit.S: Remove file.
36851
36852 2012-04-23  Andreas Jaeger  <aj@suse.de>
36853
36854         [BZ #13739]
36855         * manual/Makefile: Remove make dist support, there's no
36856         need for a stand-alone documentation tar ball.
36857         (TEXI2DVI): Define always, it's not in Makeconfig.
36858         (dist): Removed.
36859         (tar-it): Removed.
36860         (edition): Removed.
36861         (glibc-doc-$(edition).tar): Removed
36862         (%.Z): Removed.
36863         (%.gz): Removed.
36864         (%.uu): Removed.
36865         (ETAGS): Remove, it's in Makeconfig.
36866         (move-if-change): Remove, it's in Makeconfig.
36867
36868 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36869
36870         [BZ #13970]
36871         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36872         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36873         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36874         (strtod_l, strtof_l, strtold_l): Remove __wur.
36875         It is not necessarily an error to ignore strtol's return value.
36876         One can reliably look at the stored endptr to decide whether
36877         the number had valid syntax.
36878
36879 2012-04-21  Andreas Jaeger  <aj@suse.de>
36880
36881         [BZ #13739]
36882         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36883
36884 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36885
36886         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36887         * sysdeps/unix/sysv/Versions: Remove file.
36888
36889 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36890
36891         [BZ #13927]
36892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36893
36894 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36895
36896         [BZ #7064]
36897         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36898         version from __vm86.
36899
36900 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36901
36902         * sysdeps/unix/common/lxstat.c: Remove file.
36903         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36904
36905         * sysdeps/unix/sysv/Makefile: Remove file.
36906
36907         * sysdeps/unix/sysv/direct.h: Remove file.
36908
36909         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36910         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36911         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36912         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36913         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36914         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36915         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36916
36917         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36918
36919         * sysdeps/unix/xmknod.c: Remove file.
36920         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36921
36922         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36923
36924         * sysdeps/unix/sysv/i386/time.S: Remove file.
36925
36926         * sysdeps/unix/fxstat.c: Remove file.
36927         * sysdeps/unix/xstat.c: Likewise.
36928         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36929
36930         * sysdeps/unix/sysv/sigaction.c: Remove file.
36931
36932         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36933         (sysdep_headers): Remove variable.
36934         [termio.h not in sysdep_headers] (generated): Likewise.
36935         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36936         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36937         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36938         * sysdeps/unix/sysv/tcflow.c: Likewise.
36939         * sysdeps/unix/sysv/tcflush.c: Likewise.
36940         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36941         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36942         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36943         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36944         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36945
36946         * sysdeps/unix/siglist.c: Remove file.
36947
36948         * sysdeps/unix/getppid.S: Remove file.
36949
36950         * sysdeps/unix/mkdir.c: Remove file.
36951         * sysdeps/unix/rmdir.c: Likewise.
36952
36953 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36954
36955         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36956         ERR_MAX value.
36957         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36958         errlist-compat value.
36959
36960 2012-04-18  David S. Miller  <davem@davemloft.net>
36961
36962         * sysdeps/generic/memcopy.h (reg_char): Delete.
36963         * debug/strcat_chk.c: Use char, not reg_char.
36964         * debug/strcpy_chk.c: Likewise.
36965         * debug/strncat_chk.c: Likewise.
36966         * debug/strncpy_chk.c: Likewise.
36967         * string/memchr.c: Likewise.
36968         * string/memrchr.c: Likewise.
36969         * string/rawmemchr.c: Likewise.
36970         * string/strcat.c: Likewise.
36971         * string/strchr.c: Likewise.
36972         * string/strchrnul.c: Likewise.
36973         * string/strcmp.c: Likewise.
36974         * string/strcpy.c: Likewise.
36975         * string/strncat.c: Likewise.
36976         * string/strncmp.c: Likewise.
36977         * string/strncpy.c: Likewise.
36978
36979 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36980
36981         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36982         __builtin_memcopy is called when src and dest ranges are known to not
36983         overlap.
36984
36985 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36986
36987         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36988         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36989         fwd_align_merge macro call.
36990         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36991         bwd_align_merge macro call.
36992         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36993
36994 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36995
36996         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36997         bwd_align_merge macros.
36998         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36999         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37000         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37001
37002 2012-04-18  David S. Miller  <davem@davemloft.net>
37003
37004         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37005
37006 2012-04-18  Andreas Jaeger  <aj@suse.de>
37007
37008         [BZ# 6794]
37009         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37010         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37011         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37012
37013         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37014         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37015         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37016
37017         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37018         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37019         Adjust for changed ldbl-128 files.
37020
37021         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37022         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37023         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37024
37025 2012-04-17  David S. Miller  <davem@davemloft.net>
37026
37027         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37028
37029 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37030
37031         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37032         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37033         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37034         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37035         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37036         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37037
37038 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37039
37040         [BZ #6794]
37041         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37042         * math/libm-test.inc: Add ilogb errno and exception tests.
37043         * math/w_ilogb.c: New file: ilogb wrapper.
37044         * math/w_ilogbf.c: New file: ilogbf wrapper.
37045         * math/w_ilogbl.c: New file: ilogbl wrapper.
37046         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37047         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37048         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37049         exception being thrown with 0.0 as argument.
37050         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37051         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37052         exception being thrown with 0.0 as argument.
37053         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37054         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37055         exception being thrown with 0.0 as argument.
37056         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37057         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37058         exception being thrown with 0.0 as argument.
37059         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37060         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37061         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37062         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37063         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37064         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37065         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37066         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37067         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37068
37069 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37070
37071         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37072         with altivec.
37073
37074 2012-04-16  Marek Polacek  <polacek@redhat.com>
37075
37076         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37077
37078 2012-04-16  Marek Polacek  <polacek@redhat.com>
37079
37080         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37081         operands of fdivp instruction.
37082
37083 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37084
37085         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37086         * elf/tst-auditmod3b.c: Likewise.
37087         * elf/tst-auditmod4b.c: Likewise.
37088         * elf/tst-auditmod5b.c: Likewise.
37089         * elf/tst-auditmod6b.c: Likewise.
37090         * elf/tst-auditmod6c.c: Likewise.
37091         * elf/tst-auditmod7b.c: Likewise.
37092         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37093         * sysdeps/x86_64/preconfigure.in: Likewise.
37094         * sysdeps/x86_64/preconfigure: Regenerated.
37095
37096 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37097
37098         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37099         __ILP32__.
37100
37101 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37102
37103         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37104         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37105
37106 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37107
37108         [BZ #13973]
37109         * locale/iso-639.def: Fix gl language name. Spotted by
37110         Yaron Shahrabani.
37111
37112 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37113
37114         [BZ #2074]
37115         * libio/libio.h (__io_write_fn): Update comment.
37116
37117 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37118
37119         [BZ #2074]
37120         * stdio.texi (Hook Functions): The user provided writer function
37121         is not allowed to return -1.
37122
37123 2012-04-11  David S. Miller  <davem@davemloft.net>
37124
37125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37126
37127 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37128
37129         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37130         Add a leading slash to rtkaio.
37131
37132 2012-04-11  Jim Meyering  <meyering@redhat.com>
37133
37134         [BZ #11959]
37135         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37136         It is not necessarily an error to ignore fwrite's return
37137         value.  One can reliably use ferror to test for errors after
37138         the fact.
37139
37140 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37141
37142         * bits/types.h (__snseconds_t): New type.
37143         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37144
37145         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37146         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37147         (__SNSECONDS_T_TYPE): Likewise.
37148         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37149         (__SNSECONDS_T_TYPE): Likewise.
37150         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37151         (__SNSECONDS_T_TYPE): Likewise.
37152
37153 2012-04-10  Andreas Jaeger  <aj@suse.de>
37154
37155         [BZ #2636]
37156         * manual/time.texi (Processor Time): Return type of times is
37157         elapsed real time since an arbitrary point in the past.
37158         (CPU Time): Move CLK_TCK from here...
37159         (Processor Time): ...to here.  Correct description.
37160         * manual/conf.texi (Constants for Sysconf): Correct description of
37161         _SC_CLK_TCK.
37162
37163 2012-04-10  David S. Miller  <davem@davemloft.net>
37164
37165         [BZ #13967]
37166         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37167         where the is a gap between DT_REL(A) and DT_JMPREL.
37168
37169 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37170
37171         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37172         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37173         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37174
37175 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37176
37177         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37178         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37179         (dl_main): Handle --inhibit-cache.
37180         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37181         _dl_inhibit_cache.
37182         * elf/dl-load.c (_dl_map_object): Use it.
37183         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37184
37185 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37186
37187         [BZ #13872]
37188         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37189         (__ieee754_powl): Saturate large exponents rather than testing for
37190         overflow of y*log2(x).
37191         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37192         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37193         exceptions.
37194
37195         [BZ #11521]
37196         * math/s_ctan.c: Include <float.h>.
37197         (__ctan): Avoid internal overflow or cancellation in calculating
37198         denominator.
37199         * math/s_ctanf.c: Likewise.
37200         * math/s_ctanl.c: Likewise.
37201         * math/s_ctanh.c: Likewise.
37202         * math/s_ctanhf.c: Likewise.
37203         * math/s_ctanhl.c: Likewise.
37204         * math/libm-test.inc (ctan_test): Add more tests.
37205         (ctanh_test): Likewise.
37206         * sysdeps/i386/fpu/libm-test-ulps: Update.
37207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37208
37209 2012-04-09  Andreas Jaeger  <aj@suse.de>
37210
37211         [BZ #6894]
37212         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37213         is an optional BSD extension.
37214
37215         [BZ #10254]
37216         * manual/stdio.texi (Opening Streams): Document additional fopen
37217         parameters.
37218
37219 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37220
37221         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37222         %eax without telling the compiler.
37223
37224 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37225
37226         [BZ # 13963]
37227         * manual/install.texi: Use sourceware.org.
37228
37229 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37230
37231         [BZ #13873]
37232         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37233         (__ieee754_pow): Generate overflow and underflow using huge*huge
37234         and tiny*tiny rather than just returning constant infinity or zero
37235         for large exponents.
37236         * math/libm-test.inc (pow_test): Require overflow exceptions for
37237         applicable cases of large exponents.
37238
37239         [BZ #706]
37240         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37241         (__ieee754_pow): Use iterative multiplication algorithm only for
37242         integer exponents with absolute value below 1024.  Check for odd
37243         integer exponents when using algorithm for real exponents.
37244         * math/libm-test.inc (pow_test): Add more tests.
37245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37246
37247 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37248
37249         [BZ #13705]
37250         * math/libm-test.inc (exp_test): Do not allow overflow exception
37251         on underflow test.
37252
37253 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37254
37255         [BZ #13705]
37256         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37257         instead of __kernel_standard_f.
37258
37259 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37260
37261         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37262         * sysdeps/x86_64/memset_chk.S: Likewise.
37263
37264 2012-04-08  Andreas Jaeger  <aj@suse.de>
37265
37266         [BZ #10153]
37267         * manual/startup.texi (Environment Access): Describe return value
37268         for putenv and setenv.
37269
37270         [BZ #6895]
37271         * manual/filesys.texi (Directory Entries): Add description for
37272         DT_LNK.
37273
37274         [BZ #6890]
37275         * manual/filesys.texi (Directory Entries): Clarify that it's file
37276         system not operating system in the description of DT_UNKNOWN.
37277
37278         [BZ #6578]
37279         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37280
37281 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37282
37283         [BZ #6649]
37284         * manual/llio.texi (Opening and Closing Files): Add cross
37285         reference to explain mode argument.
37286
37287 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37288
37289         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37290         * sysdeps/x86_64/memset_chk.S: Likewise.
37291
37292 2012-04-07  David S. Miller  <davem@davemloft.net>
37293
37294         * elf/elf.h (R_SPARC_WDISP10): Define.
37295         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37296         R_SPARC_SIZE32.
37297         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37298         R_SPARC_SIZE64 and R_SPARC_H34.
37299
37300 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37301
37302         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37303         conditions and remove no longer applicable assertion.
37304
37305 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37306
37307         * bits/byteswap.h: Include <features.h>.
37308         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37309         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37310
37311 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37312
37313         * bits/byteswap.h (__bswap_16): Removed.
37314         Include <bits/byteswap-16.h> to get __bswap_16.
37315         * sysdeps/i386/bits/byteswap.h: Likewise.
37316         * sysdeps/s390/bits/byteswap.h: Likewise.
37317         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37318         * bits/byteswap-16.h: New file.
37319         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37320         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37321         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37322         * string/Makefile (headers): Add bits/byteswap-16.h.
37323
37324 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37325
37326         [BZ #13895]
37327         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37328         extra indirection.
37329         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37330         * nss/tst-nss-static.c: New.
37331
37332 2012-04-06  Robert Millan  <rmh@gnu.org>
37333
37334         [BZ #6486]
37335         * manual/llio.texi (File Position Primitive): lseek
37336         refers to WHENCE when it really means OFFSET.
37337
37338 2012-04-06  Andreas Jaeger  <aj@suse.de>
37339
37340         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37341         strncmp declarations.
37342
37343         * abilist/libc.abilist: Add __poll and __ppoll.
37344
37345 2012-04-05  David S. Miller  <davem@davemloft.net>
37346
37347         * scripts/check-local-headers.sh: Accept a host triplet in the
37348         path matched by the exclude regexp.
37349
37350         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37351         definition.
37352         * sysdeps/powerpc/powerpc32/dl-machine.h
37353         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37354         * sysdeps/s390/s390-32/dl-machine.h
37355         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37356         * sysdeps/sparc/sparc32/dl-machine.h
37357         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37358         * sysdeps/sparc/sparc64/dl-machine.h
37359         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37360
37361         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37362         lazy binding.
37363         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37364         undefined symbol errors.
37365
37366         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37367         DT_NEEDED entries.
37368
37369 2012-04-05  Michael Matz  <matz@suse.de>
37370
37371         [BZ #13592]
37372         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37373
37374 2012-04-05  Andreas Jaeger  <aj@suse.de>
37375
37376         [BZ #13908]
37377         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37378         comment.
37379
37380 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37381
37382         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37383         which ROUND is no valid rounding mode.
37384
37385 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37386
37387         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37388         read again.
37389         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37390
37391 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37392
37393         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37394         an exception using FPU order intentionally.
37395
37396 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37397
37398         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37399         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37400         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37401         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37402
37403 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37404
37405         [BZ #12340]
37406         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37407         EINVAL when BUFLEN is too smal.
37408
37409 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37410
37411         [BZ #13553]
37412         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37413         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37414
37415 2012-04-03  Andreas Jaeger  <aj@suse.de>
37416
37417         [BZ #13938]
37418         * manual/setjmp.texi (System V contexts): Fix sentence.
37419
37420         [BZ #13926]
37421         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37422         New macro for this case.
37423         [!__GNUC__] (__bswap_64): New inline function for this case.
37424         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37425         * bits/byteswap.h: Likewise.
37426         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37427         ull, guard with __GLIBC_HAVE_LONG_LONG.
37428
37429         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37430         __GLIBC_HAVE_LONG_LONG.
37431
37432         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37433         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37434
37435 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37436
37437         [BZ #13691]
37438         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37439         inptr and inend, rather than using last_ch.
37440
37441 2012-04-02  David S. Miller  <davem@davemloft.net>
37442
37443         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37444         * stdio-common/printf-parse.h (read_int): Change return type to
37445         'int', return -1 on INT_MAX overflow.
37446         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37447         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37448         overflows INT_MAX.  Check for overflow of in-format-string precision
37449         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37450         SIZE_MAX not INT_MAX for integer overflow test.
37451         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37452         skip the construct in the format string but do not record anything.
37453         * stdio-common/bug22.c: Adjust to test both width/prevision
37454         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37455         explicitly for proper errno values.
37456
37457 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37458
37459         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37460         CHAR_MAX.
37461         * string/test-strcmp.c [! WIDE]: Likewise.
37462         * time/tst-mktime2.c: Likewise for INT_MAX.
37463         * string/test-string.h: #include <sys/param.h> for MIN.
37464
37465         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37466         * sysdeps/i386/init-first.c (init): Likewise.
37467         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37468         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37469         * sysdeps/sh/init-first.c (init): Likewise.
37470
37471 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37472
37473         * po/ru.po: Update from translation team.
37474         * po/vi.po: Likewise.
37475
37476 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37477
37478         * resolv/nss_dns/dns-host.c: Merge copyright years.
37479
37480 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37481
37482         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37483         Optimize memcpy with prefetch if
37484         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37485         src, dst pointers have unequal 16 byte alignments.
37486
37487 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37488
37489         [BZ #13928]
37490         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37491         from a CNAME entry and return the minimum ttl for the query.
37492         (gaih_getanswer_slice): Likewise.
37493
37494 2012-03-30  Jeff Law  <law@redhat.com>
37495
37496         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37497         due to long keys.
37498         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37499         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37500
37501         * resolv/nss_dns/dns-host.c: Update copyright year.
37502
37503 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37504
37505         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37506         requests to save a system call.  Fix check that all bytes are sent.
37507
37508         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37509         comments for sendmmsg.
37510
37511 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37512
37513         [BZ #13691]
37514         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37515         with only 1 character between 0x0041 and 0x01b0.
37516         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37517         * wcsmbs/tst-mbsnrtowcs.c: New file.
37518
37519 2012-03-29  David S. Miller  <davem@davemloft.net>
37520
37521         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37522         small copies by hand.
37523
37524 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37525
37526         [BZ #13761]
37527         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37528         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37529         group memberships.
37530
37531 2012-03-28  David S. Miller  <davem@davemloft.net>
37532
37533         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37534         that branches into memcpy.
37535         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37536         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37537         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37538         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37539         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37540         bits.
37541         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37542         implementation too.
37543         * sysdeps/sparc/mempcpy.S: New file.
37544
37545         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37546         the IFUNC routine in the libc case.
37547         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37548
37549         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37550         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37551         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37552         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37553         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37554         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37555         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37556         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37557
37558         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37559         loop to 256 bytes instead of 64 bytes and fix test signedness.
37560
37561         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37562         * sysdeps/sparc/sparc32/Makefile: rather than here...
37563         * sysdeps/sparc/sparc64/Makefile: and here.
37564
37565 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37566
37567         * malloc/mallocbug.c: Avoid warnings about unused variables.
37568
37569 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37570
37571         [BZ #13760]
37572         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37573         in the right place. Discard and retry query if response is
37574         larger than input buffer size.
37575
37576 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37577
37578         [BZ #369]
37579         [BZ #2678]
37580         [BZ #3866]
37581         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37582         x for large integer exponent.
37583         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37584         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37585         sign of result as needed afterwards.
37586         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37587         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37588         result for underflowing pow the same as for overflow.
37589         (__kernel_standard_l): Handle powl overflow and underflow here
37590         rather than calling __kernel_standard.
37591         * math/libm-test.inc (pow_test): Add more tests.
37592
37593         [BZ #3868]
37594         [BZ #13879]
37595         [BZ #13910]
37596         [BZ #13911]
37597         [BZ #13912]
37598         [BZ #13913]
37599         [BZ #13915]
37600         [BZ #13916]
37601         [BZ #13917]
37602         [BZ #13918]
37603         [BZ #13919]
37604         [BZ #13920]
37605         [BZ #13921]
37606         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37607         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37608         (__kernel_standard_l): New function.
37609         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37610         __kernel_standard.
37611         * math/w_acosl.c (__acosl): Likewise.
37612         * math/w_asinl.c (__asinl): Likewise.
37613         * math/w_atan2l.c (__atan2l): Likewise.
37614         * math/w_atanhl.c (__atanhl): Likewise.
37615         * math/w_coshl.c (__coshl): Likewise.
37616         * math/w_exp10l.c (__exp10l): Likewise.
37617         * math/w_exp2l.c (__exp2l): Likewise.
37618         * math/w_fmodl.c (__fmodl): Likewise.
37619         * math/w_hypotl.c (__hypotl): Likewise.
37620         * math/w_j0l.c (__j0l, __y0l): Likewise.
37621         * math/w_j1l.c (__j1l, __y1l): Likewise.
37622         * math/w_jnl.c (__jnl, __ynl): Likewise.
37623         * math/w_lgammal.c (__lgammal): Likewise.
37624         * math/w_log10l.c (__log10l): Likewise.
37625         * math/w_log2l.c (__log2l): Likewise.
37626         * math/w_logl.c (__logl): Likewise.
37627         * math/w_powl.c (__powl): Likewise.
37628         * math/w_remainderl.c (__remainderl): Likewise.
37629         * math/w_scalbl.c (sysv_scalbl): Likewise.
37630         * math/w_sinhl.c (__sinhl): Likewise.
37631         * math/w_sqrtl.c (__sqrtl): Likewise.
37632         * math/w_tgammal.c (__tgammal): Likewise.
37633         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37634         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37635         * math/libm-test.inc (acos_test): Add more tests.
37636         (acosh_test): Likewise.
37637         (asin_test): Likewise.
37638         (atanh_test): Likewise.
37639         (exp_test): Likewise.
37640         (exp10_test): Likewise.
37641         (exp2_test): Likewise.
37642         (expm1_test): Likewise.
37643         (lgamma_test): Likewise.
37644         (log_test): Likewise.
37645         (log10_test): Likewise.
37646         (log1p_test): Likewise.
37647         (log2_test): Likewise.
37648         (pow_test): Do not allow some spurious overflow exceptions.
37649         (sqrt_test): Add more tests.
37650         (tgamma_test): Likewise.
37651         (y0_test): Likewise.
37652         (y1_test): Likewise.
37653         (yn_test): Likewise.
37654
37655 2012-03-27  Anton Blanchard  <anton@samba.org>
37656
37657         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37658         MAP_HUGETLB.
37659         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37660         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37661         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37662
37663 2012-03-27  David S. Miller  <davem@davemloft.net>
37664
37665         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37666
37667         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37668         have-as-vis3 check.
37669
37670 2012-03-27  Andreas Jaeger  <aj@suse.de>
37671
37672         * sysdeps/x86_64/elf/configure.in: Moved to ...
37673         * sysdeps/x86_64/configure.in: ... here.
37674         * sysdeps/x86_64/elf/start.S: Moved to ...
37675         * sysdeps/x86_64/start.S: ... here.
37676         * sysdeps/x86_64/elf/configure: Delete.
37677
37678         * sysdeps/x86_64/configure.in: Merge contents from
37679         sysdeps/i386/configure.in (without i686 check).
37680
37681         * sysdeps/i386/elf/Versions: Merge into ...
37682         * sysdeps/i386/Versions: ... this.
37683         * sysdeps/i386/elf/Versions: Delete file.
37684         * sysdeps/i386/elf/start.S: Moved to ...
37685         * sysdeps/i386/start.S: ...here.
37686         * sysdeps/i386/elf/configure.in: Merge into...
37687         * sysdeps/i386/configure.in: ...here.
37688         * sysdeps/i386/elf/configure.in: Delete file.
37689         * sysdeps/i386/elf/configure: Delete file.
37690
37691         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37692         * debug/backtracesyms.c: ... here.
37693         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37694         * debug/backtracesymsfd.c: ... here.
37695         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37696         * sysdeps/generic/ifunc-sel.h: ... here.
37697
37698         * sysdeps/unix/i386/start.c: Delete file.
37699         * sysdeps/unix/sparc/start.c: Delete file.
37700         * sysdeps/unix/start.c: Delete file.
37701
37702         * sysdeps/sh/elf/configure.in: Moved to ...
37703         * sysdeps/sh/configure.in: ... here.
37704         * sysdeps/sh/elf/start.S: Moved to ...
37705         * sysdeps/sh/start.S: ... here.
37706         * sysdeps/sh/elf/configure: Delete file.
37707
37708         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37709         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37710         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37711         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37712         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37713         * sysdeps/powerpc/powerpc64/start.S: here.
37714         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37715         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37716         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37717         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37718         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37719
37720         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37721         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37722         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37723         * sysdeps/powerpc/powerpc32/start.S: ... here.
37724         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37725         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37726         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37727
37728         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37729         * sysdeps/powerpc/ifunc-sel.h: ... here.
37730         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37731         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37732
37733         * sysdeps/sparc/elf/configure.in: Moved to ...
37734         * sysdeps/sparc/configure.in: ... here.
37735         * sysdeps/sparc/elf/configure: Delete file.
37736         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37737         * sysdeps/sparc/sparc32/start.S: ... here.
37738         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37739         * sysdeps/sparc/sparc64/start.S: ... here.
37740         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37741         * sysdeps/sparc/sparc32/Makefile: ... this.
37742         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37743         * sysdeps/sparc/sparc64/Makefile: ... this.
37744
37745         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37746         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37747         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37748         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37749         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37750         * sysdeps/s390/s390-32/setjmp.S: ... here.
37751         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37752         * sysdeps/s390/s390-32/configure.in: ... here.
37753         * sysdeps/s390/s390-32/elf/configure: Delete file.
37754         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37755         * sysdeps/s390/s390-32/start.S: ... here.
37756
37757         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37758         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37759         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37760         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37761         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37762         * sysdeps/s390/s390-64/setjmp.S: ... here.
37763         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37764         * sysdeps/s390/s390-64/configure.in: ... here
37765         * sysdeps/s390/s390-64/elf/configure: Delete file.
37766         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37767         * sysdeps/s390/s390-64/start.S: ... here.
37768         * sysdeps/s390/s390-64/elf/configure: Delete.
37769
37770         * configure.in: Remove support for elf directories in sysdeps.
37771
37772         * configure: Regenerated.
37773         * sysdeps/i386/configure: Regenerated.
37774         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37775         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37776         * sysdeps/s390/s390-32/configure: Regenerated.
37777         * sysdeps/s390/s390-64/configure: Regenerated.
37778         * sysdeps/sh/configure: Regenerated.
37779         * sysdeps/sparc/configure: Regenerated.
37780         * sysdeps/x86_64/configure: Regenerated.
37781
37782 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37783
37784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37785
37786         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37787         denormal result into account.
37788
37789 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37790
37791         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37792         Reported by Allan McRae <allan@archlinux.org>.
37793
37794 2012-03-23  Jeff Law  <law@redhat.com>
37795
37796         * nss/getnssent.c (__nss_getent): Fix typo.
37797
37798 2012-03-23  David S. Miller  <davem@davemloft.net>
37799
37800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37801
37802 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37803
37804         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37805         to pad to uint64_t for each field.
37806         (dl_tls_index): Replace unsigned long with uint64_t.
37807
37808 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37809         Paul Pluzhnikov  <ppluzhnikov@google.com>
37810
37811         [BZ #6528]
37812         * grp/Makefile (otherlibs): Don't set it.
37813         * inet/Makefile (otherlibs): Likewise.
37814         * login/Makefile (otherlibs): Likewise.
37815         * nscd/Makefile (otherlibs): Likewise.
37816         * posix/Makefile (otherlibs): Likewise.
37817         * pwd/Makefile (otherlibs): Likewise.
37818         * rt/Makefile (otherlibs): Likewise.
37819         * sunrpc/Makefile (otherlibs): Likewise.
37820         * nss/Makefile (otherlibs): Likewise.
37821         Add libnss_files to routines and static-only-routines.
37822         ($(objpfx)getent): Remove rule.
37823         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37824         static-only-routines.
37825
37826 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37827
37828         [BZ #13892]
37829         * math/s_cexp.c: Include <float.h>.
37830         (__cexp): Handle exp result overflowing not necessarily
37831         overflowing both real and imaginary parts of result.
37832         * math/s_cexpf.c: Likewise.
37833         * math/s_cexpl.c: Likewise.
37834         * math/libm-test.inc (cexp_test): Add more tests.
37835         * sysdeps/i386/fpu/libm-test-ulps: Update.
37836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37837
37838 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37839
37840         * include/link.h (ELFW): New macro.
37841         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37842         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37843
37844 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37845
37846         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37847         with uint64_t.
37848
37849 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37850
37851         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37852         declaration.
37853         (struct La_x32_retval): Likewise.
37854
37855 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37856
37857         * sysdeps/x86_64/preconfigure.in: New file.
37858         * sysdeps/x86_64/preconfigure: New generated file.
37859
37860 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37861
37862         [BZ #13824]
37863         * math/e_exp2l.c: Include <float.h>.
37864         (__ieee754_exp2l): Handle overflow and underflow cases
37865         separately.  Only pass fractional part of argument to
37866         __ieee754_expl.
37867         * math/libm-test.inc (exp2_test): Add more tests.
37868
37869         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37870         negating x to take absolute value.
37871         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37872         Likewise.
37873         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37874         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37875         Likewise.
37876         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37877         computing low part if x was negated.
37878         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37879
37880 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37881
37882         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37883         la_x32_gnu_pltexit.
37884         (pltexit): Cast int_retval to ptrdiff_t.
37885         * elf/tst-auditmod3b.c: Likewise.
37886         * elf/tst-auditmod4b.c: Likewise.
37887         * elf/tst-auditmod5b.c: Likewise.
37888         * elf/tst-auditmod6b.c: Likewise.
37889         * elf/tst-auditmod6c.c: Likewise.
37890         * elf/tst-auditmod7b.c: Likewise.
37891
37892         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37893         and x32_gnu_pltexit.
37894
37895         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37896         __ELF_NATIVE_CLASS.
37897         (La_x32_regs): New macro.
37898         (La_x32_retval): Likewise.
37899         (la_x32_gnu_pltenter): New function prototype.
37900         (la_x32_gnu_pltexit): Likewise.
37901
37902 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37903
37904         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37905         exponent.
37906
37907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37908
37909         * configure.in (libc_cv_cc_nofma): Check for option to disable
37910         generation of FMA instructions.
37911         * configure: Regenerate.
37912         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37913         * sysdeps/ieee754/dbl-64/Makefile: New file.
37914         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37915         Remove brandred-fma4.
37916         (CFLAGS-brandred-fma4.c): Remove.
37917         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37918         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37919         define.
37920         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37921         define.
37922
37923 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37924
37925         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37926         LLONG_MAX != LONG_MAX.
37927         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37928         (_fitoa_word): Likewise.
37929         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37930         LLONG_MAX != LONG_MAX.
37931         * stdio-common/_itowa.h: Include <_itoa.h>.
37932         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37933         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37934         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37935         only if not defined.
37936         (_ITOA_WORD_TYPE): Likewise.
37937         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37938         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37939
37940 2012-03-21  David S. Miller  <davem@davemloft.net>
37941
37942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37943
37944 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37945
37946         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37947         of x86_64 when setting libc_cv_slibdir, libdir and
37948         libc_cv_localedir.
37949         * sysdeps/unix/sysv/linux/configure: Regenerated.
37950
37951 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37952
37953         * manual/lang.texi (Old Varargs): Remove section.
37954         (How Variadic): Update menu.
37955         (va_start): Do not mention varargs.h.
37956
37957 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37958             Joseph Myers  <joseph@codesourcery.com>
37959
37960         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37961         link test.
37962         * configure: Regenerated.
37963
37964 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37965
37966         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37967         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37968         conformtest.pl
37969
37970 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37971
37972         * NOTES: Remove.
37973         * Makefile (files-for-dist): Remove NOTES.
37974         (NOTES): Remove rule.
37975         * README: Don't refer to NOTES.
37976         * manual/creature.texi: Don't include macros.texi.
37977         * manual/intro.texi (creature.texi): Remove comment referring to
37978         NOTES.
37979
37980         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37981         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37982         * configure: Regenerated.
37983         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37984         LIBC_TRY_CC_OPTION.
37985         (libc_cv_as_i686): Likewise.
37986         (libc_cv_cc_avx): Likewise.
37987         (libc_cv_cc_sse2avx): Likewise.
37988         (libc_cv_cc_fma4): Likewise.
37989         (libc_cv_cc_novzeroupper): Likewise.
37990         * sysdeps/i386/configure: Regenerated.
37991
37992         [BZ #13883]
37993         * sysdeps/i386/fpu/s_cexp.S: Remove.
37994         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37995         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37996         * math/libm-test.inc (cexp_test): Add more tests.
37997         * sysdeps/i386/fpu/libm-test-ulps: Update.
37998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37999
38000 2012-03-21  Allan McRae  <allan@archlinux.org>
38001
38002         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38003
38004 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38005
38006         [BZ #13871]
38007         * math/w_exp2.c: Do not include <float.h>.
38008         (o_threshold, u_threshold): Remove.
38009         (__exp2): Calculate result before checking finiteness and calling
38010         __kernel_standard.
38011         * math/w_exp2f.c: Likewise.
38012         * math/w_exp2l.c: Likewise.
38013         * math/libm-test.inc (exp2_test): Require overflow exception for
38014         1e6 input.
38015
38016         [BZ #3866]
38017         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38018         range of signed 64-bit integers before using fistpll.  Remove
38019         checks for whether integers fit in mantissa bits.
38020         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38021         the range of signed 32-bit integers before using fistpl.  Remove
38022         checks for whether integers fit in mantissa bits.
38023         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38024         (__ieee754_powl): Test for y outside the range of signed 64-bit
38025         integers before using fistpll.  Reduce 64-bit values to 63-bit
38026         ones as needed.
38027         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38028         divide-by-zero is raised for zero to large negative powers.
38029         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38030         (__ieee754_powl): Test for y outside the range of signed 64-bit
38031         integers before using fistpll.  Reduce 64-bit values to 63-bit
38032         ones as needed.
38033         * math/libm-test.inc (pow_test): Add more tests.
38034
38035 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38036
38037         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38038         <stdio-common/_itoa.h>.
38039         * debug/segfault.c: Likewise.
38040         * elf/dl-cache.c: Likewise.
38041         * elf/dl-minimal.c: Likewise.
38042         * elf/dl-misc.c: Likewise.
38043         * elf/dl-sysdep.c: Likewise.
38044         * elf/dl-version.c: Likewise.
38045         * elf/rtld.c: Likewise.
38046         * hurd/hurdsock.c: Likewise.
38047         * hurd/lookup-retry.c: Likewise.
38048         * malloc/malloc.c: Likewise.
38049         * malloc/mtrace.c: Likewise.
38050         * nscd/nscd_getgr_r.c: Likewise.
38051         * nscd/nscd_getpw_r.c: Likewise.
38052         * nscd/nscd_getserv_r.c: Likewise.
38053         * posix/getopt_init.c: Likewise.
38054         * posix/wordexp.c: Likewise.
38055         * stdio-common/_itoa.c: Likewise.
38056         * stdio-common/printf_fphex.c: Likewise.
38057         * stdio-common/vfprintf.c: Likewise.
38058         * string/_strerror.c: Likewise.
38059         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38060         * sysdeps/i386/i686/hp-timing.h: Likewise.
38061         * sysdeps/mach/_strerror.c: Likewise.
38062         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38063         * sysdeps/mach/hurd/sethostid.c: Likewise.
38064         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38065         * sysdeps/mach/xpg-strerror.c: Likewise.
38066         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38067         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38068         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38069         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38070         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38071         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38072         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38073         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38074         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38075         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38076         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38077         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38078         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38079         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38080         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38081         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38082         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38083         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38084         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38085         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38086         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38087
38088         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38089
38090         * stdio-common/_itoa.h: Moved to ...
38091         * sysdeps/generic/_itoa.h: Here.
38092
38093         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38094
38095         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38096         instead of "_itoa.h" and "_itowa.h".
38097         * stdio-common/vfprintf.: Likewise.
38098
38099 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38100
38101         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38102         <bits/wordsize.h>.
38103         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38104         (__signbit): Likwise.
38105         (llrintf): Likwise.
38106         (llrint): Likwise.
38107
38108 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38109
38110         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38111         __WORDSIZE != 64.
38112
38113 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38114
38115         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38116         OVERFLOW_EXCEPTION_OK.
38117         * math/libm-test.inc ("Philosophy"): Update comment about
38118         exception testing.
38119         (OVERFLOW_EXCEPTION): Define.
38120         (OVERFLOW_EXCEPTION_OK): Likewise.
38121         (INVALID_EXCEPTION_OK): Renumber.
38122         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38123         (IGNORE_ZERO_INF_SIGN): Likewise.
38124         (test_exceptions): Handle FE_OVERFLOW.
38125         (exp10_test): Expect overflow exceptions.
38126         (exp2_test): Likewise.
38127         (expm1_test): Likewise.
38128         (nextafter_test): Likewise.
38129         (pow_test): Likewise.
38130         (scalbn_test): Likewise.
38131         (scalbln_test): Likewise.
38132
38133 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38134
38135         * sysdeps/x86_64/bits/atomic.h
38136         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38137         64bit integer.
38138         (atomic_exchange_acq): Likewise.
38139         (__arch_exchange_and_add_body): Likewise.
38140         (__arch_add_body): Likewise.
38141         (atomic_add_negative): Likewise.
38142         (atomic_add_zero): Likewise.
38143
38144 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38145
38146         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38147         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38148
38149 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38150
38151         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38152         Check __x86_64__ instead of __WORDSIZE.
38153
38154 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38155
38156         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38157
38158 2012-03-19  David S. Miller  <davem@davemloft.net>
38159
38160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38161
38162         * sysdeps/sparc/fpu/fenv_private.h: New file.
38163         * sysdeps/sparc/fpu/math_private.h: Use it.
38164         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38165         Remove.
38166         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38167         (libc_feholdexcept_setroundl): Remove.
38168         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38169         Remove.
38170         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38171         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38172
38173 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38174
38175         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38176         int64_t instead of long int.
38177         (INSERT_WORDS64): Likwise.
38178
38179 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38180
38181         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38182         _Unwind_GetCFA return to _Unwind_Ptr first.
38183
38184 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38185
38186         [BZ #13629]
38187         * math/s_clog.c: Include <float.h>.
38188         (__clog): Scale large or subnormal inputs.
38189         * math/s_clogf.c: Likewise.
38190         * math/s_clogl.c: Likewise.
38191         * math/s_clog10.c: Include <float.h>.
38192         (M_LOG10_2): Define.
38193         (__clog10): Scale large or subnormal inputs.
38194         * math/s_clog10f.c: Likewise.
38195         * math/s_clog10l.c: Likewise.
38196         * math/libm-test.inc (clog_test): Add more tests.
38197         (clog10_test): Likewise.
38198         * sysdeps/i386/fpu/libm-test-ulps: Update.
38199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38200
38201         [BZ #11451]
38202         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38203         x and y.
38204         * math/libm-test.inc (atan2_test): Add another test.
38205
38206         * Makerules (common-objdir-compile): Remove.
38207         * sysdeps/unix/Makefile (config-generated): Do not add
38208         $(unix-generated) to variable.
38209         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38210         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38211         Remove rule.
38212         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38213         Likewise.
38214         [generic bits/local_lim.h] (before-compile): Do not append to
38215         variable.
38216         [generic bits/local_lim.h] (common-generated): Likewise.
38217         [generic sys/param.h] (before-compile): Do not append to variable.
38218         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38219         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38220         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38221         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38222         include.
38223         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38224         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38225         [generic sys/param.h] ($(addprefix
38226         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38227         [generic sys/param.h] (common-generated): Do not append to
38228         variable.
38229         [generic sys/param.h] (sysdep_headers): Likewise.
38230         [generic bits/errno.h] (before-compile): Do not append to
38231         variable.
38232         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38233         rule.
38234         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38235         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38236         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38237         [generic bits/errno.h] (common-generated): Do not append to
38238         variable.
38239         [generic bits/ioctls.h] (before-compile): Do not append to
38240         variable.
38241         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38242         rule.
38243         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38244         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38245         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38246         rule.
38247         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38248         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38249         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38250         [generic bits/ioctls.h] (common-generated): Do not append to
38251         variable.
38252         [generic sys/syscall.h] (syscall.h): Remove variable.
38253         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38254         rule.
38255         [generic sys/syscall.h] (before-compile): Do not append to
38256         variable.
38257         [generic sys/syscall.h] (common-generated): Likewise.
38258         * sysdeps/unix/errnos-tmpl.c: Remove file.
38259         * sysdeps/unix/errnos.awk: Likewise.
38260         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38261         * sysdeps/unix/ioctls.awk: Likewise.
38262         * sysdeps/unix/mk-local_lim.c: Likewise.
38263         * sysdeps/unix/snarf-ioctls: Likewise.
38264
38265 2012-03-19  Richard Henderson  <rth@twiddle.net>
38266
38267         * sysdeps/i386/fpu/fenv_private.h: New file.
38268         * sysdeps/i386/fpu/math_private.h: Use it.
38269         (math_opt_barrier, math_force_eval): Remove.
38270         (libc_feholdexcept_setround_53bit): Remove.
38271         (libc_feupdateenv_53bit): Remove.
38272         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38273         (math_opt_barrier, math_force_eval): Remove.
38274         (libc_feholdexcept): Remove.
38275         (libc_feholdexcept_setround): Remove.
38276         (libc_fetestexcept, libc_fesetenv): Remove.
38277         (libc_feupdateenv_test): Remove.
38278         (libc_feupdateenv, libc_feholdsetround): Remove.
38279         (libc_feresetround): Remove.
38280
38281         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38282         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38283
38284         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38285         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38286         (libc_feupdateenv_testl): New.
38287         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38288         (libc_feupdateenv_testf): New.
38289         (libc_feupdateenv): Use libc_feupdateenv_test.
38290         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38291         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38292
38293         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38294         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38295         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38296         (libc_feresetround_noex): New.
38297         (libc_feresetround_noexf): New.
38298         (libc_feresetround_noexl): New.
38299         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38300         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38301         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38302         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38303         SET_RESTORE_ROUND.
38304         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38305         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38306         (__cos): Likewise.
38307         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38308         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38309         SET_RESTORE_ROUND_NOEX.
38310         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38311         SET_RESTORE_ROUND_NOEXF.
38312         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38313         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38314         (libc_feholdsetroundf): New.
38315         (libc_feresetround, libc_feresetroundf): New.
38316
38317         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38318         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38319         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38320
38321         * sysdeps/generic/math_private.h: Include <fenv.h>.
38322         (default_libc_feholdexcept): New.
38323         (default_libc_feholdexcept_setround): New.
38324         (default_libc_fesetenv, default_libc_feupdateenv): New.
38325         (libc_feholdexcept): Only define if undefined.
38326         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38327         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38328         (libc_feholdexcept_setroundl): Likewise.
38329         (libc_feholdexcept_setround_53bit): Likewise.
38330         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38331         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38332         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38333         (libc_feupdateenv_53bit): Likewise.
38334         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38335         (libc_feholdexcept): Convert from macro to inline function.
38336         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38337         (libc_fesetenv, libc_feupdateenv): Likewise.
38338
38339         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38340         not previously defined.
38341         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38342         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38343         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38344         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38345         * sysdeps/ieee754/flt-32/math_private.h: New file.
38346         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38347         math_private.h below SET_FLOAT_WORD.
38348         (__isnan, __isinf_ns, __finite): Remove.
38349         (__isnanf, __isinf_nsf, __finitef): Remove.
38350
38351 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38352
38353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38354
38355 2012-03-17  David S. Miller  <davem@davemloft.net>
38356
38357         [BZ #6471]
38358         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38359         for 2.16.
38360
38361 2012-03-16  David S. Miller  <davem@davemloft.net>
38362
38363         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38364         warnings.
38365
38366         [BZ #6471]
38367         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38368         properly.
38369         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38370         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38371         sysdep_routines when subdir is sysvipc.
38372         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38373         __getshmlba helper.
38374
38375         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38376
38377 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38378
38379         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38380         [__LP64__].
38381
38382 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38383
38384         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38385         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38386         (__lround): Renamed to ...
38387         (__llround): This.  Replace long int with long long int.
38388         Define lround functions as aliases of llround functions.
38389         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38390
38391 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38392
38393         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38394         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38395         adresses to uintptr_t.  Replace "long int" and "unsigned long
38396         int" with "greg_t" on va_arg.
38397
38398 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38399
38400         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38401         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38402
38403         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38404         Move e_machine check before EI_CLASS check.  Handle x32
38405         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38406         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38407         SKIP_EM_IA_64 and include
38408         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38409
38410         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38411         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38412         (add_system_dir): New macro.
38413
38414         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38415         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38416
38417 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38418
38419         [BZ #2551]
38420         [BZ #2552]
38421         [BZ #2553]
38422         [BZ #2554]
38423         [BZ #2562]
38424         [BZ #2563]
38425         [BZ #2565]
38426         [BZ #2566]
38427         [BZ #2576]
38428         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38429         (y0): Likewise.
38430         * math/w_j0f.c (j0f): Likewise.
38431         (y0f): Likewise.
38432         * math/w_j0l.c (__j0l): Likewise.
38433         (__y0l): Likewise.
38434         * math/w_j1.c (j1): Likewise.
38435         (y1): Likewise.
38436         * math/w_j1f.c (j1f): Likewise.
38437         (y1f): Likewise.
38438         * math/w_j1l.c (__j1l): Likewise.
38439         (__y1l): Likewise.
38440         * math/w_jn.c (jn): Likewise.
38441         (yn): Likewise.
38442         * math/w_jnf.c (jnf): Likewise.
38443         (ynf): Likewise.
38444         * math/w_jnl.c (__jnl): Likewise.
38445         (__ynl): Likewise.
38446         * math/libm-test.inc (j0_test): Add more tests.
38447         (j1_test): Likewise.
38448         (jn_test): Likewise.  Add trailing semicolon to existing test.
38449         (y0_test): Likewise.
38450         (y1_test): Likewise.
38451         * sysdeps/i386/fpu/libm-test-ulps: Update.
38452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38453
38454         [BZ #13851]
38455         [BZ #13854]
38456         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38457         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38458         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38459         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38460         (__tanl): Set errno for infinite argument.
38461         * sysdeps/i386/fpu/mptan.c: Remove.
38462         * sysdeps/i386/fpu/s_tan.S: Likewise.
38463         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38464         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38465         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38466         * math/libm-test.inc (tan_test): Add more tests and enable more
38467         tests for double and long double.
38468         * sysdeps/i386/fpu/libm-test-ulps: Update.
38469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38470
38471 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38472
38473         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38474         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38475
38476 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38477
38478         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38479         * configure.in: Use it for both main tree and add-ons.
38480         * configure: Regenerated.
38481
38482 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38483
38484         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38485
38486 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38487
38488         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38489         in comment.
38490
38491         [BZ #13851]
38492         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38493         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38494         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38495         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38496         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38497         infinite argument.
38498         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38500         != 0 for prec == 2.
38501         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38502         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38503         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38504         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38505         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38506         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38507         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38508         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38509         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38510         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38511         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38512         * math/libm-test.inc (cos_test): Add more tests and enable more
38513         tests for long double.
38514         (sin_test): Likewise.
38515         (sincos_test): Likewise.
38516         * sysdeps/i386/fpu/libm-test-ulps: Update.
38517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38518
38519 2012-03-16  David S. Miller  <davem@davemloft.net>
38520
38521         * sysdeps/sparc/fpu/math_private.h: New file.
38522
38523 2012-03-15  David S. Miller  <davem@davemloft.net>
38524
38525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38526         file.
38527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38529         file.
38530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38536         sysdep routines.
38537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38538
38539         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38540         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38541
38542         * sysdeps/sparc/sparc-ifunc.h: New file.
38543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38544         sparc-ifunc.h
38545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38547         Likewise.
38548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38549         Likewise.
38550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38554         Likewise.
38555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38560         Likewise.
38561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38562         Likewise.
38563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38569         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38570         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38581         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38582         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38583         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38584         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38585         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38586         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38587
38588 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38589
38590         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38591         scaling.
38592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38593
38594 2012-03-15  Andreas Jaeger  <aj@suse.de>
38595
38596         [BZ #13852]
38597         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38598         ieee754/flt-32 implementation for sin, cos and sincos.
38599         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38600         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38601         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38602         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38603         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38604         ieee754/flt-32 implementation for tan.
38605
38606         * math/libm-test.inc (cos_test): Enable some large input tests for
38607         float as well
38608         (sin_test): Likewise.
38609         (sincos_test): Likewise.
38610         (tan_test): Add tests for large input.
38611
38612         * sysdeps/i386/fpu/libm-test-ulps: Update.
38613
38614 2012-03-15  Andreas Jaeger  <aj@suse.de>
38615
38616         [BZ #13658]
38617         * math/libm-test.inc (cos_test): Add more test cases.
38618         (sin_test): Likewise.
38619         (sincos_test): Likewise.
38620
38621 2012-03-15  Andreas Jaeger  <aj@suse.de>
38622
38623         [BZ #13837]
38624         * math/libm-test.inc (cos_test): Add a test case for large input
38625         value.
38626         (sin_test): Likewise.
38627         (sincos_test): Likewise.
38628
38629 2012-03-15  Andreas Jaeger  <aj@suse.de>
38630             Joseph Myers  <joseph@codesourcery.com>
38631
38632         [BZ #13658]
38633         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38634         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38635         * sysdeps/i386/fpu/branred.c: Likewise.
38636         * sysdeps/i386/fpu/dosincos.c: Likewise.
38637         * sysdeps/i386/fpu/mpa.c: Likewise.
38638         * sysdeps/i386/fpu/s_cos.S: Likewise.
38639         * sysdeps/i386/fpu/s_sin.S: Likewise.
38640         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38641         * sysdeps/i386/fpu/sincos32.c: Likewise.
38642
38643         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38644         Define.
38645         (libc_feupdateenv_53bit): Define.
38646         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38647         Define.
38648         (libc_feupdateenv_53bit): Define.
38649
38650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38651         53 bit (without extend i386 double precision).
38652
38653         * math/libm-test.inc (sincos_test): Add tests for large input.
38654         (sin): Likewise.
38655         (cos): Likewise.
38656
38657         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38658
38659 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38660
38661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38662
38663 2012-03-15  David S. Miller  <davem@davemloft.net>
38664
38665         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38666         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38667         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38668         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38681         file.
38682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38684         file.
38685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38687         file.
38688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38690         file.
38691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38693         fmin/fmax sysdep routines.
38694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38695
38696 2012-03-14  David S. Miller  <davem@davemloft.net>
38697
38698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38702         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38703         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38704         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38705         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38707         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38710         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38711         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38712         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38713         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38714         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38715         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38716         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38717         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38718         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38719         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38720         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38721         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38722         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38723         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38724         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38725         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38726         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38727         routines.
38728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38729         file.
38730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38732         file.
38733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38735         file.
38736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38738         file.
38739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38741         file.
38742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38744         file.
38745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38746         file.
38747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38748         file.
38749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38750         file.
38751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38752         New file.
38753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38754         file.
38755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38756         file.
38757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38759         file.
38760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38762         file.
38763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38765         file.
38766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38768         VIS3 routines.
38769
38770         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38771         New file.
38772
38773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38774
38775         * sysdeps/sparc/configure.in: New file.
38776         * sysdeps/sparc/configure: Generate.
38777         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38778         * configure: Regenerate.
38779         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38780         * config.make.in (have-as-vis3): New.
38781         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38782         available use -Av9d instead of -Av9a.
38783         * sysdeps/sparc/sparc64/Makefile: Likewise.
38784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38786         New file.
38787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38788         file.
38789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38790         New file.
38791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38792         file.
38793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38794         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38795         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38796         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38797         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38798
38799         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38800         fzeros/fnegs to load 0x80000000 into a float register instead of
38801         using the stack.
38802         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38803
38804 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38805
38806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38807         bits/syscall.h.
38808         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38809         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38810         ($(inst_includedir)/bits/syscall.h): Remove rule.
38811         ($(objpfx)bits/syscall.d): Include instead of
38812         $(objpfx)syscall-list.d.
38813         (generated): Change syscall-list.h and syscall-list.d to
38814         bits/syscall.h and bits/syscall.d.
38815
38816 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38817
38818         [BZ #13846]
38819         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38820
38821 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38822
38823         [BZ #13841]
38824         * math/s_csqrt.c: Include <float.h>.
38825         (__csqrt): Scale large or subnormal inputs.
38826         * math/s_csqrtf.c: Likewise.
38827         * math/s_csqrtl.c: Likewise.
38828         * math/libm-test.inc (csqrt_test): Add more tests.
38829         * sysdeps/i386/fpu/libm-test-ulps: Update.
38830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38831
38832         [BZ #13840]
38833         * math/libm-test.inc (hypot_test): Add more tests.
38834
38835 2012-03-13  David S. Miller  <davem@davemloft.net>
38836
38837         [BZ #13840]
38838         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38839         double-precision for the calculation instead of scaling.
38840
38841 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38842
38843         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38844         manipulate bits before adding and subtracting TWO52[sx].
38845         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38846         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38847         Likewise.
38848         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38849
38850 2012-03-13  David S. Miller  <davem@davemloft.net>
38851
38852         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38853         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38854         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38855         rtld-global-offsets.h
38856         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38857
38858         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38859         large parameters.
38860
38861         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38862
38863         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38864         'err' in the ifdef scope in which it is actually used.
38865
38866         * nss/nss_db/db-init.c: Include string.h
38867
38868 2012-03-12  David S. Miller  <davem@davemloft.net>
38869
38870         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38871         masking out of the most significant byte of random value used.
38872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38873         Fix coding style in previous change.
38874
38875         * sysdeps/unix/sysv/linux/kernel-features.h
38876         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38877         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38878         expression.
38879         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38880         later.
38881
38882 2012-03-11  David S. Miller  <davem@davemloft.net>
38883
38884         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38885         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38886         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38887         for 'resultvar' otherwise things get truncated on 64-bit.
38888
38889         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38890         Fix masking out of the most significant byte of random value used.
38891
38892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38893
38894 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38895
38896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38897
38898 2012-03-09  David S. Miller  <davem@davemloft.net>
38899
38900         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38901         variables with appropriate CPP guards.
38902         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38903         from the frame pointer, not the stack pointer.  Correct layout
38904         comments.  Fix test on resulting framesize and the management of
38905         the outregs buffer for pltexit.  Preserve floating point return
38906         values across _dl_call_pltexit call.
38907         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38908         framesize and the management of the outregs buffer for pltexit.
38909         Preserve floating point return values across _dl_call_pltexit
38910         call.
38911         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38912         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38913         (la_sparc64_gnu_pltexit): New functions.
38914         (print_exit): Fix format string for return register value.
38915
38916 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38917
38918         * sunrpc/Makefile (others): Add rpcgen.
38919         ($(objpfx)rpcgen): Remove special build rule and dependency on
38920         libc.
38921         * sunrpc/rpcgen.c: New file.
38922
38923 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38924
38925         [BZ #13673]
38926         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38927         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38928         * sysdeps/i386/crti.S: Likewise.
38929         * sysdeps/i386/crtn.S: Likewise.
38930         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38931         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38932         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38933         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38934         * sysdeps/sh/crti.S: Likewise.
38935         * sysdeps/sh/crtn.S: Likewise.
38936         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38937
38938         [BZ #13673]
38939         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38940         with URL.
38941         * locale/programs/locfile-kw.gperf: Likewise.
38942         * locale/programs/charmap-kw.h: Regenerated.
38943         * locale/programs/locfile-kw.h: Likewise.
38944
38945         [BZ #13673]
38946         * intl/plural.y: Replace FSF snail mail address with URL.
38947         * intl/plural.c: Regenerated.
38948
38949 2012-03-09  Richard Henderson  <rth@twiddle.net>
38950
38951         * include/math_private.h: Remove file.
38952         * math/math_private.h: Move file ...
38953         * sysdeps/generic/math_private.h: ... here.
38954
38955         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38956         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38957         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38958
38959         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38960         and <math_private.h>.
38961         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38962         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38963         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38964         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38965         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38966         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38967         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38968         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38969         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38970         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38971         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38972         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38973         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38974         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38975         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38976         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38977         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38978         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38979         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38980         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38981         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38982         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38983         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38984         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38985         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38986         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38987         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38988         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38989         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38990         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38991         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38992         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38993         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38994         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38995         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38996         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38997         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38998         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38999         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39000         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39001         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39002         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39003         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39004         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39005         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39006         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39007         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39008         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39009         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39010         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39011         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39012         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39013         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39014         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39015         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39016         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39017         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39018         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39019         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39020         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39021         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39022         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39023         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39024         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39025         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39026         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39027         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39028         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39029         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39030         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39031         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39032         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39033         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39034         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39035         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39036         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39037         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39039         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39040         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39041         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39042         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39043         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39044         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39045         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39046         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39047         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39048         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39049         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39050         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39051         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39052         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39053         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39054         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39055         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39056         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39057         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39058         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39059         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39060         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39061         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39062         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39063         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39064         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39065         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39066         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39067         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39068         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39069         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39070         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39071         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39072         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39073         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39074         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39075         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39076         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39077         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39078         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39079         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39080         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39081         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39082         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39083         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39084         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39085         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39086         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39087         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39088         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39089         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39090         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39091         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39092         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39093         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39094         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39095         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39096         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39097         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39098         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39099         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39100         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39101         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39102         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39103         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39104         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39105         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39106         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39107         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39108         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39109         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39110         * sysdeps/ieee754/k_standard.c: Likewise.
39111         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39112         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39113         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39114         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39115         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39116         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39117         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39118         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39119         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39120         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39121         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39122         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39123         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39124         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39125         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39126         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39127         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39128         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39129         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39130         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39131         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39132         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39133         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39134         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39135         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39136         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39137         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39138         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39139         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39140         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39141         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39142         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39143         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39144         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39145         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39146         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39147         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39148         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39149         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39150         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39151         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39152         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39153         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39154         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39155         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39156         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39157         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39158         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39159         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39160         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39161         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39162         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39163         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39164         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39165         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39166         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39167         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39168         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39169         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39170         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39171         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39172         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39173         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39174         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39175         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39176         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39177         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39178         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39179         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39180         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39181         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39183         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39184         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39185         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39186         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39187         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39188         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39189         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39190         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39191         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39192         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39193         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39194         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39195         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39196         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39197         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39198         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39199         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39200         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39201         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39202         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39203         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39204         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39205         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39206         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39207         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39208         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39209         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39210         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39211         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39212         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39213         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39214         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39215         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39216         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39217         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39218         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39219         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39220         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39221         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39222         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39223         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39224         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39225         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39226         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39227         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39228         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39229         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39230         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39231         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39232         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39233         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39234         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39235         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39236         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39237         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39238         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39239         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39240         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39241         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39242         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39243         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39244         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39245         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39246         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39247         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39248         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39249         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39250         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39251         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39252         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39253         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39254         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39255         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39256         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39257         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39258         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39259         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39260         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39261         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39262         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39263         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39264         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39265         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39266         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39267         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39268         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39269         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39270         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39271         * sysdeps/ieee754/s_lib_version.c: Likewise.
39272         * sysdeps/ieee754/s_matherr.c: Likewise.
39273         * sysdeps/ieee754/s_signgam.c: Likewise.
39274         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39275         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39276         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39277         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39278         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39279         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39280         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39281         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39282         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39283         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39284         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39285         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39286         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39287         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39288         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39289         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39290         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39291         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39292         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39293         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39294         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39295
39296 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39297
39298         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39299         * sunrpc/rpc_main.c: Likewise.
39300         * sunrpc/rpc_svcout.c: Likewise.
39301
39302 2012-03-09  David S. Miller  <davem@davemloft.net>
39303
39304         * include/math_private.h: New file.
39305
39306 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39307
39308         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39309         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39310         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39311         from <bits/socket_type.h>.
39312         (enum __socket_type): Don't define here.
39313         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39315         bits/socket_type.h.
39316
39317         [BZ #13566]
39318         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39319         checking __USE_GNU.
39320
39321         * Makerules ($(inst_includedir)/%.h): New rule.
39322         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39323         (install-others): Remove variable setting.
39324         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39325
39326 2012-03-08  Richard Henderson  <rth@twiddle.net>
39327
39328         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39329         from macro to inline function; merge with the
39330         !__LIBC_INTERNAL_MATH_INLINES version.
39331         (__ieee754_sqrtf): Likewise.
39332
39333         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39334         to inline function.
39335         (__rintf, __floor, __floorf): Likewise.
39336
39337         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39338         macro to inline function.
39339         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39340
39341         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39342         not <math/math_private.h>.
39343
39344 2012-03-08  David S. Miller  <davem@davemloft.net>
39345
39346         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39347         copyright year.
39348         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39349
39350 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39351
39352         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39353         normalization.
39354         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39355         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39356
39357 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39358
39359         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39360         be defined individually, they must be defined as a block.  Define
39361         S for printing a string instead of hidint the different by using a
39362         macro for adding the 'l'.
39363         * stdio-common/tst-fphex-wide.c: Adjust.
39364
39365 2012-03-07  Marek Polacek  <polacek@redhat.com>
39366
39367         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39368
39369 2012-03-08  Marek Polacek  <polacek@redhat.com>
39370
39371         [BZ #13806]
39372         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39373         * stdio-common/tst-fphex.c: Define a few macros to make the
39374         test reusable.  Use them.
39375         * stdio-common/tst-fphex-wide.c: New file.
39376
39377 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39378
39379         [BZ #6911]
39380         * manual/macros.texi (gnusystems): New macro.
39381         (nongnusystems): Likewise.
39382         (gnulinuxhurdsystems): Likewise.
39383         (gnuhurdsystems): Likewise..
39384         (gnulinuxsystems): Likewise.
39385         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39386         variants of the GNU system, not "GNU system".
39387         * manual/conf.texi: Likewise.
39388         * manual/errno.texi: Likewise.  Update example of errno macro
39389         expansion.
39390         * manual/filesys.texi: Likewise.
39391         (getumask): Document as specific to GNU/Hurd.
39392         * manual/install.texi: Likewise.  Reword some references to
39393         GNU/Linux.
39394         * manual/intro.texi: Likewise.
39395         * manual/io.texi: Likewise.
39396         (File Name Portability): Detail which constraints are inapplicable
39397         to all GNU systems and which are only inapplicable to GNU/Hurd.
39398         * manual/job.texi: Likewise.
39399         * manual/llio.texi: Likewise.
39400         (O_NOCTTY): Document as present on GNU/Linux.
39401         * manual/maint.texi: Likewise.
39402         * manual/memory.texi: Likewise.
39403         * manual/pattern.texi: Likewise.
39404         * manual/pipe.texi: Likewise.
39405         * manual/process.texi: Likewise.
39406         * manual/resource.texi: Likewise.
39407         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39408         child on GNU/Hurd.
39409         * manual/setjmp.texi: Likewise.
39410         * manual/signal.texi: Likewise.
39411         * manual/startup.texi: Likewise.
39412         * manual/stdio.texi: Likewise.
39413         * manual/terminal.texi: Likewise.
39414         (ONLCR): Document as POSIX.
39415         (OXTABS): Document availability on GNU/Linux as XTABS.
39416         (ONOEOT): Document availability separately from other bits.
39417         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39418         * manual/time.texi: Likewise.
39419         * manual/users.texi: Likewise.
39420         * INSTALL: Regenerated.
39421         * sysdeps/gnu/errlist.c: Regenerated.
39422
39423         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39424         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39425         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39426         puts.
39427         * configure: Regenerated.
39428
39429 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39430
39431         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39432         default includes instead of AC_HEADER_CHECK.
39433         * sysdeps/i386/configure: Regenerated.
39434
39435         [BZ #10716]
39436         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39437         * math/s_cacoshf.c (__cacoshf): Likewise.
39438         * math/s_cacoshl.c (__cacoshl): Likewise.
39439         * math/s_casinh.c (__casinh): Set signs of result from argument.
39440         * math/s_casinhf.c (__casinhf): Likewise.
39441         * math/s_casinhl.c (__casinhl): Likewise.
39442         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39443         (casinh_test): Add more tests.
39444         * sysdeps/i386/fpu/libm-test-ulps: Update.
39445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39446
39447 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39448
39449         * po/zh_TW.po: Update from translation team.
39450
39451         * login/Makefile (distribute): Remove variable.
39452         * catgets/Makefile: Likewise.
39453         * mach/Makefile: Likewise.
39454         * malloc/Makefile: Likewise.
39455         * misc/Makefile: Likewise.
39456         * iconv/Makefile: Likewise.
39457         * nscd/Makefile: Likewise.
39458         * hurd/Makefile: Likewise.
39459         * manual/Makefile: Likewise.
39460         * locale/Makefile: Likewise.
39461         * intl/Makefile: Likewise.
39462         * conform/Makefile: Likewise.
39463         * nss/Makefile: Likewise.
39464         * time/Makefile: Likewise.
39465         * soft-fp/Makefile: Likewise.
39466         * dirent/Makefile: Likewise.
39467         * gmon/Makefile: Likewise.
39468         * po/Makefile: Likewise.
39469         * rt/Makefile: Likewise.
39470         * socket/Makefile: Likewise.
39471         * math/Makefile: Likewise.
39472         * signal/Makefile: Likewise.
39473         * debug/Makefile: Likewise.
39474         * elf/Makefile: Likewise.
39475         * timezone/Makefile: Likewise.
39476         * stdlib/Makefile: Likewise.
39477         * iconvdata/Makefile: Likewise.
39478         * sunrpc/Makefile: Likewise.
39479         * io/Makefile: Likewise.
39480         * argp/Makefile: Likewise.
39481         * inet/Makefile: Likewise.
39482         * hesiod/Makefile: Likewise.
39483         * grp/Makefile: Likewise.
39484         * csu/Makefile: Likewise.
39485         * wctype/Makefile: Likewise.
39486         * crypt/Makefile: Likewise.
39487         * libio/Makefile: Likewise.
39488         * string/Makefile: Likewise.
39489         * nis/Makefile: Likewise.
39490         * resolv/Makefile: Likewise.
39491         * stdio-common/Makefile: Likewise.
39492         * wcsmbs/Makefile: Likewise.
39493         * dlfcn/Makefile: Likewise.
39494         * posix/Makefile: Likewise.
39495
39496         [BZ #6959]
39497         * timezone/Makefile: Don't install timezone files, just the programs
39498         and scripts.
39499
39500 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39501
39502         * nss/databases.def: Add missing gshadow entry.
39503
39504         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39505
39506 2012-03-06  Marek Polacek  <polacek@redhat.com>
39507
39508         [BZ #13726]
39509         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39510         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39511         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39512         * stdio-common/tst-long-dbl-fphex.c: New file.
39513
39514 2012-03-06  David S. Miller  <davem@davemloft.net>
39515
39516         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39517         (set_obp_int): New function.
39518         (get_obp_int): New function.
39519         (__get_clockfreq_via_dev_openprom): Likewise.
39520         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39521         Avoid unused variable warnings on 'val' and use builtin_expect.
39522         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39523         __builtin_expect.
39524         (INLINE_CLONE_SYSCALL): Likewise.
39525
39526 2012-03-05  David S. Miller  <davem@davemloft.net>
39527
39528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39529
39530 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39531
39532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39533
39534         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39535         only for |x| >= 40.
39536         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39537
39538 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39539
39540         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39541         Replace gettimeofday with __vdso_gettimeofday.
39542
39543         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39544         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39545         __vdso_clock_gettime and __vdso_getcpu.
39546
39547         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39548         time with __vdso_time.
39549
39550 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39551
39552         * manual/lang.texi (size_t): Note types to which size_t may be
39553         equivalent with the GNU C Library, but do not describe when
39554         differences between them are significant.
39555
39556 2012-03-05  Andreas Jaeger  <aj@suse.de>
39557
39558         * sysdeps/i386/fpu/libm-test-ulps: Update.
39559
39560 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39561
39562         [BZ #3976]
39563         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39564         (__ieee754_pow): Save and restore rounding mode and use
39565         round-to-nearest for main computations.
39566         * math/libm-test.inc (pow_test_tonearest): New function.
39567         (pow_test_towardzero): Likewise.
39568         (pow_test_downward): Likewise.
39569         (pow_test_upward): Likewise.
39570         (main): Call the new functions.
39571         * sysdeps/i386/fpu/libm-test-ulps: Update.
39572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39573
39574         [BZ #3976]
39575         * math/libm-test.inc (cosh_test_tonearest): New function.
39576         (cosh_test_towardzero): Likewise.
39577         (cosh_test_downward): Likewise.
39578         (cosh_test_upward): Likewise.
39579         (sinh_test_tonearest): Likewise.
39580         (sinh_test_towardzero): Likewise.
39581         (sinh_test_downward): Likewise.
39582         (sinh_test_upward): Likewise.
39583         (main): Call the new functions.
39584         * sysdeps/i386/fpu/libm-test-ulps: Update.
39585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39586
39587 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39588
39589         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39590         default stack guard is set in last bytes.
39591         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39592
39593 2012-03-05  Kees Cook  <keescook@chromium.org>
39594
39595         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39596
39597         [BZ #13656]
39598         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39599         possibly allocate from heap instead of stack.
39600         * stdio-common/bug-vfprintf-nargs.c: New file.
39601         * stdio-common/Makefile (tests): Add nargs overflow test.
39602
39603 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39604
39605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39606
39607 2012-03-03  Marek Polacek  <polacek@redhat.com>
39608
39609         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39610         * math/math_private.h: Likewise.
39611         * stdlib/tst-strtod.c: Likewise.
39612         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39613         * sysdeps/x86_64/bits/atomic.h: Likewise.
39614
39615 2012-03-02  David S. Miller  <davem@davemloft.net>
39616
39617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39621         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39622         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39623         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39624         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39625
39626 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39627
39628         [BZ #13792]
39629         * manual/examples/README: New file, says the example source files
39630         can be used under GPL>=2.
39631         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39632         line containing just "*/".
39633         * manual/examples/add.c: Add copyright header (GPL>=2).
39634         * manual/examples/argp-ex1.c: Likewise.
39635         * manual/examples/argp-ex2.c: Likewise.
39636         * manual/examples/argp-ex3.c: Likewise.
39637         * manual/examples/argp-ex4.c: Likewise.
39638         * manual/examples/atexit.c: Likewise.
39639         * manual/examples/db.c: Likewise.
39640         * manual/examples/dir.c: Likewise.
39641         * manual/examples/dir2.c: Likewise.
39642         * manual/examples/execinfo.c: Likewise.
39643         * manual/examples/filecli.c: Likewise.
39644         * manual/examples/filesrv.c: Likewise.
39645         * manual/examples/fmtmsgexpl.c: Likewise.
39646         * manual/examples/genpass.c: Likewise.
39647         * manual/examples/inetcli.c: Likewise.
39648         * manual/examples/inetsrv.c: Likewise.
39649         * manual/examples/isockad.c: Likewise.
39650         * manual/examples/longopt.c: Likewise.
39651         * manual/examples/memopen.c: Likewise.
39652         * manual/examples/memstrm.c: Likewise.
39653         * manual/examples/mkfsock.c: Likewise.
39654         * manual/examples/mkisock.c: Likewise.
39655         * manual/examples/mygetpass.c: Likewise.
39656         * manual/examples/pipe.c: Likewise.
39657         * manual/examples/popen.c: Likewise.
39658         * manual/examples/rprintf.c: Likewise.
39659         * manual/examples/search.c: Likewise.
39660         * manual/examples/select.c: Likewise.
39661         * manual/examples/setjmp.c: Likewise.
39662         * manual/examples/sigh1.c: Likewise.
39663         * manual/examples/sigusr.c: Likewise.
39664         * manual/examples/stpcpy.c: Likewise.
39665         * manual/examples/strdupa.c: Likewise.
39666         * manual/examples/strftim.c: Likewise.
39667         * manual/examples/strncat.c: Likewise.
39668         * manual/examples/subopt.c: Likewise.
39669         * manual/examples/swapcontext.c: Likewise.
39670         * manual/examples/termios.c: Likewise.
39671         * manual/examples/testopt.c: Likewise.
39672         * manual/examples/testpass.c: Likewise.
39673         * manual/examples/timeval_subtract.c: Likewise.
39674
39675         [BZ #13792]
39676         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39677         function to ...
39678         * manual/timeval_subtract.c.texi: ... here, new file.
39679
39680 2012-03-02  David S. Miller  <davem@davemloft.net>
39681
39682         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39683
39684 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39685
39686         [BZ #3976]
39687         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39688         (__sin): Save and restore rounding mode and use round-to-nearest
39689         for all computations.
39690         (__cos): Save and restore rounding mode and use round-to-nearest
39691         for all computations.
39692         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39693         <fenv.h>.
39694         (tan): Save and restore rounding mode and use round-to-nearest for
39695         all computations.
39696         * math/libm-test.inc (cos_test_tonearest): New function.
39697         (cos_test_towardzero): Likewise.
39698         (cos_test_downward): Likewise.
39699         (cos_test_upward): Likewise.
39700         (sin_test_tonearest): Likewise.
39701         (sin_test_towardzero): Likewise.
39702         (sin_test_downward): Likewise.
39703         (sin_test_upward): Likewise.
39704         (tan_test_tonearest): Likewise.
39705         (tan_test_towardzero): Likewise.
39706         (tan_test_downward): Likewise.
39707         (tan_test_upward): Likewise.
39708         (main): Call the new functions.
39709         * sysdeps/i386/fpu/libm-test-ulps: Update.
39710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39711
39712         [BZ #10135]
39713         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39714         small n, then large n, before computing and testing k+n.
39715         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39716         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39717         Likewise.
39718         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39719         Likewise.
39720         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39721         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39722         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39723         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39724         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39725         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39726         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39727         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39728         * math/libm-test.inc (scalbn_test): Add more tests.
39729         (scalbln_test): Likewise.
39730
39731         * manual/filesys.texi (mode_t): Describe constraints on size and
39732         signedness, not exact equivalence to a particular type.
39733         (ino_t): Likewise.
39734         (ino64_t): Likewise.
39735         (dev_t): Likewise.
39736         (nlink_t): Likewise.
39737         (blkcnt_t): Likewise.
39738         (blkcnt64_t): Likewise.
39739         * manual/llio.texi (off_t): Likewise.
39740
39741         [BZ #3976]
39742         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39743         (__ieee754_exp): Save and restore rounding mode and use
39744         round-to-nearest for all computations.
39745         * math/libm-test.inc (exp_test_tonearest): New function.
39746         (exp_test_towardzero): Likewise.
39747         (exp_test_downward): Likewise.
39748         (exp_test_upward): Likewise.
39749         (main): Call the new functions.
39750         * sysdeps/i386/fpu/libm-test-ulps: Update.
39751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39752
39753 2012-03-01  Chris Demetriou  <cgd@google.com>
39754
39755         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39756         have predictable order.
39757
39758 2012-03-01  David S. Miller  <davem@davemloft.net>
39759
39760         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39761
39762         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39763         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39764         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39765         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39766
39767         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39768         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39769         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39771         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39772         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39773         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39774         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39775         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39776
39777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39778
39779         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39780         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39781         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39782
39783         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39784         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39785         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39786         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39787         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39788         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39789         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39790         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39791         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39792         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39793         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39794         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39795         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39796         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39797         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39799         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39800         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39801         * sysdeps/sparc/elf/configure: Regenerated.
39802
39803 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39804
39805         * configure.in (AS, LD): Require binutils 2.20 or later.
39806         * configure: Regenerated.
39807         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39808         as required minimum version.
39809         * INSTALL: Regenerated.
39810
39811         [BZ #2541]
39812         [BZ #4108]
39813         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39814         before squaring exponent.
39815         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39816         bottom long double and 27 bits of top long double before squaring
39817         exponent.
39818         * math/libm-test.inc (erfc_test): Add more tests.
39819         * sysdeps/i386/fpu/libm-test-ulps: Update.
39820         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39822
39823 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39824
39825         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39826         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39827         containing bit-fields.
39828         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39829         * soft-fp/single.h (_FP_UNION_S): Likewise.
39830         * soft-fp/double.h (_FP_UNION_D): Likewise.
39831
39832 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39833
39834         [BZ #13786]
39835         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39836         not include ../strcmp.S.
39837         [USE_AS_STRNCASECMP_L]: Likewise.
39838         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39839         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39840         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39841         (__strncasecmp_l_ia32): Define as alias to
39842         __strncasecmp_l_nonascii.
39843
39844         [BZ #5794]
39845         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39846         * sysdeps/i386/fpu/libm-test-ulps: Update.
39847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39848
39849         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39851
39852 2012-02-29  Jeff Law  <law@redhat.com>
39853
39854         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39855         out of bounds read.
39856
39857 2012-02-29  Marek Polacek  <polacek@redhat.com>
39858
39859         [BZ #13706]
39860         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39861         * elf/Makefile: Add rules to run tst-unused-dep.out.
39862
39863 2012-02-28  David S. Miller  <davem@davemloft.net>
39864
39865         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39866         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39867         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39868         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39869         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39870         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39871
39872 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39873
39874         * math/libm-test.inc (llround_test): Move one test from
39875         lround_test.  Use TEST_f_L in moved test.
39876         (lround_test): Move misplaced test to llround_test.  Add testcase
39877         from bug 2561.
39878
39879 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39880
39881         * sysdeps/x86_64/fpu/e_expf.S: New file.
39882         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39883
39884 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39885
39886         [BZ #13637]
39887         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39888         of remain_len that may cause incomplete multi-byte character and
39889         false match.
39890         * posix/bug-regex33.c: New file.
39891         * posix/Makefile (tests): Add bug-regex33.
39892
39893 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39894
39895         * manual/macros.texi: New file.
39896         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39897         * manual/libc.texinfo: Include macros.texi.
39898         * manual/creatute.texi: Likewise.
39899         * manual/install.texi: Likewise.
39900         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39901         @glibcadj{} in references to the GNU C Library.
39902         * manual/charset.texi: Likewise.
39903         * manual/conf.texi: Likewise.
39904         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39905         when not using those macros.
39906         * manual/creature.texi: Likewise.
39907         * manual/crypt.texi: Likewise.
39908         * manual/errno.texi: Likewise.
39909         * manual/filesys.texi: Likewise.
39910         * manual/header.texi: Likewise.
39911         * manual/install.texi: Likewise.
39912         * manual/intro.texi: Likewise.
39913         * manual/io.texi: Likewise.
39914         * manual/job.texi: Likewise.
39915         * manual/lang.texi: Likewise.
39916         * manual/libc.texiinfo: Likewise.
39917         * manual/llio.texi: Likewise.
39918         * manual/locale.texi: Likewise.
39919         * manual/maint.texi: Likewise.
39920         * manual/math.texi: Likewise.
39921         * manual/memory.texi: Likewise.
39922         * manual/message.texi: Likewise.
39923         * manual/nss.texi: Likewise.
39924         * manual/pattern.texi: Likewise.
39925         * manual/process.texi: Likewise.
39926         * manual/resource.texi: Likewise.
39927         * manual/search.texi: Likewise.
39928         * manual/setjmp.texi: Likewise.
39929         * manual/signal.texi: Likewise.
39930         * manual/socket.texi: Likewise.
39931         * manual/startup.texi: Likewise.
39932         * manual/stdio.texi: Likewise.
39933         * manual/string.texi: Likewise.
39934         * manual/sysinfo.texi: Likewise.
39935         * manual/syslog.texi: Likewise.
39936         * manual/terminal.texi: Likewise.
39937         * manual/time.texi: Likewise.
39938         * manual/users.texi: Likewise.
39939         * INSTALL: Regenerated.
39940         * NOTES: Regenerated.
39941         * sysdeps/gnu/errlist.c: Regenerated.
39942
39943 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39944
39945         * include/dirent.h: Include <dirstream.h> before
39946         <dirent/dirent.h>.
39947
39948 2012-02-28  David S. Miller  <davem@davemloft.net>
39949
39950         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39951         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39952         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39953         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39954
39955 2012-02-27  David S. Miller  <davem@davemloft.net>
39956
39957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39959         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39960         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39961
39962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39963         frame pointer instead of stack pointer relative arg slot.
39964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39965         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39966         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39967
39968 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39969
39970         [BZ #3992]
39971         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39972
39973 2012-02-27  David S. Miller  <davem@davemloft.net>
39974
39975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39979         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39980         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39981         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39982         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39983
39984 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39985
39986         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39987         later.  Allow versions 5-9.
39988         * configure: Regenerated.
39989         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39990         required minimum version and 4.6 as recommended version.  Do not
39991         mention bugs in GCC 2.7 and 2.8.
39992         * INSTALL: Regenerated.
39993
39994 2012-02-27  David S. Miller  <davem@davemloft.net>
39995
39996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40000         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40001         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40002         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40003         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40004
40005         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40006         manipulate bits before adding and subtracting TWO112[sx].
40007         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40008
40009 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40010
40011         [BZ #13775]
40012         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40013         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40014         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40015         being in POSIX, because they are in 1003.1-2008.
40016
40017         * rt/tst-aio.c: Include <fcntl.h>.
40018         * rt/tst-aio7.c: Likewise.
40019         * rt/tst-aio64.c: Likewise.
40020
40021         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40022
40023 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40024
40025         * manual/install.texi (--with-headers): Describe headers as
40026         interface headers, not private headers.
40027         (Specific advice for GNU/Linux systems): Describe use of headers
40028         from "make headers_install", not private headers from older
40029         kernels.
40030         * INSTALL: Regenerated.
40031         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40032         Change to 2.6.19.
40033         * sysdeps/unix/sysv/linux/configure: Regenerated.
40034
40035         * manual/llio.texi (fclean): Remove documentation.
40036
40037         * manual/Makefile (libc-texi-generated): New variable.  Include
40038         version.texi.
40039         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40040         $(libc-texi-generated), not duplicated list of files.
40041         (version.texi, stamp-version): New rules.
40042         (realclean): Remove $(libc-texi-generated), not individual files
40043         from that list.  Do not remove dir-add.texinfo.
40044         * manual/libc.texinfo: Comment out uses of edition numbers and
40045         references to printed manual.  Remove last-updated dates.
40046         (EDITION): Comment out.
40047         (ISBN): Likewise.
40048         (VERSION, UPDATED): Remove.
40049         (version.texi): Include.
40050
40051 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40052
40053         * sysdeps/posix/spawni.c: Include <signal.h>.
40054         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40055         * sysdeps/pthread/aio_fsync.c: Likewise.
40056
40057 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40058
40059         * conform/Makefile (tests): Run only when not cross-compiling and
40060         when fast-check is not defined.
40061
40062         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40063         * conform/data/limits.h-data: Fixes for POSIX2008.
40064         * conform/run-conformtest.sh: Run all tests.
40065         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40066         headers.
40067         * include/bits/dlfcn.h: Likewise.
40068         * include/langinfo.h: Likewise.
40069         * include/monetary.h: Likewise.
40070         * include/sys/poll.h: Likewise.
40071
40072         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40073         for __USE_GNU.
40074         * posix/spawn.h: Define __need_sigset_t.
40075         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40076         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40077         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40078         to get sigevent_t only.
40079         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40080         only for __USE_GNU.
40081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40082         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40083         process_vm_writev only for __USE_GNU.
40084         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40085
40086         * conform/Makefile: For now ignore errors from run-conformtest.
40087         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40088         POSIX to avoid namespace pollution.  Don't prepend headers.
40089         * conform/data/aio.h-data: Fixes for POSIX testing.
40090         * conform/data/fcntl.h-data: Likewise.
40091         * conform/data/glob.h-data: Likewise.
40092         * conform/data/grp.h-data: Likewise.
40093         * conform/data/pthread.h-data: Likewise.
40094         * conform/data/pwd.h-data: Likewise.
40095         * conform/data/signal.h-data: Likewise.
40096         * conform/data/spawn.h-data: Likewise.
40097         * conform/data/stdio.h-data: Likewise.
40098         * conform/data/stdlib.h-data: Likewise.
40099         * conform/data/stropts.h-data: Likewise.
40100         * conform/data/sys/mman.h-data: Likewise.
40101         * conform/data/sys/stat.h-data: Likewise.
40102         * conform/data/sys/types.h-data: Likewise.
40103         * conform/data/sys/wait.h-data: Likewise.
40104         * conform/data/time.h-data: Likewise.
40105         * conform/data/unistd.h-data: Likewise.
40106         * conform/data/utime.h-data: Likewise.
40107
40108         * io/sys/stat.h: fchmod was always in POSIX.
40109         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40110         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40111         * rt/aio.h: Define __need_timespec before including <time.h>.
40112         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40113         struct.  Add forward declaration of pthread_attr_t and use it in
40114         sigevent.
40115         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40116         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40117         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40118         always remove CLK_TCK definition.
40119
40120 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40121
40122         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40123
40124 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40125
40126         * conform/run-conformtest.sh: New file.
40127         * conform/Makefile: Run run-conformtest for tests.
40128         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40129         support.
40130
40131         * conform/data/uchar.h-data: New file.
40132         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40133         * conform/data/arpa/inet.h-data: Likewise.
40134         * conform/data/assert.h-data: Likewise.
40135         * conform/data/complex.h-data: Likewise.
40136         * conform/data/cpio.h-data: Likewise.
40137         * conform/data/ctype.h-data: Likewise.
40138         * conform/data/dirent.h-data: Likewise.
40139         * conform/data/dlfcn.h-data: Likewise.
40140         * conform/data/errno.h-data: Likewise.
40141         * conform/data/fcntl.h-data: Likewise.
40142         * conform/data/float.h-data: Likewise.
40143         * conform/data/fmtmsg.h-data: Likewise.
40144         * conform/data/fnmatch.h-data: Likewise.
40145         * conform/data/ftw.h-data: Likewise.
40146         * conform/data/glob.h-data: Likewise.
40147         * conform/data/grp.h-data: Likewise.
40148         * conform/data/iconv.h-data: Likewise.
40149         * conform/data/inttypes.h-data: Likewise.
40150         * conform/data/langinfo.h-data: Likewise.
40151         * conform/data/libgen.h-data: Likewise.
40152         * conform/data/limits.h-data: Likewise.
40153         * conform/data/locale.h-data: Likewise.
40154         * conform/data/math.h-data: Likewise.
40155         * conform/data/monetary.h-data: Likewise.
40156         * conform/data/mqueue.h-data: Likewise.
40157         * conform/data/ndbm.h-data: Likewise.
40158         * conform/data/net/if.h-data: Likewise.
40159         * conform/data/netdb.h-data: Likewise.
40160         * conform/data/netinet/in.h-data: Likewise.
40161         * conform/data/nl_types.h-data: Likewise.
40162         * conform/data/poll.h-data: Likewise.
40163         * conform/data/pthread.h-data: Likewise.
40164         * conform/data/pwd.h-data: Likewise.
40165         * conform/data/regex.h-data: Likewise.
40166         * conform/data/sched.h-data: Likewise.
40167         * conform/data/search.h-data: Likewise.
40168         * conform/data/semaphore.h-data: Likewise.
40169         * conform/data/setjmp.h-data: Likewise.
40170         * conform/data/signal.h-data: Likewise.
40171         * conform/data/spawn.h-data: Likewise.
40172         * conform/data/stdarg.h-data: Likewise.
40173         * conform/data/stdio.h-data: Likewise.
40174         * conform/data/stdlib.h-data: Likewise.
40175         * conform/data/string.h-data: Likewise.
40176         * conform/data/strings.h-data: Likewise.
40177         * conform/data/stropts.h-data: Likewise.
40178         * conform/data/sys/ipc.h-data: Likewise.
40179         * conform/data/sys/mman.h-data: Likewise.
40180         * conform/data/sys/msg.h-data: Likewise.
40181         * conform/data/sys/resource.h-data: Likewise.
40182         * conform/data/sys/select.h-data: Likewise.
40183         * conform/data/sys/sem.h-data: Likewise.
40184         * conform/data/sys/shm.h-data: Likewise.
40185         * conform/data/sys/socket.h-data: Likewise.
40186         * conform/data/sys/stat.h-data: Likewise.
40187         * conform/data/sys/statvfs.h-data: Likewise.
40188         * conform/data/sys/time.h-data: Likewise.
40189         * conform/data/sys/timeb.h-data: Likewise.
40190         * conform/data/sys/times.h-data: Likewise.
40191         * conform/data/sys/types.h-data: Likewise.
40192         * conform/data/sys/uio.h-data: Likewise.
40193         * conform/data/sys/un.h-data: Likewise.
40194         * conform/data/sys/utsname.h-data: Likewise.
40195         * conform/data/sys/wait.h-data: Likewise.
40196         * conform/data/syslog.h-data: Likewise.
40197         * conform/data/tar.h-data: Likewise.
40198         * conform/data/termios.h-data: Likewise.
40199         * conform/data/utime.h-data: Likewise.
40200         * conform/data/utmpx.h-data: Likewise.
40201         * conform/data/varargs.h-data: Likewise.
40202         * conform/data/wchar.h-data: Likewise.
40203         * conform/data/wctype.h-data: Likewise.
40204         * conform/data/wordexp.h-data: Likewise.
40205
40206         * include/stropts.h: New file.
40207         * include/uchar.h: New file.
40208         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40209         * include/assert.h: Likewise.
40210         * include/ctype.h: Likewise.
40211         * include/dirent.h: Likewise.
40212         * include/dlfcn.h: Likewise.
40213         * include/fcntl.h: Likewise.
40214         * include/fnmatch.h: Likewise.
40215         * include/glob.h: Likewise.
40216         * include/grp.h: Likewise.
40217         * include/libio.h: Likewise.
40218         * include/locale.h: Likewise.
40219         * include/math.h: Likewise.
40220         * include/net/if.h: Likewise.
40221         * include/netdb.h: Likewise.
40222         * include/netinet/in.h: Likewise.
40223         * include/pthread.h: Likewise.
40224         * include/pwd.h: Likewise.
40225         * include/regex.h: Likewise.
40226         * include/sched.h: Likewise.
40227         * include/search.h: Likewise.
40228         * include/setjmp.h: Likewise.
40229         * include/signal.h: Likewise.
40230         * include/stdio.h: Likewise.
40231         * include/stdlib.h: Likewise.
40232         * include/string.h: Likewise.
40233         * include/sys/cdefs.h: Likewise.
40234         * include/sys/mman.h: Likewise.
40235         * include/sys/msg.h: Likewise.
40236         * include/sys/resource.h: Likewise.
40237         * include/sys/select.h: Likewise.
40238         * include/sys/socket.h: Likewise.
40239         * include/sys/stat.h: Likewise.
40240         * include/sys/statvfs.h: Likewise.
40241         * include/sys/time.h: Likewise.
40242         * include/sys/times.h: Likewise.
40243         * include/sys/uio.h: Likewise.
40244         * include/sys/utsname.h: Likewise.
40245         * include/sys/wait.h: Likewise.
40246         * include/termios.h: Likewise.
40247         * include/time.h: Likewise.
40248         * include/ulimit.h: Likewise.
40249         * include/unistd.h: Likewise.
40250         * include/utime.h: Likewise.
40251         * include/wchar.h: Likewise.
40252         * include/wctype.h: Likewise.
40253         * include/wordexp.h: Likewise.
40254
40255         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40256
40257         * time/time.h: TIME_UTC must be a macro.
40258         Make timespec_get available for ISO C11 only as well.
40259
40260 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40261
40262         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40263         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40264
40265 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40266
40267         * configure.in: Use -o not -a in test for unsupported multi-arch.
40268
40269 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40270
40271         * manual/texinfo.tex: Update to version 2012-01-19.16.
40272
40273 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40274
40275         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40276
40277 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40278
40279         [BZ #13738]
40280         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40281         * manual/fdl-1.3.texi: New file.
40282         * manual/fdl-1.1.texi: File removed.
40283
40284         [BZ #13738]
40285         * manual/libc.texinfo (FDL_VERSION): New @set.
40286         Use it for mention of FDL in cover text.
40287         (Documentation License): Use it in @include file name.
40288
40289 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40290             Roland McGrath  <roland@hack.frob.com>
40291
40292         [BZ #5461]
40293         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40294         (not LONG_LONG_MAX and LONG_LONG_MIN.
40295         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40296         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40297         name.
40298         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40299
40300 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40301
40302         [BZ #2547]
40303         [BZ #11365]
40304         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40305         manipulate bits before adding and subtracting TWO23[sx].
40306         * math/libm-test.inc (nearbyint_test): Add more tests.
40307
40308 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40309
40310         [BZ #2548]
40311         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40312         bits before adding and subtracting TWO23[sx].
40313         * math/libm-test.inc (rint_test): Add more tests.
40314         (rint_test_tonearest): Likewise.
40315         (rint_test_towardzero): Likewise.
40316         (rint_test_downward): Likewise.
40317         (rint_test_upward: Likewise.
40318
40319 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40320
40321         [BZ #10110]
40322         * include/stdc-predef.h: New file.  Extracted from features.h.
40323         * include/features.h: Include stdc-predef.h.
40324         * Makefile (headers): Add stdc-predef.h.
40325         * CONFORMANCE (Compiler limitations): Update.
40326
40327 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40328
40329         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40330
40331 2012-02-21  David S. Miller  <davem@davemloft.net>
40332
40333         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40334         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40335
40336 2012-02-20  David S. Miller  <davem@davemloft.net>
40337
40338         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40339         using a normal save/restore sequence, rather than allocating a
40340         dummy stack frame just to store a frame pointer and restore.
40341         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40342
40343 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40344
40345         * manual/install.texi: Fix stray word in line-wrapped comment.
40346
40347 2012-02-20  David S. Miller  <davem@davemloft.net>
40348
40349         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40350         both binutils and gcc support GOTDATA.
40351
40352         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40353         "rd %pc" in the PIC register setup sequences.
40354
40355         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40356         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40357         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40358         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40359         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40360         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40361         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40362         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40364         (SYSCALL_ERROR_HANDLER): Likewise.
40365         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40366         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40367         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40368         (SYSCALL_ERROR_HANDLER): Likewise.
40369
40370         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40371         (HAVE_GCC_GOTDATA): New.
40372         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40373         relocation support in both binutils and gcc.
40374         * sysdeps/sparc/elf/configure: Regenerate.
40375
40376         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40377         * sysdeps/sparc/sparc32/elf/configure: Delete.
40378         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40379         * sysdeps/sparc/sparc64/elf/configure: Delete.
40380         * sysdeps/sparc/elf/configure.in: New file.
40381         * sysdeps/sparc/elf/configure: Generate.
40382
40383         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40384         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40385         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40386         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40387         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40388
40389 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40390
40391         * manual/install.texi: Do not mention specific glibc version
40392         numbers.
40393         * manual/libc.texinfo (VERSION, UPDATED): Update.
40394         (@copying): Use @copyright{} and range of years.
40395
40396 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40397
40398         [BZ #13695]
40399         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40400         [crti.S not in sysdirs] (generated): Do not append.
40401         [crti.S not in sysdirs] (omit-deps): Likewise.
40402         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40403         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40404         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40405         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40406         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40407         Likewise.
40408         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40409         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40410         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40411         * csu/defs.awk: Remove file.
40412         * sysdeps/generic/initfini.c: Likewise.
40413         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40414         variable.
40415         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40416         Likewise.
40417
40418 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40419
40420         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40421         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40422         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40423         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40424         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40425         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40426         <bits/epoll.h>.
40427         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40428         (__EPOLL_PACKED): Define to empty if not defined by
40429         <bits/epoll.h>.
40430         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40432         bits/epoll.h.
40433
40434 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40435
40436         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40437         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40438         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40439         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40440         <bits/timerfd.h>.
40441         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40442         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40443         bits/timerfd.h.
40444
40445 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40446
40447         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40448         in C locale.
40449         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40450         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40451         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40453
40454 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40455
40456         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40457         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40458
40459 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40460
40461         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40462         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40463         defined.
40464         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40465         Likewise.
40466         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40467         entry for 2.16.
40468
40469 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40470
40471         * math/w_acos.c: Use non-signaling floating-point comparisons.
40472         * math/w_acosf.c: Likewise.
40473         * math/w_acosh.c: Likewise.
40474         * math/w_acoshf.c: Likewise.
40475         * math/w_acoshl.c: Likewise.
40476         * math/w_acosl.c: Likewise.
40477         * math/w_asin.c: Likewise.
40478         * math/w_asinf.c: Likewise.
40479         * math/w_asinl.c: Likewise.
40480         * math/w_atanh.c: Likewise.
40481         * math/w_atanhf.c: Likewise.
40482         * math/w_atanhl.c: Likewise.
40483         * math/w_exp2.c: Likewise.
40484         * math/w_exp2f.c: Likewise.
40485         * math/w_exp2l.c: Likewise.
40486         * math/w_j0.c: Likewise.
40487         * math/w_j0f.c: Likewise.
40488         * math/w_j0l.c: Likewise.
40489         * math/w_j1.c: Likewise.
40490         * math/w_j1f.c: Likewise.
40491         * math/w_j1l.c: Likewise.
40492         * math/w_jn.c: Likewise.
40493         * math/w_jnf.c: Likewise.
40494         * math/w_log.c: Likewise.
40495         * math/w_log10.c: Likewise.
40496         * math/w_log10f.c: Likewise.
40497         * math/w_log10l.c: Likewise.
40498         * math/w_log2.c: Likewise.
40499         * math/w_log2f.c: Likewise.
40500         * math/w_log2l.c: Likewise.
40501         * math/w_logf.c: Likewise.
40502         * math/w_logl.c: Likewise.
40503         * math/w_sqrt.c: Likewise.
40504         * math/w_sqrtf.c: Likewise.
40505         * math/w_sqrtl.c: Likewise.
40506         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40507         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40508         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40509         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40510         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40511
40512 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40513
40514         [BZ #9739]
40515         * manual/string.texi (strnlen): Use correct parameter name in
40516         equivalent expression.
40517
40518 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40519
40520         [BZ #11174]
40521         * manual/users.texi (seteuid): Consistently use neweuid for
40522         argument name.
40523
40524 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40525
40526         [BZ #13704]
40527         * manual/nss.texi (Services in the NSS configuration): Correct
40528         list of services in example configuration file.
40529
40530 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40531
40532         [BZ #11322]
40533         * manual/arith.texi: Remove statements about negative zero
40534         behaving identically to zero.
40535
40536 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40537
40538         [BZ #5993]
40539         * manual/install.texi: Do not document upgrading from libc5.
40540
40541 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40542
40543         [BZ #4596]
40544         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40545
40546 2012-02-18  David S. Miller  <davem@davemloft.net>
40547
40548         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40549         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40550         %o7 across the call.
40551         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40552         instead.
40553         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40554         SETUP_PIC_REG_LEAF.
40555         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40556         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40557         * sysdeps/sparc/crtn.S: Likewise.
40558
40559 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40560
40561         * aout/Makefile: Remove.
40562
40563 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40564
40565         [BZ #13058]
40566         * manual/examples/argp-ex1.c (main): Format definition in GNU
40567         style.
40568         * manual/examples/argp-ex2.c (main): Likewise.
40569         * manual/examples/argp-ex3.c (main): Likewise.
40570         * manual/examples/argp-ex4.c (main): Likewise.
40571         * manual/examples/longopt.c (main): Use new-style prototype
40572         definition.
40573         * manual/examples/strncat.c (main): Specify return type and use
40574         (void) for arguments.
40575         * manual/examples/subopt.c (main): Use char **argv argument.
40576
40577 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40578
40579         [BZ #5077]
40580         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40581         rounding modes.
40582
40583 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40584
40585         [BZ #6907]
40586         * manual/string.texi (strchr): Change when strchrnul is
40587         recommended.
40588
40589 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40590
40591         [BZ #174]
40592         * manual/locale.texi (setlocale): Document LOCPATH.
40593
40594 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40595
40596         [BZ #10210]
40597         * manual/process.texi (execle): Move @dots{} before last argument.
40598
40599 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40600
40601         [BZ #12047]
40602         * manual/charset.texi (Generic Charset Conversion): Fix typo
40603         (LC_TYPE -> LC_CTYPE).
40604
40605 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40606
40607         [BZ #5805]
40608         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40609         (scalbnf): Likewise.
40610         (scalbnl): Likewise.
40611         (scalbln): Likewise.
40612         (scalblnf): Likewise.
40613         (scalblnl): Likewise.
40614         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40615         (vwarnx): Likewise.
40616         (verr): Likewise.
40617         (verrx): Likewise.
40618         * manual/filesys.texi (telldir): Use braces around return type.
40619         * manual/llio.texi (mmap): Add space after comma.
40620         (mmap64): Likewise.
40621         * manual/math.texi (jn): Use @var{} on parameter names.
40622         (jnf): Likewise.
40623         (jnl): Likewise.
40624         (yn): Likewise.
40625         (ynf): Likewise.
40626         (ynl): Likewise.
40627         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40628         line.
40629         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40630         "...".
40631         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40632         (sched_get_priority_max): Likewise.
40633         * manual/signal.texi (sigvec): Add space after comma.
40634         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40635         names.
40636         (if_indextoname): Likewise.
40637         (if_freenameindex): Likewise.
40638         (sendto): Use ',' instead of '.' in prototype.
40639         * manual/startup.texi (syscall): Use @dots{} instead of literal
40640         "...".
40641         * manual/stdio.texi (__fpending): Separate initial words of
40642         paragraph from @deftypefun line.
40643         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40644         "...".
40645         (vsyslog): Use @var{} on parameter names.
40646         * manual/terminal.texi (stty): Use @var{} on parameter names.
40647         * manual/users.texi (getutmp): Use @var{} on parameter names.
40648         (getutmpx): Likewise.
40649
40650 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40651
40652         [BZ #6884]
40653         * manual/stdio.texi (fopen): Fix typos in description of
40654         ",ccs=STRING".
40655
40656 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40657
40658         [BZ #4026]
40659         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40660         get clock_id definition.
40661
40662 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40663
40664         [BZ #4822]
40665         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40666         (madvise): Cast every argument to void on its own.
40667
40668 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40669
40670         [BZ #9902]
40671         * manual/startup.texi (Exit Status): Fix typo.
40672
40673 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40674
40675         [BZ #10140]
40676         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40677         * manual/examples/argp-ex2.c: Likewise.
40678         * manual/examples/argp-ex3.c: Likewise.
40679
40680 2012-02-16  Richard Henderson  <rth@redhat.com>
40681
40682         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40683         * sysdeps/s390/s390-32/initfini.c: Remove.
40684         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40685         * sysdeps/s390/s390-64/initfini.c: Remove.
40686
40687 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40688
40689         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40690         compiler output for sysdeps/generic/initfini.c.
40691         * sysdeps/sh/elf/initfini.c: Remove file.
40692
40693 2012-02-16  David S. Miller  <davem@davemloft.net>
40694
40695         [BZ #11494]
40696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40697
40698         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40699         * sysdeps/sparc/crti.S: New file.
40700         * sysdeps/sparc/crtn.S: New file.
40701         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40702         * sysdeps/sparc/sparc64/Makefile: Likewise.
40703
40704 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40705
40706         [BZ #3335]
40707         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40708
40709 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40710
40711         [BZ #4822]
40712         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40713
40714         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40715         (write, read, close): Likewise.
40716         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40717
40718 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40719
40720         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40721         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40722         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40723         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40724         <bits/signalfd.h>.
40725         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40727         bits/signalfd.h.
40728
40729 2012-02-14  Marek Polacek  <polacek@redhat.com>
40730
40731         * sysdeps/x86_64/crti.S: New file.
40732         * sysdeps/x86_64/crtn.S: New file.
40733         * sysdeps/x86_64/elf/initfini.c: Remove file.
40734
40735 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40736
40737         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40738         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40739         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40740         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40741         <bits/inotify.h>.
40742         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40743         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40744         bits/inotify.h.
40745
40746 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40747
40748         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40749         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40750         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40751         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40752         <bits/eventfd.h>.
40753         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40755         bits/eventfd.h.
40756
40757 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40758
40759         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40760         __feraiseexcept instead of feraiseexcept.
40761
40762         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40763         nanosleep invocations.
40764         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40765         strings, and add error checking for a nanosleep invocations.
40766
40767 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40768
40769         Replace FSF snail mail address with URLs, as per GNU coding standards.
40770         Most of the snail mail addresses were wrong anyway, and omitting
40771         them makes the source code easier to maintain.  Almost all of the
40772         changes are to license notices and to locale LC_IDENTIFICATION
40773         addresses, except for this one:
40774         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40775         not its snail mail address.
40776
40777 2012-02-09  Richard Henderson  <rth@twiddle.net>
40778
40779         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40780         of kernel-features.h.
40781
40782         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40783
40784 2012-02-08  Marek Polacek  <polacek@redhat.com>
40785
40786         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40787         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40788         * sysdeps/gnu/_G_config.h: Likewise.
40789         * sysdeps/generic/_G_config.h: Likewise.
40790
40791 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40792
40793         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40794         tests.
40795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40796
40797         * sysdeps/powerpc/powerpc32/crti.S: New file.
40798         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40799         * sysdeps/powerpc/powerpc64/crti.S: New file.
40800         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40801
40802         * Makeconfig (have-initfini): Don't set.
40803         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40804         * configure.in (nopic_initfini): Don't substitute.
40805         * config.h.in (HAVE_INITFINI): Don't #undef.
40806         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40807         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40808
40809 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40810
40811         Support crti.S and crtn.S provided directly by architectures.
40812         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40813         [crti.S in sysdirs] (omit-deps): Likewise.
40814         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40815         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40816         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40817         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40818         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40819         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40820         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40821         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40822         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40823         compiler output for sysdeps/generic/initfini.c.
40824         * sysdeps/i386/elf/Makefile: Remove file.
40825         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40826
40827 2012-02-07  Marek Polacek  <polacek@redhat.com>
40828
40829         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40830         * sysdeps/gnu/_G_config.h: Likewise.
40831         * sysdeps/mach/hurd/_G_config.h: Likewise.
40832
40833 2012-02-07  Marek Polacek  <polacek@redhat.com>
40834
40835         * math/Makefile (tests): Add tst-CMPLX2.
40836         * math/tst-CMPLX2.c: New file.
40837
40838 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40839
40840         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40841
40842         * math/libm-test.inc (jn_test): Add missing L suffix.
40843
40844 2012-02-06  Marek Polacek  <polacek@redhat.com>
40845
40846         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40847         * sysdeps/i386/fpu/e_powf.S: Likewise.
40848         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40849         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40850         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40851         * sysdeps/i386/fpu/e_pow.S: Likewise.
40852         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40853         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40854         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40855         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40856         * sysdeps/i386/fpu/e_log2.S: Likewise.
40857         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40858         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40859         * sysdeps/i386/fpu/e_powl.S: Likewise.
40860         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40861         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40862         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40863         * sysdeps/i386/fpu/e_logl.S: Likewise.
40864         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40865         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40866         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40867         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40868         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40869         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40870         * sysdeps/i386/fpu/e_log.S: Likewise.
40871         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40872         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40873         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40874         * sysdeps/i386/fpu/e_logf.S: Likewise.
40875         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40876         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40877         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40878         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40879         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40880         * sysdeps/i386/fpu/e_log10.S: Likewise.
40881         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40882         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40883         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40884         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40885         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40886         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40887         * sysdeps/i386/asm-syntax.h: Likewise.
40888         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40889         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40890         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40891         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40892         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40893         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40894         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40895         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40896         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40897         * sysdeps/powerpc/sysdep.h: Likewise.
40898         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40899         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40900
40901 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40902
40903         [BZ #411]
40904         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40905
40906 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40907
40908         * sysdeps/i386/sysdep.h: Include <features.h>.
40909         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40910         version.
40911
40912 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40913
40914         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40915         Define.
40916         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40917         LOAD_PIC_REG_STR.
40918
40919 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40920
40921         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40922         (SETUP_PIC_REG): Use GET_PC_THUNK.
40923         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40924         macro.
40925
40926 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40927
40928         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40929         for non-PIC compilation.
40930         (SETUP_PIC_REG): Add .p2align directive.
40931         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40932         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40933         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40934         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40935         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40936         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40937         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40938         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40939         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40940         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40941         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40942         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40943         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40944         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40945         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40946         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40947         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40948         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40949         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40950         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40951         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40952         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40953         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40954         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40955         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40956         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40957         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40958         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40959         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40960         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40961         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40962         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40963         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40964         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40965         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40966         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40967         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40968         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40969         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40970         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40971         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40972
40973 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40974
40975         * math/tst-CMPLX.c: Include <stdio.h>.
40976
40977 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40978
40979         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40980         float.
40981         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40982         * sysdeps/sparc/bits/mathdef.h: Likewise.
40983
40984 2012-01-31  Marek Polacek  <polacek@redhat.com>
40985
40986         * libio/libio.h: Don't define _PARAMS.
40987         * locale/programs/config.h: Don't define PARAMS.
40988         * stdlib/strtol_l.c: Likewise.
40989         (__strtol_l): Remove PARAMS from the prototype.
40990
40991 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40992
40993         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40994         names.  Just use the correct names.  Remove unnecessary wrapper
40995         functions.
40996         * malloc/arena.c: Likewise.
40997         * malloc/hooks.c: Likewise.
40998
40999         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41000         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41001         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41002
41003 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41004
41005         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41006         into tail calls.
41007         (update_get_addr): New function.
41008         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41009         GET_ADDR_MODULE parameter.
41010
41011 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41012
41013         * crypt/cert.c: Remove __STDC__ conditionals.
41014         * crypt/crypt-entry.c: Likewise.
41015         * crypt/crypt_util.c: Likewise.
41016         * libio/filedoalloc.c: Likewise.
41017         * libio/fileops.c: Likewise.
41018         * libio/genops.c: Likewise.
41019         * libio/iofclose.c: Likewise.
41020         * libio/iofdopen.c: Likewise.
41021         * libio/iofopen.c: Likewise.
41022         * libio/iofopen64.c: Likewise.
41023         * libio/iogetdelim.c: Likewise.
41024         * libio/iopopen.c: Likewise.
41025         * libio/obprintf.c: Likewise.
41026         * libio/oldfileops.c: Likewise.
41027         * libio/oldiofclose.c: Likewise.
41028         * libio/oldiofdopen.c: Likewise.
41029         * libio/oldiofopen.c: Likewise.
41030         * libio/oldiopopen.c: Likewise.
41031         * libio/wfiledoalloc.c: Likewise.
41032         * libio/wgenops.c: Likewise.
41033         * locale/programs/xmalloc.c: Likewise.
41034         * misc/syslog.c: Likewise.
41035         * stdio-common/xbug.c: Likewise.
41036         * string/memchr.c: Likewise.
41037         * string/memcmp.c: Likewise.
41038         * string/memrchr.c: Likewise.
41039         * string/rawmemchr.c: Likewise.
41040         * sysdeps/posix/getcwd.c: Likewise.
41041         * time/strftime_l.c: Likewise.
41042
41043 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41044
41045         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41046         * config.make.in (config-cflags-sse2avx): Define.
41047         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41048         Fix typo.
41049
41050 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41051
41052         * scripts/config.guess: Update from upstream config git repository.
41053         * scripts/config.sub: Likewise.
41054
41055 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41056
41057         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41058         (EM_NUM): Update.
41059         (R_TILEPRO_*, R_TILEGX_*): New macros.
41060
41061         * scripts/firstversions.awk: Fix bug in version range handling.
41062
41063         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41064
41065         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41066
41067         * include/sys/epoll.h: New file.
41068         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41069         libc_hidden_def.
41070
41071 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41072
41073         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41074         Avoid unnecessary __WORDSIZE == 64 test.
41075         (fmaxf): Use VEX format if possible.
41076         (fmax): Likewise.
41077         (fminf): Likewise.
41078         (fmin): Likewise.
41079
41080         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41081         * math/math_private.h: Remove libc_fegetround* and
41082         libc_fesetround*.
41083         * sysdeps/i386/configure.in: Check for -msse2avx.
41084         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41085         also if SSE2AVX is defined.
41086         Remove libc_fegetround* and libc_fesetround*.
41087         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41088         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41089         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41090         of HAS_YMM_USABLE.
41091         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41092         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41093         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41094         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41095         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41096
41097         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41098
41099 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41100
41101         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41102         size is not set.
41103         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41104
41105 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41106
41107         [BZ #13618]
41108         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41109         relocation.
41110         * Makeconfig (libm): Define.
41111         * elf/Makefile: Add rules to build and run tst-relsort1.
41112         * elf/tst-relsort1.c: New file.
41113         * elf/tst-relsort1mod1.c: New file.
41114         * elf/tst-relsort1mod2.c: New file.
41115
41116 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41117
41118         * math/s_ldexp.c: Remove __STDC__ conditionals.
41119         * math/s_ldexpf.c: Likewise.
41120         * math/s_ldexpl.c: Likewise.
41121         * math/s_nextafter.c: Likewise.
41122         * math/s_nexttowardf.c: Likewise.
41123         * math/s_significand.c: Likewise.
41124         * math/s_significandf.c: Likewise.
41125         * math/s_significandl.c: Likewise.
41126         * math/w_jnl.c: Likewise.
41127         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41128         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41129         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41130         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41131         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41132         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41133         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41134         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41135         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41136         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41137         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41138         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41139         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41140         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41141         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41142         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41143         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41144         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41145         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41146         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41147         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41148         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41149         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41150         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41151         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41152         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41153         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41154         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41155         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41156         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41157         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41158         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41159         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41160         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41161         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41162         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41163         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41164         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41165         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41166         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41167         * sysdeps/ieee754/k_standard.c: Likewise.
41168         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41169         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41170         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41171         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41172         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41173         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41174         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41175         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41176         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41177         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41178         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41179         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41180         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41181         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41182         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41183         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41184         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41185         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41186         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41187         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41188         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41189         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41190         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41191         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41192         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41193         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41194         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41195         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41196         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41197         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41198         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41199         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41200         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41201         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41202         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41203         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41204         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41205         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41206         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41207         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41208         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41213         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41214         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41219         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41220         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41222         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41228         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41229         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41230         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41231         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41232         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41233         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41234         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41235         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41236         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41238         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41239         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41241         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41242         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41243         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41244         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41245         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41246         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41247         * sysdeps/ieee754/s_matherr.c: Likewise.
41248         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41249         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41250         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41251         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41252
41253 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41254
41255         * crypt/md5.h: Remove __STDC__ conditionals.
41256         * libio/libioP.h: Likewise.
41257         * locale/programs/config.h: Likewise.
41258         * sysdeps/generic/sysdep.h: Likewise.
41259         * sysdeps/i386/asm-syntax.h: Likewise.
41260         * sysdeps/s390/asm-syntax.h: Likewise.
41261         * sysdeps/unix/sysdep.h: Likewise.
41262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41264
41265 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41266
41267         * libio/libio.h: Remove __STDC__ conditionals.
41268         * malloc/obstack.h: Likewise.
41269         * math/complex.h: Likewise.
41270         * math/math.h: Likewise.
41271         * sysdeps/generic/_G_config.h: Likewise.
41272         * sysdeps/gnu/_G_config.h: Likewise.
41273         * sysdeps/mach/hurd/_G_config.h: Likewise.
41274         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41275         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41276         * sysdeps/sparc/bits/mathdef.h: Likewise.
41277
41278 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41279
41280         [BZ #13583]
41281         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41282         Clean up HAS_* macros.
41283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41284         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41285         possible.
41286         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41287         HAS_AVX.
41288         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41289         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41290         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41291         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41292         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41293
41294 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41295
41296         * elf/tst-unique3.cc (gets): Remove declaration.
41297         * elf/tst-unique3lib.cc (gets): Likewise.
41298         * elf/tst-unique3lib2.cc (gets): Likewise.
41299         * elf/tst-unique4.cc (gets): Likewise.
41300
41301 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41302
41303         * include/stdio.h: Add C++ protection.  Add gets declarations and
41304         definitions.
41305         * debug/tst-chk1.c: Don't declare gets here.
41306         * stdio-common/tst-gets.c: Likewise.
41307
41308 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41309
41310         * posix/glob: Remove directory.
41311
41312 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41313
41314         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41315
41316 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41317
41318         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41319         of the non-standard EPFNOSUPPORT.
41320
41321 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41322
41323         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41324         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41325         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41326
41327 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41328
41329         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41330
41331 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41332
41333         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41334         transient errors.
41335         * nscd/grpcache.c (cache_addgr): Likewise.
41336         * nscd/hstcache.c (cache_addhst): Likewise.
41337         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41338         * nscd/pwdcache.c (cache_addpw): Likewise.
41339         * nscd/servicescache.c (cache_addserv): Likewise.
41340
41341 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41342
41343         * malloc/malloc.c: Various cleanups.
41344         * malloc/hooks.c: Likewise.
41345
41346         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41347         * stdlib/bug-fmtmsg1.c: New file.
41348
41349         * stdlib/fmtmsg.c (init): Add missing unlock.
41350         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41351
41352 2012-01-12  Marek Polacek  <polacek@redhat.com>
41353
41354         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41355         and _GNU_SOURCE.
41356
41357 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41358
41359         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41360         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41361         macro to ensure uniqueness of label name.
41362         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41363         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41364
41365 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41366
41367         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41368
41369         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41370         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41371         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41372         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41373
41374 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41375
41376         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41377
41378         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41379         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41380         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41381
41382         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41383
41384         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41385         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41386         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41387         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41388
41389         * math/bits/math-finite.h: Add ldexp support.
41390
41391 2012-01-10  Marek Polacek  <polacek@redhat.com>
41392
41393         * locale/programs/localedef.h (show_archive_content): Add noreturn
41394         attribute.
41395
41396 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41397
41398         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41399
41400 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41401
41402         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41403
41404         * io/Makefile (headers): Add bits/poll2.h.
41405
41406 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41407
41408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41409         typo #include statement.
41410
41411 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41412
41413         * include/sys/cdefs.h: Define __attribute_alloc_size.
41414         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41415         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41416         * elf/pldd.c: Likewise.
41417         * iconv/iconv_charmap.c: Likewise.
41418         * iconv/iconvconfig.c: Likewise.
41419         * iconv/strtab.c: Likewise.
41420         * locale/programs/locale.c: Likewise.
41421         * locale/programs/localedef.h: Likewise.
41422         * locale/programs/simple-hash.c: Likewise.
41423         * nscd/nscd.h: Likewise.
41424         * nss/makedb.c: Likewise.
41425         * sysdeps/generic/ldconfig.h: Likewise.
41426         * locale/programs/localedef.c: Remove xmalloc prototype.
41427         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41428
41429 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41430
41431         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41432         appropriate.
41433
41434 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41435
41436         * math/Makefile (tests): Add tst-CMPLX.
41437         * math/tst-CMPLX.c: New file.
41438
41439         * math/complex.h (CMPLXL): Fix typo.
41440
41441         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41442         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41443         GLIBC_2.16.
41444         * debug/tst-chk1.c: Add poll and ppoll tests.
41445         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41446         * include/sys/poll.h: Add hidden proto for ppoll.
41447         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41448         * sysdeps/mach/hurd/ppoll.c: Likewise.
41449         * io/ppoll.c: Likewise.
41450         * debug/poll_chk.c: New file.
41451         * debug/ppoll_chk.c: New file.
41452         * include/bits/poll2.h: New file.
41453         * io/bits/poll2.h: New file.
41454
41455         [BZ #1350]
41456         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41457
41458         * configure.in: static is always set to yes.  Remove.
41459         * config.make.in: Don't set build-static.
41460         * Makeconfig: Remove use of build-static.
41461         * dlfcn/Makefile: Likewise.
41462         * elf/Makefile: Likewise.
41463         * math/Makefile: Likewise.
41464         * misc/Makefile: Likewise.
41465         * nptl/Makefile: Likewise.
41466         * sysdeps/mach/hurd/Makefile: Likewise.
41467
41468         * configure.in: PWD_P is not used anymore.
41469         * config.make.in: Remove PWD_P entry.
41470
41471         * configure.in: Remove last remnants of RANLIB.
41472         No need to check for signed size_t anymore.
41473         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41474         and IA-64.
41475         Remove __builtin_expect test because we require at least gcc 3.4.
41476         * aclocal.m4: Likewise.
41477
41478         * wcsmbs/mbrtoc16.c: Implement using towc function.
41479         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41480         * wcsmbs/wcsmbsload.c: Likewise.
41481         * iconv/gconv_simple.c: Likewise.
41482         * iconv/gconv_int.h: Likewise.
41483         * iconv/gconv_builtin.h: Likewise.
41484         * iconv/iconv_prog.c: Remove CHAR16 handling.
41485
41486         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41487
41488         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41489
41490         * configure.in: Remove --with-elf and --enable-bounded options.
41491         Dont set base_machine for ia64.  More non-ELF conditions removed.
41492         Remove testing and setting of leading underscore information.
41493         * config.make.in (build-bounded): Set to no.
41494         * config.h.in: Remove NO_UNDERSCORES entry.
41495         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41496         them.
41497         * csu/start.c: Remove !NO_UNDERSCORE code.
41498         * locale/localeinfo.h: Likewise.
41499         * sysdeps/generic/machine-gmon.h: Likewise.
41500         * sysdeps/generic/sysdep.h: Likewise.
41501         * sysdeps/i386/sysdep.h: Likewise.
41502         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41503         * sysdeps/mach/sysdep.h: Likewise.
41504         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41505         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41506         * sysdeps/sh/sysdep.h: Likewise.
41507         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41508         * sysdeps/unix/i386/sysdep.S: Likewise.
41509         * sysdeps/unix/sparc/start.c: Likewise.
41510         * sysdeps/unix/sparc/sysdep.S: Likewise.
41511         * sysdeps/unix/sparc/sysdep.h: Likewise.
41512         * sysdeps/unix/start.c: Likewise.
41513         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41514         * sysdeps/x86_64/sysdep.h: Likewise.
41515
41516 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41517
41518         [BZ #13553]
41519         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41520         for non-gcc.
41521         * argp/argp-fmtstream.h: Use const instead __const.
41522         * argp/argp.h: Likewise.
41523         * assert/assert.h: Likewise.
41524         * bits/fenv.h: Likewise.
41525         * bits/sched.h: Likewise.
41526         * bits/sigset.h: Likewise.
41527         * bits/sigthread.h: Likewise.
41528         * catgets/nl_types.h: Likewise.
41529         * conform/data/pthread.h-data: Likewise.
41530         * crypt/crypt-private.h: Likewise.
41531         * crypt/crypt.h: Likewise.
41532         * crypt/crypt_util.c: Likewise.
41533         * ctype/ctype.h: Likewise.
41534         * debug/execinfo.h: Likewise.
41535         * debug/mbsnrtowcs_chk.c: Likewise.
41536         * debug/mbsrtowcs_chk.c: Likewise.
41537         * debug/wcsnrtombs_chk.c: Likewise.
41538         * debug/wcsrtombs_chk.c: Likewise.
41539         * debug/wcstombs_chk.c: Likewise.
41540         * dirent/dirent.h: Likewise.
41541         * dlfcn/dlfcn.h: Likewise.
41542         * elf/neededtest4.c: Likewise.
41543         * grp/grp.h: Likewise.
41544         * gshadow/gshadow.h: Likewise.
41545         * iconv/gconv.h: Likewise.
41546         * iconv/gconv_int.h: Likewise.
41547         * iconv/gconv_simple.c: Likewise.
41548         * iconv/iconv.h: Likewise.
41549         * iconv/loop.c: Likewise.
41550         * iconv/skeleton.c: Likewise.
41551         * include/aio.h: Likewise.
41552         * include/aliases.h: Likewise.
41553         * include/argz.h: Likewise.
41554         * include/arpa/inet.h: Likewise.
41555         * include/assert.h: Likewise.
41556         * include/dirent.h: Likewise.
41557         * include/dlfcn.h: Likewise.
41558         * include/execinfo.h: Likewise.
41559         * include/fcntl.h: Likewise.
41560         * include/fenv.h: Likewise.
41561         * include/glob.h: Likewise.
41562         * include/grp.h: Likewise.
41563         * include/libintl.h: Likewise.
41564         * include/mntent.h: Likewise.
41565         * include/netdb.h: Likewise.
41566         * include/pwd.h: Likewise.
41567         * include/rpc/netdb.h: Likewise.
41568         * include/sched.h: Likewise.
41569         * include/search.h: Likewise.
41570         * include/shadow.h: Likewise.
41571         * include/signal.h: Likewise.
41572         * include/stdio.h: Likewise.
41573         * include/stdlib.h: Likewise.
41574         * include/string.h: Likewise.
41575         * include/sys/socket.h: Likewise.
41576         * include/sys/stat.h: Likewise.
41577         * include/sys/statfs.h: Likewise.
41578         * include/sys/statvfs.h: Likewise.
41579         * include/sys/syslog.h: Likewise.
41580         * include/sys/time.h: Likewise.
41581         * include/sys/uio.h: Likewise.
41582         * include/time.h: Likewise.
41583         * include/unistd.h: Likewise.
41584         * include/utmp.h: Likewise.
41585         * include/wchar.h: Likewise.
41586         * include/wctype.h: Likewise.
41587         * inet/aliases.h: Likewise.
41588         * inet/arpa/inet.h: Likewise.
41589         * inet/netinet/ether.h: Likewise.
41590         * inet/netinet/in.h: Likewise.
41591         * intl/libintl.h: Likewise.
41592         * io/bits/fcntl2.h: Likewise.
41593         * io/fcntl.h: Likewise.
41594         * io/ftw.h: Likewise.
41595         * io/sys/poll.h: Likewise.
41596         * io/sys/stat.h: Likewise.
41597         * io/sys/statfs.h: Likewise.
41598         * io/sys/statvfs.h: Likewise.
41599         * io/utime.h: Likewise.
41600         * libio/bits/stdio.h: Likewise.
41601         * libio/bits/stdio2.h: Likewise.
41602         * libio/libio.h: Likewise.
41603         * libio/libioP.h: Likewise.
41604         * libio/stdio.h: Likewise.
41605         * locale/lc-ctype.c: Likewise.
41606         * locale/locale.h: Likewise.
41607         * login/utmp.h: Likewise.
41608         * malloc/arena.c: Likewise.
41609         * malloc/malloc.c: Likewise.
41610         * malloc/malloc.h: Likewise.
41611         * malloc/mcheck.c: Likewise.
41612         * malloc/mtrace.c: Likewise.
41613         * math/bits/mathcalls.h: Likewise.
41614         * math/fenv.h: Likewise.
41615         * math/math_private.h: Likewise.
41616         * misc/bits/error.h: Likewise.
41617         * misc/bits/syslog.h: Likewise.
41618         * misc/err.h: Likewise.
41619         * misc/error.h: Likewise.
41620         * misc/fstab.h: Likewise.
41621         * misc/mntent.h: Likewise.
41622         * misc/regexp.h: Likewise.
41623         * misc/search.h: Likewise.
41624         * misc/sgtty.h: Likewise.
41625         * misc/sys/mman.h: Likewise.
41626         * misc/sys/syslog.h: Likewise.
41627         * misc/sys/uio.h: Likewise.
41628         * misc/sys/xattr.h: Likewise.
41629         * misc/ttyent.h: Likewise.
41630         * nis/rpcsvc/ypclnt.h: Likewise.
41631         * nss/nss.h: Likewise.
41632         * posix/bits/unistd.h: Likewise.
41633         * posix/fnmatch.h: Likewise.
41634         * posix/glob.h: Likewise.
41635         * posix/sched.h: Likewise.
41636         * posix/spawn.h: Likewise.
41637         * posix/sys/wait.h: Likewise.
41638         * posix/unistd.h: Likewise.
41639         * posix/wordexp.h: Likewise.
41640         * pwd/pwd.h: Likewise.
41641         * resolv/netdb.h: Likewise.
41642         * resource/sys/resource.h: Likewise.
41643         * rt/aio.h: Likewise.
41644         * rt/bits/mqueue2.h: Likewise.
41645         * rt/mqueue.h: Likewise.
41646         * shadow/shadow.h: Likewise.
41647         * signal/signal.h: Likewise.
41648         * socket/send.c: Likewise.
41649         * socket/sendto.c: Likewise.
41650         * socket/sys/socket.h: Likewise.
41651         * stdio-common/printf.h: Likewise.
41652         * stdlib/bits/stdlib.h: Likewise.
41653         * stdlib/fmtmsg.h: Likewise.
41654         * stdlib/monetary.h: Likewise.
41655         * stdlib/stdlib.h: Likewise.
41656         * stdlib/ucontext.h: Likewise.
41657         * streams/stropts.h: Likewise.
41658         * string/argz.h: Likewise.
41659         * string/bits/string2.h: Likewise.
41660         * string/string.h: Likewise.
41661         * string/strings.h: Likewise.
41662         * sunrpc/rpc/auth.h: Likewise.
41663         * sunrpc/rpc/auth_des.h: Likewise.
41664         * sunrpc/rpc/clnt.h: Likewise.
41665         * sunrpc/rpc/netdb.h: Likewise.
41666         * sunrpc/rpc/pmap_clnt.h: Likewise.
41667         * sunrpc/rpc/xdr.h: Likewise.
41668         * sysdeps/generic/inttypes.h: Likewise.
41669         * sysdeps/generic/net/if.h: Likewise.
41670         * sysdeps/generic/sys/swap.h: Likewise.
41671         * sysdeps/gnu/net/if.h: Likewise.
41672         * sysdeps/gnu/utmpx.h: Likewise.
41673         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41674         * sysdeps/i386/i486/bits/string.h: Likewise.
41675         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41676         * sysdeps/s390/bits/string.h: Likewise.
41677         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41678         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41679         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41680         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41681         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41682         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41683         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41684         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41685         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41686         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41687         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41688         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41689         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41690         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41691         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41692         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41693         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41694         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41695         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41696         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41697         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41698         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41699         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41700         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41701         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41702         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41703         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41704         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41705         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41706         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41707         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41708         * sysvipc/sys/ipc.h: Likewise.
41709         * sysvipc/sys/msg.h: Likewise.
41710         * sysvipc/sys/sem.h: Likewise.
41711         * sysvipc/sys/shm.h: Likewise.
41712         * termios/termios.h: Likewise.
41713         * time/sys/time.h: Likewise.
41714         * time/time.h: Likewise.
41715         * wcsmbs/bits/wchar2.h: Likewise.
41716         * wcsmbs/uchar.h: Likewise.
41717         * wcsmbs/wchar.h: Likewise.
41718         * wctype/wctype.h: Likewise.
41719
41720         [BZ #13551]
41721         * Makeconfig: Remove all but ELF support including AIX support.
41722         * Makerules: Likewise.
41723         * config.h.in: Likewise.
41724         * config.make.in: Likewise.
41725         * configure: Likewise.
41726         * configure.in: Likewise.
41727         * csu/Makefile: Likewise.
41728         * csu/version.c: Likewise.
41729         * debug/Makefile: Likewise.
41730         * dlfcn/Makefile: Likewise.
41731         * elf/Makefile: Likewise.
41732         * extra-lib.mk: Likewise.
41733         * iconv/Makefile: Likewise.
41734         * include/libc-symbols.h: Likewise.
41735         * include/shlib-compat.h: Likewise.
41736         * resolv/Makefile: Likewise.
41737         * resolv/res_libc.c: Likewise.
41738         * rt/Makefile: Likewise.
41739         * sysdeps/i386/asm-syntax.h: Likewise.
41740         * sysdeps/i386/sysdep.h: Likewise.
41741         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41742         * sysdeps/mach/sysdep.h: Likewise.
41743         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41744         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41745         * sysdeps/s390/asm-syntax.h: Likewise.
41746         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41747         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41748         * sysdeps/sh/sysdep.h: Likewise.
41749         * sysdeps/unix/sparc/sysdep.h: Likewise.
41750         * sysdeps/wordsize-32/divdi3.c: Likewise.
41751         * sysdeps/x86_64/sysdep.h: Likewise.
41752
41753         * argp/Versions: Remove _argp_unlock_xxx.
41754
41755         [BZ #13559]
41756         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41757         * abilist/libBrokenLocale.abilist: Likewise.
41758         * abilist/libanl.abilist: Likewise.
41759         * abilist/libc.abilist: Likewise.
41760         * abilist/libcrypt.abilist: Likewise.
41761         * abilist/libdl.abilist: Likewise.
41762         * abilist/libm.abilist: Likewise.
41763         * abilist/libnsl.abilist: Likewise.
41764         * abilist/libpthread.abilist: Likewise.
41765         * abilist/libresolv.abilist: Likewise.
41766         * abilist/librt.abilist: Likewise.
41767         * abilist/libthread_db.abilist: Likewise.
41768         * abilist/libutil.abilist: Likewise.
41769         * abilist/libnss_db.abilist: New file.
41770
41771         * scripts/abilist.awk: Add support for indirect functions.
41772
41773         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41774
41775         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41776
41777         * shlib-versions: Remove entries for ports architectures.
41778
41779         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41780         files in ports.
41781         * elf/stackguard-macros.h: Remove support for IA-64.
41782         * elf/tst-auditmod1.c: Likewise.
41783         * sysdeps/generic/ldsodefs.h: Likewise.
41784
41785         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41786         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41787         configure files.
41788
41789         [BZ #13552]
41790         * configure.in: Remove --enable-omitfp support.
41791         * FAQ.in: Adjust.
41792         * config.make.in: Likewise.
41793         * Makeconfig: Likewise.
41794         * manual/install.texi: Likewise.
41795
41796         In case anyone cares, the IA-64 architecture could move to ports.
41797         * sysdeps/ia64/*: Removed.
41798         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41799         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41800
41801         [BZ #13555]
41802         * configure.in: Remove entries for unsupported architectures.
41803
41804         [BZ #13533]
41805         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41806         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41807         routines.
41808         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41809         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41810         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41811         fall back to using wcrtomb.
41812         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41813         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41814         renaming.
41815         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41816         * wcsmbs/tst-c16c32-1.c: New file.
41817
41818         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41819         local variable.
41820
41821         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41822
41823         * elf/tst-unique3.cc: Add explicit declaration of gets.
41824         * elf/tst-unique3lib.cc: Likewise.
41825         * elf/tst-unique3lib2.cc: Likewise.
41826         * elf/tst-unique4.cc: Likewise.
41827
41828         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41829
41830 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41831
41832         [BZ #13566]
41833         * assert/assert.h (static_assert): Don't define for C++.
41834         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41835         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41836
41837 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41838
41839         * iconv/loop.c (single loop): Fix assertion in storing of
41840         remaining bytes.
41841
41842         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41843
41844 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41845
41846         * posix/getconf.c: Update copyright year.
41847         * nss/getent.c: Likewise.
41848         * nss/makedb.c: Likewise.
41849         * iconv/iconvconfig.c: Likewise.
41850         * iconv/iconv_prog.c: Likewise.
41851         * elf/ldconfig.c: Likewise.
41852         * elf/pldd.c: Likewise.
41853         * elf/sotruss.ksh: Likewise.
41854         * catgets/gencat.c: Likewise.
41855         * csu/version.c: Likewise.
41856         * elf/ldd.bash.in: Likewise.
41857         * elf/sprof.c (print_version): Likewise.
41858         * locale/programs/locale.c: Likewise.
41859         * locale/programs/localedef.c: Likewise.
41860         * login/programs/pt_chown.c: Likewise.
41861         * nscd/nscd.c (print_version): Likewise.
41862         * debug/xtrace.sh: Likewise.
41863         * malloc/memusage.sh: Likewise.
41864         * malloc/mtrace.pl: Likewise.
41865         * debug/catchsegv.sh: Likewise.
41866
41867 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41868
41869         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41870         pure attribute.
41871
41872 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41873
41874         [BZ #13533]
41875         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41876         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41877         transformations.
41878         * iconv/gconv_int.h: Likewise.
41879         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41880         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41881         from libc for GLIBC_2.16.
41882         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41883         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41884         * wcsmbs/uchar.h: Really define mbstate_t.
41885         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41886         * wcsmbs/c16rtomb.c: New file.
41887         * wcsmbs/mbrtoc16.c: New file.
41888         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41889         for C/POSIX locale.
41890         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41891         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41892
41893         * wcsmbs/wchar.h: Add missing __restrict.
41894
41895 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41896
41897         [BZ #13532]
41898         * time/Makefile (routines): Add timespec_get.
41899         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41900         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41901         timespec for ISO C11.
41902         * time/timespec_get.c: New file.
41903         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41904         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41905
41906         [BZ #13531]
41907         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41908         * stdlib/stdlib.h: Declare aligned_alloc.
41909         * Versions.def: Add GLIBC_2.16 for libc.
41910         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41911
41912         [BZ 13527]
41913         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41914         ISO C11.
41915
41916         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41917         code.
41918
41919         [BZ #13528]
41920         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41921
41922         [BZ #13529]
41923         * assert/assert.h (static_assert): Define.
41924
41925         * version.h: Update for 2.16 development version.
41926
41927         [BZ #13526]
41928         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41929         _ISOC11_SOURCE.
41930
41931         * version.h (RELEASE): Bump for 2.15 release.
41932         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41933
41934         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41935         Patch by Marek Polacek <mpolacek@redhat.com>.
41936
41937         * bits/byteswap.h: Protect long long constants with __extension__.
41938         * sysdeps/i386/bits/byteswap.h: Likewise.
41939         * sysdeps/ia64/bits/byteswap.h: Likewise.
41940         * sysdeps/s390/bits/byteswap.h: Likewise.
41941         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41942
41943 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41944
41945         [BZ #13540]
41946         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41947         destination buffer.
41948         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41949
41950 2011-12-23  Marek Polacek  <polacek@redhat.com>
41951
41952         * elf/dl-addr.c (determine_info): Add inline keyword.
41953         * elf/tst-auditmod4b.c (check_avx): Likewise.
41954         * elf/tst-auditmod6b.c (check_avx): Likewise.
41955         * elf/tst-auditmod6c.c (check_avx): Likewise.
41956         * elf/tst-auditmod7b.c (check_avx): Likewise.
41957
41958 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41959
41960         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41961         !__SSE_MATH__.
41962
41963 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41964
41965         [BZ #13540]
41966         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41967         processing for last bytes.
41968
41969 2011-08-06  Bruno Haible  <bruno@clisp.org>
41970
41971         [BZ #13061]
41972         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41973         U+0385, not to U+1FEE.
41974
41975         [BZ #13062]
41976         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41977         entry for U+00A5 U+0301.
41978
41979 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41980
41981         [BZ #13166]
41982         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41983         buffer for the output is too small.
41984
41985         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41986         optimization.
41987
41988         [BZ #13185]
41989         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41990         SSE flags if possible.
41991
41992 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41993
41994         [BZ #13540]
41995         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41996         processing for last bytes.
41997
41998 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41999
42000         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42001         (syscall-list-default-options, syscall-list-default-condition)
42002         (syscall-list-includes): Define.
42003         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42004         list of ABIs and options and #if conditions for each ABI.  Do not
42005         handle common syscalls between ABIs specially.
42006         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42007         Remove.
42008         (syscall-list-variants, syscall-list-32bit-options)
42009         (syscall-list-32bit-condition, syscall-list-64bit-options)
42010         (syscall-list-64bit-condition): Define.
42011         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42012         (syscall-list-variants, syscall-list-32bit-options)
42013         (syscall-list-32bit-condition, syscall-list-64bit-options)
42014         (syscall-list-64bit-condition): Define.
42015         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42016         Remove.
42017         (syscall-list-variants, syscall-list-32bit-options)
42018         (syscall-list-32bit-condition, syscall-list-64bit-options)
42019         (syscall-list-64bit-condition): Define.
42020         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42021         Remove.
42022         (syscall-list-variants, syscall-list-32bit-options)
42023         (syscall-list-32bit-condition, syscall-list-64bit-options)
42024         (syscall-list-64bit-condition): Define.
42025
42026 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42027
42028         * locale/iso-639.def: Add brx entry.
42029
42030         [BZ #13328]
42031         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42032         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42033
42034         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42035         __feraiseexcept_renamed.
42036
42037 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42038
42039         [BZ #13538]
42040         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42041         EPOLLET with unsigned values.
42042         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42043         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42044
42045         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42046         to large cancellation.
42047         * math/s_cacoshf.c: Likewise.
42048         * math/s_cacoshl.c: Likewise.
42049
42050 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42051
42052         [BZ #13305]
42053         [BZ #12786]
42054         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42055         * math/s_cacoshf.c: Likewise.
42056         * math/s_cacoshl.c: Likewise.
42057
42058 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42059
42060         [BZ #13439]
42061         * iconv/gconv.h: Define __GCONV_SWAP.
42062         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42063         * iconvdata/utf-16.c: Likewise.
42064         * iconvdata/utf-32.c: Likewise.
42065
42066 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42067
42068         [BZ #13524]
42069         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42070         numerator after shifting it by one limb.
42071
42072 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42073
42074         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42075         under [__USE_EXTERN_INLINES].
42076
42077 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42078
42079         [BZ #13446]
42080         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42081
42082 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42083
42084         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42085         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42086         optimized code.
42087         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42088         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42089         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42090         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42091         for strncasecmp/strncasecmp_l compilation.
42092         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42093         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42094
42095 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42096
42097         [BZ #13484]
42098         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42099         of __asm__.
42100
42101 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42102
42103         [BZ #13506]
42104         * time/tzfile.c (__tzfile_read): Check values from file header.
42105
42106 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42107
42108         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42109         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42110         * powerpc/powerpc32/dl-start.S: Likewise.
42111         * powerpc/powerpc32/elf/start.S: Likewise.
42112         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42113         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42114         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42115         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42116         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42117         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42118         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42119         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42120         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42121         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42122         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42123         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42124         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42125         * powerpc/powerpc32/memset.S: Likewise.
42126         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42127         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42128         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42129         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42130         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42131         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42132         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42133         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42134         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42135         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42136         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42137         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42138         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42139
42140 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42141
42142         * math/libm-test.inc: Added more nearbyint tests.
42143         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42144         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42145         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42146         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42147
42148 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42149
42150         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42151         FD_CLOEXEC.
42152
42153 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42154
42155         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42156         Add wcscpy-ssse3 wcscpy-c.
42157         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42158         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42159         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42160         * sysdeps/x86_64/wcschr.S: New file.
42161         * sysdeps/x86_64/wcsrchr.S: New file.
42162         * string/test-strcmp.c: Remove checking of wcscmp function for
42163         wrong alignments.
42164         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42165         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42166         wcsrchr-sse2 wcsrchr-c.
42167         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42168         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42169         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42170         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42171         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42172         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42173         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42174         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42175         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42176         * wcsmbc/wcschr.c (WCSCHR): New macro.
42177
42178 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42179
42180         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42181         * wcsmbs/test-wcsrchr.c: New file.
42182         * string/test-strrchr.c: Add wcsrchr support.
42183         (WIDE): New macro.
42184         * wcsmbs/test-wcscpy.c: New file.
42185         * string/test-strcpy.c: Add wcscpy support.
42186         (WIDE): New macro.
42187
42188 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42189
42190         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42191         the inner loop.
42192
42193 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42194
42195         [BZ #13472]
42196         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42197
42198 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42199
42200         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42201         Minor optimizations.
42202
42203         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42204         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42205         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42206
42207 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42208
42209         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42210         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42211         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42212         for gcc to avoid warnings.
42213         * inet/Makefile (tests): Add tst-checks.
42214         * inet/tst-checks.c: New file.
42215
42216         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42217         warning.
42218
42219         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42220         __wmemcmp_sse2.
42221
42222         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42223         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42224
42225         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42226
42227 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42228
42229         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42230         problem.
42231
42232         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42233
42234 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42235
42236         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42237         conditional on GCC version.
42238         (__arch_compare_and_exchange_val_8_acq)
42239         (__arch_compare_and_exchange_val_16_acq)
42240         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42241         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42242         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42243
42244 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42245
42246         * sysdeps/sh/backtrace.c: New file.
42247
42248 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42249
42250         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42251         parenthesis.
42252
42253 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42254
42255         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42256         falling back to utime.
42257
42258 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42259
42260         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42261         expectations for float.
42262
42263 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42264
42265         * locale/weight.h (findidx): Add parameter len.
42266         * locale/weightwc.h (findidx): Likewise.
42267         * posix/fnmatch_loop.c (FCT): Adjust caller.
42268         * posix/regcomp.c (build_equiv_class): Likewise.
42269         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42270         * posix/regexec.c (check_node_accept_bytes): Likewise.
42271         * string/strcoll_l.c (STRCOLL): Likewise.
42272         * string/strxfrm_l.c (STRXFRM): Likewise.
42273
42274 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42275
42276         * Makefile.in: Remove CVSOPT handling.
42277         * configure.in: Remove use of AC_REVISION.
42278         * iconvdata/Makefile (distribute): No need to filter out CVS.
42279         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42280         handling.
42281
42282 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42283
42284         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42285         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42286         [USE_AS_STRNCASECMP_L]: Likewise.
42287         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42288         NO_TLS_DIRECT_SEG_REFS.
42289         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42290         Fix argument offsets for non-PIC.
42291         [USE_AS_STRNCASECMP_L]: Likewise.
42292         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42293         NO_TLS_DIRECT_SEG_REFS.
42294
42295 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42296
42297         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42298         O_CLOEXEC.
42299         * locale/loadlocale.c (_nl_load_locale): Likewise.
42300
42301 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42302
42303         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42304         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42305         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42306         (SYSCALL_GETTIME): Set errno on error.
42307
42308         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42309         count references to noai6ai_cached.
42310
42311 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42312
42313         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42314
42315         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42316         FD_CLOEXEC for /proc/self/maps.
42317
42318         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42319         FD_CLOEXEC for /proc/meminfo.
42320
42321         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42322         gai.conf.
42323
42324         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42325         FD_CLOEXEC for given file.
42326
42327         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42328
42329         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42330         FD_CLOEXEC for /etc/hosts.
42331         (_gethtent): Likewise.
42332
42333         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42334
42335         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42336         cancellation and set FD_CLOEXEC for /etc/netgroup.
42337
42338         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42339         reading /etc/publickey.
42340
42341         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42342         allow cancellation when reading /etc/group.
42343
42344         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42345         cancellation.
42346         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42347
42348         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42349         when using data file.
42350
42351         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42352
42353         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42354         (write_nis_obj): Use "c" and "e" in fopen.
42355
42356         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42357
42358         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42359
42360         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42361
42362         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42363
42364         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42365         locale.alias.
42366
42367         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42368
42369         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42370
42371         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42372
42373         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42374         file parsing and set FD_CLOEXEC.
42375
42376 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42377
42378         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42379
42380 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42381
42382         * malloc/arena.c (arena_get2): Don't call reused_arena when
42383         _int_new_arena failed.
42384
42385 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42386
42387         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42388         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42389         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42390         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42391         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42392         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42393         to compile strcasecmp and strncasecmp.
42394         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42395         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42396
42397         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42398
42399 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42400
42401         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42402         locale-defines.sym to gen-as-const-headers.
42403         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42404         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42405         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42406         to compile strcasecmp and strncasecmp.
42407         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42408         strcasecmp_l and strncasecmp_l.
42409         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42410         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42411         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42412         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42413         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42414         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42415         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42416         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42417         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42418         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42419         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42420
42421 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42422
42423         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42424         result of SYSDEP_GETTIME_CPU to retval.
42425         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42426         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42427
42428         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42429         variable.
42430
42431         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42432         mantissa words.
42433         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42434
42435         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42436         from unused variable.
42437
42438         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42439         DWARF definitions.
42440         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42441         for assembling.
42442
42443         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42444         over namespaces.
42445
42446         * sunrpc/rpc_prot.c (rejected): Fix case value.
42447
42448         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42449         unsigned long long int to avoid warnings in shift.
42450
42451         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42452         of use of trans.
42453         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42454         variable tmp.
42455
42456         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42457         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42458         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42459
42460         * nis/nis_table.c (nis_list): Use variable of correct type for
42461         result of __follow_path call.
42462
42463 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42464
42465         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42466         of math functions ceil, trunc, floor, round, and sqrt, when
42467         avaliable on the platform.
42468         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42469         name clash.
42470         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42471         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42472         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42473
42474 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42475
42476         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42477         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42478
42479 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42480
42481         * include/unistd.h: Fix __readlink return type.
42482         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42483
42484 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42485
42486         * stdlib/ucontext.h: Undo last change for makecontext.
42487
42488 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42489
42490         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42491
42492         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42493         * setjmp/setjmp.h: Mark functions as non-leaf.
42494         * setjmp/bits/setjmp2.h: Likewise.
42495         * stdlib/ucontext.h: Likewise.
42496
42497 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42498
42499         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42500         (reused_arena): Don't check arena limit.
42501         (arena_get2): Atomically check arena limit.
42502
42503 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42504
42505         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42506         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42507
42508         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42509         instructions.
42510
42511 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42512
42513         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42514         handler when locking.
42515
42516         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42517         Fix size of allocated buffer.
42518
42519 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42520
42521         [BZ #10103]
42522         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42523         declarations for long double functions.
42524         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42525
42526         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42527
42528 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42529
42530         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42531         installed.
42532
42533         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42534         is disabled.
42535
42536 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42537
42538         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42539
42540 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42541
42542         * include/alloca.h (stackinfo_alloca_round): Define.
42543         (extend_alloca): Use it.
42544         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42545         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42546         here.
42547
42548         * scripts/check-local-headers.sh: Ignore libaudit.h.
42549
42550         * nscd/Makefile (extra-objs): Make recursively expanded.
42551
42552 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42553
42554         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42555         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42556
42557         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42558         * posix/tst-rfc3484-2.c: Likewise.
42559         * posix/tst-rfc3484-3.c: Likewise.
42560
42561         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42562         process_vm_writev.
42563         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42564         process_vm_writev.
42565         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42566         process_vm_writev from libc using GLIBC_2.15 version.
42567
42568         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42569
42570 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42571
42572         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42573         stack usage.
42574
42575 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42576
42577         [BZ #13367]
42578         * nss/getent.c (initgroups_keys): Show error message in case no group
42579         names are given.
42580
42581         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42582         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42583         __bump_nl_timestamp.
42584         * nscd/connections (nscd_init): When host database is served open
42585         netlink socket and request notification about configuration changes.
42586         (main_loop_poll): Track netlink file descriptor and bump timestamp
42587         in case data becomes available.
42588         (main_loop_epoll): Likewise.
42589         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42590         (database_pers_head): Add extra_data fileds.
42591         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42592         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42593         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42594         Adjust caller.
42595         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42596         in6ai data, call __free_in6ai.
42597         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42598         Add -DHAVE_NETLINK.
42599         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42600         interface information.  Reuse previous data if netlink timestamp
42601         is not changed.
42602         (__bump_nl_timestamp): New function.
42603         (__free_in6ai): New function.
42604
42605 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42606
42607         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42608         close_not_cancel_no_status here.
42609         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42610
42611 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42612
42613         [BZ #13276]
42614         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42615         return value.
42616
42617         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42618         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42619         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42620
42621 2011-07-03  Andreas Jaeger  <aj@suse.de>
42622
42623         [BZ #10709]
42624         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42625         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42626         * math/libm-test.inc (sin_test): Add test case.
42627
42628 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42629
42630         [BZ #13337]
42631         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42632         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42633
42634         * elf/chroot_canon.c (chroot_canon): Cleanups.
42635
42636         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42637
42638         [BZ #13335]
42639         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42640         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42641
42642         * string/test-strchr.c: Make usable for strchrnul testing.
42643         * string/test-strchrnul.c: New file.
42644         * string/Makefile (strop-tests): Add strchrnul.
42645
42646         * po/it.po: Update from translation team.
42647         * po/es.po: Likewise.
42648
42649 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42650
42651         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42652         the three constants needed as parameters.  Drop the others.
42653         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42654         __m128i_strloadu_tolower.
42655         Create and initialize variable zero and use it in all the places
42656         where _mm_setzero_si128 was used.
42657
42658         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42659         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42660         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42661         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42662         anymore.
42663         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42664         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42665         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42666         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42667         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42668         __mpranred, __mptan.
42669         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42670         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42671         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42672         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42673         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42674         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42675         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42676         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42677         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42678
42679 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42680
42681         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42682         redefine if SHARED.
42683         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42684
42685         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42686         wide char related routines to wcsmbs subdir.
42687
42688 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42689
42690         [BZ #13344]
42691         * misc/sys/cdefs.h (__THROWNL): Define.
42692         * posix/unistd.h: Use __THREADNL instead of __THREAD
42693         for memory synchronization functions.
42694
42695 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42696
42697         [BZ #13349]
42698         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42699         doesn't exist.
42700         * manual/stdio.texi (Obstack Streams): Node removed.
42701
42702 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42703
42704         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42705         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42706         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42707
42708         * math/math_private.h (math_force_eval): Allow non-addressable
42709         arguments.
42710         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42711
42712 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42713
42714         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42715         file is not needed.
42716
42717         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42718         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42719         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42720         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42721         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42722         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42723         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42724         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42725         Add AVX variants.
42726         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42727         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42728         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42729         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42730         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42731         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42732         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42733         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42734         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42735         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42736         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42737         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42738         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42739         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42740         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42741         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42742         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42743         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42744         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42745
42746         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42747         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42748
42749         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42750         place.  Use VEX encoding when compiling for AVX.
42751
42752 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42753
42754         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42755         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42756
42757         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42758
42759 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42760
42761         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42762         useless if() expression.
42763         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42764         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42765         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42766         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42767         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42768         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42769         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42770         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42771         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42772         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42773         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42774         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42775         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42776         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42777         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42778         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42779         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42780         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42781         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42782
42783         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42784
42785 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42786
42787         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42788         condition.
42789         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42790
42791 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42792
42793         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42794         .text section.  Avoid duplicate constants.
42795         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42796         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42797         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42798         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42799         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42800         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42801         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42802         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42803         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42804         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42805         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42806         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42807         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42808         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42809         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42810         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42811         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42812         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42813         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42814         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42815         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42816         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42817         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42818         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42819         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42820         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42821         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42822         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42823         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42824         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42825         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42826         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42827         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42828         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42829         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42830         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42831         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42832         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42833         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42834         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42835         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42836         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42837         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42838         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42839         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42840
42841 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42842
42843         * sysdeps/x86_64/dla.h: Move to ...
42844         * sysdeps/x86_64/fpu/dla.h: ...here.
42845         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42846         situations.  Use __builtin_fma only for gcc 4.6 and up.
42847
42848         * config.make.in: Add have-mfma4 entry.
42849         * configure.in: Substitute libc_cv_cc_fma4.
42850         * math/Makefile (dbl-only-routines): Add sincostab.
42851         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42852         Use __sincostab not sincos.
42853         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42854         name is a macro.
42855         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42856         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42857         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42858         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42859         using __copysign.
42860         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42861         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42862         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42863         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42864         and __inv.
42865         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42866         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42867         __copysign.
42868         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42869         define aliases when function name is a macro.
42870         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42871         sysdeps/ieee754/dbl-64/sincos.tbl.
42872         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42873         fma4-enabled routines.
42874         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42875         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42876         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42877         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42878         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42879         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42880         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42881         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42882         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42883         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42884         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42885         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42886         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42887         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42888         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42889         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42890         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42891         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42892         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42893         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42894         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42895         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42896         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42897         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42898         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42899         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42900         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42901         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42902         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42903         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42904
42905         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42906         rename.
42907         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42908         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42909         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42910         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42911         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42912         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42913         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42914         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42915
42916 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42917
42918         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42919
42920 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42921
42922         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42923
42924         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42925         prediction.
42926         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42927
42928         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42929         Remove unused variable magic_bits.
42930         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42931
42932         * string/strnlen.c: Define and use STRNLEN macro.
42933         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42934         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42935         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42936         * wcsmbs/wcslen.c: Define and use WCSLEN.
42937         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42938         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42939         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42940         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42941         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42942         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42943         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42944
42945 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42946
42947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42948         strnlen-sse2-no-bsf.
42949         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42950         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42951         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42952         Add strnlen support.
42953         (USE_AS_STRNLEN): New macro.
42954         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42955         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42956         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42957         * sysdeps/x86_64/wcslen.S: New file.
42958
42959 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42960
42961         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42962         XMM-moves are used for copying on small sizes.
42963
42964 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42965
42966         * wcsmbs/Makefile (strop-tests): Add wcschr.
42967         * wcsmbs/test-wcschr.c: New file.
42968         * string/test-strchr.c: Update.
42969         Add wcschr support.
42970         (WIDE): New macro.
42971
42972 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42973
42974         * wcsmbs/Makefile (strop-tests): Add wcslen.
42975         * wcsmbs/test-wcslen.c: New file.
42976         * string/test-strlen.c: Update.
42977         Add wcslen support.
42978         (WIDE): New macro.
42979
42980 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42981
42982         * po/it.po: Update from translation team.
42983
42984 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42985
42986         * sysdeps/x86_64/wcscmp.S: Update.
42987         Fix wrong comparison semantics.
42988         wcscmp shall use signed comparison not unsigned.
42989         Don't use substraction to avoid overflow bug.
42990         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42991         * wcsmbc/wcscmp.c: Likewise.
42992         * string/test-strcmp.c: Likewise.
42993         Add new tests to check cases with negative values.
42994
42995 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42996
42997         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42998         * sysdeps/x86_64/dla.h: ...here.  New file.
42999         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43000         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43001         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43002         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43003         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43004         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43005         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43006         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43007         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43008
43009 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43010
43011         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43012         __ynl_finite aliases.
43013
43014 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43015
43016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43017
43018         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43019         define DLA_FMA.
43020         [DLA_FMA] (EMULV): Use DLA_FMA.
43021         [DLA_FMA] (MUL12): Use EMULV.
43022         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43023         that are not needed.
43024         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43025         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43026         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43027         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43028         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43029         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43030         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43031
43032 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43033
43034         * math/s_nan.c: Undef __nan.
43035         * math/s_nanf.c: Undef __nanf.
43036         * math/s_nanl.c: Undef __nanl.
43037         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43038         "math_private.h".
43039
43040 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43041
43042         * math/s_catan.c: Add branch predictions.
43043         * math/s_catanf.c: Likewise.
43044         * math/s_catanh.c: Likewise.
43045         * math/s_catanhf.c: Likewise.
43046         * math/s_catanhl.c: Likewise.
43047         * math/s_catanl.c: Likewise.
43048         * math/s_cexp.c: Likewise.
43049         * math/s_cexpf.c: Likewise.
43050         * math/s_cexpl.c: Likewise.
43051         * math/s_clog.c: Likewise.
43052         * math/s_clog10.c: Likewise.
43053         * math/s_clog10f.c: Likewise.
43054         * math/s_clog10l.c: Likewise.
43055         * math/s_clogf.c: Likewise.
43056         * math/s_clogl.c: Likewise.
43057         * math/s_csqrt.c: Likewise.
43058         * math/s_csqrtf.c: Likewise.
43059         * math/s_csqrtl.c: Likewise.
43060         * math/s_ctanf.c: Likewise.
43061         * math/s_ctanh.c: Likewise.
43062         * math/s_ctanhf.c: Likewise.
43063         * math/s_ctanhl.c: Likewise.
43064         * math/s_ctanl.c: Likewise.
43065
43066         * math/math_private.h: Define __nan, __nanf, __nanl.
43067         * math/s_cacosh.c: Include <math_private.h>.
43068         * math/s_cacoshl.c: Likewise.
43069         * math/s_casinh.c: Likewise.
43070         * math/s_casinhf.c: Likewise.
43071         * math/s_casinhl.c: Likewise.
43072         * math/s_ccos.c: Rely entire on ccosh.
43073         * math/s_ccosf.c: Rely entire on ccoshf.
43074         * math/s_ccosl.c: Rely entirely on ccoshl.
43075         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43076         Remove tests for FE_INVALID.
43077         * math/s_ccoshf.c: Likewise.
43078         * math/s_ccoshl.c: Likewise.
43079         * math/s_csin.c: Likewise.
43080         * math/s_csinf.c: Likewise.
43081         * math/s_csinh.c Likewise.
43082         * math/s_csinhf.c: Likewise.
43083         * math/s_csinhl.c: Likewise.
43084         * math/s_csinl.c: Likewise.
43085         * math/s_ctan.c: Likewise.
43086         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43087         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43088         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43089
43090 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43091
43092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43093         compilation problems.
43094
43095         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43096         __builtin_expect.
43097
43098 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43099
43100         * sysdeps/i386/configure.in: Test for -mfma4 option.
43101         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43102         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43103         COMMON_CPUID_INDEX_80000001.
43104         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43105         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43106         use it if FMA3 is not supported.
43107         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43108
43109         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43110         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43111
43112 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43113
43114         [BZ #12892]
43115         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43116         it would create a cycle with a link time dependency.
43117
43118 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43119
43120         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43121         instruction.
43122         * string/Makefile (strop-tests): Add rawmemchr.
43123         * string/test-rawmemchr.c: New file.
43124
43125         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43126         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43127         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43128         when compiling str{,n}casecmp and when AVX is available.  Hook up
43129         new optimized code in initializers.
43130
43131 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43132
43133         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43134         __feraiseexcept instead of feraiseexcept.
43135
43136 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43137
43138         * math/math_private.h: Define defaults for libc_fetestexcept and
43139         libc_feupdateenv.
43140         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43141         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43142         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43143         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43144         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43145         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43146         libc_fetestexcept and libc_feupdateenv.
43147
43148         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43149         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43150         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43151         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43152         libc_feholdexcept_setround.
43153
43154         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43155         Add s_nearbyint-c and s_nearbyintf-c.
43156         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43157         nearbyintf inlines.
43158         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43159         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43160         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43161         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43162
43163         * math/math_private.h: Define defaults for libc_fegetround,
43164         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43165         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43166         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43167         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43168         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43169         standard functions.
43170         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43171         Remove comments and hacks for old compiler versions.
43172         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43173         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43174         libc_feholdexceptl.
43175
43176 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43177
43178         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43179         (__feraiseexcept_renamed): Add __NTH.
43180         (feraiseexcept): Add __NTH.  Rename local variables to fix
43181         namespace violations.
43182
43183 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43184
43185         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43186
43187         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43188
43189         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43190         recently added interfaces.
43191         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43192
43193         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43194         about macro parameter expansion.
43195
43196         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43197         __NO_MATH_INLINES is defined.  Cleanups.
43198
43199         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43200         and __floorf is target has SSE4.1.
43201         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43202         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43203         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43204         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43205
43206         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43207         name.
43208         (floorf): Likewise.
43209
43210         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43211
43212 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43213
43214         * misc/sys/cdefs.h: Fix last change.
43215
43216         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43217         database lookup.
43218
43219 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43220
43221         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43222
43223         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43224         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43225         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43226         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43227         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43228         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43229         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43230         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43231         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43232         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43233         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43234         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43235         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43236         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43237         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43238         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43239         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43240         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43241         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43242         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43243         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43244         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43245
43246         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43247         ceil, ceilf, floor, floorf.
43248
43249         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43250         Perform IRELATIVE relocations last.
43251
43252         * elf/do-rel.h: Add another parameter nrelative, replacing the
43253         local variable with the same name.  Change name of the function
43254         to end in Rel or Rela (uppercase).
43255         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43256         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43257         elf_dynamic_do_##reloc function.
43258
43259 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43260
43261         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43262         is sufficient, at least on modern CPUs.
43263
43264         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43265
43266         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43267         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43268
43269         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43270         __expl_finite.
43271         * math/bits/math-finite.h: Add entries for exp.
43272         * math/e_expl.c: Add __*_finite alias.
43273         * sysdeps/i386/fpu/e_exp.S: Likewise.
43274         * sysdeps/i386/fpu/e_expf.S: Likewise.
43275         * sysdeps/i386/fpu/e_expl.c: Likewise.
43276         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43277         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43278         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43279         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43280         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43281         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43282         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43283
43284         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43285         is sufficient, at least on modern CPUs.
43286
43287         * ctype/ctype-info.c (__ctype_init): Define.
43288         * include/ctype.h (__ctype_init): Declare.
43289         (__ctype_b_loc): The variable is always initialized.
43290         (__ctype_toupper_loc): Likewise.
43291         (__ctype_tolower_loc): Likewise.
43292         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43293         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43294
43295 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43296
43297         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43298
43299         * configure.in: Also look in $cxxmachine/include for C++ system
43300         headers.
43301
43302 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43303
43304         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43305         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43306         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43307         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43308         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43309         (USE_AS_WMEMCMP): New macro.
43310         Fixing indents.
43311         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43312         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43313         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43314         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43315         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43316         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43317         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43318         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43319         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43320         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43321         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43322         (USE_AS_WMEMCMP): New macro.
43323         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43324         * sysdeps/string/test-memcmp.c: Update.
43325         Fix simple_wmemcmp.
43326         Add new tests.
43327         * wcsmbs/wmemcmp.c: Update.
43328         (WMEMCMP): New macro.
43329         Fix overflow bug.
43330
43331 2011-10-12  Andreas Jaeger  <aj@suse.de>
43332
43333         [BZ #13268]
43334         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43335
43336 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43337
43338         * libio/iofwide.c (do_length): Avoid warning.
43339
43340         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43341
43342 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43343
43344         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43345
43346         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43347         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43348         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43349         * sysdeps/i386/i686/fpu/e_log.S: New file.
43350         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43351         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43352
43353         * ctype/ctype.h: Add support for inlined isXXX functions when
43354         compiling C++ code.
43355
43356 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43357
43358         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43359
43360         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43361
43362 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43363
43364         [BZ #13291]
43365         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43366
43367 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43368
43369         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43370         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43371         feraiseexcept.
43372
43373         * sysdeps/x86_64/memrchr.S: Check for zero size.
43374
43375         * string/stratcliff.c: Add memrchr tests.
43376
43377 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43378
43379         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43380         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43381         rawmemchr-sse2 rawmemchr-sse2-bsf.
43382         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43383         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43384         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43385         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43386         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43387         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43388         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43389         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43390         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43391         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43392         * string/memrchr.c (MEMRCHR): New macro.
43393
43394 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43395
43396         Add integration with gcc's -ffinite-math-only and optimize wrapper
43397         functions in libm.
43398         * Versions.def: Define GLIBC_2.15 version for libm.
43399         * math/Makefile (headers): Add bits/math-finite.h.
43400         * math/bits/math-finite.h: New file.
43401         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43402         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43403         * math/e_acoshl.c: Add __*_finite alias.
43404         * math/e_acosl.c: Likewise.
43405         * math/e_asinl.c: Likewise.
43406         * math/e_atan2l.c: Likewise.
43407         * math/e_atanhl.c: Likewise.
43408         * math/e_coshl.c: Likewise.
43409         * math/e_exp10.c: Likewise.
43410         * math/e_exp10f.c: Likewise.
43411         * math/e_exp10l.c: Likewise.
43412         * math/e_exp2l.c: Likewise.
43413         * math/e_fmodl.c: Likewise.
43414         * math/e_gammal_r.c: Likewise.
43415         * math/e_hypotl.c: Likewise.
43416         * math/e_j0l.c: Likewise.
43417         * math/e_j1l.c: Likewise.
43418         * math/e_jnl.c: Likewise.
43419         * math/e_lgammal_r.c: Likewise.
43420         * math/e_log10l.c: Likewise.
43421         * math/e_log2l.c: Likewise.
43422         * math/e_logl.c: Likewise.
43423         * math/e_powl.c: Likewise.
43424         * math/e_sinhl.c: Likewise.
43425         * math/e_sqrtl.c: Likewise.
43426         * math/e_scalb.c: Completely rewritten and optimized.
43427         * math/e_scalbf.c: Likewise.
43428         * math/e_scalbl.c: Likewise.
43429         * math/w_acos.c: Likewise.
43430         * math/w_acosf.c: Likewise.
43431         * math/w_acosl.c: Likewise.
43432         * math/w_acosh.c: Likewise.
43433         * math/w_acoshf.c: Likewise.
43434         * math/w_acoshl.c: Likewise.
43435         * math/w_asin.c: Likewise.
43436         * math/w_asinf.c: Likewise.
43437         * math/w_asinl.c: Likewise.
43438         * math/w_atan2.c: Likewise.
43439         * math/w_atan2f.c: Likewise.
43440         * math/w_atan2l.c: Likewise.
43441         * math/w_atanh.c: Likewise.
43442         * math/w_atanhf.c: Likewise.
43443         * math/w_atanhl.c: Likewise.
43444         * math/w_exp10.c: Likewise.
43445         * math/w_exp10f.c: Likewise.
43446         * math/w_exp10l.c: Likewise.
43447         * math/w_fmod.c: Likewise.
43448         * math/w_fmodf.c: Likewise.
43449         * math/w_fmodl.c: Likewise.
43450         * math/w_j0.c: Likewise.
43451         * math/w_j0f.c: Likewise.
43452         * math/w_j0l.c: Likewise.
43453         * math/w_j1.c: Likewise.
43454         * math/w_j1f.c: Likewise.
43455         * math/w_j1l.c: Likewise.
43456         * math/w_jn.c: Likewise.
43457         * math/w_jnf.c: Likewise.
43458         * math/w_log.c: Likewise.
43459         * math/w_logf.c: Likewise.
43460         * math/w_logl.c: Likewise.
43461         * math/w_log10.c: Likewise.
43462         * math/w_log10f.c: Likewise.
43463         * math/w_log10l.c: Likewise.
43464         * math/w_log2.c: Likewise.
43465         * math/w_log2f.c: Likewise.
43466         * math/w_log2l.c: Likewise.
43467         * math/w_pow.c: Likewise.
43468         * math/w_powf.c: Likewise.
43469         * math/w_powl.c: Likewise.
43470         * math/w_remainder.c: Likewise.
43471         * math/w_remainderf.c: Likewise.
43472         * math/w_remainderl.c: Likewise.
43473         * math/w_scalb.c: Likewise.
43474         * math/w_scalbf.c: Likewise.
43475         * math/w_scalbl.c: Likewise.
43476         * math/w_sqrt.c: Likewise.
43477         * math/w_sqrtf.c: Likewise.
43478         * math/w_sqrtl.c: Likewise.
43479         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43480         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43481         used.
43482         * math/math_private.h: Declare __kernel_standard_f.
43483         * math/w_cosh.c: Remove cruft and optimize a bit.
43484         * math/w_coshf.c: Likewise.
43485         * math/w_coshl.c: Likewise.
43486         * math/w_exp2.c: Likewise.
43487         * math/w_exp2f.c: Likewise.
43488         * math/w_exp2l.c: Likewise.
43489         * math/w_hypot.c: Likewise.
43490         * math/w_hypotf.c: Likewise.
43491         * math/w_hypotl.c: Likewise.
43492         * math/w_lgamma.c: Likewise.
43493         * math/w_lgamma_r.c: Likewise.
43494         * math/w_lgammaf.c: Likewise.
43495         * math/w_lgammaf_r.c: Likewise.
43496         * math/w_lgammal.c: Likewise.
43497         * math/w_lgammal_r.c: Likewise.
43498         * math/w_sinh.c: Likewise.
43499         * math/w_sinhf.c: Likewise.
43500         * math/w_sinhl.c: Likewise.
43501         * math/w_tgamma.c: Likewise.
43502         * math/w_tgammaf.c: Likewise.
43503         * math/w_tgammal.c: Likewise.
43504         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43505         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43506         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43507         Minor optimizations.  Pretty printing.  Remove cruft.
43508         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43509         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43510         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43511         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43512         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43513         * sysdeps/i386/fpu/e_asin.S: Likewise.
43514         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43515         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43516         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43517         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43518         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43519         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43520         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43521         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43522         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43523         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43524         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43525         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43526         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43527         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43528         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43529         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43530         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43531         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43532         * sysdeps/i386/fpu/e_log.S: Likewise.
43533         * sysdeps/i386/fpu/e_log10.S: Likewise.
43534         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43535         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43536         * sysdeps/i386/fpu/e_log2.S: Likewise.
43537         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43538         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43539         * sysdeps/i386/fpu/e_logf.S: Likewise.
43540         * sysdeps/i386/fpu/e_logl.S: Likewise.
43541         * sysdeps/i386/fpu/e_pow.S: Likewise.
43542         * sysdeps/i386/fpu/e_powf.S: Likewise.
43543         * sysdeps/i386/fpu/e_powl.S: Likewise.
43544         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43545         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43546         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43547         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43548         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43549         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43550         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43551         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43552         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43553         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43554         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43555         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43556         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43557         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43558         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43559         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43560         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43561         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43562         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43563         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43564         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43565         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43566         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43567         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43568         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43569         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43570         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43571         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43573         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43574         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43575         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43576         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43577         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43578         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43579         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43580         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43581         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43582         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43583         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43584         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43585         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43586         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43587         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43588         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43589         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43590         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43591         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43592         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43593         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43594         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43595         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43596         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43597         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43598         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43599         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43600         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43601         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43602         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43603         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43604         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43605         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43606         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43608         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43609         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43610         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43611         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43612         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43613         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43614         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43615         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43616         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43617         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43618         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43619         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43620         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43621         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43622         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43623         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43624         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43625         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43626         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43627         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43628         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43629         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43630         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43631         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43632         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43633         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43634         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43635         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43636         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43637         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43638         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43639         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43640         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43641         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43642         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43643         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43644         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43645         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43646         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43647         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43648         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43649         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43650         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43651         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43652         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43653         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43654         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43655         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43656         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43657         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43658         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43659         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43660         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43661         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43662         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43663         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43664         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43665         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43666         (__isnanf): Likewise.
43667         (__isinf_ns): Likewise.
43668         (__isinf_nsf): Likewise.
43669         (__finite): Likewise.
43670         (__finitef): Likewise.
43671         (__ieee754_sqrt): Define as macro.
43672         (__ieee754_sqrtf): Define as macro.
43673         (__ieee754_sqrtl): Define as macro.
43674         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43675         inlined copy.
43676         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43677         __FINITE_MATH_ONLY__ consistent.
43678         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43679
43680 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43681
43682         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43683         of rawmemchr.
43684
43685         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43686
43687 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43688
43689         * po/ja.po: Update from translation team.
43690
43691 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43692
43693         * locale/programs/locarchive.c (prepare_address_space): New function.
43694         (create_archive, enlarge_archive, open_archive): Use it.
43695
43696         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43697         inside [SHARED], where it is used.
43698
43699         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43700
43701         * nss/getent.c (netgroup_keys): Remove unused variable.
43702         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43703
43704 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43705
43706         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43707         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43708         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43709         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43710         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43711         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43712         * math/Makefile (libm-calls): Add s_isinf_ns.
43713         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43714         * math/multc3.c: Likewise.
43715         * math/s_casin.c: Likewise.
43716         * math/s_casinf.c: Likewise.
43717         * math/s_casinl.c: Likewise.
43718         * math/s_ccos.c: Likewise.
43719         * math/s_ccosf.c: Likewise.
43720         * math/s_ccosl.c: Likewise.
43721         * math/s_ctan.c: Likewise.
43722         * math/s_ctanf.c: Likewise.
43723         * math/s_ctanh.c: Likewise.
43724         * math/s_ctanhf.c: Likewise.
43725         * math/s_ctanhl.c: Likewise.
43726         * math/s_ctanl.c: Likewise.
43727         * math/w_fmod.c: Likewise.
43728         * math/w_fmodf.c: Likewise.
43729         * math/w_fmodl.c: Likewise.
43730         * math/w_remainder.c: Likewise.
43731         * math/w_remainderf.c: Likewise.
43732         * math/w_remainderl.c: Likewise.
43733         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43734         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43735         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43736         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43737         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43738         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43739         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43740         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43741
43742         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43743         of the number.
43744         * stdio-common/printf_fphex.c: Likewise.
43745         * stdio-common/printf_size.c: Likewise.
43746
43747         * math/e_exp10.c: Include math_private.h using <...> not "...".
43748         * math/e_exp10f.c: Likewise.
43749         * math/e_exp10l.c: Likewise.
43750         * math/e_exp2l.c: Likewise.
43751         * math/e_j0l.c: Likewise.
43752         * math/e_j1l.c: Likewise.
43753         * math/e_jnl.c: Likewise.
43754         * math/e_lgammal_r.c: Likewise.
43755         * math/e_rem_pio2l.c: Likewise.
43756         * math/e_scalb.c: Likewise.
43757         * math/e_scalbf.c: Likewise.
43758         * math/e_scalbl.c: Likewise.
43759         * math/k_cosl.c: Likewise.
43760         * math/k_sinl.c: Likewise.
43761         * math/k_tanl.c: Likewise.
43762         * math/s_cacoshf.c: Likewise.
43763         * math/s_catan.c: Likewise.
43764         * math/s_catanf.c: Likewise.
43765         * math/s_catanh.c: Likewise.
43766         * math/s_catanhf.c: Likewise.
43767         * math/s_catanhl.c: Likewise.
43768         * math/s_catanl.c: Likewise.
43769         * math/s_ccosh.c: Likewise.
43770         * math/s_ccoshf.c: Likewise.
43771         * math/s_ccoshl.c: Likewise.
43772         * math/s_cexp.c: Likewise.
43773         * math/s_cexpf.c: Likewise.
43774         * math/s_cexpl.c: Likewise.
43775         * math/s_clog.c: Likewise.
43776         * math/s_clog10.c: Likewise.
43777         * math/s_clog10f.c: Likewise.
43778         * math/s_clog10l.c: Likewise.
43779         * math/s_clogf.c: Likewise.
43780         * math/s_clogl.c: Likewise.
43781         * math/s_csin.c: Likewise.
43782         * math/s_csinf.c: Likewise.
43783         * math/s_csinh.c: Likewise.
43784         * math/s_csinhf.c: Likewise.
43785         * math/s_csinhl.c: Likewise.
43786         * math/s_csinl.c: Likewise.
43787         * math/s_csqrt.c: Likewise.
43788         * math/s_csqrtf.c: Likewise.
43789         * math/s_csqrtl.c: Likewise.
43790         * math/s_ctan.c: Likewise.
43791         * math/s_ctanf.c: Likewise.
43792         * math/s_ctanh.c: Likewise.
43793         * math/s_ctanhf.c: Likewise.
43794         * math/s_ctanhl.c: Likewise.
43795         * math/s_ctanl.c: Likewise.
43796         * math/s_ldexp.c: Likewise.
43797         * math/s_ldexpf.c: Likewise.
43798         * math/s_ldexpl.c: Likewise.
43799         * math/s_significand.c: Likewise.
43800         * math/s_significandf.c: Likewise.
43801         * math/s_significandl.c: Likewise.
43802         * math/w_acos.c: Likewise.
43803         * math/w_acosf.c: Likewise.
43804         * math/w_acosh.c: Likewise.
43805         * math/w_acoshf.c: Likewise.
43806         * math/w_acoshl.c: Likewise.
43807         * math/w_acosl.c: Likewise.
43808         * math/w_asin.c: Likewise.
43809         * math/w_asinf.c: Likewise.
43810         * math/w_asinl.c: Likewise.
43811         * math/w_atan2.c: Likewise.
43812         * math/w_atan2f.c: Likewise.
43813         * math/w_atan2l.c: Likewise.
43814         * math/w_atanh.c: Likewise.
43815         * math/w_atanhf.c: Likewise.
43816         * math/w_atanhl.c: Likewise.
43817         * math/w_cosh.c: Likewise.
43818         * math/w_coshf.c: Likewise.
43819         * math/w_coshl.c: Likewise.
43820         * math/w_dremf.c: Likewise.
43821         * math/w_exp10.c: Likewise.
43822         * math/w_exp10f.c: Likewise.
43823         * math/w_exp10l.c: Likewise.
43824         * math/w_exp2.c: Likewise.
43825         * math/w_exp2f.c: Likewise.
43826         * math/w_fmod.c: Likewise.
43827         * math/w_fmodf.c: Likewise.
43828         * math/w_fmodl.c: Likewise.
43829         * math/w_hypot.c: Likewise.
43830         * math/w_hypotf.c: Likewise.
43831         * math/w_hypotl.c: Likewise.
43832         * math/w_j0.c: Likewise.
43833         * math/w_j0f.c: Likewise.
43834         * math/w_j0l.c: Likewise.
43835         * math/w_j1.c: Likewise.
43836         * math/w_j1f.c: Likewise.
43837         * math/w_j1l.c: Likewise.
43838         * math/w_jn.c: Likewise.
43839         * math/w_jnf.c: Likewise.
43840         * math/w_jnl.c: Likewise.
43841         * math/w_lgamma.c: Likewise.
43842         * math/w_lgamma_r.c: Likewise.
43843         * math/w_lgammaf.c: Likewise.
43844         * math/w_lgammaf_r.c: Likewise.
43845         * math/w_lgammal.c: Likewise.
43846         * math/w_lgammal_r.c: Likewise.
43847         * math/w_log.c: Likewise.
43848         * math/w_log10.c: Likewise.
43849         * math/w_log10f.c: Likewise.
43850         * math/w_log10l.c: Likewise.
43851         * math/w_log2.c: Likewise.
43852         * math/w_log2f.c: Likewise.
43853         * math/w_log2l.c: Likewise.
43854         * math/w_logf.c: Likewise.
43855         * math/w_logl.c: Likewise.
43856         * math/w_pow.c: Likewise.
43857         * math/w_powf.c: Likewise.
43858         * math/w_powl.c: Likewise.
43859         * math/w_remainder.c: Likewise.
43860         * math/w_remainderf.c: Likewise.
43861         * math/w_remainderl.c: Likewise.
43862         * math/w_scalb.c: Likewise.
43863         * math/w_scalbf.c: Likewise.
43864         * math/w_scalbl.c: Likewise.
43865         * math/w_sinh.c: Likewise.
43866         * math/w_sinhf.c: Likewise.
43867         * math/w_sinhl.c: Likewise.
43868         * math/w_sqrt.c: Likewise.
43869         * math/w_sqrtf.c: Likewise.
43870         * math/w_sqrtl.c: Likewise.
43871         * math/w_tgamma.c: Likewise.
43872         * math/w_tgammaf.c: Likewise.
43873         * math/w_tgammal.c: Likewise.
43874
43875         * po/ja.po: Update from translation team.
43876
43877 2011-09-29  Andreas Jaeger  <aj@suse.de>
43878
43879         [BZ #13179]
43880         * sunrpc/netname.c (netname2host): Fix logic.
43881
43882         [BZ #6779]
43883         [BZ #6783]
43884         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43885         correctly.
43886         * math/w_remainder.c (__remainder): Likewise.
43887         * math/w_remainderf.c (__remainderf): Likewise.
43888         * math/libm-test.inc (remainder_test): Add test cases.
43889
43890 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43891
43892         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43893         sdiv_qrnnd.
43894
43895 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43896
43897         * string/test-memcmp.c: Avoid unncessary #defines.
43898         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43899
43900 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43901
43902         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43903         Use new sse2 version for core i3 - i7 as it's faster
43904         than sse42 version.
43905         (bit_Prefer_PMINUB_for_stringop): New.
43906         * sysdeps/x86_64/rawmemchr.S: Update.
43907         Replace with faster SSE2 version.
43908         * sysdeps/x86_64/memrchr.S: New file.
43909         * sysdeps/x86_64/memchr.S: Update.
43910         Replace with faster SSE2 version.
43911
43912 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43913
43914         * elf/dl-load.c (lose): Add cast to avoid warning.
43915
43916 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43917
43918         * po/ca.po: Update from translation team.
43919
43920         * inet/getnetgrent_r.c: Hook up nscd.
43921         * nscd/Makefile (routines): Add nscd_netgroup.
43922         (nscd-modules): Add netgroupcache.
43923         (CFLAGS-netgroupcache.c): Define.
43924         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43925         (cache_search): Add const to second parameter.
43926         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43927         INNETGR.
43928         (dbs): Add netgrdb entry.
43929         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43930         (verify_persistent_db): Handle netgrdb.
43931         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43932         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43933         GETFDNETGR.
43934         (netgroup_response_header): Define.
43935         (innetgroup_response_header): Define.
43936         (datahead): Add netgroup_response_header and innetgroup_response_header
43937         elements.
43938         * nscd/nscd.conf: Add entries for netgroup cache.
43939         * nscd/nscd.h (dbtype): Add netgrdb.
43940         (_PATH_NSCD_NETGROUP_DB): Define.
43941         (netgroup_iov_disabled): Declare.
43942         (xmalloc, xcalloc, xrealloc): Move declarations here.
43943         (cache_search): Adjust prototype.
43944         Add netgroup-related prototypes.
43945         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43946         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43947         (__nscd_innetgr): Declare.
43948         * nscd/selinux.c (perms): Use access_vector_t as element type and
43949         add netgroup-related initializers.
43950         * nscd/netgroupcache.c: New file.
43951         * nscd/nscd_netgroup.c: New file.
43952         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43953         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43954         For four parameters use innetgr.
43955         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43956         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43957         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43958         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43959
43960         * nscd/connections.c (register_traced_file): Don't register file
43961         for disabled databases.
43962
43963 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43964
43965         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43966
43967         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43968         from tree and freeing node.
43969
43970 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43971
43972         * nss/nsswitch.c (__nss_database_lookup): Handle
43973         nss_parse_service_list out of memory case.
43974
43975 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43976
43977         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43978         out of memory case.
43979
43980 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43981
43982         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43983         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43984         pass it down.
43985         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43986         elf_machine_rela, elf_machine_lazy_rel.
43987         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43988         (ELF_DYNAMIC_DO_REL): Likewise.
43989         (ELF_DYNAMIC_DO_RELA): Likewise.
43990         (ELF_DYNAMIC_RELOCATE): Likewise.
43991         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43992         to ELF_DYNAMIC_DO_REL.
43993         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43994         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43995         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43996         elf_machine_rela.
43997         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43998         skip_ifunc, don't call ifunc function if non-zero.
43999         (elf_machine_rela): Likewise.
44000         (elf_machine_lazy_rel): Likewise.
44001         (elf_machine_lazy_rela): Likewise.
44002         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44003         (elf_machine_lazy_rel): Likewise.
44004         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44005         Likewise.
44006         (elf_machine_lazy_rel): Likewise.
44007         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44008         Likewise.
44009         (elf_machine_lazy_rel): Likewise.
44010         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44011         (elf_machine_lazy_rel): Likewise.
44012         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44013         (elf_machine_lazy_rel): Likewise.
44014         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44015         (elf_machine_lazy_rel): Likewise.
44016         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44017         (elf_machine_lazy_rel): Likewise.
44018         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44019         (elf_machine_lazy_rel): Likewise.
44020         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44021         (elf_machine_lazy_rel): Likewise.
44022
44023 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44024
44025         * nss/nss_files/files-init.c (_nss_files_init): Use static
44026         initialization for all the *_traced_file variables.
44027
44028 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44029
44030         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44031
44032 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44033
44034         [BZ #13226]
44035         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44036
44037 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44038
44039         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44040         Reread the line before reparsing it.
44041
44042 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44043
44044         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44045
44046 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44047             Maxim Kuvyrkov  <maxim@codesourcery.com>
44048             Joseph Myers  <joseph@codesourcery.com>
44049
44050         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44051         if needed for __stack_chk_guard.
44052
44053 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44054
44055         * sysdeps/posix/spawni.c (script_execute): Always define it.
44056         It will be optimized away if unused.
44057         (maybe_script_execute): New function.
44058         (__spawni): Call it.
44059
44060         * Makerules: Don't include tls.make.
44061         (config-tls): Always set to thread.
44062         * tls.make.c: File removed.
44063
44064 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44065
44066         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44067         * config.make.in (CPPFLAGS-config): New substituted variable.
44068
44069 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44070
44071         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44072
44073         [BZ #13192]
44074         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44075         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44076
44077 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44078
44079         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44080         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44081         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44082         (CALL_FAIL): Likewise.
44083         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44084         (CALL_FAIL): Macro removed.
44085         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44086
44087 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44088
44089         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44090         for __FINITE_MATH_ONLY__ == 1.
44091
44092 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44093
44094         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44095         __ieee754_sqrt instead of sqrt.
44096         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44097         __ieee754_sqrtf instead of sqrtf.
44098         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44099         __floorf instead of floorf.
44100         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44101         __floorf, __truncf instead of floorf, truncf.
44102
44103 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44104
44105         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44106
44107         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44108         __extern_always_inline.
44109         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44110         32-bit.
44111
44112 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44113
44114         * elf/rtld.c (dl_main): Also relocate in dependency order when
44115         doing symbol dependency testing.
44116
44117 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44118
44119         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44120         Always define `refsym'.
44121
44122 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44123
44124         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44125         (__FD_ELT): Renamed from __FDELT.
44126         * misc/bits/select2.h (__FD_ELT): Likewise.
44127         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44128         __FD_MASK instead of __FDELT, __FDMASK.
44129         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44130         Likewise.
44131         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44132         Likewise.
44133
44134         * elf/Makefile (gen-ldd): Fix pattern.
44135
44136         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44137         (init_tls): Likewise.
44138
44139 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44140
44141         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44142
44143 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44144
44145         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44146         `struct cmsghdr *' instead of `void *'.
44147         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44148         Likewise.
44149
44150 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44151
44152         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44153         if non-absolute.
44154         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44155         ldd_rewrite_script.
44156
44157 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44158
44159         * configure.in: Remove --with-tls option.
44160         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44161         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44162         out in case it is missing.
44163         * sysdeps/ia64/elf/configure.in: Likewise.
44164         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44165         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44166         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44167         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44168         * sysdeps/sh/elf/configure.in: Likewise.
44169         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44170         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44171         * sysdeps/x86_64/elf/configure.in: Likewise.
44172         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44173         * sysdeps/mach/hurd/tls.h: Likewise.
44174
44175         [BZ #13067]
44176         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44177
44178         [BZ #13090]
44179         * configure.in: Fix use of AC_INIT.
44180
44181         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44182
44183 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44184
44185         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44186         __set_errno.
44187         * malloc/hooks.c: Likewise.
44188
44189         [BZ #11929]
44190         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44191         variables statically.
44192         (narenas): Initialize.
44193         (list_lock): Initialize.
44194         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44195         initializtion of main_arena and list_lock.  Small cleanups.
44196         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44197         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44198         Add initializers to main_arena and mp_.
44199         (malloc_state): Remove pagesize member.  Change all users to use
44200         GLRO(dl_pagesize).
44201
44202         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44203         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44204         is always initialized.
44205
44206         * malloc/malloc.c: Removed unused configurations and dead code.
44207         * malloc/arena.c: Likewise.
44208         * malloc/hooks.c: Likewise.
44209         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44210
44211         * include/tls.h: Removed.  USE___THREAD must always be defined.
44212         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44213         * elf/dl-libc.c: Likewise.
44214         * elf/dl-tsd.c: Likewise.
44215         * include/errno.h: Likewise.
44216         * include/netdb.h: Likewise.
44217         * include/resolv.h: Likewise.
44218         * inet/herrno-loc.c: Likewise.
44219         * inet/herrno.c: Likewise.
44220         * malloc/arena.c: Likewise.
44221         * malloc/hooks.c: Likewise.
44222         * malloc/malloc.c: Likewise.
44223         * resolv/res-state.c: Likewise.
44224         * resolv/res_libc.c: Likewise.
44225         * sysdeps/i386/dl-machine.h: Likewise.
44226         * sysdeps/ia64/dl-machine.h: Likewise.
44227         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44228         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44229         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44230         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44231         * sysdeps/sh/dl-machine.h: Likewise.
44232         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44233         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44234         * sysdeps/unix/i386/sysdep.S: Likewise.
44235         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44236         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44237         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44238         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44239         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44240         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44241         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44243         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44245         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44246         * sysdeps/x86_64/dl-machine.h: Likewise.
44247         * tls.make.c: Likewise.
44248
44249         * configure.in: Remove --with-__thread option.  Make tests for
44250         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44251         tls_model attribute fail if no support is available.  Remove
44252         USE_IN_LIBIO.
44253         * Makeconfig: Adjust for dropped configure option.  All features are
44254         now mandatory.
44255         * Makerules: Likewise.
44256         * Versions.def: Likewise.
44257         * argp/argp-fmtstream.c: Likewise.
44258         * argp/argp-fmtstream.h: Likewise.
44259         * argp/argp-help.c: Likewise.
44260         * assert/assert.c: Likewise.
44261         * config.h.in: Likewise.
44262         * config.make.in: Likewise.
44263         * configure: Likewise.
44264         * configure.in: Likewise.
44265         * csu/Versions: Likewise.
44266         * csu/init.c: Likewise.
44267         * elf/tst-audit2.c: Likewise.
44268         * elf/tst-tls10.c: Likewise.
44269         * elf/tst-tls10.h: Likewise.
44270         * elf/tst-tls11.c: Likewise.
44271         * elf/tst-tls12.c: Likewise.
44272         * elf/tst-tls14.c: Likewise.
44273         * elf/tst-tlsmod11.c: Likewise.
44274         * elf/tst-tlsmod12.c: Likewise.
44275         * elf/tst-tlsmod13.c: Likewise.
44276         * elf/tst-tlsmod13a.c: Likewise.
44277         * elf/tst-tlsmod14a.c: Likewise.
44278         * elf/tst-tlsmod15b.c: Likewise.
44279         * elf/tst-tlsmod16a.c: Likewise.
44280         * elf/tst-tlsmod16b.c: Likewise.
44281         * elf/tst-tlsmod7.c: Likewise.
44282         * elf/tst-tlsmod8.c: Likewise.
44283         * elf/tst-tlsmod9.c: Likewise.
44284         * gmon/gmon.c: Likewise.
44285         * grp/fgetgrent_r.c: Likewise.
44286         * grp/putgrent.c: Likewise.
44287         * hurd/fopenport.c: Likewise.
44288         * include/libc-symbols.h: Likewise.
44289         * include/tls.h: Likewise.
44290         * intl/gettextP.h: Likewise.
44291         * intl/loadinfo.h: Likewise.
44292         * locale/global-locale.c: Likewise.
44293         * locale/localeinfo.h: Likewise.
44294         * mach/devstream.c: Likewise.
44295         * malloc/arena.c: Likewise.
44296         * malloc/set-freeres.c: Likewise.
44297         * misc/err.c: Likewise.
44298         * misc/getttyent.c: Likewise.
44299         * misc/mntent_r.c: Likewise.
44300         * posix/getopt.c: Likewise.
44301         * posix/wordexp.c: Likewise.
44302         * pwd/fgetpwent_r.c: Likewise.
44303         * resolv/Versions: Likewise.
44304         * resolv/res_hconf.c: Likewise.
44305         * shadow/fgetspent_r.c: Likewise.
44306         * shadow/putspent.c: Likewise.
44307         * stdio-common/printf_fphex.c: Likewise.
44308         * stdio-common/tmpfile.c: Likewise.
44309         * stdlib/abort.c: Likewise.
44310         * stdlib/fmtmsg.c: Likewise.
44311         * sunrpc/auth_unix.c: Likewise.
44312         * sunrpc/clnt_perr.c: Likewise.
44313         * sunrpc/clnt_tcp.c: Likewise.
44314         * sunrpc/clnt_udp.c: Likewise.
44315         * sunrpc/clnt_unix.c: Likewise.
44316         * sunrpc/openchild.c: Likewise.
44317         * sunrpc/svc_simple.c: Likewise.
44318         * sunrpc/svc_tcp.c: Likewise.
44319         * sunrpc/svc_udp.c: Likewise.
44320         * sunrpc/svc_unix.c: Likewise.
44321         * sunrpc/xdr.c: Likewise.
44322         * sunrpc/xdr_array.c: Likewise.
44323         * sunrpc/xdr_rec.c: Likewise.
44324         * sunrpc/xdr_ref.c: Likewise.
44325         * sunrpc/xdr_stdio.c: Likewise.
44326
44327 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44328
44329         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44330
44331 2011-07-03  Andreas Jaeger  <aj@suse.de>
44332
44333         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44334         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44335         regenerate with gen-libm-tests.pl.
44336
44337 2010-05-12  Petr Baudis  <pasky@suse.cz>
44338
44339         [BZ #11589]
44340         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44341         around j0() zero points by switching to j1().
44342         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44343         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44345         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44346
44347 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44348
44349         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44350         instead of 0.
44351         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44352         instead of 0.
44353         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44354         Patch in part by Pavel Roskin <proski@gnu.org>.
44355
44356         [BZ #13138]
44357         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44358         realloc.
44359         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44360         Free memory block if necessary.
44361
44362         [BZ #12847]
44363         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44364         be NULL.  Don't lock in this case.
44365
44366 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44367
44368         * elf/elf.h (ELFOSABI_GNU): New macro.
44369         (ELFOSABI_LINUX): Define to that.
44370
44371 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44372
44373         * string/strncat.c (strncat): Undef the symbol in case it has been
44374         defined in bits/string.h.
44375
44376 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44377
44378         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44379
44380         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44381         link map.
44382
44383 2011-08-17  Andreas Jaeger  <aj@suse.de>
44384
44385         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44386
44387 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44388             Ian Lance Taylor  <iant@google.com>
44389
44390         * math/libm-test.inc (lround_test): New testcase.
44391         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44392
44393 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44394
44395         * Makefile: Remove support for automatic cvs check-ins.
44396         * Makerules: Likewise.
44397         * config.make.in: Likewise.
44398         * configure.in: Likewise.
44399         * intl/Makefile: Likewise.
44400         * locale/Makefile: Likewise.
44401         * po/Makefile: Likewise.
44402         * posix/Makefile: Likewise.
44403         * sysdeps/gnu/Makefile: Likewise.
44404         * sysdeps/mach/hurd/Makefile: Likewise.
44405         * sysdeps/sparc/sparc32/Makefile: Likewise.
44406
44407         [BZ #13118]
44408         * posix/Makefile (bug-regex32-ENV): Define.
44409         Patch by John Stanley <jpsinthemix@verizon.net>.
44410
44411         * misc/Makefile (headers): Add bits/select2.h.
44412         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44413         * misc/bits/select2.h: New file.
44414         * include/bits/select2.h: New file.
44415         * debug/Makefile (routines): Add fdelt_chk.
44416         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44417         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44418         FD_ISSET.
44419         * debug/fdelt_chk.c: New file.
44420
44421         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44422         * wcsmbs/test-wmemcmp.c: Likewise.
44423         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44424         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44425
44426 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44427
44428         * string/Makefile (strop-tests): Add memcmp.
44429         * string/test-wmemcmp.c: New file.
44430         * string/test-memcmp.c: Add wmemcmp support.
44431
44432 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44433
44434         [BZ #13153]
44435         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44436         2011-07-19 change.
44437
44438         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44439         garbage value in a __mach_port_mod_refs call in the cases of the
44440         task-self and thread-self ports.
44441
44442 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44443
44444         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44445
44446 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44447
44448         * elf/dl-load.c (lose): Check for non-null L.
44449
44450 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44451
44452         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44453
44454         * elf/dl-libc.c (dlerror_run): Pass back error code from
44455         dl_catch_error.
44456
44457         [BZ #13123]
44458         * elf/dl-load.c (lose): Free l_origin if it is valid.
44459
44460         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44461         names.
44462         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44463         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44464         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44465         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44466         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44467         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44468
44469 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44470
44471         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44472         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44473         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44474         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44475         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44476         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44477         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44478         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44479         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44480         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44481
44482 2011-08-15  Alan Modra  <amodra@gmail.com>
44483
44484         [BZ #13092]
44485         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44486         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44487         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44488         ppc_mcount to static-only-routines.
44489         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44490         __mcount_internal.
44491         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44492         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44493
44494 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44495
44496         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44497         for finite and infinity parameters.
44498
44499 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44500
44501         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44502         and add nop instructions for throughput optimization.
44503         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44504
44505 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44506
44507         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44508         aligned copy for power7 with vector-scalar instructions.
44509         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44510
44511 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44512
44513         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44514         AVX check.
44515
44516 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44517
44518         [BZ #13144]
44519         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44520         last change.
44521
44522 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44523
44524         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44525         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44526         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44527         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44528         clock_gettime.
44529
44530 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44531
44532         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44533         Forgot to demangle the pointer.
44534
44535         * sysdeps/i386/sysdep.h: Define atom_text_section.
44536         * sysdeps/x86_64/sysdep.h: Likewise.
44537         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44538         section with atom_text_section.
44539         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44540         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44541         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44542         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44543         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44544
44545         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44546         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44547         already be defined.  Change to take two parameters and don't assign
44548         result to variable.  Adjust all users.
44549         Define INTERNAL_GETTIME if not already defined.
44550         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44551         call.
44552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44553         HAVE_CLOCK_GETTIME_VSYSCALL.
44554         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44555
44556         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44557         gettimeofday vsyscall, just use time.
44558
44559 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44560
44561         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44562         <errno.h>.
44563
44564 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44565
44566         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44567         syscall on x86-64.
44568         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44569         syscall.
44570         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44571         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44572         syscall if possible.
44573
44574 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44575
44576         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44577         e_ident.  Don't pass to find_mapsXX.
44578         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44579
44580 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44581
44582         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44583         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44584         * sysdeps/x86_64/multiarch/strchr.S: Update.
44585         Check bit_slow_BSF bit.
44586         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44587         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44588         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44589
44590 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44591
44592         [BZ #13134]
44593         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44594         before glibc 2.15.
44595         (tryshell): Define.
44596         (__spawni): Change last parameter to be flag.  Test
44597         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44598         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44599         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44600         * posix/spawni.c: Likewise.
44601         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44602         * posix/spawnp.c: Likewise.  Change normal version to use
44603         SPAWN_XFLAGS_USE_PATH.
44604         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44605         SPAWN_XFLAGS_TRY_SHELL.
44606
44607         [BZ #13150]
44608         * posix/glob.h: Remove gcc 1.x support.
44609
44610         [BZ #13068]
44611         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44612
44613 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44614
44615         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44616         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44617         strrchr-sse2-bsf
44618         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44619         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44620         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44621         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44622         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44623         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44624
44625 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44626
44627         * sysdeps/x86_64/wcscmp.S: New file.
44628
44629         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44630         wcscmp-c wcscmp-sse2
44631         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44632         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44633         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44634         * wcsmbs/wcscmp.c: Allow renaming.
44635
44636 2011-09-05  David S. Miller  <davem@davemloft.net>
44637
44638         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44639         stack slot, rather than the struct return pointer slot.
44640         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44641         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44643         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44644
44645 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44646
44647         * po/ja.po: Update from translation team.
44648
44649         [BZ #13144]
44650         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44651         kernel in 64-bit binaries.
44652
44653 2011-09-01  David S. Miller  <davem@davemloft.net>
44654
44655         * elf/elf.h (HWCAP_SPARC_*): Move to..
44656         * sysdeps/sparc/sysdep.h: this new file and add new values.
44657         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44658         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44659         _DL_HWCAP_COUNT to 24.
44660         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44661         entries.
44662         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44663         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44664         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44665         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44666         instead of magic constants.
44667         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44668
44669 2011-08-31  David S. Miller  <davem@davemloft.net>
44670
44671         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44672         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44673         Reimplement to do errno handling inline.
44674         (SYSCALL_ERROR_HANDLER): New macro.
44675         (__SYSCALL_STRING): Do not do errno handling in asm.
44676         (__CLONE_SYSCALL_STRING): Delete.
44677         (__INTERNAL_SYSCALL_STRING): Delete.
44678         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44679         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44680         (PSEUDO): Reimplement to do errno handling inline.
44681         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44682         (SYSCALL_ERROR_HANDLER): New macro.
44683         (__SYSCALL_STRING): Do not do errno handling in asm.
44684         (__CLONE_SYSCALL_STRING): Delete.
44685         (__INTERNAL_SYSCALL_STRING): Delete.
44686         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44687         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44688         i386.
44689         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44690         (inline_syscall*): Add 'err' argument.
44691         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44692         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44693         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44694         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44695
44696         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44697         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44698
44699 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44700
44701         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44702
44703 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44704
44705         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44706         directive.
44707
44708 2011-08-24  David S. Miller  <davem@davemloft.net>
44709
44710         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44711
44712 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44713
44714         * elf/Makefile: Add rules to build and run unload8 test.
44715         * elf/unload8.c: New file.
44716         * elf/unload8mod1.c: New file.
44717         * elf/unload8mod1x.c: New file.
44718         * elf/unload8mod2.c: New file.
44719         * elf/unload8mod3.c: New file.
44720
44721         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44722         it wasn't used.
44723
44724 2011-08-23  David S. Miller  <davem@davemloft.net>
44725
44726         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44727         subtract stack bias.
44728         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44729         %sp not %fp in calculations.
44730         (_JMPBUF_UNWINDS_ADJ): Likewise.
44731
44732         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44733         (aio_suspend): Call it to force an exception region around the
44734         AIO_MISC_WAIT() invocation.
44735
44736 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44737
44738         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44739         backslash.
44740
44741 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44742
44743         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44744         protection macro.
44745         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44746         and <dl-machine.h>.
44747         (Elf64_FuncDesc): Remove.
44748
44749 2011-08-22  David S. Miller  <davem@davemloft.net>
44750
44751         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44752         sigaltstack check, add missing cfi directives.
44753         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44754         missing cfi directives, and sigaltstack handling.
44755
44756 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44757
44758         [BZ #11724]
44759         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44760         object is seen twice.
44761         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44762
44763         * elf/Makefile (distribute): Add tst-initorder2.c.
44764         (tests): Add tst-initorder2.
44765         (modules-names): Add tst-initorder2a tst-initorder2b
44766         tst-initorder2c tst-initorder2d.  Add rules to build them.
44767         ($(objpfx)tst-initorder2.out): New rule.
44768         * elf/tst-initorder2.c: New file.
44769         * elf/tst-initorder2.exp: New file.
44770
44771 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44772
44773         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44774
44775         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44776         dependencies back to end of function.
44777
44778         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44779         $(elfobjdir)/ld.so.
44780
44781 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44782
44783         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44784         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44785         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44786         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44787         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44788         of __vdso_gettimeofday.
44789         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44790         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44791         attribute_hidden.
44792         (_libc_vdso_platform_setup): Remove initialization of
44793         __vdso_gettimeofday and __vdso_time.
44794
44795 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44796
44797         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44798         and fgetc_unlocked.
44799         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44800         getc_unlocked.
44801
44802         * elf/dl-open.c (add_to_global): Report additions to the global scope
44803         for LD_DEBUG=scopes.
44804         (dl_open_worker): Also print scope of newly loaded dependencies.
44805         (_dl_show_scope): Indicate if there is no scope.
44806
44807         [BZ #13114]
44808         * stdio-common/Makefile (tests): Add bug24.
44809         * stdio-common/bug24.c: New file.
44810
44811 2011-08-19  Andreas Jaeger  <aj@suse.de>
44812
44813         [BZ #13114]
44814         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44815         non-existant file when using close-on-exec mode.
44816
44817 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44818
44819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44820         the very first instruction.
44821
44822         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44823         the CFI state in the end.
44824         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44825         inclusion of dl-trampoline.h.
44826         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44827
44828 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44829
44830         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44831         expectations for long double.
44832
44833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44834         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44835
44836 2011-08-14  David S. Miller  <davem@davemloft.net>
44837
44838         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44839         artificual limit depends upon the system page size.
44840
44841 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44842
44843         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44844         * resolv/Makefile: Define CFLAGS-libresolv.
44845
44846 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44847
44848         * nss/makedb.c (compute_tables): Make variables used in nested
44849         function static.
44850
44851 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44852
44853         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44854         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44855         if buffer was too small.
44856
44857         * elf/pldd.c (main): Attach to all threads in the process.
44858         Rewrite /proc handling to use *at functions.
44859
44860 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44861
44862         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44863         specifies first scope to show.
44864         (dl_open_worker): Update callers.  Move printing scope of new
44865         object to before the relocation.
44866         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44867         * sysdeps/generic/ldsodefs.h: Update declaration.
44868
44869         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44870         string for the scope number.
44871
44872 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44873
44874         * nscd/servicescache.c (cache_addserv): Make sure written is always
44875         initialized.
44876
44877 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44878
44879         * sysdeps/i386/i486/bits/atomic.h
44880         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44881         statement expression, so as to suppress "set but not used" warning.
44882         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44883
44884         * string/strncat.c (STRNCAT): Use prototype definition.
44885
44886         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44887         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44888         -Iprograms here.
44889         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44890         (localedef-modules): Add localedef.
44891         (locale-modules): Add locale.
44892
44893         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44894         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44895         to avoid a warning.
44896
44897 2011-08-14  David S. Miller  <davem@davemloft.net>
44898
44899         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44900         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44901
44902 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44903
44904         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44905         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44906         * elf/rtld.c (dl_main): Set l_name of vDSO.
44907         Call _dl_show_scope when DL_DEBUG_SCOPES.
44908         (process_dl_debug): Recognize scopes flag and also set it for all.
44909         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44910         Declare _dl_show_scope.
44911
44912         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44913         (do_dlopen): Pass caller_dlopen to dl_open.
44914         (__libc_dlopen_mode): Initialize caller_dlopen.
44915
44916         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44917         of libc.  Make tolower call locale-independent.  Optimize a bit by
44918         using isdigit instead of isalnum.
44919         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44920
44921 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44922
44923         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44924         was a dependency or dynamically loaded.
44925
44926 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44927
44928         * intl/l10nflist.c: Allow architecture-specific pop function.
44929         * sysdeps/x86_64/l10nflist.c: New file.
44930
44931         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44932         classification.
44933
44934 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44935
44936         * include/dirent.h: Add libc_hidden_proto for scandirat and
44937         scandirat64.  Don't declare __scandirat64.
44938         * dirent/scandirat.c: Add libc_hidden_def.
44939         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44940         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44941
44942 2011-08-10  David S. Miller  <davem@davemloft.net>
44943
44944         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44945         enum.
44946         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44947         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44948         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44949
44950 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44951
44952         * Versions.def [libc]: Add GLIBC_2.15.
44953         * dirent/Makefile (routines): Add scandirat and scandirat64.
44954         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44955         GLIBC_2.15.
44956         * dirent/dirent.h: Declare scandirat and scandirat64.
44957         * dirent/scandirat.c: New file.
44958         * dirent/scandirat64.c: New file.
44959         * sysdeps/wordsize-64/scandirat.c: New file.
44960         * sysdeps/wordsize-64/scandirat64.c: New file.
44961         * dirent/opendir.c: Define opendirat.
44962         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44963         using scandirat.
44964         * dirent/scandir64.c: Adjust for scandir.c change.
44965         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44966         __scandirat64, and __scandir_cancel_handler.
44967         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44968         additional parameter and use openat instead of open (outside of ld.so).
44969         Add new __opendir as wrapper around __opendirat.
44970         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44971         here without requiring old scandirat implementation.
44972
44973 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44974
44975         * dirent/scandir.c (cancel_handler): Renamed to
44976         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44977         defined.  Adjust users.
44978         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44979         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44980
44981 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44982
44983         * string/test-string.h (IMPL): Use __STRING to expand name and then
44984         stringify it.
44985
44986         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44987         of cleanups.
44988
44989 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44990
44991         * string/Makefile: Update.
44992         (strop-tests): Append strncat.
44993         * string/test-wcscmp.c: New file.
44994         New comprehensive test for wcscmp.
44995         * string/test-strcmp.c: Update.
44996         (WIDE): New define.
44997
44998 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44999
45000         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45001         line.
45002
45003 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45004
45005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45006         encoding to ACE if AI_IDN.
45007
45008 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45009
45010         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45011         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45012
45013 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45014
45015         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45016         Fix overflow bug in strncat.
45017         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45018
45019         * string/test-strncat.c: Update.
45020         Add new tests for checking overflow bugs.
45021
45022 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45023
45024         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45025         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45026         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45027         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45028         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45029         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45030         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45031         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45032         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45033
45034         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45035         (USE_AS_STRCAT): Define.
45036         Add strcat and strncat support.
45037         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45038
45039 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45040
45041         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45042         __n bigger than INT_MAX+1.
45043         (__strncmp_g): Likewise.
45044
45045 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45046
45047         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45048         * libio/stido.h: Likewise.
45049
45050         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45051         (AF_NFC): Define.
45052         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45053         (AF_NFC): Define.
45054
45055         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45056         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45057         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45058         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45059         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45060
45061         [BZ #13021]
45062         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45063         installed.
45064
45065         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45066         typo.
45067         (_dl_x86_64_save_sse): Likewise.
45068
45069 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45070
45071         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45072         OSXSAVE.
45073         (_dl_x86_64_save_sse): Likewise.
45074
45075         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45076
45077         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45078
45079 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45080
45081         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45082         change.
45083         (_dl_x86_64_save_sse): Use correct AVX check.
45084
45085 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45086
45087         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45088         bug in strncpy/strncat.
45089         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45090
45091 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45092
45093         * string/tester.c (test_strcat): Add tests for different alignments
45094         of source and destination.
45095         (test_strncat): Likewise.
45096
45097 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45098
45099         [BZ #12852]
45100         * posix/glob.c (glob): Check passed in values before using them in
45101         expressions to avoid some overflows.
45102         (glob_in_dir): Likewise.
45103
45104         [BZ #13007]
45105         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45106         check for AVX enablement so that we don't crash with old kernels and
45107         new hardware.
45108         * elf/tst-audit4.c: Add same checks here.
45109         * elf/tst-audit6.c: Likewise.
45110
45111         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45112
45113 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45114
45115         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45116
45117 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45118
45119         * po/cs.po: Update from translation team.
45120         * po/bg.po: Likewise.
45121
45122 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45123
45124         * misc/sys/cdefs.h: Add support for const attribute.
45125         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45126         to gnu_dev_{major,minor,makedev} functions.
45127
45128 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45129
45130         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45131
45132 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45133
45134         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45135         strlen results.
45136
45137 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45138
45139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45140         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45141         register in order to avoid conflicts with the soft frame pointer
45142         being held in r11 when necessary.
45143         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45144         (INTERNAL_VSYSCALL_NCS): Likewise.
45145
45146 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45147
45148         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45149         * elf/dl-fini.c (_dl_fini): Adjust caller.
45150         * elf/dl-close.c (_dl_close_worker): Likewise.
45151         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45152
45153 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45154
45155         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45156         "aux_cache->nlibs < 0".
45157
45158         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45159         in the reload-count case.
45160
45161 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45162
45163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45164         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45165         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45166         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45167         * sysdeps/x86_64/multiarch/strcat.S: New file.
45168         * sysdeps/x86_64/multiarch/strncat.S: New file.
45169         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45170         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45171         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45172         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45173         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45174         (USE_AS_STRCAT): Define.
45175         Add strcat and strncat support.
45176         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45177         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45178         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45179         * string/strncat.c: Update.
45180         (USE_AS_STRNCAT): Define.
45181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45182         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45183         and i7.
45184         * sysdeps/x86_64/multiarch/init-arch.h
45185         (bit_Prefer_PMINUB_for_stringop): New.
45186         (index_Prefer_PMINUB_for_stringop): Likewise.
45187         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45188         bit_Prefer_PMINUB_for_stringop.
45189
45190 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45191
45192         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45193         buffer64.
45194         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45195         of casting of buffer.
45196         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45197         buffer32 and buffer64.
45198         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45199         writes instead of casting of buffer.
45200         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45201         buffer32.
45202         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45203         casting of buffer.
45204
45205 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45206
45207         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45208
45209 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45210
45211         * nscd/nscd.c (termination_handler): Don't do anything for a database
45212         if it has not yet been initialized.
45213
45214 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45215
45216         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45217
45218 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45219
45220         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45221
45222 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45223
45224         * po/nl.po: Update from translation team.
45225         * po/sv.po: Likewise.
45226
45227 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45228
45229         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45230         now disallowed by GCC.
45231
45232         * configure.in (use-default-link): Default to yes if a test -shared
45233         link meets our qualifications.
45234         * configure: Regenerated.
45235
45236         * config.make.in (output-format): New variable.
45237         * configure.in: Check for ld --print-output-format support.
45238         * configure: Regenerated.
45239         * Makerules ($(common-objpfx)format.lds)
45240         [$(output-format) != unknown]: Just use $(output-format),
45241         instead of the linker-script munging.
45242
45243 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45244
45245         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45246         of $(common-objpfx)shlib.lds.
45247         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45248
45249         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45250         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45251
45252         * configure.in (-z relro check): Adjust test code to add a large
45253         writable data section after it.
45254         * configure: Regenerated.
45255
45256 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45257
45258         * configure.in (-z relro check): Fix test code to make the variable
45259         truly const.
45260         * configure: Regenerated.
45261
45262 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45263
45264         * nscd/nscd.h (struct traced_file): Define.
45265         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45266         elements.  Add traced_files.
45267         (inotify_fd): Declare.
45268         (register_traced_file): Declare.
45269         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45270         (inotify_fd): Export.
45271         (resolv_conf_descr): Remove.
45272         (nscd_init): Move inotify descriptor creation to main.
45273         Don't register files for notification here.
45274         (register_traced_file): New function.
45275         (invalidate_cache): Don't use reset_res to determine whether to call
45276         res_init, go through the list of registered files.
45277         (main_loop_poll): The inotify descriptors are now stored in the
45278         structures for the traced files.
45279         (main_loop_epoll): Likewise
45280         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45281         to __nss_disable_nscd.
45282         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45283         for a database anymore.  Check the records for all the registered
45284         files instead.
45285         * nss/Makefile (libnss_files-routines): Add files-init.
45286         (libnss_db-routines): Add db-init.
45287         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45288         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45289         * nss/nss_db/db-init.c: New file.
45290         * nss/nss_files/files-init.c: New file.
45291         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45292         __nss_lookup_function.
45293         (__nss_lookup_function): Call nss_load_library.
45294         (nss_load_all_libraries): New function.
45295         (__nss_disable_nscd): Take parameter with callback function for files
45296         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45297         used for the cached services.
45298         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45299         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45300         options for features to all the files in nscd.
45301
45302         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45303
45304 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45305
45306         * csu/elf-init.c (__libc_csu_init): Comment typo.
45307
45308 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45309
45310         * po/pl.po: Update from translation team.
45311         * po/ja.po: Likewise.
45312         * po/ru.po: Likewise.
45313         * po/ko.po: Likewise.
45314         * po/fr.po: Likewise.
45315
45316 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45317
45318         * configure.in (.ctors/.dtors header and trailer check):
45319         Use an empirical test on a built program.
45320         * configure: Regenerated.
45321
45322         * configure.in (-z relro check): Use an empirical test on a built DSO.
45323         Detect, but do not require, on ia64.
45324         * configure: Regenerated.
45325
45326         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45327         Update tests that use readelf to use $READELF instead.
45328         * configure: Regenerated.
45329
45330 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45331
45332         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45333         if the result is not used.
45334
45335 2011-07-05  Andreas Jaeger  <aj@suse.de>
45336
45337         [BZ#9696]
45338         * stdlib/tst-strtod.c: Add testcase.
45339
45340 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45341
45342         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45343         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45344         The latter has a higher limit.  Take additional parameter to pass to
45345         the new function.
45346         (__pathconf): Pass file to __statfs_link_max.
45347         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45348         __statfs_link_max.
45349         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45350         __statfs_link_max.
45351
45352         [BZ #12868]
45353         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45354         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45355         Handle Lustre.
45356         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45357         (__statfs_filesize_max): Likewise.
45358         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45359
45360 2011-07-05  Andreas Jaeger  <aj@suse.de>
45361
45362         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45363
45364 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45365
45366         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45367         `status' variable.
45368         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45369         Likewise.
45370
45371 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45372
45373         * Makefile (strop-tests): Add strncat.
45374         * string/test-strncat.c: New file.
45375
45376 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45377
45378         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45379
45380 2011-06-21  Andreas Jaeger  <aj@suse.de>
45381
45382         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45383         Copy rule from iconvdata/Makefile.
45384
45385 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45386
45387         [BZ #12922]
45388         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45389         but no long options are defined, just return 'W'.
45390
45391 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45392
45393         [BZ #9696]
45394         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45395
45396 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45397
45398         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45399         netgroups to read.
45400         (innetgr): Likewise.
45401
45402 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45403
45404         * config.make.in (install_root): Default to $(DESTDIR).
45405
45406 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45407
45408         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45409
45410 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45411
45412         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45413
45414         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45415         containing directory rather than embedding absolute directory names.
45416
45417         * scripts/check-local-headers.sh: Rewritten using awk.
45418         Match by word, not by line.  Print error messages for matches.
45419         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45420
45421         * Makerules [shlib-lds-flags empty]:
45422         ($(common-objpfx)libc_pic.opts): New target.
45423         ($(common-objpfx)libc_pic.os.clean): New target.
45424         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45425
45426         * config.make.in (OBJCOPY): New variable.
45427         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45428         * configure: Regenerated.
45429
45430         * config.make.in (use-default-link): New variable.
45431         * configure.in (use_default_link): Grok --with-default-link to set it.
45432         * configure: Regenerated.
45433         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45434         (shlib-lds, shlib-lds-flags): Define to empty.
45435
45436         * Makerules (shlib-lds): New variable.
45437         (shlib-lds-flags): New variable.
45438         (build-shlib, build-moduile, build-module-asneeded): Use it.
45439         ($(common-objpfx)libc.so): Use $(shlib-lds).
45440         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45441         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45442
45443         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45444         DT_FLAGS/DT_FLAGS_1 with zero flags.
45445
45446         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45447         linker script munging.
45448
45449 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45450
45451         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45452         as 128-bit value.
45453         * crypt/sha512.c (sha512_process_block): Perform total addition using
45454         128-bit if possible.
45455         (__sha512_finish_ctx): Likewise.
45456         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45457         as 64-bit value.
45458         * crypt/sha256.c (SWAP64): Define.
45459         (sha256_process_block): Perform total addition using 64-bit if
45460         possible.
45461         (__sha256_finish_ctx): Likewise.
45462
45463 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45464
45465         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45466         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45467         * nscd/hstcache.c (cache_addhst): Likewise.
45468         * nscd/grpcache.c (cache_addgr): Likewise.
45469         * nscd/aicache.c (addhstaiX): Likewise
45470         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45471
45472 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45473
45474         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45475         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45476         * nscd/hstcache.c (cache_addhst): Likewise.
45477         * nscd/grpcache.c (cache_addgr): Likewise.
45478         * nscd/aicache.c (addhstaiX): Likewise
45479
45480 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45481
45482         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45483         domain only when needed.
45484
45485 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45486
45487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45488         is always restored.
45489
45490 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45491
45492         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45493         are re-adding the entry.
45494         * nscd/servicescache.c (cache_addserv): Likewise.
45495
45496 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45497
45498         * sysdeps/generic/dl-irel.h: fix protection against multiple
45499         inclusions.
45500         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45501
45502 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45503
45504         [BZ #12935]
45505         * malloc/memusage.sh: Fix quoting in message.
45506         * debug/xtrace.sh: Likewise.
45507
45508         * configure.in: Remove support for --experimental-malloc option, make
45509         it the default.
45510         * config.make.in: Likewise.
45511         * malloc/Makefile: Likewise.
45512
45513 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45514
45515         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45516         two-byte characters.
45517
45518 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45519
45520         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45521         AC_CACHE_CHECK invocation.
45522         * configure: Regenerated.
45523
45524         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45525
45526 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45527
45528         [BZ #12350]
45529         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45530         bit from old_res_options.
45531
45532         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45533
45534         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45535         value type for setfct.
45536
45537 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45538
45539         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45540         __gettimeofday instead of gettimeofday.
45541
45542 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45543
45544         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45545
45546 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45547
45548         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45549
45550         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45551         info.
45552
45553 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45554
45555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45556         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45557         strcpy-sse2-unaligned strncpy-sse2-unaligned
45558         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45559         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45560         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45561         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45562         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45563         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45564         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45565         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45566         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45567         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45568         (STRCPY): Support SSE2 and SSSE3 versions.
45569
45570 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45571
45572         [BZ #12874]
45573         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45574         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45575         kernels which artificially limit size of requests.
45576
45577 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45578
45579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45580         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45581         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45582         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45583         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45584         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45585         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45586         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45587         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45588         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45589         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45590         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45591         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45592         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45593         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45595         Enable unaligned load optimization for Intel Core i3, i5 and i7
45596         processors.
45597         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45598         Define.
45599         (index_Fast_Unaligned_Load): Define.
45600         (HAS_FAST_UNALIGNED_LOAD): Define.
45601
45602 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45603
45604         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45605
45606 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45607
45608         [BZ #12907]
45609         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45610         until it is clear that the information is realy needed.
45611         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45612
45613 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45614
45615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45616
45617 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45618
45619         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45620         /sys/devices/system/cpu/online if it is usable.
45621
45622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45623         reading the information from the /proc filesystem to once a second.
45624
45625 2011-06-21  Andreas Jaeger  <aj@suse.de>
45626
45627         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45628         NULL after inclusion of kernel headers.
45629
45630 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45631
45632         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45633         calls to internal_setent.
45634
45635         [BZ #12885]
45636         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45637         addresses using gethostbyname4_r ignore IPv4 addresses.
45638
45639         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45640         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45641
45642         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45643
45644 2011-06-20  David S. Miller  <davem@davemloft.net>
45645
45646         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45647         inclusions.
45648         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45649
45650         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45651         (elf_irel): Use it.
45652         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45653         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45654         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45655         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45656         * sysdeps/x86_64/dl-irel.h: Likewise.
45657
45658         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45659         * elf/dl-sym.c: Likewise.
45660
45661 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45662
45663         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45664         need to dereference resplen2.
45665
45666 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45667
45668         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45669
45670 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45671
45672         * Makeconfig: Define vardbdir and inst_vardbdir.
45673         * nss/Makefile: Add rules to install db-Makefile.
45674
45675         * nss/nss_db/db-XXX.c: Cleanup.
45676
45677         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45678         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45679         GLIBC_PRIVATE.
45680         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45681         * nss/makedb.c: Implement -g option to specify that value strings
45682         are generated and should not be added to table iterated over for
45683         get*ent calls.
45684         * nss/nss_db/db-initgroups.c: New file.
45685
45686         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45687         interface.
45688
45689         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45690         (internal_getgrouplist): Adjust to name change.
45691         Update use_initgroups_entry if this is not the first call.
45692         * nss/databases.def: Add initgroups entry.
45693
45694         * nss/makedb.c (compute_tables): Check result of multiple hash table
45695         sizes to minimize maximum chain length.
45696
45697 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45698
45699         * Versions.def: Add entry for libnss_db.
45700         * shlib-versions: Likewise.
45701         * nss/Makefile: Add rules to build libnss_db.
45702         * nss/Versions: Add libnss_db information.  Organize libnss_files
45703         entries better.
45704         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45705         makedb progra.  Some minor improvements to generate smaller files.
45706         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45707         here from...
45708         * nss/makedb.c: ...here.
45709         Improve database format to be smaller and require less memory at
45710         runtime.
45711         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45712         db anymore.
45713         * nss/nss_db/db-netgrp.c: Likewise.
45714         * nss/nss_db/db-open.c: Likewise.
45715         * nss/nss_files/flies-XXX.x: Adjust comments.
45716         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45717         * nss/nss_files/files-grp.c: Likewise.
45718         * nss/nss_files/files-hosts.c: Likewise.
45719         * nss/nss_files/files-network.c: Likewise.
45720         * nss/nss_files/files-proto.c: Likewise.
45721         * nss/nss_files/files-pwd.c: Likewise.
45722         * nss/nss_files/files-rpc.c: Likewise.
45723         * nss/nss_files/files-service.c: Likewise.
45724         * nss/nss_files/files-sgrp.c: Likewise.
45725         * nss/nss_files/files-spwd.c: Likewise.
45726         * nss/nss_db/db-alias.c: Removed.
45727         * nss/nss_db/dummy-db.h: Removed.
45728
45729 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45730
45731         * nss/makedb.c: Rewritten to not use database library.
45732         * nss/Makefile: Update to build new makedb program.
45733
45734 2011-06-14  Andreas Jaeger  <aj@suse.de>
45735
45736         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45737         memset declaration.
45738
45739 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45740
45741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45742         tmpbuf.
45743
45744 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45745
45746         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45747         * elf/Makefile ($(objpfx)ld.so): Likewise.
45748
45749         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45750         Don't list ld.so twice in dependencies.
45751
45752         * posix/bug-regex31.c: Include <stdlib.h>.
45753
45754         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45755
45756         * nis/nss_compat/compat-spwd.c
45757         (getspent_next_nss_netgr): Remove unused variable.
45758         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45759
45760         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45761         nonmembers" output to use the right array.
45762
45763         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45764
45765         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45766
45767         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45768         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45769         * catgets/gencat.c (read_input_file): Likewise.
45770         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45771
45772         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45773         variable definition inside #if's controlling its use.
45774
45775         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45776
45777         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45778
45779         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45780
45781         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45782         unreachable code.
45783
45784         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45785
45786         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45787         * configure: Regenerated.
45788
45789         * Makerules: Revert last change.
45790         * elf/Makefile: Likewise.
45791
45792 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45793
45794         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45795         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45796         (reloc-link): Likewise.
45797
45798 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45799
45800         * elf/Makefile: Add rules to build pldd.
45801         * elf/pldd.c: New file.
45802         * elf/pldd-xx.c: New file.
45803
45804 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45805
45806         * version.h: Update for 2.15 development version.
45807
45808 2011-06-07  David S. Miller  <davem@davemloft.net>
45809
45810         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45811         ifuncs.
45812         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45813         elf_machine_lazy_rel): Likewise.
45814         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45815         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45816         elf_machine_lazy_rel): Likewise.
45817         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45818         dl_hwcap via passed in argument.
45819         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45820         Likewise.
45821
45822 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45823
45824         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45825
45826 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45827
45828         [BZ #12849]
45829         * manual/fdl-1.1.texi: New file, verbatim from:
45830         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45831         * manual/lgpl-2.1.texi: New file, verbatim from:
45832         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45833         * manual/Makefile (licenses): New variable, list those new file names.
45834         (texis): Use it.
45835         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45836
45837         * manual/fdl.texi: File removed.
45838         * manual/lesser.texi: File removed.
45839         * manual/libc.texinfo (Copying, Documentation License):
45840         Use new @include file names, put @appendix directive before @include.
45841
45842 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45843
45844         [BZ #12841]
45845         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45846         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45847         (mq_open): Add __NTH.
45848
45849 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45850
45851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45852         Assume Intel Core i3/i5/i7 processor if AVX is available.
45853
45854 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45855
45856         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45857         typo.
45858
45859 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45860
45861         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45862         memory.  Use alloca_account.  Fix memory leak when retrying.
45863
45864 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45865
45866         * version.h (RELEASE): Bump for 2.14 release.
45867         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45868
45869         * config.make.in (RANLIB): Remove entry.
45870
45871 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45872
45873         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45874         (libc.pot): Work around missing support for .ksh extension in xgettext.
45875
45876         [BZ #12684]
45877         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45878         if both request failed.
45879         (send_dg): In case of server errors clear resplen or *resplen2.
45880
45881         [BZ #12454]
45882         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45883         when there are multiple maps.
45884         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45885         (_dl_fini): Remove test here.
45886
45887         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45888
45889 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45890
45891         [BZ #12350]
45892         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45893         bit from old_res_options.
45894         (gaih_inet): Likewise.
45895
45896         [BZ #11099]
45897         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45898         as signed.
45899
45900         * resolv/res_init.c (res_setoptions): Make the code more compact.
45901
45902         [BZ #11558]
45903         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45904         set RES_USEVC.
45905
45906         [BZ #11634]
45907         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45908
45909         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45910
45911         [BZ #11781]
45912         * malloc/malloc.h: Declare malloc hook variables as volatile.
45913
45914         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45915         in last patch.
45916
45917         [BZ #11799]
45918         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45919         raise in the comment.
45920         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45921         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45922         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45923
45924 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45925
45926         [BZ #12811]
45927         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45928         grow the buffers more if it already has to be sufficient.
45929         (build_wcs_upper_buffer): Likewise.
45930         * posix/regexec.c (check_matching): Likewise.
45931         (clean_state_log_if_needed): Likewise.
45932         (extend_buffers): Don't enlarge buffers beyond size of the input
45933         buffer.
45934         Patches mostly by Emil Wojak <emil@wojak.eu>.
45935         * posix/bug-regex32.c: New file.
45936         * posix/Makefile (tests): Add bug-regex32.
45937
45938         * locale/findlocale.c (_nl_find_locale): Return right away if
45939         _nl_explode_name failed.
45940         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45941
45942         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45943
45944         * debug/xtrace.sh: Unify messages.
45945         * malloc/memusage.sh: Likewise.
45946
45947         [BZ #12813]
45948         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45949         time symbol from vDSO.  Substitute with vsyscall if not available.
45950         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45951         __vdso_time.
45952
45953         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45954         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45955         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45956         Add sendmmsg and internal_sendmmsg.
45957         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45958         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45959         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45960
45961         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45962         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45963         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45964
45965 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45966
45967         [BZ #12813]
45968         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45969         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45970         available.
45971         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45972         __vdso_getcpu.
45973
45974         [BZ #12814]
45975         * iconvdata/Makefile (tests): Add bug-iconv9.
45976         * iconvdata/bug-iconv9.c: New file.
45977
45978 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45979
45980         [BZ #12814]
45981         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45982
45983 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45984
45985         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45986         (struct user_regs_struct): Change intcs field back to cs.
45987
45988 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45989
45990         * po/ja.po: Update from translation team.
45991
45992 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45993
45994         [BZ #12795]
45995         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45996         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45997
45998 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45999
46000         * stdlib/longlong.h: Update from GCC.
46001
46002 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46003
46004         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46005         parameter name.
46006         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46007         Add parameter name.
46008         (__sysconf): Pass it down.
46009
46010 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46011
46012         [BZ #12671]
46013         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46014         some situations.
46015         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46016         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46017         add in in __libc_use_alloca calls.  Adjust callers.
46018         (glob): Use malloc in some situations.
46019
46020         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46021         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46022         pltexit.
46023
46024 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46025
46026         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46027         and CLOCK_BOOTTIME_ALARM.
46028
46029         [BZ #12782]
46030         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46031         is returned.
46032
46033         * string/_strerror.c (__strerror_r): Print negative errors as signed
46034         numbers.
46035
46036         [BZ #12777]
46037         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46038         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46039         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46040
46041         * configure.in: Fix typo in redirection and correct removal of test
46042         files in two cases.
46043
46044         [BZ #12788]
46045         * locale/setlocale.c (new_composite_name): Fix test to check for
46046         identical name of all categories.
46047
46048         [BZ #12792]
46049         * libio/filedoalloc.c (local_isatty): New function.
46050         (_IO_file_doallocate): Use local_isatty.
46051         * stdio-common/perror.c (perror): In case a new stream is used
46052         forward the stream error.
46053         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46054         error flag.
46055
46056 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46057
46058         [BZ #11869]
46059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46060         alloca.
46061         * include/alloca.h (extend_alloca_account): Define.
46062
46063         [BZ #11857]
46064         * posix/regex.h: Fix comments with documentation of user-accessible
46065         fields after compilation and describe correct free'ing of pattern
46066         after re_compile_pattern.
46067         Patch by Reuben Thomas <rrt@sc3d.org>.
46068
46069 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46070
46071         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46072         and -mno-altivec to prevent the compiler from using Altivec and/or
46073         VSX instructions when the corresponding registers are not available.
46074
46075 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46076
46077         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46078
46079 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46080
46081         * libio/freopen.c (freopen): Use __dup2, not dup2.
46082         * libio/freopen64.c (freopen64): Likewise.
46083
46084 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46085
46086         [BZ #12775]
46087         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46088         * math/Makefile (tests): Add test-powl.
46089         (CFLAGS-test-powl.c): Define.
46090         * math/test-powl.c: New file.
46091
46092 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46093
46094         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46095
46096 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46097
46098         [BZ #11837]
46099         * iconvdata/gb18030.c: Update to GB18020-2005.
46100
46101 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46102
46103         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46104         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46105         Patch by Aharon Robbins <arnold@skeeve.com>.
46106
46107         [BZ #11892]
46108         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46109         on the stack.
46110
46111         [BZ #11895]
46112         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46113         through underflows.
46114
46115         [BZ #12766]
46116         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46117         point to strings before performing equality test for error_one_per_line
46118         mode.
46119
46120         [BZ #11697]
46121         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46122
46123         [BZ #11820]
46124         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46125         (struct user_fpregs_struct): Avoid __uint*_t types.
46126
46127         [BZ #6420]
46128         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46129         symbol info.  Use it instead of calling _dl_addr locally.
46130         (lock_and_info): New function.
46131         (tr_freehook): Call lock_and_info and pass symbol info as additional
46132         parameter to tr_where.
46133         (tr_mallochook): Likewise.
46134         (tr_reallochook): Likewise.
46135         (tr_memalignhook): Likewise.
46136
46137         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46138         used and couldn't be at all thread-safe.
46139
46140 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46141
46142         * libio/freopen.c (freopen): Don't close old file descriptor
46143         before the new one is opened.  Instead dup the new file descriptor
46144         to the old one after the new stream is created.
46145         * libio/freopen64.c (freopen64): Likewise.
46146         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46147         * libio/fileops.c (_IO_new_file_close_it): Handle new
46148         _IO_FLAGS2_NOCLOSE flag.
46149         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46150         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46151         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46152         _IO_FLAGS2_NOCLOSE flag.
46153         * include/unistd.h: Add hidden_proto for dup3.
46154         Define __have_dup3.
46155         * io/dup3.c: Define hidden symbol.
46156         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46157
46158         [BZ #7101]
46159         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46160         when an incomplete long option is used.
46161         * posix/tst-getopt_long1.c: New file.
46162         * posix/Makefile (tests): Add tst-getopt_long1.
46163
46164         [BZ #10138]
46165         * scripts/config.guess: Update from autoconf-2.68.
46166         * scripts/config.sub: Likewise.
46167
46168         [BZ #10157]
46169         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46170         tests into ...
46171         (has_cpuclock): ...this.  New function.
46172         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46173         macro here based on has_cpuclock code.
46174
46175         [BZ #10149]
46176         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46177         First byte (not low byte) is now always NUL.
46178         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46179
46180         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46181         Use non-cancelable interfaces.
46182
46183         [BZ #9809]
46184         * locale/iso-639.def: Add entry for Sorani.
46185
46186         [BZ #11901]
46187         * include/stdlib.h: Move include protection to the right place.
46188         Define abort_msg_s.  Declare __abort_msg with it.
46189         * stdlib/abort.c (__abort_msg): Adjust type.
46190         * assert/assert.c (__assert_fail_base): New function.  Majority
46191         of code from __assert_fail.  Allocate memory for __abort_msg with
46192         mmap.
46193         (__assert_fail): Now call __assert_fail_base.
46194         * assert/assert-perr.c: Remove bulk of implementation.  Use
46195         __assert_fail_base.
46196         * include/assert.hL Declare __assert_fail_base.
46197         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46198         mmap.
46199         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46200
46201 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46202
46203         [BZ #11952]
46204         [BZ #12453]
46205         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46206         until all modules are registered in the DTV.
46207         * elf/Makefile: Add rules to build and run tst-tls19.
46208         * elf/tst-tls19.c: New file.
46209         * elf/tst-tls19mod1.c: New file.
46210         * elf/tst-tls19mod2.c: New file.
46211         * elf/tst-tls19mod3.c: New file.
46212         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46213
46214         [BZ #12083]
46215         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46216         correctly.
46217
46218         [BZ #12601]
46219         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46220         two-byte sequence errors.
46221         * iconvdata/Makefile (tests): Add bug-iconv8.
46222         * iconvdata/bug-iconv8.c: New file.
46223
46224         [BZ #12626]
46225         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46226         buf2 definition.
46227
46228         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46229
46230         [BZ #12432]
46231         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46232         (dummy_getcfa): New function.
46233         (init): Get _Unwind_GetCFA address, use dummy if not found.
46234         (backtrace_helper): In recursion check, also check whether CFA changes.
46235         (__backtrace): Completely initialize arg.
46236
46237         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46238         storing incomplete byte sequence in state object.  Avoid testing for
46239         guaranteed too small input if we know there is enough data available.
46240
46241 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46242
46243         * Makeconfig (+link-pie): Indent.
46244         * Rules (binaries-pie): Define if $(have-fpie) and
46245         $(build-shared).
46246         (binaries-shared): Also filter out $(binaries-pie).
46247         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46248         * nscd/Makefile (others-pie): Add nscd.
46249         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46250         ($(objpfx)nscd): Remove command override.
46251         * login/Makefile (others-pie): Add pt_chown.
46252         ($(objpfx)pt_chown): Remove command override.
46253         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46254         remove command overrides.
46255
46256 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46257
46258         * libio/tst_putwc.c: Fix error messages.
46259
46260         [BZ #12724]
46261         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46262         currently writing and seek to current position when not.
46263         * libio/Makefile (tests): Add bug-fclose1.
46264         * libio/bug-fclose1.c: New file.
46265
46266 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46267
46268         [BZ #12511]
46269         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46270         don't set DF_1_NODELETE here.
46271         (do_lookup_x): When entering new entry test for copy relocation
46272         and if necessary set DF_1_NODELETE flag.
46273         * elf/tst-unique4.cc: New file.
46274         * elf/tst-unique4.h: New file.
46275         * elf/tst-unique4lib.cc: New file.
46276         * elf/Makefile: Add rules to build and run tst-unique4.
46277         Patch by Piotr Bury <pbury@goahead.com>.
46278
46279 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46280
46281         [BZ #12052]
46282         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46283
46284         [BZ #12625]
46285         * misc/mntent_r.c (addmntent): Flush the stream after the output
46286
46287         [BZ #12393]
46288         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46289         (is_trusted_path_normalize): Skip initial colon.  Append slash
46290         to empty buffer.  Duplicate is_trusted_path code but allow
46291         constructed patch to be prefix.
46292         (is_dst): Allow $ORIGIN followed by /.
46293         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46294         Correct testing of result of is_trusted_path_normalize
46295         (decompose_rpath): Fix warning.
46296
46297 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46298
46299         [BZ #11257]
46300         * grp/initgroups.c (internal_getgrouplist): When we found the service
46301         list through the initgroups entry in nsswitch.conf do not always
46302         continue on a successful lookup.  Don't always use the
46303         __nss_group_database value if it is set.
46304         * nss/nsswitch.conf (initgroups): Change action for successful db
46305         lookup to continue for compatibility.
46306
46307 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46308
46309         [BZ #11532]
46310         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46311         and CP774 modules.
46312         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46313         and CP774 modules.
46314         * iconvdata/tst-tables.sh: Likewise.
46315         * iconvdata/cp770.c: New file.
46316         * iconvdata/cp771.c: New file.
46317         * iconvdata/cp772.c: New file.
46318         * iconvdata/cp773.c: New file.
46319         * iconvdata/cp774.c: New file.
46320         * iconvdata/testdata/CP770: New file.
46321         * iconvdata/testdata/CP770..UTF8: New file.
46322         * iconvdata/testdata/CP771: New file.
46323         * iconvdata/testdata/CP771..UTF8: New file.
46324         * iconvdata/testdata/CP772: New file.
46325         * iconvdata/testdata/CP772..UTF8: New file.
46326         * iconvdata/testdata/CP773: New file.
46327         * iconvdata/testdata/CP773..UTF8: New file.
46328         * iconvdata/testdata/CP774: New file.
46329         * iconvdata/testdata/CP774..UTF8: New file.
46330
46331         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46332         END CHARMAP line.
46333         * iconvdata/gen-8bit-gap.sh: Likewise.
46334         * iconvdata/gen-8bit.sh: Likewise.
46335
46336         * locale/iso-639.def: Add ary entry.
46337
46338         [BZ #11258]
46339         * locale/C-translit.h.in: Add U20A1 transliteration.
46340
46341         [BZ #12178]
46342         * locale/iso-639.def: Add wae entry.
46343         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46344
46345         [BZ #12545]
46346         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46347         for n.
46348
46349         [BZ #12711]
46350         * locale/C-translit.h.in: Add entry for U20B9.
46351         Patch by pravin.d.s@gmail.com.
46352
46353 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46354
46355         [BZ #12713]
46356         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46357         ENAMETOOLONG use generic getcwd.
46358         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46359         in rtld.  Use *stat64.
46360         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46361         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46362         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46363         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46364         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46365         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46366         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46367         __fstatat64 macros.
46368         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46369         * dirent/rewinddir.c: Add libc_hidden_def.
46370         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46371         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46372
46373         * include/dirent.h (__alloc_dir): Add flags parameter.
46374         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46375         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46376         __alloc_dir.
46377         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46378         from fdopendir if O_CLOEXEC is already set.
46379
46380 2011-03-15  Alan Modra  <amodra@gmail.com>
46381
46382         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46383         l_tls_firstbyte_offset non-zero.  Save padding offset in
46384         l_tls_firstbyte_offset for later use.
46385         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46386         freeing static tls block.
46387
46388 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46389
46390         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46391         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46392         being defined by the kernel headers.
46393
46394 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46395
46396         [BZ #12734]
46397         * resolv/resolv.h: Define RES_NOTLDQUERY.
46398         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46399         no-tld-query and set RES_NOTLDQUERY.
46400         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46401         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46402         modern BIND to search name as TLD unless forbidden.
46403
46404 2011-05-07  Petr Baudis  <pasky@suse.cz>
46405             Ulrich Drepper  <drepper@gmail.com>
46406
46407         [BZ #12393]
46408         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46409         (is_trusted_path): ...to here.
46410         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46411         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46412         using is_trusted_path_normalize() in setuid scripts.
46413
46414 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46415
46416         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46417         __BEGIN/__END_DECLS.
46418
46419 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46420
46421         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46422         NSS_STATUS_NOTFOUND if no record was found.
46423
46424 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46425
46426         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46427         (headers-not-in-tirpc): Remove rpc/netdb.h
46428         * resolv/netdb.h: Revert last change.
46429
46430 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46431
46432         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46433         circular dependency between libgcc.a and libc.a.
46434
46435 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46436
46437         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46438         * nis/Makefile: Don't install rpcsvc/*.
46439         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46440         instead of <rpc/types.h>.
46441         (MAXHOSTNAMELEN): Define.
46442
46443 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46444
46445         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46446
46447 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46448
46449         [BZ #12714]
46450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46451         gethostbyname4_r when IPv6 results are possible.
46452
46453 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46454
46455         [BZ #12723]
46456         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46457         _PC_PIPE_BUF handling.
46458
46459 2011-04-30  Bruno Haible  <bruno@clisp.org>
46460
46461         [BZ #12717]
46462         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46463         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46464         to 'int'.
46465         * inet/getnameinfo.c (getnameinfo): Likewise.
46466
46467 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46468
46469         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46470         to groups setting in database lookup.
46471         * nss/nsswitch.conf: Add initgroups entry.
46472
46473 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46474
46475         [BZ #12685]
46476         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46477         mode string.
46478         Patch by Eric Blake <eblake@redhat.com>.
46479
46480 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46481
46482         * sunrpc/Makefile (need-export-routines): Add svc_run.
46483         (routines): Remove svc_run.
46484         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46485         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46486         * sunrpc/svc_run.c (svc_run): Likewise.
46487         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46488
46489 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46490
46491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46492         problem in reallocation in last patch.
46493
46494 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46495
46496         * sunrpc/Makefile: Move inclusion of Rules.
46497
46498 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46499
46500         * nss/nss_files/files-initgroups.c: New file.
46501         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46502         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46503         _nss_files_initgroups_dyn.
46504
46505 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46506
46507         * elf/elf.h (R_ARM_IRELATIVE): Define.
46508
46509 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46510
46511         * po/ru.po: Update from translation team.
46512
46513 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46514
46515         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46516         dependencies.
46517
46518 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46519
46520         [BZ #12653]
46521         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46522         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46523         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46524         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46525         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46526
46527 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46528
46529         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46530         differing bytes.
46531         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46532         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46533         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46534
46535 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46536
46537         [BZ #12420]
46538         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46539         storing it.
46540         * stdlib/bug-getcontext.c: New file.
46541         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46542
46543 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46544
46545         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46546         instructions into .machine "z9-109".
46547         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46548         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46549
46550 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46551
46552         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46553         between environment variables and auxiliary vector.
46554
46555 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46556
46557         * Makefile: Add rules to build linkobj/libc.so.
46558         * include/libc-symbols.h: Define libc_hidden_nolink.
46559         * include/rpc/auth.h: Mark functions which are to be hidden.
46560         * include/rpc/auth_des.h: Likewise.
46561         * include/rpc/auth_unix.h: Likewise.
46562         * include/rpc/clnt.h: Likewise.
46563         * include/rpc/des_crypt.h: Likewise.
46564         * include/rpc/key_prot.h: Likewise.
46565         * include/rpc/pmap_clnt.h: Likewise.
46566         * include/rpc/pmap_prot.h: Likewise.
46567         * include/rpc/pmap_rmt.h: Likewise.
46568         * include/rpc/rpc_msg.h: Likewise.
46569         * include/rpc/svc.h: Likewise.
46570         * include/rpc/svc_auth.h: Likewise.
46571         * include/rpc/xdr.h: Likewise.
46572         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46573         * nss/Makefile: Likewise.
46574         * sunrpc/Makefile: Don't install headers.  Build library with normal
46575         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46576         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46577         for the compat linking library.  Remove use of INTDEF/INTUSE.
46578         * sunrpc/auth_none.c: Likewise.
46579         * sunrpc/auth_unix.c: Likewise.
46580         * sunrpc/authdes_prot.c: Likewise.
46581         * sunrpc/authuxprot.c: Likewise.
46582         * sunrpc/clnt_gen.c: Likewise.
46583         * sunrpc/clnt_perr.c: Likewise.
46584         * sunrpc/clnt_raw.c: Likewise.
46585         * sunrpc/clnt_simp.c: Likewise.
46586         * sunrpc/clnt_tcp.c: Likewise.
46587         * sunrpc/clnt_udp.c: Likewise.
46588         * sunrpc/clnt_unix.c: Likewise.
46589         * sunrpc/des_crypt.c: Likewise.
46590         * sunrpc/des_soft.c: Likewise.
46591         * sunrpc/get_myaddr.c: Likewise.
46592         * sunrpc/key_call.c: Likewise.
46593         * sunrpc/key_prot.c: Likewise.
46594         * sunrpc/netname.c: Likewise.
46595         * sunrpc/pm_getmaps.c: Likewise.
46596         * sunrpc/pm_getport.c: Likewise.
46597         * sunrpc/pmap_clnt.c: Likewise.
46598         * sunrpc/pmap_prot.c: Likewise.
46599         * sunrpc/pmap_prot2.c: Likewise.
46600         * sunrpc/pmap_rmt.c: Likewise.
46601         * sunrpc/publickey.c: Likewise.
46602         * sunrpc/rpc_cmsg.c: Likewise.
46603         * sunrpc/rpc_common.c: Likewise.
46604         * sunrpc/rpc_dtable.c: Likewise.
46605         * sunrpc/rpc_prot.c: Likewise.
46606         * sunrpc/rpc_thread.c: Likewise.
46607         * sunrpc/rtime.c: Likewise.
46608         * sunrpc/svc.c: Likewise.
46609         * sunrpc/svc_auth.c: Likewise.
46610         * sunrpc/svc_authux.c: Likewise.
46611         * sunrpc/svc_raw.c: Likewise.
46612         * sunrpc/svc_run.c: Likewise.
46613         * sunrpc/svc_simple.c: Likewise.
46614         * sunrpc/svc_tcp.c: Likewise.
46615         * sunrpc/svc_udp.c: Likewise.
46616         * sunrpc/svc_unix.c: Likewise.
46617         * sunrpc/svcauth_des.c: Likewise.
46618         * sunrpc/xcrypt.c: Likewise.
46619         * sunrpc/xdr.c: Likewise.
46620         * sunrpc/xdr_array.c: Likewise.
46621         * sunrpc/xdr_float.c: Likewise.
46622         * sunrpc/xdr_intXX_t.c: Likewise.
46623         * sunrpc/xdr_mem.c: Likewise.
46624         * sunrpc/xdr_rec.c: Likewise.
46625         * sunrpc/xdr_ref.c: Likewise.
46626         * sunrpc/xdr_sizeof.c: Likewise.
46627         * sunrpc/xdr_stdio.c: Likewise.
46628
46629 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46630
46631         [BZ #12650]
46632         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46633         * sysdeps/ia64/dl-tls.h: Likewise.
46634         * sysdeps/powerpc/dl-tls.h: Likewise.
46635         * sysdeps/s390/dl-tls.h: Likewise.
46636         * sysdeps/sh/dl-tls.h: Likewise.
46637         * sysdeps/sparc/dl-tls.h: Likewise.
46638         * sysdeps/x86_64/dl-tls.h: Likewise.
46639         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46640
46641 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46642
46643         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46644         rpath element also skip the following colon.
46645         (expand_dynamic_string_token): Add is_path parameter and pass
46646         down to DL_DST_REQUIRED and _dl_dst_substitute.
46647         (decompose_rpath): Call expand_dynamic_string_token with
46648         non-zero is_path.  Ignore empty rpaths.
46649         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46650         with zero is_path.
46651
46652 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46653
46654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46655         Make cancelable.
46656
46657 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46658
46659         [BZ #12655]
46660         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46661         Patch by Filipe David Manana <fdmanana@apache.org>.
46662
46663 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46664
46665         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46666         Maintain aligned stack.
46667         (CHECK_RSP): Remove unused macro.
46668
46669 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46670
46671         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46672         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46673
46674 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46675
46676         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46677
46678         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46679
46680 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46681
46682         [BZ #12518]
46683         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46684         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46685         * sysdeps/x86_64/memmove.c: New file.
46686         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46687         (memcpy): Renamed to ...
46688         (__new_memcpy): This.
46689         (memcpy): Provide GLIBC_2_14 memcpy.
46690         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46691         (memcpy): Provide GLIBC_2_2_5 memcpy.
46692
46693 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46694
46695         [BZ #12631]
46696         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46697
46698 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46699
46700         * misc/syncfs.c: New file.
46701         * misc/Makefile (routines): Add syncfs.
46702         * posix/unistd.h: Declare syncfs.
46703         * sysdeps/unix/syscalls.list: Add syncfs.
46704
46705 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46706
46707         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46708         open_by_handle_at.
46709         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46710         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46712         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46713         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46714         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46715         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46716
46717 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46718
46719         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46720         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46721         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46722         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46723         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46724         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46725         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46726
46727         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46728         sync_file_range.c with -fexceptions.
46729         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46730         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46731         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46732         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46733         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46734         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46735         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46736         sync_file_range as cancellation point
46737         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46738         now a wrapper around __call_sync_file_range with cancellation handling.
46739         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46740         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46741         function name to __call_sync_file_range.
46742         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46743         Add call_sync_file_range.
46744
46745 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46746
46747         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46748         bits/timex.h.
46749
46750 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46751
46752         * iconv/iconv.h: Fix typo in comment.
46753         * io/fcntl.h: Likewise.
46754         * libio/stdio.h: Likewise.
46755         * posix/spawn.h: Likewise.
46756         * posix/unistd.h: Likewise.
46757         * stdlib/stdlib.h: Likewise.
46758         * time/time.h: Likewise.
46759         * wcsmbs/wchar.h: Likewise.
46760
46761         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46762         open_by_handle): Add.
46763         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46764         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46765         Augment a few comments.
46766         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46767         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46768         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46770         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46771         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46772         open_by_handle.
46773
46774         * io/fcntl.h (AT_EMPTY_PATH): Define.
46775
46776 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46777
46778         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46779         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46780         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46781         to...
46782         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46783         * Versions.def: Add GLIBC_2.14.
46784         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46785         Export.
46786
46787 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46788
46789         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46790         round counter.
46791         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46792
46793 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46794
46795         [BZ #12597]
46796         * string/test-strncmp.c (do_page_test): New function.
46797         (check2): Likewise.
46798         (test_main): Call check2.
46799         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46800
46801 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46802
46803         [BZ #12587]
46804         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46805         Handle cache information in CPU leaf 4.
46806         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46807
46808 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46809
46810         [BZ #12583]
46811         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46812         character representation.
46813         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46814
46815 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46816
46817         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46818         END(__isnan) to END(__isnanf) to match function entry point/label
46819         EALIGN(__isnanf,...).
46820
46821 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46822
46823         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46824
46825 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46826
46827         [BZ #12510]
46828         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46829         copy from the symbol referenced in the relocation to initialize the
46830         used variable.
46831         Patch by Piotr Bury <pbury@goahead.com>.
46832         * elf/Makefile: Add rules to build and tst-unique3.
46833         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46834         * elf/tst-unique3.cc: New file.
46835         * elf/tst-unique3.h: New file.
46836         * elf/tst-unique3lib.cc: New file.
46837         * elf/tst-unique3lib2.cc: New file.
46838
46839         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46840
46841 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46842
46843         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46844         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46845         to _start.
46846
46847 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46848
46849         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46850         to-be-loaded object along a path to loader is ld.so.
46851
46852 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46853             Ulrich Drepper  <drepper@gmail.com>
46854
46855         * sysdeps/x86_64/memset.S: After aligning destination, code
46856         branches to different locations depending on the value of
46857         misalignment, when multiarch is enabled. Fix this.
46858
46859 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46860
46861         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46862         Set _x86_64_preferred_memory_instruction for AMD processsors.
46863         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46864         Set bit_Prefer_SSE_for_memop for AMD processors.
46865
46866 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46867
46868         * libio/fmemopen.c (fmemopen): Optimize a bit.
46869
46870 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46871
46872         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46873
46874 2011-03-03  Roland McGrath  <roland@redhat.com>
46875
46876         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46877
46878 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46879
46880         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46881         __bzero_ultra1 instead of __memset_ultra1.
46882
46883 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46884             Ulrich Drepper  <drepper@gmail.com>
46885
46886         [BZ #12509]
46887         * include/link.h (struct link_map): Add l_orig_initfini.
46888         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46889         returning unsuccessfully.
46890         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46891         close of a file loaded at startup, restore the original l_initfini
46892         list.
46893         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46894         list, store the pointer.
46895         * elf/Makefile ($(objpfx)noload-mem): New rule.
46896         (noload-ENV): Define.
46897         (tests): Add $(objpfx)noload-mem.
46898         * elf/noload.c: Include <memcheck.h>.
46899         (main): Call mtrace.  Close all opened handles.
46900
46901 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46902
46903         [BZ #12454]
46904         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46905         dependencies are missing.
46906
46907 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46908
46909         Fix __if_freereq crash: Unlike the generic version which uses free,
46910         Hurd needs munmap.
46911         * sysdeps/mach/hurd/ifreq.h: New file.
46912
46913 2011-01-27  Petr Baudis  <pasky@suse.cz>
46914             Ulrich Drepper  <drepper@gmail.com>
46915
46916         [BZ 12445]#
46917         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46918         to extend_alloca().
46919         * stdio-common/bug23.c: New file.
46920         * stdio-common/Makefile (tests): Add bug23.
46921
46922 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46923             Ulrich Drepper  <drepper@gmail.com>
46924
46925         [BZ #12489]
46926         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46927         before performing relro protection.  At old place add assertion
46928         to make sure nothing changed.
46929
46930 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46931             Glauber de Oliveira Costa  <glommer@gmail.com>
46932
46933         * elf/elf.h: Add new ARM TLS relocs.
46934
46935 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46936
46937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46938         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46939         cast from r3.
46940         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46941         'tests' variable.
46942         * sysdeps/wordsize-64/tst-writev.c: New file.
46943
46944 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46945
46946         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46947         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46948         insns in _dl_start to prevent a TOC reference before relocs are
46949         resolved.
46950
46951 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46952
46953         [BZ #12469]
46954         * Makeconfig: Remove RANLIB definition.
46955         * Makerules: Don't use RANLIB.
46956         * aclocal.m4: Remove ranlib test.
46957         * configure.in: No need to check for ranlib.
46958         * elf/rtld-Rules: Don't use RANLIB.
46959
46960 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46961
46962         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46963         protection macro.
46964         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46965         inclusion protection macro.
46966
46967         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46968         SIGRTMIN and SIGRTMAX and print information in that case only when
46969         SIGRTMIN is defined.
46970
46971 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46972
46973         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46974         arginfo fn returning -1.
46975
46976         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46977         and thousands string is zero terminated.
46978
46979 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46980
46981         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46982         sysdeps/unix/sysv/linux/bits/socket.h.
46983
46984 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46985
46986         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46987         (__CPU_COUNT): Remove old macros.
46988         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46989         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46990         (__CPU_ALLOC, __CPU_FREE): Add macros.
46991         (__sched_cpualloc, __sched_cpufree): Add declarations.
46992
46993 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46994
46995         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46996         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46997         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46998         (readdhstai): Return value of addhstaiX call.
46999         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47000         (addgrbyX): Return value returned by cache_addgr.
47001         (readdgrbyname): Return value returned by addgrbyX.
47002         (readdgrbygid): Likewise.
47003         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47004         (addpwbyX): Return value returned by cache_addpw.
47005         (readdpwbyname): Return value returned by addhstbyX.
47006         (readdpwbyuid): Likewise.
47007         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47008         (addservbyX): Return value returned by cache_addserv.
47009         (readdservbyname): Return value returned by addservbyX:
47010         (readdservbyport): Likewise.
47011         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47012         (addhstbyX): Return value returned by cache_addhst.
47013         (readdhstbyname): Return value returned by addhstbyX.
47014         (readdhstbyaddr): Likewise.
47015         (readdhstbynamev6): Likewise.
47016         (readdhstbyaddrv6): Likewise.
47017         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47018         (readdinitgroups): Return value returned by addinitgroupsX.
47019         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47020         (prune_cache): Keep track of timeout value of re-added entries.
47021         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47022         * nscd/nscd.h: Adjust prototypes of readd* functions.
47023
47024 2011-02-04  Roland McGrath  <roland@redhat.com>
47025
47026         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47027         (nis_stats): Likewise.
47028         * nis/nis_modify.c (nis_modify): Likewise.
47029         * nis/nis_remove.c (nis_remove): Likewise.
47030         * nis/nis_add.c (nis_add): Likewise.
47031
47032         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47033
47034         * posix/fnmatch_loop.c: Add some consts.
47035
47036         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47037
47038 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47039
47040         [BZ #12460]
47041         * config.make.in (config-cflags-novzeroupper): Define.
47042         * configure.in: Substitute libc_cv_cc_novzeroupper.
47043         * elf/Makefile (AVX-CFLAGS): Define.
47044         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47045         (CFLAGS-tst-auditmod4a.c): Likewise.
47046         (CFLAGS-tst-auditmod4b.c): Likewise.
47047         (CFLAGS-tst-auditmod6b.c): Likewise.
47048         (CFLAGS-tst-auditmod6c.c): Likewise.
47049         (CFLAGS-tst-auditmod7b.c): Likewise.
47050         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47051
47052 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47053
47054         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47055         function to the callback.
47056         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47057
47058 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47059
47060         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47061         of errno.
47062
47063 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47064
47065         [BZ #11724]
47066         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47067         of constructors.
47068         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47069         of destructors.
47070         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47071
47072         [BZ #11724]
47073         * elf/Makefile: Add rules to build and run new test.
47074         * elf/tst-initorder.c: New file.
47075         * elf/tst-initorder.exp: New file.
47076         * elf/tst-initordera1.c: New file.
47077         * elf/tst-initordera2.c: New file.
47078         * elf/tst-initordera3.c: New file.
47079         * elf/tst-initordera4.c: New file.
47080         * elf/tst-initorderb1.c: New file.
47081         * elf/tst-initorderb2.c: New file.
47082         * elf/tst-order-a1.c: New file.
47083         * elf/tst-order-a2.c: New file.
47084         * elf/tst-order-a3.c: New file.
47085         * elf/tst-order-a4.c: New file.
47086         * elf/tst-order-b1.c: New file.
47087         * elf/tst-order-b2.c: New file.
47088         * elf/tst-order-main.c: New file.
47089         New test case by George Gensure <werkt0@gmail.com>.
47090
47091 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47092
47093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47094         decoding ACE if AI_CANONIDN.
47095
47096 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47097
47098         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47099
47100 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47101
47102         * version.h (RELEASE): Bump for 2.13 release.
47103         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47104
47105         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47106
47107         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47108         MADV_NOHUGEPAGE.
47109         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47110         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47111         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47112         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47113         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47114         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47115
47116         * posix/getconf.c: Update copyright year.
47117         * catgets/gencat.c: Likewise.
47118         * csu/version.c: Likewise.
47119         * debug/catchsegv.sh: Likewise.
47120         * debug/xtrace.sh: Likewise.
47121         * elf/ldconfig.c: Likewise.
47122         * elf/ldd.bash.in: Likewise.
47123         * elf/sprof.c (print_version): Likewise.
47124         * iconv/iconv_prog.c: Likewise.
47125         * iconv/iconvconfig.c: Likewise.
47126         * locale/programs/locale.c: Likewise.
47127         * locale/programs/localedef.c: Likewise.
47128         * malloc/memusage.sh: Likewise.
47129         * malloc/mtrace.pl: Likewise.
47130         * nscd/nscd.c (print_version): Likewise.
47131         * nss/getent.c: Likewise.
47132
47133         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47134         PF_CAIF, and PF_ALG.
47135         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47136
47137 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47138
47139         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47140         (modules-names): Use them.
47141         (ifunc-test-modules, ifunc-pie-tests): Define.
47142         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47143         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47144         (test-extras): Likewise.
47145         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47146         $(compile-command.c).
47147         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47148         (all-built-dso): Define.
47149         (check-textrel.out, check-execstack.out): Depend on it.
47150
47151         * configure.in: Don't override --enable-multi-arch.
47152
47153 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47154
47155         [BZ #6812]
47156         * nscd/hstcache.c (tryagain): Define.
47157         (cache_addhst): Return tryagain not notfound for temporary errors.
47158         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47159         failed.
47160
47161 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47162
47163         [BZ #10563]
47164         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47165         to make the syscall.
47166         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47167
47168         [BZ #12378]
47169         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47170         and fall back to matching as normal character if the string ends before
47171         the matching ']' is found.  This is what POSIX requires.
47172         * posix/testfnm.c: Adjust test result.
47173         * posix/globtest.sh: Adjust test result.  Add new test.
47174         * posix/tst-fnmatch.input: Likewise.
47175         * posix/tst-fnmatch2.c: Add new test.
47176
47177 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47178
47179         * elf/Makefile (check-execstack): Revert last change.  Depend on
47180         check-execstack.h.
47181         (check-execstack.h): New target.
47182         (generated): Add check-execstack.h.
47183         * elf/check-execstack.c: Include "check-execstack.h".
47184         (main): Revert last change.
47185         (handle_file): Return zero if GNU_STACK is absent and
47186         DEFAULT_STACK_PERMS doesn't include PF_X.
47187
47188 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47189
47190         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47191         in child fails because the descriptor is already closed.
47192         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47193         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47194         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47195
47196         [BZ #12397]
47197         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47198         syscall.
47199
47200         [BZ #10484]
47201         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47202         temporary buffer used to handle multi lookups locally.
47203         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47204
47205 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47206
47207         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47208         loader is ld.so.
47209
47210 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47211
47212         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47213         alignment for SSE2.
47214
47215 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47216
47217         [BZ #12394]
47218         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47219         characters.  When rounding increased number of integer digits recompute
47220         number of groups.
47221         * stdio-common/tst-grouping.c: New file.
47222         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47223
47224 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47225
47226         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47227         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47228
47229         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47230         void.
47231         * bits/select.h: Likewise.
47232
47233 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47234
47235         * po/ja.po: Update from translation team.
47236
47237 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47238
47239         [BZ #11155]
47240         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47241         implementation just like for lxstat, fxstatat, et al.
47242
47243 2010-12-27  Jim Meyering  <meyering@redhat.com>
47244
47245         [BZ #12348]
47246         * posix/regexec.c (build_trtable): Return failure indication upon
47247         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47248
47249 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47250
47251         [BZ #12201]
47252         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47253         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47254         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47255         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47256
47257         [BZ #12207]
47258         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47259
47260         [BZ #12204]
47261         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47262         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47263
47264 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47265
47266         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47267         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47268         script has SORT_BY_INIT_PRIORITY.
47269         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47270         NO_CTORS_DTORS_SECTIONS is defined.
47271         * elf/soinit.c: Likewise.
47272         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47273         NO_CTORS_DTORS_SECTIONS is defined.
47274         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47275         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47276         * sysdeps/sh/init-first.c: Likewise.
47277         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47278
47279 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47280
47281         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47282         always use the slow path.
47283
47284 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47285
47286         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47287         similar rule which adds the sysdep directories to the header search in
47288         order to pick up the correct platform stackinfo.h.
47289         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47290         perform test if it is, otherwise return successfully without testing.
47291         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47292         DEFAULT_STACK_PERMS define in stackinfo.h.
47293         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47294         defined in stackinfo.h.
47295         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47296         DEFAULT_STACK_PERMS defined in stackinfo.h.
47297         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47298         * sysdeps/ia64/stackinfo.h: Likewise.
47299         * sysdeps/s390/stackinfo.h: Likewise.
47300         * sysdeps/sh/stackinfo.h: Likewise.
47301         * sysdeps/sparc/stackinfo.h: Likewise.
47302         * sysdeps/x86_64/stackinfo.h: Likewise.
47303         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47304         PF_X for powerpc64.  Retain PF_X for powerpc32.
47305
47306 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47307
47308         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47309         accurately.
47310         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47311         GETDENTS_64BIT_ALIGNED.
47312
47313 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47314
47315         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47316
47317 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47318
47319         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47320         _GNU_SOURCE.
47321
47322         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47323         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47324         Remove __restrict.
47325         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47326         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47327
47328 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47329
47330         [BZ #11655]
47331         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47332         are initialized.
47333
47334 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47335
47336         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47337
47338 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47339
47340         * po/it.po: Update from translation team.
47341
47342 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47343
47344         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47345         unused codes.
47346
47347 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47348
47349         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47350
47351 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47352
47353         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47354         specially.
47355         (gaih_getanswer_slice): Likewise.
47356
47357 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47358
47359         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47360
47361 2010-05-31  Petr Baudis  <pasky@suse.cz>
47362
47363         [BZ #11149]
47364         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47365         silently even in the chroot mode.
47366
47367 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47368
47369         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47370         last patch a bit.  Pretty printing
47371
47372 2010-05-31  Petr Baudis <pasky@suse.cz>
47373
47374         [BZ #10085]
47375         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47376         initialization of skip_initgroups_dyn.
47377
47378 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47379
47380         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47381         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47382
47383 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47384
47385         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47386
47387 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47388
47389         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47390         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47391         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47392         ($(objpfx)tst-fnmatch-mem): New rule.
47393         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47394         * posix/tst-fnmatch.c (main): Call mtrace.
47395
47396 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47397
47398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47399         Support Intel processor model 6 and model 0x2c.
47400
47401 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47402
47403         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47404           signed comparison.
47405
47406 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47407
47408         [BZ #12205]
47409         * string/test-strncasecmp.c (check_result): New function.
47410         (do_one_test): Use it.
47411         (check1): New function.
47412         (test_main): Use it.
47413         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47414         Support strcasecmp and strncasecmp.
47415
47416 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47417
47418         [BZ #12194]
47419         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47420         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47421
47422 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47423
47424         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47425         IFUNC support.
47426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47427         memset-x86-64.
47428         * sysdeps/x86_64/multiarch/bzero.S: New file.
47429         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47430         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47431         * sysdeps/x86_64/multiarch/memset.S: New file.
47432         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47434         Set bit_Prefer_SSE_for_memop for Intel processors.
47435         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47436         Define.
47437         (index_Prefer_SSE_for_memop): Define.
47438         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47439
47440 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47441
47442         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47443         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47444
47445 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47446
47447         [BZ #12191]
47448         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47449         (__x86_64_raw_data_cache_size_half): Likewise.
47450         (__x86_64_raw_shared_cache_size): Likewise.
47451         (__x86_64_raw_shared_cache_size_half): Likewise.
47452
47453         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47454         (__x86_64_raw_data_cache_size_half): Likewise.
47455         (__x86_64_raw_shared_cache_size): Likewise.
47456         (__x86_64_raw_shared_cache_size_half): Likewise.
47457         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47458         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47459         and __x86_64_raw_shared_cache_size_half.  Round
47460         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47461         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47462         to multiple of 256 bytes.
47463
47464 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47465
47466         [BZ #12167]
47467         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47468         of inacessible symlinks.  Verify result of symlink before returning it.
47469         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47470         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47471
47472 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47473
47474         * math/math.h (isinf): Fix typo in comment.
47475
47476 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47477
47478         * po/da.po: Update from translation team.
47479
47480 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47481
47482         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47483         is added to the list.
47484
47485 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47486             Ulrich Drepper  <drepper@gmail.com>
47487
47488         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47489         the global list here.  Move code to...
47490         (_dl_add_to_namespace_list): ...here.  New function.
47491         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47492         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47493         * elf/dl-load.c (lose): Don't remove the element from the list.
47494         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47495         (_dl_map_object): Likewise.
47496
47497 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47498
47499         [BZ #12159]
47500         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47501         into all bytes of SSE register.
47502         Patch by Richard Li <richardpku@gmail.com>.
47503
47504 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47505
47506         [BZ #12140]
47507         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47508         perturbing.
47509
47510 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47511
47512         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47513         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47514         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47515         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47517         submachine.
47518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47519
47520 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47521
47522         * include/dlfcn.h (__RTLD_SECURE): Define.
47523         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47524         mode & __RTLD_SECURE instead.
47525         (open_path): Rename preloaded parameter to secure.
47526         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47527         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47528         * elf/dl-deps.c (openaux): Likewise.
47529         * elf/rtld.c (struct map_args): Remove is_preloaded.
47530         (map_doit): Don't use it.
47531         (dl_main): Likewise.
47532         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47533         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47534
47535 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47536
47537         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47538         (sysd-rules-targets): Remove duplicates.
47539         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47540         rtld-%.$o dependency.
47541
47542 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47543
47544         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47545         _dl_map_object do it.
47546
47547 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47548
47549         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47550         fast fma builtins, define the macros in the C99 standard.
47551         (FP_FAST_FMAF): Likewise.
47552         (FP_FAST_FMAL): Likewise.
47553         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47554
47555         * bits/mathdef.h: Update copyright year.
47556         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47557
47558 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47559
47560         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47561         builtins, define the macros in the C99 standard.
47562         (FP_FAST_FMAF): Likewise.
47563         (FP_FAST_FMAL): Likewise.
47564         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47565         multiply/add.
47566         (FP_FAST_FMAF): Likewise.
47567
47568 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47569
47570         [BZ #3268]
47571         * math/libm-test.inc (fma_test): Some new testcases.
47572         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47573         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47574         y and infinite z.  Do multiplication by C already in long double.
47575         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47577         y and infinite z.  Do bitwise or of inexact bit into u.d.
47578         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47579         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47580         * sysdeps/i386/fpu/s_fma.S: Removed.
47581         * sysdeps/i386/fpu/s_fmal.S: Removed.
47582
47583 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47584
47585         [BZ #3268]
47586         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47587         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47588         computation is not scheduled after fetestexcept.  Fix value
47589         of minimum denormal long double.
47590
47591 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47592
47593         [BZ #3268]
47594         * math/libm-test.inc (fma_test): Add some more tests.
47595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47596         correctly.
47597
47598 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47599
47600         * scripts/data/localplt-s390-linux-gnu.data: New file.
47601         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47602
47603 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47604
47605         [BZ #3268]
47606         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47607         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47608         instead of dbl-64.
47609         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47610         inlines.
47611         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47613         if one of x and y is very large and the other is subnormal.
47614         * sysdeps/s390/fpu/s_fmaf.c: New file.
47615         * sysdeps/s390/fpu/s_fma.c: New file.
47616         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47617         * sysdeps/powerpc/fpu/s_fma.S: New file.
47618         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47619         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47620         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47621
47622 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47623
47624         [BZ #3268]
47625         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47626         fma tests.
47627         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47628         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47629         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47630         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47631         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47632         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47633         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47634
47635 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47636
47637         [BZ #12078]
47638         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47639         * posix/bug-regex31.input: Add test case.
47640
47641 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47642
47643         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47644         * posix/bug-regex31.input: New file.
47645
47646         [BZ #12078]
47647         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47648         (parse_sub_exp): Fix last change, use postorder.
47649
47650         * posix/bug-regex31.c: New file.
47651         * posix/Makefile: Add rules to build and run bug-regex31.
47652
47653         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47654
47655         [BZ #12078]
47656         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47657
47658         [BZ #12108]
47659         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47660         to have entries in sys_siglist.
47661
47662         [BZ #12093]
47663         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47664         be NULL.
47665
47666 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47667
47668         [BZ #3268]
47669         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47670         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47671         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47672         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47673         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47674         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47675         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47676         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47677         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47678         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47679         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47680         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47681         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47682         * math/ftestexcept.c (fetestexcept): Likewise.
47683         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47684         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47685         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47686         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47687         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47688         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47689         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47690
47691 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47692
47693         [BZ #12107]
47694         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47695         newline.
47696
47697 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47698
47699         * string/bug-strstr1.c: New file.
47700         * string/Makefile: Add rules to build and run bug-strstr1.
47701
47702 2010-10-05  Eric Blake  <eblake@redhat.com>
47703
47704         [BZ #12092]
47705         * string/str-two-way.h (two_way_long_needle): Always clear memory
47706         when skipping input due to the shift table.
47707
47708 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47709
47710         [BZ #12005]
47711         * malloc/mcheck.c: Handle large requests.
47712
47713         [BZ #12077]
47714         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47715         for strncmp and strncasecmp.
47716         * string/stratcliff.c: Add tests for strcmp and strncmp.
47717         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47718
47719 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47720
47721         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47722         __set_fpscr.
47723
47724 2010-09-30  Andreas Jaeger  <aj@suse.de>
47725
47726         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47727         (CGROUP_SUPER_MAGIC): Define.
47728         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47729         Handle btrfs and cgroup file systems.
47730         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47731         Likewise.
47732
47733 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47734
47735         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47736         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47737
47738 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47739
47740         [BZ #12067]
47741         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47742         trying to locate the ELF header.
47743
47744 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47745
47746         [BZ #11611]
47747         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47748         Mask out sign-bit copies when constructing f_fsid.
47749
47750 2010-09-24  Petr Baudis <pasky@suse.cz>
47751
47752         * debug/stack_chk_fail_local.c: Add missing licence exception.
47753         * debug/warning-nop.c: Likewise.
47754
47755 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47756
47757         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47758         implementing getdents64 using getdents syscall, set d_type if
47759         __ASSUME_GETDENTS32_D_TYPE.
47760
47761 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47762
47763         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47764         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47765
47766 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47767
47768         [BZ #12037]
47769         * posix/unistd.h: Undo change of feature selection for ftruncate from
47770         2010-01-11.
47771
47772 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47773
47774         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47775         detection.
47776
47777 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47778
47779         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47780         fanotify_mark.
47781         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47782
47783 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47784
47785         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47786         variables after CHECK_SP call.
47787         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47788
47789 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47790             Ulrich Drepper  <drepper@redhat.com>
47791
47792         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47793         re-relocationg ld.so.
47794         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47795         _dl_init_paths call.
47796         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47797         here anymore.
47798
47799 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47800
47801         * resolv/res_init.c (__res_vinit): Count the default server we added.
47802
47803 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47804             Ulrich Drepper  <drepper@redhat.com>
47805
47806         [BZ #11968]
47807         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47808         (____longjmp_chk): Use %ebx for saving value across system call.
47809         Add unwind info.
47810
47811 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47812
47813         * manual/Makefile: Don't mix pattern rules with normal rules.
47814
47815 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47816
47817         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47818         operation.
47819         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47820         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47821         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47822         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47823         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47824         Likewise.
47825
47826 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47827
47828         [BZ #11979]
47829         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47830         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47831
47832 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47833
47834         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47835         * sysdeps/x86_64/addmul_1.S: Likewise.
47836         * sysdeps/x86_64/lshift.S: Likewise.
47837         * sysdeps/x86_64/mul_1.S: Likewise.
47838         * sysdeps/x86_64/rshift.S: Likewise.
47839         * sysdeps/x86_64/sub_n.S: Likewise.
47840         * sysdeps/x86_64/submul_1.S: Likewise.
47841
47842 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47843
47844         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47845         Define __sched_param instead of SCHED_* and sched_param when
47846         <bits/sched.h> is included with __need_schedparam defined.
47847         * bits/sched.h [__need_schedparam]
47848         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47849         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47850         (__defined_schedparam): Define to 1.
47851         (__sched_param): New structure, identical to sched_param.
47852         (__need_schedparam): Undefine.
47853
47854 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47855
47856         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47857         (epoll_create1): Declare.
47858
47859         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47860
47861 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47862
47863         [BZ #7066]
47864         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47865         shifting retval into place.
47866
47867 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47868
47869         * nis/rpcsvc/nis.h: Update copyright notice.
47870         * nis/rpcsvc/nis.x: Likewise.
47871         * nis/rpcsvc/nis_callback.h: Likewise.
47872         * nis/rpcsvc/nis_callback.x: Likewise.
47873         * nis/rpcsvc/nis_object.x: Likewise.
47874         * nis/rpcsvc/nis_tags.h: Likewise.
47875         * nis/rpcsvc/yp.h: Likewise.
47876         * nis/rpcsvc/yp.x: Likewise.
47877         * nis/rpcsvc/ypupd.h: Likewise.
47878         * nis/yp_xdr.c: Likewise.
47879         * nis/ypupdate_xdr.c: Likewise.
47880
47881         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47882         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47883         (pmap_getport): Use __libc_rpc_getport.
47884         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47885         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47886         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47887
47888 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47889
47890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47891         fanotify_mark.
47892
47893 2010-08-27  Roland McGrath  <roland@redhat.com>
47894
47895         * sysdeps/i386/i686/multiarch/Makefile
47896         (CFLAGS-varshift.c): New variable.
47897
47898 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47899
47900         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47901         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47902
47903         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47904
47905         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47906
47907 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47908
47909         * sysdeps/x86_64/strlen.S: Unroll the loop.
47910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47911         strlen-sse2 strlen-sse2-bsf.
47912         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47913         __strlen_no_bsf if bit_Slow_BSF is set.
47914         (__strlen_sse42): Removed.
47915         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47916         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47917
47918 2010-08-25  Roland McGrath  <roland@redhat.com>
47919
47920         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47921         * sysdeps/x86_64/multiarch/varshift.c: New file.
47922         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47923         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47924         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47925         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47926
47927 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47928
47929         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47930         strlen-sse2 strlen-sse2-bsf.
47931         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47932         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47933         (__strlen_sse2): Removed.
47934         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47935         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47937         bit_Slow_BSF for Atom.
47938         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47939         (index_Slow_BSF): Define.
47940         (HAS_SLOW_BSF): Define.
47941
47942 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47943
47944         [BZ #10851]
47945         * resolv/res_init.c (__res_vinit): When no server address at all
47946         is given default to loopback.
47947
47948 2010-08-24  Roland McGrath  <roland@redhat.com>
47949
47950         * configure.in: Remove config-name.h generation.
47951         * configure: Regenerated.
47952         * config-name.in: File removed.
47953         * scripts/config-uname.sh: New file.
47954         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47955         ($(objdir)config-name.h): New target.
47956
47957         * sunrpc/rpc_parse.h: Avoid nested comment.
47958
47959 2010-08-24  Richard Henderson  <rth@redhat.com>
47960             Ulrich Drepper  <drepper@redhat.com>
47961             H.J. Lu  <hongjiu.lu@intel.com>
47962
47963         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47964         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47965         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47966         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47967         _mm_alignr_epi8 with _mm_loadu_si128.
47968         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47969         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47970         (__m128i_shift_right): Removed.
47971         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47972         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47973         * sysdeps/x86_64/multiarch/varshift.h: New file.
47974         * sysdeps/x86_64/multiarch/varshift.S: New file.
47975
47976 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47977
47978         * configure.in: Move assembler checks to before sysdep dir checking.
47979
47980 2010-08-20  Petr Baudis  <pasky@suse.cz>
47981
47982         * LICENSES: Sync the sunrpc license.
47983
47984 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47985
47986         * sunrpc/auth_des.c: Update copyright notice once again.
47987         * sunrpc/auth_none.c: Likewise.
47988         * sunrpc/auth_unix.c: Likewise.
47989         * sunrpc/authdes_prot.c: Likewise.
47990         * sunrpc/authuxprot.c: Likewise.
47991         * sunrpc/bindrsvprt.c: Likewise.
47992         * sunrpc/clnt_gen.c: Likewise.
47993         * sunrpc/clnt_perr.c: Likewise.
47994         * sunrpc/clnt_raw.c: Likewise.
47995         * sunrpc/clnt_simp.c: Likewise.
47996         * sunrpc/clnt_tcp.c: Likewise.
47997         * sunrpc/clnt_udp.c: Likewise.
47998         * sunrpc/clnt_unix.c: Likewise.
47999         * sunrpc/des_crypt.c: Likewise.
48000         * sunrpc/des_soft.c: Likewise.
48001         * sunrpc/get_myaddr.c: Likewise.
48002         * sunrpc/getrpcport.c: Likewise.
48003         * sunrpc/key_call.c: Likewise.
48004         * sunrpc/key_prot.c: Likewise.
48005         * sunrpc/openchild.c: Likewise.
48006         * sunrpc/pm_getmaps.c: Likewise.
48007         * sunrpc/pm_getport.c: Likewise.
48008         * sunrpc/pmap_clnt.c: Likewise.
48009         * sunrpc/pmap_prot.c: Likewise.
48010         * sunrpc/pmap_prot2.c: Likewise.
48011         * sunrpc/pmap_rmt.c: Likewise.
48012         * sunrpc/rpc/auth.h: Likewise.
48013         * sunrpc/rpc/auth_unix.h: Likewise.
48014         * sunrpc/rpc/clnt.h: Likewise.
48015         * sunrpc/rpc/des_crypt.h: Likewise.
48016         * sunrpc/rpc/key_prot.h: Likewise.
48017         * sunrpc/rpc/netdb.h: Likewise.
48018         * sunrpc/rpc/pmap_clnt.h: Likewise.
48019         * sunrpc/rpc/pmap_prot.h: Likewise.
48020         * sunrpc/rpc/pmap_rmt.h: Likewise.
48021         * sunrpc/rpc/rpc.h: Likewise.
48022         * sunrpc/rpc/rpc_des.h: Likewise.
48023         * sunrpc/rpc/rpc_msg.h: Likewise.
48024         * sunrpc/rpc/svc.h: Likewise.
48025         * sunrpc/rpc/svc_auth.h: Likewise.
48026         * sunrpc/rpc/types.h: Likewise.
48027         * sunrpc/rpc/xdr.h: Likewise.
48028         * sunrpc/rpc_clntout.c: Likewise.
48029         * sunrpc/rpc_cmsg.c: Likewise.
48030         * sunrpc/rpc_common.c: Likewise.
48031         * sunrpc/rpc_cout.c: Likewise.
48032         * sunrpc/rpc_dtable.c: Likewise.
48033         * sunrpc/rpc_hout.c: Likewise.
48034         * sunrpc/rpc_main.c: Likewise.
48035         * sunrpc/rpc_parse.c: Likewise.
48036         * sunrpc/rpc_parse.h: Likewise.
48037         * sunrpc/rpc_prot.c: Likewise.
48038         * sunrpc/rpc_sample.c: Likewise.
48039         * sunrpc/rpc_scan.c: Likewise.
48040         * sunrpc/rpc_scan.h: Likewise.
48041         * sunrpc/rpc_svcout.c: Likewise.
48042         * sunrpc/rpc_tblout.c: Likewise.
48043         * sunrpc/rpc_util.c: Likewise.
48044         * sunrpc/rpc_util.h: Likewise.
48045         * sunrpc/rpcinfo.c: Likewise.
48046         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48047         * sunrpc/rpcsvc/key_prot.x: Likewise.
48048         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48049         * sunrpc/rpcsvc/mount.x: Likewise.
48050         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48051         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48052         * sunrpc/rpcsvc/rex.x: Likewise.
48053         * sunrpc/rpcsvc/rstat.x: Likewise.
48054         * sunrpc/rpcsvc/rusers.x: Likewise.
48055         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48056         * sunrpc/rpcsvc/spray.x: Likewise.
48057         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48058         * sunrpc/rtime.c: Likewise.
48059         * sunrpc/svc.c: Likewise.
48060         * sunrpc/svc_auth.c: Likewise.
48061         * sunrpc/svc_authux.c: Likewise.
48062         * sunrpc/svc_raw.c: Likewise.
48063         * sunrpc/svc_run.c: Likewise.
48064         * sunrpc/svc_simple.c: Likewise.
48065         * sunrpc/svc_tcp.c: Likewise.
48066         * sunrpc/svc_udp.c: Likewise.
48067         * sunrpc/svc_unix.c: Likewise.
48068         * sunrpc/svcauth_des.c: Likewise.
48069         * sunrpc/xcrypt.c: Likewise.
48070         * sunrpc/xdr.c: Likewise.
48071         * sunrpc/xdr_array.c: Likewise.
48072         * sunrpc/xdr_float.c: Likewise.
48073         * sunrpc/xdr_mem.c: Likewise.
48074         * sunrpc/xdr_rec.c: Likewise.
48075         * sunrpc/xdr_ref.c: Likewise.
48076         * sunrpc/xdr_sizeof.c: Likewise.
48077         * sunrpc/xdr_stdio.c: Likewise.
48078
48079         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48080         handling.
48081
48082 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48083
48084         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48085
48086 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48087
48088         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48089         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48090         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48091         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48092         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48093         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48094         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48095         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48096         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48097         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48098         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48099         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48100         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48101         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48102
48103 2010-07-26  Anton Blanchard  <anton@samba.org>
48104
48105         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48106         * malloc/arena.c (heap_trim): Likewise.
48107
48108 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48109
48110         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48111         here.  Not...
48112         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48113         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48114
48115 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48116
48117         * sysdeps/i386/elf/Makefile: New file.
48118
48119 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48120
48121         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48122         from fanotify_init.
48123         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48124         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48125
48126 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48127
48128         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48129         of strncasecmp_l.
48130         * sysdeps/multiarch/strcmp.S: Likewise.
48131
48132 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48133
48134         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48135         strncase_l-nonascii.
48136         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48137         Add strncase_l-ssse3.
48138         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48139         * sysdeps/x86_64/strcmp.S: Likewise.
48140         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48141         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48142         * sysdeps/x86_64/strncase.S: New file.
48143         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48144         * sysdeps/x86_64/strncase_l.S: New file.
48145         * string/Makefile (strop-tests): Add strncasecmp.
48146         * string/test-strncasecmp.c: New file.
48147
48148         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48149         warning.
48150
48151         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48152         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48153
48154 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48155
48156         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48157
48158 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48159
48160         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48161         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48162         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48163
48164 2010-05-01  Alan Modra  <amodra@gmail.com>
48165
48166         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48167         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48168         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48169         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48170         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48171         tidying.  Don't tail-call __sigjmp_save for static lib.
48172         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48173         save location.
48174         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48175         (CALL_MCOUNT): Add eh info, and nop after bl.
48176         (TAIL_CALL_SYSCALL_ERROR): New macro.
48177         (PSEUDO_RET): Use it.
48178         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48179         Correct save location of integer regs and cr.
48180         (_dl_profile_resolve): Correct cr save location.  Delete nops
48181         after bl when SHARED.  Reduce cfi size a little by better
48182         placement of cfi directives.
48183         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48184         make a stack frame.  Instead use parm save area as a temp.
48185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48186         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48188         Don't make a stack frame for parent, use parm save area.
48189         Increase child stack frame to 112 bytes.  Don't save unused reg,
48190         and adjust reg usage.  Set up cfi on error recovery and
48191         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48193         (__makecontext): Add dummy nop after jump to exit.
48194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48195         Use correct parm save area and cr save, reduce stack frame.
48196         Correct cfi for possible PSEUDO_RET frame setup.
48197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48198         Branch to local label emitted by PSEUDO_RET rather than
48199         __syscall_error.
48200
48201 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48202
48203         [BZ #11904]
48204         * locale/programs/locale.c (print_assignment): New function.
48205         (show_locale_vars): Use it.
48206
48207 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48208
48209         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48210         field.
48211         (struct statfs64): Likewise.
48212         (_STATFS_F_FLAGS): Define.
48213         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48214         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48215         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48216         (ST_VALID): Define locally.
48217         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48218         __statvfs_getflags, use the provided value.
48219         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48220         __ASSUME_STATFS_F_FLAGS.
48221
48222         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48223
48224         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48225         Add sys/fanotify.h.
48226         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48227         fanotify_mask for GLIBC_2.13.
48228         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48229         fanotify_init and fanotify_mark.
48230         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48231         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48232
48233         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48234         Add prlimit.
48235         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48236         prlimit64 for GLIBC_2.13.
48237         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48238         prlimit64.
48239         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48240         syscall.
48241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48242         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48243         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48244         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48245         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48246         add prlimit alias.
48247         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48248
48249         [BZ #11903]
48250         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48251         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48252
48253         * nss/Makefile: Add rules to build and run tst-nss-test1.
48254         * shlib-versions: Add entry for libnss_test1.
48255         * nss/nss_test1.c: New file.
48256         * nss/tst-nss-test1.c: New file.
48257
48258         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48259         (__nss_configure_lookup): Set appropriate entry in
48260         __nss_configure_lookup to true.
48261         * nss/nsswitch.h: Define enum with indeces of databases in
48262         databases and __nss_database_custom arrays.  Declare
48263         __nss_database_custom.
48264         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48265         to avoid using nscd when custom rules are installed.
48266         * nss/getXXbyYY_r.c: Likewise.
48267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48268
48269         * nss/nss_files/files-parse.c: Whitespace fixes.
48270
48271 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48272
48273         [BZ #11883]
48274         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48275         * posix/fnmatch_loop.c: Likewise.
48276
48277 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48278
48279         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48280         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48281         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48282         * Versions.def [GLIBC_2.13]: Add.
48283
48284 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48285
48286         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48287         Also fail if tpwd after pwuid call is NULL.
48288
48289 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48290
48291         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48292         when converting to ms.
48293
48294 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48295
48296         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48297         EOPNOTSUPP errors with ENOTTY.
48298         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48299         EOPNOTSUPP errors with ENOTTY.
48300
48301 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48302
48303         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48304         Add strcasecmp_l-ssse3.
48305         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48306         strcasecmp.
48307         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48308         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48309         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48310
48311 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48312
48313         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48314
48315         * string/Makefile (strop-tests): Add strcasecmp.
48316         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48317         strcasecmp_l-nonascii.
48318         (gen-as-const-headers): Add locale-defines.sym.
48319         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48320         * sysdeps/x86_64/strcasecmp.S: New file.
48321         * sysdeps/x86_64/strcasecmp_l.S: New file.
48322         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48323         * sysdeps/x86_64/locale-defines.sym: New file.
48324         * string/test-strcasecmp.c: New file.
48325
48326         * string/test-strcasestr.c: Test both ends of the range of characters.
48327         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48328
48329 2010-07-29  Roland McGrath  <roland@redhat.com>
48330
48331         [BZ #11856]
48332         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48333
48334 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48335
48336         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48337         for ld.so.
48338
48339 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48340
48341         * manual/memory.texi (Malloc Tunable Parameters): Document
48342         M_PERTURB.
48343
48344 2010-07-26  Roland McGrath  <roland@redhat.com>
48345
48346         [BZ #11840]
48347         * configure.in (-fgnu89-inline check): Set and substitute
48348         gnu89_inline, not libc_cv_gnu89_inline.
48349         * configure: Regenerated.
48350         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48351
48352 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48353
48354         * string/test-strnlen.c: New file.
48355         * string/Makefile (strop-tests): Add strnlen.
48356         * string/tester.c (test_strnlen): Add a few more test cases.
48357         * string/tst-strlen.c: Better error reporting.
48358
48359         * sysdeps/x86_64/strnlen.S: New file.
48360
48361 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48362
48363         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48364         lower-latency instructions.
48365
48366 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48367
48368         * string/test-strcasestr.c: New file.
48369         * string/test-strstr.c: New file.
48370         * string/Makefile (strop-tests): Add strstr and strcasestr.
48371         * string/str-two-way.h: Don't undefine MAX.
48372         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48373
48374 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48375
48376         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48377         strcasestr-nonascii.
48378         (CFLAGS-strcasestr-nonascii.c): Define.
48379         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48380         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48381         Remove unused attribute.
48382
48383 2010-07-20  Roland McGrath  <roland@redhat.com>
48384
48385         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48386         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48387         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48388         like LD_HWCAP_MASK can disable hwcaps.
48389
48390 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48391
48392         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48393
48394 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48395
48396         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48397         call in strcasestr.
48398         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48399         __strcasestr_sse42_nonascii.
48400         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48401         strcasestr-nonascii.c.
48402         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48403
48404 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48405
48406         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48407         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48408         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48409         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48410
48411 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48412
48413         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48414         fcntl.
48415
48416 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48417
48418         [BZ #11577]
48419         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48420         dl_signal_cerror.
48421
48422 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48423
48424         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48425         _PC_PIPE_BUF using F_GETPIPE_SZ.
48426
48427 2010-07-05  Roland McGrath  <roland@redhat.com>
48428
48429         * manual/arith.texi (Rounding Functions): Fix rint description
48430         implicit in round description.
48431
48432 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48433
48434         * elf/Makefile: Fix linking for a few tests to make recent linker
48435         happy.
48436
48437 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48438
48439         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48440         $(common-objpfx)libc_nonshared.a.
48441
48442 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48443
48444         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48445         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48446         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48447         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48448         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48449         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48450         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48451         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48466         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48467         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48468         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48469         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48470         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48471         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48472         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48473         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48474         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48475         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48476         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48477         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48492
48493 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48494
48495         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48496         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48497         * string/memmove.c (memmove): Renamed to ...
48498         (MEMMOVE): ...this.  Default to memmove.
48499         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48500         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48501         (END_CHK): Define.
48502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48503         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48504         mempcpy-ssse3-back memmove-ssse3-back.
48505         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48506         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48507         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48508         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48509         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48510         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48511         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48512         * sysdeps/x86_64/multiarch/memmove.c: New file.
48513         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48514         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48515         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48516         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48517         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48518         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48519         Define.
48520         (index_Fast_Copy_Backward): Define.
48521         (HAS_ARCH_FEATURE): Define.
48522         (HAS_FAST_REP_STRING): Define.
48523         (HAS_FAST_COPY_BACKWARD): Define.
48524
48525 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48526
48527         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48528         Restore proper fallback handling.
48529
48530 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48531
48532         [BZ #11701]
48533         * posix/group_member.c (__group_member): Correct checking loop.
48534
48535         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48536         OOM in getpwuid_r correctly.  Return error number when the caller
48537         should return, otherwise -1.
48538         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48539         call returning > 0 value.
48540         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48541
48542 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48543
48544         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48545         libc_nonshared.a from targets in modules-names.
48546
48547 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48548
48549         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48550         requires it.
48551
48552 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48553
48554         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48555         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48556         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48557         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48558
48559 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48560
48561         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48562
48563 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48564
48565         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48566         and F_GETPIPE_SZ.
48567         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48568         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48571         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48572         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48573
48574 2010-06-14  Roland McGrath  <roland@redhat.com>
48575
48576         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48577
48578 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48579
48580         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48581         __REDIRECT followed by __THROW.
48582         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48583         * posix/getopt.h (getopt): Likewise.
48584
48585 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48586
48587         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48588         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48589         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48590         in AT_FLAGS.
48591         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48592         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48593
48594 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48595
48596         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48597
48598 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48599
48600         [BZ #11640]
48601         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48602         Properly check family and model.
48603
48604 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48605
48606         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48607
48608 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48609
48610         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48611
48612 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48613
48614         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48615         symbol reference.
48616
48617 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48618
48619         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48620         symbol reference.
48621
48622 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48623
48624         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48625         and internal_recvmmsg.
48626         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48627         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48628         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48629         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48630
48631         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48632         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48633         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48634
48635 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48636
48637         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48638
48639 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48640
48641         POWER7 optimizations.
48642         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48643         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48644
48645 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48646
48647         * version.h: Update for 2.13 development version.
48648
48649 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48650
48651         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48652         exceptions.  Return 0.
48653
48654 2010-05-07  Roland McGrath  <roland@redhat.com>
48655
48656         * elf/ldconfig.c (main): Add a const.
48657
48658 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48659
48660         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48661         (args_options): Add no-idn option.
48662         (ahosts_keys_int): Add idn_flags to ai_flags.
48663         (parse_option): Handle 'i' option to clear idn_flags.
48664
48665         * malloc/malloc.c (_int_free): Possible race in the most recently
48666         added check.  Only act on the data if no current modification
48667         happened.
48668
48669 See ChangeLog.17 for earlier changes.